@uniformdev/mesh-sdk-react 19.79.0 → 19.79.1-alpha.7
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 +21 -19
- package/dist/index.d.ts +21 -19
- package/dist/index.esm.js +230 -200
- package/dist/index.js +251 -221
- package/dist/index.mjs +230 -200
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -42,21 +42,7 @@ declare const SvgMoreVerticalAlt: (props: SVGProps<SVGSVGElement>) => _emotion_r
|
|
|
42
42
|
declare const SvgPlus: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
43
43
|
|
|
44
44
|
declare namespace index {
|
|
45
|
-
export {
|
|
46
|
-
SvgCaution as Caution,
|
|
47
|
-
SvgCheckmark as Checkmark,
|
|
48
|
-
SvgChevronDown as ChevronDown,
|
|
49
|
-
SvgClose as Close,
|
|
50
|
-
SvgDanger as Danger,
|
|
51
|
-
SvgExclamationPoint as ExclamationPoint,
|
|
52
|
-
SvgInfo as Info,
|
|
53
|
-
SvgLightbulb as Lightbulb,
|
|
54
|
-
SvgMagnifyingGlass as MagnifyingGlass,
|
|
55
|
-
SvgMaximizeAlt as MaximizeAlt,
|
|
56
|
-
SvgMinus as Minus,
|
|
57
|
-
SvgMoreVerticalAlt as MoreVerticalAlt,
|
|
58
|
-
SvgPlus as Plus,
|
|
59
|
-
};
|
|
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 };
|
|
60
46
|
}
|
|
61
47
|
|
|
62
48
|
/** @deprecated please use ObjectSearchListItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-list-item */
|
|
@@ -431,6 +417,8 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
|
|
|
431
417
|
*/
|
|
432
418
|
declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
433
419
|
type: TLocationType;
|
|
420
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
421
|
+
type: TLocationType;
|
|
434
422
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
435
423
|
type: TLocationType;
|
|
436
424
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -450,6 +438,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
450
438
|
}>, "setValue"> & {
|
|
451
439
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
452
440
|
type: TLocationType;
|
|
441
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
442
|
+
type: TLocationType;
|
|
453
443
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
454
444
|
type: TLocationType;
|
|
455
445
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -468,6 +458,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
468
458
|
type: TLocationType;
|
|
469
459
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
470
460
|
type: TLocationType;
|
|
461
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
462
|
+
type: TLocationType;
|
|
471
463
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
472
464
|
type: TLocationType;
|
|
473
465
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -1185,7 +1177,10 @@ type ObjectSearchContainerProps = {
|
|
|
1185
1177
|
enableDynamicInputToResultId?: boolean;
|
|
1186
1178
|
/** a child node that places components within the search location */
|
|
1187
1179
|
searchFilters: ReactNode;
|
|
1188
|
-
/**
|
|
1180
|
+
/**
|
|
1181
|
+
* a child node that places components within a scrollable list location
|
|
1182
|
+
* set to `null` expl
|
|
1183
|
+
*/
|
|
1189
1184
|
resultList?: ReactNode;
|
|
1190
1185
|
/** allows any child element */
|
|
1191
1186
|
children?: ReactNode;
|
|
@@ -1247,6 +1242,8 @@ type SearchQueryProps<TExtraFilters = unknown> = {
|
|
|
1247
1242
|
contentType?: string;
|
|
1248
1243
|
/** sets the keyword search in the search context */
|
|
1249
1244
|
keyword?: string;
|
|
1245
|
+
/** sets the locale in the search context */
|
|
1246
|
+
locale?: string;
|
|
1250
1247
|
} & TExtraFilters;
|
|
1251
1248
|
type SelectedItemProps<TExtraProps = unknown> = {
|
|
1252
1249
|
/** sets the id value */
|
|
@@ -1317,12 +1314,16 @@ type ObjectSearchContextProps<TExtraFilters = unknown, TExtraItemProps = unknown
|
|
|
1317
1314
|
list: ItemListProps<TExtraItemProps>;
|
|
1318
1315
|
/** function that sets the list of items to state */
|
|
1319
1316
|
onSetList: (value: ItemListProps) => void;
|
|
1317
|
+
/** is multi items selection allowed or not */
|
|
1318
|
+
isMulti: boolean;
|
|
1320
1319
|
};
|
|
1321
1320
|
type ObjectSearchProviderProps = {
|
|
1322
1321
|
children: ReactNode;
|
|
1323
1322
|
currentlySelectedItems?: Array<SelectedItemProps>;
|
|
1323
|
+
isMulti?: boolean;
|
|
1324
|
+
defaultQuery?: SearchQueryProps;
|
|
1324
1325
|
};
|
|
1325
|
-
declare const ObjectSearchProvider: ({ currentlySelectedItems, children }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1326
|
+
declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1326
1327
|
declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
|
|
1327
1328
|
|
|
1328
1329
|
type ObjectSearchListItemProps = SelectedItemProps & {
|
|
@@ -1331,7 +1332,7 @@ type ObjectSearchListItemProps = SelectedItemProps & {
|
|
|
1331
1332
|
/** sets image parameters
|
|
1332
1333
|
* @deprecated Please use imageUrl to make it compatible with */
|
|
1333
1334
|
image?: {
|
|
1334
|
-
/** sets the src
|
|
1335
|
+
/** sets the src value */
|
|
1335
1336
|
src: string;
|
|
1336
1337
|
/** sets the alt text value */
|
|
1337
1338
|
alt: string;
|
|
@@ -1353,6 +1354,7 @@ type ObjectSearchListItemProps = SelectedItemProps & {
|
|
|
1353
1354
|
children?: React$1.ReactNode;
|
|
1354
1355
|
/** sets whether multiple entries can be added to the results list context
|
|
1355
1356
|
* @default false
|
|
1357
|
+
* @deprecated Please use isMulti property in <ObjectSearchProvider />
|
|
1356
1358
|
*/
|
|
1357
1359
|
isMulti?: boolean;
|
|
1358
1360
|
/** sets disabled state to the interactive element */
|
|
@@ -1676,4 +1678,4 @@ declare function useUniformMeshSdk(): _uniformdev_mesh_sdk.UniformMeshSDK;
|
|
|
1676
1678
|
*/
|
|
1677
1679
|
declare function createLocationValidator<TSetValue>(setValue: SetLocationValueDispatch<TSetValue>, validate: (newValue: TSetValue, currentResult: SetValueOptions | undefined) => SetValueOptions): SetLocationValueDispatch<TSetValue>;
|
|
1678
1680
|
|
|
1679
|
-
export { $createVariableNode, $isVariableNode, BaseRequestData, Brand, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, DamItem, DamSelectedItem, DamSelectedItemProps, DataRefreshButton, DataRefreshButtonProps, DataResourceDynamicInputProvider, DataResourceDynamicInputProviderProps, DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, DataResourceVariablesListProps, DataSourceEditor, DataSourceEditorProps, DataTypeEditor, DataTypeEditorProps, DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, DisconnectVariableCommandArguments, DispatchResult, EDIT_VARIABLE_COMMAND, EditVariableCommandArguments, EntrySearch, EntrySearchContentType, EntrySearchProps, EntrySearchQueryOptions, EntrySearchResult, EntrySearchRowProps, EntrySearchSelectedItemProps, GetProductOptions, GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, InputVariablesProps, InsertVariableCommandArguments, ItemListProps, KnownUndefinedVariableInfo, LinkButton, MeshApp, MeshAppProps, MeshDataVariableDefinition, MinimalDynamicInput, MinimalDynamicInputs, NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, ObjectSearchContainerProps, ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, ObjectSearchFilterContainerProps, ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, ObjectSearchListItemProps, ObjectSearchProvider, ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, ObjectSearchResultItemButtonProps, ObjectSearchResultItemProps, ObjectSearchResultList, ObjectSearchResultListProps, ParamTypeDynamicDataProvider, ParamTypeDynamicDataProviderProps, ParameterConnectOptions, ParameterConnectionIndicator, ParameterConnectionIndicatorProps, ParameterOrSingleVariable, ParameterOrSingleVariableProps, ParameterVariables, ParameterVariablesProps, 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, SerializedVariableNode, SetLocationValueDispatch, SetLocationValueFunction, TextVariableRenderer, UseVariablesMenu, UseVariablesMenuInput, VariableEditor, VariableEditorCompleteEvent, VariableEditorProps, VariableNode, VariableNodeState, VariableSourceGroup, VariablesAction, VariablesContext, VariablesEvents, VariablesList, VariablesPlugin, VariablesPluginProps, VariablesProvider, VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
|
|
1681
|
+
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type MinimalDynamicInput, type MinimalDynamicInputs, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
|
package/dist/index.d.ts
CHANGED
|
@@ -42,21 +42,7 @@ declare const SvgMoreVerticalAlt: (props: SVGProps<SVGSVGElement>) => _emotion_r
|
|
|
42
42
|
declare const SvgPlus: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
43
43
|
|
|
44
44
|
declare namespace index {
|
|
45
|
-
export {
|
|
46
|
-
SvgCaution as Caution,
|
|
47
|
-
SvgCheckmark as Checkmark,
|
|
48
|
-
SvgChevronDown as ChevronDown,
|
|
49
|
-
SvgClose as Close,
|
|
50
|
-
SvgDanger as Danger,
|
|
51
|
-
SvgExclamationPoint as ExclamationPoint,
|
|
52
|
-
SvgInfo as Info,
|
|
53
|
-
SvgLightbulb as Lightbulb,
|
|
54
|
-
SvgMagnifyingGlass as MagnifyingGlass,
|
|
55
|
-
SvgMaximizeAlt as MaximizeAlt,
|
|
56
|
-
SvgMinus as Minus,
|
|
57
|
-
SvgMoreVerticalAlt as MoreVerticalAlt,
|
|
58
|
-
SvgPlus as Plus,
|
|
59
|
-
};
|
|
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 };
|
|
60
46
|
}
|
|
61
47
|
|
|
62
48
|
/** @deprecated please use ObjectSearchListItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-list-item */
|
|
@@ -431,6 +417,8 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
|
|
|
431
417
|
*/
|
|
432
418
|
declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
433
419
|
type: TLocationType;
|
|
420
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
421
|
+
type: TLocationType;
|
|
434
422
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
435
423
|
type: TLocationType;
|
|
436
424
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -450,6 +438,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
450
438
|
}>, "setValue"> & {
|
|
451
439
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
452
440
|
type: TLocationType;
|
|
441
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
442
|
+
type: TLocationType;
|
|
453
443
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
454
444
|
type: TLocationType;
|
|
455
445
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -468,6 +458,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
468
458
|
type: TLocationType;
|
|
469
459
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
470
460
|
type: TLocationType;
|
|
461
|
+
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
462
|
+
type: TLocationType;
|
|
471
463
|
}> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
472
464
|
type: TLocationType;
|
|
473
465
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -1185,7 +1177,10 @@ type ObjectSearchContainerProps = {
|
|
|
1185
1177
|
enableDynamicInputToResultId?: boolean;
|
|
1186
1178
|
/** a child node that places components within the search location */
|
|
1187
1179
|
searchFilters: ReactNode;
|
|
1188
|
-
/**
|
|
1180
|
+
/**
|
|
1181
|
+
* a child node that places components within a scrollable list location
|
|
1182
|
+
* set to `null` expl
|
|
1183
|
+
*/
|
|
1189
1184
|
resultList?: ReactNode;
|
|
1190
1185
|
/** allows any child element */
|
|
1191
1186
|
children?: ReactNode;
|
|
@@ -1247,6 +1242,8 @@ type SearchQueryProps<TExtraFilters = unknown> = {
|
|
|
1247
1242
|
contentType?: string;
|
|
1248
1243
|
/** sets the keyword search in the search context */
|
|
1249
1244
|
keyword?: string;
|
|
1245
|
+
/** sets the locale in the search context */
|
|
1246
|
+
locale?: string;
|
|
1250
1247
|
} & TExtraFilters;
|
|
1251
1248
|
type SelectedItemProps<TExtraProps = unknown> = {
|
|
1252
1249
|
/** sets the id value */
|
|
@@ -1317,12 +1314,16 @@ type ObjectSearchContextProps<TExtraFilters = unknown, TExtraItemProps = unknown
|
|
|
1317
1314
|
list: ItemListProps<TExtraItemProps>;
|
|
1318
1315
|
/** function that sets the list of items to state */
|
|
1319
1316
|
onSetList: (value: ItemListProps) => void;
|
|
1317
|
+
/** is multi items selection allowed or not */
|
|
1318
|
+
isMulti: boolean;
|
|
1320
1319
|
};
|
|
1321
1320
|
type ObjectSearchProviderProps = {
|
|
1322
1321
|
children: ReactNode;
|
|
1323
1322
|
currentlySelectedItems?: Array<SelectedItemProps>;
|
|
1323
|
+
isMulti?: boolean;
|
|
1324
|
+
defaultQuery?: SearchQueryProps;
|
|
1324
1325
|
};
|
|
1325
|
-
declare const ObjectSearchProvider: ({ currentlySelectedItems, children }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1326
|
+
declare const ObjectSearchProvider: ({ currentlySelectedItems, isMulti, children, defaultQuery, }: ObjectSearchProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1326
1327
|
declare function useObjectSearchContext<TExtraSearchFilters = unknown, TExtraItemProps = unknown>(): ObjectSearchContextProps<TExtraSearchFilters, TExtraItemProps>;
|
|
1327
1328
|
|
|
1328
1329
|
type ObjectSearchListItemProps = SelectedItemProps & {
|
|
@@ -1331,7 +1332,7 @@ type ObjectSearchListItemProps = SelectedItemProps & {
|
|
|
1331
1332
|
/** sets image parameters
|
|
1332
1333
|
* @deprecated Please use imageUrl to make it compatible with */
|
|
1333
1334
|
image?: {
|
|
1334
|
-
/** sets the src
|
|
1335
|
+
/** sets the src value */
|
|
1335
1336
|
src: string;
|
|
1336
1337
|
/** sets the alt text value */
|
|
1337
1338
|
alt: string;
|
|
@@ -1353,6 +1354,7 @@ type ObjectSearchListItemProps = SelectedItemProps & {
|
|
|
1353
1354
|
children?: React$1.ReactNode;
|
|
1354
1355
|
/** sets whether multiple entries can be added to the results list context
|
|
1355
1356
|
* @default false
|
|
1357
|
+
* @deprecated Please use isMulti property in <ObjectSearchProvider />
|
|
1356
1358
|
*/
|
|
1357
1359
|
isMulti?: boolean;
|
|
1358
1360
|
/** sets disabled state to the interactive element */
|
|
@@ -1676,4 +1678,4 @@ declare function useUniformMeshSdk(): _uniformdev_mesh_sdk.UniformMeshSDK;
|
|
|
1676
1678
|
*/
|
|
1677
1679
|
declare function createLocationValidator<TSetValue>(setValue: SetLocationValueDispatch<TSetValue>, validate: (newValue: TSetValue, currentResult: SetValueOptions | undefined) => SetValueOptions): SetLocationValueDispatch<TSetValue>;
|
|
1678
1680
|
|
|
1679
|
-
export { $createVariableNode, $isVariableNode, BaseRequestData, Brand, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, DamItem, DamSelectedItem, DamSelectedItemProps, DataRefreshButton, DataRefreshButtonProps, DataResourceDynamicInputProvider, DataResourceDynamicInputProviderProps, DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, DataResourceVariablesListProps, DataSourceEditor, DataSourceEditorProps, DataTypeEditor, DataTypeEditorProps, DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, DisconnectVariableCommandArguments, DispatchResult, EDIT_VARIABLE_COMMAND, EditVariableCommandArguments, EntrySearch, EntrySearchContentType, EntrySearchProps, EntrySearchQueryOptions, EntrySearchResult, EntrySearchRowProps, EntrySearchSelectedItemProps, GetProductOptions, GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, InputVariablesProps, InsertVariableCommandArguments, ItemListProps, KnownUndefinedVariableInfo, LinkButton, MeshApp, MeshAppProps, MeshDataVariableDefinition, MinimalDynamicInput, MinimalDynamicInputs, NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, ObjectSearchContainerProps, ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, ObjectSearchFilterContainerProps, ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, ObjectSearchListItemProps, ObjectSearchProvider, ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, ObjectSearchResultItemButtonProps, ObjectSearchResultItemProps, ObjectSearchResultList, ObjectSearchResultListProps, ParamTypeDynamicDataProvider, ParamTypeDynamicDataProviderProps, ParameterConnectOptions, ParameterConnectionIndicator, ParameterConnectionIndicatorProps, ParameterOrSingleVariable, ParameterOrSingleVariableProps, ParameterVariables, ParameterVariablesProps, 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, SerializedVariableNode, SetLocationValueDispatch, SetLocationValueFunction, TextVariableRenderer, UseVariablesMenu, UseVariablesMenuInput, VariableEditor, VariableEditorCompleteEvent, VariableEditorProps, VariableNode, VariableNodeState, VariableSourceGroup, VariablesAction, VariablesContext, VariablesEvents, VariablesList, VariablesPlugin, VariablesPluginProps, VariablesProvider, VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
|
|
1681
|
+
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, ControlledValuePlugin, DISCONNECT_VARIABLE_COMMAND, type DamItem, DamSelectedItem, type DamSelectedItemProps, DataRefreshButton, type DataRefreshButtonProps, DataResourceDynamicInputProvider, type DataResourceDynamicInputProviderProps, type DataResourceVariableRendererProps, DataResourceVariablesList, DataResourceVariablesListExplicit, type DataResourceVariablesListProps, DataSourceEditor, type DataSourceEditorProps, DataTypeEditor, type DataTypeEditorProps, type DataVariableDefinitionWithName, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, LinkButton, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, type MinimalDynamicInput, type MinimalDynamicInputs, type NoResultsProps, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, type RequestAction, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, TextVariableRenderer, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
|