@uniformdev/mesh-sdk-react 19.135.1-alpha.10 → 19.135.1-alpha.12

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
@@ -1,4 +1,4 @@
1
- import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
1
+ 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 } from 'react';
4
4
  import { TDate } from 'timeago.js';
@@ -9,37 +9,37 @@ 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, IconType } from '@uniformdev/design-system';
12
+ import { BadgeThemeProps, IconType, InputSelectProps } 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, utilityColors } from '@uniformdev/design-system';
14
14
  import * as lexical from 'lexical';
15
- import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState } from 'lexical';
15
+ import { SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode, NodeKey, LexicalNode, LexicalEditor, EditorState, SerializedRootNode } from 'lexical';
16
16
  import { MenuOption } from '@lexical/react/LexicalTypeaheadMenuPlugin';
17
17
 
18
- declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
18
+ declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
19
19
 
20
- declare const SvgCheckmark: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20
+ declare const SvgCheckmark: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
21
21
 
22
- declare const SvgChevronDown: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22
+ declare const SvgChevronDown: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
23
23
 
24
- declare const SvgClose: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
24
+ declare const SvgClose: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
25
25
 
26
- declare const SvgDanger: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
26
+ declare const SvgDanger: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
27
27
 
28
- declare const SvgExclamationPoint: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
28
+ declare const SvgExclamationPoint: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
29
29
 
30
- declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
30
+ declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
31
31
 
32
- declare const SvgLightbulb: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
32
+ declare const SvgLightbulb: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
33
33
 
34
- declare const SvgMagnifyingGlass: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
34
+ declare const SvgMagnifyingGlass: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
35
35
 
36
- declare const SvgMaximizeAlt: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
36
+ declare const SvgMaximizeAlt: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
37
37
 
38
- declare const SvgMinus: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
38
+ declare const SvgMinus: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
39
39
 
40
- declare const SvgMoreVerticalAlt: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
40
+ declare const SvgMoreVerticalAlt: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
41
41
 
42
- declare const SvgPlus: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
42
+ declare const SvgPlus: (props: SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
43
43
 
44
44
  declare namespace index {
45
45
  export { SvgCaution as Caution, SvgCheckmark as Checkmark, SvgChevronDown as ChevronDown, SvgClose as Close, SvgDanger as Danger, SvgExclamationPoint as ExclamationPoint, SvgInfo as Info, SvgLightbulb as Lightbulb, SvgMagnifyingGlass as MagnifyingGlass, SvgMaximizeAlt as MaximizeAlt, SvgMinus as Minus, SvgMoreVerticalAlt as MoreVerticalAlt, SvgPlus as Plus };
@@ -118,7 +118,7 @@ interface NoResultsProps {
118
118
  selectedContentType: string | undefined;
119
119
  }
120
120
  /** @deprecated in favour of ObjectSearchContainer, see https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-container-with-inputs for implementation details */
121
- declare const EntrySearch: <TResult extends EntrySearchResult>({ search, results, contentTypes, selectedItems, logoIcon, select, multiSelect, multiSelectId, rowComponent, selectedItemComponent, totalResults, cursor, resultsLoading, requireContentType, onAddNew, onEditClosed, onCancel, noResultsComponent, helpComponent, onSort, typeSelectorLabel, typeSelectorAllTypesOptionText, loadingIndicatorDelay, }: EntrySearchProps<TResult>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
121
+ declare const EntrySearch: <TResult extends EntrySearchResult>({ search, results, contentTypes, selectedItems, logoIcon, select, multiSelect, multiSelectId, rowComponent, selectedItemComponent, totalResults, cursor, resultsLoading, requireContentType, onAddNew, onEditClosed, onCancel, noResultsComponent, helpComponent, onSort, typeSelectorLabel, typeSelectorAllTypesOptionText, loadingIndicatorDelay, }: EntrySearchProps<TResult>) => _emotion_react_jsx_runtime.JSX.Element;
122
122
 
123
123
  /** @deprecated please use ObjectSearchResultItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-result-item */
124
124
  interface EntrySearchRowProps<TResult extends EntrySearchResult = EntrySearchResult> {
@@ -196,8 +196,8 @@ interface ProductCategory {
196
196
 
197
197
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
198
198
  declare const ProductPreviewList: ({ products, }: {
199
- products: ProductSearchResults['products'] | undefined;
200
- }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
199
+ products: ProductSearchResults["products"] | undefined;
200
+ }) => _emotion_react_jsx_runtime.JSX.Element;
201
201
 
202
202
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
203
203
  interface ProductDynamicSelectorValue {
@@ -246,7 +246,7 @@ interface Brand {
246
246
  name: string;
247
247
  }
248
248
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
249
- declare const ProductQuery: ({ value, setValue, brands, categories, loading, categoriesLoading, brandsLoading, logoIcon, onGetProducts, sortOptions, sortOrderOptions, categoryLabel, brandLabel, disableBrands, restrictToSingleCategory, }: ProductQueryProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
249
+ declare const ProductQuery: ({ value, setValue, brands, categories, loading, categoriesLoading, brandsLoading, logoIcon, onGetProducts, sortOptions, sortOrderOptions, categoryLabel, brandLabel, disableBrands, restrictToSingleCategory, }: ProductQueryProps) => _emotion_react_jsx_runtime.JSX.Element;
250
250
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
251
251
  interface ProductQueryContextValue {
252
252
  categories: ProductQueryProps['categories'];
@@ -282,7 +282,7 @@ interface GetProductOptions {
282
282
  cursor?: string;
283
283
  }
284
284
  /** @deprecated in favour of ObjectSearchContainer, see https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs for implementation details */
285
- declare function ProductSearch({ selectedProducts, setSelectedProducts, onGetCategories, onSearchProducts, logoIcon, multiSelect, multiSelectId, selectedItemComponent, rowComponent, errorComponent, helpComponent, noResultsComponent, onSort, typeSelectorAllTypesOptionText, typeSelectorLabel, }: ProductSearchProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
285
+ declare function ProductSearch({ selectedProducts, setSelectedProducts, onGetCategories, onSearchProducts, logoIcon, multiSelect, multiSelectId, selectedItemComponent, rowComponent, errorComponent, helpComponent, noResultsComponent, onSort, typeSelectorAllTypesOptionText, typeSelectorLabel, }: ProductSearchProps): _emotion_react_jsx_runtime.JSX.Element;
286
286
  interface ProductSearchContextValue {
287
287
  logoIcon: ProductSearchProps['logoIcon'];
288
288
  categories: ProductCategory[] | undefined;
@@ -291,17 +291,17 @@ declare const ProductSearchContext: React__default.Context<ProductSearchContextV
291
291
  declare const useProductSearchContext: () => ProductSearchContextValue;
292
292
 
293
293
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
294
- declare function ProductSearchRow({ result, isSelected, triggerSelection, }: EntrySearchRowProps<ProductSearchResult>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
294
+ declare function ProductSearchRow({ result, isSelected, triggerSelection, }: EntrySearchRowProps<ProductSearchResult>): _emotion_react_jsx_runtime.JSX.Element;
295
295
 
296
296
  /** @deprecated please use ObjectSearchResultItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-result-item*/
297
- declare function ProductSelectedItem({ selectedItem, onDeselect, }: EntrySearchSelectedItemProps<ProductSearchResult>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
297
+ declare function ProductSelectedItem({ selectedItem, onDeselect, }: EntrySearchSelectedItemProps<ProductSearchResult>): _emotion_react_jsx_runtime.JSX.Element;
298
298
 
299
299
  /** @deprecated please use DataRefreshButtonProps - https://mesh-design-system.netlify.app/?path=/story/object-search--data-refresh-button */
300
300
  declare const ResolvableLoadingValue: ({ value, text, loading, }: {
301
301
  value: string;
302
302
  text: string | undefined;
303
303
  loading: boolean;
304
- }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
304
+ }) => _emotion_react_jsx_runtime.JSX.Element;
305
305
 
306
306
  /** @deprecated please use ObjectSearchContainer - https://mesh-design-system.netlify.app/?path=/story/object-search--query-filter-with-inputs*/
307
307
  type SelectionFieldValue = {
@@ -317,7 +317,7 @@ declare const SelectionField: ({ id, label, loading, selectedValues, values, onA
317
317
  values: SelectionFieldValue[];
318
318
  onAdd: (id: string) => void;
319
319
  onRemove: (id: string) => void;
320
- }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
320
+ }) => _emotion_react_jsx_runtime.JSX.Element;
321
321
 
322
322
  declare const productSearchRowContainer: _emotion_react.SerializedStyles;
323
323
  declare const productSearchRowContent: _emotion_react.SerializedStyles;
@@ -368,7 +368,7 @@ interface DamSelectedItemProps<TResult extends DamItem = DamItem> {
368
368
  }>;
369
369
  }
370
370
  /** @deprecated please use ObjectSearchResultItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-result-item */
371
- declare function DamSelectedItem({ selectedItem, onDeselect, onEditClosed, logoIcon, itemDetailsRendererComponent, }: DamSelectedItemProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
371
+ declare function DamSelectedItem({ selectedItem, onDeselect, onEditClosed, logoIcon, itemDetailsRendererComponent, }: DamSelectedItemProps): _emotion_react_jsx_runtime.JSX.Element;
372
372
 
373
373
  declare const damSelectedItemContainer: _emotion_react.SerializedStyles;
374
374
  declare const damSelectedItemInner: _emotion_react.SerializedStyles;
@@ -398,7 +398,7 @@ declare const useDataResourceDynamicInputs: () => DynamicInputs | undefined;
398
398
  * using variables-aware components (i.e. InputVariables). This simplifies building dynamic-input-aware editors,
399
399
  * where a data resource variable could be a static value or bound to a dynamic input from the route (project map).
400
400
  */
401
- declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInputProviderProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
401
+ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInputProviderProps): _emotion_react_jsx_runtime.JSX.Element;
402
402
 
403
403
  /**
404
404
  * Provides convenient access to the current Uniform Mesh location via React hook.
@@ -572,11 +572,22 @@ declare class VariableNode extends DecoratorNode<JSX.Element> {
572
572
  * NOTE: this is effectively an island of React, and you may not call hooks,
573
573
  * rely on Context, etc in this renderer.
574
574
  */
575
- decorate(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
575
+ decorate(): _emotion_react_jsx_runtime.JSX.Element;
576
576
  }
577
577
  declare function $createVariableNode(variableReference: string, state: VariableNodeState): VariableNode;
578
578
  declare function $isVariableNode(node: LexicalNode | null | undefined): node is VariableNode;
579
579
 
580
+ /** Chip to display a reference to a variable in a variables-supporting input or other reference display */
581
+ declare function VariableChip({ displayName, referenceIsValid, tooltip, reference, onClick, clickToEdit, isFresh, selected, disabled, errorMessage, }: Omit<VariableNodeState, 'hasClickEvent' | 'displayName'> & {
582
+ reference: string;
583
+ displayName?: ReactNode;
584
+ clickToEdit?: boolean;
585
+ onClick: (() => void) | undefined;
586
+ selected: boolean;
587
+ disabled?: boolean;
588
+ errorMessage?: string;
589
+ }): _emotion_react_jsx_runtime.JSX.Element;
590
+
580
591
  type MeshDataVariableDefinition = Omit<DataVariableDefinition, 'default'> & {
581
592
  /** When used in code, variables may have non-string defaults */
582
593
  default: unknown;
@@ -636,7 +647,7 @@ type VariableEditorProps<TEditorContext = unknown, TEditVariableCompletedContext
636
647
  disableAutoFocusOnMount?: boolean;
637
648
  showDisplayName?: boolean;
638
649
  };
639
- declare function VariableEditor({ variable, onSubmit, onCancel, showDisplayName, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
650
+ declare function VariableEditor({ variable, onSubmit, onCancel, showDisplayName, disableMeshTip, }: VariableEditorProps<any, unknown, EditConnectedDataResponseCancellationContext>): _emotion_react_jsx_runtime.JSX.Element;
640
651
 
641
652
  type SelectVariableMenuProps<TEditorContext = undefined> = {
642
653
  /** sets the onClick menu item event. Also called if the menu adds a variable with the newly added variable. */
@@ -790,6 +801,11 @@ type UseInputVariablesStateProps<TEditorContext = unknown> = {
790
801
  filterVariable?: SelectVariableMenuProps<TEditorContext>['filterVariable'];
791
802
  /** Sets the tooltip shown on hover over the insert-variable menu */
792
803
  menuTooltip?: string;
804
+ /**
805
+ * @deprecated beta used internally
806
+ * If the menu should be rendered in a portal
807
+ */
808
+ renderMenuInPortal?: boolean;
793
809
  };
794
810
 
795
811
  type InputVariablesProps<TEditorContext = unknown> = {
@@ -862,12 +878,17 @@ type InputVariablesProps<TEditorContext = unknown> = {
862
878
  styleVariant?: 'default' | 'compact';
863
879
  /** Set the menu dropdown to render in a portal, this helps fix z-indexing issue */
864
880
  renderMenuInPortal?: boolean;
881
+ /**
882
+ * Reconfigures the editor to have a single dynamic token value, not allow static text, and replace
883
+ * any existing value on insert a new dynamic token.
884
+ */
885
+ singleTokenMode?: boolean;
865
886
  } & PasteTransformerPluginProps & UseInputVariablesStateProps<TEditorContext>;
866
887
  /**
867
888
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
868
889
  * into its value.
869
890
  */
870
- declare function InputVariables<TEditorContext = unknown>(props: InputVariablesProps<TEditorContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
891
+ declare function InputVariables<TEditorContext = unknown>(props: InputVariablesProps<TEditorContext>): _emotion_react_jsx_runtime.JSX.Element;
871
892
 
872
893
  type ParameterConnectionIndicatorProps = {
873
894
  /** Disables the menu, hiding it from view entirely */
@@ -884,12 +905,17 @@ type ParameterConnectionIndicatorProps = {
884
905
  * @deprecated beta used internally
885
906
  * Sets margin bottom styles for the menu button, we use margin to allow for negative values */
886
907
  overrideMenuButtonParentMargin?: number | string;
908
+ /**
909
+ * @deprecated beta used internally
910
+ * Set to `true` to render the menu in a portal
911
+ */
912
+ renderMenuInPortal?: boolean;
887
913
  };
888
914
  /**
889
915
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
890
916
  * into its value. Designed specifically for use in the Canvas Parameter Editor.
891
917
  */
892
- declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentMargin, }: ParameterConnectionIndicatorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
918
+ declare function ParameterConnectionIndicator({ children, value, menuOptions, disabled, menuTooltip, overrideMenuButtonParentMargin, renderMenuInPortal, }: ParameterConnectionIndicatorProps): _emotion_react_jsx_runtime.JSX.Element;
893
919
 
894
920
  type ParameterOrSingleVariableProps<TEditorContext = unknown> = {
895
921
  disabled?: boolean;
@@ -909,7 +935,7 @@ type ParameterOrSingleVariableProps<TEditorContext = unknown> = {
909
935
  * possibly because they bind to objects or arrays.
910
936
  * Designed visually for use in the Canvas Parameter Editor.
911
937
  */
912
- declare function ParameterOrSingleVariable<TEditorContext = unknown>(props: ParameterOrSingleVariableProps<TEditorContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
938
+ declare function ParameterOrSingleVariable<TEditorContext = unknown>(props: ParameterOrSingleVariableProps<TEditorContext>): _emotion_react_jsx_runtime.JSX.Element;
913
939
 
914
940
  type ParameterVariablesProps<TEditorContext = unknown> = {
915
941
  /** sets the input aria-label value. */
@@ -939,7 +965,7 @@ type ParameterVariablesProps<TEditorContext = unknown> = {
939
965
  * An input box that enables insertion of 'variables', provided by VariablesProvider,
940
966
  * into its value. Designed visually for use in the Canvas Parameter Editor.
941
967
  */
942
- declare function ParameterVariables<TEditorContext = unknown>(props: ParameterVariablesProps<TEditorContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
968
+ declare function ParameterVariables<TEditorContext = unknown>(props: ParameterVariablesProps<TEditorContext>): _emotion_react_jsx_runtime.JSX.Element;
943
969
 
944
970
  type VariablesProviderProps<TEditVariableContext = unknown, TEditVariableCompletedContext = unknown, TEditVariableCancelledContext = unknown> = React.PropsWithChildren<{
945
971
  /**
@@ -1066,7 +1092,7 @@ type VariablesContext<TEditVariableContext, TEditVariableCompletedContext, TEdit
1066
1092
  */
1067
1093
  isLoading: boolean;
1068
1094
  };
1069
- declare function VariablesProvider<TEditComponentContext = never, TEditVariableCompletedContext = never, TEditVariableCancelledContext = never>({ value, onChange, editVariableComponent, readOnly, isLoading, children, knownUndefinedValues, onChangeKnownUndefinedValue, }: VariablesProviderProps<TEditComponentContext, TEditVariableCompletedContext, TEditVariableCancelledContext>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1095
+ declare function VariablesProvider<TEditComponentContext = never, TEditVariableCompletedContext = never, TEditVariableCancelledContext = never>({ value, onChange, editVariableComponent, readOnly, isLoading, children, knownUndefinedValues, onChangeKnownUndefinedValue, }: VariablesProviderProps<TEditComponentContext, TEditVariableCompletedContext, TEditVariableCancelledContext>): _emotion_react_jsx_runtime.JSX.Element;
1070
1096
  declare function useVariables<TEditComponentContext = unknown, TEditVariableCompletedContext = unknown, TEditVariableCancelledContext = unknown>(returnEmptyWithoutProvider?: boolean): VariablesContext<TEditComponentContext, TEditVariableCompletedContext, TEditVariableCancelledContext>;
1071
1097
 
1072
1098
  declare function useVariableEditor<TEditorContext = unknown, TEditVariableCompletedContext = unknown, TEditVariableCancelledContext = unknown>(): {
@@ -1078,6 +1104,7 @@ declare function convertConnectedDataToVariable(bindExpression: string, value: u
1078
1104
 
1079
1105
  /**
1080
1106
  * Returns true if the string expression has variable references in it
1107
+ * @deprecated use the same named function from @uniformdev/canvas instead
1081
1108
  */
1082
1109
  declare function hasReferencedVariables(value: string): boolean;
1083
1110
 
@@ -1088,6 +1115,7 @@ declare function prettifyBindExpression(bindExpression: string): string;
1088
1115
  * Note: if no content is in the editor state, undefined will be returned.
1089
1116
  */
1090
1117
  declare function serializeVariablesEditorState(editorState: EditorState): string | undefined;
1118
+ declare function serializeVariablesEditorSerializedState(serializedEditorState: SerializedRootNode<SerializedLexicalNode>): string | undefined;
1091
1119
 
1092
1120
  /**
1093
1121
  * Programmatically sets the current value of a variables editor after it has already initialized
@@ -1098,7 +1126,7 @@ declare function serializeVariablesEditorState(editorState: EditorState): string
1098
1126
  * If newValue is a string, it will be treated as a variable-reference-containing string, and parsed to a Lexical AST
1099
1127
  * If newValue is a serialized Lexical AST, it will be used as-is. If the AST is invalid, the editor will be set to an empty state.
1100
1128
  */
1101
- declare function setVariablesEditorValue(editor: LexicalEditor, newValue: string | undefined | SerializedEditorState<SerializedLexicalNode>): void;
1129
+ declare function setVariablesEditorValue(editor: LexicalEditor, newValue: string | undefined | SerializedEditorState<SerializedLexicalNode>, tag?: string): void;
1102
1130
 
1103
1131
  declare function variableDefaultTextValue(defaultValue: unknown): string;
1104
1132
 
@@ -1113,7 +1141,7 @@ declare const variablePrefix = "${";
1113
1141
  */
1114
1142
  declare const variableSuffix = "}";
1115
1143
 
1116
- declare function VariablesList(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1144
+ declare function VariablesList(): _emotion_react_jsx_runtime.JSX.Element;
1117
1145
 
1118
1146
  type DataResourceVariablesListProps = {
1119
1147
  /**
@@ -1139,7 +1167,7 @@ type DataResourceVariablesListProps = {
1139
1167
  * Using the optional `type` attribute of variables, one can use custom components to render different
1140
1168
  * variables using this component, enabling flexibility for more than just text inputs.
1141
1169
  */
1142
- declare function DataResourceVariablesList(props: DataResourceVariablesListProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1170
+ declare function DataResourceVariablesList(props: DataResourceVariablesListProps): _emotion_react_jsx_runtime.JSX.Element;
1143
1171
  /**
1144
1172
  * Renders a list of Data Type-provided variables that can be set on a Data Resource.
1145
1173
  *
@@ -1150,7 +1178,7 @@ declare function DataResourceVariablesListExplicit({ setVariables, noVariables:
1150
1178
  value: DataResourceVariables;
1151
1179
  dataType: DataType;
1152
1180
  dynamicInputs: DynamicInputs;
1153
- }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1181
+ }): _emotion_react_jsx_runtime.JSX.Element;
1154
1182
  type DataResourceVariableRendererProps = {
1155
1183
  /** Current value of the variable on the data resource */
1156
1184
  value: string | undefined;
@@ -1160,7 +1188,7 @@ type DataResourceVariableRendererProps = {
1160
1188
  definition: DataVariableDefinitionWithName;
1161
1189
  };
1162
1190
  /** Default data resource variable renderer, uses a text input that supports dynamic input binding */
1163
- declare function TextVariableRenderer({ definition, value, setValue }: DataResourceVariableRendererProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1191
+ declare function TextVariableRenderer({ definition, value, setValue }: DataResourceVariableRendererProps): _emotion_react_jsx_runtime.JSX.Element;
1164
1192
 
1165
1193
  type DataSourceEditorProps = PropsWithChildren<{
1166
1194
  /**
@@ -1174,7 +1202,7 @@ type DataSourceEditorProps = PropsWithChildren<{
1174
1202
  * Wrapper for editing a data source using Uniform Mesh SDK components that rely on `useRequest()`
1175
1203
  * or `useVariables()`, or custom components that use the same hooks.
1176
1204
  */
1177
- declare function DataSourceEditor({ onChange, children, editVariableComponent }: DataSourceEditorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1205
+ declare function DataSourceEditor({ onChange, children, editVariableComponent }: DataSourceEditorProps): _emotion_react_jsx_runtime.JSX.Element;
1178
1206
 
1179
1207
  type DataTypeEditorProps = PropsWithChildren<{
1180
1208
  /**
@@ -1188,7 +1216,7 @@ type DataTypeEditorProps = PropsWithChildren<{
1188
1216
  * Wrapper for editing a data type using Uniform Mesh SDK components that rely on `useRequest()`
1189
1217
  * or `useVariables()`, or custom components that use the same hooks.
1190
1218
  */
1191
- declare function DataTypeEditor({ onChange, children, editVariableComponent }: DataTypeEditorProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1219
+ declare function DataTypeEditor({ onChange, children, editVariableComponent }: DataTypeEditorProps): _emotion_react_jsx_runtime.JSX.Element;
1192
1220
 
1193
1221
  type MeshAppProps = {
1194
1222
  loadingComponent?: React__default.ComponentType;
@@ -1209,7 +1237,7 @@ type DataRefreshButtonProps = HTMLAttributes<HTMLButtonElement> & {
1209
1237
  /**
1210
1238
  * @description The data refresh button is a UI component to indicate to users a request for data is taking place
1211
1239
  * @example <DataRefreshButton buttonText="my button" isLoading /> */
1212
- declare const DataRefreshButton: ({ buttonText, isLoading, onRefreshData, ...props }: DataRefreshButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1240
+ declare const DataRefreshButton: ({ buttonText, isLoading, onRefreshData, ...props }: DataRefreshButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
1213
1241
 
1214
1242
  type ObjectSearchContainerProps = {
1215
1243
  /**
@@ -1238,7 +1266,7 @@ type ObjectSearchContainerProps = {
1238
1266
  * @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} />
1239
1267
  * @deprecated Please use ControlledObjectSearchProvider with SearchAndFilter instead. You can use Mesh Example for reference.
1240
1268
  */
1241
- declare const ObjectSearchContainer: ({ label, enableDynamicInputToResultId, searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1269
+ declare const ObjectSearchContainer: ({ label, enableDynamicInputToResultId, searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
1242
1270
 
1243
1271
  type SearchQueryProps<TExtraFilters = unknown> = {
1244
1272
  /** sets the content type in the search context */
@@ -1340,16 +1368,16 @@ type ObjectSearchProviderProps = {
1340
1368
  /**
1341
1369
  * @deprecated Please use ControlledObjectSearchProvider with SearchAndFilter instead. You can use Mesh Example for reference.
1342
1370
  */
1343
- declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1371
+ declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
1344
1372
  declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
1345
1373
  declare function bindQuery(query: SearchQueryProps, inputs: Record<string, unknown>): {
1346
1374
  /** sets the content type in the search context */
1347
- contentType?: string | undefined;
1375
+ contentType?: string;
1348
1376
  /** sets the keyword search in the search context */
1349
- keyword?: string | undefined;
1377
+ keyword?: string;
1350
1378
  /** sets the locale in the search context */
1351
- locale?: string | undefined;
1352
- dynamicEntryId?: string | undefined;
1379
+ locale?: string;
1380
+ dynamicEntryId?: string;
1353
1381
  };
1354
1382
 
1355
1383
  type ObjectSearchFilterProps = {
@@ -1391,7 +1419,7 @@ type ObjectSearchFilterProps = {
1391
1419
  * @example <ObjectSearchFilter selectOptions={[{ id: 'id value', name: 'name value'}]} />
1392
1420
  * @deprecated Please use SearchAndFilter from @uniformdev/design-system instead.
1393
1421
  */
1394
- declare const ObjectSearchFilter: ({ requireContentType, typeSelectorAllTypesOptionText, searchInputName, searchInputPlaceholderText, selectLabel, localeFilterLabel, selectOptions, }: ObjectSearchFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1422
+ declare const ObjectSearchFilter: ({ requireContentType, typeSelectorAllTypesOptionText, searchInputName, searchInputPlaceholderText, selectLabel, localeFilterLabel, selectOptions, }: ObjectSearchFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
1395
1423
 
1396
1424
  type ObjectSearchFilterContainerProps = {
1397
1425
  /**
@@ -1407,7 +1435,7 @@ type ObjectSearchFilterContainerProps = {
1407
1435
  * @example <ObjectSearchFilterContainer label="my label"><input type="text" aria-label="my input" /></ObjectSearchFilterContainer>
1408
1436
  * @deprecated Please use SearchAndFilter from @uniformdev/design-system instead.
1409
1437
  */
1410
- declare const ObjectSearchFilterContainer: ({ label, children }: ObjectSearchFilterContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1438
+ declare const ObjectSearchFilterContainer: ({ label, children }: ObjectSearchFilterContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
1411
1439
 
1412
1440
  type ObjectSearchListItemProps = SelectedItemProps & {
1413
1441
  /** sets the content type value, this is normally used for subtitles e.g. Kitchens */
@@ -1446,12 +1474,12 @@ type ObjectSearchListItemProps = SelectedItemProps & {
1446
1474
  /**
1447
1475
  * @description entry search list item is an opinionated UI component best used for initial retrieved results
1448
1476
  * @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
1449
- 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;
1477
+ declare const ObjectSearchListItem: ({ id, title, contentType, image, imageUrl, popoverData, onSelect, isMulti, disabled, children, ...props }: ObjectSearchListItemProps & React$1.HTMLAttributes<HTMLDivElement>) => _emotion_react_jsx_runtime.JSX.Element;
1450
1478
  /**
1451
1479
  * An opinionated loading skeleton component best used with ObjectSearchListItem
1452
1480
  * @example <ObjectSearchListItemLoadingSkeleton />
1453
1481
  */
1454
- declare const ObjectSearchListItemLoadingSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1482
+ declare const ObjectSearchListItemLoadingSkeleton: () => _emotion_react_jsx_runtime.JSX.Element;
1455
1483
 
1456
1484
  type ObjectSearchResultItemProps = SelectedItemProps & {
1457
1485
  /** sets additional remove functionality onto of default removal */
@@ -1471,7 +1499,7 @@ type ObjectSearchResultItemProps = SelectedItemProps & {
1471
1499
  * @description An opinionated result item, best used for selected results
1472
1500
  * @example <ObjectSearchResultItem id="my-result" title="title" />
1473
1501
  */
1474
- declare const ObjectSearchResultItem: ({ id, title, name, contentType, popoverData, publishStatus, editLinkIcon, editLink, imageUrl, onRemove, createdAt, publishedAt, hideRemoveButton, disableDnD, children, }: ObjectSearchResultItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1502
+ declare const ObjectSearchResultItem: ({ id, title, name, contentType, popoverData, publishStatus, editLinkIcon, editLink, imageUrl, onRemove, createdAt, publishedAt, hideRemoveButton, disableDnD, children, }: ObjectSearchResultItemProps) => _emotion_react_jsx_runtime.JSX.Element;
1475
1503
 
1476
1504
  type ObjectSearchResultItemButtonProps<THtml extends HTMLAttributes<HTMLElement> = HTMLAttributes<HTMLButtonElement>> = {
1477
1505
  /** sets the button or link text value */
@@ -1485,13 +1513,13 @@ type ObjectSearchResultItemButtonProps<THtml extends HTMLAttributes<HTMLElement>
1485
1513
  * @description An opinionated button component best used within the ObjectSearchResultItem component
1486
1514
  * @example <ObjectSearchResultItemButton text="button text" icon="/my-image.png" onClick={() => myFunction()} />
1487
1515
  */
1488
- declare const ObjectSearchResultItemButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<HTMLAttributes<HTMLButtonElement>>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1516
+ declare const ObjectSearchResultItemButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<HTMLAttributes<HTMLButtonElement>>) => _emotion_react_jsx_runtime.JSX.Element;
1489
1517
  /**
1490
1518
  * @description An opinionated link component styled the same of the ObjectSearchResultItemButton component,
1491
1519
  * that automatically sets the target and rel attributes. Best used within the ObjectSearchResultItem component
1492
1520
  * @example <LinkButton text="link text" icon="/my-image.png" />
1493
1521
  */
1494
- declare const LinkButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'target' | 'rel'>>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1522
+ declare const LinkButton: ({ text, icon, ...props }: ObjectSearchResultItemButtonProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">>) => _emotion_react_jsx_runtime.JSX.Element;
1495
1523
 
1496
1524
  type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = SelectedItemProps> = {
1497
1525
  /** sets the result label value
@@ -1535,7 +1563,7 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
1535
1563
  * maintain drag and drop functionality
1536
1564
  * @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
1537
1565
  */
1538
- 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;
1566
+ declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, resultLabelOverride, additionalButtons, renderResultComponent, multiSelectId, disableDnD, getContainerForDnDReparenting, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_jsx_runtime.JSX.Element;
1539
1567
 
1540
1568
  type QueryFilterSearchProps = {
1541
1569
  /** sets the count value */
@@ -1614,213 +1642,81 @@ type QueryFilterProps<TSelectOptions extends QueryFilterSelectionOptionProps = Q
1614
1642
  * @example <QueryFilter contentTypeOptions={[{ id: 'id', name: 'name' }]} sortOptions={[{ id: 'id', name: 'name' }]} sortOrderOptions={[{ id: 'id', name: 'name' }]} />
1615
1643
  * @deprecated Please use SearchAndFilter from @uniformdev/design-system instead.
1616
1644
  */
1617
- declare const QueryFilter: ({ requireContentType, queryFilterTitle, contentTypeLabel, typeSelectorAllTypesOptionText, contentTypeOptions, searchInputName, searchInputPlaceholderText, searchInputLabel, countLabel, countValue, sortLabel, sortOptions, sortOrderLabel, sortOrderOptions, children, }: QueryFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1645
+ declare const QueryFilter: ({ requireContentType, queryFilterTitle, contentTypeLabel, typeSelectorAllTypesOptionText, contentTypeOptions, searchInputName, searchInputPlaceholderText, searchInputLabel, countLabel, countValue, sortLabel, sortOptions, sortOrderLabel, sortOrderOptions, children, }: QueryFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
1618
1646
 
1619
- declare function ObjectSearchListOfSearchResults(): _emotion_react_types_jsx_namespace.EmotionJSX.Element | _emotion_react_types_jsx_namespace.EmotionJSX.Element[] | undefined;
1620
-
1621
- type ControlledObjectSearchProviderProps = {
1622
- children: ReactNode;
1623
- /**
1624
- * List of selected items controlled by parent component.
1625
- * "undefined" value together with "selectedItemsLoading" prop indicate that list is initially loading or it is reloading on select action.
1626
- * In case of reloading on select action, this component will render selected item right away to avoid waiting for backend response to smooth user experience.
1627
- */
1628
- selectedItems: Array<SelectedItemProps> | undefined;
1629
- /**
1630
- * List of search results for "single" and "multiple" archetypes usually. From this list custom will be able to select items.
1631
- * Undefined in case when there is no search, e.g. Query archetype.
1632
- */
1633
- searchResultItems: Array<SelectedItemProps> | undefined;
1634
- /** Indicates that selected items are loading. only used during initial render and on user interaction does not effect anything */
1635
- selectedItemsLoading?: boolean;
1636
- /** Indicates that search result list is loading. */
1637
- searchResultListLoading?: boolean;
1638
- /** @deprecated Please use <SearchAndFilter> component instead */
1639
- onQueryChange?: (value: SearchQueryProps) => void;
1640
- /** Callback to to receive new selected items list, usually updated on list item selection or list clearing */
1641
- onSelectItemsChange: (selectedItems: Array<SelectedItemProps>) => void;
1642
- /** Indicates that user can select multiple items from the list */
1643
- isMulti?: boolean;
1644
- /** @deprecated Please use <SearchAndFilter> component instead */
1645
- query?: SearchQueryProps;
1646
- /** @deprecated Please use <SearchAndFilter> component instead */
1647
- localeOptions?: ObjectSearchContextProps['localeOptions'];
1648
- /** @deprecated Please use <SearchAndFilter> component instead */
1649
- enableFilterByLocale?: ObjectSearchContextProps['enableFilterByLocale'];
1650
- /** @deprecated Please use <SearchAndFilter> component instead. It also recommended to have separate archetype for data types to load content by single bindable values */
1651
- dynamicEntryId?: ObjectSearchContextProps['dynamicEntryId'];
1652
- /** Used for archetypes where you expect user to select items manually, comparing to automatic selection based on query */
1653
- isManualSelection?: boolean;
1654
- };
1655
- declare const ControlledObjectSearchProvider: ({ selectedItems, searchResultItems, selectedItemsLoading, searchResultListLoading, onQueryChange, onSelectItemsChange, isMulti, children, query, enableFilterByLocale, localeOptions, dynamicEntryId, isManualSelection, }: ControlledObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1647
+ declare function ObjectSearchListOfSearchResults(): _emotion_react_jsx_runtime.JSX.Element | _emotion_react_jsx_runtime.JSX.Element[] | undefined;
1656
1648
 
1657
- type ParamTypeDynamicDataProviderProps = {
1658
- /** Child components of the provider. Variables-using components, such as ParameterVariables, can be used here. */
1659
- children: ReactNode;
1660
- };
1661
- /** Context to tell the binding UI what types are allowed for the current binding expression */
1662
- type ParameterConnectOptions = {
1649
+ /** @deprecated beta - Filter editor component names */
1650
+ type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'textMultiChoice' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice' | (string & {});
1651
+ /** @deprecated beta - Input option props */
1652
+ type InputOption = InputOptionGroup | InputOptionValue;
1653
+ /** @deprecated beta - Input option group props */
1654
+ type InputOptionGroup = {
1655
+ type: 'group';
1656
+ /** The label for the option group */
1657
+ label: string;
1663
1658
  /**
1664
- * Which JSON primitive types can be connected to this parameter.
1665
- * Note that if the only value of the parameter is a complex dynamic token connection (object or array), then the connected data will be the literal value, not a string.
1666
- */
1667
- connectsTo: BindableTypes[];
1668
- };
1669
- /**
1670
- * Wrapper for data resource locations. Provides read-only access to dynamic inputs as if they were variables,
1671
- * using variables-aware components (i.e. InputVariables). This simplifies building dynamic-input-aware editors,
1672
- * where a data resource variable could be a static value or bound to a dynamic input from the route (project map).
1673
- */
1674
- declare function ParamTypeDynamicDataProvider(props: ParamTypeDynamicDataProviderProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1675
-
1676
- /** Editor component to let you write a request body for POST requests */
1677
- declare function RequestBody(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1678
-
1679
- /** Editor component to manage HTTP headers on a request */
1680
- declare function RequestHeaders({ disableVariables, addOmitIfEmpty, }: Pick<InputVariablesProps, 'disableVariables' | 'addOmitIfEmpty'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1681
-
1682
- /** Dropdown to pick a HTTP method for a request */
1683
- declare function RequestMethodSelect(props: Omit<InputSelectProps, 'value' | 'onChange' | 'options'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1684
-
1685
- type RequestParametersProps = Pick<InputVariablesProps, 'disableVariables'>;
1686
- /** Component to manage query parameters on a request */
1687
- declare function RequestParameters({ disableVariables, addOmitIfEmpty, }: Pick<InputVariablesProps, 'disableVariables' | 'addOmitIfEmpty'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1688
-
1689
- type RequestParameter = {
1690
- key: string;
1691
- value: string;
1692
- omitIfEmpty?: boolean;
1693
- };
1694
- type BaseRequestData = {
1695
- baseUrl: string;
1696
- headers?: Array<RequestParameter>;
1697
- parameters?: Array<RequestParameter>;
1698
- };
1699
- type RequestData = {
1700
- relativeUrl: string;
1701
- headers: Array<RequestParameter>;
1702
- parameters: Array<RequestParameter>;
1703
- baseRequest?: BaseRequestData;
1704
- method?: string;
1705
- body?: string;
1706
- };
1707
- type RequestProviderProps = React$1.PropsWithChildren<{
1708
- value: RequestData;
1709
- onChange: (delegate: (oldValue: RequestData) => RequestData) => void;
1710
- }>;
1711
- type RequestAction = {
1712
- type: 'setRelativeUrl';
1713
- relativeUrl: string;
1714
- } | {
1715
- type: 'updateHeader';
1716
- header: RequestParameter;
1717
- index?: number;
1718
- } | {
1719
- type: 'removeHeader';
1720
- index: number;
1721
- } | {
1722
- type: 'updateParameter';
1723
- parameter: RequestParameter;
1724
- index?: number;
1725
- } | {
1726
- type: 'removeParameter';
1727
- index: number;
1728
- } | {
1729
- type: 'setMethod';
1730
- method: string;
1731
- } | {
1732
- type: 'setBody';
1733
- body: string;
1734
- contentType: string;
1735
- };
1736
- type RequestContext = {
1737
- dispatch: (event: RequestAction) => void;
1738
- request: Readonly<RequestData>;
1739
- };
1740
- /** Provides a mutable HTTP request object context. Components such as RequestBody and RequestUrl use this context to render. */
1741
- declare function RequestProvider({ value, onChange, children }: RequestProviderProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1742
- declare function useRequest(): RequestContext;
1743
-
1744
- type RequestTypeContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
1745
- /**sets the background color of the container
1746
- * @default 'transparent'
1659
+ * Option values to select when clicking the group
1660
+ * If not provided, the group will not be clickable when multiple selection is allowed
1747
1661
  */
1748
- bgColor?: 'transparent' | 'var(--gray-100)';
1749
- children: React$1.ReactNode;
1750
- };
1751
- /**
1752
- * @description a container to layout content in a 2 column grid format = 12ch 1fr
1753
- * @example <RequestTypeContainer bgColor="var(--gray-100)">
1754
- * <label>Name <input type="text" /></label>
1755
- * <label>Name <input type="text" /></label>
1756
- * </div> */
1757
- declare const RequestTypeContainer: ({ bgColor, children, ...props }: RequestTypeContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1758
-
1759
- /**
1760
- * Displays the current full URL of the request, including the base URL if one is set
1761
- */
1762
- declare function RequestUrl(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1763
-
1764
- /**
1765
- * Editor to modify the current URL of the request
1766
- * Note: entering query string parameters automatically converts them and syncs the request state with them
1767
- */
1768
- declare function RequestUrlInput(props: Omit<InputVariablesProps, 'value' | 'onChange'> & Pick<InputVariablesProps, 'showAddVariableMenuOption' | 'enableEditingVariables'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1769
-
1770
- declare function urlEncodeRequestUrl(url: string, varValues?: Record<string, MeshDataVariableDefinition>): string;
1771
- declare function urlEncodeRequestParameter(parameter: RequestParameter, varValues?: Record<string, MeshDataVariableDefinition>): RequestParameter;
1772
-
1773
- /**
1774
- * Hook to make it simple to read and write a specific request header by name,
1775
- * instead of supporting multiple values in an array like native dispatch.
1776
- *
1777
- * NOTE: if multiple values are added for the named header, this hook will bind to the FIRST
1778
- * instance of the header and leave the other values alone.
1779
- */
1780
- declare function useRequestHeader(headerName: string): {
1781
- value: string;
1782
- update: (value: string) => void;
1783
- };
1784
-
1785
- /**
1786
- * Hook to make it simple to read and write a specific request query string parameter by name,
1787
- * instead of supporting multiple values in an array like native dispatch.
1788
- *
1789
- * NOTE: if multiple values are added for the named parameter, this hook will bind to the FIRST
1790
- * instance of the parameter and leave the other values alone.
1791
- */
1792
- declare function useRequestParameter(paramName: string): {
1793
- value: string;
1794
- update: (value: string) => void;
1662
+ value?: string[];
1663
+ /** Options in the option group */
1664
+ options: InputOptionValue[];
1795
1665
  };
1796
-
1797
- /** @deprecated beta - Filter editor component names */
1798
- type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice';
1799
1666
  /** @deprecated beta - Input option props */
1800
- type InputOption = {
1667
+ type InputOptionValue = {
1801
1668
  /** The label for the option */
1802
1669
  label: string;
1803
- /** The value for the option */
1804
- value?: string | undefined;
1805
- /** The options for the option */
1806
- options?: Array<FilterOption>;
1807
- /** Set a disabled state on the input */
1808
- isDisabled?: boolean;
1809
- /** Set a readonly state on the input */
1810
- readOnly?: boolean;
1670
+ /**
1671
+ * The value to select for the option.
1672
+ * If an array, multiple other option values will be selected when the option is clicked (they should exist as single-valued options)
1673
+ * Note that array-valued options are hidden when in a single-select editor
1674
+ */
1675
+ value: string | string[];
1811
1676
  };
1812
1677
  /** @deprecated beta - Operator option props */
1813
1678
  type Operator = {
1814
1679
  /** The label for the operator */
1815
1680
  label: string;
1816
- /** The symbol for the operator */
1681
+ /** The stored value for the operator */
1817
1682
  value?: string;
1818
- /** The symbol for the operator */
1819
- symbol?: string;
1820
1683
  /** The editor type for the operator */
1821
1684
  options?: Array<InputOption>;
1822
1685
  /** The editor type for the operator */
1823
1686
  editorType?: FilterEditor;
1687
+ /**
1688
+ * Controls whether the operator's right-hand-side allows bound dynamic tokens.
1689
+ *
1690
+ * When false or unspecified: dynamic tokens are disallowed at all times.
1691
+ * When true: dynamic tokens are allowed when the `editorType` supports dynamic tokens
1692
+ *
1693
+ * NOTE: Operator-level bindable setting will override FilterOption-level setting, unless the operator bindable is undefined.
1694
+ *
1695
+ * When operators are switched from a bindable operator to a non-bindable operator, and the RH value has bindings, it will be cleared.
1696
+ */
1697
+ bindable?: boolean;
1698
+ /**
1699
+ * The expected right-hand-side value type for the operator.
1700
+ * If not provided, the value can be any allowed type.
1701
+ *
1702
+ * When provided, tells the editor to expect a specific type. This information is used
1703
+ * to determine what to do when swapping between operators:
1704
+ *
1705
+ * - 'single': single value is expected, array value will be converted to single value, none value will be empty
1706
+ * - 'array': array value is expected, single value will be converted to one-element array value, none value will be empty
1707
+ * - 'between': two-element array value is expected, single value will be converted to first element of a two-element array
1708
+ * - 'none': no value is expected, incoming single and array values will be converted to empty value
1709
+ * - 'any other string': the value is hardcoded to this when switched to. It is cleared when switched away from.
1710
+ * - undefined: either single or array values are allowed. No conversion is done when switching operators, unless switching from none/any other value to this operator.
1711
+ */
1712
+ expectedValueType: ('single' | 'array' | 'between' | 'none') | {} | undefined;
1713
+ };
1714
+ /** @deprecated beta - Filter option props */
1715
+ type FilterOptionLeftHandComponentProps = {
1716
+ deselectFilterOption: () => void;
1717
+ filterOption: FilterOption;
1718
+ filter: Filter;
1719
+ setFilterDynamicValue: ((dynamicValue: string | undefined) => void) | undefined;
1824
1720
  };
1825
1721
  /** @deprecated beta - Filter option props */
1826
1722
  type FilterOption = {
@@ -1828,8 +1724,6 @@ type FilterOption = {
1828
1724
  label: string;
1829
1725
  /** The value for the option */
1830
1726
  value: string;
1831
- /** The options for the option */
1832
- options?: FilterOption[];
1833
1727
  /** The operator options for the option */
1834
1728
  operatorOptions?: Operator[];
1835
1729
  /** The value options for the option */
@@ -1838,21 +1732,62 @@ type FilterOption = {
1838
1732
  readOnly?: boolean;
1839
1733
  /** Set a disabled state on the input */
1840
1734
  disabled?: boolean;
1841
- /** If filter operator allows it allow bind dynamic value to this filter */
1735
+ /**
1736
+ * Controls whether the filter's right-hand-side allows bound dynamic tokens.
1737
+ *
1738
+ * When false or unspecified: dynamic tokens are disallowed by default.
1739
+ * When true: dynamic tokens are allowed when the selected operator's `editorType` supports dynamic tokens
1740
+ *
1741
+ * NOTE: in most cases, one should set bindable on the operator level instead of the filter level.
1742
+ * Operator-level bindable setting will override FilterOption-level setting, unless the operator bindable is undefined.
1743
+ */
1842
1744
  bindable?: boolean;
1745
+ /** If value should be excluded from the sort options */
1746
+ excludeFromSort?: boolean;
1747
+ /**
1748
+ * Custom component that is rendered instead of the filter menu when this filter option is selected
1749
+ * Used to allow dynamic tokens to be set as a filter.
1750
+ */
1751
+ leftHandSideComponentWhenSelected?: ComponentType<FilterOptionLeftHandComponentProps>;
1752
+ };
1753
+ /** @deprecated beta - Filter option props */
1754
+ type FilterOptionGroup = {
1755
+ /** The label for the option group */
1756
+ label: string;
1757
+ /** Value for the option group. Should be unique, not stored. */
1758
+ value: string;
1759
+ /** The options for the option */
1760
+ options?: FilterOption[];
1843
1761
  };
1844
1762
  /** @deprecated beta - Filter selected and query value props */
1845
1763
  type Filter = {
1846
1764
  /** The field value selected */
1847
1765
  field: string;
1766
+ /**
1767
+ * If a field allows for dynamic variations of itself, such as bindings, this stores the dynamic value
1768
+ */
1769
+ dynamicField?: string;
1848
1770
  /** The operator value selected */
1849
1771
  operator: string;
1850
1772
  /** The value selected */
1851
1773
  value: string | string[];
1852
1774
  };
1775
+ type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOption, 'readOnly' | 'disabled' | 'bindable'> & {
1776
+ ariaLabel?: string;
1777
+ /** The type of filter editor to render */
1778
+ editorType: FilterEditor;
1779
+ /** The options for the filter editor if it has a controlled set of options */
1780
+ options?: Array<InputOption>;
1781
+ /** The current value for the filter editor */
1782
+ value: TValue | undefined;
1783
+ /** The onChange event for the filter editor */
1784
+ onChange: (e: TValue | undefined) => void;
1785
+ /** Sets the data-testid value */
1786
+ valueTestId?: string;
1787
+ };
1853
1788
 
1854
1789
  /** @deprecated beta - a list of possible operator values that sync with uniform search api */
1855
- type OperatorValue = 'eq' | 'sys-date-eq' | 'neq' | 'sys-date-neq' | 'gt' | 'sys-date-gt' | 'gte' | 'sys-date-gte' | 'lt' | 'sys-date-lt' | 'lte' | 'sys-date-lte' | 'in' | 'nin' | 'between' | 'sys-date-between' | 'ndef' | 'def' | 'match' | 'starts';
1790
+ type OperatorValue = 'eq' | 'sys-date-eq' | 'neq' | 'gt' | 'sys-date-gt' | 'gte' | 'sys-date-gte' | 'lt' | 'sys-date-lt' | 'lte' | 'sys-date-lte' | 'in' | 'nin' | 'between' | 'sys-date-between' | 'ndef' | 'def' | 'match' | 'starts';
1856
1791
  type OperatorValueType = {
1857
1792
  value: OperatorValue;
1858
1793
  };
@@ -1867,13 +1802,15 @@ declare const TEXTBOX_OPERATORS: OperatorType;
1867
1802
  /** @deprecated beta - uniform user operators */
1868
1803
  declare const USER_OPERATORS: OperatorType;
1869
1804
  /** @deprecated beta - uniform system date operators */
1870
- declare const SYSTEM_DATE_OPERATORS: OperatorType;
1805
+ declare const DATE_TIME_OPERATORS: OperatorType;
1871
1806
  /** @deprecated beta - uniform rich text operators */
1872
1807
  declare const RICHTEXT_OPERATORS: OperatorType;
1873
1808
  /** @deprecated beta - uniform checkbox operators */
1874
1809
  declare const CHECKBOX_OPERATORS: OperatorType;
1875
1810
  /** @deprecated beta - uniform system field operators */
1876
1811
  declare const SYSTEM_FIELD_OPERATORS: OperatorType;
1812
+ /** @deprecated beta - uniform optional system field operators */
1813
+ declare const OPTIONAL_SYSTEM_FIELD_OPERATORS: OperatorType;
1877
1814
  /** @deprecated beta - uniform publish status field operators */
1878
1815
  declare const PUBLISH_STATUS_FIELD_OPERATORS: OperatorType;
1879
1816
  /** @deprecated beta - uniform select field operators */
@@ -1881,170 +1818,139 @@ declare const SELECT_OPERATORS: OperatorType;
1881
1818
  /** @deprecated beta - uniform multi-select field operators */
1882
1819
  declare const MULTI_SELECT_OPERATORS: OperatorType;
1883
1820
 
1884
- /** @description beta - filter button type */
1885
- type FilterButtonProps = {
1886
- /** text to display on the button
1887
- * @default "Filters"
1888
- */
1889
- text?: string;
1890
- /** icon to display on the button
1891
- * @default "filter-add"
1892
- */
1893
- icon?: IconType;
1894
- /** number of filters to display on the button and sets the styles on the button */
1895
- filterCount?: number;
1896
- /** sets the selected styles on the button */
1897
- hasSelectedValue?: boolean;
1898
- /** sets the data-testid attribute on the button */
1899
- dataTestId?: string;
1900
- } & HTMLAttributes<HTMLButtonElement>;
1901
1821
  /**
1902
- * @deprecated beta - A filter button component used to display filter menu options
1903
- * @example <FilterButton text="Filters" filterCount={3} />
1822
+ * @deprecated beta - Renders a date input field for filtering
1823
+ * @example <DateEditor ariaLabel="Date" value={value} onChange={onChange} />
1904
1824
  */
1905
- declare const FilterButton: ({ text, icon, filterCount, hasSelectedValue, dataTestId, ...props }: FilterButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1825
+ declare const DateEditor: ({ onChange, ariaLabel, disabled, value, readOnly, valueTestId, }: FilterEditorRendererProps<string>) => _emotion_react_jsx_runtime.JSX.Element;
1906
1826
 
1907
1827
  /**
1908
- * @deprecated beta - Default filter controls for search and filter
1909
- * @example <FilterControls />
1828
+ * @deprecated beta - Renders a date range input field for filtering
1829
+ * @example <DateRangeEditor ariaLabel="Date Range" value={value} onChange={onChange} />
1910
1830
  */
1911
- declare const FilterControls: ({ children, hideSearchInput, }: {
1912
- /** optional param to allow you to add your own controls */
1913
- children?: ReactNode;
1914
- /** optional param to hide the search input */
1915
- hideSearchInput?: boolean | undefined;
1916
- }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1831
+ declare const DateRangeEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1917
1832
 
1918
- type FilterEditorProps = Record<FilterEditor, ComponentType<{
1919
- label?: string;
1920
- value?: string;
1921
- options: any;
1922
- onChange: (value: any) => void;
1923
- }> | (() => ReactNode) | null>;
1924
- type ComboboxOption = {
1925
- label: string;
1926
- value: string;
1927
- };
1928
- type SingleValueComboboxProps = Omit<FilterEditorCommonInputProps, 'value'> & {
1929
- value?: string;
1930
- options: ComboboxOption[];
1931
- onChange: (e: string) => void;
1932
- };
1933
- type MultiValueComboboxProps = Omit<FilterEditorCommonInputProps, 'value'> & {
1934
- value?: string[];
1935
- options: ComboboxOption[];
1936
- onChange: (e: string[]) => void;
1937
- };
1938
- type FilterEditorCommonInputProps = {
1939
- ariaLabel: string;
1940
- onChange: (e: string | string[]) => void;
1941
- disabled?: boolean;
1942
- value?: string | string[];
1943
- readOnly?: boolean;
1944
- valueTestId?: string;
1945
- bindable?: boolean;
1946
- };
1947
1833
  /**
1948
1834
  * @deprecated beta - Multie select filter component
1949
1835
  * @example <FilterMultiChoiceEditor options={options} value={options.filter((option) => values.includes(option.value)} onChange={(e) => onChange(e.map((option) => option.value))} />
1950
1836
  */
1951
- declare const FilterMultiChoiceEditor: ({ value, options, disabled, readOnly, valueTestId, ...props }: MultiValueComboboxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1837
+ declare const FilterMultiChoiceEditor: ({ value, options, disabled, readOnly, valueTestId, ...props }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1838
+
1952
1839
  /**
1953
1840
  * @deprecated beta - Single select filter component
1954
1841
  * @example <FilterSingleChoiceEditor options={options} value={options.find((option) => values.includes(option.value)} onChange={(e) => onChange(e.value)} />
1955
1842
  */
1956
- declare const FilterSingleChoiceEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: SingleValueComboboxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1843
+ declare const FilterSingleChoiceEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: FilterEditorRendererProps<string>) => _emotion_react_jsx_runtime.JSX.Element;
1844
+
1845
+ /**
1846
+ * @deprecated beta - Renders a number input field for filtering
1847
+ * @example <NumberEditor ariaLabel="Number" value={value} onChange={onChange} />
1848
+ */
1849
+ declare const NumberEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorRendererProps<string>) => _emotion_react_jsx_runtime.JSX.Element;
1850
+
1851
+ /**
1852
+ * @deprecated beta - Renders a number range input field for filtering
1853
+ * @example <NumberRangeEditor ariaLabel="Number Range" value={value} onChange={onChange} />
1854
+ */
1855
+ declare const NumberRangeEditor: ({ onChange, disabled, ariaLabel, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1856
+
1957
1857
  /**
1958
1858
  * @deprecated beta - Status multi select filter component that renders a custom dropdown menu
1959
1859
  * @example <StatusMultiEditor options={options} value={value} onChange={onChange} />
1960
1860
  */
1961
- declare const StatusMultiEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: MultiValueComboboxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1861
+ declare const StatusMultiEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1862
+
1962
1863
  /**
1963
1864
  * @deprecated beta - Status single select filter component that renders a custom dropdown menu
1964
1865
  * @example <StatusSingleEditor options={options} value={value} onChange={onChange} />
1965
1866
  */
1966
- declare const StatusSingleEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: SingleValueComboboxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1867
+ declare const StatusSingleEditor: ({ options, value, disabled, readOnly, onChange, valueTestId, }: FilterEditorRendererProps<string>) => _emotion_react_jsx_runtime.JSX.Element;
1868
+
1967
1869
  /**
1968
1870
  * @deprecated beta - Renders a text input field for filtering
1969
1871
  * @example <TextEditor ariaLabel="Search" value={value} onChange={onChange} />
1970
1872
  */
1971
- declare const TextEditor: ({ onChange, ariaLabel, value, readOnly, valueTestId, }: FilterEditorCommonInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1972
- /**
1973
- * @deprecated beta - Renders a number range input field for filtering
1974
- * @example <NumberRangeEditor ariaLabel="Number Range" value={value} onChange={onChange} />
1975
- */
1976
- declare const NumberRangeEditor: ({ onChange, disabled, ariaLabel, value, readOnly, valueTestId, }: FilterEditorCommonInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1873
+ declare const TextEditor: ({ onChange, ariaLabel, value, readOnly, valueTestId, }: FilterEditorRendererProps<string>) => _emotion_react_jsx_runtime.JSX.Element;
1874
+
1977
1875
  /**
1978
- * @deprecated beta - Renders a number input field for filtering
1979
- * @example <NumberEditor ariaLabel="Number" value={value} onChange={onChange} />
1876
+ * @deprecated beta - Text value multi select filter component
1980
1877
  */
1981
- declare const NumberEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorCommonInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1878
+ declare const TextMultiChoiceEditor: ({ value, disabled, readOnly, valueTestId, ...props }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1879
+
1880
+ /** @description beta - filter button type */
1881
+ type FilterButtonProps = {
1882
+ /** text to display on the button
1883
+ * @default "Filters"
1884
+ */
1885
+ text?: string;
1886
+ /** icon to display on the button
1887
+ * @default "filter-add"
1888
+ */
1889
+ icon?: IconType;
1890
+ /** number of filters to display on the button and sets the styles on the button */
1891
+ filterCount?: number;
1892
+ /** sets the selected styles on the button */
1893
+ hasSelectedValue?: boolean;
1894
+ /** sets the data-testid attribute on the button */
1895
+ dataTestId?: string;
1896
+ } & HTMLAttributes<HTMLButtonElement>;
1982
1897
  /**
1983
- * @deprecated beta - Renders a date input field for filtering
1984
- * @example <DateEditor ariaLabel="Date" value={value} onChange={onChange} />
1898
+ * @deprecated beta - A filter button component used to display filter menu options
1899
+ * @example <FilterButton text="Filters" filterCount={3} />
1985
1900
  */
1986
- declare const DateEditor: ({ onChange, ariaLabel, disabled, value, readOnly, valueTestId, }: FilterEditorCommonInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1901
+ declare const FilterButton: ({ text, icon, filterCount, hasSelectedValue, dataTestId, ...props }: FilterButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
1902
+
1987
1903
  /**
1988
- * @deprecated beta - Renders a date range input field for filtering
1989
- * @example <DateRangeEditor ariaLabel="Date Range" value={value} onChange={onChange} />
1904
+ * @deprecated beta - Default filter controls for search and filter
1905
+ * @example <FilterControls />
1990
1906
  */
1991
- declare const DateRangeEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorCommonInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1992
- type FilterEditorRendererProps = Pick<FilterOption, 'readOnly' | 'disabled' | 'bindable'> & {
1993
- /** The type of filter editor to render */
1994
- editorType: FilterEditor;
1995
- /** The options for the filter editor */
1996
- options?: Array<Operator>;
1997
- /** The value for the filter editor */
1998
- value?: string | string[] | InputOption[] | InputOption;
1999
- /** The onChange event for the filter editor */
2000
- onChange: (e: string) => void;
2001
- /** Sets the data-testid value */
2002
- valueTestId?: string;
2003
- };
1907
+ declare const FilterControls: ({ children, hideSearchInput, }: {
1908
+ /** optional param to allow you to add your own controls */
1909
+ children?: ReactNode;
1910
+ /** optional param to hide the search input */
1911
+ hideSearchInput?: boolean;
1912
+ }) => _emotion_react_jsx_runtime.JSX.Element;
1913
+
2004
1914
  /**
2005
1915
  * @deprecated beta - Renders a filter editor component
2006
1916
  * @example <FilterEditorRenderer editorType="multiChoice" options={options} value={value} onChange={onChange} />
2007
1917
  */
2008
- declare const FilterEditorRenderer: ({ editorType, ...props }: FilterEditorRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
1918
+ declare const FilterEditorRenderer: ({ editorType, ...props }: FilterEditorRendererProps<never>) => _emotion_react_jsx_runtime.JSX.Element;
2009
1919
  /** @deprecated beta - A mapper for filter editor components */
2010
- declare const filterMapper: Record<FilterEditor, ComponentType<any> | null>;
2011
- declare const bindableFiltersMapper: {
2012
- multiChoice: React__default.FC<MultiValueComboboxProps>;
2013
- singleChoice: React__default.FC<SingleValueComboboxProps>;
2014
- date: React__default.FC<FilterEditorCommonInputProps & {
2015
- value?: string | undefined;
2016
- options?: {
2017
- label: string;
2018
- value: string;
2019
- }[] | undefined;
2020
- }>;
2021
- text: React__default.FC<FilterEditorCommonInputProps & {
2022
- value?: string | undefined;
2023
- options?: {
2024
- label: string;
2025
- value: string;
2026
- }[] | undefined;
2027
- }>;
2028
- number: React__default.FC<FilterEditorCommonInputProps & {
2029
- value?: string | undefined;
2030
- options?: {
2031
- label: string;
2032
- value: string;
2033
- }[] | undefined;
2034
- }>;
2035
- dateRange: React__default.ComponentType<any> | null;
2036
- empty: React__default.ComponentType<any> | null;
2037
- numberRange: React__default.ComponentType<any> | null;
2038
- statusMultiChoice: React__default.ComponentType<any> | null;
2039
- statusSingleChoice: React__default.ComponentType<any> | null;
1920
+ declare const filterMapper: Record<FilterEditor, ComponentType<FilterEditorRendererProps<any>> | null>;
1921
+ declare const bindableFiltersMapper: typeof filterMapper;
1922
+
1923
+ type FilterItemProps = {
1924
+ /** the index of the filter row */
1925
+ index: number;
1926
+ /** function to trigger filter change events */
1927
+ onFilterOptionChange: (newFilter: string) => void;
1928
+ /** Called when a custom LHS component sets a dynamic filter value */
1929
+ onFilterDynamicChange?: (newFilterDynamic: string | undefined) => void;
1930
+ /** the list of operator options for each filter row */
1931
+ operatorOptions: Operator[];
1932
+ /** function to trigger operator change events */
1933
+ onOperatorChange: (newOperator: string) => void;
1934
+ /** function to trigger value change events */
1935
+ onValueChange: (newValue: string | string[]) => void;
1936
+ /** the list of value options for each filter row */
1937
+ valueOptions: InputOption[];
1938
+ /** Sets the title before the first criteria (i.e. "When", "Where") */
1939
+ initialCriteriaTitle?: string;
1940
+ /** How multiple criteria are joined together */
1941
+ criteriaGroupOperator?: 'and' | 'or';
2040
1942
  };
1943
+ /** @deprecated beta - A filter item component used to display filter options */
1944
+ declare const FilterItem: ({ index, operatorOptions, valueOptions, onFilterOptionChange, onFilterDynamicChange, onOperatorChange, onValueChange, initialCriteriaTitle, criteriaGroupOperator, }: FilterItemProps) => _emotion_react_jsx_runtime.JSX.Element;
2041
1945
 
2042
1946
  type FilterMapper = Record<string, ComponentType<any> | null>;
2043
1947
  type SearchAndFilterProviderProps = {
2044
1948
  /** sets the filter values */
2045
1949
  filters: Filter[];
2046
- /** sets the filter visibility */
1950
+ /** sets the initial filter visibility */
2047
1951
  filterVisible?: boolean;
1952
+ /** makes the filter UI always visible no matter what (ignores filterVisible, and subsequent internal visibility changes) */
1953
+ alwaysVisible?: boolean;
2048
1954
  /** function to trigger search change event */
2049
1955
  onSearchChange?: (term: string) => void;
2050
1956
  /** function to trigger filter change events */
@@ -2056,7 +1962,7 @@ type SearchAndFilterProviderProps = {
2056
1962
  */
2057
1963
  resetFilterValues?: Filter[];
2058
1964
  /** sets the list of filter options for each filter row */
2059
- filterOptions: FilterOption[];
1965
+ filterOptions: FilterOptionGroup[];
2060
1966
  /** the total number of results */
2061
1967
  totalResults?: number;
2062
1968
  /** the filter mapper function */
@@ -2086,7 +1992,7 @@ type SearchAndFilterContextProps = {
2086
1992
  /** function that deletes a row and it's values visually and from state */
2087
1993
  handleDeleteFilter: (index: number) => void;
2088
1994
  /** sets the initial list of filter options */
2089
- filterOptions: FilterOption[];
1995
+ filterOptions: FilterOptionGroup[];
2090
1996
  /** a valid list of valid filter options */
2091
1997
  validFilterQuery: Filter[] | undefined;
2092
1998
  /** a component list to map filter options */
@@ -2101,7 +2007,7 @@ declare const SearchAndFilterContext: React$1.Context<SearchAndFilterContextProp
2101
2007
  * @deprecated beta - Search and filter provider
2102
2008
  * @example <SearchAndFilterProvider filters={filters} filterOptions={filterOptions} onSearchChange={onSearchChange} onChange={onChange}>Children</SearchAndFilterProvider>
2103
2009
  * */
2104
- declare const SearchAndFilterProvider: ({ filters, filterOptions, filterVisible, defaultSearchTerm, onSearchChange, onChange, resetFilterValues, totalResults, filterMapper, children, allowBindingSearchTerm, }: SearchAndFilterProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2010
+ declare const SearchAndFilterProvider: ({ filters, filterOptions, filterVisible, alwaysVisible, defaultSearchTerm, onSearchChange, onChange, resetFilterValues, totalResults, filterMapper, children, allowBindingSearchTerm, }: SearchAndFilterProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2105
2011
  /** @deprecated beta - Search and filter hook
2106
2012
  * @example const { searchTerm, setSearchTerm, filterVisibility, setFilterVisibility, filters, setFilters, handleAddFilter, handleResetFilters, handleDeleteFilter, filterOptions, validFilterQuery } = useSearchAndFilter();
2107
2013
  */
@@ -2111,7 +2017,7 @@ declare const useSearchAndFilter: () => {
2111
2017
  /** sets the search term value */
2112
2018
  setSearchTerm: (term: string) => void;
2113
2019
  /** current filter visibility */
2114
- filterVisibility?: boolean | undefined;
2020
+ filterVisibility?: boolean;
2115
2021
  /** sets the filter visibility */
2116
2022
  setFilterVisibility: (visible: boolean) => void;
2117
2023
  /** sets the initial filters */
@@ -2125,15 +2031,15 @@ declare const useSearchAndFilter: () => {
2125
2031
  /** function that deletes a row and it's values visually and from state */
2126
2032
  handleDeleteFilter: (index: number) => void;
2127
2033
  /** sets the initial list of filter options */
2128
- filterOptions: FilterOption[];
2034
+ filterOptions: FilterOptionGroup[];
2129
2035
  /** a valid list of valid filter options */
2130
2036
  validFilterQuery: Filter[] | undefined;
2131
2037
  /** a component list to map filter options */
2132
- filterMapper?: FilterMapper | undefined;
2038
+ filterMapper?: FilterMapper;
2133
2039
  /** the total number of results */
2134
- totalResults?: number | undefined;
2040
+ totalResults?: number;
2135
2041
  /** Allow to bind dynamic inputs to the search term */
2136
- allowBindingSearchTerm?: boolean | undefined;
2042
+ allowBindingSearchTerm?: boolean;
2137
2043
  };
2138
2044
 
2139
2045
  type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
@@ -2164,33 +2070,17 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
2164
2070
  * @deprecated beta - Search and filter component
2165
2071
  * @example <SearchAndFilter filters={filters} filterOptions={filterOptions} onChange={onChange} onSearchChange={onSearchChange} onSearchReset={onSearchReset} totalResults={totalResults} />
2166
2072
  * */
2167
- declare const SearchAndFilter: ({ filters, filterOptions, filterVisible, filterControls, viewSwitchControls, resultsContainerView, filterMapper, additionalFiltersContainer, onChange, defaultSearchTerm, onSearchChange, totalResults, allowBindingSearchTerm, resetFilterValues, }: SearchAndFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2073
+ declare const SearchAndFilter: ({ filters, filterOptions, filterVisible, filterControls, viewSwitchControls, resultsContainerView, filterMapper, additionalFiltersContainer, onChange, defaultSearchTerm, onSearchChange, totalResults, allowBindingSearchTerm, resetFilterValues, }: SearchAndFilterProps) => _emotion_react_jsx_runtime.JSX.Element;
2168
2074
 
2169
- type FilterRowProps = {
2170
- /** the index of the filter row */
2171
- index: number;
2172
- /** the list of filter options for each filter row */
2173
- paramOptions: FilterOption[];
2174
- /** function to trigger filter change events */
2175
- onParamChange: (e: string) => void;
2176
- /** the list of operator options for each filter row */
2177
- operatorOptions: Operator[];
2178
- /** function to trigger operator change events */
2179
- onOperatorChange: (e: string) => void;
2180
- /** function to trigger value change events */
2181
- onValueChange: (e: string) => void;
2182
- /** the list of value options for each filter row */
2183
- valueOptions: InputOption[];
2184
- };
2185
- /** @deprecated beta - A filter item component used to display filter options */
2186
- declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions, onParamChange, onOperatorChange, onValueChange, }: FilterRowProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2187
2075
  type FilterItemsProps = {
2188
2076
  /** The text for the add button */
2189
2077
  addButtonText?: string;
2190
2078
  additionalFiltersContainer: SearchAndFilterProps['additionalFiltersContainer'];
2191
- };
2079
+ filterTitle?: string;
2080
+ resetButtonText?: string;
2081
+ } & Pick<FilterItemProps, 'initialCriteriaTitle' | 'criteriaGroupOperator'>;
2192
2082
  /** @deprecated beta - A filter items component used to display filter options */
2193
- declare const FilterItems: ({ addButtonText, additionalFiltersContainer, }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2083
+ declare const FilterItems: ({ addButtonText, additionalFiltersContainer, filterTitle, resetButtonText, initialCriteriaTitle, criteriaGroupOperator, }: FilterItemsProps) => _emotion_react_jsx_runtime.JSX.Element;
2194
2084
 
2195
2085
  type SearchAndFilterOptionsContainerProps = {
2196
2086
  /** The button row to be displayed at the bottom of the container */
@@ -2203,7 +2093,7 @@ type SearchAndFilterOptionsContainerProps = {
2203
2093
  * @deprecated beta - A container component for search and filter options
2204
2094
  * @example <SearchAndFilterOptionsContainer buttonRow={<button>Button</button>}>Children</SearchAndFilterOptionsContainer>
2205
2095
  * */
2206
- declare const SearchAndFilterOptionsContainer: ({ buttonRow, additionalFiltersContainer, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2096
+ declare const SearchAndFilterOptionsContainer: ({ buttonRow, additionalFiltersContainer, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
2207
2097
  type FiltersProps = {
2208
2098
  /** The id of the filter menu */
2209
2099
  id: string;
@@ -2225,7 +2115,7 @@ type FiltersProps = {
2225
2115
  * @deprecated beta - A filter menu component used to display filter options
2226
2116
  * @example <FilterMenu id="search-and-filter-options">Children</FilterMenu>
2227
2117
  * */
2228
- declare const FilterMenu: ({ id, filterTitle, menuControls, additionalFiltersContainer, children, dataTestId, resetButtonText, }: FiltersProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2118
+ declare const FilterMenu: ({ id, filterTitle, menuControls, additionalFiltersContainer, children, dataTestId, resetButtonText, }: FiltersProps) => _emotion_react_jsx_runtime.JSX.Element;
2229
2119
 
2230
2120
  type SearchAndFilterResultContainerProps = {
2231
2121
  /** The label for the clear button
@@ -2244,7 +2134,7 @@ type SearchAndFilterResultContainerProps = {
2244
2134
  hideClearButton?: boolean;
2245
2135
  };
2246
2136
  /** @deprecated beta - Search and filter results container */
2247
- declare const SearchAndFilterResultContainer: ({ buttonText, clearButtonLabel, calloutTitle, calloutText, onHandleClear, hideClearButton, }: SearchAndFilterResultContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
2137
+ declare const SearchAndFilterResultContainer: ({ buttonText, clearButtonLabel, calloutTitle, calloutText, onHandleClear, hideClearButton, }: SearchAndFilterResultContainerProps) => _emotion_react_jsx_runtime.JSX.Element | null;
2248
2138
 
2249
2139
  declare const SearchOnlyContext: React$1.Context<Pick<SearchAndFilterContextProps, "searchTerm" | "setSearchTerm">>;
2250
2140
  type SearchOnlyProviderProps = Pick<SearchAndFilterProviderProps, 'onSearchChange'> & {
@@ -2253,7 +2143,7 @@ type SearchOnlyProviderProps = Pick<SearchAndFilterProviderProps, 'onSearchChang
2253
2143
  */
2254
2144
  maxWidth?: string;
2255
2145
  };
2256
- declare const SearchOnlyFilter: ({ onSearchChange, maxWidth }: SearchOnlyProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2146
+ declare const SearchOnlyFilter: ({ onSearchChange, maxWidth }: SearchOnlyProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2257
2147
 
2258
2148
  type SortItemsProps = {
2259
2149
  /** The label for the sort by field
@@ -2265,7 +2155,7 @@ type SortItemsProps = {
2265
2155
  */
2266
2156
  localeLabel?: string;
2267
2157
  /** sets the list of sort options */
2268
- sortOptions: FilterOption[];
2158
+ sortOptions: FilterOptionGroup[];
2269
2159
  /** the default sort by value */
2270
2160
  sortByValue?: string;
2271
2161
  /** function to trigger sort change events */
@@ -2285,7 +2175,183 @@ type SortItemsProps = {
2285
2175
  /**
2286
2176
  Copy of Design System <SortItems > component with ability to bind variables to inputs.
2287
2177
  */
2288
- declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue, onSortChange, localeValue, localeOptions, onLocaleChange, disableSortBinding, }: SortItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
2178
+ declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue, onSortChange, localeValue, localeOptions, onLocaleChange, disableSortBinding, }: SortItemsProps) => _emotion_react_jsx_runtime.JSX.Element;
2179
+
2180
+ type ControlledObjectSearchProviderProps = {
2181
+ children: ReactNode;
2182
+ /**
2183
+ * List of selected items controlled by parent component.
2184
+ * "undefined" value together with "selectedItemsLoading" prop indicate that list is initially loading or it is reloading on select action.
2185
+ * In case of reloading on select action, this component will render selected item right away to avoid waiting for backend response to smooth user experience.
2186
+ */
2187
+ selectedItems: Array<SelectedItemProps> | undefined;
2188
+ /**
2189
+ * List of search results for "single" and "multiple" archetypes usually. From this list custom will be able to select items.
2190
+ * Undefined in case when there is no search, e.g. Query archetype.
2191
+ */
2192
+ searchResultItems: Array<SelectedItemProps> | undefined;
2193
+ /** Indicates that selected items are loading. only used during initial render and on user interaction does not effect anything */
2194
+ selectedItemsLoading?: boolean;
2195
+ /** Indicates that search result list is loading. */
2196
+ searchResultListLoading?: boolean;
2197
+ /** @deprecated Please use <SearchAndFilter> component instead */
2198
+ onQueryChange?: (value: SearchQueryProps) => void;
2199
+ /** Callback to to receive new selected items list, usually updated on list item selection or list clearing */
2200
+ onSelectItemsChange: (selectedItems: Array<SelectedItemProps>) => void;
2201
+ /** Indicates that user can select multiple items from the list */
2202
+ isMulti?: boolean;
2203
+ /** @deprecated Please use <SearchAndFilter> component instead */
2204
+ query?: SearchQueryProps;
2205
+ /** @deprecated Please use <SearchAndFilter> component instead */
2206
+ localeOptions?: InputOption[];
2207
+ /** @deprecated Please use <SearchAndFilter> component instead */
2208
+ enableFilterByLocale?: ObjectSearchContextProps['enableFilterByLocale'];
2209
+ /** @deprecated Please use <SearchAndFilter> component instead. It also recommended to have separate archetype for data types to load content by single bindable values */
2210
+ dynamicEntryId?: ObjectSearchContextProps['dynamicEntryId'];
2211
+ /** Used for archetypes where you expect user to select items manually, comparing to automatic selection based on query */
2212
+ isManualSelection?: boolean;
2213
+ };
2214
+ declare const ControlledObjectSearchProvider: ({ selectedItems, searchResultItems, selectedItemsLoading, searchResultListLoading, onQueryChange, onSelectItemsChange, isMulti, children, query, enableFilterByLocale, localeOptions, dynamicEntryId, isManualSelection, }: ControlledObjectSearchProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
2215
+
2216
+ type ParamTypeDynamicDataProviderProps = {
2217
+ /** Child components of the provider. Variables-using components, such as ParameterVariables, can be used here. */
2218
+ children: ReactNode;
2219
+ };
2220
+ /** Context to tell the binding UI what types are allowed for the current binding expression */
2221
+ type ParameterConnectOptions = {
2222
+ /**
2223
+ * Which JSON primitive types can be connected to this parameter.
2224
+ * Note that if the only value of the parameter is a complex dynamic token connection (object or array), then the connected data will be the literal value, not a string.
2225
+ */
2226
+ connectsTo: BindableTypes[];
2227
+ };
2228
+ /**
2229
+ * Wrapper for data resource locations. Provides read-only access to dynamic inputs as if they were variables,
2230
+ * using variables-aware components (i.e. InputVariables). This simplifies building dynamic-input-aware editors,
2231
+ * where a data resource variable could be a static value or bound to a dynamic input from the route (project map).
2232
+ */
2233
+ declare function ParamTypeDynamicDataProvider(props: ParamTypeDynamicDataProviderProps): _emotion_react_jsx_runtime.JSX.Element;
2234
+
2235
+ /** Editor component to let you write a request body for POST requests */
2236
+ declare function RequestBody(): _emotion_react_jsx_runtime.JSX.Element;
2237
+
2238
+ /** Editor component to manage HTTP headers on a request */
2239
+ declare function RequestHeaders({ disableVariables, addOmitIfEmpty, }: Pick<InputVariablesProps, 'disableVariables' | 'addOmitIfEmpty'>): _emotion_react_jsx_runtime.JSX.Element;
2240
+
2241
+ /** Dropdown to pick a HTTP method for a request */
2242
+ declare function RequestMethodSelect(props: Omit<InputSelectProps, 'value' | 'onChange' | 'options'>): _emotion_react_jsx_runtime.JSX.Element;
2243
+
2244
+ type RequestParametersProps = Pick<InputVariablesProps, 'disableVariables'>;
2245
+ /** Component to manage query parameters on a request */
2246
+ declare function RequestParameters({ disableVariables, addOmitIfEmpty, }: Pick<InputVariablesProps, 'disableVariables' | 'addOmitIfEmpty'>): _emotion_react_jsx_runtime.JSX.Element;
2247
+
2248
+ type RequestParameter = {
2249
+ key: string;
2250
+ value: string;
2251
+ omitIfEmpty?: boolean;
2252
+ };
2253
+ type BaseRequestData = {
2254
+ baseUrl: string;
2255
+ headers?: Array<RequestParameter>;
2256
+ parameters?: Array<RequestParameter>;
2257
+ };
2258
+ type RequestData = {
2259
+ relativeUrl: string;
2260
+ headers: Array<RequestParameter>;
2261
+ parameters: Array<RequestParameter>;
2262
+ baseRequest?: BaseRequestData;
2263
+ method?: string;
2264
+ body?: string;
2265
+ };
2266
+ type RequestProviderProps = React$1.PropsWithChildren<{
2267
+ value: RequestData;
2268
+ onChange: (delegate: (oldValue: RequestData) => RequestData) => void;
2269
+ }>;
2270
+ type RequestAction = {
2271
+ type: 'setRelativeUrl';
2272
+ relativeUrl: string;
2273
+ } | {
2274
+ type: 'updateHeader';
2275
+ header: RequestParameter;
2276
+ index?: number;
2277
+ } | {
2278
+ type: 'removeHeader';
2279
+ index: number;
2280
+ } | {
2281
+ type: 'updateParameter';
2282
+ parameter: RequestParameter;
2283
+ index?: number;
2284
+ } | {
2285
+ type: 'removeParameter';
2286
+ index: number;
2287
+ } | {
2288
+ type: 'setMethod';
2289
+ method: string;
2290
+ } | {
2291
+ type: 'setBody';
2292
+ body: string;
2293
+ contentType: string;
2294
+ };
2295
+ type RequestContext = {
2296
+ dispatch: (event: RequestAction) => void;
2297
+ request: Readonly<RequestData>;
2298
+ };
2299
+ /** Provides a mutable HTTP request object context. Components such as RequestBody and RequestUrl use this context to render. */
2300
+ declare function RequestProvider({ value, onChange, children }: RequestProviderProps): _emotion_react_jsx_runtime.JSX.Element;
2301
+ declare function useRequest(): RequestContext;
2302
+
2303
+ type RequestTypeContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
2304
+ /**sets the background color of the container
2305
+ * @default 'transparent'
2306
+ */
2307
+ bgColor?: 'transparent' | 'var(--gray-100)';
2308
+ children: React$1.ReactNode;
2309
+ };
2310
+ /**
2311
+ * @description a container to layout content in a 2 column grid format = 12ch 1fr
2312
+ * @example <RequestTypeContainer bgColor="var(--gray-100)">
2313
+ * <label>Name <input type="text" /></label>
2314
+ * <label>Name <input type="text" /></label>
2315
+ * </div> */
2316
+ declare const RequestTypeContainer: ({ bgColor, children, ...props }: RequestTypeContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
2317
+
2318
+ /**
2319
+ * Displays the current full URL of the request, including the base URL if one is set
2320
+ */
2321
+ declare function RequestUrl(): _emotion_react_jsx_runtime.JSX.Element;
2322
+
2323
+ /**
2324
+ * Editor to modify the current URL of the request
2325
+ * Note: entering query string parameters automatically converts them and syncs the request state with them
2326
+ */
2327
+ declare function RequestUrlInput(props: Omit<InputVariablesProps, 'value' | 'onChange'> & Pick<InputVariablesProps, 'showAddVariableMenuOption' | 'enableEditingVariables'>): _emotion_react_jsx_runtime.JSX.Element;
2328
+
2329
+ declare function urlEncodeRequestUrl(url: string, varValues?: Record<string, MeshDataVariableDefinition>): string;
2330
+ declare function urlEncodeRequestParameter(parameter: RequestParameter, varValues?: Record<string, MeshDataVariableDefinition>): RequestParameter;
2331
+
2332
+ /**
2333
+ * Hook to make it simple to read and write a specific request header by name,
2334
+ * instead of supporting multiple values in an array like native dispatch.
2335
+ *
2336
+ * NOTE: if multiple values are added for the named header, this hook will bind to the FIRST
2337
+ * instance of the header and leave the other values alone.
2338
+ */
2339
+ declare function useRequestHeader(headerName: string): {
2340
+ value: string;
2341
+ update: (value: string) => void;
2342
+ };
2343
+
2344
+ /**
2345
+ * Hook to make it simple to read and write a specific request query string parameter by name,
2346
+ * instead of supporting multiple values in an array like native dispatch.
2347
+ *
2348
+ * NOTE: if multiple values are added for the named parameter, this hook will bind to the FIRST
2349
+ * instance of the parameter and leave the other values alone.
2350
+ */
2351
+ declare function useRequestParameter(paramName: string): {
2352
+ value: string;
2353
+ update: (value: string) => void;
2354
+ };
2289
2355
 
2290
2356
  /** Converts connected data map into VariablesProvider-format variables */
2291
2357
  declare function useConnectedDataAsVariables(connectedData: Record<string, unknown> | undefined): Record<string, MeshDataVariableDefinition>;
@@ -2338,4 +2404,4 @@ type ContentDataResourceLocaleInfoProps = {
2338
2404
  };
2339
2405
  declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2340
2406
 
2341
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledObjectSearchProvider, type ControlledObjectSearchProviderProps, ControlledValuePlugin, DATE_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, DataResourceInputContext, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, 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 Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, type FilterEditorCommonInputProps, type FilterEditorProps, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, ObjectSearchContext, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchListOfSearchResults, 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, 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, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_DATE_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, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, 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, bindQuery, 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, filterMapper, 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, useDataResourceDynamicInputs, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2407
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledObjectSearchProvider, type ControlledObjectSearchProviderProps, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, DataResourceInputContext, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DateEditor, DateRangeEditor, 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 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, type GetProductOptions, type GetProductsOptions, 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, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, ObjectSearchContext, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchListOfSearchResults, 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, 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, RICHTEXT_OPERATORS, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, 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, SelectionField, type SelectionFieldValue, 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, badgeIcon, bindQuery, 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, filterMapper, 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, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDataResourceDynamicInputs, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };