@reltio/components 1.4.1853 → 1.4.1855

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.
Files changed (171) hide show
  1. package/cjs/AttributesFiltersBuilder/AttributesFiltersBuilder.js +1 -1
  2. package/cjs/ConnectionEditor/ConnectionEditor.d.ts +3 -3
  3. package/cjs/ConnectionEditor/ConnectionEditor.test.js +2 -2
  4. package/cjs/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.d.ts +14 -34
  5. package/cjs/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.js +1 -20
  6. package/cjs/DependentLookupEditor/DependentLookupEditor.d.ts +27 -44
  7. package/cjs/DependentLookupEditor/DependentLookupEditor.js +3 -21
  8. package/cjs/DropDownEditor/DropDownEditor.d.ts +14 -15
  9. package/cjs/DropDownEditor/DropDownEditor.js +0 -6
  10. package/cjs/EditModeAttributesList/EditModeAttributesList.d.ts +14 -3
  11. package/cjs/EditModeAttributesList/EditModeAttributesList.js +0 -20
  12. package/cjs/EditModeAttributesPager/EditModeAttributesPager.d.ts +3 -2
  13. package/cjs/EditModeAttributesPager/components/AttributeRenderer/AttributeRenderer.d.ts +2 -3
  14. package/cjs/EditModeAttributesPager/types.d.ts +7 -6
  15. package/cjs/EditModeComplexAttribute/EditModeComplexAttribute.d.ts +41 -4
  16. package/cjs/EditModeComplexAttribute/EditModeComplexAttribute.js +6 -17
  17. package/cjs/EditModeComplexAttribute/index.d.ts +1 -0
  18. package/cjs/EntitySelector/EntitySelector.d.ts +19 -31
  19. package/cjs/EntitySelector/EntitySelector.js +0 -14
  20. package/cjs/EntitySelector/components/EntityOption/EntityOption.d.ts +17 -22
  21. package/cjs/EntitySelector/components/EntityOption/EntityOption.js +0 -18
  22. package/cjs/ErrorWrapper/ErrorWrapper.d.ts +2 -2
  23. package/cjs/FilterEditor/FilterEditor.d.ts +16 -23
  24. package/cjs/FilterEditor/FilterEditor.js +2 -14
  25. package/cjs/FilterValueEditor/FilterValueEditor.d.ts +14 -24
  26. package/cjs/FilterValueEditor/FilterValueEditor.js +0 -9
  27. package/cjs/HOCs/withFilter/ColumnFilter.js +1 -1
  28. package/cjs/LookupEditor/LookupEditor.d.ts +11 -33
  29. package/cjs/LookupEditor/LookupEditor.js +1 -14
  30. package/cjs/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.d.ts +11 -21
  31. package/cjs/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.js +0 -7
  32. package/cjs/LookupEditor/components/GroupedDropDownEditor/helpers.d.ts +9 -2
  33. package/cjs/LookupEditor/components/GroupedDropDownEditor/helpers.js +7 -7
  34. package/cjs/LookupEditor/components/GroupedDropDownEditor/styles.d.ts +1 -1
  35. package/cjs/NestedAttribute/NestedAttribute.d.ts +4 -124
  36. package/cjs/NestedAttribute/NestedAttribute.js +0 -1
  37. package/cjs/NestedAttributeEditor/NestedAttributeEditor.d.ts +5 -1
  38. package/cjs/NestedAttributeEditor/NestedAttributeEditor.js +0 -1
  39. package/cjs/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.d.ts +14 -44
  40. package/cjs/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.js +0 -12
  41. package/cjs/ReadOnlyComplexAttribute/index.d.ts +1 -0
  42. package/cjs/ReferenceAttribute/ReferenceAttribute.d.ts +3 -24
  43. package/cjs/ReferenceAttribute/ReferenceAttribute.test.js +2 -2
  44. package/cjs/ReferenceAttributeEditor/ReferenceAttributeEditor.d.ts +5 -2
  45. package/cjs/ReferenceAttributeEditor/ReferenceAttributeEditor.js +2 -3
  46. package/cjs/RelationTypeSelector/RelationTypeSelector.d.ts +9 -26
  47. package/cjs/RelationTypeSelector/RelationTypeSelector.js +2 -14
  48. package/cjs/SaveSegmentDialog/SaveSegmentDialog.d.ts +3 -1
  49. package/cjs/SaveSegmentDialog/SaveSegmentDialog.js +9 -6
  50. package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +39 -16
  51. package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.js +0 -17
  52. package/cjs/SimpleAttributeEditor/useAttributeValuePermissions.d.ts +1 -1
  53. package/cjs/components/ImageDetailsView/helpers/index.d.ts +5 -2
  54. package/cjs/components/ImportButton/ImportButton.d.ts +2 -1
  55. package/cjs/components/MultipliableSelect/MultipliableSelect.d.ts +20 -30
  56. package/cjs/components/MultipliableSelect/MultipliableSelect.js +0 -15
  57. package/cjs/components/ProfileBand/styles.d.ts +1 -1
  58. package/cjs/components/QueryBuilderRow/QueryBuilderRow.d.ts +43 -107
  59. package/cjs/components/QueryBuilderRow/QueryBuilderRow.js +0 -25
  60. package/cjs/components/QueryBuilderRow/components/ReadOnlyFilter.d.ts +4 -3
  61. package/cjs/components/QueryBuilderRow/components/ReadOnlyLogicOperator.d.ts +4 -10
  62. package/cjs/components/QueryBuilderRow/components/ReadOnlyLogicOperator.js +1 -6
  63. package/cjs/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.d.ts +33 -64
  64. package/cjs/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.js +3 -51
  65. package/cjs/components/ReactSelect/AsyncSelect.d.ts +0 -45
  66. package/cjs/components/ReactSelect/CreatableSelect.d.ts +0 -45
  67. package/cjs/components/ReactSelect/Select.d.ts +0 -45
  68. package/cjs/components/ReactSelect/withMuiSkin.d.ts +3 -48
  69. package/cjs/components/ReactSelect/withMuiSkin.js +0 -50
  70. package/cjs/components/ReactSortableTree/node-renderer-default.d.ts +2 -2
  71. package/cjs/components/ReadableSearchQuery/ReadableSearchQuery.d.ts +2 -4
  72. package/cjs/components/SearchInput/SearchInput.d.ts +1 -1
  73. package/cjs/components/SelectionPopup/SelectionPopup.d.ts +1 -1
  74. package/cjs/constants/index.d.ts +1 -1
  75. package/cjs/constants/index.js +1 -4
  76. package/cjs/constants/prop-types.d.ts +0 -81
  77. package/cjs/constants/prop-types.js +17 -46
  78. package/cjs/constants/textField.d.ts +2 -2
  79. package/cjs/contexts/ScrollToElementContext/index.d.ts +1 -1
  80. package/cjs/helpers/basicTable.d.ts +2 -7
  81. package/cjs/hooks/useRelationTypeSelector.d.ts +12 -8
  82. package/cjs/hooks/useRelationTypeSelector.js +3 -1
  83. package/cjs/hooks/useSavedSearchesRequest/useSavedSearchesRequest.d.ts +1 -1
  84. package/cjs/hooks/useSavedSearchesRequest/useSavedSearchesRequest.js +7 -3
  85. package/cjs/types/index.d.ts +19 -2
  86. package/esm/AttributesFiltersBuilder/AttributesFiltersBuilder.js +1 -1
  87. package/esm/ConnectionEditor/ConnectionEditor.d.ts +3 -3
  88. package/esm/ConnectionEditor/ConnectionEditor.test.js +2 -2
  89. package/esm/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.d.ts +14 -34
  90. package/esm/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.js +1 -17
  91. package/esm/DependentLookupEditor/DependentLookupEditor.d.ts +27 -44
  92. package/esm/DependentLookupEditor/DependentLookupEditor.js +4 -22
  93. package/esm/DropDownEditor/DropDownEditor.d.ts +14 -15
  94. package/esm/DropDownEditor/DropDownEditor.js +0 -6
  95. package/esm/EditModeAttributesList/EditModeAttributesList.d.ts +14 -3
  96. package/esm/EditModeAttributesList/EditModeAttributesList.js +1 -21
  97. package/esm/EditModeAttributesPager/EditModeAttributesPager.d.ts +3 -2
  98. package/esm/EditModeAttributesPager/components/AttributeRenderer/AttributeRenderer.d.ts +2 -3
  99. package/esm/EditModeAttributesPager/types.d.ts +7 -6
  100. package/esm/EditModeComplexAttribute/EditModeComplexAttribute.d.ts +41 -4
  101. package/esm/EditModeComplexAttribute/EditModeComplexAttribute.js +7 -18
  102. package/esm/EditModeComplexAttribute/index.d.ts +1 -0
  103. package/esm/EntitySelector/EntitySelector.d.ts +19 -31
  104. package/esm/EntitySelector/EntitySelector.js +1 -15
  105. package/esm/EntitySelector/components/EntityOption/EntityOption.d.ts +17 -22
  106. package/esm/EntitySelector/components/EntityOption/EntityOption.js +0 -18
  107. package/esm/ErrorWrapper/ErrorWrapper.d.ts +2 -2
  108. package/esm/FilterEditor/FilterEditor.d.ts +16 -23
  109. package/esm/FilterEditor/FilterEditor.js +3 -15
  110. package/esm/FilterValueEditor/FilterValueEditor.d.ts +14 -24
  111. package/esm/FilterValueEditor/FilterValueEditor.js +1 -10
  112. package/esm/HOCs/withFilter/ColumnFilter.js +1 -1
  113. package/esm/LookupEditor/LookupEditor.d.ts +11 -33
  114. package/esm/LookupEditor/LookupEditor.js +1 -11
  115. package/esm/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.d.ts +11 -21
  116. package/esm/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.js +0 -7
  117. package/esm/LookupEditor/components/GroupedDropDownEditor/helpers.d.ts +9 -2
  118. package/esm/LookupEditor/components/GroupedDropDownEditor/helpers.js +7 -7
  119. package/esm/LookupEditor/components/GroupedDropDownEditor/styles.d.ts +1 -1
  120. package/esm/NestedAttribute/NestedAttribute.d.ts +4 -124
  121. package/esm/NestedAttribute/NestedAttribute.js +1 -2
  122. package/esm/NestedAttributeEditor/NestedAttributeEditor.d.ts +5 -1
  123. package/esm/NestedAttributeEditor/NestedAttributeEditor.js +1 -2
  124. package/esm/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.d.ts +14 -44
  125. package/esm/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.js +1 -13
  126. package/esm/ReadOnlyComplexAttribute/index.d.ts +1 -0
  127. package/esm/ReferenceAttribute/ReferenceAttribute.d.ts +3 -24
  128. package/esm/ReferenceAttribute/ReferenceAttribute.test.js +2 -2
  129. package/esm/ReferenceAttributeEditor/ReferenceAttributeEditor.d.ts +5 -2
  130. package/esm/ReferenceAttributeEditor/ReferenceAttributeEditor.js +3 -4
  131. package/esm/RelationTypeSelector/RelationTypeSelector.d.ts +9 -26
  132. package/esm/RelationTypeSelector/RelationTypeSelector.js +2 -14
  133. package/esm/SaveSegmentDialog/SaveSegmentDialog.d.ts +3 -1
  134. package/esm/SaveSegmentDialog/SaveSegmentDialog.js +9 -6
  135. package/esm/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +39 -16
  136. package/esm/SimpleAttributeEditor/SimpleAttributeEditor.js +1 -18
  137. package/esm/SimpleAttributeEditor/useAttributeValuePermissions.d.ts +1 -1
  138. package/esm/components/ImageDetailsView/helpers/index.d.ts +5 -2
  139. package/esm/components/ImportButton/ImportButton.d.ts +2 -1
  140. package/esm/components/MultipliableSelect/MultipliableSelect.d.ts +20 -30
  141. package/esm/components/MultipliableSelect/MultipliableSelect.js +0 -15
  142. package/esm/components/ProfileBand/styles.d.ts +1 -1
  143. package/esm/components/QueryBuilderRow/QueryBuilderRow.d.ts +43 -107
  144. package/esm/components/QueryBuilderRow/QueryBuilderRow.js +0 -25
  145. package/esm/components/QueryBuilderRow/components/ReadOnlyFilter.d.ts +4 -3
  146. package/esm/components/QueryBuilderRow/components/ReadOnlyLogicOperator.d.ts +4 -10
  147. package/esm/components/QueryBuilderRow/components/ReadOnlyLogicOperator.js +1 -6
  148. package/esm/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.d.ts +33 -64
  149. package/esm/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.js +3 -28
  150. package/esm/components/ReactSelect/AsyncSelect.d.ts +0 -45
  151. package/esm/components/ReactSelect/CreatableSelect.d.ts +0 -45
  152. package/esm/components/ReactSelect/Select.d.ts +0 -45
  153. package/esm/components/ReactSelect/withMuiSkin.d.ts +3 -48
  154. package/esm/components/ReactSelect/withMuiSkin.js +0 -50
  155. package/esm/components/ReactSortableTree/node-renderer-default.d.ts +2 -2
  156. package/esm/components/ReadableSearchQuery/ReadableSearchQuery.d.ts +2 -4
  157. package/esm/components/SearchInput/SearchInput.d.ts +1 -1
  158. package/esm/components/SelectionPopup/SelectionPopup.d.ts +1 -1
  159. package/esm/constants/index.d.ts +1 -1
  160. package/esm/constants/index.js +1 -1
  161. package/esm/constants/prop-types.d.ts +0 -81
  162. package/esm/constants/prop-types.js +17 -38
  163. package/esm/constants/textField.d.ts +2 -2
  164. package/esm/contexts/ScrollToElementContext/index.d.ts +1 -1
  165. package/esm/helpers/basicTable.d.ts +2 -7
  166. package/esm/hooks/useRelationTypeSelector.d.ts +12 -8
  167. package/esm/hooks/useRelationTypeSelector.js +3 -1
  168. package/esm/hooks/useSavedSearchesRequest/useSavedSearchesRequest.d.ts +1 -1
  169. package/esm/hooks/useSavedSearchesRequest/useSavedSearchesRequest.js +8 -4
  170. package/esm/types/index.d.ts +19 -2
  171. package/package.json +2 -2
@@ -38,11 +38,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
40
  var react_1 = __importStar(require("react"));
41
- var prop_types_1 = __importDefault(require("prop-types"));
42
41
  var classnames_1 = __importDefault(require("classnames"));
43
42
  var ReadOnlyLogicOperator_1 = __importDefault(require("./components/ReadOnlyLogicOperator"));
44
43
  var ReadOnlyFilter_1 = __importDefault(require("./components/ReadOnlyFilter"));
45
- var constants_1 = require("../../constants");
46
44
  var styles_1 = __importDefault(require("./styles"));
47
45
  var QueryBuilderRow = function (_a) {
48
46
  var _b;
@@ -59,27 +57,4 @@ var QueryBuilderRow = function (_a) {
59
57
  react_1.default.createElement("div", { className: (0, classnames_1.default)(styles.rowItem, classes.actionsContainer, (_b = {}, _b[styles.hidden] = !rowData, _b)) },
60
58
  react_1.default.createElement(ActionsComponent, { rowContext: rowContext, rowData: rowData }))));
61
59
  };
62
- QueryBuilderRow.propTypes = {
63
- classes: prop_types_1.default.shape({
64
- root: prop_types_1.default.string,
65
- logicOperatorContainer: prop_types_1.default.string,
66
- attributeSelectorContainer: prop_types_1.default.string,
67
- filterSelectorContainer: prop_types_1.default.string,
68
- valuesEditorContainer: prop_types_1.default.string,
69
- actionsContainer: prop_types_1.default.string
70
- }),
71
- rowData: constants_1.QueryBuilderAttributeType,
72
- previousRowData: constants_1.QueryBuilderAttributeType,
73
- LogicOperatorComponent: prop_types_1.default.elementType,
74
- AttributeSelectorComponent: prop_types_1.default.elementType,
75
- FilterSelectorComponent: prop_types_1.default.elementType,
76
- ValuesEditorComponent: prop_types_1.default.elementType,
77
- ActionsComponent: prop_types_1.default.elementType,
78
- filterSelectorRef: prop_types_1.default.object,
79
- attributeSelectorProps: prop_types_1.default.shape({
80
- onRestoreFocus: prop_types_1.default.func,
81
- onOpen: prop_types_1.default.func,
82
- disablePopoverRestoreFocus: prop_types_1.default.bool
83
- })
84
- };
85
60
  exports.default = (0, react_1.memo)(QueryBuilderRow);
@@ -1,7 +1,8 @@
1
- import { QueryBuilderAttribute } from '../../../types';
2
1
  type Props = {
3
- className: string;
4
- rowData: QueryBuilderAttribute;
2
+ className?: string;
3
+ rowData: {
4
+ filter?: string;
5
+ };
5
6
  };
6
7
  declare const ReadOnlyFilter: ({ className, rowData }: Props) => JSX.Element;
7
8
  export default ReadOnlyFilter;
@@ -1,14 +1,8 @@
1
- import PropTypes from 'prop-types';
2
- import { QueryBuilderAttribute } from '../../../types';
3
1
  type Props = {
4
- className: string;
5
- rowData: QueryBuilderAttribute;
6
- };
7
- declare const ReadOnlyLogicOperator: {
8
- ({ className, rowData }: Props): JSX.Element;
9
- propTypes: {
10
- className: PropTypes.Requireable<string>;
11
- rowData: PropTypes.Requireable<object>;
2
+ className?: string;
3
+ rowData: {
4
+ operator?: string;
12
5
  };
13
6
  };
7
+ declare const ReadOnlyLogicOperator: ({ className, rowData }: Props) => JSX.Element;
14
8
  export default ReadOnlyLogicOperator;
@@ -4,18 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var react_1 = __importDefault(require("react"));
7
- var prop_types_1 = __importDefault(require("prop-types"));
8
7
  var classnames_1 = __importDefault(require("classnames"));
9
8
  var ui_i18n_1 = __importDefault(require("ui-i18n"));
10
- var styles_1 = __importDefault(require("./styles"));
11
9
  var utils_1 = require("@mui/material/utils");
10
+ var styles_1 = __importDefault(require("./styles"));
12
11
  var ReadOnlyLogicOperator = function (_a) {
13
12
  var className = _a.className, rowData = _a.rowData;
14
13
  var styles = (0, styles_1.default)();
15
14
  return (react_1.default.createElement("div", { className: (0, classnames_1.default)(styles.readOnlyLogicOperatorContainer, className) }, rowData && rowData.operator ? (0, utils_1.capitalize)(rowData.operator) : ui_i18n_1.default.text('Where')));
16
15
  };
17
- ReadOnlyLogicOperator.propTypes = {
18
- className: prop_types_1.default.string,
19
- rowData: prop_types_1.default.object
20
- };
21
16
  exports.default = ReadOnlyLogicOperator;
@@ -1,66 +1,35 @@
1
- declare const _default: React.MemoExoticComponent<{
2
- ({ className, rowClasses, rowsData, lastRowAttributeSelectorProps, filterSelectorRef, filterSelectorRefIndex, ...rowProps }: {
3
- [x: string]: any;
4
- className?: any;
5
- rowClasses: any;
6
- rowsData: any;
7
- lastRowAttributeSelectorProps: any;
8
- filterSelectorRef: any;
9
- filterSelectorRefIndex: any;
10
- }): JSX.Element;
11
- propTypes: {
12
- className: PropTypes.Requireable<string>;
13
- rowClasses: PropTypes.Requireable<PropTypes.InferProps<{
14
- root: PropTypes.Requireable<string>;
15
- logicOperatorContainer: PropTypes.Requireable<string>;
16
- attributeSelectorContainer: PropTypes.Requireable<string>;
17
- filterSelectorContainer: PropTypes.Requireable<string>;
18
- valuesEditorContainer: PropTypes.Requireable<string>;
19
- actionsContainer: PropTypes.Requireable<string>;
20
- }>>;
21
- rowsData: PropTypes.Requireable<PropTypes.InferProps<{
22
- id: PropTypes.Requireable<NonNullable<string | number>>;
23
- values: PropTypes.Requireable<any[]>;
24
- data: PropTypes.Requireable<PropTypes.InferProps<{
25
- title: PropTypes.Requireable<string>;
26
- pathToTitle: PropTypes.Requireable<string[]>;
27
- fieldName: PropTypes.Requireable<string>;
28
- entityTypeUri: PropTypes.Requireable<string>;
29
- attrType: PropTypes.Requireable<PropTypes.InferProps<{
30
- label: PropTypes.Requireable<string>;
31
- name: PropTypes.Requireable<string>;
32
- description: PropTypes.Requireable<string>;
33
- type: PropTypes.Requireable<string>;
34
- hidden: PropTypes.Requireable<boolean>;
35
- faceted: PropTypes.Requireable<boolean>;
36
- searchable: PropTypes.Requireable<boolean>;
37
- uri: PropTypes.Requireable<string>;
38
- access: PropTypes.Requireable<string[]>;
39
- cardinality: PropTypes.Requireable<PropTypes.InferProps<{
40
- minValue: PropTypes.Requireable<number>;
41
- maxValue: PropTypes.Requireable<number>;
42
- }>>;
43
- }>>;
44
- uri: PropTypes.Requireable<string>;
45
- groupName: PropTypes.Requireable<string>;
46
- }>>;
47
- filter: PropTypes.Requireable<string>;
48
- operator: PropTypes.Requireable<string>;
49
- }>[]>;
50
- LogicOperatorComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
51
- AttributeSelectorComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
52
- FilterSelectorComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
53
- ValuesEditorComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
54
- ActionsComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
55
- filterSelectorRef: PropTypes.Requireable<object>;
56
- filterSelectorRefIndex: PropTypes.Requireable<number>;
57
- lastRowAttributeSelectorProps: PropTypes.Requireable<PropTypes.InferProps<{
58
- onRestoreFocus: PropTypes.Requireable<(...args: any[]) => any>;
59
- onOpen: PropTypes.Requireable<(...args: any[]) => any>;
60
- disablePopoverRestoreFocus: PropTypes.Requireable<boolean>;
61
- }>>;
1
+ import { ForwardedRef } from 'react';
2
+ import { Metadata, Optional } from '@reltio/mdm-sdk';
3
+ import { QueryBuilderAttribute } from '../../types';
4
+ import { Props as QueryBuilderRowProps } from '../QueryBuilderRow/QueryBuilderRow';
5
+ type QueryBuilderRowClasses = {
6
+ root?: string;
7
+ logicOperatorContainer?: string;
8
+ attributeSelectorContainer?: string;
9
+ filterSelectorContainer?: string;
10
+ valuesEditorContainer?: string;
11
+ actionsContainer?: string;
12
+ };
13
+ type Props<T, U extends Record<string, unknown>> = {
14
+ className?: string;
15
+ rowClasses?: QueryBuilderRowClasses;
16
+ rowsData: Optional<QueryBuilderAttribute, 'data'>[];
17
+ LogicOperatorComponent?: QueryBuilderRowProps<T, U>['LogicOperatorComponent'];
18
+ AttributeSelectorComponent: QueryBuilderRowProps<T, U>['AttributeSelectorComponent'];
19
+ FilterSelectorComponent: QueryBuilderRowProps<T, U>['FilterSelectorComponent'];
20
+ ValuesEditorComponent: QueryBuilderRowProps<T, U>['ValuesEditorComponent'];
21
+ ActionsComponent: QueryBuilderRowProps<T, U>['ActionsComponent'];
22
+ filterSelectorRef?: ForwardedRef<HTMLInputElement>;
23
+ filterSelectorRefIndex?: number;
24
+ lastRowAttributeSelectorProps?: {
25
+ onRestoreFocus?: () => void;
26
+ onOpen?: () => void;
27
+ disablePopoverRestoreFocus?: boolean;
62
28
  };
63
- }>;
29
+ entityTypeUri?: string;
30
+ dispatchGroupAction?: (action: () => void, attributeId: string, selectInfo: string) => void;
31
+ metadata?: Metadata;
32
+ [key: string]: unknown;
33
+ };
34
+ declare const _default: <T, U extends Record<string, unknown>>({ className, rowClasses, rowsData, lastRowAttributeSelectorProps, filterSelectorRef, filterSelectorRefIndex, ...rowProps }: Props<T, U>) => JSX.Element;
64
35
  export default _default;
65
- import PropTypes from 'prop-types';
66
- import React from 'react';
@@ -10,29 +10,6 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
13
  var __rest = (this && this.__rest) || function (s, e) {
37
14
  var t = {};
38
15
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -48,11 +25,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
48
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
49
26
  };
50
27
  Object.defineProperty(exports, "__esModule", { value: true });
51
- var react_1 = __importStar(require("react"));
52
- var prop_types_1 = __importDefault(require("prop-types"));
53
28
  var ramda_1 = require("ramda");
29
+ var react_1 = __importDefault(require("react"));
54
30
  var QueryBuilderRow_1 = __importDefault(require("../QueryBuilderRow/QueryBuilderRow"));
55
- var constants_1 = require("../../constants");
56
31
  var QueryBuilderRowsGroup = function (_a) {
57
32
  var _b = _a.className, className = _b === void 0 ? undefined : _b, rowClasses = _a.rowClasses, rowsData = _a.rowsData, lastRowAttributeSelectorProps = _a.lastRowAttributeSelectorProps, filterSelectorRef = _a.filterSelectorRef, filterSelectorRefIndex = _a.filterSelectorRefIndex, rowProps = __rest(_a, ["className", "rowClasses", "rowsData", "lastRowAttributeSelectorProps", "filterSelectorRef", "filterSelectorRefIndex"]);
58
33
  var renderRow = function (rowData, index, rowsData) {
@@ -68,28 +43,5 @@ var QueryBuilderRowsGroup = function (_a) {
68
43
  rowsData.map(renderRow),
69
44
  renderRow(null, rowsData.length, rowsData)));
70
45
  };
71
- QueryBuilderRowsGroup.propTypes = {
72
- className: prop_types_1.default.string,
73
- rowClasses: prop_types_1.default.shape({
74
- root: prop_types_1.default.string,
75
- logicOperatorContainer: prop_types_1.default.string,
76
- attributeSelectorContainer: prop_types_1.default.string,
77
- filterSelectorContainer: prop_types_1.default.string,
78
- valuesEditorContainer: prop_types_1.default.string,
79
- actionsContainer: prop_types_1.default.string
80
- }),
81
- rowsData: prop_types_1.default.arrayOf(constants_1.QueryBuilderAttributeType),
82
- LogicOperatorComponent: prop_types_1.default.elementType,
83
- AttributeSelectorComponent: prop_types_1.default.elementType,
84
- FilterSelectorComponent: prop_types_1.default.elementType,
85
- ValuesEditorComponent: prop_types_1.default.elementType,
86
- ActionsComponent: prop_types_1.default.elementType,
87
- filterSelectorRef: prop_types_1.default.object,
88
- filterSelectorRefIndex: prop_types_1.default.number,
89
- lastRowAttributeSelectorProps: prop_types_1.default.shape({
90
- onRestoreFocus: prop_types_1.default.func,
91
- onOpen: prop_types_1.default.func,
92
- disablePopoverRestoreFocus: prop_types_1.default.bool
93
- })
94
- };
95
- exports.default = (0, react_1.memo)(QueryBuilderRowsGroup);
46
+ var typedMemo = react_1.default.memo;
47
+ exports.default = typedMemo(QueryBuilderRowsGroup);
@@ -5,50 +5,5 @@ declare const _default: {
5
5
  components: {};
6
6
  classes: {};
7
7
  };
8
- propTypes: {
9
- components: import("prop-types").Requireable<import("prop-types").InferProps<{
10
- ClearIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
11
- Control: import("prop-types").Requireable<(...args: any[]) => any>;
12
- DropdownIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
13
- DownChevron: import("prop-types").Requireable<(...args: any[]) => any>;
14
- CrossIcon: import("prop-types").Requireable<(...args: any[]) => any>;
15
- Group: import("prop-types").Requireable<(...args: any[]) => any>;
16
- GroupHeading: import("prop-types").Requireable<(...args: any[]) => any>;
17
- IndicatorsContainer: import("prop-types").Requireable<(...args: any[]) => any>;
18
- IndicatorSeparator: import("prop-types").Requireable<(...args: any[]) => any>;
19
- Input: import("prop-types").Requireable<(...args: any[]) => any>;
20
- LoadingIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
21
- Menu: import("prop-types").Requireable<(...args: any[]) => any>;
22
- MenuList: import("prop-types").Requireable<(...args: any[]) => any>;
23
- MenuPortal: import("prop-types").Requireable<(...args: any[]) => any>;
24
- LoadingMessage: import("prop-types").Requireable<(...args: any[]) => any>;
25
- NoOptionsMessage: import("prop-types").Requireable<(...args: any[]) => any>;
26
- MultiValue: import("prop-types").Requireable<(...args: any[]) => any>;
27
- MultiValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
28
- MultiValueLabel: import("prop-types").Requireable<(...args: any[]) => any>;
29
- MultiValueRemove: import("prop-types").Requireable<(...args: any[]) => any>;
30
- Option: import("prop-types").Requireable<(...args: any[]) => any>;
31
- Placeholder: import("prop-types").Requireable<(...args: any[]) => any>;
32
- SelectContainer: import("prop-types").Requireable<(...args: any[]) => any>;
33
- SingleValue: import("prop-types").Requireable<(...args: any[]) => any>;
34
- ValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
35
- }>>;
36
- classes: import("prop-types").Requireable<import("prop-types").InferProps<{
37
- control: import("prop-types").Requireable<string>;
38
- valueContainer: import("prop-types").Requireable<string>;
39
- multiValue: import("prop-types").Requireable<string>;
40
- noOptionsMessage: import("prop-types").Requireable<string>;
41
- singleValue: import("prop-types").Requireable<string>;
42
- placeholder: import("prop-types").Requireable<string>;
43
- menu: import("prop-types").Requireable<string>;
44
- clearIndicator: import("prop-types").Requireable<string>;
45
- dropdownIndicator: import("prop-types").Requireable<string>;
46
- option: import("prop-types").Requireable<string>;
47
- 'option--selected': import("prop-types").Requireable<string>;
48
- }>>;
49
- TextFieldProps: import("prop-types").Requireable<object>;
50
- error: import("prop-types").Requireable<boolean>;
51
- innerRef: import("prop-types").Requireable<object>;
52
- };
53
8
  };
54
9
  export default _default;
@@ -5,50 +5,5 @@ declare const _default: {
5
5
  components: {};
6
6
  classes: {};
7
7
  };
8
- propTypes: {
9
- components: import("prop-types").Requireable<import("prop-types").InferProps<{
10
- ClearIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
11
- Control: import("prop-types").Requireable<(...args: any[]) => any>;
12
- DropdownIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
13
- DownChevron: import("prop-types").Requireable<(...args: any[]) => any>;
14
- CrossIcon: import("prop-types").Requireable<(...args: any[]) => any>;
15
- Group: import("prop-types").Requireable<(...args: any[]) => any>;
16
- GroupHeading: import("prop-types").Requireable<(...args: any[]) => any>;
17
- IndicatorsContainer: import("prop-types").Requireable<(...args: any[]) => any>;
18
- IndicatorSeparator: import("prop-types").Requireable<(...args: any[]) => any>;
19
- Input: import("prop-types").Requireable<(...args: any[]) => any>;
20
- LoadingIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
21
- Menu: import("prop-types").Requireable<(...args: any[]) => any>;
22
- MenuList: import("prop-types").Requireable<(...args: any[]) => any>;
23
- MenuPortal: import("prop-types").Requireable<(...args: any[]) => any>;
24
- LoadingMessage: import("prop-types").Requireable<(...args: any[]) => any>;
25
- NoOptionsMessage: import("prop-types").Requireable<(...args: any[]) => any>;
26
- MultiValue: import("prop-types").Requireable<(...args: any[]) => any>;
27
- MultiValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
28
- MultiValueLabel: import("prop-types").Requireable<(...args: any[]) => any>;
29
- MultiValueRemove: import("prop-types").Requireable<(...args: any[]) => any>;
30
- Option: import("prop-types").Requireable<(...args: any[]) => any>;
31
- Placeholder: import("prop-types").Requireable<(...args: any[]) => any>;
32
- SelectContainer: import("prop-types").Requireable<(...args: any[]) => any>;
33
- SingleValue: import("prop-types").Requireable<(...args: any[]) => any>;
34
- ValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
35
- }>>;
36
- classes: import("prop-types").Requireable<import("prop-types").InferProps<{
37
- control: import("prop-types").Requireable<string>;
38
- valueContainer: import("prop-types").Requireable<string>;
39
- multiValue: import("prop-types").Requireable<string>;
40
- noOptionsMessage: import("prop-types").Requireable<string>;
41
- singleValue: import("prop-types").Requireable<string>;
42
- placeholder: import("prop-types").Requireable<string>;
43
- menu: import("prop-types").Requireable<string>;
44
- clearIndicator: import("prop-types").Requireable<string>;
45
- dropdownIndicator: import("prop-types").Requireable<string>;
46
- option: import("prop-types").Requireable<string>;
47
- 'option--selected': import("prop-types").Requireable<string>;
48
- }>>;
49
- TextFieldProps: import("prop-types").Requireable<object>;
50
- error: import("prop-types").Requireable<boolean>;
51
- innerRef: import("prop-types").Requireable<object>;
52
- };
53
8
  };
54
9
  export default _default;
@@ -5,50 +5,5 @@ declare const _default: {
5
5
  components: {};
6
6
  classes: {};
7
7
  };
8
- propTypes: {
9
- components: import("prop-types").Requireable<import("prop-types").InferProps<{
10
- ClearIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
11
- Control: import("prop-types").Requireable<(...args: any[]) => any>;
12
- DropdownIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
13
- DownChevron: import("prop-types").Requireable<(...args: any[]) => any>;
14
- CrossIcon: import("prop-types").Requireable<(...args: any[]) => any>;
15
- Group: import("prop-types").Requireable<(...args: any[]) => any>;
16
- GroupHeading: import("prop-types").Requireable<(...args: any[]) => any>;
17
- IndicatorsContainer: import("prop-types").Requireable<(...args: any[]) => any>;
18
- IndicatorSeparator: import("prop-types").Requireable<(...args: any[]) => any>;
19
- Input: import("prop-types").Requireable<(...args: any[]) => any>;
20
- LoadingIndicator: import("prop-types").Requireable<(...args: any[]) => any>;
21
- Menu: import("prop-types").Requireable<(...args: any[]) => any>;
22
- MenuList: import("prop-types").Requireable<(...args: any[]) => any>;
23
- MenuPortal: import("prop-types").Requireable<(...args: any[]) => any>;
24
- LoadingMessage: import("prop-types").Requireable<(...args: any[]) => any>;
25
- NoOptionsMessage: import("prop-types").Requireable<(...args: any[]) => any>;
26
- MultiValue: import("prop-types").Requireable<(...args: any[]) => any>;
27
- MultiValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
28
- MultiValueLabel: import("prop-types").Requireable<(...args: any[]) => any>;
29
- MultiValueRemove: import("prop-types").Requireable<(...args: any[]) => any>;
30
- Option: import("prop-types").Requireable<(...args: any[]) => any>;
31
- Placeholder: import("prop-types").Requireable<(...args: any[]) => any>;
32
- SelectContainer: import("prop-types").Requireable<(...args: any[]) => any>;
33
- SingleValue: import("prop-types").Requireable<(...args: any[]) => any>;
34
- ValueContainer: import("prop-types").Requireable<(...args: any[]) => any>;
35
- }>>;
36
- classes: import("prop-types").Requireable<import("prop-types").InferProps<{
37
- control: import("prop-types").Requireable<string>;
38
- valueContainer: import("prop-types").Requireable<string>;
39
- multiValue: import("prop-types").Requireable<string>;
40
- noOptionsMessage: import("prop-types").Requireable<string>;
41
- singleValue: import("prop-types").Requireable<string>;
42
- placeholder: import("prop-types").Requireable<string>;
43
- menu: import("prop-types").Requireable<string>;
44
- clearIndicator: import("prop-types").Requireable<string>;
45
- dropdownIndicator: import("prop-types").Requireable<string>;
46
- option: import("prop-types").Requireable<string>;
47
- 'option--selected': import("prop-types").Requireable<string>;
48
- }>>;
49
- TextFieldProps: import("prop-types").Requireable<object>;
50
- error: import("prop-types").Requireable<boolean>;
51
- innerRef: import("prop-types").Requireable<object>;
52
- };
53
8
  };
54
9
  export default _default;
@@ -1,54 +1,9 @@
1
- export default function withMuiSkin(SelectComponent: any): {
2
- (props: any): JSX.Element;
1
+ import { Props } from 'react-select';
2
+ export default function withMuiSkin<OptionType>(SelectComponent: any): {
3
+ (props: Props<OptionType, true>['selectProps']): JSX.Element;
3
4
  displayName: string;
4
5
  defaultProps: {
5
6
  components: {};
6
7
  classes: {};
7
8
  };
8
- propTypes: {
9
- components: PropTypes.Requireable<PropTypes.InferProps<{
10
- ClearIndicator: PropTypes.Requireable<(...args: any[]) => any>;
11
- Control: PropTypes.Requireable<(...args: any[]) => any>;
12
- DropdownIndicator: PropTypes.Requireable<(...args: any[]) => any>;
13
- DownChevron: PropTypes.Requireable<(...args: any[]) => any>;
14
- CrossIcon: PropTypes.Requireable<(...args: any[]) => any>;
15
- Group: PropTypes.Requireable<(...args: any[]) => any>;
16
- GroupHeading: PropTypes.Requireable<(...args: any[]) => any>;
17
- IndicatorsContainer: PropTypes.Requireable<(...args: any[]) => any>;
18
- IndicatorSeparator: PropTypes.Requireable<(...args: any[]) => any>;
19
- Input: PropTypes.Requireable<(...args: any[]) => any>;
20
- LoadingIndicator: PropTypes.Requireable<(...args: any[]) => any>;
21
- Menu: PropTypes.Requireable<(...args: any[]) => any>;
22
- MenuList: PropTypes.Requireable<(...args: any[]) => any>;
23
- MenuPortal: PropTypes.Requireable<(...args: any[]) => any>;
24
- LoadingMessage: PropTypes.Requireable<(...args: any[]) => any>;
25
- NoOptionsMessage: PropTypes.Requireable<(...args: any[]) => any>;
26
- MultiValue: PropTypes.Requireable<(...args: any[]) => any>;
27
- MultiValueContainer: PropTypes.Requireable<(...args: any[]) => any>;
28
- MultiValueLabel: PropTypes.Requireable<(...args: any[]) => any>;
29
- MultiValueRemove: PropTypes.Requireable<(...args: any[]) => any>;
30
- Option: PropTypes.Requireable<(...args: any[]) => any>;
31
- Placeholder: PropTypes.Requireable<(...args: any[]) => any>;
32
- SelectContainer: PropTypes.Requireable<(...args: any[]) => any>;
33
- SingleValue: PropTypes.Requireable<(...args: any[]) => any>;
34
- ValueContainer: PropTypes.Requireable<(...args: any[]) => any>;
35
- }>>;
36
- classes: PropTypes.Requireable<PropTypes.InferProps<{
37
- control: PropTypes.Requireable<string>;
38
- valueContainer: PropTypes.Requireable<string>;
39
- multiValue: PropTypes.Requireable<string>;
40
- noOptionsMessage: PropTypes.Requireable<string>;
41
- singleValue: PropTypes.Requireable<string>;
42
- placeholder: PropTypes.Requireable<string>;
43
- menu: PropTypes.Requireable<string>;
44
- clearIndicator: PropTypes.Requireable<string>;
45
- dropdownIndicator: PropTypes.Requireable<string>;
46
- option: PropTypes.Requireable<string>;
47
- 'option--selected': PropTypes.Requireable<string>;
48
- }>>;
49
- TextFieldProps: PropTypes.Requireable<object>;
50
- error: PropTypes.Requireable<boolean>;
51
- innerRef: PropTypes.Requireable<object>;
52
- };
53
9
  };
54
- import PropTypes from 'prop-types';
@@ -26,7 +26,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  var react_1 = __importDefault(require("react"));
29
- var prop_types_1 = __importDefault(require("prop-types"));
30
29
  var commonComponents_1 = __importDefault(require("./commonComponents"));
31
30
  var styles_1 = __importDefault(require("./styles"));
32
31
  var utils_1 = require("../../core/utils");
@@ -43,55 +42,6 @@ function withMuiSkin(SelectComponent) {
43
42
  components: {},
44
43
  classes: {}
45
44
  };
46
- WrappedSelectComponent.propTypes = {
47
- /* You could redefine any of these components */
48
- components: prop_types_1.default.shape({
49
- ClearIndicator: prop_types_1.default.func,
50
- Control: prop_types_1.default.func,
51
- DropdownIndicator: prop_types_1.default.func,
52
- DownChevron: prop_types_1.default.func,
53
- CrossIcon: prop_types_1.default.func,
54
- Group: prop_types_1.default.func,
55
- GroupHeading: prop_types_1.default.func,
56
- IndicatorsContainer: prop_types_1.default.func,
57
- IndicatorSeparator: prop_types_1.default.func,
58
- Input: prop_types_1.default.func,
59
- LoadingIndicator: prop_types_1.default.func,
60
- Menu: prop_types_1.default.func,
61
- MenuList: prop_types_1.default.func,
62
- MenuPortal: prop_types_1.default.func,
63
- LoadingMessage: prop_types_1.default.func,
64
- NoOptionsMessage: prop_types_1.default.func,
65
- MultiValue: prop_types_1.default.func,
66
- MultiValueContainer: prop_types_1.default.func,
67
- MultiValueLabel: prop_types_1.default.func,
68
- MultiValueRemove: prop_types_1.default.func,
69
- Option: prop_types_1.default.func,
70
- Placeholder: prop_types_1.default.func,
71
- SelectContainer: prop_types_1.default.func,
72
- SingleValue: prop_types_1.default.func,
73
- ValueContainer: prop_types_1.default.func
74
- }),
75
- /* Classes are passed to mui skin components. Provided classes will be merged with existing ones. */
76
- classes: prop_types_1.default.shape({
77
- control: prop_types_1.default.string,
78
- valueContainer: prop_types_1.default.string,
79
- multiValue: prop_types_1.default.string,
80
- noOptionsMessage: prop_types_1.default.string,
81
- singleValue: prop_types_1.default.string,
82
- placeholder: prop_types_1.default.string,
83
- menu: prop_types_1.default.string,
84
- clearIndicator: prop_types_1.default.string,
85
- dropdownIndicator: prop_types_1.default.string,
86
- option: prop_types_1.default.string,
87
- 'option--selected': prop_types_1.default.string
88
- }),
89
- /* Props from https://material-ui.com/api/text-field/ */
90
- TextFieldProps: prop_types_1.default.object,
91
- error: prop_types_1.default.bool,
92
- /* Plus all necessary props for wrapped react-select component. See docs on https://react-select.com */
93
- innerRef: prop_types_1.default.object
94
- };
95
45
  return WrappedSelectComponent;
96
46
  }
97
47
  exports.default = withMuiSkin;
@@ -43,9 +43,9 @@ declare namespace NodeRendererDefault {
43
43
  }
44
44
  namespace propTypes {
45
45
  export let node: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
46
- let title_1: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactNodeLike>>;
46
+ let title_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
47
47
  export { title_1 as title };
48
- let subtitle_1: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactNodeLike>>;
48
+ let subtitle_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
49
49
  export { subtitle_1 as subtitle };
50
50
  export let path: PropTypes.Validator<NonNullable<string | number>[]>;
51
51
  export let treeIndex: PropTypes.Validator<number>;
@@ -1,8 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ReadableQueryPrimitive } from '@reltio/mdm-sdk';
3
- type Props = {
3
+ declare const ReadableSearchQuery: React.ForwardRefExoticComponent<{
4
4
  readableQuery?: ReadableQueryPrimitive[];
5
- className?: string;
6
- };
7
- declare const ReadableSearchQuery: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
5
+ } & React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLElement>>;
8
6
  export default ReadableSearchQuery;
@@ -3,7 +3,7 @@ import { InputProps } from '@mui/material/Input';
3
3
  export type SearchInputProps = InputProps & {
4
4
  value?: string;
5
5
  autofocus?: boolean;
6
- onSearch: (value?: string) => void;
6
+ onSearch?: (value?: string) => void;
7
7
  rootRef?: React.MutableRefObject<HTMLInputElement>;
8
8
  height: number;
9
9
  placeholder?: string;
@@ -7,7 +7,7 @@ type Props = {
7
7
  children: React.ReactNode;
8
8
  PaperProps?: Record<string, unknown>;
9
9
  searchInputOnKeyDown: (event: React.KeyboardEvent) => void;
10
- onSearch: (value?: string) => void;
10
+ onSearch?: (value?: string) => void;
11
11
  className?: string;
12
12
  hideTitle?: boolean;
13
13
  hideSearchInput?: boolean;
@@ -1,4 +1,4 @@
1
- export { SortingType, ColumnFilterType, ColumnsDataType, QueryBuilderAttributeType, QueryBuilderAttributeDataType } from './prop-types';
1
+ export { SortingType, QueryBuilderAttributeType } from './prop-types';
2
2
  export { COMMENTS_CONTAINER_VISIBILITY_AREA } from './classnames';
3
3
  export { ALWAYS_VISIBLE_TYPE_URIS } from './attributes';
4
4
  export { MAP_DRAWING_MODES, DEFAULT_GOOGLE_MAP_OPTIONS, DEFAULT_OVERLAY_OPTIONS, MAP_MINIMUM_SCALE_RADIUS } from './map';
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.POPUP_Z_INDEX = exports.COMMON_TEXT_FIELD_PROPS = exports.MAP_MINIMUM_SCALE_RADIUS = exports.DEFAULT_OVERLAY_OPTIONS = exports.DEFAULT_GOOGLE_MAP_OPTIONS = exports.MAP_DRAWING_MODES = exports.ALWAYS_VISIBLE_TYPE_URIS = exports.COMMENTS_CONTAINER_VISIBILITY_AREA = exports.QueryBuilderAttributeDataType = exports.QueryBuilderAttributeType = exports.ColumnsDataType = exports.ColumnFilterType = exports.SortingType = void 0;
3
+ exports.POPUP_Z_INDEX = exports.COMMON_TEXT_FIELD_PROPS = exports.MAP_MINIMUM_SCALE_RADIUS = exports.DEFAULT_OVERLAY_OPTIONS = exports.DEFAULT_GOOGLE_MAP_OPTIONS = exports.MAP_DRAWING_MODES = exports.ALWAYS_VISIBLE_TYPE_URIS = exports.COMMENTS_CONTAINER_VISIBILITY_AREA = exports.QueryBuilderAttributeType = exports.SortingType = void 0;
4
4
  var prop_types_1 = require("./prop-types");
5
5
  Object.defineProperty(exports, "SortingType", { enumerable: true, get: function () { return prop_types_1.SortingType; } });
6
- Object.defineProperty(exports, "ColumnFilterType", { enumerable: true, get: function () { return prop_types_1.ColumnFilterType; } });
7
- Object.defineProperty(exports, "ColumnsDataType", { enumerable: true, get: function () { return prop_types_1.ColumnsDataType; } });
8
6
  Object.defineProperty(exports, "QueryBuilderAttributeType", { enumerable: true, get: function () { return prop_types_1.QueryBuilderAttributeType; } });
9
- Object.defineProperty(exports, "QueryBuilderAttributeDataType", { enumerable: true, get: function () { return prop_types_1.QueryBuilderAttributeDataType; } });
10
7
  var classnames_1 = require("./classnames");
11
8
  Object.defineProperty(exports, "COMMENTS_CONTAINER_VISIBILITY_AREA", { enumerable: true, get: function () { return classnames_1.COMMENTS_CONTAINER_VISIBILITY_AREA; } });
12
9
  var attributes_1 = require("./attributes");