@reltio/components 1.4.923 → 1.4.927
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.
- package/cjs/components/MergeButton/MergeButton.js +2 -2
- package/cjs/components/NotMatchButton/NotMatchButton.js +2 -2
- package/cjs/components/SidePanelEmptyState/SidePanelEmptyState.d.ts +8 -0
- package/cjs/components/SidePanelEmptyState/SidePanelEmptyState.js +19 -0
- package/cjs/components/SidePanelEmptyState/styles.d.ts +1 -0
- package/cjs/components/SidePanelEmptyState/styles.js +46 -0
- package/cjs/components/crosswalks/CrosswalkRow/CrosswalkRow.js +3 -1
- package/cjs/components/history/ContributorsPanel/styles.js +0 -1
- package/cjs/components/history/HistoryPanelEmptyState/HistoryPanelEmptyState.d.ts +3 -0
- package/cjs/components/history/HistoryPanelEmptyState/HistoryPanelEmptyState.js +10 -0
- package/cjs/components/history/HistoryView/styles.js +2 -1
- package/cjs/components/history/index.d.ts +1 -0
- package/cjs/components/history/index.js +3 -1
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/index.js +4 -2
- package/cjs/hooks/useCollaboration.d.ts +7 -1
- package/cjs/hooks/useCollaboration.js +9 -9
- package/cjs/icons/AttributesList.d.ts +3 -0
- package/cjs/icons/AttributesList.js +58 -0
- package/cjs/icons/MergeDark.d.ts +3 -0
- package/cjs/icons/MergeDark.js +27 -0
- package/cjs/icons/NotMatchDark.d.ts +3 -0
- package/cjs/icons/NotMatchDark.js +27 -0
- package/cjs/icons/index.d.ts +4 -3
- package/cjs/icons/index.js +9 -7
- package/esm/components/MergeButton/MergeButton.js +1 -1
- package/esm/components/NotMatchButton/NotMatchButton.js +1 -1
- package/esm/components/SidePanelEmptyState/SidePanelEmptyState.d.ts +8 -0
- package/esm/components/SidePanelEmptyState/SidePanelEmptyState.js +14 -0
- package/esm/components/SidePanelEmptyState/styles.d.ts +1 -0
- package/esm/components/SidePanelEmptyState/styles.js +43 -0
- package/esm/components/crosswalks/CrosswalkRow/CrosswalkRow.js +3 -1
- package/esm/components/history/ContributorsPanel/styles.js +0 -1
- package/esm/components/history/HistoryPanelEmptyState/HistoryPanelEmptyState.d.ts +3 -0
- package/esm/components/history/HistoryPanelEmptyState/HistoryPanelEmptyState.js +5 -0
- package/esm/components/history/HistoryView/styles.js +2 -1
- package/esm/components/history/index.d.ts +1 -0
- package/esm/components/history/index.js +1 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +1 -0
- package/esm/hooks/useCollaboration.d.ts +7 -1
- package/esm/hooks/useCollaboration.js +9 -9
- package/esm/icons/AttributesList.d.ts +3 -0
- package/esm/icons/AttributesList.js +53 -0
- package/esm/icons/MergeDark.d.ts +3 -0
- package/esm/icons/MergeDark.js +22 -0
- package/esm/icons/NotMatchDark.d.ts +3 -0
- package/esm/icons/NotMatchDark.js +22 -0
- package/esm/icons/index.d.ts +4 -3
- package/esm/icons/index.js +4 -3
- package/package.json +3 -3
|
@@ -47,7 +47,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
47
47
|
exports.MergeButton = void 0;
|
|
48
48
|
var react_1 = __importStar(require("react"));
|
|
49
49
|
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
50
|
-
var
|
|
50
|
+
var MergeDark_1 = __importDefault(require("../../icons/MergeDark"));
|
|
51
51
|
var core_1 = require("../../core");
|
|
52
52
|
var ActionButton_1 = require("../ActionButton/ActionButton");
|
|
53
53
|
var hooks_1 = require("../../hooks");
|
|
@@ -60,6 +60,6 @@ exports.MergeButton = react_1.forwardRef(function (_a, ref) {
|
|
|
60
60
|
onFinishRequest: onFinishRequest,
|
|
61
61
|
onError: onError
|
|
62
62
|
}).sendMergeAllRequest;
|
|
63
|
-
return (react_1.default.createElement(ActionButton_1.ActionButton, __assign({ className: className, disabled: disabled, mode: mode, label: ui_i18n_1.default.text('Merge'), icon:
|
|
63
|
+
return (react_1.default.createElement(ActionButton_1.ActionButton, __assign({ className: className, disabled: disabled, mode: mode, label: ui_i18n_1.default.text('Merge'), icon: MergeDark_1.default, onClick: sendMergeAllRequest, onMenuClose: onMenuClose, ref: ref }, otherProps)));
|
|
64
64
|
});
|
|
65
65
|
exports.MergeButton.displayName = 'mergeButton';
|
|
@@ -47,7 +47,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
47
47
|
exports.NotMatchButton = void 0;
|
|
48
48
|
var ActionButton_1 = require("../ActionButton/ActionButton");
|
|
49
49
|
var react_1 = __importStar(require("react"));
|
|
50
|
-
var
|
|
50
|
+
var NotMatchDark_1 = __importDefault(require("../../icons/NotMatchDark"));
|
|
51
51
|
var core_1 = require("../../core");
|
|
52
52
|
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
53
53
|
var useMarkAsNotMatchRequest_1 = require("../../hooks/useMarkAsNotMatchRequest");
|
|
@@ -59,6 +59,6 @@ exports.NotMatchButton = react_1.forwardRef(function (_a, ref) {
|
|
|
59
59
|
onStartRequest: onStartRequest,
|
|
60
60
|
onFinishRequest: onFinishRequest
|
|
61
61
|
}).sendMarkAsNotMatchRequest;
|
|
62
|
-
return (react_1.default.createElement(ActionButton_1.ActionButton, __assign({ className: className, disabled: disabled, mode: mode, label: ui_i18n_1.default.text('Not a match'), icon:
|
|
62
|
+
return (react_1.default.createElement(ActionButton_1.ActionButton, __assign({ className: className, disabled: disabled, mode: mode, label: ui_i18n_1.default.text('Not a match'), icon: NotMatchDark_1.default, onClick: sendMarkAsNotMatchRequest, onMenuClose: onMenuClose, ref: ref }, otherProps)));
|
|
63
63
|
});
|
|
64
64
|
exports.NotMatchButton.displayName = 'notMatchButton';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
IconRenderer?: React.ElementType;
|
|
4
|
+
text: string;
|
|
5
|
+
secondaryText?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const SidePanelEmptyState: ({ IconRenderer, text, secondaryText }: Props) => JSX.Element;
|
|
8
|
+
export default SidePanelEmptyState;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var Typography_1 = __importDefault(require("@material-ui/core/Typography"));
|
|
8
|
+
var icons_1 = require("../../icons");
|
|
9
|
+
var styles_1 = require("./styles");
|
|
10
|
+
var SidePanelEmptyState = function (_a) {
|
|
11
|
+
var _b = _a.IconRenderer, IconRenderer = _b === void 0 ? icons_1.AttributesList : _b, text = _a.text, secondaryText = _a.secondaryText;
|
|
12
|
+
var styles = styles_1.useStyles();
|
|
13
|
+
return (react_1.default.createElement("div", { className: styles.root },
|
|
14
|
+
react_1.default.createElement(IconRenderer, { className: styles.logo }),
|
|
15
|
+
react_1.default.createElement("div", { className: styles.textBox },
|
|
16
|
+
react_1.default.createElement(Typography_1.default, { className: styles.text }, text),
|
|
17
|
+
secondaryText && react_1.default.createElement(Typography_1.default, { className: styles.secondaryText }, secondaryText))));
|
|
18
|
+
};
|
|
19
|
+
exports.default = SidePanelEmptyState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"text" | "root" | "textBox" | "secondaryText" | "logo">;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useStyles = void 0;
|
|
4
|
+
var styles_1 = require("@material-ui/core/styles");
|
|
5
|
+
exports.useStyles = styles_1.makeStyles(function (theme) { return ({
|
|
6
|
+
root: {
|
|
7
|
+
display: 'flex',
|
|
8
|
+
flex: '1 1 auto',
|
|
9
|
+
flexWrap: 'nowrap',
|
|
10
|
+
flexDirection: 'column',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
justifyContent: 'center',
|
|
13
|
+
overflow: 'auto',
|
|
14
|
+
height: '100%',
|
|
15
|
+
minHeight: '350px',
|
|
16
|
+
boxSizing: 'border-box',
|
|
17
|
+
padding: '40px'
|
|
18
|
+
},
|
|
19
|
+
logo: {
|
|
20
|
+
width: '190px',
|
|
21
|
+
height: '190px'
|
|
22
|
+
},
|
|
23
|
+
textBox: {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
flexDirection: 'column',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
maxWidth: 400,
|
|
28
|
+
marginTop: '24px'
|
|
29
|
+
},
|
|
30
|
+
text: {
|
|
31
|
+
color: theme.palette.text.primary,
|
|
32
|
+
fontSize: '20px',
|
|
33
|
+
fontWeight: 500,
|
|
34
|
+
lineHeight: '23px',
|
|
35
|
+
textAlign: 'center'
|
|
36
|
+
},
|
|
37
|
+
secondaryText: {
|
|
38
|
+
color: theme.palette.text.primary,
|
|
39
|
+
fontSize: '14px',
|
|
40
|
+
fontWeight: 'normal',
|
|
41
|
+
lineHeight: '16px',
|
|
42
|
+
letterSpacing: '0.24px',
|
|
43
|
+
textAlign: 'center',
|
|
44
|
+
paddingTop: '8px'
|
|
45
|
+
}
|
|
46
|
+
}); });
|
|
@@ -97,7 +97,9 @@ var CrosswalkRow = function (_a) {
|
|
|
97
97
|
react_1.default.createElement(Typography_1.default, { variant: 'body2', className: styles.labelValue, noWrap: true }, crosswalk.value))),
|
|
98
98
|
expanded && (react_1.default.createElement("div", { className: styles.attributesWrapper },
|
|
99
99
|
canDelete && (react_1.default.createElement("div", { className: styles.deleteCrosswalkButton },
|
|
100
|
-
react_1.default.createElement(SmallIconButton_1.SmallIconButtonWithTooltip, { icon: Delete_1.default, disabled: disableDelete, onClick: function () { return setDeleteDialogOpen(true); }, size: "XS", tooltipTitle:
|
|
100
|
+
react_1.default.createElement(SmallIconButton_1.SmallIconButtonWithTooltip, { icon: Delete_1.default, disabled: disableDelete, onClick: function () { return setDeleteDialogOpen(true); }, size: "XS", tooltipTitle: disableDelete
|
|
101
|
+
? ui_i18n_1.default.text("You don't have permissions to delete")
|
|
102
|
+
: ui_i18n_1.default.text('Delete crosswalk'), showForDisabled: true }),
|
|
101
103
|
react_1.default.createElement(ConfirmDeleteDialog_1.default, { open: isDeleteDialogOpen, onConfirm: handleDeleteCrosswalk, onClose: function () { return setDeleteDialogOpen(false); } }))),
|
|
102
104
|
react_1.default.createElement(CrosswalkAttributes_1.default, { crosswalk: crosswalk, canEditAttribute: !disableEdit, onEditAttribute: function (attributeName, value) {
|
|
103
105
|
onEdit({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
8
|
+
var SidePanelEmptyState_1 = __importDefault(require("../../SidePanelEmptyState/SidePanelEmptyState"));
|
|
9
|
+
var HistoryPanelEmptyState = function () { return (react_1.default.createElement(SidePanelEmptyState_1.default, { text: ui_i18n_1.default.text('History in the making'), secondaryText: ui_i18n_1.default.text('When you create an event or perform an activity, it will show up here.') })); };
|
|
10
|
+
exports.default = HistoryPanelEmptyState;
|
|
@@ -4,4 +4,5 @@ export { useHistoryDiff } from './hooks/useHistoryDiff';
|
|
|
4
4
|
export { default as HistoryView } from './HistoryView/HistoryView';
|
|
5
5
|
export { default as HistoryHeader } from './HistoryHeader/HistoryHeader';
|
|
6
6
|
export { default as ProfileBandHistory } from './ProfileBandHistory/ProfileBandHistory';
|
|
7
|
+
export { default as HistoryPanelEmptyState } from './HistoryPanelEmptyState/HistoryPanelEmptyState';
|
|
7
8
|
export * from './types';
|
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProfileBandHistory = exports.HistoryHeader = exports.HistoryView = exports.useHistoryDiff = exports.useHistory = exports.useHistorySlice = void 0;
|
|
16
|
+
exports.HistoryPanelEmptyState = exports.ProfileBandHistory = exports.HistoryHeader = exports.HistoryView = exports.useHistoryDiff = exports.useHistory = exports.useHistorySlice = void 0;
|
|
17
17
|
var useHistorySlice_1 = require("./hooks/useHistorySlice");
|
|
18
18
|
Object.defineProperty(exports, "useHistorySlice", { enumerable: true, get: function () { return useHistorySlice_1.useHistorySlice; } });
|
|
19
19
|
var useHistory_1 = require("./hooks/useHistory");
|
|
@@ -26,4 +26,6 @@ var HistoryHeader_1 = require("./HistoryHeader/HistoryHeader");
|
|
|
26
26
|
Object.defineProperty(exports, "HistoryHeader", { enumerable: true, get: function () { return __importDefault(HistoryHeader_1).default; } });
|
|
27
27
|
var ProfileBandHistory_1 = require("./ProfileBandHistory/ProfileBandHistory");
|
|
28
28
|
Object.defineProperty(exports, "ProfileBandHistory", { enumerable: true, get: function () { return __importDefault(ProfileBandHistory_1).default; } });
|
|
29
|
+
var HistoryPanelEmptyState_1 = require("./HistoryPanelEmptyState/HistoryPanelEmptyState");
|
|
30
|
+
Object.defineProperty(exports, "HistoryPanelEmptyState", { enumerable: true, get: function () { return __importDefault(HistoryPanelEmptyState_1).default; } });
|
|
29
31
|
__exportStar(require("./types"), exports);
|
|
@@ -96,6 +96,7 @@ export { default as SelectionPopup } from './SelectionPopup/SelectionPopup';
|
|
|
96
96
|
export { default as SelectionPopupPopper } from './SelectionPopup/SelectionPopupPopper/SelectionPopupPopper';
|
|
97
97
|
export { default as SelectorWithOnlyOptionAutoSelect } from './SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect';
|
|
98
98
|
export { SideButtonsPanel } from './SideIconPanel/SideButtonsPanel';
|
|
99
|
+
export { default as SidePanelEmptyState } from './SidePanelEmptyState/SidePanelEmptyState';
|
|
99
100
|
export { SidePanel } from './SidePanel/SidePanel';
|
|
100
101
|
export { SidePanelContentHeader } from './SidePanel/SidePanelContentHeader/SidePanelContentHeader';
|
|
101
102
|
export { default as SimpleDropDownSelector } from './SimpleDropDownSelector/SimpleDropDownSelector';
|
package/cjs/components/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.EntityTypeBadge = exports.EntityAvatar = exports.EMPTY_STATE_VARIANTS = exports.EMPTY_STATE_ICONS = exports.EmptyState = exports.NoResults = exports.NoData = exports.DropDownSelector = exports.DropDownMenuButton = exports.Drawer = exports.DataTypeValue = exports.ConnectionRelationTypeSelector = exports.ConfigureColumnsPopup = exports.MenuWithPopper = exports.DropdownIndicatorWithIconButton = exports.DropdownIndicator = exports.CommentsContainer = exports.ColorBar = exports.CollapseButton = exports.CollaborationItem = exports.ClickAwayProvider = exports.BasicViewHeader = exports.BasicViewContent = exports.BasicView = exports.ProfileBandNavigation = exports.AvatarWithFallback = exports.AutoSizeList = exports.ReadOnlyAttributesPager = exports.SimpleAttribute = exports.ReferenceAttribute = exports.NestedAttribute = exports.EditableImageAttributesLine = exports.ImageAttributesLine = exports.ReadOnlyAttributesList = exports.ReadOnlyAttributeValuesBlock = exports.EditableAttribute = exports.ReadOnlyAttribute = exports.CardinalityMessage = exports.AttributesPager = exports.SimpleAttributeEditor = exports.RelationTypeSelector = exports.ReferenceAttributeEditor = exports.NestedAttributeEditor = exports.MoreAttributesButton = exports.EntitySelector = exports.EntityCreator = exports.AttributesList = exports.BranchDecorator = exports.AttributesView = exports.AttributeListItem = void 0;
|
|
17
|
-
exports.
|
|
18
|
-
exports.ActionButtonMode = exports.ActionButton = exports.NotMatchButton = exports.MergeButton = exports.ProfileMatchCard = exports.RelationEditor = exports.OvIcon = exports.ErrorMessage = exports.ReltioMap = exports.ConfirmDeleteDialog = exports.ConfirmationDialog = exports.Marginator = exports.LightArrowTooltip = exports.ArrowExpandButton = exports.ScrollableTabs = exports.ExpandableSearchInput = exports.VirtualGroupedList = exports.ViewMoreToggle = exports.VerticalHeadingsTable = exports.VerticalDivider = exports.AttributeTitle = exports.Spacer = exports.SourceIcon = exports.SmallIconButtonWithTooltip = exports.SmallIconButton = exports.SimpleDropDownSelector = void 0;
|
|
17
|
+
exports.SidePanel = exports.SidePanelEmptyState = exports.SideButtonsPanel = exports.SelectorWithOnlyOptionAutoSelect = exports.SelectionPopupPopper = exports.SelectionPopup = exports.useKeyboardNavigation = exports.WhiteSearchInput = exports.SearchInput = exports.ScoreLabel = exports.Score = exports.ResizablePanes = exports.ReltioGridLayout = exports.ReactSortableTreeUtils = exports.ReactSortableTreeHandlers = exports.ReactSortableTree = exports.ReactSelectOptionFilters = exports.MultiSelect = exports.QueryBuilderRowsGroup = exports.QueryBuilderRow = exports.ProfileCard = exports.ProfileBand = exports.PotentialMatchReviewCard = exports.PopupWithArrow = exports.Popper = exports.MultipleInput = exports.ModeSwitcherSelect = exports.ModeSwitcher = exports.TransitiveMatchBlock = exports.SimpleMatchRulesBuilder = exports.SimpleMatchRulesBlock = exports.MatchRulesBlock = exports.LoadingSpinner = exports.Link = exports.LinearLoadIndicator = exports.ImportModes = exports.ImportButton = exports.ImageGalleryDialog = exports.Highlighter = exports.HierarchicalAttributeTooltip = exports.HideOnShrink = exports.FlipCard = exports.FacetViewHeader = exports.ExpandedValueTooltip = exports.ErrorWrapper = exports.ErrorPopup = exports.ErrorBoundary = exports.EntityUriLink = exports.EntityTypesSelector = exports.EntityTypeIcon = void 0;
|
|
18
|
+
exports.ActionButtonMode = exports.ActionButton = exports.NotMatchButton = exports.MergeButton = exports.ProfileMatchCard = exports.RelationEditor = exports.OvIcon = exports.ErrorMessage = exports.ReltioMap = exports.ConfirmDeleteDialog = exports.ConfirmationDialog = exports.Marginator = exports.LightArrowTooltip = exports.ArrowExpandButton = exports.ScrollableTabs = exports.ExpandableSearchInput = exports.VirtualGroupedList = exports.ViewMoreToggle = exports.VerticalHeadingsTable = exports.VerticalDivider = exports.AttributeTitle = exports.Spacer = exports.SourceIcon = exports.SmallIconButtonWithTooltip = exports.SmallIconButton = exports.SimpleDropDownSelector = exports.SidePanelContentHeader = void 0;
|
|
19
19
|
__exportStar(require("./activityLog"), exports);
|
|
20
20
|
var AttributeListItem_1 = require("./AttributeListItem/AttributeListItem");
|
|
21
21
|
Object.defineProperty(exports, "AttributeListItem", { enumerable: true, get: function () { return __importDefault(AttributeListItem_1).default; } });
|
|
@@ -211,6 +211,8 @@ var SelectorWithOnlyOptionAutoSelect_1 = require("./SelectorWithOnlyOptionAutoSe
|
|
|
211
211
|
Object.defineProperty(exports, "SelectorWithOnlyOptionAutoSelect", { enumerable: true, get: function () { return __importDefault(SelectorWithOnlyOptionAutoSelect_1).default; } });
|
|
212
212
|
var SideButtonsPanel_1 = require("./SideIconPanel/SideButtonsPanel");
|
|
213
213
|
Object.defineProperty(exports, "SideButtonsPanel", { enumerable: true, get: function () { return SideButtonsPanel_1.SideButtonsPanel; } });
|
|
214
|
+
var SidePanelEmptyState_1 = require("./SidePanelEmptyState/SidePanelEmptyState");
|
|
215
|
+
Object.defineProperty(exports, "SidePanelEmptyState", { enumerable: true, get: function () { return __importDefault(SidePanelEmptyState_1).default; } });
|
|
214
216
|
var SidePanel_1 = require("./SidePanel/SidePanel");
|
|
215
217
|
Object.defineProperty(exports, "SidePanel", { enumerable: true, get: function () { return SidePanel_1.SidePanel; } });
|
|
216
218
|
var SidePanelContentHeader_1 = require("./SidePanel/SidePanelContentHeader/SidePanelContentHeader");
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { CollaborationObjectTypes, Comment, CommentsMap } from '@reltio/mdm-sdk';
|
|
2
|
-
|
|
2
|
+
declare type Props = {
|
|
3
|
+
objectIds?: string[];
|
|
4
|
+
objectTypes?: CollaborationObjectTypes[];
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const useCollaboration: ({ objectIds, objectTypes, enabled }: Props) => {
|
|
3
8
|
clearCurrentComment: () => void;
|
|
4
9
|
comments: Comment[];
|
|
5
10
|
commentsMap: CommentsMap;
|
|
@@ -18,3 +23,4 @@ export declare const useCollaboration: (objectIds?: string[], objectTypes?: Coll
|
|
|
18
23
|
resolveThread: ({ commentId, uri }: any) => void;
|
|
19
24
|
sending: boolean;
|
|
20
25
|
};
|
|
26
|
+
export {};
|
|
@@ -27,18 +27,18 @@ var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
|
27
27
|
var mdm_module_1 = __importDefault(require("@reltio/mdm-module"));
|
|
28
28
|
var defaultObjectIds = [];
|
|
29
29
|
var catchErrorInRequest = function (e) { return console.error('Collaboration error', e); };
|
|
30
|
-
var useCollaboration = function (
|
|
31
|
-
|
|
30
|
+
var useCollaboration = function (_a) {
|
|
31
|
+
var _b = _a.objectIds, objectIds = _b === void 0 ? defaultObjectIds : _b, objectTypes = _a.objectTypes, _c = _a.enabled, enabled = _c === void 0 ? true : _c;
|
|
32
32
|
var entity = react_redux_1.useSelector(mdm_module_1.default.selectors.getEntity);
|
|
33
33
|
var tenant = react_redux_1.useSelector(mdm_module_1.default.selectors.getTenant);
|
|
34
34
|
var collaborationPath = react_redux_1.useSelector(mdm_module_1.default.selectors.getCollaborationPath);
|
|
35
|
-
var isCollaborationEnabled = react_redux_1.useSelector(mdm_module_1.default.selectors.isCollaborationEnabled);
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
35
|
+
var isCollaborationEnabled = react_redux_1.useSelector(mdm_module_1.default.selectors.isCollaborationEnabled) && enabled;
|
|
36
|
+
var _d = react_1.useState(null), pageToken = _d[0], setPageToken = _d[1];
|
|
37
|
+
var _e = react_1.useState([]), comments = _e[0], setComments = _e[1];
|
|
38
|
+
var _f = react_1.useState(null), commentsMap = _f[0], setCommentsMap = _f[1];
|
|
39
|
+
var _g = react_1.useState(null), currentComment = _g[0], setCurrentComment = _g[1];
|
|
40
|
+
var _h = react_1.useState(false), sending = _h[0], setSending = _h[1];
|
|
41
|
+
var _j = react_1.useState(false), loading = _j[0], setLoading = _j[1];
|
|
42
42
|
var addCommentsToCommentsMap = react_1.useCallback(function (commentsMap) {
|
|
43
43
|
setCommentsMap(function (currentCommentsMap) { return (__assign(__assign({}, currentCommentsMap), commentsMap)); });
|
|
44
44
|
}, []);
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgAttributesList = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
20
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#0072CE", fillOpacity: 0.1 }),
|
|
21
|
+
react_1.default.createElement("mask", { id: "AttributesList_svg__a", style: {
|
|
22
|
+
maskType: 'alpha'
|
|
23
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
24
|
+
react_1.default.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#fff" })),
|
|
25
|
+
react_1.default.createElement("g", { mask: "url(#AttributesList_svg__a)" },
|
|
26
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-16 9h256v247H-16V9z", fill: "url(#AttributesList_svg__b)" }),
|
|
27
|
+
react_1.default.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z", fill: "url(#AttributesList_svg__c)" }),
|
|
28
|
+
react_1.default.createElement("path", { opacity: 0.06, fillRule: "evenodd", clipRule: "evenodd", d: "M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z", fill: "#000" }),
|
|
29
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z", fill: "#fff" }),
|
|
30
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
31
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
32
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
33
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
34
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
35
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
36
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
37
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z", fill: "#979797" }),
|
|
38
|
+
react_1.default.createElement("circle", { cx: 67, cy: 79, r: 9, fill: "#B6C7DB" }),
|
|
39
|
+
react_1.default.createElement("circle", { cx: 67, cy: 79, r: 9, fill: "#B6C7DB" }),
|
|
40
|
+
react_1.default.createElement("circle", { cx: 120, cy: 106, r: 6, fill: "#B6C7DB" }),
|
|
41
|
+
react_1.default.createElement("circle", { cx: 120, cy: 136, r: 6, fill: "#B6C7DB" }),
|
|
42
|
+
react_1.default.createElement("circle", { cx: 67, cy: 169, r: 9, fill: "#B6C7DB" }),
|
|
43
|
+
react_1.default.createElement("circle", { cx: 67, cy: 199, r: 9, fill: "#B6C7DB" }),
|
|
44
|
+
react_1.default.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
45
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z", fill: "#979797" }),
|
|
46
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M92.514 108v-8h-2v40.365h11.178v-2h-9.178V110h9.178v-2h-9.178z", fill: "#2B98F0" }),
|
|
47
|
+
react_1.default.createElement("path", { opacity: 0.54, fillRule: "evenodd", clipRule: "evenodd", d: "M95.071 77l-3.535 3.535L88 77h7.071z", fill: "#000" }),
|
|
48
|
+
react_1.default.createElement("path", { opacity: 0.6, fillRule: "evenodd", clipRule: "evenodd", d: "M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z", fill: "#fff" }),
|
|
49
|
+
react_1.default.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zm90 0a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z", fill: "#979797" })),
|
|
50
|
+
react_1.default.createElement("defs", null,
|
|
51
|
+
react_1.default.createElement("linearGradient", { id: "AttributesList_svg__b", x1: -16, y1: 9, x2: -16, y2: 256, gradientUnits: "userSpaceOnUse" },
|
|
52
|
+
react_1.default.createElement("stop", { stopColor: "#FAFAFA", stopOpacity: 0.01 }),
|
|
53
|
+
react_1.default.createElement("stop", { offset: 1, stopColor: "#F4F4F4" })),
|
|
54
|
+
react_1.default.createElement("linearGradient", { id: "AttributesList_svg__c", x1: 266.117, y1: 181.111, x2: 154.882, y2: 77.681, gradientUnits: "userSpaceOnUse" },
|
|
55
|
+
react_1.default.createElement("stop", { stopOpacity: 0.01 }),
|
|
56
|
+
react_1.default.createElement("stop", { offset: 1 })))));
|
|
57
|
+
};
|
|
58
|
+
exports.default = SvgAttributesList;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgMergeDark = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props),
|
|
20
|
+
react_1.default.createElement("defs", null,
|
|
21
|
+
react_1.default.createElement("path", { d: "M17.045 20.455l1.41-1.41-3.41-3.41-1.41 1.41 3.41 3.41zm-9.5-12.41h3.5v5.59l-5.41 5.41 1.41 1.41 6-6v-6.41h3.5l-4.5-4.5-4.5 4.5z", id: "MergeDark_svg__a" })),
|
|
22
|
+
react_1.default.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
23
|
+
react_1.default.createElement("mask", { id: "MergeDark_svg__b", fill: "#fff" },
|
|
24
|
+
react_1.default.createElement("use", { xlinkHref: "#MergeDark_svg__a", transform: "rotate(90 12.045 12)" })),
|
|
25
|
+
react_1.default.createElement("path", { fillOpacity: 0.54, fill: "#000", mask: "url(#MergeDark_svg__b)", d: "M0 0h24v24H0z" }))));
|
|
26
|
+
};
|
|
27
|
+
exports.default = SvgMergeDark;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var react_1 = __importDefault(require("react"));
|
|
18
|
+
var SvgNotMatchDark = function (props) {
|
|
19
|
+
return (react_1.default.createElement("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props),
|
|
20
|
+
react_1.default.createElement("defs", null,
|
|
21
|
+
react_1.default.createElement("path", { d: "M17 13.138l4.5 4.5-4.5 4.5V18.5h-1.247l-3.488-3.479 1.413-1.414 2.901 2.893H17v-3.362zM17 1.5L21.5 6 17 10.5V7.138h-.421l-11.03 11H2v-2h2.723l11.03-11H17V1.5zm-11.45 4l3.294 3.286-1.414 1.413L4.723 7.5H2v-2h3.55z", id: "NotMatchDark_svg__a" })),
|
|
22
|
+
react_1.default.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
23
|
+
react_1.default.createElement("mask", { id: "NotMatchDark_svg__b", fill: "#fff" },
|
|
24
|
+
react_1.default.createElement("use", { xlinkHref: "#NotMatchDark_svg__a" })),
|
|
25
|
+
react_1.default.createElement("path", { fillOpacity: 0.54, fill: "#000", mask: "url(#NotMatchDark_svg__b)", d: "M0 0h24v24H0z" }))));
|
|
26
|
+
};
|
|
27
|
+
exports.default = SvgNotMatchDark;
|
package/cjs/icons/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Add } from './Add';
|
|
2
2
|
export { default as AddComment } from './AddComment';
|
|
3
|
+
export { default as AttributesList } from './AttributesList';
|
|
3
4
|
export { default as Calendar } from './Calendar';
|
|
4
5
|
export { default as CollaborationIcon } from './CollaborationIcon';
|
|
5
6
|
export { default as Comment } from './Comment';
|
|
@@ -20,17 +21,17 @@ export { default as Ignored } from './Ignored';
|
|
|
20
21
|
export { default as IgnoredOutlined } from './IgnoredOutlined';
|
|
21
22
|
export { default as LogIn } from './LogIn';
|
|
22
23
|
export { default as LogOut } from './LogOut';
|
|
23
|
-
export { default as MlMatch } from './MlMatch';
|
|
24
24
|
export { default as Merge } from './Merge';
|
|
25
|
+
export { default as MlMatch } from './MlMatch';
|
|
25
26
|
export { default as NestedAttribute } from './NestedAttribute';
|
|
26
27
|
export { default as NoData } from './NoData';
|
|
27
28
|
export { default as NoDataSearch } from './NoDataSearch';
|
|
28
29
|
export { default as NoMatches } from './NoMatches';
|
|
29
|
-
export { default as PmIcon } from './PmIcon';
|
|
30
|
-
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
31
30
|
export { default as Pin } from './Pin';
|
|
32
31
|
export { default as PinOutlined } from './PinOutlined';
|
|
33
32
|
export { default as PivotingIcon } from './PivotingIcon';
|
|
33
|
+
export { default as PmIcon } from './PmIcon';
|
|
34
|
+
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
34
35
|
export { default as Polygon } from './Polygon';
|
|
35
36
|
export { default as PotentialMatch } from './PotentialMatch';
|
|
36
37
|
export { default as Profile } from './Profile';
|
package/cjs/icons/index.js
CHANGED
|
@@ -3,11 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.UploadIcon = exports.UnMerge = exports.Table = exports.SimpleAttribute = exports.SelectAttributes = exports.Search = exports.ResizeIconInline = exports.Remove = exports.ReferenceAttribute = exports.Recommended = exports.Radius = exports.Profile = exports.PotentialMatch = exports.Polygon = exports.
|
|
6
|
+
exports.UploadIcon = exports.UnMerge = exports.Table = exports.SimpleAttribute = exports.SelectAttributes = exports.Search = exports.ResizeIconInline = exports.Remove = exports.ReferenceAttribute = exports.Recommended = exports.Radius = exports.Profile = exports.PotentialMatch = exports.Polygon = exports.PmTaskIcon = exports.PmIcon = exports.PivotingIcon = exports.PinOutlined = exports.Pin = exports.NoMatches = exports.NoDataSearch = exports.NoData = exports.NestedAttribute = exports.MlMatch = exports.Merge = exports.LogOut = exports.LogIn = exports.IgnoredOutlined = exports.Ignored = exports.Filter = exports.Error = exports.EmptySearchResults = exports.Draw = exports.Download = exports.Details = exports.DeleteRequestTaskIcon = exports.DefaultTaskIcon = exports.DefaultImage = exports.DcrTaskIcon = exports.Create = exports.Copy = exports.CommentBubble = exports.Comment = exports.CollaborationIcon = exports.Calendar = exports.AttributesList = exports.AddComment = exports.Add = void 0;
|
|
7
7
|
var Add_1 = require("./Add");
|
|
8
8
|
Object.defineProperty(exports, "Add", { enumerable: true, get: function () { return __importDefault(Add_1).default; } });
|
|
9
9
|
var AddComment_1 = require("./AddComment");
|
|
10
10
|
Object.defineProperty(exports, "AddComment", { enumerable: true, get: function () { return __importDefault(AddComment_1).default; } });
|
|
11
|
+
var AttributesList_1 = require("./AttributesList");
|
|
12
|
+
Object.defineProperty(exports, "AttributesList", { enumerable: true, get: function () { return __importDefault(AttributesList_1).default; } });
|
|
11
13
|
var Calendar_1 = require("./Calendar");
|
|
12
14
|
Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return __importDefault(Calendar_1).default; } });
|
|
13
15
|
var CollaborationIcon_1 = require("./CollaborationIcon");
|
|
@@ -48,10 +50,10 @@ var LogIn_1 = require("./LogIn");
|
|
|
48
50
|
Object.defineProperty(exports, "LogIn", { enumerable: true, get: function () { return __importDefault(LogIn_1).default; } });
|
|
49
51
|
var LogOut_1 = require("./LogOut");
|
|
50
52
|
Object.defineProperty(exports, "LogOut", { enumerable: true, get: function () { return __importDefault(LogOut_1).default; } });
|
|
51
|
-
var MlMatch_1 = require("./MlMatch");
|
|
52
|
-
Object.defineProperty(exports, "MlMatch", { enumerable: true, get: function () { return __importDefault(MlMatch_1).default; } });
|
|
53
53
|
var Merge_1 = require("./Merge");
|
|
54
54
|
Object.defineProperty(exports, "Merge", { enumerable: true, get: function () { return __importDefault(Merge_1).default; } });
|
|
55
|
+
var MlMatch_1 = require("./MlMatch");
|
|
56
|
+
Object.defineProperty(exports, "MlMatch", { enumerable: true, get: function () { return __importDefault(MlMatch_1).default; } });
|
|
55
57
|
var NestedAttribute_1 = require("./NestedAttribute");
|
|
56
58
|
Object.defineProperty(exports, "NestedAttribute", { enumerable: true, get: function () { return __importDefault(NestedAttribute_1).default; } });
|
|
57
59
|
var NoData_1 = require("./NoData");
|
|
@@ -60,16 +62,16 @@ var NoDataSearch_1 = require("./NoDataSearch");
|
|
|
60
62
|
Object.defineProperty(exports, "NoDataSearch", { enumerable: true, get: function () { return __importDefault(NoDataSearch_1).default; } });
|
|
61
63
|
var NoMatches_1 = require("./NoMatches");
|
|
62
64
|
Object.defineProperty(exports, "NoMatches", { enumerable: true, get: function () { return __importDefault(NoMatches_1).default; } });
|
|
63
|
-
var PmIcon_1 = require("./PmIcon");
|
|
64
|
-
Object.defineProperty(exports, "PmIcon", { enumerable: true, get: function () { return __importDefault(PmIcon_1).default; } });
|
|
65
|
-
var PmTaskIcon_1 = require("./PmTaskIcon");
|
|
66
|
-
Object.defineProperty(exports, "PmTaskIcon", { enumerable: true, get: function () { return __importDefault(PmTaskIcon_1).default; } });
|
|
67
65
|
var Pin_1 = require("./Pin");
|
|
68
66
|
Object.defineProperty(exports, "Pin", { enumerable: true, get: function () { return __importDefault(Pin_1).default; } });
|
|
69
67
|
var PinOutlined_1 = require("./PinOutlined");
|
|
70
68
|
Object.defineProperty(exports, "PinOutlined", { enumerable: true, get: function () { return __importDefault(PinOutlined_1).default; } });
|
|
71
69
|
var PivotingIcon_1 = require("./PivotingIcon");
|
|
72
70
|
Object.defineProperty(exports, "PivotingIcon", { enumerable: true, get: function () { return __importDefault(PivotingIcon_1).default; } });
|
|
71
|
+
var PmIcon_1 = require("./PmIcon");
|
|
72
|
+
Object.defineProperty(exports, "PmIcon", { enumerable: true, get: function () { return __importDefault(PmIcon_1).default; } });
|
|
73
|
+
var PmTaskIcon_1 = require("./PmTaskIcon");
|
|
74
|
+
Object.defineProperty(exports, "PmTaskIcon", { enumerable: true, get: function () { return __importDefault(PmTaskIcon_1).default; } });
|
|
73
75
|
var Polygon_1 = require("./Polygon");
|
|
74
76
|
Object.defineProperty(exports, "Polygon", { enumerable: true, get: function () { return __importDefault(Polygon_1).default; } });
|
|
75
77
|
var PotentialMatch_1 = require("./PotentialMatch");
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React, { forwardRef } from 'react';
|
|
24
24
|
import i18n from 'ui-i18n';
|
|
25
|
-
import MergeIcon from '
|
|
25
|
+
import MergeIcon from '../../icons/MergeDark';
|
|
26
26
|
import { noop } from '../../core';
|
|
27
27
|
import { ActionButton, ActionButtonMode } from '../ActionButton/ActionButton';
|
|
28
28
|
import { useMergeAllRequest } from '../../hooks';
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { ActionButton, ActionButtonMode } from '../ActionButton/ActionButton';
|
|
24
24
|
import React, { forwardRef } from 'react';
|
|
25
|
-
import NotMatchIcon from '
|
|
25
|
+
import NotMatchIcon from '../../icons/NotMatchDark';
|
|
26
26
|
import { noop } from '../../core';
|
|
27
27
|
import i18n from 'ui-i18n';
|
|
28
28
|
import { useMarkAsNotMatchRequest } from '../../hooks/useMarkAsNotMatchRequest';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
IconRenderer?: React.ElementType;
|
|
4
|
+
text: string;
|
|
5
|
+
secondaryText?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const SidePanelEmptyState: ({ IconRenderer, text, secondaryText }: Props) => JSX.Element;
|
|
8
|
+
export default SidePanelEmptyState;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Typography from '@material-ui/core/Typography';
|
|
3
|
+
import { AttributesList as AttributesListIcon } from '../../icons';
|
|
4
|
+
import { useStyles } from './styles';
|
|
5
|
+
var SidePanelEmptyState = function (_a) {
|
|
6
|
+
var _b = _a.IconRenderer, IconRenderer = _b === void 0 ? AttributesListIcon : _b, text = _a.text, secondaryText = _a.secondaryText;
|
|
7
|
+
var styles = useStyles();
|
|
8
|
+
return (React.createElement("div", { className: styles.root },
|
|
9
|
+
React.createElement(IconRenderer, { className: styles.logo }),
|
|
10
|
+
React.createElement("div", { className: styles.textBox },
|
|
11
|
+
React.createElement(Typography, { className: styles.text }, text),
|
|
12
|
+
secondaryText && React.createElement(Typography, { className: styles.secondaryText }, secondaryText))));
|
|
13
|
+
};
|
|
14
|
+
export default SidePanelEmptyState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"text" | "root" | "textBox" | "secondaryText" | "logo">;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
2
|
+
export var useStyles = makeStyles(function (theme) { return ({
|
|
3
|
+
root: {
|
|
4
|
+
display: 'flex',
|
|
5
|
+
flex: '1 1 auto',
|
|
6
|
+
flexWrap: 'nowrap',
|
|
7
|
+
flexDirection: 'column',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
justifyContent: 'center',
|
|
10
|
+
overflow: 'auto',
|
|
11
|
+
height: '100%',
|
|
12
|
+
minHeight: '350px',
|
|
13
|
+
boxSizing: 'border-box',
|
|
14
|
+
padding: '40px'
|
|
15
|
+
},
|
|
16
|
+
logo: {
|
|
17
|
+
width: '190px',
|
|
18
|
+
height: '190px'
|
|
19
|
+
},
|
|
20
|
+
textBox: {
|
|
21
|
+
display: 'flex',
|
|
22
|
+
flexDirection: 'column',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
maxWidth: 400,
|
|
25
|
+
marginTop: '24px'
|
|
26
|
+
},
|
|
27
|
+
text: {
|
|
28
|
+
color: theme.palette.text.primary,
|
|
29
|
+
fontSize: '20px',
|
|
30
|
+
fontWeight: 500,
|
|
31
|
+
lineHeight: '23px',
|
|
32
|
+
textAlign: 'center'
|
|
33
|
+
},
|
|
34
|
+
secondaryText: {
|
|
35
|
+
color: theme.palette.text.primary,
|
|
36
|
+
fontSize: '14px',
|
|
37
|
+
fontWeight: 'normal',
|
|
38
|
+
lineHeight: '16px',
|
|
39
|
+
letterSpacing: '0.24px',
|
|
40
|
+
textAlign: 'center',
|
|
41
|
+
paddingTop: '8px'
|
|
42
|
+
}
|
|
43
|
+
}); });
|
|
@@ -73,7 +73,9 @@ var CrosswalkRow = function (_a) {
|
|
|
73
73
|
React.createElement(Typography, { variant: 'body2', className: styles.labelValue, noWrap: true }, crosswalk.value))),
|
|
74
74
|
expanded && (React.createElement("div", { className: styles.attributesWrapper },
|
|
75
75
|
canDelete && (React.createElement("div", { className: styles.deleteCrosswalkButton },
|
|
76
|
-
React.createElement(SmallIconButtonWithTooltip, { icon: DeleteIcon, disabled: disableDelete, onClick: function () { return setDeleteDialogOpen(true); }, size: "XS", tooltipTitle:
|
|
76
|
+
React.createElement(SmallIconButtonWithTooltip, { icon: DeleteIcon, disabled: disableDelete, onClick: function () { return setDeleteDialogOpen(true); }, size: "XS", tooltipTitle: disableDelete
|
|
77
|
+
? i18n.text("You don't have permissions to delete")
|
|
78
|
+
: i18n.text('Delete crosswalk'), showForDisabled: true }),
|
|
77
79
|
React.createElement(ConfirmDeleteDialog, { open: isDeleteDialogOpen, onConfirm: handleDeleteCrosswalk, onClose: function () { return setDeleteDialogOpen(false); } }))),
|
|
78
80
|
React.createElement(CrosswalkAttributes, { crosswalk: crosswalk, canEditAttribute: !disableEdit, onEditAttribute: function (attributeName, value) {
|
|
79
81
|
onEdit({
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import i18n from 'ui-i18n';
|
|
3
|
+
import SidePanelEmptyState from '../../SidePanelEmptyState/SidePanelEmptyState';
|
|
4
|
+
var HistoryPanelEmptyState = function () { return (React.createElement(SidePanelEmptyState, { text: i18n.text('History in the making'), secondaryText: i18n.text('When you create an event or perform an activity, it will show up here.') })); };
|
|
5
|
+
export default HistoryPanelEmptyState;
|
|
@@ -4,4 +4,5 @@ export { useHistoryDiff } from './hooks/useHistoryDiff';
|
|
|
4
4
|
export { default as HistoryView } from './HistoryView/HistoryView';
|
|
5
5
|
export { default as HistoryHeader } from './HistoryHeader/HistoryHeader';
|
|
6
6
|
export { default as ProfileBandHistory } from './ProfileBandHistory/ProfileBandHistory';
|
|
7
|
+
export { default as HistoryPanelEmptyState } from './HistoryPanelEmptyState/HistoryPanelEmptyState';
|
|
7
8
|
export * from './types';
|
|
@@ -4,4 +4,5 @@ export { useHistoryDiff } from './hooks/useHistoryDiff';
|
|
|
4
4
|
export { default as HistoryView } from './HistoryView/HistoryView';
|
|
5
5
|
export { default as HistoryHeader } from './HistoryHeader/HistoryHeader';
|
|
6
6
|
export { default as ProfileBandHistory } from './ProfileBandHistory/ProfileBandHistory';
|
|
7
|
+
export { default as HistoryPanelEmptyState } from './HistoryPanelEmptyState/HistoryPanelEmptyState';
|
|
7
8
|
export * from './types';
|
|
@@ -96,6 +96,7 @@ export { default as SelectionPopup } from './SelectionPopup/SelectionPopup';
|
|
|
96
96
|
export { default as SelectionPopupPopper } from './SelectionPopup/SelectionPopupPopper/SelectionPopupPopper';
|
|
97
97
|
export { default as SelectorWithOnlyOptionAutoSelect } from './SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect';
|
|
98
98
|
export { SideButtonsPanel } from './SideIconPanel/SideButtonsPanel';
|
|
99
|
+
export { default as SidePanelEmptyState } from './SidePanelEmptyState/SidePanelEmptyState';
|
|
99
100
|
export { SidePanel } from './SidePanel/SidePanel';
|
|
100
101
|
export { SidePanelContentHeader } from './SidePanel/SidePanelContentHeader/SidePanelContentHeader';
|
|
101
102
|
export { default as SimpleDropDownSelector } from './SimpleDropDownSelector/SimpleDropDownSelector';
|
package/esm/components/index.js
CHANGED
|
@@ -95,6 +95,7 @@ export { default as SelectionPopup } from './SelectionPopup/SelectionPopup';
|
|
|
95
95
|
export { default as SelectionPopupPopper } from './SelectionPopup/SelectionPopupPopper/SelectionPopupPopper';
|
|
96
96
|
export { default as SelectorWithOnlyOptionAutoSelect } from './SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect';
|
|
97
97
|
export { SideButtonsPanel } from './SideIconPanel/SideButtonsPanel';
|
|
98
|
+
export { default as SidePanelEmptyState } from './SidePanelEmptyState/SidePanelEmptyState';
|
|
98
99
|
export { SidePanel } from './SidePanel/SidePanel';
|
|
99
100
|
export { SidePanelContentHeader } from './SidePanel/SidePanelContentHeader/SidePanelContentHeader';
|
|
100
101
|
export { default as SimpleDropDownSelector } from './SimpleDropDownSelector/SimpleDropDownSelector';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { CollaborationObjectTypes, Comment, CommentsMap } from '@reltio/mdm-sdk';
|
|
2
|
-
|
|
2
|
+
declare type Props = {
|
|
3
|
+
objectIds?: string[];
|
|
4
|
+
objectTypes?: CollaborationObjectTypes[];
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const useCollaboration: ({ objectIds, objectTypes, enabled }: Props) => {
|
|
3
8
|
clearCurrentComment: () => void;
|
|
4
9
|
comments: Comment[];
|
|
5
10
|
commentsMap: CommentsMap;
|
|
@@ -18,3 +23,4 @@ export declare const useCollaboration: (objectIds?: string[], objectTypes?: Coll
|
|
|
18
23
|
resolveThread: ({ commentId, uri }: any) => void;
|
|
19
24
|
sending: boolean;
|
|
20
25
|
};
|
|
26
|
+
export {};
|
|
@@ -21,18 +21,18 @@ import { createComment as createCommentRequest, createReply as createReplyReques
|
|
|
21
21
|
import mdm from '@reltio/mdm-module';
|
|
22
22
|
var defaultObjectIds = [];
|
|
23
23
|
var catchErrorInRequest = function (e) { return console.error('Collaboration error', e); };
|
|
24
|
-
export var useCollaboration = function (
|
|
25
|
-
|
|
24
|
+
export var useCollaboration = function (_a) {
|
|
25
|
+
var _b = _a.objectIds, objectIds = _b === void 0 ? defaultObjectIds : _b, objectTypes = _a.objectTypes, _c = _a.enabled, enabled = _c === void 0 ? true : _c;
|
|
26
26
|
var entity = useSelector(mdm.selectors.getEntity);
|
|
27
27
|
var tenant = useSelector(mdm.selectors.getTenant);
|
|
28
28
|
var collaborationPath = useSelector(mdm.selectors.getCollaborationPath);
|
|
29
|
-
var isCollaborationEnabled = useSelector(mdm.selectors.isCollaborationEnabled);
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
29
|
+
var isCollaborationEnabled = useSelector(mdm.selectors.isCollaborationEnabled) && enabled;
|
|
30
|
+
var _d = useState(null), pageToken = _d[0], setPageToken = _d[1];
|
|
31
|
+
var _e = useState([]), comments = _e[0], setComments = _e[1];
|
|
32
|
+
var _f = useState(null), commentsMap = _f[0], setCommentsMap = _f[1];
|
|
33
|
+
var _g = useState(null), currentComment = _g[0], setCurrentComment = _g[1];
|
|
34
|
+
var _h = useState(false), sending = _h[0], setSending = _h[1];
|
|
35
|
+
var _j = useState(false), loading = _j[0], setLoading = _j[1];
|
|
36
36
|
var addCommentsToCommentsMap = useCallback(function (commentsMap) {
|
|
37
37
|
setCommentsMap(function (currentCommentsMap) { return (__assign(__assign({}, currentCommentsMap), commentsMap)); });
|
|
38
38
|
}, []);
|
|
@@ -0,0 +1,53 @@
|
|
|
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 from 'react';
|
|
13
|
+
var SvgAttributesList = function (props) {
|
|
14
|
+
return (React.createElement("svg", __assign({ width: 256, height: 256, viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
15
|
+
React.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#0072CE", fillOpacity: 0.1 }),
|
|
16
|
+
React.createElement("mask", { id: "AttributesList_svg__a", style: {
|
|
17
|
+
maskType: 'alpha'
|
|
18
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 256, height: 256 },
|
|
19
|
+
React.createElement("circle", { cx: 128, cy: 128, r: 128, fill: "#fff" })),
|
|
20
|
+
React.createElement("g", { mask: "url(#AttributesList_svg__a)" },
|
|
21
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-16 9h256v247H-16V9z", fill: "url(#AttributesList_svg__b)" }),
|
|
22
|
+
React.createElement("path", { opacity: 0.05, fillRule: "evenodd", clipRule: "evenodd", d: "M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z", fill: "url(#AttributesList_svg__c)" }),
|
|
23
|
+
React.createElement("path", { opacity: 0.06, fillRule: "evenodd", clipRule: "evenodd", d: "M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z", fill: "#000" }),
|
|
24
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z", fill: "#fff" }),
|
|
25
|
+
React.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
26
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
27
|
+
React.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
28
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
29
|
+
React.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
30
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z", fill: "#979797" }),
|
|
31
|
+
React.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
32
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z", fill: "#979797" }),
|
|
33
|
+
React.createElement("circle", { cx: 67, cy: 79, r: 9, fill: "#B6C7DB" }),
|
|
34
|
+
React.createElement("circle", { cx: 67, cy: 79, r: 9, fill: "#B6C7DB" }),
|
|
35
|
+
React.createElement("circle", { cx: 120, cy: 106, r: 6, fill: "#B6C7DB" }),
|
|
36
|
+
React.createElement("circle", { cx: 120, cy: 136, r: 6, fill: "#B6C7DB" }),
|
|
37
|
+
React.createElement("circle", { cx: 67, cy: 169, r: 9, fill: "#B6C7DB" }),
|
|
38
|
+
React.createElement("circle", { cx: 67, cy: 199, r: 9, fill: "#B6C7DB" }),
|
|
39
|
+
React.createElement("path", { opacity: 0.8, fillRule: "evenodd", clipRule: "evenodd", d: "M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z", fill: "#B6C7DB" }),
|
|
40
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z", fill: "#979797" }),
|
|
41
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M92.514 108v-8h-2v40.365h11.178v-2h-9.178V110h9.178v-2h-9.178z", fill: "#2B98F0" }),
|
|
42
|
+
React.createElement("path", { opacity: 0.54, fillRule: "evenodd", clipRule: "evenodd", d: "M95.071 77l-3.535 3.535L88 77h7.071z", fill: "#000" }),
|
|
43
|
+
React.createElement("path", { opacity: 0.6, fillRule: "evenodd", clipRule: "evenodd", d: "M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z", fill: "#fff" }),
|
|
44
|
+
React.createElement("path", { opacity: 0.2, fillRule: "evenodd", clipRule: "evenodd", d: "M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zm90 0a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z", fill: "#979797" })),
|
|
45
|
+
React.createElement("defs", null,
|
|
46
|
+
React.createElement("linearGradient", { id: "AttributesList_svg__b", x1: -16, y1: 9, x2: -16, y2: 256, gradientUnits: "userSpaceOnUse" },
|
|
47
|
+
React.createElement("stop", { stopColor: "#FAFAFA", stopOpacity: 0.01 }),
|
|
48
|
+
React.createElement("stop", { offset: 1, stopColor: "#F4F4F4" })),
|
|
49
|
+
React.createElement("linearGradient", { id: "AttributesList_svg__c", x1: 266.117, y1: 181.111, x2: 154.882, y2: 77.681, gradientUnits: "userSpaceOnUse" },
|
|
50
|
+
React.createElement("stop", { stopOpacity: 0.01 }),
|
|
51
|
+
React.createElement("stop", { offset: 1 })))));
|
|
52
|
+
};
|
|
53
|
+
export default SvgAttributesList;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 from 'react';
|
|
13
|
+
var SvgMergeDark = function (props) {
|
|
14
|
+
return (React.createElement("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props),
|
|
15
|
+
React.createElement("defs", null,
|
|
16
|
+
React.createElement("path", { d: "M17.045 20.455l1.41-1.41-3.41-3.41-1.41 1.41 3.41 3.41zm-9.5-12.41h3.5v5.59l-5.41 5.41 1.41 1.41 6-6v-6.41h3.5l-4.5-4.5-4.5 4.5z", id: "MergeDark_svg__a" })),
|
|
17
|
+
React.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
18
|
+
React.createElement("mask", { id: "MergeDark_svg__b", fill: "#fff" },
|
|
19
|
+
React.createElement("use", { xlinkHref: "#MergeDark_svg__a", transform: "rotate(90 12.045 12)" })),
|
|
20
|
+
React.createElement("path", { fillOpacity: 0.54, fill: "#000", mask: "url(#MergeDark_svg__b)", d: "M0 0h24v24H0z" }))));
|
|
21
|
+
};
|
|
22
|
+
export default SvgMergeDark;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 from 'react';
|
|
13
|
+
var SvgNotMatchDark = function (props) {
|
|
14
|
+
return (React.createElement("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props),
|
|
15
|
+
React.createElement("defs", null,
|
|
16
|
+
React.createElement("path", { d: "M17 13.138l4.5 4.5-4.5 4.5V18.5h-1.247l-3.488-3.479 1.413-1.414 2.901 2.893H17v-3.362zM17 1.5L21.5 6 17 10.5V7.138h-.421l-11.03 11H2v-2h2.723l11.03-11H17V1.5zm-11.45 4l3.294 3.286-1.414 1.413L4.723 7.5H2v-2h3.55z", id: "NotMatchDark_svg__a" })),
|
|
17
|
+
React.createElement("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd" },
|
|
18
|
+
React.createElement("mask", { id: "NotMatchDark_svg__b", fill: "#fff" },
|
|
19
|
+
React.createElement("use", { xlinkHref: "#NotMatchDark_svg__a" })),
|
|
20
|
+
React.createElement("path", { fillOpacity: 0.54, fill: "#000", mask: "url(#NotMatchDark_svg__b)", d: "M0 0h24v24H0z" }))));
|
|
21
|
+
};
|
|
22
|
+
export default SvgNotMatchDark;
|
package/esm/icons/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Add } from './Add';
|
|
2
2
|
export { default as AddComment } from './AddComment';
|
|
3
|
+
export { default as AttributesList } from './AttributesList';
|
|
3
4
|
export { default as Calendar } from './Calendar';
|
|
4
5
|
export { default as CollaborationIcon } from './CollaborationIcon';
|
|
5
6
|
export { default as Comment } from './Comment';
|
|
@@ -20,17 +21,17 @@ export { default as Ignored } from './Ignored';
|
|
|
20
21
|
export { default as IgnoredOutlined } from './IgnoredOutlined';
|
|
21
22
|
export { default as LogIn } from './LogIn';
|
|
22
23
|
export { default as LogOut } from './LogOut';
|
|
23
|
-
export { default as MlMatch } from './MlMatch';
|
|
24
24
|
export { default as Merge } from './Merge';
|
|
25
|
+
export { default as MlMatch } from './MlMatch';
|
|
25
26
|
export { default as NestedAttribute } from './NestedAttribute';
|
|
26
27
|
export { default as NoData } from './NoData';
|
|
27
28
|
export { default as NoDataSearch } from './NoDataSearch';
|
|
28
29
|
export { default as NoMatches } from './NoMatches';
|
|
29
|
-
export { default as PmIcon } from './PmIcon';
|
|
30
|
-
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
31
30
|
export { default as Pin } from './Pin';
|
|
32
31
|
export { default as PinOutlined } from './PinOutlined';
|
|
33
32
|
export { default as PivotingIcon } from './PivotingIcon';
|
|
33
|
+
export { default as PmIcon } from './PmIcon';
|
|
34
|
+
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
34
35
|
export { default as Polygon } from './Polygon';
|
|
35
36
|
export { default as PotentialMatch } from './PotentialMatch';
|
|
36
37
|
export { default as Profile } from './Profile';
|
package/esm/icons/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Add } from './Add';
|
|
2
2
|
export { default as AddComment } from './AddComment';
|
|
3
|
+
export { default as AttributesList } from './AttributesList';
|
|
3
4
|
export { default as Calendar } from './Calendar';
|
|
4
5
|
export { default as CollaborationIcon } from './CollaborationIcon';
|
|
5
6
|
export { default as Comment } from './Comment';
|
|
@@ -20,17 +21,17 @@ export { default as Ignored } from './Ignored';
|
|
|
20
21
|
export { default as IgnoredOutlined } from './IgnoredOutlined';
|
|
21
22
|
export { default as LogIn } from './LogIn';
|
|
22
23
|
export { default as LogOut } from './LogOut';
|
|
23
|
-
export { default as MlMatch } from './MlMatch';
|
|
24
24
|
export { default as Merge } from './Merge';
|
|
25
|
+
export { default as MlMatch } from './MlMatch';
|
|
25
26
|
export { default as NestedAttribute } from './NestedAttribute';
|
|
26
27
|
export { default as NoData } from './NoData';
|
|
27
28
|
export { default as NoDataSearch } from './NoDataSearch';
|
|
28
29
|
export { default as NoMatches } from './NoMatches';
|
|
29
|
-
export { default as PmIcon } from './PmIcon';
|
|
30
|
-
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
31
30
|
export { default as Pin } from './Pin';
|
|
32
31
|
export { default as PinOutlined } from './PinOutlined';
|
|
33
32
|
export { default as PivotingIcon } from './PivotingIcon';
|
|
33
|
+
export { default as PmIcon } from './PmIcon';
|
|
34
|
+
export { default as PmTaskIcon } from './PmTaskIcon';
|
|
34
35
|
export { default as Polygon } from './Polygon';
|
|
35
36
|
export { default as PotentialMatch } from './PotentialMatch';
|
|
36
37
|
export { default as Profile } from './Profile';
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.927",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@react-google-maps/api": "^2.7.0",
|
|
10
|
-
"@reltio/mdm-module": "^1.4.
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
10
|
+
"@reltio/mdm-module": "^1.4.927",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.927",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|