@reltio/components 1.4.1159 → 1.4.1160

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.
@@ -37,7 +37,7 @@ var FilterSelector_1 = __importDefault(require("./components/FilterSelector/Filt
37
37
  var RowActions_1 = __importDefault(require("./components/RowActions/RowActions"));
38
38
  var QueryBuilderRowsGroup_1 = __importDefault(require("../QueryBuilderRowsGroup/QueryBuilderRowsGroup"));
39
39
  var AttributeSelector_1 = __importDefault(require("./components/AttributeSelector/AttributeSelector"));
40
- var ValueEditor_1 = __importDefault(require("./components/ValueEditor/ValueEditor"));
40
+ var ValuesEditor_1 = __importDefault(require("./components/ValuesEditor/ValuesEditor"));
41
41
  var styles_1 = require("./styles");
42
42
  var EMPTY_FILTER = { fieldName: null, filter: null, values: [] };
43
43
  var Stub = function () { return null; };
@@ -107,6 +107,6 @@ var AttributesFiltersBuilder = function (_a) {
107
107
  var addNewFilter = react_1.useCallback(function (newFilter) {
108
108
  onChange(__spreadArray(__spreadArray([], actualFilters.current), [newFilter]));
109
109
  }, [onChange]);
110
- return (react_1.default.createElement(QueryBuilderRowsGroup_1.default, { rowClasses: rowClasses, rowsData: rowsData, AttributeSelectorComponent: AttributeSelector_1.default, FilterSelectorComponent: FilterSelector_1.default, ValuesEditorComponent: ValueEditor_1.default, ActionsComponent: RowActions_1.default, LogicOperatorComponent: Stub, filterSelectorRefIndex: lastAttributesCountRef.current, filterSelectorRef: attributeFilterRef, lastRowAttributeSelectorProps: lastRowAttributeSelectorProps, attributesGroup: attributeSelectorItems, changeFilter: changeFilter, addNewFilter: addNewFilter, addRowAfterIndex: addRowAfterIndex, removeRow: removeRow, duplicateRow: duplicateRow }));
110
+ return (react_1.default.createElement(QueryBuilderRowsGroup_1.default, { rowClasses: rowClasses, rowsData: rowsData, AttributeSelectorComponent: AttributeSelector_1.default, FilterSelectorComponent: FilterSelector_1.default, ValuesEditorComponent: ValuesEditor_1.default, ActionsComponent: RowActions_1.default, LogicOperatorComponent: Stub, filterSelectorRefIndex: lastAttributesCountRef.current, filterSelectorRef: attributeFilterRef, lastRowAttributeSelectorProps: lastRowAttributeSelectorProps, attributesGroup: attributeSelectorItems, changeFilter: changeFilter, addNewFilter: addNewFilter, addRowAfterIndex: addRowAfterIndex, removeRow: removeRow, duplicateRow: duplicateRow }));
111
111
  };
112
112
  exports.default = react_1.memo(AttributesFiltersBuilder);
@@ -18,6 +18,8 @@ exports.useStyles = styles_1.makeStyles(function () { return ({
18
18
  margin: 0
19
19
  },
20
20
  valuesEditor: {
21
+ display: 'flex',
22
+ alignItems: 'center',
21
23
  width: '222px!important',
22
24
  minHeight: '40px',
23
25
  flexShrink: 0
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "image" | "secondaryLabel" | "item" | "inactive" | "selected" | "avatar" | "clickable" | "info" | "@keyframes animate" | "highlighted" | "justImported" | "businessCard" | "secondRow">;
1
+ export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "item" | "image" | "secondaryLabel" | "inactive" | "selected" | "avatar" | "clickable" | "info" | "@keyframes animate" | "highlighted" | "justImported" | "businessCard" | "secondRow">;
@@ -13,7 +13,7 @@ import FilterSelector from './components/FilterSelector/FilterSelector';
13
13
  import RowActions from './components/RowActions/RowActions';
14
14
  import QueryBuilderRowsGroup from '../QueryBuilderRowsGroup/QueryBuilderRowsGroup';
15
15
  import AttributeSelector from './components/AttributeSelector/AttributeSelector';
16
- import ValueEditor from './components/ValueEditor/ValueEditor';
16
+ import ValuesEditor from './components/ValuesEditor/ValuesEditor';
17
17
  import { useStyles } from './styles';
18
18
  var EMPTY_FILTER = { fieldName: null, filter: null, values: [] };
19
19
  var Stub = function () { return null; };
@@ -83,6 +83,6 @@ var AttributesFiltersBuilder = function (_a) {
83
83
  var addNewFilter = useCallback(function (newFilter) {
84
84
  onChange(__spreadArray(__spreadArray([], actualFilters.current), [newFilter]));
85
85
  }, [onChange]);
86
- return (React.createElement(QueryBuilderRowsGroup, { rowClasses: rowClasses, rowsData: rowsData, AttributeSelectorComponent: AttributeSelector, FilterSelectorComponent: FilterSelector, ValuesEditorComponent: ValueEditor, ActionsComponent: RowActions, LogicOperatorComponent: Stub, filterSelectorRefIndex: lastAttributesCountRef.current, filterSelectorRef: attributeFilterRef, lastRowAttributeSelectorProps: lastRowAttributeSelectorProps, attributesGroup: attributeSelectorItems, changeFilter: changeFilter, addNewFilter: addNewFilter, addRowAfterIndex: addRowAfterIndex, removeRow: removeRow, duplicateRow: duplicateRow }));
86
+ return (React.createElement(QueryBuilderRowsGroup, { rowClasses: rowClasses, rowsData: rowsData, AttributeSelectorComponent: AttributeSelector, FilterSelectorComponent: FilterSelector, ValuesEditorComponent: ValuesEditor, ActionsComponent: RowActions, LogicOperatorComponent: Stub, filterSelectorRefIndex: lastAttributesCountRef.current, filterSelectorRef: attributeFilterRef, lastRowAttributeSelectorProps: lastRowAttributeSelectorProps, attributesGroup: attributeSelectorItems, changeFilter: changeFilter, addNewFilter: addNewFilter, addRowAfterIndex: addRowAfterIndex, removeRow: removeRow, duplicateRow: duplicateRow }));
87
87
  };
88
88
  export default memo(AttributesFiltersBuilder);
@@ -15,6 +15,8 @@ export var useStyles = makeStyles(function () { return ({
15
15
  margin: 0
16
16
  },
17
17
  valuesEditor: {
18
+ display: 'flex',
19
+ alignItems: 'center',
18
20
  width: '222px!important',
19
21
  minHeight: '40px',
20
22
  flexShrink: 0
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "image" | "secondaryLabel" | "item" | "inactive" | "selected" | "avatar" | "clickable" | "info" | "@keyframes animate" | "highlighted" | "justImported" | "businessCard" | "secondRow">;
1
+ export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "item" | "image" | "secondaryLabel" | "inactive" | "selected" | "avatar" | "clickable" | "info" | "@keyframes animate" | "highlighted" | "justImported" | "businessCard" | "secondRow">;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1159",
3
+ "version": "1.4.1160",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",
7
7
  "dependencies": {
8
8
  "@date-io/moment": "^1.3.5",
9
9
  "@react-google-maps/api": "2.7.0",
10
- "@reltio/mdm-module": "^1.4.1159",
11
- "@reltio/mdm-sdk": "^1.4.1159",
10
+ "@reltio/mdm-module": "^1.4.1160",
11
+ "@reltio/mdm-sdk": "^1.4.1160",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",