@reltio/components 1.4.1852 → 1.4.1854

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 (191) 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/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +39 -16
  49. package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.js +0 -17
  50. package/cjs/SimpleAttributeEditor/useAttributeValuePermissions.d.ts +1 -1
  51. package/cjs/components/ImageDetailsView/helpers/index.d.ts +5 -2
  52. package/cjs/components/ImportButton/ImportButton.d.ts +2 -1
  53. package/cjs/components/MultipliableSelect/MultipliableSelect.d.ts +20 -30
  54. package/cjs/components/MultipliableSelect/MultipliableSelect.js +0 -15
  55. package/cjs/components/ProfileBand/styles.d.ts +1 -1
  56. package/cjs/components/QueryBuilderRow/QueryBuilderRow.d.ts +43 -107
  57. package/cjs/components/QueryBuilderRow/QueryBuilderRow.js +0 -25
  58. package/cjs/components/QueryBuilderRow/components/ReadOnlyFilter.d.ts +4 -3
  59. package/cjs/components/QueryBuilderRow/components/ReadOnlyLogicOperator.d.ts +4 -10
  60. package/cjs/components/QueryBuilderRow/components/ReadOnlyLogicOperator.js +1 -6
  61. package/cjs/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.d.ts +33 -64
  62. package/cjs/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.js +3 -51
  63. package/cjs/components/ReactSelect/AsyncSelect.d.ts +0 -45
  64. package/cjs/components/ReactSelect/CreatableSelect.d.ts +0 -45
  65. package/cjs/components/ReactSelect/Select.d.ts +0 -45
  66. package/cjs/components/ReactSelect/withMuiSkin.d.ts +3 -48
  67. package/cjs/components/ReactSelect/withMuiSkin.js +0 -50
  68. package/cjs/components/ReactSortableTree/node-renderer-default.d.ts +2 -2
  69. package/cjs/components/ReadableSearchQuery/ReadableSearchQuery.d.ts +2 -4
  70. package/cjs/components/SearchInput/SearchInput.d.ts +1 -1
  71. package/cjs/components/SelectionPopup/SelectionPopup.d.ts +1 -1
  72. package/cjs/constants/index.d.ts +1 -1
  73. package/cjs/constants/index.js +1 -4
  74. package/cjs/constants/prop-types.d.ts +0 -81
  75. package/cjs/constants/prop-types.js +17 -46
  76. package/cjs/constants/textField.d.ts +2 -2
  77. package/cjs/contexts/ScrollToElementContext/index.d.ts +1 -1
  78. package/cjs/features/graph/DataModelGraph/DataModelGraph.d.ts +6 -5
  79. package/cjs/features/graph/DataModelGraph/DataModelGraph.js +4 -3
  80. package/cjs/features/graph/DataModelGraph/DataModelGraph.test.js +3 -8
  81. package/cjs/features/graph/DataModelGraph/components/DataModelCircleLayout/{DataModelCircleLayuot.d.ts → DataModelCircleLayout.d.ts} +2 -2
  82. package/cjs/features/graph/DataModelGraph/components/DataModelCircleLayout/{DataModelCircleLayuot.js → DataModelCircleLayout.js} +5 -7
  83. package/cjs/features/graph/DataModelGraph/hooks/defaultGraph.test-data.js +4 -2
  84. package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.d.ts +6 -5
  85. package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.js +43 -13
  86. package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +39 -17
  87. package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +4 -3
  88. package/cjs/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.js +3 -3
  89. package/cjs/features/graph/index.d.ts +1 -1
  90. package/cjs/features/graph/rendering/canvas/label.js +1 -1
  91. package/cjs/features/graph/types/graphDataTypes.d.ts +2 -1
  92. package/cjs/helpers/basicTable.d.ts +2 -7
  93. package/cjs/hooks/useRelationTypeSelector.d.ts +12 -8
  94. package/cjs/hooks/useRelationTypeSelector.js +3 -1
  95. package/cjs/types/index.d.ts +19 -2
  96. package/esm/AttributesFiltersBuilder/AttributesFiltersBuilder.js +1 -1
  97. package/esm/ConnectionEditor/ConnectionEditor.d.ts +3 -3
  98. package/esm/ConnectionEditor/ConnectionEditor.test.js +2 -2
  99. package/esm/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.d.ts +14 -34
  100. package/esm/ConnectionRelationTypeSelector/ConnectionRelationTypeSelector.js +1 -17
  101. package/esm/DependentLookupEditor/DependentLookupEditor.d.ts +27 -44
  102. package/esm/DependentLookupEditor/DependentLookupEditor.js +4 -22
  103. package/esm/DropDownEditor/DropDownEditor.d.ts +14 -15
  104. package/esm/DropDownEditor/DropDownEditor.js +0 -6
  105. package/esm/EditModeAttributesList/EditModeAttributesList.d.ts +14 -3
  106. package/esm/EditModeAttributesList/EditModeAttributesList.js +1 -21
  107. package/esm/EditModeAttributesPager/EditModeAttributesPager.d.ts +3 -2
  108. package/esm/EditModeAttributesPager/components/AttributeRenderer/AttributeRenderer.d.ts +2 -3
  109. package/esm/EditModeAttributesPager/types.d.ts +7 -6
  110. package/esm/EditModeComplexAttribute/EditModeComplexAttribute.d.ts +41 -4
  111. package/esm/EditModeComplexAttribute/EditModeComplexAttribute.js +7 -18
  112. package/esm/EditModeComplexAttribute/index.d.ts +1 -0
  113. package/esm/EntitySelector/EntitySelector.d.ts +19 -31
  114. package/esm/EntitySelector/EntitySelector.js +1 -15
  115. package/esm/EntitySelector/components/EntityOption/EntityOption.d.ts +17 -22
  116. package/esm/EntitySelector/components/EntityOption/EntityOption.js +0 -18
  117. package/esm/ErrorWrapper/ErrorWrapper.d.ts +2 -2
  118. package/esm/FilterEditor/FilterEditor.d.ts +16 -23
  119. package/esm/FilterEditor/FilterEditor.js +3 -15
  120. package/esm/FilterValueEditor/FilterValueEditor.d.ts +14 -24
  121. package/esm/FilterValueEditor/FilterValueEditor.js +1 -10
  122. package/esm/HOCs/withFilter/ColumnFilter.js +1 -1
  123. package/esm/LookupEditor/LookupEditor.d.ts +11 -33
  124. package/esm/LookupEditor/LookupEditor.js +1 -11
  125. package/esm/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.d.ts +11 -21
  126. package/esm/LookupEditor/components/GroupedDropDownEditor/GroupedDropDownEditor.js +0 -7
  127. package/esm/LookupEditor/components/GroupedDropDownEditor/helpers.d.ts +9 -2
  128. package/esm/LookupEditor/components/GroupedDropDownEditor/helpers.js +7 -7
  129. package/esm/LookupEditor/components/GroupedDropDownEditor/styles.d.ts +1 -1
  130. package/esm/NestedAttribute/NestedAttribute.d.ts +4 -124
  131. package/esm/NestedAttribute/NestedAttribute.js +1 -2
  132. package/esm/NestedAttributeEditor/NestedAttributeEditor.d.ts +5 -1
  133. package/esm/NestedAttributeEditor/NestedAttributeEditor.js +1 -2
  134. package/esm/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.d.ts +14 -44
  135. package/esm/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.js +1 -13
  136. package/esm/ReadOnlyComplexAttribute/index.d.ts +1 -0
  137. package/esm/ReferenceAttribute/ReferenceAttribute.d.ts +3 -24
  138. package/esm/ReferenceAttribute/ReferenceAttribute.test.js +2 -2
  139. package/esm/ReferenceAttributeEditor/ReferenceAttributeEditor.d.ts +5 -2
  140. package/esm/ReferenceAttributeEditor/ReferenceAttributeEditor.js +3 -4
  141. package/esm/RelationTypeSelector/RelationTypeSelector.d.ts +9 -26
  142. package/esm/RelationTypeSelector/RelationTypeSelector.js +2 -14
  143. package/esm/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +39 -16
  144. package/esm/SimpleAttributeEditor/SimpleAttributeEditor.js +1 -18
  145. package/esm/SimpleAttributeEditor/useAttributeValuePermissions.d.ts +1 -1
  146. package/esm/components/ImageDetailsView/helpers/index.d.ts +5 -2
  147. package/esm/components/ImportButton/ImportButton.d.ts +2 -1
  148. package/esm/components/MultipliableSelect/MultipliableSelect.d.ts +20 -30
  149. package/esm/components/MultipliableSelect/MultipliableSelect.js +0 -15
  150. package/esm/components/ProfileBand/styles.d.ts +1 -1
  151. package/esm/components/QueryBuilderRow/QueryBuilderRow.d.ts +43 -107
  152. package/esm/components/QueryBuilderRow/QueryBuilderRow.js +0 -25
  153. package/esm/components/QueryBuilderRow/components/ReadOnlyFilter.d.ts +4 -3
  154. package/esm/components/QueryBuilderRow/components/ReadOnlyLogicOperator.d.ts +4 -10
  155. package/esm/components/QueryBuilderRow/components/ReadOnlyLogicOperator.js +1 -6
  156. package/esm/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.d.ts +33 -64
  157. package/esm/components/QueryBuilderRowsGroup/QueryBuilderRowsGroup.js +3 -28
  158. package/esm/components/ReactSelect/AsyncSelect.d.ts +0 -45
  159. package/esm/components/ReactSelect/CreatableSelect.d.ts +0 -45
  160. package/esm/components/ReactSelect/Select.d.ts +0 -45
  161. package/esm/components/ReactSelect/withMuiSkin.d.ts +3 -48
  162. package/esm/components/ReactSelect/withMuiSkin.js +0 -50
  163. package/esm/components/ReactSortableTree/node-renderer-default.d.ts +2 -2
  164. package/esm/components/ReadableSearchQuery/ReadableSearchQuery.d.ts +2 -4
  165. package/esm/components/SearchInput/SearchInput.d.ts +1 -1
  166. package/esm/components/SelectionPopup/SelectionPopup.d.ts +1 -1
  167. package/esm/constants/index.d.ts +1 -1
  168. package/esm/constants/index.js +1 -1
  169. package/esm/constants/prop-types.d.ts +0 -81
  170. package/esm/constants/prop-types.js +17 -38
  171. package/esm/constants/textField.d.ts +2 -2
  172. package/esm/contexts/ScrollToElementContext/index.d.ts +1 -1
  173. package/esm/features/graph/DataModelGraph/DataModelGraph.d.ts +6 -5
  174. package/esm/features/graph/DataModelGraph/DataModelGraph.js +4 -3
  175. package/esm/features/graph/DataModelGraph/DataModelGraph.test.js +3 -8
  176. package/esm/features/graph/DataModelGraph/components/DataModelCircleLayout/{DataModelCircleLayuot.d.ts → DataModelCircleLayout.d.ts} +2 -2
  177. package/esm/features/graph/DataModelGraph/components/DataModelCircleLayout/{DataModelCircleLayuot.js → DataModelCircleLayout.js} +3 -5
  178. package/esm/features/graph/DataModelGraph/hooks/defaultGraph.test-data.js +4 -2
  179. package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.d.ts +6 -5
  180. package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.js +44 -14
  181. package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +40 -18
  182. package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.js +4 -3
  183. package/esm/features/graph/DataModelGraph/hooks/useEdgeLabelsRenderer.test.js +3 -3
  184. package/esm/features/graph/index.d.ts +1 -1
  185. package/esm/features/graph/rendering/canvas/label.js +1 -1
  186. package/esm/features/graph/types/graphDataTypes.d.ts +2 -1
  187. package/esm/helpers/basicTable.d.ts +2 -7
  188. package/esm/hooks/useRelationTypeSelector.d.ts +12 -8
  189. package/esm/hooks/useRelationTypeSelector.js +3 -1
  190. package/esm/types/index.d.ts +19 -2
  191. package/package.json +2 -2
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import React, { memo, useContext, useMemo } from 'react';
24
24
  import Box from '@mui/material/Box';
25
25
  import classnames from 'classnames';
26
- import { evaluateDeepEntityLabel, getAttributeTypeSubAttributes, getHistoryAppearanceByUri, getHistoryAttributeClassName, getLabel, NestedAttributeType } from '@reltio/mdm-sdk';
26
+ import { evaluateDeepEntityLabel, getAttributeTypeSubAttributes, getHistoryAppearanceByUri, getHistoryAttributeClassName, getLabel } from '@reltio/mdm-sdk';
27
27
  import { HistoryDiffContext } from '../contexts/HistoryAppearanceContext';
28
28
  import { ReadOnlyComplexAttribute } from '../ReadOnlyComplexAttribute';
29
29
  import { PivotingTooltip } from '../PivotingTooltip';
@@ -45,5 +45,4 @@ var NestedAttribute = function (_a) {
45
45
  }, [appearance, styles, attributeValue, attributeType]);
46
46
  return (React.createElement(ReadOnlyComplexAttribute, __assign({ label: attributeLabel, attributeValue: attributeValue, attributeTypesList: getAttributeTypeSubAttributes({}, attributeType), attributeType: attributeType }, otherProps)));
47
47
  };
48
- NestedAttribute.propTypes = NestedAttributeType;
49
48
  export default memo(NestedAttribute);
@@ -1,2 +1,6 @@
1
- export const NestedAttributeEditor: React.NamedExoticComponent<object>;
2
1
  import React from 'react';
2
+ import { NestedAttributeValue } from '@reltio/mdm-sdk';
3
+ import { EditModeComplexAttributeProps } from '../EditModeComplexAttribute';
4
+ type Props = EditModeComplexAttributeProps<NestedAttributeValue>;
5
+ export declare const NestedAttributeEditor: React.MemoExoticComponent<(props: Props) => JSX.Element>;
6
+ export {};
@@ -10,12 +10,11 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React, { memo } from 'react';
13
- import { evaluateDeepEntityLabel, getLabel, NestedAttributeType } from '@reltio/mdm-sdk';
13
+ import { evaluateDeepEntityLabel, getLabel } from '@reltio/mdm-sdk';
14
14
  import { EditModeComplexAttribute } from '../EditModeComplexAttribute';
15
15
  export var NestedAttributeEditor = memo(function (props) {
16
16
  var attributeValue = props.attributeValue, attributeType = props.attributeType;
17
17
  var label = evaluateDeepEntityLabel(attributeValue, attributeType.dataLabelPattern);
18
18
  return (React.createElement(EditModeComplexAttribute, __assign({ label: getLabel(label), attributeTypesList: attributeType.attributes || attributeType.analyticsAttributes }, props)));
19
19
  });
20
- NestedAttributeEditor.propTypes = NestedAttributeType;
21
20
  NestedAttributeEditor.displayName = 'NestedAttributeEditor';
@@ -1,45 +1,15 @@
1
- export function ReadOnlyComplexAttribute({ attributeTypesList, attributeValue, label, expanded: expandedProp, children, showNonOv, attributeType, LabelRenderer, RightSlot }: {
2
- attributeTypesList: any;
3
- attributeValue: any;
4
- label: any;
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { AttributeType, ComplexAttributeValue } from '@reltio/mdm-sdk';
3
+ import { AdditionalControlsRenderer } from '../types';
4
+ export type ReadOnlyComplexAttributeProps<T> = {
5
+ attributeTypesList?: AttributeType[];
6
+ attributeValue: T;
7
+ label?: string | ReactNode;
5
8
  expanded?: boolean;
6
- children: any;
7
- showNonOv: any;
8
- attributeType: any;
9
- LabelRenderer: any;
10
- RightSlot: any;
11
- }): JSX.Element;
12
- export namespace ReadOnlyComplexAttribute {
13
- namespace propTypes {
14
- export let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
15
- export let label: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
16
- export let attributeTypesList: PropTypes.Requireable<PropTypes.InferProps<{
17
- label: PropTypes.Requireable<string>;
18
- name: PropTypes.Requireable<string>;
19
- description: PropTypes.Requireable<string>;
20
- type: PropTypes.Requireable<string>;
21
- hidden: PropTypes.Requireable<boolean>;
22
- faceted: PropTypes.Requireable<boolean>;
23
- searchable: PropTypes.Requireable<boolean>;
24
- uri: PropTypes.Requireable<string>;
25
- access: PropTypes.Requireable<string[]>;
26
- cardinality: PropTypes.Requireable<PropTypes.InferProps<{
27
- minValue: PropTypes.Requireable<number>;
28
- maxValue: PropTypes.Requireable<number>;
29
- }>>;
30
- }>[]>;
31
- export let attributeValue: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
32
- value: PropTypes.Requireable<object>;
33
- ov: PropTypes.Requireable<boolean>;
34
- type: PropTypes.Requireable<string>;
35
- uri: PropTypes.Requireable<string>;
36
- }>>>;
37
- export let expanded: PropTypes.Requireable<boolean>;
38
- export let showNonOv: PropTypes.Requireable<boolean>;
39
- export { AttributeTypeType as attributeType };
40
- export let LabelRenderer: PropTypes.Requireable<PropTypes.ReactComponentLike>;
41
- export let RightSlot: PropTypes.Requireable<PropTypes.ReactComponentLike>;
42
- }
43
- }
44
- import PropTypes from 'prop-types';
45
- import { AttributeTypeType } from '@reltio/mdm-sdk';
9
+ children?: ReactNode;
10
+ showNonOv?: boolean;
11
+ attributeType?: AttributeType;
12
+ LabelRenderer?: (props: AdditionalControlsRenderer<ComplexAttributeValue>) => ReactElement;
13
+ RightSlot?: (props: AdditionalControlsRenderer<ComplexAttributeValue>) => ReactElement;
14
+ };
15
+ export declare const ReadOnlyComplexAttribute: <T extends ComplexAttributeValue>({ attributeTypesList, attributeValue, label, expanded: expandedProp, children, showNonOv, attributeType, LabelRenderer, RightSlot }: ReadOnlyComplexAttributeProps<T>) => JSX.Element;
@@ -10,9 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React, { useContext, useEffect, useMemo, useState } from 'react';
13
- import PropTypes from 'prop-types';
14
13
  import classnames from 'classnames';
15
- import { AttributeTypeType, isAnalyticAttribute, NestedAttributeValueType, ReferenceAttributeValueType, CollaborationObjectTypes, createRelatedObjectUris, isOv, isSpecialAttribute, isRelationUri } from '@reltio/mdm-sdk';
14
+ import { isAnalyticAttribute, CollaborationObjectTypes, createRelatedObjectUris, isOv, isSpecialAttribute, isRelationUri } from '@reltio/mdm-sdk';
16
15
  import Typography from '@mui/material/Typography';
17
16
  import { ReadOnlyAttributesList } from '../ReadOnlyAttributesList';
18
17
  import { ArrowExpandButton } from '../ArrowExpandButton';
@@ -50,14 +49,3 @@ export var ReadOnlyComplexAttribute = function (_a) {
50
49
  }), objectType: objectType })))),
51
50
  expanded && (React.createElement(ReadOnlyAttributesList, { attrTypes: attributeTypesList, entity: attributeListEntity, drawLines: true, parentUri: uri, showNonOv: showNonOv }, children))));
52
51
  };
53
- ReadOnlyComplexAttribute.propTypes = {
54
- children: PropTypes.node,
55
- label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
56
- attributeTypesList: PropTypes.arrayOf(AttributeTypeType),
57
- attributeValue: PropTypes.oneOfType([NestedAttributeValueType, ReferenceAttributeValueType]),
58
- expanded: PropTypes.bool,
59
- showNonOv: PropTypes.bool,
60
- attributeType: AttributeTypeType,
61
- LabelRenderer: PropTypes.elementType,
62
- RightSlot: PropTypes.elementType
63
- };
@@ -1 +1,2 @@
1
1
  export { ReadOnlyComplexAttribute } from './ReadOnlyComplexAttribute';
2
+ export type { ReadOnlyComplexAttributeProps } from './ReadOnlyComplexAttribute';
@@ -1,25 +1,4 @@
1
1
  import React from 'react';
2
- import { AttributeError, AttributeItem, AttributeType, Crosswalk, Mode, ReferenceAttributeValue } from '@reltio/mdm-sdk';
3
- import { ScrollToElementContext } from '../contexts/ScrollToElementContext';
4
- export type Props = {
5
- attributeValue: ReferenceAttributeValue;
6
- attributeType: AttributeType;
7
- showEmptyEditors: boolean;
8
- lazy?: boolean;
9
- ownError?: AttributeError;
10
- errors?: AttributeError[];
11
- mode?: Mode;
12
- crosswalks?: Crosswalk[];
13
- showNonOv?: boolean;
14
- onAddAttributes: (params: AttributeItem[]) => void;
15
- onAddOneMore: (params: AttributeItem) => void;
16
- onDeleteAttribute: (param: AttributeItem) => void;
17
- onChangeAttribute: (param: AttributeItem) => void;
18
- additionalControlsRenderer?: (props: any) => JSX.Element;
19
- hideDeleteButton?: boolean;
20
- highlightedError?: React.ContextType<typeof ScrollToElementContext>;
21
- highlightedAttribute?: React.ContextType<typeof ScrollToElementContext>;
22
- state?: 'deleted' | 'edited';
23
- expanded?: boolean;
24
- };
25
- export declare const ReferenceAttribute: React.MemoExoticComponent<({ attributeValue, attributeType, ...otherProps }: Props) => JSX.Element>;
2
+ import { ReferenceAttributeValue } from '@reltio/mdm-sdk';
3
+ import { ReadOnlyComplexAttributeProps } from '../ReadOnlyComplexAttribute';
4
+ export declare const ReferenceAttribute: React.MemoExoticComponent<({ attributeValue, attributeType, ...otherProps }: ReadOnlyComplexAttributeProps<ReferenceAttributeValue>) => JSX.Element>;
@@ -159,7 +159,7 @@ describe('read mode ReferenceAttribute', function () {
159
159
  collaborationPath: collaborationPath
160
160
  };
161
161
  var setUp = function (_a) {
162
- var attributeValue = _a.attributeValue, attributeType = _a.attributeType, state = _a.state, _b = _a.searchValue, searchValue = _b === void 0 ? '' : _b, _c = _a.historyDiff, historyDiff = _c === void 0 ? defaultHistoryDiff : _c;
162
+ var attributeValue = _a.attributeValue, attributeType = _a.attributeType, _b = _a.searchValue, searchValue = _b === void 0 ? '' : _b, _c = _a.historyDiff, historyDiff = _c === void 0 ? defaultHistoryDiff : _c;
163
163
  var user = userEvent.setup();
164
164
  var Providers = function (_a) {
165
165
  var children = _a.children;
@@ -168,7 +168,7 @@ describe('read mode ReferenceAttribute', function () {
168
168
  React.createElement(HistoryDiffContext.Provider, { value: historyDiff },
169
169
  React.createElement(SearchValueContext.Provider, { value: searchValue }, children)))));
170
170
  };
171
- var renderer = render(React.createElement(ReferenceAttribute, { attributeValue: attributeValue, attributeType: attributeType, showEmptyEditors: false, onAddAttributes: jest.fn, onAddOneMore: jest.fn, onDeleteAttribute: jest.fn, onChangeAttribute: jest.fn, state: state }), {
171
+ var renderer = render(React.createElement(ReferenceAttribute, { attributeValue: attributeValue, attributeType: attributeType }), {
172
172
  wrapper: Providers
173
173
  });
174
174
  return __assign(__assign({}, renderer), { user: user });
@@ -1,3 +1,6 @@
1
- declare const _default: React.ComponentType<any>;
2
- export default _default;
3
1
  import React from 'react';
2
+ import { ReferenceAttributeValue } from '@reltio/mdm-sdk';
3
+ import { EditModeComplexAttributeProps } from '../EditModeComplexAttribute';
4
+ type Props = EditModeComplexAttributeProps<ReferenceAttributeValue>;
5
+ declare const _default: React.ComponentType<Props>;
6
+ export default _default;
@@ -21,10 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React, { useMemo, useCallback, useRef } from 'react';
24
- import PropTypes from 'prop-types';
25
24
  import classnames from 'classnames';
26
25
  import { identity, pipe, isEmpty } from 'ramda';
27
- import { evaluateDeepEntityLabel, ReferenceAttributeType, referencedEntityAttributeTypesSelectionStrategy, getEntityType, getReferencedEntityFromAttrValue, getReferencedRelationFromAttrValue, getReferencedEntityUri, getReferencedEntityTypeUri, getReferencedEntityTypeUriFromAttrType, getReferencedRelationAttrTypesUris, findAttributeTypeByUri, getCreatableAttributeTypes, createTemporaryEntity, convertReferencedEntityForAttrValue, createReferencedRelationForAttrValue, addReferencedRelationCrosswalks, getReferencedEntityUriFromAttrValue, checkCanEditAttribute, checkMetadataForCreate, isReltioCrosswalk, getErrorMessage, getErrorId, getReferencedEntityActiveError, isTempUri, getLabel, isAttributeTypeError } from '@reltio/mdm-sdk';
26
+ import { evaluateDeepEntityLabel, referencedEntityAttributeTypesSelectionStrategy, getEntityType, getReferencedEntityFromAttrValue, getReferencedRelationFromAttrValue, getReferencedEntityUri, getReferencedEntityTypeUri, getReferencedEntityTypeUriFromAttrType, getReferencedRelationAttrTypesUris, findAttributeTypeByUri, getCreatableAttributeTypes, createTemporaryEntity, convertReferencedEntityForAttrValue, createReferencedRelationForAttrValue, addReferencedRelationCrosswalks, getReferencedEntityUriFromAttrValue, checkCanEditAttribute, checkMetadataForCreate, isReltioCrosswalk, getErrorMessage, getErrorId, getReferencedEntityActiveError, isTempUri, getLabel, isAttributeTypeError } from '@reltio/mdm-sdk';
28
27
  import { EditModeComplexAttribute } from '../EditModeComplexAttribute';
29
28
  import { EntitySelector } from '../EntitySelector';
30
29
  import { ErrorWrapper } from '../ErrorWrapper';
@@ -125,10 +124,10 @@ var ReferenceAttributeEditor = function (props) {
125
124
  _a[styles.dense] = errorMessage || (selectedEntity && isTempUri(selectedEntity.entityUri)),
126
125
  _a)), entity: selectedEntity || {}, entityTypesUris: entityTypesUris, max: 20, globalSearchRequestOptions: globalSearchRequestOptions, mode: mode, isDisabled: !canChangeReferencedEntity, onChange: onChangeEntity, onCreate: canCreateReferencedEntity ? onCreateEntity : undefined, metadata: metadata, attributeTypesSelectionStrategy: newEntityAttrTypesSelectionStrategy })))));
127
126
  };
128
- ReferenceAttributeEditor.propTypes = __assign(__assign({}, ReferenceAttributeType), { highlightedError: PropTypes.object });
129
127
  export default withContext(ScrollToElementContext, function (contextValue, _a) {
130
128
  var attributeValue = _a.attributeValue, attributeType = _a.attributeType;
131
129
  var _b = contextValue || {}, element = _b.element, type = _b.type;
132
- var isHighlighted = isHighlightedErrorType(type) && isAttributeTypeError(element, attributeValue.uri, attributeType.uri);
130
+ var isHighlighted = isHighlightedErrorType(type) &&
131
+ isAttributeTypeError(element, attributeValue.uri, attributeType.uri);
133
132
  return { highlightedError: isHighlighted ? contextValue : null };
134
133
  }, ReferenceAttributeEditor);
@@ -1,27 +1,10 @@
1
- export function RelationTypeSelector({ value, options, onChange, TextFieldProps, ...otherProps }: {
2
- [x: string]: any;
3
- value?: {};
4
- options?: any[];
5
- onChange?: any;
6
- TextFieldProps: any;
7
- }): JSX.Element;
8
- export namespace RelationTypeSelector {
9
- namespace propTypes {
10
- export { ValueType as value };
11
- export let options: PropTypes.Requireable<PropTypes.InferProps<{
12
- label: PropTypes.Validator<string>;
13
- value: PropTypes.Validator<string>;
14
- startObject: PropTypes.Requireable<object>;
15
- endObject: PropTypes.Requireable<object>;
16
- }>[]>;
17
- export let onChange: PropTypes.Requireable<(...args: any[]) => any>;
18
- }
19
- }
20
- declare const ValueType: PropTypes.Requireable<PropTypes.InferProps<{
21
- label: PropTypes.Validator<string>;
22
- value: PropTypes.Validator<string>;
23
- startObject: PropTypes.Requireable<object>;
24
- endObject: PropTypes.Requireable<object>;
25
- }>>;
26
- import PropTypes from 'prop-types';
1
+ import { TextFieldProps } from '@mui/material/TextField';
2
+ import { RelationOption as RelationOptionType } from '../types';
3
+ type Props = {
4
+ value?: RelationOptionType;
5
+ options?: RelationOptionType[];
6
+ onChange?: (value: RelationOptionType) => void;
7
+ TextFieldProps?: TextFieldProps;
8
+ };
9
+ export declare const RelationTypeSelector: ({ value, options, onChange, TextFieldProps, ...otherProps }: Props) => JSX.Element;
27
10
  export {};
@@ -21,11 +21,10 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React, { useMemo } from 'react';
24
- import PropTypes from 'prop-types';
24
+ import { defaultTo, identity } from 'ramda';
25
25
  import i18n from 'ui-i18n';
26
- import { identity, defaultTo } from 'ramda';
27
- import { RelationOption } from './components/RelationOption';
28
26
  import { DropDownSelector } from '../DropDownSelector';
27
+ import { RelationOption } from './components/RelationOption';
29
28
  export var RelationTypeSelector = function (_a) {
30
29
  var _b = _a.value, value = _b === void 0 ? {} : _b, _c = _a.options, options = _c === void 0 ? [] : _c, _d = _a.onChange, onChange = _d === void 0 ? identity : _d, TextFieldProps = _a.TextFieldProps, otherProps = __rest(_a, ["value", "options", "onChange", "TextFieldProps"]);
31
30
  var textFieldProps = useMemo(function () {
@@ -34,14 +33,3 @@ export var RelationTypeSelector = function (_a) {
34
33
  }, [TextFieldProps]);
35
34
  return (React.createElement(DropDownSelector, __assign({ value: value, options: options, onChange: onChange, label: i18n.text('Select relationship type '), components: { Option: RelationOption }, TextFieldProps: textFieldProps }, otherProps)));
36
35
  };
37
- var ValueType = PropTypes.shape({
38
- label: PropTypes.string.isRequired,
39
- value: PropTypes.string.isRequired,
40
- startObject: PropTypes.object,
41
- endObject: PropTypes.object
42
- });
43
- RelationTypeSelector.propTypes = {
44
- value: ValueType,
45
- options: PropTypes.arrayOf(ValueType),
46
- onChange: PropTypes.func
47
- };
@@ -1,19 +1,42 @@
1
+ import React from 'react';
2
+ import { SimpleAttributeValue, AttributeType, Mode, AttributeError, PrimitiveValue } from '@reltio/mdm-sdk';
3
+ import { AdditionalControlsRenderer } from '../types';
1
4
  declare const _default: React.ForwardRefExoticComponent<Pick<{
2
- [x: string]: any;
3
- className: any;
4
- attributeValue: any;
5
- attributeType: any;
6
- isReltioCrosswalk: any;
7
- ownError: any;
8
- mode: any;
9
- onAddOneMore: any;
10
- onDeleteAttribute: any;
11
- onChangeAttribute: any;
12
- onDeactivateError: any;
13
- additionalControlsRenderer: any;
14
- state: any;
15
- highlightedError: any;
5
+ className?: string;
6
+ attributeValue: SimpleAttributeValue;
7
+ attributeType: AttributeType;
8
+ isReltioCrosswalk?: boolean;
9
+ state: "edited" | "deleted";
10
+ mode: Mode;
11
+ onAddOneMore?: () => void;
12
+ onDeleteAttribute?: (attribute: {
13
+ uri: string;
14
+ attributeType: AttributeType;
15
+ }) => void;
16
+ onChangeAttribute: (attribute: {
17
+ attributeType: AttributeType;
18
+ uri: string;
19
+ value: PrimitiveValue;
20
+ silent?: boolean;
21
+ }) => void;
22
+ onDeactivateError: (errorId: string) => void;
23
+ additionalControlsRenderer?: (props: AdditionalControlsRenderer<SimpleAttributeValue>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
24
+ ownError?: AttributeError;
25
+ highlightedError?: {
26
+ element: string | AttributeType | AttributeError;
27
+ type: import("../contexts/ScrollToElementContext").ScrollType;
28
+ highlightError?: (element: AttributeError) => void;
29
+ highlightAttribute?: (element: AttributeType) => void;
30
+ highlightView?: (element: string) => void;
31
+ scrollIntoRef: (ref: React.Ref<HTMLDivElement>) => void;
32
+ };
16
33
  isEmptyEditor?: boolean;
17
- }, string | number> & React.RefAttributes<unknown>>;
34
+ } & Partial<{
35
+ [x: string]: any;
36
+ fieldName: any;
37
+ value: any;
38
+ onChange: any;
39
+ dataTypeDefinition: any;
40
+ TextFieldProps?: {};
41
+ }>, string | number> & React.RefAttributes<unknown>>;
18
42
  export default _default;
19
- import React from 'react';
@@ -21,14 +21,13 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React, { useCallback, useContext, useEffect, useMemo } from 'react';
24
- import PropTypes from 'prop-types';
25
24
  import classnames from 'classnames';
26
25
  import { has, pipe } from 'ramda';
27
26
  import AddIcon from '@mui/icons-material/Add';
28
27
  import DeleteIcon from '@mui/icons-material/Delete';
29
28
  import Typography from '@mui/material/Typography';
30
29
  import i18n from 'ui-i18n';
31
- import { AttributeErrorType, AttributeTypeType, attributeUriToSearchUri, ErrorType, getAttributeValue, getAttrDataTypeDefinition, getErrorId, getErrorMessage, getErrorType, isDependentLookupAttrType, isEditableMode as checkIsEditableMode, ModeType, SimpleAttributeValueType } from '@reltio/mdm-sdk';
30
+ import { attributeUriToSearchUri, ErrorType, getAttributeValue, getAttrDataTypeDefinition, getErrorId, getErrorMessage, getErrorType, isDependentLookupAttrType, isEditableMode as checkIsEditableMode } from '@reltio/mdm-sdk';
32
31
  import { DataTypeValue } from '../DataTypeValue';
33
32
  import { DataTypeValueEditor } from '../DataTypeValueEditor';
34
33
  import { ErrorWrapper } from '../ErrorWrapper';
@@ -114,22 +113,6 @@ var SimpleAttributeEditor = function (_a) {
114
113
  additionalControlsRenderer && additionalControlsRenderer({ attributeType: attributeType, attributeValue: attributeValue }),
115
114
  showDeleteButton && (React.createElement(SmallIconButton, { className: styles.button, icon: DeleteIcon, onClick: onDelete, size: "L", "data-reltio-id": "reltio-delete-simple-attribute-button" })))));
116
115
  };
117
- SimpleAttributeEditor.propTypes = {
118
- className: PropTypes.string,
119
- attributeValue: SimpleAttributeValueType,
120
- attributeType: AttributeTypeType,
121
- ownError: AttributeErrorType,
122
- isReltioCrosswalk: PropTypes.bool,
123
- state: PropTypes.oneOf(['deleted', 'edited']),
124
- mode: ModeType,
125
- onAddOneMore: PropTypes.func,
126
- onDeleteAttribute: PropTypes.func,
127
- onChangeAttribute: PropTypes.func,
128
- onDeactivateError: PropTypes.func,
129
- additionalControlsRenderer: PropTypes.func,
130
- highlightedError: PropTypes.object,
131
- isEmptyEditor: PropTypes.bool
132
- };
133
116
  var SimpleAttributeEditorWithScrollToElementContext = withContext(ScrollToElementContext, function (contextValue, _a) {
134
117
  var attributeValue = _a.attributeValue;
135
118
  var _b = contextValue || {}, element = _b.element, type = _b.type;
@@ -7,7 +7,7 @@ type Props = {
7
7
  };
8
8
  export declare const useAttributeValuePermissions: ({ attributeType, attributeValue, isReltioCrosswalk, mode }: Props) => {
9
9
  canCreate: boolean;
10
- canEdit: any;
10
+ canEdit: boolean;
11
11
  canDelete: any;
12
12
  };
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import { ImageAttributeValue, AttributeType } from '@reltio/mdm-sdk';
1
+ import { ImageAttributeValue, AttributeType, SimpleAttributeValue, NestedAttributeValue } from '@reltio/mdm-sdk';
2
2
  import { ImageAttributeFieldsOrder } from '../types';
3
3
  export declare const getFormattedSystemImageAttributeValue: ({ value }: ImageAttributeValue, name: string) => any;
4
4
  export declare const filterByFieldsOrder: (keys: string[], fieldsOrder: ImageAttributeFieldsOrder) => string[];
@@ -8,5 +8,8 @@ export declare const getSystemAttributesList: (attrValue: ImageAttributeValue, f
8
8
  value: any;
9
9
  isLink: boolean;
10
10
  }[];
11
- export declare const getNotSystemAttributesList: (attrValue: ImageAttributeValue, attrType: AttributeType, fieldsOrder: ImageAttributeFieldsOrder) => any[];
11
+ export declare const getNotSystemAttributesList: (attrValue: ImageAttributeValue, attrType: AttributeType, fieldsOrder: ImageAttributeFieldsOrder) => {
12
+ attrType: AttributeType;
13
+ values: SimpleAttributeValue[] | NestedAttributeValue[];
14
+ }[];
12
15
  export declare const isLink: (key: string) => boolean;
@@ -1,3 +1,4 @@
1
+ import { MouseEventHandler } from 'react';
1
2
  export declare enum ImportModes {
2
3
  INIT = 1,
3
4
  PROGRESS = 2,
@@ -6,7 +7,7 @@ export declare enum ImportModes {
6
7
  }
7
8
  type Props = {
8
9
  tooltip?: string;
9
- onClick?: () => void;
10
+ onClick?: MouseEventHandler<HTMLButtonElement>;
10
11
  classes?: Partial<Record<'root' | 'spinner' | 'button' | 'check', string>>;
11
12
  mode?: ImportModes;
12
13
  };
@@ -1,31 +1,21 @@
1
+ import React from 'react';
2
+ import { TextFieldProps } from '@mui/material/TextField';
3
+ import { MenuProps } from '@mui/material/Menu';
4
+ import { PrimitiveValue } from '@reltio/mdm-sdk';
5
+ import { DropDownEntryType } from '../../types';
6
+ type Props<T> = {
7
+ multiple?: boolean;
8
+ fullWidth?: boolean;
9
+ value: T;
10
+ TextFieldProps?: TextFieldProps;
11
+ MenuProps?: Partial<MenuProps>;
12
+ children?: React.ReactNode;
13
+ classes?: Record<string, string>;
14
+ className?: string;
15
+ onChange?: (value: T) => void;
16
+ getValueLabel?: (value: T) => string;
17
+ getValuePlaceholder?: (value: T) => string;
18
+ isCrossedOut?: boolean;
19
+ };
20
+ declare const MultipliableSelect: <T extends PrimitiveValue | DropDownEntryType>({ multiple, value, children, getValueLabel, getValuePlaceholder, onChange, fullWidth, TextFieldProps, MenuProps, classes, isCrossedOut, ...otherProps }: Props<T>) => JSX.Element;
1
21
  export default MultipliableSelect;
2
- declare function MultipliableSelect({ multiple, value, children, getValueLabel, getValuePlaceholder, onChange, fullWidth, TextFieldProps, MenuProps, classes, isCrossedOut, ...otherProps }: {
3
- [x: string]: any;
4
- multiple: any;
5
- value: any;
6
- children: any;
7
- getValueLabel?: () => void;
8
- getValuePlaceholder?: any;
9
- onChange?: () => void;
10
- fullWidth: any;
11
- TextFieldProps: any;
12
- MenuProps: any;
13
- classes: any;
14
- isCrossedOut: any;
15
- }): JSX.Element;
16
- declare namespace MultipliableSelect {
17
- namespace propTypes {
18
- let multiple: PropTypes.Requireable<boolean>;
19
- let fullWidth: PropTypes.Requireable<boolean>;
20
- let value: PropTypes.Requireable<NonNullable<NonNullable<string | number | object>>>;
21
- let TextFieldProps: PropTypes.Requireable<object>;
22
- let MenuProps: PropTypes.Requireable<object>;
23
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
24
- let classes: PropTypes.Requireable<object>;
25
- let onChange: PropTypes.Requireable<(...args: any[]) => any>;
26
- let getValueLabel: PropTypes.Requireable<(...args: any[]) => any>;
27
- let getValuePlaceholder: PropTypes.Requireable<(...args: any[]) => any>;
28
- let isCrossedOut: PropTypes.Requireable<boolean>;
29
- }
30
- }
31
- import PropTypes from 'prop-types';
@@ -21,11 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React from 'react';
24
- import PropTypes from 'prop-types';
25
24
  import classnames from 'classnames';
26
25
  import { defaultTo, identity, pipe, prop, remove } from 'ramda';
27
26
  import TextField from '@mui/material/TextField';
28
- import { SelectValueType } from '../../constants/prop-types';
29
27
  import { getValue, noop } from '../../core/utils';
30
28
  import ValueChip from '../ValueChip/ValueChip';
31
29
  import { useStyles } from './styles';
@@ -39,17 +37,4 @@ var MultipliableSelect = function (_a) {
39
37
  return multiple ? (React.createElement("div", { className: styles.chips }, selected.map(function (value, index) { return (React.createElement(ValueChip, { key: value, label: getValueLabel(value) || getValuePlaceholder(value), onMouseDown: function (event) { return event.stopPropagation(); }, onDelete: function () { return onChange(remove(index, 1, selected)); } })); }))) : (getValueLabel(selected) || getValuePlaceholder(selected));
40
38
  } }) }), children));
41
39
  };
42
- MultipliableSelect.propTypes = {
43
- multiple: PropTypes.bool,
44
- fullWidth: PropTypes.bool,
45
- value: PropTypes.oneOfType([SelectValueType, PropTypes.arrayOf(SelectValueType)]),
46
- TextFieldProps: PropTypes.object,
47
- MenuProps: PropTypes.object,
48
- children: PropTypes.node,
49
- classes: PropTypes.object,
50
- onChange: PropTypes.func,
51
- getValueLabel: PropTypes.func,
52
- getValuePlaceholder: PropTypes.func,
53
- isCrossedOut: PropTypes.bool
54
- };
55
40
  export default MultipliableSelect;
@@ -1,2 +1,2 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"inactive" | "label" | "entityType" | "secondaryLabel" | "profileBand" | "entityId" | "badge" | "profileBandWrapper" | "profileIcon" | "imageProfileIcon" | "profileInfo" | "businessCard" | "specialInfo">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"inactive" | "label" | "secondaryLabel" | "entityType" | "profileBand" | "entityId" | "badge" | "profileBandWrapper" | "profileIcon" | "imageProfileIcon" | "profileInfo" | "businessCard" | "specialInfo">;
2
2
  export default useStyles;