@reltio/components 1.4.1174 → 1.4.1177

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 (81) hide show
  1. package/cjs/components/AttributesFiltersBuilder/AttributesFiltersBuilder.d.ts +1 -1
  2. package/cjs/components/AttributesFiltersBuilder/AttributesFiltersBuilder.js +1 -1
  3. package/cjs/components/AttributesFiltersBuilder/components/MatchRulesSelector/MatchRulesSelector.d.ts +20 -0
  4. package/cjs/components/AttributesFiltersBuilder/components/MatchRulesSelector/MatchRulesSelector.js +54 -0
  5. package/cjs/components/AttributesFiltersBuilder/components/MultiValueSelector/MultiValueSelector.d.ts +18 -0
  6. package/cjs/components/AttributesFiltersBuilder/components/MultiValueSelector/MultiValueSelector.js +73 -0
  7. package/cjs/components/AttributesFiltersBuilder/components/MultiValueSelector/styles.d.ts +7 -0
  8. package/cjs/components/AttributesFiltersBuilder/components/MultiValueSelector/styles.js +35 -0
  9. package/cjs/components/AttributesFiltersBuilder/components/ValuesEditor/ValuesEditor.js +14 -5
  10. package/cjs/components/AttributesFiltersBuilder/components/ValuesEditor/styles.js +2 -2
  11. package/cjs/components/AttributesFiltersBuilder/helpers.d.ts +1 -1
  12. package/cjs/components/AttributesFiltersBuilder/helpers.js +13 -8
  13. package/cjs/components/AttributesFiltersBuilder/types.d.ts +3 -2
  14. package/cjs/components/AttributesFiltersButton/AttributesFiltersButton.d.ts +1 -1
  15. package/cjs/components/ReactSelect/MultiSelect/MultiSelect.d.ts +3 -0
  16. package/cjs/components/ReactSelect/MultiSelect/MultiSelect.js +2 -1
  17. package/cjs/components/ReactSelect/styles.d.ts +1 -1
  18. package/cjs/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +1 -1
  19. package/cjs/components/SmallIconButton/SmallIconButton.d.ts +1 -1
  20. package/cjs/components/SmallIconButton/index.d.ts +2 -2
  21. package/cjs/components/commonReactSelectComponents/OptionWithCheckIcon/OptionWithCheckIcon.d.ts +10 -0
  22. package/cjs/components/{editors/DependentLookupEditor → commonReactSelectComponents/OptionWithCheckIcon}/OptionWithCheckIcon.js +2 -6
  23. package/cjs/components/commonReactSelectComponents/OptionWithCheckIcon/styles.d.ts +1 -0
  24. package/cjs/components/commonReactSelectComponents/OptionWithCheckIcon/styles.js +11 -0
  25. package/cjs/components/editors/DependentLookupEditor/DependentLookupEditor.js +1 -1
  26. package/cjs/components/editors/DependentLookupEditor/styles.d.ts +1 -1
  27. package/cjs/components/editors/DependentLookupEditor/styles.js +0 -5
  28. package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
  29. package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
  30. package/cjs/components/history/HistoryMenuButton/styles.d.ts +1 -1
  31. package/cjs/hooks/useAPI/API.d.ts +1 -1
  32. package/cjs/hooks/useAPI/API.js +105 -32
  33. package/cjs/hooks/useAPI/helpers.d.ts +1 -0
  34. package/cjs/hooks/useAPI/helpers.js +7 -3
  35. package/cjs/hooks/useAPI/types.d.ts +1 -0
  36. package/cjs/hooks/useAPI/useAPI.js +3 -1
  37. package/cjs/hooks/useCustomScripts.js +2 -0
  38. package/cjs/hooks/useMatchesLoader.d.ts +3 -2
  39. package/cjs/hooks/useMatchesLoader.js +7 -3
  40. package/esm/components/AttributesFiltersBuilder/AttributesFiltersBuilder.d.ts +1 -1
  41. package/esm/components/AttributesFiltersBuilder/AttributesFiltersBuilder.js +1 -1
  42. package/esm/components/AttributesFiltersBuilder/components/MatchRulesSelector/MatchRulesSelector.d.ts +20 -0
  43. package/esm/components/AttributesFiltersBuilder/components/MatchRulesSelector/MatchRulesSelector.js +29 -0
  44. package/esm/components/AttributesFiltersBuilder/components/MultiValueSelector/MultiValueSelector.d.ts +18 -0
  45. package/esm/components/AttributesFiltersBuilder/components/MultiValueSelector/MultiValueSelector.js +49 -0
  46. package/esm/components/AttributesFiltersBuilder/components/MultiValueSelector/styles.d.ts +7 -0
  47. package/esm/components/AttributesFiltersBuilder/components/MultiValueSelector/styles.js +32 -0
  48. package/esm/components/AttributesFiltersBuilder/components/ValuesEditor/ValuesEditor.js +15 -6
  49. package/esm/components/AttributesFiltersBuilder/components/ValuesEditor/styles.js +2 -2
  50. package/esm/components/AttributesFiltersBuilder/helpers.d.ts +1 -1
  51. package/esm/components/AttributesFiltersBuilder/helpers.js +13 -8
  52. package/esm/components/AttributesFiltersBuilder/types.d.ts +3 -2
  53. package/esm/components/AttributesFiltersButton/AttributesFiltersButton.d.ts +1 -1
  54. package/esm/components/ReactSelect/MultiSelect/MultiSelect.d.ts +3 -0
  55. package/esm/components/ReactSelect/MultiSelect/MultiSelect.js +2 -1
  56. package/esm/components/ReactSelect/styles.d.ts +1 -1
  57. package/esm/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +1 -1
  58. package/esm/components/SmallIconButton/SmallIconButton.d.ts +1 -1
  59. package/esm/components/SmallIconButton/index.d.ts +2 -2
  60. package/esm/components/commonReactSelectComponents/OptionWithCheckIcon/OptionWithCheckIcon.d.ts +10 -0
  61. package/esm/components/{editors/DependentLookupEditor → commonReactSelectComponents/OptionWithCheckIcon}/OptionWithCheckIcon.js +2 -6
  62. package/esm/components/commonReactSelectComponents/OptionWithCheckIcon/styles.d.ts +1 -0
  63. package/esm/components/commonReactSelectComponents/OptionWithCheckIcon/styles.js +8 -0
  64. package/esm/components/editors/DependentLookupEditor/DependentLookupEditor.js +1 -1
  65. package/esm/components/editors/DependentLookupEditor/styles.d.ts +1 -1
  66. package/esm/components/editors/DependentLookupEditor/styles.js +0 -5
  67. package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
  68. package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
  69. package/esm/components/history/HistoryMenuButton/styles.d.ts +1 -1
  70. package/esm/hooks/useAPI/API.d.ts +1 -1
  71. package/esm/hooks/useAPI/API.js +106 -33
  72. package/esm/hooks/useAPI/helpers.d.ts +1 -0
  73. package/esm/hooks/useAPI/helpers.js +5 -2
  74. package/esm/hooks/useAPI/types.d.ts +1 -0
  75. package/esm/hooks/useAPI/useAPI.js +3 -1
  76. package/esm/hooks/useCustomScripts.js +2 -0
  77. package/esm/hooks/useMatchesLoader.d.ts +3 -2
  78. package/esm/hooks/useMatchesLoader.js +7 -3
  79. package/package.json +3 -3
  80. package/cjs/components/editors/DependentLookupEditor/OptionWithCheckIcon.d.ts +0 -9
  81. package/esm/components/editors/DependentLookupEditor/OptionWithCheckIcon.d.ts +0 -9
@@ -56,6 +56,7 @@ var useAPI = function (config) {
56
56
  var apiPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getApiPath);
57
57
  var workflowPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getWorkflowPath);
58
58
  var user = react_redux_1.useSelector(mdm_module_1.default.selectors.getUser);
59
+ var servicesPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getServicesPath);
59
60
  var entityUri = react_redux_1.useSelector(mdm_module_1.default.selectors.getEntityUri);
60
61
  var environment = react_redux_1.useSelector(mdm_module_1.default.selectors.getWorkflowEnvironmentUrl);
61
62
  var qxApi = react_1.useContext(contexts_1.SandboxAPIContext);
@@ -165,7 +166,8 @@ var useAPI = function (config) {
165
166
  }
166
167
  case mdm_sdk_1.CustomAction.REQUEST: {
167
168
  API_1.processRequest(__assign({ name: task.params.name, paramObject: task, permissions: config.action.permissions, worker: worker,
168
- metadata: metadata, config: config, user: user, apiPath: helpers_1.getFullApiPath(apiPath), tenant: tenant,
169
+ metadata: metadata, config: config, user: user,
170
+ servicesPath: servicesPath, apiPath: helpers_1.getFullApiPath(apiPath), tenant: tenant,
169
171
  workflowPath: workflowPath,
170
172
  entity: entity,
171
173
  entityUri: entityUri,
@@ -82,6 +82,7 @@ var useCustomScripts = function (config, _a) {
82
82
  var metadata = react_redux_1.useSelector(mdm_module_1.default.selectors.getMetadata) || {};
83
83
  var entity = react_redux_1.useSelector(mdm_module_1.default.selectors.getEntity) || {};
84
84
  var uiPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getUIPath);
85
+ var servicesPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getServicesPath);
85
86
  var reltioPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getReltioPath);
86
87
  var tenant = react_redux_1.useSelector(mdm_module_1.default.selectors.getTenant);
87
88
  var workerUrl = useAPI_1.getWorkerURL(uiPath, tenant);
@@ -117,6 +118,7 @@ var useCustomScripts = function (config, _a) {
117
118
  config: config,
118
119
  user: user,
119
120
  apiPath: apiPath,
121
+ servicesPath: servicesPath,
120
122
  tenant: tenant,
121
123
  workflowPath: workflowPath,
122
124
  entity: entity,
@@ -3,6 +3,7 @@ declare type Props = {
3
3
  enabled: boolean;
4
4
  entity: Entity;
5
5
  filter: string;
6
+ rules?: string;
6
7
  onFinishLoading?: () => void;
7
8
  onStartLoading?: () => void;
8
9
  options: {
@@ -17,11 +18,11 @@ declare type Props = {
17
18
  };
18
19
  markMatchedValues?: boolean;
19
20
  };
20
- export declare const useMatchesLoader: ({ enabled, entity, filter, onFinishLoading, onStartLoading, options, page, rowsPerPage, sorting, markMatchedValues }: Props) => {
21
+ export declare const useMatchesLoader: ({ enabled, entity, filter, rules, onFinishLoading, onStartLoading, options, page, rowsPerPage, sorting, markMatchedValues }: Props) => {
21
22
  total: number;
22
23
  matches: PotentialMatch[];
23
24
  entitiesMap: {
24
- [key: string]: Pick<Entity, "uri" | "type" | "label">;
25
+ [key: string]: Pick<Entity, "type" | "uri" | "label">;
25
26
  };
26
27
  loadMatches: () => void;
27
28
  };
@@ -12,7 +12,7 @@ var usePagingSimulator_1 = require("./usePagingSimulator");
12
12
  var useSafePromise_1 = require("./useSafePromise");
13
13
  var ramda_1 = require("ramda");
14
14
  var useMatchesLoader = function (_a) {
15
- var enabled = _a.enabled, entity = _a.entity, filter = _a.filter, onFinishLoading = _a.onFinishLoading, onStartLoading = _a.onStartLoading, options = _a.options, page = _a.page, rowsPerPage = _a.rowsPerPage, sorting = _a.sorting, markMatchedValues = _a.markMatchedValues;
15
+ var enabled = _a.enabled, entity = _a.entity, filter = _a.filter, rules = _a.rules, onFinishLoading = _a.onFinishLoading, onStartLoading = _a.onStartLoading, options = _a.options, page = _a.page, rowsPerPage = _a.rowsPerPage, sorting = _a.sorting, markMatchedValues = _a.markMatchedValues;
16
16
  var _b = sorting || {}, order = _b.order, field = _b.field;
17
17
  var _c = react_1.useState(0), total = _c[0], setTotal = _c[1];
18
18
  var _d = react_1.useState([]), matches = _d[0], setMatches = _d[1];
@@ -64,6 +64,7 @@ var useMatchesLoader = function (_a) {
64
64
  offset: page * rowsPerPage,
65
65
  max: rowsPerPage,
66
66
  filter: mdm_sdk_1.addGlobalFilterToQuery(globalFilter, filter) || '',
67
+ rules: rules,
67
68
  sort: field,
68
69
  order: order,
69
70
  force: force,
@@ -83,7 +84,9 @@ var useMatchesLoader = function (_a) {
83
84
  .finally(function () {
84
85
  onFinishLoading === null || onFinishLoading === void 0 ? void 0 : onFinishLoading();
85
86
  });
86
- }, [
87
+ },
88
+ // eslint-disable-next-line react-hooks/exhaustive-deps
89
+ [
87
90
  globalFilter,
88
91
  activeness,
89
92
  dtssPath,
@@ -91,6 +94,7 @@ var useMatchesLoader = function (_a) {
91
94
  entityUri,
92
95
  field,
93
96
  filter,
97
+ rules,
94
98
  markMatchedValues,
95
99
  getPagedMatchesForDataTenantEntity,
96
100
  getTransitiveMatchesWithPaging,
@@ -102,7 +106,7 @@ var useMatchesLoader = function (_a) {
102
106
  rowsPerPage,
103
107
  safePromise,
104
108
  tenant
105
- ]); // eslint-disable-line
109
+ ]);
106
110
  react_1.useEffect(function () {
107
111
  getMatches();
108
112
  }, [getMatches]);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { SearchFilter, AttributeType } from '@reltio/mdm-sdk';
3
3
  declare type Props = {
4
4
  filters: SearchFilter[];
5
- onChange: (filtres: SearchFilter[]) => void;
5
+ onChange: (filters: SearchFilter[]) => void;
6
6
  attributeTypes: AttributeType[];
7
7
  };
8
8
  declare const _default: React.MemoExoticComponent<({ attributeTypes, filters, onChange }: Props) => JSX.Element>;
@@ -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: ValuesEditor, 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, entityType: entityType }));
87
87
  };
88
88
  export default memo(AttributesFiltersBuilder);
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { TEntityType } from '@reltio/mdm-sdk';
3
+ import { TextFieldProps as TextFieldPropsType } from '@material-ui/core/TextField';
4
+ export declare enum MatchRulesAttributeNames {
5
+ matchRules = "matchRules",
6
+ MLRecommendedMatch = "MLRecommendedMatch"
7
+ }
8
+ declare type Props = {
9
+ name: MatchRulesAttributeNames;
10
+ values?: string[];
11
+ onChange: (values: string[]) => void;
12
+ TextFieldProps?: Partial<TextFieldPropsType>;
13
+ fullWidth?: boolean;
14
+ entityType: TEntityType;
15
+ };
16
+ declare const MatchRulesSelector: {
17
+ ({ name, values, onChange, entityType, TextFieldProps, fullWidth }: Props): JSX.Element;
18
+ displayName: string;
19
+ };
20
+ export default MatchRulesSelector;
@@ -0,0 +1,29 @@
1
+ import React, { useMemo } from 'react';
2
+ import { useSelector } from 'react-redux';
3
+ import mdmModule from '@reltio/mdm-module';
4
+ import { getMatchGroups, partitionByMlMatch } from '@reltio/mdm-sdk';
5
+ import MultiValueSelector from '../MultiValueSelector/MultiValueSelector';
6
+ var prepareOptions = function (options) {
7
+ if (options === void 0) { options = []; }
8
+ return options.map(function (_a) {
9
+ var label = _a.label, uri = _a.uri;
10
+ return ({ label: label, value: uri });
11
+ });
12
+ };
13
+ export var MatchRulesAttributeNames;
14
+ (function (MatchRulesAttributeNames) {
15
+ MatchRulesAttributeNames["matchRules"] = "matchRules";
16
+ MatchRulesAttributeNames["MLRecommendedMatch"] = "MLRecommendedMatch";
17
+ })(MatchRulesAttributeNames || (MatchRulesAttributeNames = {}));
18
+ var MatchRulesSelector = function (_a) {
19
+ var name = _a.name, values = _a.values, onChange = _a.onChange, entityType = _a.entityType, TextFieldProps = _a.TextFieldProps, fullWidth = _a.fullWidth;
20
+ var metadata = useSelector(mdmModule.selectors.getMetadata);
21
+ var _b = useMemo(function () { return partitionByMlMatch(getMatchGroups(metadata, entityType === null || entityType === void 0 ? void 0 : entityType.uri)); }, [
22
+ entityType === null || entityType === void 0 ? void 0 : entityType.uri,
23
+ metadata
24
+ ]), mlMatchRules = _b[0], matchRules = _b[1];
25
+ var options = useMemo(function () { return prepareOptions(name === MatchRulesAttributeNames.matchRules ? matchRules : mlMatchRules); }, [name, matchRules, mlMatchRules]);
26
+ return (React.createElement(MultiValueSelector, { values: values, onChange: onChange, options: options, TextFieldProps: TextFieldProps, fullWidth: fullWidth }));
27
+ };
28
+ MatchRulesSelector.displayName = 'MatchRulesSelector';
29
+ export default MatchRulesSelector;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { TextFieldProps as TextFieldPropsType } from '@material-ui/core/TextField';
3
+ export declare type Option = {
4
+ value: string;
5
+ label: string;
6
+ };
7
+ declare type Props = {
8
+ values: string[];
9
+ onChange: (values: string[]) => void;
10
+ options: Option[];
11
+ TextFieldProps?: Partial<TextFieldPropsType>;
12
+ fullWidth?: boolean;
13
+ };
14
+ declare const _default: React.MemoExoticComponent<{
15
+ ({ values, onChange, options, fullWidth, TextFieldProps }: Props): JSX.Element;
16
+ displayName: string;
17
+ }>;
18
+ export default _default;
@@ -0,0 +1,49 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import React, { memo, useCallback, useRef, useMemo } from 'react';
24
+ import { defaultTo, pipe, pluck } from 'ramda';
25
+ import { isEmptyValue } from '@reltio/mdm-sdk';
26
+ import DropdownIndicatorWithIconButton from '../../../commonReactSelectComponents/DropdownIndicatorWithIconButton';
27
+ import OptionWithCheckIcon from '../../../commonReactSelectComponents/OptionWithCheckIcon/OptionWithCheckIcon';
28
+ import MenuWithPopper from '../../../commonReactSelectComponents/MenuWithPopper';
29
+ import MultiValueChip from '../../../editors/commonComponents/MultiValueChip/MultiValueChip';
30
+ import MultiSelect from '../../../ReactSelect/MultiSelect';
31
+ import { EmptyStub } from '../../../../core';
32
+ import { useStyles, customStyles } from './styles';
33
+ var MultiValueSelector = function (_a) {
34
+ var _b = _a.values, values = _b === void 0 ? [] : _b, onChange = _a.onChange, options = _a.options, fullWidth = _a.fullWidth, _c = _a.TextFieldProps, TextFieldProps = _c === void 0 ? {} : _c;
35
+ var styles = useStyles();
36
+ var inputRef = useRef(null);
37
+ var valueToOption = useCallback(function (value) { return options.find(function (option) { return option.value === value; }) || { value: value, label: value }; }, [options]);
38
+ var preparedValues = useMemo(function () { return values.map(valueToOption); }, [valueToOption, values]);
39
+ var _d = TextFieldProps.InputProps, InputProps = _d === void 0 ? {} : _d, textFieldClassName = TextFieldProps.className, otherTextFieldProps = __rest(TextFieldProps, ["InputProps", "className"]);
40
+ return (React.createElement(MultiSelect, { value: preparedValues, onChange: pipe(defaultTo([]), pluck('value'), onChange), options: options, TextFieldProps: __assign({ InputProps: __assign({ disableUnderline: isEmptyValue(values) }, InputProps), variant: 'filled', className: textFieldClassName, ref: inputRef }, otherTextFieldProps), components: {
41
+ DropdownIndicator: DropdownIndicatorWithIconButton,
42
+ Option: OptionWithCheckIcon,
43
+ Menu: MenuWithPopper,
44
+ MultiValue: MultiValueChip,
45
+ IndicatorSeparator: EmptyStub
46
+ }, inputRef: inputRef, classes: styles, styles: __assign(__assign({}, customStyles), { container: function (base) { return (__assign(__assign({}, base), (fullWidth ? { width: '100%' } : {}))); } }), menuPortalTarget: document.body }));
47
+ };
48
+ MultiValueSelector.displayName = 'MultiValueSelector';
49
+ export default memo(MultiValueSelector);
@@ -0,0 +1,7 @@
1
+ export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"option" | "clearIndicator" | "dropdownIndicator">;
2
+ export declare const customStyles: {
3
+ input: (currentStyles: any) => any;
4
+ menuPortal: (currentStyles: any) => any;
5
+ menuList: (currentStyles: any) => any;
6
+ menu: (currentStyles: any) => any;
7
+ };
@@ -0,0 +1,32 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { makeStyles } from '@material-ui/core/styles';
13
+ export var useStyles = makeStyles(function (theme) { return ({
14
+ option: {
15
+ paddingLeft: '35px'
16
+ },
17
+ dropdownIndicator: {
18
+ cursor: 'pointer',
19
+ color: theme.palette.text.secondary,
20
+ marginTop: 0,
21
+ marginBottom: 0
22
+ },
23
+ clearIndicator: {
24
+ display: 'none'
25
+ }
26
+ }); });
27
+ export var customStyles = {
28
+ input: function (currentStyles) { return (__assign(__assign({}, currentStyles), { fontSize: '14px' })); },
29
+ menuPortal: function (currentStyles) { return (__assign(__assign({}, currentStyles), { zIndex: 1300 })); },
30
+ menuList: function (currentStyles) { return (__assign(__assign({}, currentStyles), { maxHeight: '240px', padding: '8px 0' })); },
31
+ menu: function (currentStyles) { return (__assign(__assign({}, currentStyles), { maxHeight: '240px' })); }
32
+ };
@@ -1,13 +1,14 @@
1
1
  import React, { memo, useMemo, useCallback } from 'react';
2
- import { checkIfOptionHasValues, getAttrDataTypeDefinition, getDataTypeDefinitionForFilterValue } from '@reltio/mdm-sdk';
2
+ import { checkIfOptionHasValues, getAttrDataTypeDefinition, getDataTypeDefinitionForFilterValue, isMatchRuleAttrType } from '@reltio/mdm-sdk';
3
3
  import FilterValueEditor from '../../../editors/FilterEditor/FilterValueEditor';
4
+ import MatchRulesSelector from '../MatchRulesSelector/MatchRulesSelector';
4
5
  import { useStyles } from './styles';
5
6
  var ValuesEditor = function (_a) {
6
7
  var rowData = _a.rowData, rowContext = _a.rowContext;
7
8
  var styles = useStyles();
8
9
  var canFilterAcceptValues = (rowData === null || rowData === void 0 ? void 0 : rowData.attribute) && checkIfOptionHasValues(rowData.filter);
9
- var changeFilter = rowContext.changeFilter;
10
- var _b = rowData || {}, _c = _b.values, values = _c === void 0 ? [] : _c, _d = _b.attribute, _e = _d === void 0 ? {} : _d, _f = _e.attrType, attrType = _f === void 0 ? {} : _f, _g = _e.fieldName, fieldName = _g === void 0 ? null : _g, filter = _b.filter, id = _b.id;
10
+ var changeFilter = rowContext.changeFilter, entityType = rowContext.entityType;
11
+ var _b = (rowData || {}), _c = _b.values, values = _c === void 0 ? [] : _c, _d = _b.attribute, _e = _d === void 0 ? {} : _d, attrType = _e.attrType, _f = _e.fieldName, fieldName = _f === void 0 ? null : _f, filter = _b.filter, id = _b.id;
11
12
  var valueDataTypeDefinition = attrType && getAttrDataTypeDefinition(attrType);
12
13
  var filterValueDataTypeDefinition = valueDataTypeDefinition && getDataTypeDefinitionForFilterValue(valueDataTypeDefinition, filter);
13
14
  var editorFilter = useMemo(function () { return ({
@@ -23,14 +24,22 @@ var ValuesEditor = function (_a) {
23
24
  }
24
25
  }); }, [styles]);
25
26
  var editorClasses = useMemo(function () { return ({ root: styles.root }); }, [styles]);
26
- var changeValue = useCallback(function (values) {
27
+ var changeValue = useCallback(function (newValues) {
27
28
  var newFilter = {
28
29
  fieldName: fieldName,
29
30
  filter: filter,
30
- values: values
31
+ values: newValues
31
32
  };
32
33
  changeFilter(newFilter, id);
33
34
  }, [changeFilter, id, fieldName, filter]);
34
- return (React.createElement("div", { className: styles.valuesEditor }, (rowData === null || rowData === void 0 ? void 0 : rowData.attribute) && canFilterAcceptValues && (React.createElement(FilterValueEditor, { filter: editorFilter, onChange: changeValue, dataTypeDefinition: filterValueDataTypeDefinition, fullWidth: true, TextFieldProps: TextFieldProps, color: "primary", classes: editorClasses, orientation: "horizontal" }))));
35
+ var renderEditor = function () {
36
+ if (isMatchRuleAttrType(attrType)) {
37
+ return (React.createElement(MatchRulesSelector, { entityType: entityType, name: attrType.name, values: values, onChange: changeValue, TextFieldProps: TextFieldProps, fullWidth: true }));
38
+ }
39
+ else {
40
+ return (React.createElement(FilterValueEditor, { filter: editorFilter, onChange: changeValue, dataTypeDefinition: filterValueDataTypeDefinition, fullWidth: true, TextFieldProps: TextFieldProps, color: "primary", classes: editorClasses, orientation: "horizontal" }));
41
+ }
42
+ };
43
+ return React.createElement("div", { className: styles.valuesEditor }, (rowData === null || rowData === void 0 ? void 0 : rowData.attribute) && canFilterAcceptValues && renderEditor());
35
44
  };
36
45
  export default memo(ValuesEditor);
@@ -1,5 +1,5 @@
1
1
  import { makeStyles } from '@material-ui/core/styles';
2
- export var useStyles = makeStyles(function () { return ({
2
+ export var useStyles = makeStyles({
3
3
  input: {
4
4
  margin: 0,
5
5
  borderRadius: '4px',
@@ -21,4 +21,4 @@ export var useStyles = makeStyles(function () { return ({
21
21
  minHeight: '40px',
22
22
  flexShrink: 0
23
23
  }
24
- }); });
24
+ });
@@ -7,6 +7,6 @@ export declare const getRowsDataFromFilters: (filters: SearchFilter[], attribute
7
7
  attribute: AttributeSelectorItem;
8
8
  filter: string;
9
9
  id: number;
10
- values: string[];
10
+ values: (import("@reltio/mdm-sdk").PrimitiveValue | Pick<import("@reltio/mdm-sdk").SimpleAttributeValue, "value" | "lookupCode">)[] | [(import("@reltio/mdm-sdk").PrimitiveValue | Pick<import("@reltio/mdm-sdk").SimpleAttributeValue, "value" | "lookupCode">)[]];
11
11
  }[];
12
12
  export declare const getEntityTypeFromAttrTypes: (attributeTypes: AttributeType[]) => any;
@@ -18,13 +18,17 @@ import { getAttributesTreeFromAttributes, attributeUriToSearchUri, isSpecialAttr
18
18
  var createAttributeItem = function (metadata, attrType, entityTypeUri, parents) {
19
19
  var entityTypeLabel = getEntityTypeLabel(metadata, { type: entityTypeUri });
20
20
  var title = attrType.label || attrType.name;
21
- return {
22
- title: title,
23
- pathToTitle: Array.isArray(parents) ? __spreadArray(__spreadArray([entityTypeLabel], parents), [title]) : [entityTypeLabel, title],
24
- fieldName: attributeUriToSearchUri(attrType.uri),
25
- entityTypeUri: entityTypeUri,
26
- attrType: attrType
27
- };
21
+ var attributeProps = isSpecialAttribute(attrType)
22
+ ? {
23
+ fieldName: attrType.name
24
+ }
25
+ : {
26
+ entityTypeUri: entityTypeUri,
27
+ pathToTitle: Array.isArray(parents) ? __spreadArray(__spreadArray([entityTypeLabel], parents), [title]) : [entityTypeLabel, title],
28
+ fieldName: attributeUriToSearchUri(attrType.uri)
29
+ };
30
+ return __assign({ attrType: attrType,
31
+ title: title }, attributeProps);
28
32
  };
29
33
  var createAttributesConfig = function (metadata, attrNode, entityTypeUri, createAttributeConfig, parents) {
30
34
  if (parents === void 0) { parents = []; }
@@ -41,7 +45,8 @@ var createAttributesConfig = function (metadata, attrNode, entityTypeUri, create
41
45
  export var getAttributeSelectorItems = function (attributeTypes, entityType, metadata) {
42
46
  if (entityType === void 0) { entityType = {}; }
43
47
  return getAttributesTreeFromAttributes(attributeTypes, metadata).map(function (attrNode) {
44
- return createAttributesConfig(metadata, attrNode, entityType.uri, createAttributeItem);
48
+ var entityTypeUri = isSpecialAttribute(attrNode) ? null : entityType.uri;
49
+ return createAttributesConfig(metadata, attrNode, entityTypeUri, createAttributeItem);
45
50
  });
46
51
  };
47
52
  var findAttributeSelectorItem = function (fieldName, attributesGroup) {
@@ -1,4 +1,4 @@
1
- import { SearchFilter } from '@reltio/mdm-sdk';
1
+ import { SearchFilter, TEntityType } from '@reltio/mdm-sdk';
2
2
  import { AttributeSelectorItem } from '../../types';
3
3
  export declare type FilterOption = {
4
4
  value: string;
@@ -8,10 +8,11 @@ export declare type RowData = {
8
8
  attribute: AttributeSelectorItem;
9
9
  filter: string;
10
10
  id: number;
11
- values: string[];
11
+ values: SearchFilter['values'];
12
12
  };
13
13
  export declare type RowContext = {
14
14
  attributesGroup: AttributeSelectorItem[];
15
+ entityType: TEntityType;
15
16
  addNewFilter: (newFilter: SearchFilter) => void;
16
17
  addRowAfterIndex: (index: number) => void;
17
18
  changeFilter: (newFilter: SearchFilter, id: number) => void;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { SearchFilter, AttributeType } from '@reltio/mdm-sdk';
3
3
  declare type Props = {
4
4
  filters: SearchFilter[];
5
- onChange: (filtres: SearchFilter[]) => void;
5
+ onChange: (filters: SearchFilter[]) => void;
6
6
  attributeTypes: AttributeType[];
7
7
  };
8
8
  declare const _default: React.MemoExoticComponent<({ filters: filtersProp, attributeTypes, onChange }: Props) => JSX.Element>;
@@ -107,6 +107,9 @@ declare namespace MultiSelect {
107
107
  export const menuPortalTarget: PropTypes.Requireable<object>;
108
108
  export const getOptionValue: PropTypes.Requireable<(...args: any[]) => any>;
109
109
  export const isSearchable: PropTypes.Requireable<boolean>;
110
+ export const inputRef: PropTypes.Requireable<PropTypes.InferProps<{
111
+ current: PropTypes.Requireable<object>;
112
+ }>>;
110
113
  }
111
114
  }
112
115
  import PropTypes from "prop-types";
@@ -205,6 +205,7 @@ MultiSelect.propTypes = {
205
205
  menuPlacement: PropTypes.string,
206
206
  menuPortalTarget: PropTypes.object,
207
207
  getOptionValue: PropTypes.func,
208
- isSearchable: PropTypes.bool
208
+ isSearchable: PropTypes.bool,
209
+ inputRef: PropTypes.shape({ current: PropTypes.object })
209
210
  };
210
211
  export default MultiSelect;
@@ -1,2 +1,2 @@
1
- declare var _default: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"option" | "singleValue" | "menu" | "placeholder" | "control" | "valueContainer" | "multiValue" | "noOptionsMessage" | "clearIndicator" | "dropdownIndicator" | "option--selected" | "groupHeading" | "multiValue__label" | "option--item" | "valueContainer--multi">;
1
+ declare var _default: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"option" | "singleValue" | "menu" | "placeholder" | "option--selected" | "control" | "valueContainer" | "multiValue" | "noOptionsMessage" | "clearIndicator" | "dropdownIndicator" | "groupHeading" | "multiValue__label" | "option--item" | "valueContainer--multi">;
2
2
  export default _default;
@@ -35,7 +35,7 @@ export declare const ButtonWithTooltip: React.ForwardRefExoticComponent<import("
35
35
  TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps>;
36
36
  } & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core/Button").ButtonTypeMap<{}, "button">>> & Pick<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
37
37
  ref?: React.Ref<HTMLButtonElement>;
38
- }, "value" | "title" | "id" | "type" | "prefix" | "key" | "name" | "hidden" | "defaultValue" | "translate" | "ref" | "onScroll" | "form" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">>;
38
+ }, "value" | "type" | "title" | "id" | "prefix" | "key" | "name" | "hidden" | "defaultValue" | "translate" | "ref" | "onScroll" | "form" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">>;
39
39
  declare type Props = {
40
40
  onDrawingModeChanged: (value: DrawingMode | null) => void;
41
41
  drawingMode: DrawingMode | null;
@@ -5,5 +5,5 @@ declare const _default: React.ComponentType<Pick<Pick<Omit<IconButtonProps<"butt
5
5
  iconClassName?: string;
6
6
  icon?: React.ElementType<any>;
7
7
  size?: "M" | "XXS" | "XS" | "S" | "MPlus" | "L" | "XL";
8
- }, "value" | "title" | "id" | "type" | "children" | "prefix" | "action" | "icon" | "key" | "name" | "hidden" | "defaultValue" | "size" | "color" | "translate" | "style" | "disabled" | "onScroll" | "className" | "innerRef" | "form" | "slot" | "classes" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "iconClassName"> & React.RefAttributes<HTMLButtonElement>, "value" | "title" | "id" | "type" | "children" | "prefix" | "action" | "icon" | "name" | "hidden" | "defaultValue" | "size" | "color" | "translate" | "style" | "disabled" | "onScroll" | "className" | "innerRef" | "form" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "iconClassName" | keyof React.RefAttributes<HTMLButtonElement>> & import("@material-ui/core/styles").StyledComponentProps<"disabled" | "rootAll" | "rootXXS" | "iconXXS" | "rootXS" | "iconXS" | "rootS" | "iconS" | "rootM" | "rootMPlus" | "rootL" | "rootXL">>;
8
+ }, "value" | "type" | "title" | "id" | "children" | "prefix" | "action" | "icon" | "key" | "name" | "hidden" | "defaultValue" | "size" | "color" | "translate" | "style" | "disabled" | "onScroll" | "className" | "innerRef" | "form" | "slot" | "classes" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "iconClassName"> & React.RefAttributes<HTMLButtonElement>, "value" | "type" | "title" | "id" | "children" | "prefix" | "action" | "icon" | "name" | "hidden" | "defaultValue" | "size" | "color" | "translate" | "style" | "disabled" | "onScroll" | "className" | "innerRef" | "form" | "slot" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "iconClassName" | keyof React.RefAttributes<HTMLButtonElement>> & import("@material-ui/core/styles").StyledComponentProps<"disabled" | "rootAll" | "rootXXS" | "iconXXS" | "rootXS" | "iconXS" | "rootS" | "iconS" | "rootM" | "rootMPlus" | "rootL" | "rootXL">>;
9
9
  export default _default;