@uniformdev/mesh-sdk-react 19.199.0 → 19.199.1-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1894,6 +1894,8 @@ type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOp
1894
1894
  onChange: (e: TValue | undefined) => void;
1895
1895
  /** Sets the data-testid value */
1896
1896
  valueTestId?: string;
1897
+ /** The current filter name that is selected */
1898
+ filterFieldName: string;
1897
1899
  };
1898
1900
 
1899
1901
  /** @deprecated beta - a list of possible operator values that sync with uniform search api */
@@ -1941,7 +1943,7 @@ declare const DateEditor: ({ onChange, ariaLabel, disabled, value, readOnly, val
1941
1943
  declare const DateRangeEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1942
1944
 
1943
1945
  /**
1944
- * @deprecated beta - Multie select filter component
1946
+ * @deprecated beta - Multi select filter component
1945
1947
  * @example <FilterMultiChoiceEditor options={options} value={options.filter((option) => values.includes(option.value)} onChange={(e) => onChange(e.map((option) => option.value))} />
1946
1948
  */
1947
1949
  declare const FilterMultiChoiceEditor: ({ value, options, disabled, readOnly, valueTestId, ...props }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
@@ -1964,6 +1966,12 @@ declare const NumberEditor: ({ ariaLabel, onChange, disabled, value, readOnly, v
1964
1966
  */
1965
1967
  declare const NumberRangeEditor: ({ onChange, disabled, ariaLabel, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1966
1968
 
1969
+ declare const readOnlyAttributes: {
1970
+ isSearchable: boolean;
1971
+ menuIsOpen: boolean;
1972
+ isClearable: boolean;
1973
+ };
1974
+
1967
1975
  /**
1968
1976
  * @deprecated beta - Status multi select filter component that renders a custom dropdown menu
1969
1977
  * @example <StatusMultiEditor options={options} value={value} onChange={onChange} />
@@ -2321,7 +2329,7 @@ type ContentDataResourceLocaleInfoResult = {
2321
2329
  * - raw locale string - locale stored in mesh data type/resource (e.g. 'en-US')
2322
2330
  * - empty string - if locale was not set
2323
2331
  */
2324
- boundLocale: string | undefined;
2332
+ boundLocale: string;
2325
2333
  };
2326
2334
  type ContentDataResourceLocaleInfoProps = {
2327
2335
  /** Current stored locale in mesh data type/resource.
@@ -2333,11 +2341,13 @@ type ContentDataResourceLocaleInfoProps = {
2333
2341
  * If locale is empty, fallback to dynamic locale value if it is available.
2334
2342
  */
2335
2343
  locale: string | undefined;
2344
+ /** Default locale for a project */
2345
+ defaultLocale: string | undefined;
2336
2346
  /** Map of dynamic inputs for current composition. Should be passed down from DataResource metadata */
2337
2347
  dynamicInputs: DynamicInputs;
2338
2348
  /** In case of empty locale value, this method is called to bind dynamic locale (sets locale to '${locale}') */
2339
2349
  setLocale?: (locale: string) => void;
2340
2350
  };
2341
- declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2351
+ declare function useContentDataResourceLocaleInfo({ locale, defaultLocale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2342
2352
 
2343
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, 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, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2353
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, 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, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, readOnlyAttributes, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.d.ts CHANGED
@@ -1894,6 +1894,8 @@ type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOp
1894
1894
  onChange: (e: TValue | undefined) => void;
1895
1895
  /** Sets the data-testid value */
1896
1896
  valueTestId?: string;
1897
+ /** The current filter name that is selected */
1898
+ filterFieldName: string;
1897
1899
  };
1898
1900
 
1899
1901
  /** @deprecated beta - a list of possible operator values that sync with uniform search api */
@@ -1941,7 +1943,7 @@ declare const DateEditor: ({ onChange, ariaLabel, disabled, value, readOnly, val
1941
1943
  declare const DateRangeEditor: ({ ariaLabel, onChange, disabled, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1942
1944
 
1943
1945
  /**
1944
- * @deprecated beta - Multie select filter component
1946
+ * @deprecated beta - Multi select filter component
1945
1947
  * @example <FilterMultiChoiceEditor options={options} value={options.filter((option) => values.includes(option.value)} onChange={(e) => onChange(e.map((option) => option.value))} />
1946
1948
  */
1947
1949
  declare const FilterMultiChoiceEditor: ({ value, options, disabled, readOnly, valueTestId, ...props }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
@@ -1964,6 +1966,12 @@ declare const NumberEditor: ({ ariaLabel, onChange, disabled, value, readOnly, v
1964
1966
  */
1965
1967
  declare const NumberRangeEditor: ({ onChange, disabled, ariaLabel, value, readOnly, valueTestId, }: FilterEditorRendererProps<string[]>) => _emotion_react_jsx_runtime.JSX.Element;
1966
1968
 
1969
+ declare const readOnlyAttributes: {
1970
+ isSearchable: boolean;
1971
+ menuIsOpen: boolean;
1972
+ isClearable: boolean;
1973
+ };
1974
+
1967
1975
  /**
1968
1976
  * @deprecated beta - Status multi select filter component that renders a custom dropdown menu
1969
1977
  * @example <StatusMultiEditor options={options} value={value} onChange={onChange} />
@@ -2321,7 +2329,7 @@ type ContentDataResourceLocaleInfoResult = {
2321
2329
  * - raw locale string - locale stored in mesh data type/resource (e.g. 'en-US')
2322
2330
  * - empty string - if locale was not set
2323
2331
  */
2324
- boundLocale: string | undefined;
2332
+ boundLocale: string;
2325
2333
  };
2326
2334
  type ContentDataResourceLocaleInfoProps = {
2327
2335
  /** Current stored locale in mesh data type/resource.
@@ -2333,11 +2341,13 @@ type ContentDataResourceLocaleInfoProps = {
2333
2341
  * If locale is empty, fallback to dynamic locale value if it is available.
2334
2342
  */
2335
2343
  locale: string | undefined;
2344
+ /** Default locale for a project */
2345
+ defaultLocale: string | undefined;
2336
2346
  /** Map of dynamic inputs for current composition. Should be passed down from DataResource metadata */
2337
2347
  dynamicInputs: DynamicInputs;
2338
2348
  /** In case of empty locale value, this method is called to bind dynamic locale (sets locale to '${locale}') */
2339
2349
  setLocale?: (locale: string) => void;
2340
2350
  };
2341
- declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2351
+ declare function useContentDataResourceLocaleInfo({ locale, defaultLocale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
2342
2352
 
2343
- export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, 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, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
2353
+ export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_OPERATORS, DATE_TIME_OPERATORS, 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, DateEditor, DateRangeEditor, DefaultSearchRow, DefaultSelectedItem, type DisconnectVariableCommandArguments, type DispatchResult, EDIT_VARIABLE_COMMAND, type EditVariableCommandArguments, EntrySearch, type EntrySearchContentType, type EntrySearchProps, type EntrySearchQueryOptions, type EntrySearchResult, type EntrySearchRowProps, type EntrySearchSelectedItemProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterEditorRenderer, type FilterEditorRendererProps, FilterItem, type FilterItemProps, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterOptionGroup, type FilterOptionLeftHandComponentProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, type InputOptionGroup, type InputOptionValue, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, OPTIONAL_SYSTEM_FIELD_OPERATORS, ObjectSearchContainer, type ObjectSearchContainerProps, type ObjectSearchContextProps, ObjectSearchFilter, ObjectSearchFilterContainer, type ObjectSearchFilterContainerProps, type ObjectSearchFilterProps, ObjectSearchListItem, ObjectSearchListItemLoadingSkeleton, type ObjectSearchListItemProps, ObjectSearchProvider, type ObjectSearchProviderProps, ObjectSearchResultItem, ObjectSearchResultItemButton, type ObjectSearchResultItemButtonProps, type ObjectSearchResultItemProps, ObjectSearchResultList, type ObjectSearchResultListProps, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, ParamTypeDynamicDataProvider, type ParamTypeDynamicDataProviderProps, type ParameterConnectOptions, ParameterConnectionIndicator, type ParameterConnectionIndicatorProps, ParameterOrSingleVariable, type ParameterOrSingleVariableProps, ParameterVariables, type ParameterVariablesProps, type ProductCategory, type ProductDynamicSelectorValue, ProductPreviewList, ProductQuery, type ProductQueryCategory, ProductQueryContext, type ProductQueryContextValue, type ProductQueryProps, ProductSearch, ProductSearchContext, type ProductSearchContextValue, type ProductSearchProps, type ProductSearchResult, type ProductSearchResults, ProductSearchRow, ProductSelectedItem, QueryFilter, type QueryFilterProps, type QueryFilterSearchProps, RICHTEXT_OPERATORS, type RequestAction, type RequestActionContext, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextMultiChoiceEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableChip, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, badgeIcon, bindableFiltersMapper, convertConnectedDataToVariable, createLocationValidator, damSelectItemImage, damSelectedItemContainer, damSelectedItemCopy, damSelectedItemDetails, damSelectedItemIcon, damSelectedItemInfoBtn, damSelectedItemInner, damSelectedItemLinkBtn, damSelectedItemLinkContainer, damSelectedItemMediaContainer, damSelectedItemPopover, damSelectedItemPopoverLabel, damSelectedItemSmallText, damSelectedItemTitle, draggableContainer, draggableIcon, draggableIconOffset, draggableIconWrapper, entrySearchBtn, entrySearchConfig, entrySearchConfigHidden, entrySearchLoadMoreBtn, entrySearchResultList, entrySearchSelectIcon, entrySearchSelectImg, entrySearchSelectInput, entrySearchSelectOption, entrySearchWrapper, filterMapper, hasReferencedVariables, prettifyBindExpression, productSearchRowActiveIcon, productSearchRowCategory, productSearchRowContainer, productSearchRowContent, productSearchRowContentActive, productSearchRowDetails, productSearchRowTitle, productSelectedItemContainer, productSelectedItemContent, productSelectedItemDetails, productSelectedItemIcon, productSelectedItemImage, productSelectedItemLinkContainer, productedSelectedItemLinkBtn, productedSelectedItemSmallText, readOnlyAttributes, searchRowBtn, searchRowContainer, searchRowContainerActive, searchRowContainerWithPopover, searchRowPopover, searchRowText, searchRowTextSmall, selectItemLinkBtn, selectItemLinkContainer, selectItemPopover, selectItemPopoverLabel, selectItemSmallText, selectedItemContainer, selectedItemCopy, selectedItemDetails, selectedItemIcon, selectedItemInner, selectedItemTitle, serializeVariablesEditorSerializedState, serializeVariablesEditorState, setVariablesEditorValue, urlEncodeRequestParameter, urlEncodeRequestUrl, useConnectedDataAsVariables, useContentDataResourceLocaleInfo, useDynamicInputsAsVariables, useMeshLocation, useObjectSearchContext, useProductQueryContext, useProductSearchContext, useRequest, useRequestHeader, useRequestParameter, useSearchAndFilter, useUniformMeshSdk, useVariableEditor, useVariables, useVariablesMenu, variableDefaultTextValue, variablePrefix, variableSuffix, variablesToGroupedList, variablesToList };
package/dist/index.esm.js CHANGED
@@ -2945,7 +2945,7 @@ function ControlledValuePlugin({
2945
2945
  return;
2946
2946
  }
2947
2947
  const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
2948
- const newValue = (_b = value !== void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
2948
+ const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
2949
2949
  if (currentValue === newValue) {
2950
2950
  return;
2951
2951
  }
@@ -8001,7 +8001,7 @@ var FilterSingleChoiceEditor = ({
8001
8001
  const { groupedOptions, selectedOptions } = useMemo18(
8002
8002
  () => convertComboBoxGroupsToSelectableGroups2({
8003
8003
  options: options != null ? options : [],
8004
- selectedItems: new Set(value ? [value] : void 0),
8004
+ selectedItems: new Set(value ? [String(value)] : void 0),
8005
8005
  selectionMode: "single"
8006
8006
  }),
8007
8007
  [options, value]
@@ -9076,7 +9076,8 @@ var FilterItem = ({
9076
9076
  bindable,
9077
9077
  disabled: !filters[index].operator,
9078
9078
  value: selectedMetaValue,
9079
- valueTestId: "filter-value"
9079
+ valueTestId: "filter-value",
9080
+ filterFieldName: filters[index].field
9080
9081
  }
9081
9082
  ),
9082
9083
  readOnly ? null : /* @__PURE__ */ jsx85(
@@ -9868,6 +9869,7 @@ import { bindVariables as bindVariables2, createVariableReference as createVaria
9868
9869
  import { useEffect as useEffect24, useRef as useRef16 } from "react";
9869
9870
  function useContentDataResourceLocaleInfo({
9870
9871
  locale,
9872
+ defaultLocale,
9871
9873
  setLocale,
9872
9874
  dynamicInputs
9873
9875
  }) {
@@ -9875,14 +9877,14 @@ function useContentDataResourceLocaleInfo({
9875
9877
  const setLocaleRef = useRef16(setLocale);
9876
9878
  setLocaleRef.current = setLocale;
9877
9879
  const { flatVariables } = useVariables();
9878
- const effectiveLocale = locale != null ? locale : dynamicInputs[LOCALE_DYNAMIC_INPUT_NAME2] ? createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2) : "";
9880
+ const effectiveLocale = locale != null ? locale : dynamicInputs[LOCALE_DYNAMIC_INPUT_NAME2] ? createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2) : defaultLocale != null ? defaultLocale : "";
9879
9881
  const boundLocale = (_a = bindVariables2({ variables: flatVariables, value: effectiveLocale }).result) != null ? _a : effectiveLocale;
9880
9882
  useEffect24(() => {
9881
9883
  if (locale === void 0 && effectiveLocale && setLocaleRef.current) {
9882
- setLocaleRef.current(createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2));
9884
+ setLocaleRef.current(effectiveLocale);
9883
9885
  }
9884
9886
  }, [locale, effectiveLocale]);
9885
- return { effectiveLocale, boundLocale: boundLocale ? boundLocale : void 0 };
9887
+ return { effectiveLocale, boundLocale };
9886
9888
  }
9887
9889
 
9888
9890
  // src/index.ts
@@ -10105,6 +10107,7 @@ export {
10105
10107
  productSelectedItemLinkContainer,
10106
10108
  productedSelectedItemLinkBtn,
10107
10109
  productedSelectedItemSmallText,
10110
+ readOnlyAttributes,
10108
10111
  searchRowBtn,
10109
10112
  searchRowContainer,
10110
10113
  searchRowContainerActive,
package/dist/index.js CHANGED
@@ -211,6 +211,7 @@ __export(src_exports, {
211
211
  productSelectedItemLinkContainer: () => productSelectedItemLinkContainer,
212
212
  productedSelectedItemLinkBtn: () => productedSelectedItemLinkBtn,
213
213
  productedSelectedItemSmallText: () => productedSelectedItemSmallText,
214
+ readOnlyAttributes: () => readOnlyAttributes,
214
215
  searchRowBtn: () => searchRowBtn,
215
216
  searchRowContainer: () => searchRowContainer,
216
217
  searchRowContainerActive: () => searchRowContainerActive,
@@ -3187,7 +3188,7 @@ function ControlledValuePlugin({
3187
3188
  return;
3188
3189
  }
3189
3190
  const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
3190
- const newValue = (_b = value !== void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
3191
+ const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
3191
3192
  if (currentValue === newValue) {
3192
3193
  return;
3193
3194
  }
@@ -8152,7 +8153,7 @@ var FilterSingleChoiceEditor = ({
8152
8153
  const { groupedOptions, selectedOptions } = (0, import_react79.useMemo)(
8153
8154
  () => (0, import_design_system45.convertComboBoxGroupsToSelectableGroups)({
8154
8155
  options: options != null ? options : [],
8155
- selectedItems: new Set(value ? [value] : void 0),
8156
+ selectedItems: new Set(value ? [String(value)] : void 0),
8156
8157
  selectionMode: "single"
8157
8158
  }),
8158
8159
  [options, value]
@@ -9208,7 +9209,8 @@ var FilterItem = ({
9208
9209
  bindable,
9209
9210
  disabled: !filters[index].operator,
9210
9211
  value: selectedMetaValue,
9211
- valueTestId: "filter-value"
9212
+ valueTestId: "filter-value",
9213
+ filterFieldName: filters[index].field
9212
9214
  }
9213
9215
  ),
9214
9216
  readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
@@ -10000,6 +10002,7 @@ var import_canvas13 = require("@uniformdev/canvas");
10000
10002
  var import_react93 = require("react");
10001
10003
  function useContentDataResourceLocaleInfo({
10002
10004
  locale,
10005
+ defaultLocale,
10003
10006
  setLocale,
10004
10007
  dynamicInputs
10005
10008
  }) {
@@ -10007,14 +10010,14 @@ function useContentDataResourceLocaleInfo({
10007
10010
  const setLocaleRef = (0, import_react93.useRef)(setLocale);
10008
10011
  setLocaleRef.current = setLocale;
10009
10012
  const { flatVariables } = useVariables();
10010
- const effectiveLocale = locale != null ? locale : dynamicInputs[import_canvas13.LOCALE_DYNAMIC_INPUT_NAME] ? (0, import_canvas13.createVariableReference)(import_canvas13.LOCALE_DYNAMIC_INPUT_NAME) : "";
10013
+ const effectiveLocale = locale != null ? locale : dynamicInputs[import_canvas13.LOCALE_DYNAMIC_INPUT_NAME] ? (0, import_canvas13.createVariableReference)(import_canvas13.LOCALE_DYNAMIC_INPUT_NAME) : defaultLocale != null ? defaultLocale : "";
10011
10014
  const boundLocale = (_a = (0, import_canvas13.bindVariables)({ variables: flatVariables, value: effectiveLocale }).result) != null ? _a : effectiveLocale;
10012
10015
  (0, import_react93.useEffect)(() => {
10013
10016
  if (locale === void 0 && effectiveLocale && setLocaleRef.current) {
10014
- setLocaleRef.current((0, import_canvas13.createVariableReference)(import_canvas13.LOCALE_DYNAMIC_INPUT_NAME));
10017
+ setLocaleRef.current(effectiveLocale);
10015
10018
  }
10016
10019
  }, [locale, effectiveLocale]);
10017
- return { effectiveLocale, boundLocale: boundLocale ? boundLocale : void 0 };
10020
+ return { effectiveLocale, boundLocale };
10018
10021
  }
10019
10022
 
10020
10023
  // src/index.ts
@@ -10202,6 +10205,7 @@ __reExport(src_exports, require("@uniformdev/mesh-sdk"), module.exports);
10202
10205
  productSelectedItemLinkContainer,
10203
10206
  productedSelectedItemLinkBtn,
10204
10207
  productedSelectedItemSmallText,
10208
+ readOnlyAttributes,
10205
10209
  searchRowBtn,
10206
10210
  searchRowContainer,
10207
10211
  searchRowContainerActive,
package/dist/index.mjs CHANGED
@@ -2945,7 +2945,7 @@ function ControlledValuePlugin({
2945
2945
  return;
2946
2946
  }
2947
2947
  const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
2948
- const newValue = (_b = value !== void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
2948
+ const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
2949
2949
  if (currentValue === newValue) {
2950
2950
  return;
2951
2951
  }
@@ -8001,7 +8001,7 @@ var FilterSingleChoiceEditor = ({
8001
8001
  const { groupedOptions, selectedOptions } = useMemo18(
8002
8002
  () => convertComboBoxGroupsToSelectableGroups2({
8003
8003
  options: options != null ? options : [],
8004
- selectedItems: new Set(value ? [value] : void 0),
8004
+ selectedItems: new Set(value ? [String(value)] : void 0),
8005
8005
  selectionMode: "single"
8006
8006
  }),
8007
8007
  [options, value]
@@ -9076,7 +9076,8 @@ var FilterItem = ({
9076
9076
  bindable,
9077
9077
  disabled: !filters[index].operator,
9078
9078
  value: selectedMetaValue,
9079
- valueTestId: "filter-value"
9079
+ valueTestId: "filter-value",
9080
+ filterFieldName: filters[index].field
9080
9081
  }
9081
9082
  ),
9082
9083
  readOnly ? null : /* @__PURE__ */ jsx85(
@@ -9868,6 +9869,7 @@ import { bindVariables as bindVariables2, createVariableReference as createVaria
9868
9869
  import { useEffect as useEffect24, useRef as useRef16 } from "react";
9869
9870
  function useContentDataResourceLocaleInfo({
9870
9871
  locale,
9872
+ defaultLocale,
9871
9873
  setLocale,
9872
9874
  dynamicInputs
9873
9875
  }) {
@@ -9875,14 +9877,14 @@ function useContentDataResourceLocaleInfo({
9875
9877
  const setLocaleRef = useRef16(setLocale);
9876
9878
  setLocaleRef.current = setLocale;
9877
9879
  const { flatVariables } = useVariables();
9878
- const effectiveLocale = locale != null ? locale : dynamicInputs[LOCALE_DYNAMIC_INPUT_NAME2] ? createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2) : "";
9880
+ const effectiveLocale = locale != null ? locale : dynamicInputs[LOCALE_DYNAMIC_INPUT_NAME2] ? createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2) : defaultLocale != null ? defaultLocale : "";
9879
9881
  const boundLocale = (_a = bindVariables2({ variables: flatVariables, value: effectiveLocale }).result) != null ? _a : effectiveLocale;
9880
9882
  useEffect24(() => {
9881
9883
  if (locale === void 0 && effectiveLocale && setLocaleRef.current) {
9882
- setLocaleRef.current(createVariableReference4(LOCALE_DYNAMIC_INPUT_NAME2));
9884
+ setLocaleRef.current(effectiveLocale);
9883
9885
  }
9884
9886
  }, [locale, effectiveLocale]);
9885
- return { effectiveLocale, boundLocale: boundLocale ? boundLocale : void 0 };
9887
+ return { effectiveLocale, boundLocale };
9886
9888
  }
9887
9889
 
9888
9890
  // src/index.ts
@@ -10105,6 +10107,7 @@ export {
10105
10107
  productSelectedItemLinkContainer,
10106
10108
  productedSelectedItemLinkBtn,
10107
10109
  productedSelectedItemSmallText,
10110
+ readOnlyAttributes,
10108
10111
  searchRowBtn,
10109
10112
  searchRowContainer,
10110
10113
  searchRowContainerActive,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.199.0",
3
+ "version": "19.199.1-alpha.10+7f62130189",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,16 +50,16 @@
50
50
  "@lexical/selection": "0.17.1",
51
51
  "@lexical/utils": "0.17.1",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.2.1/react-icons-all-files-5.2.1.tgz",
53
- "@uniformdev/canvas": "19.199.0",
54
- "@uniformdev/design-system": "19.199.0",
55
- "@uniformdev/mesh-sdk": "19.199.0",
56
- "@uniformdev/richtext": "19.199.0",
53
+ "@uniformdev/canvas": "19.199.1-alpha.10+7f62130189",
54
+ "@uniformdev/design-system": "19.199.1-alpha.10+7f62130189",
55
+ "@uniformdev/mesh-sdk": "19.199.1-alpha.10+7f62130189",
56
+ "@uniformdev/richtext": "19.199.1-alpha.10+7f62130189",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.17.1",
59
59
  "mitt": "3.0.1",
60
60
  "react-beautiful-dnd": "13.1.1",
61
61
  "react-hook-form": "^7.47.0",
62
- "react-use": "17.5.0",
62
+ "react-use": "17.5.1",
63
63
  "timeago.js": "4.0.2",
64
64
  "uuid": "9.0.1",
65
65
  "zod": "3.23.8"
@@ -74,9 +74,9 @@
74
74
  "@emotion/react": "11.11.3",
75
75
  "@storybook/react": "8.3.3",
76
76
  "@svgr/cli": "6.5.1",
77
- "@types/react": "18.3.3",
77
+ "@types/react": "18.3.11",
78
78
  "@types/react-beautiful-dnd": "13.1.8",
79
- "@types/react-dom": "18.2.17",
79
+ "@types/react-dom": "18.3.1",
80
80
  "@types/uuid": "9.0.4",
81
81
  "react": "18.3.1",
82
82
  "react-dom": "18.3.1"
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "10b981b78ca171d82d8535f8162c2072e1e944c5"
90
+ "gitHead": "7f62130189d43f7ecaaed0a41c929e5c166860d2"
91
91
  }