@uniformdev/mesh-sdk-react 18.34.1-alpha.57 → 18.35.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.ts +3 -63
- package/dist/index.esm.js +9 -50
- package/dist/index.js +9 -58
- package/dist/index.mjs +9 -50
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { TDate } from 'timeago.js';
|
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
6
|
import { DataVariableDefinition, DataResourceVariables } from '@uniformdev/canvas';
|
|
7
7
|
import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
|
|
8
|
-
import { MeshLocation, SetValueOptions, DataSourceLocationValue, DataTypeLocationValue
|
|
8
|
+
import { MeshLocation, SetValueOptions, DataSourceLocationValue, DataTypeLocationValue } from '@uniformdev/mesh-sdk';
|
|
9
9
|
export * from '@uniformdev/mesh-sdk';
|
|
10
10
|
import { BadgeThemeProps, InputSelectProps } from '@uniformdev/design-system';
|
|
11
|
-
export { AddListButton, AddListButtonProps, Button, ButtonProps, Callout, CalloutProps, Heading, HeadingProps, Input, InputComboBox, InputComboBoxProps, InputKeywordSearch, InputProps, InputSelect, InputToggle, InputToggleProps,
|
|
11
|
+
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';
|
|
12
12
|
|
|
13
13
|
declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
14
14
|
|
|
@@ -182,10 +182,6 @@ type ProductSearchResult = EntrySearchResult & {
|
|
|
182
182
|
id: string;
|
|
183
183
|
name: string;
|
|
184
184
|
}>;
|
|
185
|
-
/** @deprecated Use `editLink` instead. */
|
|
186
|
-
url?: string;
|
|
187
|
-
/** @deprecated Use `title` instead. */
|
|
188
|
-
name?: string;
|
|
189
185
|
};
|
|
190
186
|
interface ProductSearchResults {
|
|
191
187
|
total: number;
|
|
@@ -389,8 +385,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
389
385
|
type: TLocationType;
|
|
390
386
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
391
387
|
type: TLocationType;
|
|
392
|
-
}> | Extract<_uniformdev_mesh_sdk.DataTypeInstanceLocation, {
|
|
393
|
-
type: TLocationType;
|
|
394
388
|
}> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
|
|
395
389
|
type: TLocationType;
|
|
396
390
|
}> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
|
|
@@ -404,8 +398,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
404
398
|
type: TLocationType;
|
|
405
399
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
406
400
|
type: TLocationType;
|
|
407
|
-
}> | Extract<_uniformdev_mesh_sdk.DataTypeInstanceLocation, {
|
|
408
|
-
type: TLocationType;
|
|
409
401
|
}> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
|
|
410
402
|
type: TLocationType;
|
|
411
403
|
}> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
|
|
@@ -418,8 +410,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
418
410
|
type: TLocationType;
|
|
419
411
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
420
412
|
type: TLocationType;
|
|
421
|
-
}> | Extract<_uniformdev_mesh_sdk.DataTypeInstanceLocation, {
|
|
422
|
-
type: TLocationType;
|
|
423
413
|
}> | Extract<_uniformdev_mesh_sdk.DataResourceLocation, {
|
|
424
414
|
type: TLocationType;
|
|
425
415
|
}> | Extract<_uniformdev_mesh_sdk.ParamTypeLocation<TLocationValue, unknown, TLocationSetValue, unknown>, {
|
|
@@ -1021,56 +1011,6 @@ declare function useRequestParameter(paramName: string): {
|
|
|
1021
1011
|
update: (value: string) => void;
|
|
1022
1012
|
};
|
|
1023
1013
|
|
|
1024
|
-
/** @deprecated */
|
|
1025
|
-
interface UniformMeshLocationContextValue<TLocationValue = unknown, TLocationSetValue = TLocationValue> {
|
|
1026
|
-
location: MeshLocation<TLocationValue, TLocationSetValue>;
|
|
1027
|
-
}
|
|
1028
|
-
/** @deprecated not intended for public usage */
|
|
1029
|
-
declare const UniformMeshLocationContext: React__default.Context<UniformMeshLocationContextValue<unknown, unknown> | undefined>;
|
|
1030
|
-
/** @deprecated not intended for public usage. Use <MeshApp /> instead. */
|
|
1031
|
-
declare const UniformMeshLocationContextProvider: React__default.FC<React__default.PropsWithChildren<unknown>>;
|
|
1032
|
-
/**
|
|
1033
|
-
* Provides access to the current UniformMeshLocationContext value.
|
|
1034
|
-
* @deprecated Not intended for public use. Use `useUniformMeshLocation` instead.
|
|
1035
|
-
*/
|
|
1036
|
-
declare const useUniformMeshLocationContext: <TLocationValue = unknown, TLocationSetValue = TLocationValue>() => UniformMeshLocationContextValue<TLocationValue, TLocationSetValue>;
|
|
1037
|
-
|
|
1038
|
-
interface UniformMeshSdkContextValue {
|
|
1039
|
-
sdk: UniformMeshSDK;
|
|
1040
|
-
}
|
|
1041
|
-
/** @deprecated not intended for public usage */
|
|
1042
|
-
declare const UniformMeshSdkContext: React__default.Context<UniformMeshSdkContextValue | undefined>;
|
|
1043
|
-
/** @deprecated not intended for public usage; use <MeshApp /> instead */
|
|
1044
|
-
declare const UniformMeshSdkContextProvider: React__default.FC<React__default.PropsWithChildren<unknown>>;
|
|
1045
|
-
/**
|
|
1046
|
-
* Provides access to the current (initialized) Uniform Mesh SDK context value.
|
|
1047
|
-
* @deprecated Not intended for public use. Use `useUniformMeshLocation` or `useUniformMeshSdk` instead.
|
|
1048
|
-
*/
|
|
1049
|
-
declare const useUniformMeshSdkContext: () => UniformMeshSdkContextValue;
|
|
1050
|
-
|
|
1051
|
-
interface UseUniformMeshSdkOptions {
|
|
1052
|
-
autoResizingDisabled?: boolean;
|
|
1053
|
-
}
|
|
1054
|
-
/**
|
|
1055
|
-
* Provides a React-hook wrapper around Uniform Mesh SDK initialization.
|
|
1056
|
-
* NOTE: initialization is an async operation and should be handled as such.
|
|
1057
|
-
*
|
|
1058
|
-
* @deprecated prefer <MeshApp /> to initialize and provide in a single component
|
|
1059
|
-
*/
|
|
1060
|
-
declare const useInitializeUniformMeshSdk: ({ autoResizingDisabled }?: UseUniformMeshSdkOptions) => {
|
|
1061
|
-
initializing: boolean;
|
|
1062
|
-
error: Error | undefined;
|
|
1063
|
-
sdk: UniformMeshSDK | undefined;
|
|
1064
|
-
};
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Provides convenient access to the current Uniform Mesh location via React hook.
|
|
1068
|
-
* Intended to be used within <MeshApp />.
|
|
1069
|
-
*
|
|
1070
|
-
* @deprecated prefer useMeshLocation which has much more accurate type safety
|
|
1071
|
-
*/
|
|
1072
|
-
declare function useUniformMeshLocation<TLocationValue = unknown, TLocationMetadata = never, TLocationSetValue = TLocationValue>(): MeshLocationCore<TLocationValue, TLocationMetadata, TLocationSetValue>;
|
|
1073
|
-
|
|
1074
1014
|
/**
|
|
1075
1015
|
* Provides convenient access to the current Uniform Mesh SDK instance via React hook.
|
|
1076
1016
|
* Intended to be used within <MeshApp />.
|
|
@@ -1086,4 +1026,4 @@ declare function useUniformMeshSdk(): _uniformdev_mesh_sdk.UniformMeshSDK;
|
|
|
1086
1026
|
*/
|
|
1087
1027
|
declare function createLocationValidator<TSetValue>(setValue: SetLocationValueDispatch<TSetValue>, validate: (newValue: TSetValue, currentResult: SetValueOptions | undefined) => SetValueOptions): SetLocationValueDispatch<TSetValue>;
|
|
1088
1028
|
|
|
1089
|
-
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,
|
|
1029
|
+
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, 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 };
|
package/dist/index.esm.js
CHANGED
|
@@ -893,7 +893,7 @@ var ProductPreviewList = ({
|
|
|
893
893
|
scrollbarStyles
|
|
894
894
|
],
|
|
895
895
|
children: products == null ? void 0 : products.map((product, index) => {
|
|
896
|
-
var _a
|
|
896
|
+
var _a;
|
|
897
897
|
const [category] = (product == null ? void 0 : product.categories) || [];
|
|
898
898
|
const categoryName = typeof category === "undefined" || !categories ? void 0 : (_a = categories.find((c) => c.id === category.id)) == null ? void 0 : _a.name;
|
|
899
899
|
return /* @__PURE__ */ jsx18("li", { css: productPreviewListItem, children: /* @__PURE__ */ jsxs7(
|
|
@@ -906,13 +906,13 @@ var ProductPreviewList = ({
|
|
|
906
906
|
"img",
|
|
907
907
|
{
|
|
908
908
|
src: product.thumbnailUrl,
|
|
909
|
-
alt: typeof product.title === "string" ? product.title :
|
|
909
|
+
alt: typeof product.title === "string" ? product.title : `Product ${index}`,
|
|
910
910
|
css: productPreviewListImage,
|
|
911
911
|
"data-test-id": "product-image"
|
|
912
912
|
}
|
|
913
913
|
) : /* @__PURE__ */ jsx18("div", { css: productPreviewListImageDefault }),
|
|
914
914
|
/* @__PURE__ */ jsxs7("h4", { css: productPreviewListTitle, "data-test-id": "product-name", children: [
|
|
915
|
-
product.title
|
|
915
|
+
product.title,
|
|
916
916
|
categoryName && /* @__PURE__ */ jsx18("span", { css: productPreviewListCategoryText, children: categoryName })
|
|
917
917
|
] }),
|
|
918
918
|
product && /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
@@ -925,12 +925,12 @@ var ProductPreviewList = ({
|
|
|
925
925
|
"Price: ",
|
|
926
926
|
product.price
|
|
927
927
|
] }) : null,
|
|
928
|
-
product.editLink
|
|
928
|
+
product.editLink ? /* @__PURE__ */ jsxs7(
|
|
929
929
|
"a",
|
|
930
930
|
{
|
|
931
931
|
css: productPreviewListLinkBtn,
|
|
932
|
-
href:
|
|
933
|
-
title: `Go to ${product.title
|
|
932
|
+
href: product.editLink,
|
|
933
|
+
title: `Go to ${product.title}`,
|
|
934
934
|
target: "_blank",
|
|
935
935
|
rel: "noopener noreferrer",
|
|
936
936
|
"data-test-id": "edit-product-button",
|
|
@@ -2655,18 +2655,6 @@ import { Theme } from "@uniformdev/design-system";
|
|
|
2655
2655
|
import { createContext, useContext as useContext3 } from "react";
|
|
2656
2656
|
import { jsx as jsx26, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
|
|
2657
2657
|
var UniformMeshSdkContext = createContext(void 0);
|
|
2658
|
-
var UniformMeshSdkContextProvider = ({ children }) => {
|
|
2659
|
-
let value = void 0;
|
|
2660
|
-
if (typeof window !== "undefined" && typeof window.UniformMeshSDK !== "undefined") {
|
|
2661
|
-
value = {
|
|
2662
|
-
sdk: window.UniformMeshSDK
|
|
2663
|
-
};
|
|
2664
|
-
}
|
|
2665
|
-
return /* @__PURE__ */ jsxs15(UniformMeshSdkContext.Provider, { value, children: [
|
|
2666
|
-
/* @__PURE__ */ jsx26(Theme, {}),
|
|
2667
|
-
/* @__PURE__ */ jsx26(UniformMeshLocationContextProvider, { children })
|
|
2668
|
-
] });
|
|
2669
|
-
};
|
|
2670
2658
|
var useUniformMeshSdkContext = () => {
|
|
2671
2659
|
const context = useContext3(UniformMeshSdkContext);
|
|
2672
2660
|
if (!context) {
|
|
@@ -2683,9 +2671,7 @@ function useUniformMeshSdk() {
|
|
|
2683
2671
|
|
|
2684
2672
|
// src/components/UniformMeshLocationContext.tsx
|
|
2685
2673
|
import { jsx as jsx27 } from "@emotion/react/jsx-runtime";
|
|
2686
|
-
var UniformMeshLocationContext = createContext2(
|
|
2687
|
-
void 0
|
|
2688
|
-
);
|
|
2674
|
+
var UniformMeshLocationContext = createContext2(void 0);
|
|
2689
2675
|
var UniformMeshLocationContextProvider = ({
|
|
2690
2676
|
children
|
|
2691
2677
|
}) => {
|
|
@@ -2716,20 +2702,9 @@ var useUniformMeshLocationContext = () => {
|
|
|
2716
2702
|
};
|
|
2717
2703
|
|
|
2718
2704
|
// src/hooks/useMeshLocation.ts
|
|
2719
|
-
var legacyWarned = false;
|
|
2720
2705
|
function useMeshLocation(expectedLocation) {
|
|
2721
2706
|
const { location } = useUniformMeshLocationContext();
|
|
2722
|
-
|
|
2723
|
-
if (expectedLocation === "dataTypeInstance") {
|
|
2724
|
-
effectiveExpected = "dataResource";
|
|
2725
|
-
if (!legacyWarned) {
|
|
2726
|
-
console.warn(
|
|
2727
|
-
"`dataTypeInstance` mesh location is deprecated, please switch to `dataResource` instead."
|
|
2728
|
-
);
|
|
2729
|
-
legacyWarned = true;
|
|
2730
|
-
}
|
|
2731
|
-
}
|
|
2732
|
-
if (effectiveExpected && location.type !== effectiveExpected) {
|
|
2707
|
+
if (expectedLocation && location.type !== expectedLocation) {
|
|
2733
2708
|
throw new Error(`Expected location type ${expectedLocation} but got ${location.type}`);
|
|
2734
2709
|
}
|
|
2735
2710
|
const backdoorLocation = useRef7(location);
|
|
@@ -3216,7 +3191,7 @@ function DataResourceVariablesList({
|
|
|
3216
3191
|
const {
|
|
3217
3192
|
value,
|
|
3218
3193
|
metadata: { dataType }
|
|
3219
|
-
} = useMeshLocation("
|
|
3194
|
+
} = useMeshLocation("dataResource");
|
|
3220
3195
|
const variableDefinitions = variablesToList(dataType.variables);
|
|
3221
3196
|
if (variableDefinitions.length === 0) {
|
|
3222
3197
|
if (NoVariablesComponent) {
|
|
@@ -4687,12 +4662,6 @@ var QueryFilter = ({
|
|
|
4687
4662
|
] });
|
|
4688
4663
|
};
|
|
4689
4664
|
|
|
4690
|
-
// src/hooks/useUniformMeshLocation.ts
|
|
4691
|
-
function useUniformMeshLocation() {
|
|
4692
|
-
const { location } = useUniformMeshLocationContext();
|
|
4693
|
-
return location;
|
|
4694
|
-
}
|
|
4695
|
-
|
|
4696
4665
|
// src/hooks/index.ts
|
|
4697
4666
|
import { ParameterShellContext, useParameterShell } from "@uniformdev/design-system";
|
|
4698
4667
|
|
|
@@ -4715,7 +4684,6 @@ import {
|
|
|
4715
4684
|
InputKeywordSearch as InputKeywordSearch4,
|
|
4716
4685
|
InputSelect as InputSelect8,
|
|
4717
4686
|
InputToggle,
|
|
4718
|
-
InputKeywordSearch as InputKeywordSearch5,
|
|
4719
4687
|
Label,
|
|
4720
4688
|
LoadingIndicator as LoadingIndicator4,
|
|
4721
4689
|
LoadingOverlay as LoadingOverlay2,
|
|
@@ -4762,7 +4730,6 @@ export {
|
|
|
4762
4730
|
InputSelect8 as InputSelect,
|
|
4763
4731
|
InputToggle,
|
|
4764
4732
|
InputVariables,
|
|
4765
|
-
InputKeywordSearch5 as KeywordSearchInput,
|
|
4766
4733
|
Label,
|
|
4767
4734
|
LinkButton,
|
|
4768
4735
|
LoadingIndicator4 as LoadingIndicator,
|
|
@@ -4818,10 +4785,6 @@ export {
|
|
|
4818
4785
|
TextVariableRenderer,
|
|
4819
4786
|
Textarea,
|
|
4820
4787
|
Theme3 as Theme,
|
|
4821
|
-
UniformMeshLocationContext,
|
|
4822
|
-
UniformMeshLocationContextProvider,
|
|
4823
|
-
UniformMeshSdkContext,
|
|
4824
|
-
UniformMeshSdkContextProvider,
|
|
4825
4788
|
VariableEditor,
|
|
4826
4789
|
VariablesList,
|
|
4827
4790
|
VariablesProvider,
|
|
@@ -4890,7 +4853,6 @@ export {
|
|
|
4890
4853
|
selectedItemTitle,
|
|
4891
4854
|
urlEncodeRequestParameter,
|
|
4892
4855
|
urlEncodeRequestUrl,
|
|
4893
|
-
useInitializeUniformMeshSdk,
|
|
4894
4856
|
useMeshLocation,
|
|
4895
4857
|
useObjectSearchContext,
|
|
4896
4858
|
useParameterShell,
|
|
@@ -4899,10 +4861,7 @@ export {
|
|
|
4899
4861
|
useRequest,
|
|
4900
4862
|
useRequestHeader,
|
|
4901
4863
|
useRequestParameter,
|
|
4902
|
-
useUniformMeshLocation,
|
|
4903
|
-
useUniformMeshLocationContext,
|
|
4904
4864
|
useUniformMeshSdk,
|
|
4905
|
-
useUniformMeshSdkContext,
|
|
4906
4865
|
useVariables,
|
|
4907
4866
|
variablesToList
|
|
4908
4867
|
};
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,6 @@ __export(src_exports, {
|
|
|
50
50
|
InputSelect: () => import_design_system34.InputSelect,
|
|
51
51
|
InputToggle: () => import_design_system34.InputToggle,
|
|
52
52
|
InputVariables: () => InputVariables,
|
|
53
|
-
KeywordSearchInput: () => import_design_system34.InputKeywordSearch,
|
|
54
53
|
Label: () => import_design_system34.Label,
|
|
55
54
|
LinkButton: () => LinkButton,
|
|
56
55
|
LoadingIndicator: () => import_design_system34.LoadingIndicator,
|
|
@@ -106,10 +105,6 @@ __export(src_exports, {
|
|
|
106
105
|
TextVariableRenderer: () => TextVariableRenderer,
|
|
107
106
|
Textarea: () => import_design_system34.Textarea,
|
|
108
107
|
Theme: () => import_design_system34.Theme,
|
|
109
|
-
UniformMeshLocationContext: () => UniformMeshLocationContext,
|
|
110
|
-
UniformMeshLocationContextProvider: () => UniformMeshLocationContextProvider,
|
|
111
|
-
UniformMeshSdkContext: () => UniformMeshSdkContext,
|
|
112
|
-
UniformMeshSdkContextProvider: () => UniformMeshSdkContextProvider,
|
|
113
108
|
VariableEditor: () => VariableEditor,
|
|
114
109
|
VariablesList: () => VariablesList,
|
|
115
110
|
VariablesProvider: () => VariablesProvider,
|
|
@@ -178,7 +173,6 @@ __export(src_exports, {
|
|
|
178
173
|
selectedItemTitle: () => selectedItemTitle,
|
|
179
174
|
urlEncodeRequestParameter: () => urlEncodeRequestParameter,
|
|
180
175
|
urlEncodeRequestUrl: () => urlEncodeRequestUrl,
|
|
181
|
-
useInitializeUniformMeshSdk: () => useInitializeUniformMeshSdk,
|
|
182
176
|
useMeshLocation: () => useMeshLocation,
|
|
183
177
|
useObjectSearchContext: () => useObjectSearchContext,
|
|
184
178
|
useParameterShell: () => import_design_system33.useParameterShell,
|
|
@@ -187,10 +181,7 @@ __export(src_exports, {
|
|
|
187
181
|
useRequest: () => useRequest,
|
|
188
182
|
useRequestHeader: () => useRequestHeader,
|
|
189
183
|
useRequestParameter: () => useRequestParameter,
|
|
190
|
-
useUniformMeshLocation: () => useUniformMeshLocation,
|
|
191
|
-
useUniformMeshLocationContext: () => useUniformMeshLocationContext,
|
|
192
184
|
useUniformMeshSdk: () => useUniformMeshSdk,
|
|
193
|
-
useUniformMeshSdkContext: () => useUniformMeshSdkContext,
|
|
194
185
|
useVariables: () => useVariables,
|
|
195
186
|
variablesToList: () => variablesToList
|
|
196
187
|
});
|
|
@@ -1085,7 +1076,7 @@ var ProductPreviewList = ({
|
|
|
1085
1076
|
import_design_system3.scrollbarStyles
|
|
1086
1077
|
],
|
|
1087
1078
|
children: products == null ? void 0 : products.map((product, index) => {
|
|
1088
|
-
var _a
|
|
1079
|
+
var _a;
|
|
1089
1080
|
const [category] = (product == null ? void 0 : product.categories) || [];
|
|
1090
1081
|
const categoryName = typeof category === "undefined" || !categories ? void 0 : (_a = categories.find((c) => c.id === category.id)) == null ? void 0 : _a.name;
|
|
1091
1082
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("li", { css: productPreviewListItem, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
@@ -1098,13 +1089,13 @@ var ProductPreviewList = ({
|
|
|
1098
1089
|
"img",
|
|
1099
1090
|
{
|
|
1100
1091
|
src: product.thumbnailUrl,
|
|
1101
|
-
alt: typeof product.title === "string" ? product.title :
|
|
1092
|
+
alt: typeof product.title === "string" ? product.title : `Product ${index}`,
|
|
1102
1093
|
css: productPreviewListImage,
|
|
1103
1094
|
"data-test-id": "product-image"
|
|
1104
1095
|
}
|
|
1105
1096
|
) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { css: productPreviewListImageDefault }),
|
|
1106
1097
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("h4", { css: productPreviewListTitle, "data-test-id": "product-name", children: [
|
|
1107
|
-
product.title
|
|
1098
|
+
product.title,
|
|
1108
1099
|
categoryName && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { css: productPreviewListCategoryText, children: categoryName })
|
|
1109
1100
|
] }),
|
|
1110
1101
|
product && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
@@ -1117,12 +1108,12 @@ var ProductPreviewList = ({
|
|
|
1117
1108
|
"Price: ",
|
|
1118
1109
|
product.price
|
|
1119
1110
|
] }) : null,
|
|
1120
|
-
product.editLink
|
|
1111
|
+
product.editLink ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1121
1112
|
"a",
|
|
1122
1113
|
{
|
|
1123
1114
|
css: productPreviewListLinkBtn,
|
|
1124
|
-
href:
|
|
1125
|
-
title: `Go to ${product.title
|
|
1115
|
+
href: product.editLink,
|
|
1116
|
+
title: `Go to ${product.title}`,
|
|
1126
1117
|
target: "_blank",
|
|
1127
1118
|
rel: "noopener noreferrer",
|
|
1128
1119
|
"data-test-id": "edit-product-button",
|
|
@@ -2837,18 +2828,6 @@ var import_design_system13 = require("@uniformdev/design-system");
|
|
|
2837
2828
|
var import_react25 = require("react");
|
|
2838
2829
|
var import_jsx_runtime26 = require("@emotion/react/jsx-runtime");
|
|
2839
2830
|
var UniformMeshSdkContext = (0, import_react25.createContext)(void 0);
|
|
2840
|
-
var UniformMeshSdkContextProvider = ({ children }) => {
|
|
2841
|
-
let value = void 0;
|
|
2842
|
-
if (typeof window !== "undefined" && typeof window.UniformMeshSDK !== "undefined") {
|
|
2843
|
-
value = {
|
|
2844
|
-
sdk: window.UniformMeshSDK
|
|
2845
|
-
};
|
|
2846
|
-
}
|
|
2847
|
-
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(UniformMeshSdkContext.Provider, { value, children: [
|
|
2848
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_design_system13.Theme, {}),
|
|
2849
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(UniformMeshLocationContextProvider, { children })
|
|
2850
|
-
] });
|
|
2851
|
-
};
|
|
2852
2831
|
var useUniformMeshSdkContext = () => {
|
|
2853
2832
|
const context = (0, import_react25.useContext)(UniformMeshSdkContext);
|
|
2854
2833
|
if (!context) {
|
|
@@ -2865,9 +2844,7 @@ function useUniformMeshSdk() {
|
|
|
2865
2844
|
|
|
2866
2845
|
// src/components/UniformMeshLocationContext.tsx
|
|
2867
2846
|
var import_jsx_runtime27 = require("@emotion/react/jsx-runtime");
|
|
2868
|
-
var UniformMeshLocationContext = (0, import_react26.createContext)(
|
|
2869
|
-
void 0
|
|
2870
|
-
);
|
|
2847
|
+
var UniformMeshLocationContext = (0, import_react26.createContext)(void 0);
|
|
2871
2848
|
var UniformMeshLocationContextProvider = ({
|
|
2872
2849
|
children
|
|
2873
2850
|
}) => {
|
|
@@ -2898,20 +2875,9 @@ var useUniformMeshLocationContext = () => {
|
|
|
2898
2875
|
};
|
|
2899
2876
|
|
|
2900
2877
|
// src/hooks/useMeshLocation.ts
|
|
2901
|
-
var legacyWarned = false;
|
|
2902
2878
|
function useMeshLocation(expectedLocation) {
|
|
2903
2879
|
const { location } = useUniformMeshLocationContext();
|
|
2904
|
-
|
|
2905
|
-
if (expectedLocation === "dataTypeInstance") {
|
|
2906
|
-
effectiveExpected = "dataResource";
|
|
2907
|
-
if (!legacyWarned) {
|
|
2908
|
-
console.warn(
|
|
2909
|
-
"`dataTypeInstance` mesh location is deprecated, please switch to `dataResource` instead."
|
|
2910
|
-
);
|
|
2911
|
-
legacyWarned = true;
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
if (effectiveExpected && location.type !== effectiveExpected) {
|
|
2880
|
+
if (expectedLocation && location.type !== expectedLocation) {
|
|
2915
2881
|
throw new Error(`Expected location type ${expectedLocation} but got ${location.type}`);
|
|
2916
2882
|
}
|
|
2917
2883
|
const backdoorLocation = (0, import_react27.useRef)(location);
|
|
@@ -3388,7 +3354,7 @@ function DataResourceVariablesList({
|
|
|
3388
3354
|
const {
|
|
3389
3355
|
value,
|
|
3390
3356
|
metadata: { dataType }
|
|
3391
|
-
} = useMeshLocation("
|
|
3357
|
+
} = useMeshLocation("dataResource");
|
|
3392
3358
|
const variableDefinitions = variablesToList(dataType.variables);
|
|
3393
3359
|
if (variableDefinitions.length === 0) {
|
|
3394
3360
|
if (NoVariablesComponent) {
|
|
@@ -4841,12 +4807,6 @@ var QueryFilter = ({
|
|
|
4841
4807
|
] });
|
|
4842
4808
|
};
|
|
4843
4809
|
|
|
4844
|
-
// src/hooks/useUniformMeshLocation.ts
|
|
4845
|
-
function useUniformMeshLocation() {
|
|
4846
|
-
const { location } = useUniformMeshLocationContext();
|
|
4847
|
-
return location;
|
|
4848
|
-
}
|
|
4849
|
-
|
|
4850
4810
|
// src/hooks/index.ts
|
|
4851
4811
|
var import_design_system33 = require("@uniformdev/design-system");
|
|
4852
4812
|
|
|
@@ -4882,7 +4842,6 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
|
|
|
4882
4842
|
InputSelect,
|
|
4883
4843
|
InputToggle,
|
|
4884
4844
|
InputVariables,
|
|
4885
|
-
KeywordSearchInput,
|
|
4886
4845
|
Label,
|
|
4887
4846
|
LinkButton,
|
|
4888
4847
|
LoadingIndicator,
|
|
@@ -4938,10 +4897,6 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
|
|
|
4938
4897
|
TextVariableRenderer,
|
|
4939
4898
|
Textarea,
|
|
4940
4899
|
Theme,
|
|
4941
|
-
UniformMeshLocationContext,
|
|
4942
|
-
UniformMeshLocationContextProvider,
|
|
4943
|
-
UniformMeshSdkContext,
|
|
4944
|
-
UniformMeshSdkContextProvider,
|
|
4945
4900
|
VariableEditor,
|
|
4946
4901
|
VariablesList,
|
|
4947
4902
|
VariablesProvider,
|
|
@@ -5010,7 +4965,6 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
|
|
|
5010
4965
|
selectedItemTitle,
|
|
5011
4966
|
urlEncodeRequestParameter,
|
|
5012
4967
|
urlEncodeRequestUrl,
|
|
5013
|
-
useInitializeUniformMeshSdk,
|
|
5014
4968
|
useMeshLocation,
|
|
5015
4969
|
useObjectSearchContext,
|
|
5016
4970
|
useParameterShell,
|
|
@@ -5019,10 +4973,7 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
|
|
|
5019
4973
|
useRequest,
|
|
5020
4974
|
useRequestHeader,
|
|
5021
4975
|
useRequestParameter,
|
|
5022
|
-
useUniformMeshLocation,
|
|
5023
|
-
useUniformMeshLocationContext,
|
|
5024
4976
|
useUniformMeshSdk,
|
|
5025
|
-
useUniformMeshSdkContext,
|
|
5026
4977
|
useVariables,
|
|
5027
4978
|
variablesToList
|
|
5028
4979
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -893,7 +893,7 @@ var ProductPreviewList = ({
|
|
|
893
893
|
scrollbarStyles
|
|
894
894
|
],
|
|
895
895
|
children: products == null ? void 0 : products.map((product, index) => {
|
|
896
|
-
var _a
|
|
896
|
+
var _a;
|
|
897
897
|
const [category] = (product == null ? void 0 : product.categories) || [];
|
|
898
898
|
const categoryName = typeof category === "undefined" || !categories ? void 0 : (_a = categories.find((c) => c.id === category.id)) == null ? void 0 : _a.name;
|
|
899
899
|
return /* @__PURE__ */ jsx18("li", { css: productPreviewListItem, children: /* @__PURE__ */ jsxs7(
|
|
@@ -906,13 +906,13 @@ var ProductPreviewList = ({
|
|
|
906
906
|
"img",
|
|
907
907
|
{
|
|
908
908
|
src: product.thumbnailUrl,
|
|
909
|
-
alt: typeof product.title === "string" ? product.title :
|
|
909
|
+
alt: typeof product.title === "string" ? product.title : `Product ${index}`,
|
|
910
910
|
css: productPreviewListImage,
|
|
911
911
|
"data-test-id": "product-image"
|
|
912
912
|
}
|
|
913
913
|
) : /* @__PURE__ */ jsx18("div", { css: productPreviewListImageDefault }),
|
|
914
914
|
/* @__PURE__ */ jsxs7("h4", { css: productPreviewListTitle, "data-test-id": "product-name", children: [
|
|
915
|
-
product.title
|
|
915
|
+
product.title,
|
|
916
916
|
categoryName && /* @__PURE__ */ jsx18("span", { css: productPreviewListCategoryText, children: categoryName })
|
|
917
917
|
] }),
|
|
918
918
|
product && /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
@@ -925,12 +925,12 @@ var ProductPreviewList = ({
|
|
|
925
925
|
"Price: ",
|
|
926
926
|
product.price
|
|
927
927
|
] }) : null,
|
|
928
|
-
product.editLink
|
|
928
|
+
product.editLink ? /* @__PURE__ */ jsxs7(
|
|
929
929
|
"a",
|
|
930
930
|
{
|
|
931
931
|
css: productPreviewListLinkBtn,
|
|
932
|
-
href:
|
|
933
|
-
title: `Go to ${product.title
|
|
932
|
+
href: product.editLink,
|
|
933
|
+
title: `Go to ${product.title}`,
|
|
934
934
|
target: "_blank",
|
|
935
935
|
rel: "noopener noreferrer",
|
|
936
936
|
"data-test-id": "edit-product-button",
|
|
@@ -2655,18 +2655,6 @@ import { Theme } from "@uniformdev/design-system";
|
|
|
2655
2655
|
import { createContext, useContext as useContext3 } from "react";
|
|
2656
2656
|
import { jsx as jsx26, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
|
|
2657
2657
|
var UniformMeshSdkContext = createContext(void 0);
|
|
2658
|
-
var UniformMeshSdkContextProvider = ({ children }) => {
|
|
2659
|
-
let value = void 0;
|
|
2660
|
-
if (typeof window !== "undefined" && typeof window.UniformMeshSDK !== "undefined") {
|
|
2661
|
-
value = {
|
|
2662
|
-
sdk: window.UniformMeshSDK
|
|
2663
|
-
};
|
|
2664
|
-
}
|
|
2665
|
-
return /* @__PURE__ */ jsxs15(UniformMeshSdkContext.Provider, { value, children: [
|
|
2666
|
-
/* @__PURE__ */ jsx26(Theme, {}),
|
|
2667
|
-
/* @__PURE__ */ jsx26(UniformMeshLocationContextProvider, { children })
|
|
2668
|
-
] });
|
|
2669
|
-
};
|
|
2670
2658
|
var useUniformMeshSdkContext = () => {
|
|
2671
2659
|
const context = useContext3(UniformMeshSdkContext);
|
|
2672
2660
|
if (!context) {
|
|
@@ -2683,9 +2671,7 @@ function useUniformMeshSdk() {
|
|
|
2683
2671
|
|
|
2684
2672
|
// src/components/UniformMeshLocationContext.tsx
|
|
2685
2673
|
import { jsx as jsx27 } from "@emotion/react/jsx-runtime";
|
|
2686
|
-
var UniformMeshLocationContext = createContext2(
|
|
2687
|
-
void 0
|
|
2688
|
-
);
|
|
2674
|
+
var UniformMeshLocationContext = createContext2(void 0);
|
|
2689
2675
|
var UniformMeshLocationContextProvider = ({
|
|
2690
2676
|
children
|
|
2691
2677
|
}) => {
|
|
@@ -2716,20 +2702,9 @@ var useUniformMeshLocationContext = () => {
|
|
|
2716
2702
|
};
|
|
2717
2703
|
|
|
2718
2704
|
// src/hooks/useMeshLocation.ts
|
|
2719
|
-
var legacyWarned = false;
|
|
2720
2705
|
function useMeshLocation(expectedLocation) {
|
|
2721
2706
|
const { location } = useUniformMeshLocationContext();
|
|
2722
|
-
|
|
2723
|
-
if (expectedLocation === "dataTypeInstance") {
|
|
2724
|
-
effectiveExpected = "dataResource";
|
|
2725
|
-
if (!legacyWarned) {
|
|
2726
|
-
console.warn(
|
|
2727
|
-
"`dataTypeInstance` mesh location is deprecated, please switch to `dataResource` instead."
|
|
2728
|
-
);
|
|
2729
|
-
legacyWarned = true;
|
|
2730
|
-
}
|
|
2731
|
-
}
|
|
2732
|
-
if (effectiveExpected && location.type !== effectiveExpected) {
|
|
2707
|
+
if (expectedLocation && location.type !== expectedLocation) {
|
|
2733
2708
|
throw new Error(`Expected location type ${expectedLocation} but got ${location.type}`);
|
|
2734
2709
|
}
|
|
2735
2710
|
const backdoorLocation = useRef7(location);
|
|
@@ -3216,7 +3191,7 @@ function DataResourceVariablesList({
|
|
|
3216
3191
|
const {
|
|
3217
3192
|
value,
|
|
3218
3193
|
metadata: { dataType }
|
|
3219
|
-
} = useMeshLocation("
|
|
3194
|
+
} = useMeshLocation("dataResource");
|
|
3220
3195
|
const variableDefinitions = variablesToList(dataType.variables);
|
|
3221
3196
|
if (variableDefinitions.length === 0) {
|
|
3222
3197
|
if (NoVariablesComponent) {
|
|
@@ -4687,12 +4662,6 @@ var QueryFilter = ({
|
|
|
4687
4662
|
] });
|
|
4688
4663
|
};
|
|
4689
4664
|
|
|
4690
|
-
// src/hooks/useUniformMeshLocation.ts
|
|
4691
|
-
function useUniformMeshLocation() {
|
|
4692
|
-
const { location } = useUniformMeshLocationContext();
|
|
4693
|
-
return location;
|
|
4694
|
-
}
|
|
4695
|
-
|
|
4696
4665
|
// src/hooks/index.ts
|
|
4697
4666
|
import { ParameterShellContext, useParameterShell } from "@uniformdev/design-system";
|
|
4698
4667
|
|
|
@@ -4715,7 +4684,6 @@ import {
|
|
|
4715
4684
|
InputKeywordSearch as InputKeywordSearch4,
|
|
4716
4685
|
InputSelect as InputSelect8,
|
|
4717
4686
|
InputToggle,
|
|
4718
|
-
InputKeywordSearch as InputKeywordSearch5,
|
|
4719
4687
|
Label,
|
|
4720
4688
|
LoadingIndicator as LoadingIndicator4,
|
|
4721
4689
|
LoadingOverlay as LoadingOverlay2,
|
|
@@ -4762,7 +4730,6 @@ export {
|
|
|
4762
4730
|
InputSelect8 as InputSelect,
|
|
4763
4731
|
InputToggle,
|
|
4764
4732
|
InputVariables,
|
|
4765
|
-
InputKeywordSearch5 as KeywordSearchInput,
|
|
4766
4733
|
Label,
|
|
4767
4734
|
LinkButton,
|
|
4768
4735
|
LoadingIndicator4 as LoadingIndicator,
|
|
@@ -4818,10 +4785,6 @@ export {
|
|
|
4818
4785
|
TextVariableRenderer,
|
|
4819
4786
|
Textarea,
|
|
4820
4787
|
Theme3 as Theme,
|
|
4821
|
-
UniformMeshLocationContext,
|
|
4822
|
-
UniformMeshLocationContextProvider,
|
|
4823
|
-
UniformMeshSdkContext,
|
|
4824
|
-
UniformMeshSdkContextProvider,
|
|
4825
4788
|
VariableEditor,
|
|
4826
4789
|
VariablesList,
|
|
4827
4790
|
VariablesProvider,
|
|
@@ -4890,7 +4853,6 @@ export {
|
|
|
4890
4853
|
selectedItemTitle,
|
|
4891
4854
|
urlEncodeRequestParameter,
|
|
4892
4855
|
urlEncodeRequestUrl,
|
|
4893
|
-
useInitializeUniformMeshSdk,
|
|
4894
4856
|
useMeshLocation,
|
|
4895
4857
|
useObjectSearchContext,
|
|
4896
4858
|
useParameterShell,
|
|
@@ -4899,10 +4861,7 @@ export {
|
|
|
4899
4861
|
useRequest,
|
|
4900
4862
|
useRequestHeader,
|
|
4901
4863
|
useRequestParameter,
|
|
4902
|
-
useUniformMeshLocation,
|
|
4903
|
-
useUniformMeshLocationContext,
|
|
4904
4864
|
useUniformMeshSdk,
|
|
4905
|
-
useUniformMeshSdkContext,
|
|
4906
4865
|
useVariables,
|
|
4907
4866
|
variablesToList
|
|
4908
4867
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.35.1-alpha.12+d5e86f567",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK for React",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"document": "api-extractor run --local"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@uniformdev/design-system": "18.
|
|
47
|
-
"@uniformdev/mesh-sdk": "18.
|
|
46
|
+
"@uniformdev/design-system": "18.35.1-alpha.12+d5e86f567",
|
|
47
|
+
"@uniformdev/mesh-sdk": "18.35.1-alpha.12+d5e86f567",
|
|
48
48
|
"formik": "^2.2.9",
|
|
49
49
|
"react-beautiful-dnd": "13.1.1",
|
|
50
50
|
"react-icons": "4.8.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "d5e86f5673575aecfcf517e684922871315f279b"
|
|
77
77
|
}
|