@reltio/components 1.4.2227 → 1.4.2229

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 (85) hide show
  1. package/AttributesFiltersBuilder/AttributesFiltersBuilder.js +5 -4
  2. package/AttributesFiltersBuilder/helpers.js +6 -1
  3. package/FacetsSelector/FacetsSelector.d.ts +1 -1
  4. package/FacetsSelector/FacetsSelector.js +1 -1
  5. package/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.d.ts +9 -1
  6. package/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.js +3 -3
  7. package/SimpleAttribute/SimpleAttribute.d.ts +5 -2
  8. package/SimpleAttribute/SimpleAttribute.js +15 -7
  9. package/SimpleAttribute/SimpleAttribute.module.css.js +9 -0
  10. package/cjs/AttributesFiltersBuilder/AttributesFiltersBuilder.js +3 -2
  11. package/cjs/AttributesFiltersBuilder/helpers.js +6 -1
  12. package/cjs/FacetsSelector/FacetsSelector.d.ts +1 -1
  13. package/cjs/FacetsSelector/FacetsSelector.js +1 -1
  14. package/cjs/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.d.ts +9 -1
  15. package/cjs/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.js +3 -3
  16. package/cjs/SimpleAttribute/SimpleAttribute.d.ts +5 -2
  17. package/cjs/SimpleAttribute/SimpleAttribute.js +19 -11
  18. package/cjs/SimpleAttribute/SimpleAttribute.module.css.js +9 -0
  19. package/cjs/features/crosswalks/AttributesTable/AttributesTable.js +3 -1
  20. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +4 -1
  21. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test-data.js +51 -21
  22. package/cjs/features/crosswalks/AttributesTable/AttributesTable.test.js +56 -0
  23. package/cjs/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.d.ts +7 -0
  24. package/cjs/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.js +31 -0
  25. package/cjs/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.module.css.js +9 -0
  26. package/cjs/features/crosswalks/AttributesTable/components/FallbackIndicator/index.d.ts +1 -0
  27. package/cjs/features/crosswalks/AttributesTable/components/FallbackIndicator/index.js +5 -0
  28. package/cjs/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.js +3 -1
  29. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.js +1 -1
  30. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.d.ts +1 -1
  31. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.js +65 -11
  32. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.module.css.js +9 -0
  33. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightConsumer.d.ts +7 -0
  34. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightConsumer.js +15 -0
  35. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightReporter.d.ts +7 -0
  36. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightReporter.js +53 -0
  37. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/index.d.ts +2 -0
  38. package/cjs/features/crosswalks/AttributesTable/components/SyncedValueHeight/index.js +7 -0
  39. package/cjs/features/crosswalks/AttributesTable/helpers.d.ts +4 -2
  40. package/cjs/features/crosswalks/AttributesTable/helpers.js +96 -17
  41. package/cjs/features/crosswalks/AttributesTable/helpers.test.js +499 -50
  42. package/cjs/features/crosswalks/AttributesTable/types.d.ts +17 -3
  43. package/cjs/features/crosswalks/contexts/SyncedValueHeightsContext.d.ts +11 -0
  44. package/cjs/features/crosswalks/contexts/SyncedValueHeightsContext.js +66 -0
  45. package/cjs/helpers/attributesSelector.d.ts +2 -3
  46. package/cjs/helpers/attributesSelector.js +16 -18
  47. package/cjs/types/index.d.ts +1 -0
  48. package/features/crosswalks/AttributesTable/AttributesTable.js +3 -1
  49. package/features/crosswalks/AttributesTable/AttributesTable.test-data.d.ts +4 -1
  50. package/features/crosswalks/AttributesTable/AttributesTable.test-data.js +49 -20
  51. package/features/crosswalks/AttributesTable/AttributesTable.test.js +58 -2
  52. package/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.d.ts +7 -0
  53. package/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.js +24 -0
  54. package/features/crosswalks/AttributesTable/components/FallbackIndicator/FallbackIndicator.module.css.js +9 -0
  55. package/features/crosswalks/AttributesTable/components/FallbackIndicator/index.d.ts +1 -0
  56. package/features/crosswalks/AttributesTable/components/FallbackIndicator/index.js +1 -0
  57. package/features/crosswalks/AttributesTable/components/OvValuesRenderer/OvValuesRenderer.js +3 -1
  58. package/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.js +1 -1
  59. package/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.d.ts +1 -1
  60. package/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.js +65 -11
  61. package/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.module.css.js +9 -0
  62. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightConsumer.d.ts +7 -0
  63. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightConsumer.js +8 -0
  64. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightReporter.d.ts +7 -0
  65. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/ValueHeightReporter.js +23 -0
  66. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/index.d.ts +2 -0
  67. package/features/crosswalks/AttributesTable/components/SyncedValueHeight/index.js +2 -0
  68. package/features/crosswalks/AttributesTable/helpers.d.ts +4 -2
  69. package/features/crosswalks/AttributesTable/helpers.js +95 -18
  70. package/features/crosswalks/AttributesTable/helpers.test.js +501 -52
  71. package/features/crosswalks/AttributesTable/types.d.ts +17 -3
  72. package/features/crosswalks/contexts/SyncedValueHeightsContext.d.ts +11 -0
  73. package/features/crosswalks/contexts/SyncedValueHeightsContext.js +38 -0
  74. package/helpers/attributesSelector.d.ts +2 -3
  75. package/helpers/attributesSelector.js +16 -17
  76. package/package.json +2 -2
  77. package/types/index.d.ts +1 -0
  78. package/SimpleAttribute/styles.d.ts +0 -1
  79. package/SimpleAttribute/styles.js +0 -42
  80. package/cjs/SimpleAttribute/styles.d.ts +0 -1
  81. package/cjs/SimpleAttribute/styles.js +0 -45
  82. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/styles.d.ts +0 -1
  83. package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/styles.js +0 -13
  84. package/features/crosswalks/AttributesTable/components/RuleTypeRenderer/styles.d.ts +0 -1
  85. package/features/crosswalks/AttributesTable/components/RuleTypeRenderer/styles.js +0 -10
@@ -1,14 +1,28 @@
1
1
  import React from 'react';
2
- import { AttributeType, AttributeValue, Crosswalk, SurvivorStrategy } from '@reltio/mdm-sdk';
2
+ import { AttributeType, AttributeValue, Crosswalk, ParticipationStatus, SurvivorStrategy } from '@reltio/mdm-sdk';
3
3
  import { AddInlineAttributeEvent, DeleteInlineAttributeEvent, EditInlineAttributeEvent, IgnoreInlineAttributeEvent, PinInlineAttributeEvent } from '../../../types/inlineAttributes';
4
4
  import { ColumnData, RenderRowCellProps } from '../../../types/basicTable';
5
5
  import { CrosswalksMap } from '../../../types';
6
- export type RuleTypeValues = {
7
- ruleType: SurvivorStrategy;
6
+ export type StrategyAdditionalFields = {
8
7
  primaryAttributeUri?: string;
9
8
  comparisonAttributeUri?: string;
10
9
  sourcesUriOrder?: string[];
11
10
  };
11
+ export type AppliedSurvivorshipStrategy = {
12
+ strategy: SurvivorStrategy;
13
+ } & StrategyAdditionalFields;
14
+ export type RuleTypeItem = {
15
+ type: 'rule';
16
+ data: AppliedSurvivorshipStrategy;
17
+ valueUri: string;
18
+ } | {
19
+ type: 'status';
20
+ data: ParticipationStatus;
21
+ valueUri: string;
22
+ };
23
+ export type RuleTypeValues = {
24
+ ruleTypes: RuleTypeItem[];
25
+ };
12
26
  export type OvValues = {
13
27
  attributeType: AttributeType;
14
28
  values: AttributeValue[];
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ reportHeight: (uri: string, height: number) => void;
4
+ getHeight: (key: string) => number | undefined;
5
+ clear: () => void;
6
+ };
7
+ export declare const SyncedValueHeightsProvider: ({ children }: {
8
+ children: React.ReactNode;
9
+ }) => React.JSX.Element;
10
+ export declare const useSyncedValueHeights: () => Props;
11
+ export {};
@@ -0,0 +1,38 @@
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 React, { createContext, useCallback, useContext, useMemo, useState } from 'react';
13
+ var SyncedValueHeightsContext = createContext(null);
14
+ export var SyncedValueHeightsProvider = function (_a) {
15
+ var children = _a.children;
16
+ var _b = useState({}), heights = _b[0], setHeights = _b[1];
17
+ var reportHeight = useCallback(function (uri, height) {
18
+ if (!uri || !height || heights[uri] === height)
19
+ return;
20
+ setHeights(function (prev) {
21
+ var _a;
22
+ return (__assign(__assign({}, prev), (_a = {}, _a[uri] = height, _a)));
23
+ });
24
+ }, [heights]);
25
+ var getHeight = useCallback(function (uri) { return (uri ? heights[uri] : 0); }, [heights]);
26
+ var clear = useCallback(function () {
27
+ setHeights({});
28
+ }, []);
29
+ var value = useMemo(function () { return ({ reportHeight: reportHeight, getHeight: getHeight, clear: clear }); }, [reportHeight, getHeight, clear]);
30
+ return React.createElement(SyncedValueHeightsContext.Provider, { value: value }, children);
31
+ };
32
+ export var useSyncedValueHeights = function () {
33
+ var context = useContext(SyncedValueHeightsContext);
34
+ if (!context) {
35
+ throw new Error('useSyncedValueHeights must be used within SyncedValueHeightsProvider');
36
+ }
37
+ return context;
38
+ };
@@ -1,4 +1,3 @@
1
- import { AttributesTypesGroup, AttributeType, Metadata } from '@reltio/mdm-sdk';
1
+ import { AttributesTypesGroup, Metadata } from '@reltio/mdm-sdk';
2
2
  import { AttributeSelectorItemsGroup } from '../types';
3
- export declare const getOperationalTypeUriFromAttrTypes: (attributeTypes: AttributeType[]) => any;
4
- export declare const getAttributeSelectorItems: (metadata: Metadata, attributesTypesGroups: AttributesTypesGroup[], attributesTypesGroupFilter: (attributeSelectorItemsGroup: AttributeSelectorItemsGroup[]) => AttributeSelectorItemsGroup[]) => AttributeSelectorItemsGroup[];
3
+ export declare const getAttributeSelectorItems: (metadata: Metadata, attributesTypesGroups: AttributesTypesGroup[], attributesTypesGroupFilter?: (attributeSelectorItemsGroup: AttributeSelectorItemsGroup[]) => AttributeSelectorItemsGroup[]) => AttributeSelectorItemsGroup[];
@@ -19,31 +19,36 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import { chain, prop } from 'ramda';
22
- import { attributeUriToSearchUri, findRegularAttribute, getAttributesTreeFromAttributes, getBaseUri, getEntityTypeLabel, isInteractionTypeUri, isSpecialAttribute } from '@reltio/mdm-sdk';
23
- var createAttributeItem = function (metadata, attrType, operationalTypeUri, parents) {
22
+ import { attributeUriToSearchUri, getAttributesTreeFromAttributes, getEntityTypeLabel, isInteractionTypeUri, isSpecialAttribute } from '@reltio/mdm-sdk';
23
+ var createAttributeItem = function (metadata, attrType, groupId, parents) {
24
24
  var title = attrType.label || attrType.name;
25
25
  if (isSpecialAttribute(attrType)) {
26
- return { attrType: attrType, title: title, fieldName: attrType.name };
26
+ return {
27
+ attrType: attrType,
28
+ title: title,
29
+ fieldName: attrType.name,
30
+ groupId: groupId
31
+ };
27
32
  }
28
- if (isInteractionTypeUri(operationalTypeUri)) {
29
- return { attrType: attrType, title: title, fieldName: attributeUriToSearchUri(attrType.uri, parents) };
33
+ if (isInteractionTypeUri(groupId)) {
34
+ return { attrType: attrType, title: title, fieldName: attributeUriToSearchUri(attrType.uri, parents), groupId: groupId };
30
35
  }
31
- var entityTypeLabel = getEntityTypeLabel(metadata, { type: operationalTypeUri });
36
+ var entityTypeLabel = getEntityTypeLabel(metadata, { type: groupId });
32
37
  return {
33
38
  attrType: attrType,
34
39
  title: title,
35
- entityTypeUri: operationalTypeUri,
40
+ groupId: groupId,
36
41
  pathToTitle: Array.isArray(parents)
37
42
  ? __spreadArray(__spreadArray([entityTypeLabel], chain(prop('label'), parents), true), [title], false) : [entityTypeLabel, title],
38
43
  fieldName: attributeUriToSearchUri(attrType.uri, parents)
39
44
  };
40
45
  };
41
- var createAttributesConfig = function (metadata, attrNode, operationalTypeUri, parents) {
46
+ var createAttributesConfig = function (metadata, attrNode, groupId, parents) {
42
47
  if (parents === void 0) { parents = []; }
43
- var resConfig = __assign(__assign({}, createAttributeItem(metadata, attrNode, operationalTypeUri, parents)), { uri: attrNode.uri });
48
+ var resConfig = __assign(__assign({}, createAttributeItem(metadata, attrNode, groupId, parents)), { uri: attrNode.uri });
44
49
  var children = attrNode.children
45
50
  ? attrNode.children.map(function (childNode) {
46
- return createAttributesConfig(metadata, childNode, operationalTypeUri, parents.concat(attrNode));
51
+ return createAttributesConfig(metadata, childNode, groupId, parents.concat(attrNode));
47
52
  })
48
53
  : [];
49
54
  if (children.length) {
@@ -51,20 +56,14 @@ var createAttributesConfig = function (metadata, attrNode, operationalTypeUri, p
51
56
  }
52
57
  return resConfig;
53
58
  };
54
- export var getOperationalTypeUriFromAttrTypes = function (attributeTypes) {
55
- var regularAttribute = findRegularAttribute(attributeTypes);
56
- return regularAttribute ? getBaseUri(regularAttribute.uri) : null;
57
- };
58
59
  export var getAttributeSelectorItems = function (metadata, attributesTypesGroups, attributesTypesGroupFilter) {
59
60
  var attributeSelectorItemsGroup = attributesTypesGroups.map(function (_a) {
60
61
  var id = _a.id, title = _a.title, attributeTypes = _a.attributeTypes;
61
- var operationalTypeUri = getOperationalTypeUriFromAttrTypes(attributeTypes);
62
62
  return {
63
63
  id: id,
64
64
  title: title,
65
65
  attributes: getAttributesTreeFromAttributes(attributeTypes, metadata).map(function (attrNode) {
66
- var uri = isSpecialAttribute(attrNode) ? null : operationalTypeUri;
67
- return createAttributesConfig(metadata, attrNode, uri);
66
+ return createAttributesConfig(metadata, attrNode, id);
68
67
  })
69
68
  };
70
69
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.2227",
3
+ "version": "1.4.2229",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./index.js",
@@ -11,7 +11,7 @@
11
11
  "@fluentui/react-context-selector": "^9.1.26",
12
12
  "@googlemaps/markerclusterer": "^2.5.3",
13
13
  "@react-sigma/core": "3.4.0",
14
- "@reltio/mdm-sdk": "^1.4.2021",
14
+ "@reltio/mdm-sdk": "^1.4.2022",
15
15
  "@vis.gl/react-google-maps": "^1.3.0",
16
16
  "d3-cloud": "^1.2.5",
17
17
  "d3-geo": "^2.0.1",
package/types/index.d.ts CHANGED
@@ -45,6 +45,7 @@ export type AttributeSelectorItem = {
45
45
  entityTypeUri?: string;
46
46
  fieldName: string;
47
47
  groupName?: string;
48
+ groupId?: string;
48
49
  title: string;
49
50
  uri?: string;
50
51
  children?: AttributeSelectorItem[];
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"root" | "attributeValue" | "insertAttribute" | "updateAttribute" | "deleteAttribute" | "commentsContainer" | "multilineAttribute" | "ovFalse">;
@@ -1,42 +0,0 @@
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 '@mui/styles';
13
- import { HistoryOperations, historyPalettes } from '@reltio/mdm-sdk';
14
- export var useStyles = makeStyles(function (theme) { return ({
15
- root: {
16
- display: 'flex',
17
- alignItems: 'start',
18
- justifyContent: 'space-between'
19
- },
20
- commentsContainer: {
21
- height: '15px',
22
- marginRight: '-4px' // AttributesPager padding compensation
23
- },
24
- attributeValue: {
25
- verticalAlign: 'middle',
26
- wordBreak: 'break-all',
27
- whiteSpace: 'break-spaces'
28
- },
29
- updateAttribute: __assign(__assign({ width: 'fit-content', padding: '0 4px', marginLeft: '-4px' }, historyPalettes[HistoryOperations.updateAttribute]), { '& > a': {
30
- color: historyPalettes[HistoryOperations.updateAttribute].color
31
- } }),
32
- insertAttribute: __assign(__assign({ width: 'fit-content' }, historyPalettes[HistoryOperations.insertAttribute]), { '& > a': {
33
- color: historyPalettes[HistoryOperations.insertAttribute].color
34
- } }),
35
- deleteAttribute: __assign(__assign({ width: 'fit-content', padding: '0 4px', marginLeft: '-4px', textDecoration: 'line-through' }, historyPalettes[HistoryOperations.deleteAttribute]), { '& > a': {
36
- color: historyPalettes[HistoryOperations.deleteAttribute].color
37
- } }),
38
- multilineAttribute: {
39
- width: 'fit-content'
40
- },
41
- ovFalse: theme.inactive
42
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"root" | "attributeValue" | "insertAttribute" | "updateAttribute" | "deleteAttribute" | "commentsContainer" | "multilineAttribute" | "ovFalse">;
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.useStyles = void 0;
15
- var styles_1 = require("@mui/styles");
16
- var mdm_sdk_1 = require("@reltio/mdm-sdk");
17
- exports.useStyles = (0, styles_1.makeStyles)(function (theme) { return ({
18
- root: {
19
- display: 'flex',
20
- alignItems: 'start',
21
- justifyContent: 'space-between'
22
- },
23
- commentsContainer: {
24
- height: '15px',
25
- marginRight: '-4px' // AttributesPager padding compensation
26
- },
27
- attributeValue: {
28
- verticalAlign: 'middle',
29
- wordBreak: 'break-all',
30
- whiteSpace: 'break-spaces'
31
- },
32
- updateAttribute: __assign(__assign({ width: 'fit-content', padding: '0 4px', marginLeft: '-4px' }, mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.updateAttribute]), { '& > a': {
33
- color: mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.updateAttribute].color
34
- } }),
35
- insertAttribute: __assign(__assign({ width: 'fit-content' }, mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.insertAttribute]), { '& > a': {
36
- color: mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.insertAttribute].color
37
- } }),
38
- deleteAttribute: __assign(__assign({ width: 'fit-content', padding: '0 4px', marginLeft: '-4px', textDecoration: 'line-through' }, mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.deleteAttribute]), { '& > a': {
39
- color: mdm_sdk_1.historyPalettes[mdm_sdk_1.HistoryOperations.deleteAttribute].color
40
- } }),
41
- multilineAttribute: {
42
- width: 'fit-content'
43
- },
44
- ovFalse: theme.inactive
45
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "root">;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useStyles = void 0;
4
- var styles_1 = require("@mui/styles");
5
- exports.useStyles = (0, styles_1.makeStyles)({
6
- root: {
7
- display: 'flex',
8
- alignItems: 'center'
9
- },
10
- label: {
11
- marginRight: '5px'
12
- }
13
- });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "root">;
@@ -1,10 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles({
3
- root: {
4
- display: 'flex',
5
- alignItems: 'center'
6
- },
7
- label: {
8
- marginRight: '5px'
9
- }
10
- });