@reltio/components 1.4.993 → 1.4.997
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/HOCs/index.d.ts +3 -2
- package/cjs/HOCs/index.js +3 -1
- package/cjs/HOCs/withContext/withContext.d.ts +4 -0
- package/cjs/HOCs/withContext/withContext.js +47 -0
- package/cjs/components/BasicTableView/BasicTable/HOCs/withTableContext.d.ts +3 -1
- package/cjs/components/BasicTableView/BasicTable/HOCs/withTableContext.js +2 -41
- package/cjs/components/ProfileBand/styles.d.ts +1 -1
- package/cjs/components/ProfilesList/ProfilesList.d.ts +18 -0
- package/cjs/components/ProfilesList/ProfilesList.js +107 -0
- package/cjs/components/ProfilesList/helpers.d.ts +3 -0
- package/cjs/components/ProfilesList/helpers.js +20 -0
- package/cjs/components/ProfilesList/index.d.ts +31 -0
- package/cjs/components/ProfilesList/index.js +16 -0
- package/cjs/components/ProfilesList/styles.d.ts +1 -0
- package/cjs/components/ProfilesList/styles.js +108 -0
- package/cjs/components/attributes/AttributesView/AttributesView.d.ts +1 -1
- package/cjs/components/attributes/AttributesView/AttributesView.js +3 -2
- package/cjs/components/attributes/AttributesView/index.d.ts +1 -1
- package/cjs/components/attributes/editMode/AttributesView/index.d.ts +2 -2
- package/cjs/components/attributes/readMode/AttributesView/index.d.ts +2 -2
- package/cjs/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +10 -4
- package/cjs/components/attributes/types/attributesView.d.ts +1 -1
- package/cjs/components/charts/TableWithBars/cell-renderers/AttributeCellRenderer.d.ts +4 -2
- package/cjs/components/crosswalks/AttributesTable/AddAttributesButton/AddAttributesButton.d.ts +4 -2
- package/cjs/components/crosswalks/AttributesTable/cell-renderers/AttributeValuesRenderer.d.ts +3 -1
- package/cjs/components/crosswalks/AttributesTable/cell-renderers/AttributesHeadCellRenderer.d.ts +4 -2
- package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/index.js +3 -1
- package/cjs/contexts/EntityContext/index.d.ts +3 -0
- package/cjs/contexts/EntityContext/index.js +9 -0
- package/cjs/contexts/index.d.ts +1 -0
- package/cjs/contexts/index.js +3 -1
- package/esm/HOCs/index.d.ts +3 -2
- package/esm/HOCs/index.js +1 -0
- package/esm/HOCs/withContext/withContext.d.ts +4 -0
- package/esm/HOCs/withContext/withContext.js +24 -0
- package/esm/components/BasicTableView/BasicTable/HOCs/withTableContext.d.ts +3 -1
- package/esm/components/BasicTableView/BasicTable/HOCs/withTableContext.js +2 -22
- package/esm/components/ProfileBand/styles.d.ts +1 -1
- package/esm/components/ProfilesList/ProfilesList.d.ts +18 -0
- package/esm/components/ProfilesList/ProfilesList.js +83 -0
- package/esm/components/ProfilesList/helpers.d.ts +3 -0
- package/esm/components/ProfilesList/helpers.js +14 -0
- package/esm/components/ProfilesList/index.d.ts +31 -0
- package/esm/components/ProfilesList/index.js +10 -0
- package/esm/components/ProfilesList/styles.d.ts +1 -0
- package/esm/components/ProfilesList/styles.js +105 -0
- package/esm/components/attributes/AttributesView/AttributesView.d.ts +1 -1
- package/esm/components/attributes/AttributesView/AttributesView.js +3 -2
- package/esm/components/attributes/AttributesView/index.d.ts +1 -1
- package/esm/components/attributes/editMode/AttributesView/index.d.ts +2 -2
- package/esm/components/attributes/readMode/AttributesView/index.d.ts +2 -2
- package/esm/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +10 -4
- package/esm/components/attributes/types/attributesView.d.ts +1 -1
- package/esm/components/charts/TableWithBars/cell-renderers/AttributeCellRenderer.d.ts +4 -2
- package/esm/components/crosswalks/AttributesTable/AddAttributesButton/AddAttributesButton.d.ts +4 -2
- package/esm/components/crosswalks/AttributesTable/cell-renderers/AttributeValuesRenderer.d.ts +3 -1
- package/esm/components/crosswalks/AttributesTable/cell-renderers/AttributesHeadCellRenderer.d.ts +4 -2
- package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +1 -0
- package/esm/contexts/EntityContext/index.d.ts +3 -0
- package/esm/contexts/EntityContext/index.js +3 -0
- package/esm/contexts/index.d.ts +1 -0
- package/esm/contexts/index.js +1 -0
- package/package.json +3 -3
|
@@ -9,5 +9,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<{
|
|
|
9
9
|
isCollapsed?: boolean;
|
|
10
10
|
showCollapseIcon?: boolean;
|
|
11
11
|
showLine?: boolean;
|
|
12
|
-
} & React.SVGProps<SVGGElement>, "string" | "visibility" | "type" | "max" | "filter" | "children" | "values" | "radius" | "operator" | "order" | "offset" | "method" | "id" | "width" | "height" | "in" | "attributeName" | "mode" | "attributeType" | "direction" | "name" | "path" | "from" | "to" | "end" | "clipPath" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "textDecoration" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "style" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "onScroll" | "className" | "y" | "d" | "lang" | "tabIndex" | "role" | "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" | "key" | "href" | "media" | "target" | "
|
|
12
|
+
} & React.SVGProps<SVGGElement>, "string" | "visibility" | "type" | "max" | "filter" | "children" | "values" | "radius" | "operator" | "order" | "offset" | "method" | "id" | "width" | "height" | "in" | "attributeName" | "mode" | "attributeType" | "direction" | "name" | "path" | "from" | "to" | "end" | "clipPath" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "textDecoration" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "style" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "onScroll" | "className" | "y" | "d" | "origin" | "lang" | "tabIndex" | "role" | "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" | "key" | "href" | "media" | "target" | "min" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "isDashed" | "isCollapsed" | "showCollapseIcon" | "showLine"> & React.RefAttributes<unknown>>;
|
|
13
13
|
export default _default;
|
|
@@ -16,7 +16,7 @@ export declare const HistoryCircleWithTooltip: React.ForwardRefExoticComponent<i
|
|
|
16
16
|
isCollapsed?: boolean;
|
|
17
17
|
showCollapseIcon?: boolean;
|
|
18
18
|
showLine?: boolean;
|
|
19
|
-
} & React.SVGProps<SVGGElement>, "string" | "visibility" | "type" | "max" | "filter" | "children" | "values" | "radius" | "operator" | "order" | "offset" | "method" | "id" | "width" | "height" | "in" | "attributeName" | "mode" | "attributeType" | "direction" | "name" | "path" | "from" | "to" | "end" | "clipPath" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "textDecoration" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "style" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "onScroll" | "className" | "y" | "d" | "lang" | "tabIndex" | "role" | "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" | "key" | "href" | "media" | "target" | "
|
|
19
|
+
} & React.SVGProps<SVGGElement>, "string" | "visibility" | "type" | "max" | "filter" | "children" | "values" | "radius" | "operator" | "order" | "offset" | "method" | "id" | "width" | "height" | "in" | "attributeName" | "mode" | "attributeType" | "direction" | "name" | "path" | "from" | "to" | "end" | "clipPath" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "textDecoration" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "style" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "onScroll" | "className" | "y" | "d" | "origin" | "lang" | "tabIndex" | "role" | "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" | "key" | "href" | "media" | "target" | "min" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "isDashed" | "isCollapsed" | "showCollapseIcon" | "showLine"> & React.RefAttributes<unknown>>;
|
|
20
20
|
declare type Props = {
|
|
21
21
|
graphData: HistoryData;
|
|
22
22
|
onHistoryCircleMouseOver?: (uri: string, timestamp: number, index: number) => void;
|
|
@@ -127,3 +127,4 @@ export { ProfileMatchCard } from './ProfileMatchCard/ProfileMatchCard';
|
|
|
127
127
|
export { MergeButton } from './MergeButton/MergeButton';
|
|
128
128
|
export { NotMatchButton } from './NotMatchButton/NotMatchButton';
|
|
129
129
|
export { ActionButton, ActionButtonMode } from './ActionButton/ActionButton';
|
|
130
|
+
export { default as ProfilesList } from './ProfilesList';
|
package/cjs/components/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
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
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;
|
|
18
|
+
exports.ProfilesList = 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; } });
|
|
@@ -271,3 +271,5 @@ Object.defineProperty(exports, "NotMatchButton", { enumerable: true, get: functi
|
|
|
271
271
|
var ActionButton_1 = require("./ActionButton/ActionButton");
|
|
272
272
|
Object.defineProperty(exports, "ActionButton", { enumerable: true, get: function () { return ActionButton_1.ActionButton; } });
|
|
273
273
|
Object.defineProperty(exports, "ActionButtonMode", { enumerable: true, get: function () { return ActionButton_1.ActionButtonMode; } });
|
|
274
|
+
var ProfilesList_1 = require("./ProfilesList");
|
|
275
|
+
Object.defineProperty(exports, "ProfilesList", { enumerable: true, get: function () { return __importDefault(ProfilesList_1).default; } });
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
exports.EntityContext = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
exports.EntityContext = react_1.default.createContext(null);
|
|
9
|
+
exports.EntityContext.displayName = 'EntityContext';
|
package/cjs/contexts/index.d.ts
CHANGED
|
@@ -14,3 +14,4 @@ export { ExpandedAttributesProvider, useAttributeExpanded } from './ExpandedAttr
|
|
|
14
14
|
export { EntityMarkerContext } from './EntityMarkerContext';
|
|
15
15
|
export { WorkflowTasksContext } from './WorkflowTasksContext';
|
|
16
16
|
export { RelatedObjectUrisContext } from './RelatedObjectUrisContext';
|
|
17
|
+
export { EntityContext } from './EntityContext';
|
package/cjs/contexts/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RelatedObjectUrisContext = exports.WorkflowTasksContext = exports.EntityMarkerContext = exports.useAttributeExpanded = exports.ExpandedAttributesProvider = exports.useHighlightedCrosswalks = exports.useCrosswalkHighlight = exports.useCrosswalkFocus = exports.useCrosswalkColor = exports.CrosswalksDisplayProvider = exports.EntitiesMapContext = exports.IdContext = exports.ProfilePerspectiveViewContext = exports.PivotingAttributeContext = exports.UsersContext = exports.CollaborationContext = exports.BlockImageGalleryDialogContext = exports.ViewIdContext = exports.PopupBoundariesContext = exports.HistoryDiffContext = exports.AsyncMountContext = void 0;
|
|
3
|
+
exports.EntityContext = exports.RelatedObjectUrisContext = exports.WorkflowTasksContext = exports.EntityMarkerContext = exports.useAttributeExpanded = exports.ExpandedAttributesProvider = exports.useHighlightedCrosswalks = exports.useCrosswalkHighlight = exports.useCrosswalkFocus = exports.useCrosswalkColor = exports.CrosswalksDisplayProvider = exports.EntitiesMapContext = exports.IdContext = exports.ProfilePerspectiveViewContext = exports.PivotingAttributeContext = exports.UsersContext = exports.CollaborationContext = exports.BlockImageGalleryDialogContext = exports.ViewIdContext = exports.PopupBoundariesContext = exports.HistoryDiffContext = exports.AsyncMountContext = void 0;
|
|
4
4
|
var AsyncMountContext_1 = require("./AsyncMountContext");
|
|
5
5
|
Object.defineProperty(exports, "AsyncMountContext", { enumerable: true, get: function () { return AsyncMountContext_1.AsyncMountContext; } });
|
|
6
6
|
var HistoryAppearanceContext_1 = require("./HistoryAppearanceContext");
|
|
@@ -38,3 +38,5 @@ var WorkflowTasksContext_1 = require("./WorkflowTasksContext");
|
|
|
38
38
|
Object.defineProperty(exports, "WorkflowTasksContext", { enumerable: true, get: function () { return WorkflowTasksContext_1.WorkflowTasksContext; } });
|
|
39
39
|
var RelatedObjectUrisContext_1 = require("./RelatedObjectUrisContext");
|
|
40
40
|
Object.defineProperty(exports, "RelatedObjectUrisContext", { enumerable: true, get: function () { return RelatedObjectUrisContext_1.RelatedObjectUrisContext; } });
|
|
41
|
+
var EntityContext_1 = require("./EntityContext");
|
|
42
|
+
Object.defineProperty(exports, "EntityContext", { enumerable: true, get: function () { return EntityContext_1.EntityContext; } });
|
package/esm/HOCs/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { default as withTooltip } from
|
|
2
|
-
export { default as withAsyncMount } from
|
|
1
|
+
export { default as withTooltip } from './withTooltip/withTooltip';
|
|
2
|
+
export { default as withAsyncMount } from './withAsyncMount/withAsyncMount';
|
|
3
|
+
export { withContext } from './withContext/withContext';
|
package/esm/HOCs/index.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React, { Context as ContextType, ComponentType } from 'react';
|
|
2
|
+
declare type AnyObject = Record<string, unknown>;
|
|
3
|
+
export declare const withContext: <C extends unknown, P extends AnyObject, SP extends AnyObject>(Context: React.Context<C>, contextSelector: (state: C, props?: P) => SP, Component: React.ComponentType<P>) => React.ComponentType<P> | ((props: any) => JSX.Element);
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
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, { memo } from 'react';
|
|
13
|
+
export var withContext = function (Context, contextSelector, Component) {
|
|
14
|
+
if (Context && contextSelector) {
|
|
15
|
+
var PureComponent_1 = memo(Component);
|
|
16
|
+
var PureComponentWithContext = function (props) {
|
|
17
|
+
return (React.createElement(Context.Consumer, null, function (contextState) { return React.createElement(PureComponent_1, __assign({}, props, contextSelector(contextState, props))); }));
|
|
18
|
+
};
|
|
19
|
+
return PureComponentWithContext;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
return Component;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export default withTableContext;
|
|
2
|
-
declare function withTableContext(contextSelector: any): (CellRenderer: any) =>
|
|
2
|
+
declare function withTableContext(contextSelector: any): (CellRenderer: any) => import("react").ComponentType<{
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
}> | ((props: any) => JSX.Element);
|
|
@@ -1,26 +1,6 @@
|
|
|
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, { memo } from 'react';
|
|
13
1
|
import { TableContext } from '../contexts/TableContext';
|
|
2
|
+
import { withContext } from '../../../../HOCs/withContext/withContext';
|
|
14
3
|
var withTableContext = function (contextSelector) { return function (CellRenderer) {
|
|
15
|
-
|
|
16
|
-
var PureCellRenderer_1 = memo(CellRenderer);
|
|
17
|
-
var CellRendererWithContext = function (props) {
|
|
18
|
-
return (React.createElement(TableContext.Consumer, null, function (tableContext) { return React.createElement(PureCellRenderer_1, __assign({}, props, contextSelector(tableContext, props))); }));
|
|
19
|
-
};
|
|
20
|
-
return CellRendererWithContext;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
return CellRenderer;
|
|
24
|
-
}
|
|
4
|
+
return withContext(TableContext, contextSelector, CellRenderer);
|
|
25
5
|
}; };
|
|
26
6
|
export default withTableContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default useStyles;
|
|
2
|
-
declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "secondaryLabel" | "entityType" | "inactive" | "profileIcon" | "badge" | "
|
|
2
|
+
declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "secondaryLabel" | "entityType" | "inactive" | "profileIcon" | "badge" | "businessCard" | "scores" | "profileBandWrapper" | "profileBand" | "imageProfileIcon" | "profileInfo" | "specialInfo" | "entityId">;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Entity, Metadata, RangeColorsConfig } from '@reltio/mdm-sdk';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
metadata: Metadata;
|
|
5
|
+
entities: Entity[];
|
|
6
|
+
entityToHighlight?: string;
|
|
7
|
+
selectedEntityUri?: string;
|
|
8
|
+
scoresToShow?: string[];
|
|
9
|
+
rangeColorsConfig?: RangeColorsConfig;
|
|
10
|
+
onEntityClick?: (entityUri: string) => void;
|
|
11
|
+
onEntityHover?: (entityUri: string) => void;
|
|
12
|
+
entitiesImportStatus?: {
|
|
13
|
+
entityUri: string;
|
|
14
|
+
};
|
|
15
|
+
entityButtonsRenderer?: (entity: Entity) => void;
|
|
16
|
+
};
|
|
17
|
+
declare const ProfilesList: ({ entities, metadata, entityToHighlight, selectedEntityUri, scoresToShow, rangeColorsConfig, onEntityClick, onEntityHover, entitiesImportStatus, entityButtonsRenderer }: Props) => JSX.Element;
|
|
18
|
+
export default ProfilesList;
|
|
@@ -0,0 +1,83 @@
|
|
|
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, { useRef } from 'react';
|
|
13
|
+
import classnames from 'classnames';
|
|
14
|
+
import { prop } from 'ramda';
|
|
15
|
+
import { getBusinessCardAttributesText, getEntityId, getEntityUriForLink, getLabel, getScores, isActiveObject } from '@reltio/mdm-sdk';
|
|
16
|
+
import Score from '../Score/Score';
|
|
17
|
+
import EntityTypeBadge from '../EntityTypeBadge/EntityTypeBadge';
|
|
18
|
+
import EntityUriLink from '../EntityUriLink/EntityUriLink';
|
|
19
|
+
import EntityAvatar from '../EntityAvatar/EntityAvatar';
|
|
20
|
+
import { ImportModes } from '../ImportButton/ImportButton';
|
|
21
|
+
import { clearScrollTimer, isScrolledIntoView, scroll } from './helpers';
|
|
22
|
+
import { useDidUpdateEffect } from '../../hooks';
|
|
23
|
+
import { useStyles } from './styles';
|
|
24
|
+
var SECOND_SCROLL_PAUSE = 1000;
|
|
25
|
+
var ProfilesList = function (_a) {
|
|
26
|
+
var entities = _a.entities, metadata = _a.metadata, entityToHighlight = _a.entityToHighlight, selectedEntityUri = _a.selectedEntityUri, scoresToShow = _a.scoresToShow, rangeColorsConfig = _a.rangeColorsConfig, onEntityClick = _a.onEntityClick, onEntityHover = _a.onEntityHover, entitiesImportStatus = _a.entitiesImportStatus, entityButtonsRenderer = _a.entityButtonsRenderer;
|
|
27
|
+
var styles = useStyles();
|
|
28
|
+
var list = useRef(null);
|
|
29
|
+
var scrollTimer = useRef(null);
|
|
30
|
+
useDidUpdateEffect(function () {
|
|
31
|
+
var _a, _b;
|
|
32
|
+
if (entityToHighlight) {
|
|
33
|
+
var element_1 = (_a = list.current) === null || _a === void 0 ? void 0 : _a.querySelectorAll("[data-entity-uri='" + entityToHighlight + "']");
|
|
34
|
+
clearScrollTimer(scrollTimer.current);
|
|
35
|
+
if ((element_1 === null || element_1 === void 0 ? void 0 : element_1.length) > 0) {
|
|
36
|
+
var scrollableParent_1 = (_b = list.current) === null || _b === void 0 ? void 0 : _b.parentElement;
|
|
37
|
+
if (!isScrolledIntoView(element_1[0], scrollableParent_1)) {
|
|
38
|
+
scroll(element_1[0]);
|
|
39
|
+
scrollTimer.current = setTimeout(function () {
|
|
40
|
+
if (!isScrolledIntoView(element_1[0], scrollableParent_1)) {
|
|
41
|
+
scroll(element_1[0]);
|
|
42
|
+
}
|
|
43
|
+
}, SECOND_SCROLL_PAUSE);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return function () {
|
|
48
|
+
clearScrollTimer(scrollTimer.current);
|
|
49
|
+
};
|
|
50
|
+
}, [entityToHighlight]);
|
|
51
|
+
return (React.createElement("div", { ref: list }, (entities || []).map(function (entity) {
|
|
52
|
+
var _a;
|
|
53
|
+
var label = getLabel(entity.label);
|
|
54
|
+
var secondaryLabel = entity.secondaryLabel;
|
|
55
|
+
var businessCardText = getBusinessCardAttributesText(metadata, entity);
|
|
56
|
+
var isActive = isActiveObject(entity);
|
|
57
|
+
var scores = getScores(metadata, entity, scoresToShow);
|
|
58
|
+
var entityUri = entity.uri;
|
|
59
|
+
var entityUriForLink = getEntityUriForLink(entity);
|
|
60
|
+
var importStatus = prop(entityUri, entitiesImportStatus);
|
|
61
|
+
return (React.createElement("div", { key: entityUri, className: classnames(styles.item, (_a = {},
|
|
62
|
+
_a[styles.clickable] = !!onEntityClick,
|
|
63
|
+
_a[styles.selected] = entityUri === selectedEntityUri,
|
|
64
|
+
_a[styles.highlighted] = entityUri === entityToHighlight,
|
|
65
|
+
_a[styles.inactive] = !isActive,
|
|
66
|
+
_a[styles.justImported] = importStatus === ImportModes.SUCCESS,
|
|
67
|
+
_a)), onClick: onEntityClick ? function () { return onEntityClick(entityUri); } : undefined, onMouseEnter: onEntityHover ? function () { return onEntityHover(entityUri); } : undefined, onMouseLeave: onEntityHover ? function () { return onEntityHover(null); } : undefined, "data-entity-uri": entityUri },
|
|
68
|
+
React.createElement(EntityAvatar, { entity: entity, avatarClassName: styles.avatar, imageClassName: styles.image }),
|
|
69
|
+
React.createElement("div", { className: styles.info },
|
|
70
|
+
React.createElement("div", null,
|
|
71
|
+
React.createElement(EntityUriLink, { value: entityUriForLink, className: styles.label }, label),
|
|
72
|
+
secondaryLabel && React.createElement("span", { className: styles.secondaryLabel },
|
|
73
|
+
secondaryLabel,
|
|
74
|
+
" "),
|
|
75
|
+
businessCardText && React.createElement("span", { className: styles.businessCard }, businessCardText)),
|
|
76
|
+
React.createElement("div", { className: styles.secondRow },
|
|
77
|
+
React.createElement(EntityTypeBadge, { entity: entity }),
|
|
78
|
+
React.createElement("div", null, getEntityId(entity)),
|
|
79
|
+
scores.length > 0 && (React.createElement("div", { className: styles.scores }, scores.map(function (score, i) { return (React.createElement(Score, __assign({ key: i }, score, { rangeColorsConfig: rangeColorsConfig }))); }))))),
|
|
80
|
+
entityButtonsRenderer && entityButtonsRenderer(entity)));
|
|
81
|
+
})));
|
|
82
|
+
};
|
|
83
|
+
export default ProfilesList;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export var scroll = function (element) { return element && element.scrollIntoView({ block: 'end', behavior: 'smooth' }); };
|
|
2
|
+
export var clearScrollTimer = function (scrollTimer) {
|
|
3
|
+
if (scrollTimer) {
|
|
4
|
+
clearTimeout(scrollTimer);
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
export var isScrolledIntoView = function (element, scrollableParent) {
|
|
8
|
+
if (element && scrollableParent) {
|
|
9
|
+
var elemTop = element.offsetTop;
|
|
10
|
+
var elemBottom = element.offsetTop + element.clientHeight;
|
|
11
|
+
var clientHeight = scrollableParent.clientHeight, scrollTop = scrollableParent.scrollTop;
|
|
12
|
+
return elemTop >= 0 && elemBottom > scrollTop && elemBottom < scrollTop + clientHeight;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import ProfilesList from './ProfilesList';
|
|
3
|
+
export { ProfilesList };
|
|
4
|
+
declare const _default: import("react-redux").ConnectedComponent<({ entities, metadata, entityToHighlight, selectedEntityUri, scoresToShow, rangeColorsConfig, onEntityClick, onEntityHover, entitiesImportStatus, entityButtonsRenderer }: {
|
|
5
|
+
metadata: import("@reltio/mdm-sdk").Metadata;
|
|
6
|
+
entities: import("@reltio/mdm-sdk").Entity[];
|
|
7
|
+
entityToHighlight?: string;
|
|
8
|
+
selectedEntityUri?: string;
|
|
9
|
+
scoresToShow?: string[];
|
|
10
|
+
rangeColorsConfig?: import("@reltio/mdm-sdk").RangeColorsConfig;
|
|
11
|
+
onEntityClick?: (entityUri: string) => void;
|
|
12
|
+
onEntityHover?: (entityUri: string) => void;
|
|
13
|
+
entitiesImportStatus?: {
|
|
14
|
+
entityUri: string;
|
|
15
|
+
};
|
|
16
|
+
entityButtonsRenderer?: (entity: import("@reltio/mdm-sdk").Entity) => void;
|
|
17
|
+
}) => JSX.Element, import("react-redux").Omit<{
|
|
18
|
+
metadata: import("@reltio/mdm-sdk").Metadata;
|
|
19
|
+
entities: import("@reltio/mdm-sdk").Entity[];
|
|
20
|
+
entityToHighlight?: string;
|
|
21
|
+
selectedEntityUri?: string;
|
|
22
|
+
scoresToShow?: string[];
|
|
23
|
+
rangeColorsConfig?: import("@reltio/mdm-sdk").RangeColorsConfig;
|
|
24
|
+
onEntityClick?: (entityUri: string) => void;
|
|
25
|
+
onEntityHover?: (entityUri: string) => void;
|
|
26
|
+
entitiesImportStatus?: {
|
|
27
|
+
entityUri: string;
|
|
28
|
+
};
|
|
29
|
+
entityButtonsRenderer?: (entity: import("@reltio/mdm-sdk").Entity) => void;
|
|
30
|
+
}, "metadata">>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { connect } from 'react-redux';
|
|
2
|
+
import mdmModule from '@reltio/mdm-module';
|
|
3
|
+
import ProfilesList from './ProfilesList';
|
|
4
|
+
var mapStateToProps = function (state) {
|
|
5
|
+
return {
|
|
6
|
+
metadata: mdmModule.selectors.getMetadata(state)
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export { ProfilesList };
|
|
10
|
+
export default connect(mapStateToProps)(ProfilesList);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"label" | "image" | "secondaryLabel" | "item" | "inactive" | "selected" | "avatar" | "clickable" | "info" | "secondRow" | "@keyframes animate" | "highlighted" | "justImported" | "businessCard" | "scores">;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { fade, makeStyles } from '@material-ui/core/styles';
|
|
2
|
+
export var useStyles = makeStyles(function (theme) {
|
|
3
|
+
return {
|
|
4
|
+
'@keyframes animate': {
|
|
5
|
+
from: { background: 'transparent' },
|
|
6
|
+
'66%': { background: '#f2e68e' },
|
|
7
|
+
'100%': { background: 'transparent' }
|
|
8
|
+
},
|
|
9
|
+
highlighted: {
|
|
10
|
+
animationName: '$animate',
|
|
11
|
+
animationDuration: '3s',
|
|
12
|
+
animationIterationCount: 1
|
|
13
|
+
},
|
|
14
|
+
item: {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
minHeight: '40px',
|
|
17
|
+
borderBottom: '1px solid rgba(0, 0, 0, 0.1)',
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
'&:after': {
|
|
20
|
+
// IE flex & min-height workaround
|
|
21
|
+
content: '',
|
|
22
|
+
minHeight: 'inherit',
|
|
23
|
+
fontSize: 0
|
|
24
|
+
},
|
|
25
|
+
'&:hover': {
|
|
26
|
+
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
clickable: {
|
|
30
|
+
cursor: 'pointer'
|
|
31
|
+
},
|
|
32
|
+
selected: {
|
|
33
|
+
background: fade(theme.palette.primary.main, 0.12),
|
|
34
|
+
'&:hover': {
|
|
35
|
+
background: fade(theme.palette.primary.main, 0.24)
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
inactive: {
|
|
39
|
+
background: theme.inactiveBackground,
|
|
40
|
+
'&:hover': {
|
|
41
|
+
background: theme.inactiveHoverBackground
|
|
42
|
+
},
|
|
43
|
+
'&$selected': {
|
|
44
|
+
background: theme.inactiveSelectedBackground,
|
|
45
|
+
'&:hover': {
|
|
46
|
+
background: theme.inactiveSelectedHoverBackground
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
justImported: {
|
|
51
|
+
backgroundColor: '#FFFBEB !important'
|
|
52
|
+
},
|
|
53
|
+
avatar: {
|
|
54
|
+
marginLeft: '20px'
|
|
55
|
+
},
|
|
56
|
+
image: {
|
|
57
|
+
height: '32px',
|
|
58
|
+
width: '32px',
|
|
59
|
+
marginTop: '8px',
|
|
60
|
+
marginBottom: '7px'
|
|
61
|
+
},
|
|
62
|
+
info: {
|
|
63
|
+
marginLeft: '20px',
|
|
64
|
+
flexGrow: 1,
|
|
65
|
+
display: 'flex',
|
|
66
|
+
flexDirection: 'column',
|
|
67
|
+
justifyContent: 'center',
|
|
68
|
+
fontSize: '13px',
|
|
69
|
+
width: '100%',
|
|
70
|
+
overflow: 'hidden',
|
|
71
|
+
overflowWrap: 'break-word',
|
|
72
|
+
wordWrap: 'break-word' // for IE
|
|
73
|
+
},
|
|
74
|
+
label: {
|
|
75
|
+
fontSize: '13px',
|
|
76
|
+
lineHeight: '15px',
|
|
77
|
+
fontWeight: 500,
|
|
78
|
+
color: theme.palette.primary.main,
|
|
79
|
+
marginRight: '17px',
|
|
80
|
+
textDecoration: 'none'
|
|
81
|
+
},
|
|
82
|
+
secondaryLabel: {
|
|
83
|
+
marginRight: '12px'
|
|
84
|
+
},
|
|
85
|
+
businessCard: {
|
|
86
|
+
color: 'rgba(0, 0, 0, 0.54)'
|
|
87
|
+
},
|
|
88
|
+
secondRow: {
|
|
89
|
+
display: 'flex',
|
|
90
|
+
marginTop: '2px',
|
|
91
|
+
alignItems: 'center',
|
|
92
|
+
color: 'rgba(0, 0, 0, 0.54)',
|
|
93
|
+
fontSize: '12px'
|
|
94
|
+
},
|
|
95
|
+
scores: {
|
|
96
|
+
display: 'flex',
|
|
97
|
+
flexWrap: 'wrap',
|
|
98
|
+
color: 'rgba(0, 0, 0, 0.87)',
|
|
99
|
+
marginLeft: '10px',
|
|
100
|
+
marginRight: '20px',
|
|
101
|
+
fontSize: '13px',
|
|
102
|
+
minWidth: '134px'
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AttributesViewOwnProps } from '../types';
|
|
3
|
-
declare const AttributesView: ({ mode, attributesCount, pinnedAttributes, ...restProps }: AttributesViewOwnProps) => JSX.Element;
|
|
3
|
+
declare const AttributesView: ({ mode, attributesCount, pinnedAttributes, entity, ...restProps }: AttributesViewOwnProps) => JSX.Element;
|
|
4
4
|
export default AttributesView;
|
|
@@ -24,8 +24,9 @@ import React from 'react';
|
|
|
24
24
|
import { isViewMode, Mode } from '@reltio/mdm-sdk';
|
|
25
25
|
import ReadModeAttributesView from '../readMode/AttributesView';
|
|
26
26
|
import EditModeAttributesView from '../editMode/AttributesView';
|
|
27
|
+
import { EntityContext } from '../../../contexts';
|
|
27
28
|
var AttributesView = function (_a) {
|
|
28
|
-
var _b = _a.mode, mode = _b === void 0 ? Mode.Viewing : _b, attributesCount = _a.attributesCount, pinnedAttributes = _a.pinnedAttributes, restProps = __rest(_a, ["mode", "attributesCount", "pinnedAttributes"]);
|
|
29
|
-
return isViewMode(mode) ? (React.createElement(ReadModeAttributesView, __assign({ attributesCount: attributesCount }, restProps))) : (React.createElement(EditModeAttributesView, __assign({ mode: mode, pinnedAttributes: pinnedAttributes }, restProps)));
|
|
29
|
+
var _b = _a.mode, mode = _b === void 0 ? Mode.Viewing : _b, attributesCount = _a.attributesCount, pinnedAttributes = _a.pinnedAttributes, entity = _a.entity, restProps = __rest(_a, ["mode", "attributesCount", "pinnedAttributes", "entity"]);
|
|
30
|
+
return (React.createElement(EntityContext.Provider, { value: entity }, isViewMode(mode) ? (React.createElement(ReadModeAttributesView, __assign({ attributesCount: attributesCount, entity: entity }, restProps))) : (React.createElement(EditModeAttributesView, __assign({ mode: mode, pinnedAttributes: pinnedAttributes, entity: entity }, restProps)))));
|
|
30
31
|
};
|
|
31
32
|
export default AttributesView;
|
|
@@ -3,5 +3,5 @@ import { AttributesViewOwnProps } from '../types';
|
|
|
3
3
|
import AttributesView from './AttributesView';
|
|
4
4
|
declare type Props = Pick<AttributesViewOwnProps, 'entity' | 'mode'>;
|
|
5
5
|
export { AttributesView };
|
|
6
|
-
declare const _default: import("react-redux").ConnectedComponent<({ mode, attributesCount, pinnedAttributes, ...restProps }: AttributesViewOwnProps) => JSX.Element, import("react-redux").Omit<AttributesViewOwnProps, "entity" | "mode"> & Props>;
|
|
6
|
+
declare const _default: import("react-redux").ConnectedComponent<({ mode, attributesCount, pinnedAttributes, entity, ...restProps }: AttributesViewOwnProps) => JSX.Element, import("react-redux").Omit<AttributesViewOwnProps, "entity" | "mode"> & Props>;
|
|
7
7
|
export default _default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import AttributesView from './AttributesView';
|
|
3
3
|
export { AttributesView };
|
|
4
4
|
declare const _default: import("react-redux").ConnectedComponent<({ className, entity, mode, metadata, caption, excludeUris, includeUris, pinnedAttributes }: {
|
|
5
|
-
entity?: import("@reltio/mdm-sdk").Entity
|
|
5
|
+
entity?: import("@reltio/mdm-sdk").Entity;
|
|
6
6
|
caption?: string;
|
|
7
7
|
includeUris?: string[];
|
|
8
8
|
excludeUris?: string[];
|
|
@@ -14,7 +14,7 @@ declare const _default: import("react-redux").ConnectedComponent<({ className, e
|
|
|
14
14
|
roles?: string[];
|
|
15
15
|
}[];
|
|
16
16
|
}) => JSX.Element, import("react-redux").Omit<{
|
|
17
|
-
entity?: import("@reltio/mdm-sdk").Entity
|
|
17
|
+
entity?: import("@reltio/mdm-sdk").Entity;
|
|
18
18
|
caption?: string;
|
|
19
19
|
includeUris?: string[];
|
|
20
20
|
excludeUris?: string[];
|