@reltio/components 1.4.2199 → 1.4.2200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/RolesEditor/RolesEditor.js +5 -20
  2. package/RolesEditor/RolesEditor.module.css.js +2 -2
  3. package/RolesInput/RolesInput.d.ts +8 -0
  4. package/RolesInput/RolesInput.js +31 -0
  5. package/RolesInput/RolesInput.module.css.js +9 -0
  6. package/TagsEditor/TagsEditor.js +4 -67
  7. package/TagsInput/TagsInput.d.ts +8 -0
  8. package/TagsInput/TagsInput.js +71 -0
  9. package/cjs/RolesEditor/RolesEditor.js +2 -17
  10. package/cjs/RolesEditor/RolesEditor.module.css.js +2 -2
  11. package/cjs/RolesInput/RolesInput.d.ts +8 -0
  12. package/cjs/RolesInput/RolesInput.js +61 -0
  13. package/cjs/RolesInput/RolesInput.module.css.js +9 -0
  14. package/cjs/TagsEditor/TagsEditor.js +2 -65
  15. package/cjs/TagsInput/TagsInput.d.ts +8 -0
  16. package/cjs/TagsInput/TagsInput.js +98 -0
  17. package/cjs/features/workflow/AttributesChanges/AttributesChanges.js +9 -48
  18. package/cjs/features/workflow/AttributesChanges/AttributesChanges.module.css.js +9 -0
  19. package/cjs/features/workflow/AttributesChanges/components/ChangeView/ChangeView.js +7 -9
  20. package/cjs/features/workflow/AttributesChanges/components/ChangeView/ChangeView.module.css.js +9 -0
  21. package/cjs/features/workflow/AttributesChanges/components/DCRChangesList/DCRChangesList.d.ts +1 -1
  22. package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.d.ts +2 -2
  23. package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.js +19 -40
  24. package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.module.css.js +9 -0
  25. package/cjs/features/workflow/AttributesChanges/useCollapsibleList.d.ts +1 -1
  26. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.d.ts +3 -2
  27. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.js +11 -6
  28. package/cjs/features/workflow/ChangeRequestEditor/ChangeRequestEditor.module.css.js +2 -2
  29. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.d.ts +10 -0
  30. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.js +72 -0
  31. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.module.css.js +9 -0
  32. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemLabel.d.ts +9 -0
  33. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemLabel.js +19 -0
  34. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemOldValue.d.ts +7 -0
  35. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemOldValue.js +32 -0
  36. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditor.d.ts +9 -0
  37. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditor.js +44 -0
  38. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditorFactory.d.ts +12 -0
  39. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditorFactory.js +38 -0
  40. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/SkeletonChangeItemEditorLoader.d.ts +2 -0
  41. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/SkeletonChangeItemEditorLoader.js +20 -0
  42. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/index.d.ts +3 -0
  43. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/index.js +9 -0
  44. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.d.ts +10 -0
  45. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.js +27 -0
  46. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.module.css.js +9 -0
  47. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemRow/index.d.ts +1 -0
  48. package/cjs/features/workflow/ChangeRequestEditor/components/ChangeItemRow/index.js +5 -0
  49. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.d.ts +10 -0
  50. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.js +61 -0
  51. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.module.css.js +9 -0
  52. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/SkeletonEntityChangesGroupLoader.d.ts +2 -0
  53. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/SkeletonEntityChangesGroupLoader.js +23 -0
  54. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/index.d.ts +2 -0
  55. package/cjs/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/index.js +7 -0
  56. package/cjs/features/workflow/ChangeRequestEditor/helpers.d.ts +3 -0
  57. package/cjs/features/workflow/ChangeRequestEditor/helpers.js +16 -0
  58. package/cjs/features/workflow/DCREntityUriLink/DCREntityUriLink.d.ts +10 -0
  59. package/cjs/features/workflow/DCREntityUriLink/DCREntityUriLink.js +21 -0
  60. package/cjs/features/workflow/DCREntityUriLink/DCREntityUriLink.module.css.js +9 -0
  61. package/cjs/features/workflow/OperationChip/OperationChip.d.ts +10 -0
  62. package/cjs/features/workflow/OperationChip/OperationChip.js +16 -0
  63. package/cjs/features/workflow/OperationChip/OperationChip.module.css.js +9 -0
  64. package/cjs/features/workflow/OperationChip/index.d.ts +1 -0
  65. package/cjs/features/workflow/OperationChip/index.js +5 -0
  66. package/cjs/features/workflow/RelationEntityLink/RelationEntityLink.d.ts +9 -0
  67. package/cjs/features/workflow/RelationEntityLink/RelationEntityLink.js +67 -0
  68. package/cjs/features/workflow/RelationEntityLink/RelationEntityLink.module.css.js +9 -0
  69. package/cjs/features/workflow/RelationEntityLink/index.d.ts +1 -0
  70. package/cjs/features/workflow/RelationEntityLink/index.js +5 -0
  71. package/cjs/features/workflow/ReviewDCRDialog/ReviewDCRDialog.js +1 -1
  72. package/cjs/features/workflow/ReviewDCRDialog/ReviewDCRDialog.module.css.js +1 -1
  73. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.js +3 -17
  74. package/cjs/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.module.css.js +1 -1
  75. package/cjs/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.js +1 -1
  76. package/cjs/features/workflow/WorkflowComments/components/Comment/Comment.js +9 -10
  77. package/cjs/features/workflow/WorkflowComments/components/Comment/Comment.module.css.js +9 -0
  78. package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/attributes.js +13 -10
  79. package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/attributes.test.js +19 -9
  80. package/cjs/features/workflow/helpers/common.d.ts +2 -1
  81. package/cjs/features/workflow/helpers/common.js +6 -1
  82. package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/merge.js +3 -4
  83. package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/merge.test.js +5 -3
  84. package/cjs/features/workflow/hooks/useChangesList.d.ts +9 -0
  85. package/cjs/features/workflow/hooks/useChangesList.js +24 -0
  86. package/cjs/features/workflow/types.d.ts +16 -0
  87. package/cjs/icons/SuggestedChanges.d.ts +3 -0
  88. package/cjs/icons/SuggestedChanges.js +27 -0
  89. package/features/workflow/AttributesChanges/AttributesChanges.js +7 -23
  90. package/features/workflow/AttributesChanges/AttributesChanges.module.css.js +9 -0
  91. package/features/workflow/AttributesChanges/components/ChangeView/ChangeView.js +3 -5
  92. package/features/workflow/AttributesChanges/components/ChangeView/ChangeView.module.css.js +9 -0
  93. package/features/workflow/AttributesChanges/components/DCRChangesList/DCRChangesList.d.ts +1 -1
  94. package/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.d.ts +2 -2
  95. package/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.js +22 -43
  96. package/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.module.css.js +9 -0
  97. package/features/workflow/AttributesChanges/useCollapsibleList.d.ts +1 -1
  98. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.d.ts +3 -2
  99. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.js +11 -6
  100. package/features/workflow/ChangeRequestEditor/ChangeRequestEditor.module.css.js +2 -2
  101. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.d.ts +10 -0
  102. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.js +42 -0
  103. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemEditor.module.css.js +9 -0
  104. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemLabel.d.ts +9 -0
  105. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemLabel.js +12 -0
  106. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemOldValue.d.ts +7 -0
  107. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/ChangeItemOldValue.js +25 -0
  108. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditor.d.ts +9 -0
  109. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditor.js +14 -0
  110. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditorFactory.d.ts +12 -0
  111. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/DCRValueEditorFactory.js +32 -0
  112. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/SkeletonChangeItemEditorLoader.d.ts +2 -0
  113. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/SkeletonChangeItemEditorLoader.js +13 -0
  114. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/index.d.ts +3 -0
  115. package/features/workflow/ChangeRequestEditor/components/ChangeItemEditor/index.js +3 -0
  116. package/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.d.ts +10 -0
  117. package/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.js +20 -0
  118. package/features/workflow/ChangeRequestEditor/components/ChangeItemRow/ChangeItemRow.module.css.js +9 -0
  119. package/features/workflow/ChangeRequestEditor/components/ChangeItemRow/index.d.ts +1 -0
  120. package/features/workflow/ChangeRequestEditor/components/ChangeItemRow/index.js +1 -0
  121. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.d.ts +10 -0
  122. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.js +31 -0
  123. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/EntityChangesGroup.module.css.js +9 -0
  124. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/SkeletonEntityChangesGroupLoader.d.ts +2 -0
  125. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/SkeletonEntityChangesGroupLoader.js +16 -0
  126. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/index.d.ts +2 -0
  127. package/features/workflow/ChangeRequestEditor/components/EntityChangesGroup/index.js +2 -0
  128. package/features/workflow/ChangeRequestEditor/helpers.d.ts +3 -0
  129. package/features/workflow/ChangeRequestEditor/helpers.js +12 -0
  130. package/features/workflow/DCREntityUriLink/DCREntityUriLink.d.ts +10 -0
  131. package/features/workflow/DCREntityUriLink/DCREntityUriLink.js +14 -0
  132. package/features/workflow/DCREntityUriLink/DCREntityUriLink.module.css.js +9 -0
  133. package/features/workflow/OperationChip/OperationChip.d.ts +10 -0
  134. package/features/workflow/OperationChip/OperationChip.js +9 -0
  135. package/features/workflow/OperationChip/OperationChip.module.css.js +9 -0
  136. package/features/workflow/OperationChip/index.d.ts +1 -0
  137. package/features/workflow/OperationChip/index.js +1 -0
  138. package/features/workflow/RelationEntityLink/RelationEntityLink.d.ts +9 -0
  139. package/features/workflow/RelationEntityLink/RelationEntityLink.js +37 -0
  140. package/features/workflow/RelationEntityLink/RelationEntityLink.module.css.js +9 -0
  141. package/features/workflow/RelationEntityLink/index.d.ts +1 -0
  142. package/features/workflow/RelationEntityLink/index.js +1 -0
  143. package/features/workflow/ReviewDCRDialog/ReviewDCRDialog.js +1 -1
  144. package/features/workflow/ReviewDCRDialog/ReviewDCRDialog.module.css.js +1 -1
  145. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.js +2 -16
  146. package/features/workflow/ReviewDCRDialog/components/DCRChangesSummary/DCRChangesSummary.module.css.js +1 -1
  147. package/features/workflow/ReviewDCRDialog/helpers/calculateDCRChanges.js +1 -1
  148. package/features/workflow/WorkflowComments/components/Comment/Comment.js +1 -2
  149. package/features/workflow/WorkflowComments/components/Comment/Comment.module.css.js +9 -0
  150. package/features/workflow/{AttributesChanges/helpers → helpers}/attributes.js +13 -10
  151. package/features/workflow/{AttributesChanges/helpers → helpers}/attributes.test.js +19 -9
  152. package/features/workflow/helpers/common.d.ts +2 -1
  153. package/features/workflow/helpers/common.js +6 -2
  154. package/features/workflow/{AttributesChanges/helpers → helpers}/merge.js +4 -5
  155. package/features/workflow/{AttributesChanges/helpers → helpers}/merge.test.js +5 -3
  156. package/features/workflow/hooks/useChangesList.d.ts +9 -0
  157. package/features/workflow/hooks/useChangesList.js +17 -0
  158. package/features/workflow/types.d.ts +16 -0
  159. package/icons/SuggestedChanges.d.ts +3 -0
  160. package/icons/SuggestedChanges.js +22 -0
  161. package/package.json +2 -2
  162. package/cjs/features/workflow/AttributesChanges/components/ChangeView/styles.d.ts +0 -1
  163. package/cjs/features/workflow/AttributesChanges/components/ChangeView/styles.js +0 -49
  164. package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/styles.d.ts +0 -5
  165. package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/styles.js +0 -31
  166. package/cjs/features/workflow/AttributesChanges/styles.d.ts +0 -1
  167. package/cjs/features/workflow/AttributesChanges/styles.js +0 -28
  168. package/cjs/features/workflow/AttributesChanges/types.d.ts +0 -14
  169. package/cjs/features/workflow/AttributesChanges/types.js +0 -2
  170. package/cjs/features/workflow/WorkflowComments/components/Comment/styles.d.ts +0 -1
  171. package/cjs/features/workflow/WorkflowComments/components/Comment/styles.js +0 -49
  172. package/features/workflow/AttributesChanges/components/ChangeView/styles.d.ts +0 -1
  173. package/features/workflow/AttributesChanges/components/ChangeView/styles.js +0 -46
  174. package/features/workflow/AttributesChanges/components/DiffRenderer/styles.d.ts +0 -5
  175. package/features/workflow/AttributesChanges/components/DiffRenderer/styles.js +0 -28
  176. package/features/workflow/AttributesChanges/styles.d.ts +0 -1
  177. package/features/workflow/AttributesChanges/styles.js +0 -25
  178. package/features/workflow/AttributesChanges/types.d.ts +0 -14
  179. package/features/workflow/AttributesChanges/types.js +0 -1
  180. package/features/workflow/WorkflowComments/components/Comment/styles.d.ts +0 -1
  181. package/features/workflow/WorkflowComments/components/Comment/styles.js +0 -46
  182. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/attributes.d.ts +0 -0
  183. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/attributes.test.d.ts +0 -0
  184. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/merge.d.ts +0 -0
  185. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/merge.test.d.ts +0 -0
  186. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/metadata.test-data.d.ts +0 -0
  187. /package/cjs/features/workflow/{AttributesChanges/helpers → helpers}/metadata.test-data.js +0 -0
  188. /package/features/workflow/{AttributesChanges/helpers → helpers}/attributes.d.ts +0 -0
  189. /package/features/workflow/{AttributesChanges/helpers → helpers}/attributes.test.d.ts +0 -0
  190. /package/features/workflow/{AttributesChanges/helpers → helpers}/merge.d.ts +0 -0
  191. /package/features/workflow/{AttributesChanges/helpers → helpers}/merge.test.d.ts +0 -0
  192. /package/features/workflow/{AttributesChanges/helpers → helpers}/metadata.test-data.d.ts +0 -0
  193. /package/features/workflow/{AttributesChanges/helpers → helpers}/metadata.test-data.js +0 -0
@@ -1,28 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles(function (theme) { return ({
3
- linkContainer: {
4
- textDecoration: 'none',
5
- cursor: 'pointer',
6
- marginLeft: '4px'
7
- },
8
- linkLabel: {
9
- color: theme.palette.primary.main,
10
- fontSize: '12px',
11
- letterSpacing: 0,
12
- lineHeight: '16px',
13
- whiteSpace: 'break-spaces'
14
- },
15
- disabledLink: {
16
- pointerEvents: 'none',
17
- cursor: 'default'
18
- },
19
- label: {
20
- color: theme.palette.text.primary
21
- },
22
- change: function (_a) {
23
- var _b = _a.level, level = _b === void 0 ? 0 : _b;
24
- return ({
25
- marginLeft: "".concat(level * 16, "px")
26
- });
27
- }
28
- }); });
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container" | "label" | "uri" | "showMoreLink">;
@@ -1,25 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles(function (theme) { return ({
3
- container: {
4
- boxSizing: 'border-box',
5
- border: '1px solid rgba(0,0,0,0.03)',
6
- borderRadius: '3px',
7
- backgroundColor: 'rgba(0,0,0,0.03)',
8
- padding: '10px',
9
- margin: '12px 16px 12px 0'
10
- },
11
- uri: {
12
- color: theme.palette.primary.main,
13
- textDecoration: 'none',
14
- cursor: 'pointer'
15
- },
16
- label: {
17
- fontSize: '12px',
18
- letterSpacing: 0,
19
- lineHeight: '16px',
20
- whiteSpace: 'break-spaces'
21
- },
22
- showMoreLink: {
23
- marginTop: '8px'
24
- }
25
- }); });
@@ -1,14 +0,0 @@
1
- import { AttributeType, ChangeValue, DCRAttributeValue, DCROperationTypes, DCRRelationInfo } from '@reltio/mdm-sdk';
2
- export type RelationAttributeValue = DCRAttributeValue & DCRRelationInfo;
3
- export type Diff = {
4
- level: number;
5
- label: string;
6
- attributeType: AttributeType;
7
- attributeValue?: DCRAttributeValue | RelationAttributeValue;
8
- newValue?: ChangeValue;
9
- oldValue?: ChangeValue;
10
- operation?: DCROperationTypes;
11
- };
12
- export type Title = {
13
- label: string;
14
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"text" | "icon" | "date" | "info" | "comment" | "avatar" | "firstLine" | "author">;
@@ -1,46 +0,0 @@
1
- import { makeStyles } from '@mui/styles';
2
- export var useStyles = makeStyles({
3
- comment: {
4
- display: 'flex',
5
- flexDirection: 'row',
6
- flex: 1,
7
- marginLeft: '6px'
8
- },
9
- avatar: {
10
- height: '24px',
11
- width: '24px',
12
- margin: '3px 13px 0 0'
13
- },
14
- icon: {
15
- fill: '#537280',
16
- backgroundColor: '#EAEDEE'
17
- },
18
- firstLine: {
19
- display: 'flex',
20
- flexDirection: 'row'
21
- },
22
- info: {
23
- flex: 1
24
- },
25
- author: {
26
- flex: 1,
27
- fontWeight: 500,
28
- color: 'rgba(0,0,0,0.87)',
29
- fontSize: '13px',
30
- lineHeight: '15px'
31
- },
32
- date: {
33
- color: 'rgba(0, 0, 0, 0.54)',
34
- fontSize: '11px',
35
- marginRight: '17px',
36
- lineHeight: '15px'
37
- },
38
- text: {
39
- color: 'rgba(0, 0, 0, 0.6)',
40
- fontSize: '13px',
41
- wordWrap: 'break-word',
42
- wordBreak: 'break-all',
43
- paddingRight: '10px',
44
- whiteSpace: 'pre-wrap'
45
- }
46
- });