@uniformdev/mesh-sdk-react 19.3.0 → 19.6.0
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.ts +132 -55
- package/dist/index.esm.js +2048 -548
- package/dist/index.js +2047 -548
- package/dist/index.mjs +2048 -548
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { SVGProps,
|
|
3
|
+
import React__default, { SVGProps, PropsWithChildren, ComponentType, HTMLAttributes, ReactNode, AnchorHTMLAttributes } from 'react';
|
|
4
4
|
import { TDate } from 'timeago.js';
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
|
-
import { DataVariableDefinition, DataResourceVariables } from '@uniformdev/canvas';
|
|
7
6
|
import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
|
|
8
|
-
import { MeshLocation, SetValueOptions, DataSourceLocationValue, DataTypeLocationValue } from '@uniformdev/mesh-sdk';
|
|
7
|
+
import { DynamicInput, MeshLocation, SetValueOptions, DynamicInputs, DataSourceLocationValue, DataTypeLocationValue } from '@uniformdev/mesh-sdk';
|
|
9
8
|
export * from '@uniformdev/mesh-sdk';
|
|
9
|
+
import { DataVariableDefinition, DataResourceVariables, DataType } from '@uniformdev/canvas';
|
|
10
10
|
import { Emitter } from 'mitt';
|
|
11
11
|
import { BadgeThemeProps, InputSelectProps } from '@uniformdev/design-system';
|
|
12
12
|
export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps, Label, LabelProps, LoadingIndicator, LoadingOverlay, Menu, MenuItem, MenuItemProps, MenuProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, Switch, SwitchProps, Textarea, TextareaProps, Theme, ThemeProps, useParameterShell } from '@uniformdev/design-system';
|
|
@@ -367,6 +367,19 @@ declare const damSelectedItemMediaContainer: _emotion_react.SerializedStyles;
|
|
|
367
367
|
declare const damSelectedItemInfoBtn: _emotion_react.SerializedStyles;
|
|
368
368
|
declare const damSelectItemImage: _emotion_react.SerializedStyles;
|
|
369
369
|
|
|
370
|
+
type MinimalDynamicInput = Omit<DynamicInput, 'source'>;
|
|
371
|
+
type MinimalDynamicInputs = Record<string, MinimalDynamicInput>;
|
|
372
|
+
type DataResourceDynamicInputProviderProps = PropsWithChildren<{
|
|
373
|
+
/** Explicitly provide dynamic input values. If not set, Mesh location will be used */
|
|
374
|
+
dynamicInputs?: MinimalDynamicInputs;
|
|
375
|
+
}>;
|
|
376
|
+
/**
|
|
377
|
+
* Wrapper for data resource locations. Provides read-only access to dynamic inputs as if they were variables,
|
|
378
|
+
* using variables-aware components (i.e. InputVariables). This simplifies building dynamic-input-aware editors,
|
|
379
|
+
* where a data resource variable could be a static value or bound to a dynamic input from the route (project map).
|
|
380
|
+
*/
|
|
381
|
+
declare function DataResourceDynamicInputProvider({ children, dynamicInputs, }: DataResourceDynamicInputProviderProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
382
|
+
|
|
370
383
|
/**
|
|
371
384
|
* Provides convenient access to the current Uniform Mesh location via React hook.
|
|
372
385
|
* Intended to be used within <MeshApp />.
|
|
@@ -433,24 +446,52 @@ type InputToken = {
|
|
|
433
446
|
value: string;
|
|
434
447
|
};
|
|
435
448
|
type InputVariablesProps = {
|
|
449
|
+
/** Sets a HTML ID for the variables input and label */
|
|
450
|
+
id?: string;
|
|
451
|
+
/** Enables a label for the input */
|
|
452
|
+
label?: string;
|
|
436
453
|
/** sets the input aria-label value. */
|
|
437
454
|
'aria-label'?: string;
|
|
438
455
|
/** sets the value of the input */
|
|
439
456
|
value: string;
|
|
440
457
|
/** sets the passed down function call */
|
|
441
458
|
onChange: (newValue: string) => void;
|
|
442
|
-
/**
|
|
459
|
+
/**
|
|
460
|
+
* Called when the field is pasted into
|
|
461
|
+
* Note that this will auto-cancel onChange after the paste when defined.
|
|
462
|
+
*/
|
|
443
463
|
onPaste?: (newValue: string) => void;
|
|
444
464
|
/** Disables using variables in the input */
|
|
445
465
|
disableVariables?: boolean;
|
|
466
|
+
/** Turns off the 'Reset' menu option that is added by default when variables are bound to */
|
|
467
|
+
disableReset?: boolean;
|
|
446
468
|
/** Enables adding variables from the menu */
|
|
447
469
|
showAddVariableMenuOption?: boolean;
|
|
448
|
-
/**
|
|
449
|
-
|
|
450
|
-
/**
|
|
451
|
-
|
|
470
|
+
/** Disables the inline variable selection menu when rendering a variables input */
|
|
471
|
+
disableInlineMenu?: boolean;
|
|
472
|
+
/**
|
|
473
|
+
* When no variables are referenced in the value, and this prop is provided,
|
|
474
|
+
* the variables-injection input will be replaced with this component.
|
|
475
|
+
*/
|
|
476
|
+
inputWhenNoVariables?: JSX.Element;
|
|
477
|
+
/** (optional) sets and shows the the error message value */
|
|
478
|
+
errorMessage?: string;
|
|
479
|
+
/** (optional) sets and shows the the warning message value */
|
|
480
|
+
warningMessage?: string;
|
|
481
|
+
/** (optional) sets and shows the the info message value */
|
|
482
|
+
infoMessage?: string;
|
|
483
|
+
/** (optional) sets caption text value */
|
|
484
|
+
caption?: string;
|
|
452
485
|
};
|
|
453
|
-
declare function InputVariables({ 'aria-label': ariaLabel, value, disableVariables, onChange, onPaste, showAddVariableMenuOption,
|
|
486
|
+
declare function InputVariables({ id, 'aria-label': ariaLabel, label, value, disableVariables, disableReset, disableInlineMenu, onChange, onPaste, showAddVariableMenuOption, inputWhenNoVariables, caption, errorMessage, warningMessage, infoMessage, ...inputProps }: InputVariablesProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* A regular expression that matches Uniform variable expressions
|
|
490
|
+
* in the form of ${variableName}.
|
|
491
|
+
*/
|
|
492
|
+
declare const variableExpression: RegExp;
|
|
493
|
+
declare const variablePrefix = "${";
|
|
494
|
+
declare const variableSuffix = "}";
|
|
454
495
|
|
|
455
496
|
type DataVariableDefinitionWithName = {
|
|
456
497
|
name: string;
|
|
@@ -499,9 +540,16 @@ type VariablesContext = {
|
|
|
499
540
|
isEditing: boolean;
|
|
500
541
|
/** Add event handles (don't forget to unhook) */
|
|
501
542
|
events: Emitter<VariablesEvents>;
|
|
543
|
+
/** Whether the context is backed by a provider, or is just a readonly fake */
|
|
544
|
+
canDispatch: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* A flattened version of `variables` that is a plain key-value object.
|
|
547
|
+
* Used when binding the variables to a value.
|
|
548
|
+
*/
|
|
549
|
+
flatVariables: Readonly<Record<string, string>>;
|
|
502
550
|
};
|
|
503
551
|
declare function VariablesProvider({ value, onChange, editVariableComponent, children, }: VariablesProviderProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
504
|
-
declare function useVariables(): VariablesContext;
|
|
552
|
+
declare function useVariables(returnEmptyWithoutProvider?: boolean): VariablesContext;
|
|
505
553
|
|
|
506
554
|
type DataResourceVariablesListProps = {
|
|
507
555
|
/**
|
|
@@ -521,7 +569,24 @@ type DataResourceVariablesListProps = {
|
|
|
521
569
|
*/
|
|
522
570
|
noVariables?: ComponentType;
|
|
523
571
|
};
|
|
524
|
-
|
|
572
|
+
/**
|
|
573
|
+
* Renders a list of Data Type-provided variables that can be set on a Data Resource.
|
|
574
|
+
* Intended to provide a solid base for data resource editors that need to edit a list of variables.
|
|
575
|
+
* Using the optional `type` attribute of variables, one can use custom components to render different
|
|
576
|
+
* variables using this component, enabling flexibility for more than just text inputs.
|
|
577
|
+
*/
|
|
578
|
+
declare function DataResourceVariablesList(props: DataResourceVariablesListProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
579
|
+
/**
|
|
580
|
+
* Renders a list of Data Type-provided variables that can be set on a Data Resource.
|
|
581
|
+
*
|
|
582
|
+
* This is a version of DataResourceVariablesList that does not use any Mesh context data.
|
|
583
|
+
* For most uses you will want to use DataResourceVariablesList instead.
|
|
584
|
+
*/
|
|
585
|
+
declare function DataResourceVariablesListExplicit({ setVariables, noVariables: NoVariablesComponent, typeRenderers, dataType, dynamicInputs, value, }: DataResourceVariablesListProps & {
|
|
586
|
+
value: DataResourceVariables;
|
|
587
|
+
dataType: DataType;
|
|
588
|
+
dynamicInputs: DynamicInputs;
|
|
589
|
+
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
525
590
|
type DataResourceVariableRendererProps = {
|
|
526
591
|
/** Current value of the variable on the data resource */
|
|
527
592
|
value: string | undefined;
|
|
@@ -530,7 +595,7 @@ type DataResourceVariableRendererProps = {
|
|
|
530
595
|
/** The definition of the data variable */
|
|
531
596
|
definition: DataVariableDefinitionWithName;
|
|
532
597
|
};
|
|
533
|
-
/** Default data resource variable renderer, uses a text input */
|
|
598
|
+
/** Default data resource variable renderer, uses a text input that supports dynamic input binding */
|
|
534
599
|
declare function TextVariableRenderer({ definition, value, setValue }: DataResourceVariableRendererProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
535
600
|
|
|
536
601
|
type DataSourceEditorProps = PropsWithChildren<{
|
|
@@ -583,6 +648,17 @@ type DataRefreshButtonProps = HTMLAttributes<HTMLButtonElement> & {
|
|
|
583
648
|
declare const DataRefreshButton: ({ buttonText, isLoading, onRefreshData, ...props }: DataRefreshButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
584
649
|
|
|
585
650
|
type ObjectSearchContainerProps = {
|
|
651
|
+
/**
|
|
652
|
+
* Adds a label to the search container.
|
|
653
|
+
*/
|
|
654
|
+
label?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Enables a dynamic input connect button to connect a dynamic input to the selected result ID
|
|
657
|
+
* Prerequisites:
|
|
658
|
+
* - label must be set
|
|
659
|
+
* - wrapped in DataResourceDynamicInputProvider
|
|
660
|
+
*/
|
|
661
|
+
enableDynamicInputToResultId?: boolean;
|
|
586
662
|
/** a child node that places components within the search location */
|
|
587
663
|
searchFilters: ReactNode;
|
|
588
664
|
/** a child node that places components within a scrollable list location */
|
|
@@ -593,7 +669,7 @@ type ObjectSearchContainerProps = {
|
|
|
593
669
|
/**
|
|
594
670
|
* @description Object search container is an opinionated layout for search parameters and retrieved results
|
|
595
671
|
* @example <ObjectSearchContainer searchFilters={<>your component</>} resultList={<>your result list component<>} onSave={yourSaveAction} onCancel={yourCancelAction} /> */
|
|
596
|
-
declare const ObjectSearchContainer: ({ searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
672
|
+
declare const ObjectSearchContainer: ({ label, enableDynamicInputToResultId, searchFilters, resultList, children, }: ObjectSearchContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
597
673
|
|
|
598
674
|
type ObjectSearchFilterProps = {
|
|
599
675
|
/** shows or hides the required content type select option */
|
|
@@ -628,8 +704,11 @@ type ObjectSearchFilterProps = {
|
|
|
628
704
|
declare const ObjectSearchFilter: ({ requireContentType, typeSelectorAllTypesOptionText, searchInputName, searchInputPlaceholderText, selectLabel, selectOptions, }: ObjectSearchFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
629
705
|
|
|
630
706
|
type ObjectSearchFilterContainerProps = {
|
|
631
|
-
/**
|
|
632
|
-
|
|
707
|
+
/**
|
|
708
|
+
* sets the title for the container
|
|
709
|
+
* @deprecated we recommend setting the label on ObjectSearchContainer instead
|
|
710
|
+
*/
|
|
711
|
+
label?: string;
|
|
633
712
|
/** sets child components in an opinionated layout */
|
|
634
713
|
children?: React.ReactNode;
|
|
635
714
|
};
|
|
@@ -639,23 +718,26 @@ type ObjectSearchFilterContainerProps = {
|
|
|
639
718
|
*/
|
|
640
719
|
declare const ObjectSearchFilterContainer: ({ label, children }: ObjectSearchFilterContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
641
720
|
|
|
642
|
-
type SearchQueryProps = {
|
|
721
|
+
type SearchQueryProps<TExtraFilters = unknown> = {
|
|
643
722
|
/** sets the content type in the search context */
|
|
644
723
|
contentType?: string;
|
|
645
724
|
/** sets the keyword search in the search context */
|
|
646
725
|
keyword?: string;
|
|
647
|
-
};
|
|
648
|
-
type
|
|
649
|
-
[key: string]: unknown;
|
|
650
|
-
};
|
|
651
|
-
type SelectedItemProps<TProps extends SelectedItemExtendedProps = SelectedItemExtendedProps> = {
|
|
726
|
+
} & TExtraFilters;
|
|
727
|
+
type SelectedItemProps<TExtraProps = unknown> = {
|
|
652
728
|
/** sets the id value */
|
|
653
729
|
id: string;
|
|
654
730
|
/** sets the title value */
|
|
655
731
|
title: string;
|
|
656
|
-
/**
|
|
732
|
+
/**
|
|
733
|
+
* sets the name value, sometimes used for products
|
|
734
|
+
* @deprecated use title instead
|
|
735
|
+
*/
|
|
657
736
|
name?: string;
|
|
658
|
-
/**
|
|
737
|
+
/**
|
|
738
|
+
* sets the subtitle value
|
|
739
|
+
* @deprecated this is unused
|
|
740
|
+
*/
|
|
659
741
|
subtitle?: string;
|
|
660
742
|
/** sets the content type value */
|
|
661
743
|
contentType?: string | string[];
|
|
@@ -684,25 +766,29 @@ type SelectedItemProps<TProps extends SelectedItemExtendedProps = SelectedItemEx
|
|
|
684
766
|
metadata?: Record<string, string>;
|
|
685
767
|
/** allows for child react elements to be nested in the popover */
|
|
686
768
|
popoverData?: ReactNode;
|
|
687
|
-
} &
|
|
688
|
-
type
|
|
689
|
-
|
|
690
|
-
items?: TList;
|
|
691
|
-
[key: string]: unknown;
|
|
769
|
+
} & TExtraProps;
|
|
770
|
+
type ItemListProps<TListItemExtraProps = unknown> = {
|
|
771
|
+
items?: Array<SelectedItemProps<TListItemExtraProps>>;
|
|
692
772
|
};
|
|
693
|
-
type ObjectSearchContextProps = {
|
|
773
|
+
type ObjectSearchContextProps<TExtraFilters = unknown, TExtraItemProps = unknown> = {
|
|
694
774
|
/** function that updates / sets the search query state */
|
|
695
|
-
onSetQuery: (value: SearchQueryProps) => void;
|
|
775
|
+
onSetQuery: (value: SearchQueryProps<TExtraFilters>) => void;
|
|
696
776
|
/** current search query state */
|
|
697
|
-
query: SearchQueryProps
|
|
777
|
+
query: SearchQueryProps<TExtraFilters>;
|
|
778
|
+
/**
|
|
779
|
+
* When dynamic inputs are used, this is the query with any dynamic input values expanded
|
|
780
|
+
* This is the value you'd want to send to a query endpoint to fetch; `query` will possibly
|
|
781
|
+
* have dynamic input values that haven't been expanded yet.
|
|
782
|
+
*/
|
|
783
|
+
boundQuery: SearchQueryProps<TExtraFilters>;
|
|
698
784
|
/** function that sets the selected items to state */
|
|
699
|
-
onSelectItem: (selectedResult:
|
|
785
|
+
onSelectItem: (selectedResult: SelectedItemProps<TExtraItemProps> | Array<SelectedItemProps<TExtraItemProps>>) => void;
|
|
700
786
|
/** function that clears all selected items from state */
|
|
701
787
|
onRemoveAllSelectedItems: () => void;
|
|
702
788
|
/** current selected items in state */
|
|
703
|
-
selectedListItems: Array<SelectedItemProps
|
|
789
|
+
selectedListItems: Array<SelectedItemProps<TExtraItemProps>>;
|
|
704
790
|
/** current list of results in state */
|
|
705
|
-
list: ItemListProps
|
|
791
|
+
list: ItemListProps<TExtraItemProps>;
|
|
706
792
|
/** function that sets the list of items to state */
|
|
707
793
|
onSetList: (value: ItemListProps) => void;
|
|
708
794
|
};
|
|
@@ -711,22 +797,7 @@ type ObjectSearchProviderProps = {
|
|
|
711
797
|
currentlySelectedItems?: Array<SelectedItemProps>;
|
|
712
798
|
};
|
|
713
799
|
declare const ObjectSearchProvider: ({ currentlySelectedItems, children }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
714
|
-
declare
|
|
715
|
-
/** function that updates / sets the search query state */
|
|
716
|
-
onSetQuery: (value: SearchQueryProps) => void;
|
|
717
|
-
/** current search query state */
|
|
718
|
-
query: SearchQueryProps;
|
|
719
|
-
/** function that sets the selected items to state */
|
|
720
|
-
onSelectItem: (selectedResult: any) => void;
|
|
721
|
-
/** function that clears all selected items from state */
|
|
722
|
-
onRemoveAllSelectedItems: () => void;
|
|
723
|
-
/** current selected items in state */
|
|
724
|
-
selectedListItems: Array<SelectedItemProps>;
|
|
725
|
-
/** current list of results in state */
|
|
726
|
-
list: ItemListProps;
|
|
727
|
-
/** function that sets the list of items to state */
|
|
728
|
-
onSetList: (value: ItemListProps) => void;
|
|
729
|
-
};
|
|
800
|
+
declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
|
|
730
801
|
|
|
731
802
|
type ObjectSearchListItemProps = SelectedItemProps & {
|
|
732
803
|
/** sets the content type value, this is normally used for subtitles e.g. Kitchens */
|
|
@@ -760,7 +831,7 @@ type ObjectSearchListItemProps = SelectedItemProps & {
|
|
|
760
831
|
/**
|
|
761
832
|
* @description entry search list item is an opinionated UI component best used for initial retrieved results
|
|
762
833
|
* @example <ObjectSearchListItem id="my-result-item" title="title" popoverData={<p>some data info</p>}><div>example of uncontrolled content</div></ObjectSearchListItem> */
|
|
763
|
-
declare const ObjectSearchListItem: ({ id, title, contentType, image, popoverData, onSelect, isMulti, children,
|
|
834
|
+
declare const ObjectSearchListItem: ({ id, title, contentType, image, popoverData, onSelect, isMulti, children, }: ObjectSearchListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
764
835
|
/**
|
|
765
836
|
* An opinionated loading skeleton component best used with ObjectSearchListItem
|
|
766
837
|
* @example <ObjectSearchListItemLoadingSkeleton />
|
|
@@ -832,6 +903,8 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
|
|
|
832
903
|
disableDnD?: boolean;
|
|
833
904
|
/** sets the draggable id value */
|
|
834
905
|
multiSelectId?: string;
|
|
906
|
+
/** Rendered when nothing is selected */
|
|
907
|
+
whenNothingSelected?: React.ReactNode;
|
|
835
908
|
};
|
|
836
909
|
/**
|
|
837
910
|
* @description An opinionated result list UI component that has built in drag and drop functionality and removal of all selected items from context.
|
|
@@ -839,11 +912,11 @@ type ObjectSearchResultListProps<TRenderComponent extends SelectedItemProps = Se
|
|
|
839
912
|
* maintain drag and drop functionality
|
|
840
913
|
* @example <ObjectSearchResultList id="my-id" title="title" renderResultComponent={(values) => <CustomComponent {...values} />} />
|
|
841
914
|
*/
|
|
842
|
-
declare
|
|
915
|
+
declare function ObjectSearchResultList<TRenderComponent extends SelectedItemProps = SelectedItemProps>({ resultLabelText, removeButtonText, onRemoveAllSelected, hideRemoveButton, additionalButtons, renderResultComponent, multiSelectId, disableDnD, whenNothingSelected, }: ObjectSearchResultListProps<TRenderComponent>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
843
916
|
|
|
844
917
|
type QueryFilterSearchProps = {
|
|
845
918
|
/** sets the count value */
|
|
846
|
-
count: number;
|
|
919
|
+
count: number | string;
|
|
847
920
|
/** sets the sortBy filter value */
|
|
848
921
|
sortBy: string;
|
|
849
922
|
/** sets the sortOrder filter value */
|
|
@@ -899,6 +972,10 @@ type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = Q
|
|
|
899
972
|
* @default 'Enter keyword to narrow your results'
|
|
900
973
|
*/
|
|
901
974
|
searchInputPlaceholderText?: string;
|
|
975
|
+
/** sets the label for the search input
|
|
976
|
+
* @default 'Query'
|
|
977
|
+
*/
|
|
978
|
+
searchInputLabel?: string;
|
|
902
979
|
/** allows for additional child components, for example more input components */
|
|
903
980
|
children?: ReactNode;
|
|
904
981
|
};
|
|
@@ -906,7 +983,7 @@ type QueryFilterProps<TSelectOptions extends QuertFilterSelectionOptionProps = Q
|
|
|
906
983
|
* @description An opinionated multi query filter UI component, best used for querying product data or more complex scenarios
|
|
907
984
|
* @example <QueryFilter contentTypeOptions={[{ id: 'id', name: 'name' }]} sortOptions={[{ id: 'id', name: 'name' }]} sortOrderOptions={[{ id: 'id', name: 'name' }]} />
|
|
908
985
|
*/
|
|
909
|
-
declare const QueryFilter: ({ requireContentType, queryFilterTitle, contentTypeLabel, typeSelectorAllTypesOptionText, contentTypeOptions, searchInputName, searchInputPlaceholderText, countLabel, countValue, sortLabel, sortOptions, sortOrderLabel, sortOrderOptions, children, }: QueryFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
986
|
+
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;
|
|
910
987
|
|
|
911
988
|
/** Editor component to let you write a request body for POST requests */
|
|
912
989
|
declare function RequestBody(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
@@ -1043,4 +1120,4 @@ declare function useUniformMeshSdk(): _uniformdev_mesh_sdk.UniformMeshSDK;
|
|
|
1043
1120
|
*/
|
|
1044
1121
|
declare function createLocationValidator<TSetValue>(setValue: SetLocationValueDispatch<TSetValue>, validate: (newValue: TSetValue, currentResult: SetValueOptions | undefined) => SetValueOptions): SetLocationValueDispatch<TSetValue>;
|
|
1045
1122
|
|
|
1046
|
-
export { BaseRequestData, Brand, DamItem, DamSelectedItem, DamSelectedItemProps, DataRefreshButton, DataRefreshButtonProps, DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListProps, DataSourceEditor, DataSourceEditorProps, DataTypeEditor, DataTypeEditorProps, DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, DispatchResult, EntrySearch, EntrySearchContentType, EntrySearchProps, EntrySearchQueryOptions, EntrySearchResult, EntrySearchRowProps, EntrySearchSelectedItemProps, GetProductOptions, GetProductsOptions, index as Icons, InputToken, InputVariables, InputVariablesProps, ItemListProps, LinkButton, MeshApp, MeshAppProps, NoResultsProps, ObjectSearchContainer, ObjectSearchContainerProps, ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, ObjectSearchFilterContainerProps, ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, ObjectSearchListItemProps, ObjectSearchProvider, ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, ObjectSearchResultItemButtonProps, ObjectSearchResultItemProps, ObjectSearchResultList, ObjectSearchResultListProps, ProductCategory, ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, ProductQueryCategory, ProductQueryContext, ProductQueryContextValue, ProductQueryProps, ProductSearch, ProductSearchContext, ProductSearchContextValue, ProductSearchProps, ProductSearchResult, ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, QueryFilterProps, QueryFilterSearchProps, RequestAction, RequestBody, RequestContext, RequestData, RequestHeaders, RequestMethodSelect, RequestParameter, RequestParameters, RequestParametersProps, RequestProvider, RequestProviderProps, RequestTypeContainer, RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SearchQueryProps, SelectedItemProps, SelectionField, SelectionFieldValue, SetLocationValueDispatch, SetLocationValueFunction, TextVariableRenderer, VariableEditor, VariableEditorProps, VariablesAction, VariablesContext, VariablesEvents, VariablesList, VariablesProvider, VariablesProviderProps, badgeIcon, 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, 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, urlEncodeRequestParameter, urlEncodeRequestUrl, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariables, variablesToList };
|
|
1123
|
+
export { BaseRequestData, Brand, DamItem, DamSelectedItem, DamSelectedItemProps, DataRefreshButton, DataRefreshButtonProps, DataResourceDynamicInputProvider, DataResourceDynamicInputProviderProps, DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, DataResourceVariablesListProps, DataSourceEditor, DataSourceEditorProps, DataTypeEditor, DataTypeEditorProps, DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, DispatchResult, EntrySearch, EntrySearchContentType, EntrySearchProps, EntrySearchQueryOptions, EntrySearchResult, EntrySearchRowProps, EntrySearchSelectedItemProps, GetProductOptions, GetProductsOptions, index as Icons, InputToken, InputVariables, InputVariablesProps, ItemListProps, LinkButton, MeshApp, MeshAppProps, MinimalDynamicInput, MinimalDynamicInputs, NoResultsProps, ObjectSearchContainer, ObjectSearchContainerProps, ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, ObjectSearchFilterContainerProps, ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, ObjectSearchListItemProps, ObjectSearchProvider, ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, ObjectSearchResultItemButtonProps, ObjectSearchResultItemProps, ObjectSearchResultList, ObjectSearchResultListProps, ProductCategory, ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, ProductQueryCategory, ProductQueryContext, ProductQueryContextValue, ProductQueryProps, ProductSearch, ProductSearchContext, ProductSearchContextValue, ProductSearchProps, ProductSearchResult, ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, QueryFilterProps, QueryFilterSearchProps, RequestAction, RequestBody, RequestContext, RequestData, RequestHeaders, RequestMethodSelect, RequestParameter, RequestParameters, RequestParametersProps, RequestProvider, RequestProviderProps, RequestTypeContainer, RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SearchQueryProps, SelectedItemProps, SelectionField, SelectionFieldValue, SetLocationValueDispatch, SetLocationValueFunction, TextVariableRenderer, VariableEditor, VariableEditorProps, VariablesAction, VariablesContext, VariablesEvents, VariablesList, VariablesProvider, VariablesProviderProps, badgeIcon, 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, 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, urlEncodeRequestParameter, urlEncodeRequestUrl, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariables, variableExpression, variablePrefix, variableSuffix, variablesToList };
|