@uniformdev/mesh-sdk-react 19.162.2-alpha.11 → 19.164.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -8
- package/dist/index.d.ts +4 -8
- package/dist/index.esm.js +6 -13
- package/dist/index.js +6 -13
- package/dist/index.mjs +6 -13
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1720,7 +1720,7 @@ declare function useRequestParameter(paramName: string): {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
|
|
1722
1722
|
/** @deprecated beta - Filter editor component names */
|
|
1723
|
-
type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice'
|
|
1723
|
+
type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice';
|
|
1724
1724
|
/** @deprecated beta - Input option props */
|
|
1725
1725
|
type InputOption = InputOptionGroup | InputOptionValue;
|
|
1726
1726
|
/** @deprecated beta - Input option group props */
|
|
@@ -2073,20 +2073,16 @@ type FilterRowProps = {
|
|
|
2073
2073
|
onValueChange: (e: string | string[]) => void;
|
|
2074
2074
|
/** the list of value options for each filter row */
|
|
2075
2075
|
valueOptions: InputOption[];
|
|
2076
|
-
initialCriteriaTitle?: string;
|
|
2077
2076
|
};
|
|
2078
2077
|
/** @deprecated beta - A filter item component used to display filter options */
|
|
2079
|
-
declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions, onParamChange, onOperatorChange, onValueChange,
|
|
2078
|
+
declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions, onParamChange, onOperatorChange, onValueChange, }: FilterRowProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2080
2079
|
type FilterItemsProps = {
|
|
2081
2080
|
/** The text for the add button */
|
|
2082
2081
|
addButtonText?: string;
|
|
2083
2082
|
additionalFiltersContainer: SearchAndFilterProps['additionalFiltersContainer'];
|
|
2084
|
-
filterTitle?: string;
|
|
2085
|
-
resetButtonText?: string;
|
|
2086
|
-
initialCriteriaTitle?: string;
|
|
2087
2083
|
};
|
|
2088
2084
|
/** @deprecated beta - A filter items component used to display filter options */
|
|
2089
|
-
declare const FilterItems: ({ addButtonText, additionalFiltersContainer,
|
|
2085
|
+
declare const FilterItems: ({ addButtonText, additionalFiltersContainer, }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2090
2086
|
|
|
2091
2087
|
type SearchAndFilterOptionsContainerProps = {
|
|
2092
2088
|
/** The button row to be displayed at the bottom of the container */
|
|
@@ -2234,4 +2230,4 @@ type ContentDataResourceLocaleInfoProps = {
|
|
|
2234
2230
|
};
|
|
2235
2231
|
declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
|
|
2236
2232
|
|
|
2237
|
-
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_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,
|
|
2233
|
+
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_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, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, 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, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, WORKFLOW_STAGES_OPERATORS, 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, 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
|
@@ -1720,7 +1720,7 @@ declare function useRequestParameter(paramName: string): {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
|
|
1722
1722
|
/** @deprecated beta - Filter editor component names */
|
|
1723
|
-
type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice'
|
|
1723
|
+
type FilterEditor = 'singleChoice' | 'multiChoice' | 'dateRange' | 'date' | 'text' | 'empty' | 'number' | 'numberRange' | 'statusMultiChoice' | 'statusSingleChoice';
|
|
1724
1724
|
/** @deprecated beta - Input option props */
|
|
1725
1725
|
type InputOption = InputOptionGroup | InputOptionValue;
|
|
1726
1726
|
/** @deprecated beta - Input option group props */
|
|
@@ -2073,20 +2073,16 @@ type FilterRowProps = {
|
|
|
2073
2073
|
onValueChange: (e: string | string[]) => void;
|
|
2074
2074
|
/** the list of value options for each filter row */
|
|
2075
2075
|
valueOptions: InputOption[];
|
|
2076
|
-
initialCriteriaTitle?: string;
|
|
2077
2076
|
};
|
|
2078
2077
|
/** @deprecated beta - A filter item component used to display filter options */
|
|
2079
|
-
declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions, onParamChange, onOperatorChange, onValueChange,
|
|
2078
|
+
declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions, onParamChange, onOperatorChange, onValueChange, }: FilterRowProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2080
2079
|
type FilterItemsProps = {
|
|
2081
2080
|
/** The text for the add button */
|
|
2082
2081
|
addButtonText?: string;
|
|
2083
2082
|
additionalFiltersContainer: SearchAndFilterProps['additionalFiltersContainer'];
|
|
2084
|
-
filterTitle?: string;
|
|
2085
|
-
resetButtonText?: string;
|
|
2086
|
-
initialCriteriaTitle?: string;
|
|
2087
2083
|
};
|
|
2088
2084
|
/** @deprecated beta - A filter items component used to display filter options */
|
|
2089
|
-
declare const FilterItems: ({ addButtonText, additionalFiltersContainer,
|
|
2085
|
+
declare const FilterItems: ({ addButtonText, additionalFiltersContainer, }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
2090
2086
|
|
|
2091
2087
|
type SearchAndFilterOptionsContainerProps = {
|
|
2092
2088
|
/** The button row to be displayed at the bottom of the container */
|
|
@@ -2234,4 +2230,4 @@ type ContentDataResourceLocaleInfoProps = {
|
|
|
2234
2230
|
};
|
|
2235
2231
|
declare function useContentDataResourceLocaleInfo({ locale, setLocale, dynamicInputs, }: ContentDataResourceLocaleInfoProps): ContentDataResourceLocaleInfoResult;
|
|
2236
2232
|
|
|
2237
|
-
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_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,
|
|
2233
|
+
export { $createVariableNode, $isVariableNode, type BaseRequestData, type Brand, CHECKBOX_OPERATORS, type ContentDataResourceLocaleInfoProps, type ContentDataResourceLocaleInfoResult, ControlledValuePlugin, DATE_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, FilterItem, FilterItems, type FilterItemsProps, type FilterMapper, FilterMenu, FilterMultiChoiceEditor, type FilterOption, type FilterRowProps, FilterSingleChoiceEditor, type FiltersProps, type GetProductOptions, type GetProductsOptions, INSERT_VARIABLE_COMMAND, index as Icons, type InputOption, InputVariables, type InputVariablesProps, type InsertVariableCommandArguments, type ItemListProps, type KnownUndefinedVariableInfo, type KnownUndefinedVariableInfoWithName, LinkButton, MULTI_SELECT_OPERATORS, MeshApp, type MeshAppProps, type MeshDataVariableDefinition, NUMBER_OPERATORS, type NoResultsProps, NumberEditor, NumberRangeEditor, OPEN_INSERT_VARIABLE_COMMAND, ObjectSearchContainer, type ObjectSearchContainerProps, 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, RequestBody, type RequestContext, type RequestData, RequestHeaders, RequestMethodSelect, type RequestParameter, RequestParameters, type RequestParametersProps, RequestProvider, type RequestProviderProps, RequestTypeContainer, type RequestTypeContainerProps, RequestUrl, RequestUrlInput, ResolvableLoadingValue, SELECT_OPERATORS, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, type SearchQueryProps, type SelectedItemProps, SelectionField, type SelectionFieldValue, type SerializedVariableNode, type SetLocationValueDispatch, type SetLocationValueFunction, SortItems, type SortItemsProps, StatusMultiEditor, StatusSingleEditor, TEXTBOX_OPERATORS, TextEditor, TextVariableRenderer, USER_OPERATORS, type UseVariablesMenu, type UseVariablesMenuInput, VariableEditor, type VariableEditorCompleteEvent, type VariableEditorProps, VariableNode, type VariableNodeState, type VariableSourceGroup, type VariablesAction, type VariablesContext, type VariablesEvents, VariablesList, VariablesPlugin, type VariablesPluginProps, VariablesProvider, type VariablesProviderProps, WORKFLOW_STAGES_OPERATORS, 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, 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
|
@@ -8800,8 +8800,8 @@ var FilterMenu = ({
|
|
|
8800
8800
|
additionalFiltersContainer,
|
|
8801
8801
|
children: [
|
|
8802
8802
|
/* @__PURE__ */ jsxs46(HorizontalRhythm8, { gap: "sm", align: "center", justify: "space-between", children: [
|
|
8803
|
-
|
|
8804
|
-
(filters == null ? void 0 : filters.length)
|
|
8803
|
+
/* @__PURE__ */ jsx84("span", { css: Title, ref: innerMenuRef, tabIndex: 0, children: filterTitle }),
|
|
8804
|
+
(filters == null ? void 0 : filters.length) ? /* @__PURE__ */ jsx84(
|
|
8805
8805
|
"button",
|
|
8806
8806
|
{
|
|
8807
8807
|
type: "button",
|
|
@@ -8830,8 +8830,7 @@ var FilterItem = ({
|
|
|
8830
8830
|
valueOptions,
|
|
8831
8831
|
onParamChange,
|
|
8832
8832
|
onOperatorChange,
|
|
8833
|
-
onValueChange
|
|
8834
|
-
initialCriteriaTitle = "Where"
|
|
8833
|
+
onValueChange
|
|
8835
8834
|
}) => {
|
|
8836
8835
|
var _a, _b;
|
|
8837
8836
|
const { filters, handleDeleteFilter, filterOptions } = useSearchAndFilter();
|
|
@@ -8867,7 +8866,7 @@ var FilterItem = ({
|
|
|
8867
8866
|
isClearable: false
|
|
8868
8867
|
} : {};
|
|
8869
8868
|
return /* @__PURE__ */ jsxs47("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
|
|
8870
|
-
/* @__PURE__ */ jsx85("span", { children: index === 0 ?
|
|
8869
|
+
/* @__PURE__ */ jsx85("span", { children: index === 0 ? "Where" : "and" }),
|
|
8871
8870
|
/* @__PURE__ */ jsxs47("div", { css: ConditionalInputRow, children: [
|
|
8872
8871
|
/* @__PURE__ */ jsx85(
|
|
8873
8872
|
InputComboBox5,
|
|
@@ -8950,10 +8949,7 @@ var FilterItem = ({
|
|
|
8950
8949
|
};
|
|
8951
8950
|
var FilterItems = ({
|
|
8952
8951
|
addButtonText = "add condition",
|
|
8953
|
-
additionalFiltersContainer
|
|
8954
|
-
filterTitle,
|
|
8955
|
-
resetButtonText,
|
|
8956
|
-
initialCriteriaTitle
|
|
8952
|
+
additionalFiltersContainer
|
|
8957
8953
|
}) => {
|
|
8958
8954
|
const { filterOptions, filters, setFilters, handleAddFilter } = useSearchAndFilter();
|
|
8959
8955
|
const handleUpdateFilter = (index, prop, value) => {
|
|
@@ -9006,8 +9002,6 @@ var FilterItems = ({
|
|
|
9006
9002
|
}
|
|
9007
9003
|
),
|
|
9008
9004
|
additionalFiltersContainer,
|
|
9009
|
-
filterTitle,
|
|
9010
|
-
resetButtonText,
|
|
9011
9005
|
children: filters.map((item, i) => {
|
|
9012
9006
|
var _a, _b, _c, _d, _e, _f;
|
|
9013
9007
|
const availableTypeOptions = (_b = (_a = filterOptions.find((fo) => {
|
|
@@ -9025,8 +9019,7 @@ var FilterItems = ({
|
|
|
9025
9019
|
operatorOptions: possibleOperators,
|
|
9026
9020
|
onOperatorChange: (e) => handleUpdateFilter(i, "operator", e),
|
|
9027
9021
|
onValueChange: (e) => handleUpdateFilter(i, "value", e),
|
|
9028
|
-
valueOptions: possibleValueOptions
|
|
9029
|
-
initialCriteriaTitle
|
|
9022
|
+
valueOptions: possibleValueOptions
|
|
9030
9023
|
},
|
|
9031
9024
|
i
|
|
9032
9025
|
);
|
package/dist/index.js
CHANGED
|
@@ -8938,8 +8938,8 @@ var FilterMenu = ({
|
|
|
8938
8938
|
additionalFiltersContainer,
|
|
8939
8939
|
children: [
|
|
8940
8940
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_design_system56.HorizontalRhythm, { gap: "sm", align: "center", justify: "space-between", children: [
|
|
8941
|
-
|
|
8942
|
-
(filters == null ? void 0 : filters.length)
|
|
8941
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { css: Title, ref: innerMenuRef, tabIndex: 0, children: filterTitle }),
|
|
8942
|
+
(filters == null ? void 0 : filters.length) ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
8943
8943
|
"button",
|
|
8944
8944
|
{
|
|
8945
8945
|
type: "button",
|
|
@@ -8968,8 +8968,7 @@ var FilterItem = ({
|
|
|
8968
8968
|
valueOptions,
|
|
8969
8969
|
onParamChange,
|
|
8970
8970
|
onOperatorChange,
|
|
8971
|
-
onValueChange
|
|
8972
|
-
initialCriteriaTitle = "Where"
|
|
8971
|
+
onValueChange
|
|
8973
8972
|
}) => {
|
|
8974
8973
|
var _a, _b;
|
|
8975
8974
|
const { filters, handleDeleteFilter, filterOptions } = useSearchAndFilter();
|
|
@@ -9005,7 +9004,7 @@ var FilterItem = ({
|
|
|
9005
9004
|
isClearable: false
|
|
9006
9005
|
} : {};
|
|
9007
9006
|
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
|
|
9008
|
-
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: index === 0 ?
|
|
9007
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: index === 0 ? "Where" : "and" }),
|
|
9009
9008
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: ConditionalInputRow, children: [
|
|
9010
9009
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
9011
9010
|
import_design_system57.InputComboBox,
|
|
@@ -9088,10 +9087,7 @@ var FilterItem = ({
|
|
|
9088
9087
|
};
|
|
9089
9088
|
var FilterItems = ({
|
|
9090
9089
|
addButtonText = "add condition",
|
|
9091
|
-
additionalFiltersContainer
|
|
9092
|
-
filterTitle,
|
|
9093
|
-
resetButtonText,
|
|
9094
|
-
initialCriteriaTitle
|
|
9090
|
+
additionalFiltersContainer
|
|
9095
9091
|
}) => {
|
|
9096
9092
|
const { filterOptions, filters, setFilters, handleAddFilter } = useSearchAndFilter();
|
|
9097
9093
|
const handleUpdateFilter = (index, prop, value) => {
|
|
@@ -9144,8 +9140,6 @@ var FilterItems = ({
|
|
|
9144
9140
|
}
|
|
9145
9141
|
),
|
|
9146
9142
|
additionalFiltersContainer,
|
|
9147
|
-
filterTitle,
|
|
9148
|
-
resetButtonText,
|
|
9149
9143
|
children: filters.map((item, i) => {
|
|
9150
9144
|
var _a, _b, _c, _d, _e, _f;
|
|
9151
9145
|
const availableTypeOptions = (_b = (_a = filterOptions.find((fo) => {
|
|
@@ -9163,8 +9157,7 @@ var FilterItems = ({
|
|
|
9163
9157
|
operatorOptions: possibleOperators,
|
|
9164
9158
|
onOperatorChange: (e) => handleUpdateFilter(i, "operator", e),
|
|
9165
9159
|
onValueChange: (e) => handleUpdateFilter(i, "value", e),
|
|
9166
|
-
valueOptions: possibleValueOptions
|
|
9167
|
-
initialCriteriaTitle
|
|
9160
|
+
valueOptions: possibleValueOptions
|
|
9168
9161
|
},
|
|
9169
9162
|
i
|
|
9170
9163
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -8800,8 +8800,8 @@ var FilterMenu = ({
|
|
|
8800
8800
|
additionalFiltersContainer,
|
|
8801
8801
|
children: [
|
|
8802
8802
|
/* @__PURE__ */ jsxs46(HorizontalRhythm8, { gap: "sm", align: "center", justify: "space-between", children: [
|
|
8803
|
-
|
|
8804
|
-
(filters == null ? void 0 : filters.length)
|
|
8803
|
+
/* @__PURE__ */ jsx84("span", { css: Title, ref: innerMenuRef, tabIndex: 0, children: filterTitle }),
|
|
8804
|
+
(filters == null ? void 0 : filters.length) ? /* @__PURE__ */ jsx84(
|
|
8805
8805
|
"button",
|
|
8806
8806
|
{
|
|
8807
8807
|
type: "button",
|
|
@@ -8830,8 +8830,7 @@ var FilterItem = ({
|
|
|
8830
8830
|
valueOptions,
|
|
8831
8831
|
onParamChange,
|
|
8832
8832
|
onOperatorChange,
|
|
8833
|
-
onValueChange
|
|
8834
|
-
initialCriteriaTitle = "Where"
|
|
8833
|
+
onValueChange
|
|
8835
8834
|
}) => {
|
|
8836
8835
|
var _a, _b;
|
|
8837
8836
|
const { filters, handleDeleteFilter, filterOptions } = useSearchAndFilter();
|
|
@@ -8867,7 +8866,7 @@ var FilterItem = ({
|
|
|
8867
8866
|
isClearable: false
|
|
8868
8867
|
} : {};
|
|
8869
8868
|
return /* @__PURE__ */ jsxs47("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
|
|
8870
|
-
/* @__PURE__ */ jsx85("span", { children: index === 0 ?
|
|
8869
|
+
/* @__PURE__ */ jsx85("span", { children: index === 0 ? "Where" : "and" }),
|
|
8871
8870
|
/* @__PURE__ */ jsxs47("div", { css: ConditionalInputRow, children: [
|
|
8872
8871
|
/* @__PURE__ */ jsx85(
|
|
8873
8872
|
InputComboBox5,
|
|
@@ -8950,10 +8949,7 @@ var FilterItem = ({
|
|
|
8950
8949
|
};
|
|
8951
8950
|
var FilterItems = ({
|
|
8952
8951
|
addButtonText = "add condition",
|
|
8953
|
-
additionalFiltersContainer
|
|
8954
|
-
filterTitle,
|
|
8955
|
-
resetButtonText,
|
|
8956
|
-
initialCriteriaTitle
|
|
8952
|
+
additionalFiltersContainer
|
|
8957
8953
|
}) => {
|
|
8958
8954
|
const { filterOptions, filters, setFilters, handleAddFilter } = useSearchAndFilter();
|
|
8959
8955
|
const handleUpdateFilter = (index, prop, value) => {
|
|
@@ -9006,8 +9002,6 @@ var FilterItems = ({
|
|
|
9006
9002
|
}
|
|
9007
9003
|
),
|
|
9008
9004
|
additionalFiltersContainer,
|
|
9009
|
-
filterTitle,
|
|
9010
|
-
resetButtonText,
|
|
9011
9005
|
children: filters.map((item, i) => {
|
|
9012
9006
|
var _a, _b, _c, _d, _e, _f;
|
|
9013
9007
|
const availableTypeOptions = (_b = (_a = filterOptions.find((fo) => {
|
|
@@ -9025,8 +9019,7 @@ var FilterItems = ({
|
|
|
9025
9019
|
operatorOptions: possibleOperators,
|
|
9026
9020
|
onOperatorChange: (e) => handleUpdateFilter(i, "operator", e),
|
|
9027
9021
|
onValueChange: (e) => handleUpdateFilter(i, "value", e),
|
|
9028
|
-
valueOptions: possibleValueOptions
|
|
9029
|
-
initialCriteriaTitle
|
|
9022
|
+
valueOptions: possibleValueOptions
|
|
9030
9023
|
},
|
|
9031
9024
|
i
|
|
9032
9025
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.164.0",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK for React",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@lexical/selection": "^0.12.0",
|
|
51
51
|
"@lexical/utils": "^0.12.0",
|
|
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.
|
|
54
|
-
"@uniformdev/design-system": "19.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.
|
|
53
|
+
"@uniformdev/canvas": "19.164.0",
|
|
54
|
+
"@uniformdev/design-system": "19.164.0",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.164.0",
|
|
56
56
|
"dequal": "^2.0.3",
|
|
57
57
|
"lexical": "^0.12.0",
|
|
58
58
|
"mitt": "^3.0.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@emotion/babel-preset-css-prop": "11.11.0",
|
|
73
73
|
"@emotion/react": "11.11.3",
|
|
74
|
-
"@storybook/react": "
|
|
74
|
+
"@storybook/react": "8.0.10",
|
|
75
75
|
"@svgr/cli": "6.5.1",
|
|
76
76
|
"@types/react": "18.2.40",
|
|
77
77
|
"@types/react-beautiful-dnd": "13.1.8",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "016e3b85373592ca9beb19593aa120247b638c06"
|
|
90
90
|
}
|