@selfcommunity/react-ui 0.7.0-alpha.80 → 0.7.0-alpha.82
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/lib/cjs/components/{MessageEditor → PrivateMessageEditor}/MessageMediaUploader/index.d.ts +0 -0
- package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.d.ts.map +1 -0
- package/lib/cjs/components/{MessageEditor → PrivateMessageEditor}/MessageMediaUploader/index.js +6 -51
- package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +48 -0
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.d.ts.map +1 -0
- package/lib/cjs/components/{MessageEditor/MessageEditor.js → PrivateMessageEditor/PrivateMessageEditor.js} +41 -64
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js.map +1 -0
- package/lib/{esm/components/MessageEditor → cjs/components/PrivateMessageEditor}/Skeleton.d.ts +2 -2
- package/lib/cjs/components/PrivateMessageEditor/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/{MessageEditor → PrivateMessageEditor}/Skeleton.js +3 -3
- package/lib/cjs/components/PrivateMessageEditor/Skeleton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageEditor/index.d.ts +5 -0
- package/lib/cjs/components/PrivateMessageEditor/index.d.ts.map +1 -0
- package/lib/cjs/components/{Message → PrivateMessageEditor}/index.js +4 -4
- package/lib/cjs/components/PrivateMessageEditor/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts +58 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +162 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.d.ts +23 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +54 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/index.d.ts +5 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/index.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/index.js +11 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts +75 -0
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +281 -0
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.d.ts +23 -0
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/{Snippets → PrivateMessageSnippets}/Skeleton.js +9 -9
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/index.d.ts +5 -0
- package/lib/cjs/components/PrivateMessageSnippets/index.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/index.js +11 -0
- package/lib/cjs/components/PrivateMessageSnippets/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.d.ts +84 -0
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.d.ts.map +1 -0
- package/lib/cjs/components/{Thread/Thread.js → PrivateMessageThread/PrivateMessageThread.js} +102 -193
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThread/Skeleton.d.ts +23 -0
- package/lib/cjs/components/PrivateMessageThread/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/{Thread → PrivateMessageThread}/Skeleton.js +8 -8
- package/lib/cjs/components/PrivateMessageThread/Skeleton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThread/index.d.ts +5 -0
- package/lib/cjs/components/PrivateMessageThread/index.d.ts.map +1 -0
- package/lib/cjs/components/{Thread → PrivateMessageThread}/index.js +4 -4
- package/lib/cjs/components/PrivateMessageThread/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +76 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +169 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.d.ts +23 -0
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/{Message → PrivateMessageThreadItem}/Skeleton.js +8 -8
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/index.d.ts +5 -0
- package/lib/cjs/components/PrivateMessageThreadItem/index.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/index.js +11 -0
- package/lib/cjs/components/PrivateMessageThreadItem/index.js.map +1 -0
- package/lib/cjs/index.d.ts +6 -5
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +17 -14
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/{MessageEditor → PrivateMessageEditor}/MessageMediaUploader/index.d.ts +0 -0
- package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.d.ts.map +1 -0
- package/lib/esm/components/{MessageEditor → PrivateMessageEditor}/MessageMediaUploader/index.js +6 -51
- package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +48 -0
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.d.ts.map +1 -0
- package/lib/esm/components/{MessageEditor/MessageEditor.js → PrivateMessageEditor/PrivateMessageEditor.js} +42 -65
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js.map +1 -0
- package/lib/{cjs/components/MessageEditor → esm/components/PrivateMessageEditor}/Skeleton.d.ts +2 -2
- package/lib/esm/components/PrivateMessageEditor/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/{MessageEditor → PrivateMessageEditor}/Skeleton.js +2 -2
- package/lib/esm/components/PrivateMessageEditor/Skeleton.js.map +1 -0
- package/lib/esm/components/PrivateMessageEditor/index.d.ts +5 -0
- package/lib/esm/components/PrivateMessageEditor/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageEditor/index.js +5 -0
- package/lib/esm/components/PrivateMessageEditor/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts +58 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +133 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.d.ts +23 -0
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +48 -0
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/index.d.ts +5 -0
- package/lib/esm/components/PrivateMessageSnippetItem/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/index.js +5 -0
- package/lib/esm/components/PrivateMessageSnippetItem/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts +75 -0
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +252 -0
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.d.ts +23 -0
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +39 -0
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/index.d.ts +5 -0
- package/lib/esm/components/PrivateMessageSnippets/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSnippets/index.js +5 -0
- package/lib/esm/components/PrivateMessageSnippets/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.d.ts +84 -0
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +388 -0
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js.map +1 -0
- package/lib/esm/components/PrivateMessageThread/Skeleton.d.ts +23 -0
- package/lib/esm/components/PrivateMessageThread/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/{Thread → PrivateMessageThread}/Skeleton.js +7 -7
- package/lib/esm/components/PrivateMessageThread/Skeleton.js.map +1 -0
- package/lib/esm/components/PrivateMessageThread/index.d.ts +5 -0
- package/lib/esm/components/PrivateMessageThread/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageThread/index.js +5 -0
- package/lib/esm/components/PrivateMessageThread/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +76 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +163 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js.map +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.d.ts +23 -0
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/{Message → PrivateMessageThreadItem}/Skeleton.js +7 -7
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.js.map +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/index.d.ts +5 -0
- package/lib/esm/components/PrivateMessageThreadItem/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/index.js +5 -0
- package/lib/esm/components/PrivateMessageThreadItem/index.js.map +1 -0
- package/lib/esm/index.d.ts +6 -5
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +6 -5
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-ui.js +4 -4
- package/lib/umd/react-ui.js.LICENSE.txt +1 -1
- package/lib/umd/react-ui.js.map +1 -1
- package/package.json +6 -6
- package/lib/cjs/components/Message/Message.d.ts +0 -83
- package/lib/cjs/components/Message/Message.d.ts.map +0 -1
- package/lib/cjs/components/Message/Message.js +0 -223
- package/lib/cjs/components/Message/Message.js.map +0 -1
- package/lib/cjs/components/Message/Skeleton.d.ts +0 -23
- package/lib/cjs/components/Message/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/Message/Skeleton.js.map +0 -1
- package/lib/cjs/components/Message/index.d.ts +0 -5
- package/lib/cjs/components/Message/index.d.ts.map +0 -1
- package/lib/cjs/components/Message/index.js.map +0 -1
- package/lib/cjs/components/MessageEditor/MessageEditor.d.ts +0 -48
- package/lib/cjs/components/MessageEditor/MessageEditor.d.ts.map +0 -1
- package/lib/cjs/components/MessageEditor/MessageEditor.js.map +0 -1
- package/lib/cjs/components/MessageEditor/MessageMediaUploader/index.d.ts.map +0 -1
- package/lib/cjs/components/MessageEditor/MessageMediaUploader/index.js.map +0 -1
- package/lib/cjs/components/MessageEditor/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/MessageEditor/Skeleton.js.map +0 -1
- package/lib/cjs/components/MessageEditor/index.d.ts +0 -5
- package/lib/cjs/components/MessageEditor/index.d.ts.map +0 -1
- package/lib/cjs/components/MessageEditor/index.js +0 -11
- package/lib/cjs/components/MessageEditor/index.js.map +0 -1
- package/lib/cjs/components/Snippets/Skeleton.d.ts +0 -23
- package/lib/cjs/components/Snippets/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/Snippets/Skeleton.js.map +0 -1
- package/lib/cjs/components/Snippets/Snippets.d.ts +0 -76
- package/lib/cjs/components/Snippets/Snippets.d.ts.map +0 -1
- package/lib/cjs/components/Snippets/Snippets.js +0 -231
- package/lib/cjs/components/Snippets/Snippets.js.map +0 -1
- package/lib/cjs/components/Snippets/index.d.ts +0 -5
- package/lib/cjs/components/Snippets/index.d.ts.map +0 -1
- package/lib/cjs/components/Snippets/index.js +0 -11
- package/lib/cjs/components/Snippets/index.js.map +0 -1
- package/lib/cjs/components/Thread/Skeleton.d.ts +0 -23
- package/lib/cjs/components/Thread/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/Thread/Skeleton.js.map +0 -1
- package/lib/cjs/components/Thread/Thread.d.ts +0 -93
- package/lib/cjs/components/Thread/Thread.d.ts.map +0 -1
- package/lib/cjs/components/Thread/Thread.js.map +0 -1
- package/lib/cjs/components/Thread/index.d.ts +0 -5
- package/lib/cjs/components/Thread/index.d.ts.map +0 -1
- package/lib/cjs/components/Thread/index.js.map +0 -1
- package/lib/esm/components/Message/Message.d.ts +0 -83
- package/lib/esm/components/Message/Message.d.ts.map +0 -1
- package/lib/esm/components/Message/Message.js +0 -194
- package/lib/esm/components/Message/Message.js.map +0 -1
- package/lib/esm/components/Message/Skeleton.d.ts +0 -23
- package/lib/esm/components/Message/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/Message/Skeleton.js.map +0 -1
- package/lib/esm/components/Message/index.d.ts +0 -5
- package/lib/esm/components/Message/index.d.ts.map +0 -1
- package/lib/esm/components/Message/index.js +0 -5
- package/lib/esm/components/Message/index.js.map +0 -1
- package/lib/esm/components/MessageEditor/MessageEditor.d.ts +0 -48
- package/lib/esm/components/MessageEditor/MessageEditor.d.ts.map +0 -1
- package/lib/esm/components/MessageEditor/MessageEditor.js.map +0 -1
- package/lib/esm/components/MessageEditor/MessageMediaUploader/index.d.ts.map +0 -1
- package/lib/esm/components/MessageEditor/MessageMediaUploader/index.js.map +0 -1
- package/lib/esm/components/MessageEditor/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/MessageEditor/Skeleton.js.map +0 -1
- package/lib/esm/components/MessageEditor/index.d.ts +0 -5
- package/lib/esm/components/MessageEditor/index.d.ts.map +0 -1
- package/lib/esm/components/MessageEditor/index.js +0 -5
- package/lib/esm/components/MessageEditor/index.js.map +0 -1
- package/lib/esm/components/Snippets/Skeleton.d.ts +0 -23
- package/lib/esm/components/Snippets/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/Snippets/Skeleton.js +0 -39
- package/lib/esm/components/Snippets/Skeleton.js.map +0 -1
- package/lib/esm/components/Snippets/Snippets.d.ts +0 -76
- package/lib/esm/components/Snippets/Snippets.d.ts.map +0 -1
- package/lib/esm/components/Snippets/Snippets.js +0 -202
- package/lib/esm/components/Snippets/Snippets.js.map +0 -1
- package/lib/esm/components/Snippets/index.d.ts +0 -5
- package/lib/esm/components/Snippets/index.d.ts.map +0 -1
- package/lib/esm/components/Snippets/index.js +0 -5
- package/lib/esm/components/Snippets/index.js.map +0 -1
- package/lib/esm/components/Thread/Skeleton.d.ts +0 -23
- package/lib/esm/components/Thread/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/Thread/Skeleton.js.map +0 -1
- package/lib/esm/components/Thread/Thread.d.ts +0 -93
- package/lib/esm/components/Thread/Thread.d.ts.map +0 -1
- package/lib/esm/components/Thread/Thread.js +0 -479
- package/lib/esm/components/Thread/Thread.js.map +0 -1
- package/lib/esm/components/Thread/index.d.ts +0 -5
- package/lib/esm/components/Thread/index.d.ts.map +0 -1
- package/lib/esm/components/Thread/index.js +0 -5
- package/lib/esm/components/Thread/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThread/index.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,EAAE,EAAC,yBAAyB,EAAC,MAAM,wBAAwB,CAAC;AACvF,OAAO,4BAA4B,MAAM,YAAY,CAAC;AACtD,eAAe,oBAAoB,CAAC;AACpC,OAAO,EAAC,yBAAyB,EAAE,4BAA4B,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThread/index.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAiD,MAAM,wBAAwB,CAAC;AACvF,OAAO,4BAA4B,MAAM,YAAY,CAAC;AACtD,eAAe,oBAAoB,CAAC;AACpC,OAAO,EAA4B,4BAA4B,EAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { SCPrivateMessageThreadType } from '@selfcommunity/types';
|
|
2
|
+
export interface PrivateMessageThreadItemProps {
|
|
3
|
+
/**
|
|
4
|
+
* Overrides or extends the styles applied to the component.
|
|
5
|
+
* @default null
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* PrivateMessageItem Object
|
|
10
|
+
* @default null
|
|
11
|
+
*/
|
|
12
|
+
message?: SCPrivateMessageThreadType;
|
|
13
|
+
/**
|
|
14
|
+
* Hides this component
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
autoHide?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Mouse Events to spread to the element
|
|
20
|
+
*/
|
|
21
|
+
mouseEvents?: {
|
|
22
|
+
onMouseEnter?: () => void;
|
|
23
|
+
onMouseLeave?: () => void;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Gets mouse hovering status
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
isHovering?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* Menu icon showed only for messages sent by logged user
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
showMenuIcon?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Action triggered on menu icon click
|
|
37
|
+
* @default null
|
|
38
|
+
*/
|
|
39
|
+
onMenuIconClick?: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* Any other properties
|
|
42
|
+
*/
|
|
43
|
+
[p: string]: any;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
> API documentation for the Community-JS PrivateMessageItem component. Learn about the available props and the CSS API.
|
|
48
|
+
|
|
49
|
+
#### Import
|
|
50
|
+
|
|
51
|
+
```jsx
|
|
52
|
+
import {PrivateMessageThreadItem} from '@selfcommunity/react-ui';
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
#### Component Name
|
|
56
|
+
|
|
57
|
+
The name `SCPrivateMessageThreadItem` can be used when providing style overrides in the theme.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
#### CSS
|
|
61
|
+
|
|
62
|
+
|Rule Name|Global class|Description|
|
|
63
|
+
|---|---|---|
|
|
64
|
+
|root|.SCPrivateMessageThreadItem-root|Styles applied to the root element.|
|
|
65
|
+
|text|.SCPrivateMessageThreadItem-text|Styles applied to the message text element.|
|
|
66
|
+
|img|.SCPrivateMessageThreadItem-img|Styles applied to the img element.|
|
|
67
|
+
|document|.SCPrivateMessageThreadItem-document|Styles applied to the message file element.|
|
|
68
|
+
|video|.SCPrivateMessageThreadItem-video|Styles applied to the message video element.|
|
|
69
|
+
|messageTime|.SCPrivateMessageThreadItem-message-time|Styles applied to the thread message time element.|
|
|
70
|
+
|menuItem|.SCPrivateMessageThreadItem-menu-item|Styles applied to the thread message menu item element.|
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
* @param inProps
|
|
74
|
+
*/
|
|
75
|
+
export default function PrivateMessageThreadItem(inProps: PrivateMessageThreadItemProps): JSX.Element;
|
|
76
|
+
//# sourceMappingURL=PrivateMessageThreadItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrivateMessageThreadItem.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/PrivateMessageThreadItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAC,0BAA0B,EAAoB,MAAM,sBAAsB,CAAC;AA2BnF,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;QAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;KAC3B,CAAC;IACF;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,GAAG,GAAG,CAAC,OAAO,CAyIpG"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import { styled } from '@mui/material/styles';
|
|
14
|
+
import { ListItem, Typography, IconButton, Box, Menu, MenuItem, ListItemIcon } from '@mui/material';
|
|
15
|
+
import PrivateMessageThreadItemSkeleton from './Skeleton';
|
|
16
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
17
|
+
import { SCMessageFileType } from '@selfcommunity/types';
|
|
18
|
+
import Icon from '@mui/material/Icon';
|
|
19
|
+
import classNames from 'classnames';
|
|
20
|
+
import AutoPlayer from '../../shared/AutoPlayer';
|
|
21
|
+
import LazyLoad from 'react-lazyload';
|
|
22
|
+
import { DEFAULT_PRELOAD_OFFSET_VIEWPORT } from '../../constants/LazyLoad';
|
|
23
|
+
import { useThemeProps } from '@mui/system';
|
|
24
|
+
import HiddenPlaceholder from '../../shared/HiddenPlaceholder';
|
|
25
|
+
const PREFIX = 'SCPrivateMessageThreadItem';
|
|
26
|
+
const classes = {
|
|
27
|
+
root: `${PREFIX}-root`,
|
|
28
|
+
text: `${PREFIX}-text`,
|
|
29
|
+
img: `${PREFIX}-img`,
|
|
30
|
+
document: `${PREFIX}-document`,
|
|
31
|
+
video: `${PREFIX}-video`,
|
|
32
|
+
messageTime: `${PREFIX}-message-time`,
|
|
33
|
+
menuItem: `${PREFIX}-menu-item`
|
|
34
|
+
};
|
|
35
|
+
const Root = styled(ListItem, {
|
|
36
|
+
name: PREFIX,
|
|
37
|
+
slot: 'Root',
|
|
38
|
+
overridesResolver: (props, styles) => styles.root
|
|
39
|
+
})(({ theme }) => ({}));
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
> API documentation for the Community-JS PrivateMessageItem component. Learn about the available props and the CSS API.
|
|
43
|
+
|
|
44
|
+
#### Import
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
import {PrivateMessageThreadItem} from '@selfcommunity/react-ui';
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
#### Component Name
|
|
51
|
+
|
|
52
|
+
The name `SCPrivateMessageThreadItem` can be used when providing style overrides in the theme.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
#### CSS
|
|
56
|
+
|
|
57
|
+
|Rule Name|Global class|Description|
|
|
58
|
+
|---|---|---|
|
|
59
|
+
|root|.SCPrivateMessageThreadItem-root|Styles applied to the root element.|
|
|
60
|
+
|text|.SCPrivateMessageThreadItem-text|Styles applied to the message text element.|
|
|
61
|
+
|img|.SCPrivateMessageThreadItem-img|Styles applied to the img element.|
|
|
62
|
+
|document|.SCPrivateMessageThreadItem-document|Styles applied to the message file element.|
|
|
63
|
+
|video|.SCPrivateMessageThreadItem-video|Styles applied to the message video element.|
|
|
64
|
+
|messageTime|.SCPrivateMessageThreadItem-message-time|Styles applied to the thread message time element.|
|
|
65
|
+
|menuItem|.SCPrivateMessageThreadItem-menu-item|Styles applied to the thread message menu item element.|
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
* @param inProps
|
|
69
|
+
*/
|
|
70
|
+
export default function PrivateMessageThreadItem(inProps) {
|
|
71
|
+
// PROPS
|
|
72
|
+
const props = useThemeProps({
|
|
73
|
+
props: inProps,
|
|
74
|
+
name: PREFIX
|
|
75
|
+
});
|
|
76
|
+
const { autoHide = false, message = null, className = null, mouseEvents = {}, isHovering = null, showMenuIcon = false, onMenuIconClick = null } = props, rest = __rest(props, ["autoHide", "message", "className", "mouseEvents", "isHovering", "showMenuIcon", "onMenuIconClick"]);
|
|
77
|
+
// INTL
|
|
78
|
+
const intl = useIntl();
|
|
79
|
+
// STATE
|
|
80
|
+
const hasFile = message ? message.file : null;
|
|
81
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
82
|
+
const open = Boolean(anchorEl);
|
|
83
|
+
function bytesToSize(bytes) {
|
|
84
|
+
return (bytes / (1024 * 1024)).toFixed(1) + 'MB';
|
|
85
|
+
}
|
|
86
|
+
const getMouseEvents = (mouseEnter, mouseLeave) => ({
|
|
87
|
+
onMouseEnter: mouseEnter,
|
|
88
|
+
onMouseLeave: mouseLeave,
|
|
89
|
+
onTouchStart: mouseEnter,
|
|
90
|
+
onTouchMove: mouseLeave
|
|
91
|
+
});
|
|
92
|
+
const handleOpenMenu = (event) => {
|
|
93
|
+
setAnchorEl(event.currentTarget);
|
|
94
|
+
};
|
|
95
|
+
const handleMenuClose = () => {
|
|
96
|
+
setAnchorEl(null);
|
|
97
|
+
};
|
|
98
|
+
const handleMenuItemClick = () => {
|
|
99
|
+
onMenuIconClick();
|
|
100
|
+
handleMenuClose();
|
|
101
|
+
};
|
|
102
|
+
// RENDERING
|
|
103
|
+
const renderMessageFile = (m) => {
|
|
104
|
+
if (!m) {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
let section = null;
|
|
108
|
+
if (m.file) {
|
|
109
|
+
let type = m.file.mimetype;
|
|
110
|
+
let src = message.file.url;
|
|
111
|
+
switch (true) {
|
|
112
|
+
case type.startsWith(SCMessageFileType.IMAGE):
|
|
113
|
+
section = (React.createElement(Box, { className: classes.img },
|
|
114
|
+
React.createElement("img", { src: src, loading: "lazy", alt: 'img' })));
|
|
115
|
+
break;
|
|
116
|
+
case type.startsWith(SCMessageFileType.VIDEO):
|
|
117
|
+
section = (React.createElement(LazyLoad, { className: classes.video, once: true, offset: DEFAULT_PRELOAD_OFFSET_VIEWPORT },
|
|
118
|
+
React.createElement(AutoPlayer, { url: src, width: '100%' })));
|
|
119
|
+
break;
|
|
120
|
+
case type.startsWith(SCMessageFileType.DOCUMENT):
|
|
121
|
+
section = (React.createElement(Box, { className: classes.document },
|
|
122
|
+
React.createElement(IconButton, { onClick: () => window.open(src, '_blank') },
|
|
123
|
+
React.createElement(Icon, null, "download")),
|
|
124
|
+
React.createElement(Typography, null,
|
|
125
|
+
m.file.filename,
|
|
126
|
+
" "),
|
|
127
|
+
React.createElement(Typography, { ml: 1 }, bytesToSize(m.file.filesize))));
|
|
128
|
+
break;
|
|
129
|
+
default:
|
|
130
|
+
section = React.createElement(Icon, null, "hide_image");
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return React.createElement(React.Fragment, null, section);
|
|
135
|
+
};
|
|
136
|
+
if (!message) {
|
|
137
|
+
return React.createElement(PrivateMessageThreadItemSkeleton, { elevation: 0 });
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Renders root object (if not hidden by autoHide prop)
|
|
141
|
+
*/
|
|
142
|
+
if (autoHide) {
|
|
143
|
+
return React.createElement(HiddenPlaceholder, null);
|
|
144
|
+
}
|
|
145
|
+
return (React.createElement(Root, Object.assign({ className: classNames(classes.root, className) }, getMouseEvents(mouseEvents.onMouseEnter, mouseEvents.onMouseLeave), rest, { secondaryAction: isHovering &&
|
|
146
|
+
showMenuIcon &&
|
|
147
|
+
message.status !== 'hidden' && (React.createElement(React.Fragment, null,
|
|
148
|
+
React.createElement(IconButton, { onClick: handleOpenMenu },
|
|
149
|
+
React.createElement(Icon, { fontSize: "small" }, "more_vert")),
|
|
150
|
+
React.createElement(Menu, { anchorEl: anchorEl, open: open, onClose: handleMenuClose },
|
|
151
|
+
React.createElement(MenuItem, { classes: { root: classes.menuItem }, onClick: handleMenuItemClick },
|
|
152
|
+
React.createElement(ListItemIcon, null,
|
|
153
|
+
React.createElement(Icon, { fontSize: "small" }, "delete")),
|
|
154
|
+
React.createElement(FormattedMessage, { id: "ui.privateMessage.threadItem.menu.item.delete", defaultMessage: "ui.privateMessage.threadItem.menu.item.delete" }))))) }),
|
|
155
|
+
React.createElement(React.Fragment, null,
|
|
156
|
+
hasFile ? (renderMessageFile(message)) : (React.createElement(Box, { className: classes.text },
|
|
157
|
+
React.createElement(Typography, { component: "span", dangerouslySetInnerHTML: { __html: message.message } }))),
|
|
158
|
+
React.createElement(Typography, { className: classes.messageTime, color: "text.secondary" }, `${intl.formatDate(message.created_at, {
|
|
159
|
+
hour: 'numeric',
|
|
160
|
+
minute: 'numeric'
|
|
161
|
+
})}`))));
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=PrivateMessageThreadItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrivateMessageThreadItem.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/PrivateMessageThreadItem.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,gCAAgC,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAC,gBAAgB,EAAE,OAAO,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAA6B,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACnF,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,+BAA+B,EAAC,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAC1C,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAE/D,MAAM,MAAM,GAAG,4BAA4B,CAAC;AAE5C,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;IACtB,IAAI,EAAE,GAAG,MAAM,OAAO;IACtB,GAAG,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C,YAAY,CAAC,EAClE,IAAI,IACR,eAAe,EACb,UAAU;YACV,YAAY;YACZ,OAAO,CAAC,MAAM,KAAK,QAAQ,IAAI,CAC7B;YACE,oBAAC,UAAU,IAAC,OAAO,EAAE,cAAc;gBACjC,oBAAC,IAAI,IAAC,QAAQ,EAAC,OAAO,gBAAiB,CAC5B;YACb,oBAAC,IAAI,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe;gBAC5D,oBAAC,QAAQ,IAAC,OAAO,EAAE,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAC,EAAE,OAAO,EAAE,mBAAmB;oBACvE,oBAAC,YAAY;wBACX,oBAAC,IAAI,IAAC,QAAQ,EAAC,OAAO,aAAc,CACvB;oBACf,oBAAC,gBAAgB,IAAC,EAAE,EAAC,+CAA+C,EAAC,cAAc,EAAC,+CAA+C,GAAG,CAC7H,CACN,CACN,CACJ;QAEH;YACG,OAAO,CAAC,CAAC,CAAC,CACT,iBAAiB,CAAC,OAAO,CAAC,CAC3B,CAAC,CAAC,CAAC,CACF,oBAAC,GAAG,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI;gBAC1B,oBAAC,UAAU,IAAC,SAAS,EAAC,MAAM,EAAC,uBAAuB,EAAE,EAAC,MAAM,EAAE,OAAO,CAAC,OAAO,EAAC,GAAI,CAC/E,CACP;YACD,oBAAC,UAAU,IAAC,SAAS,EAAE,OAAO,CAAC,WAAW,EAAE,KAAK,EAAC,gBAAgB,IAAE,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,EAAE;gBACzG,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,SAAS;aAClB,CAAC,EAAE,CAAc,CACjB,CACE,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* > API documentation for the Community-JS PrivateMessageThreadItem Skeleton component. Learn about the available props and the CSS API.
|
|
3
|
+
|
|
4
|
+
#### Import
|
|
5
|
+
|
|
6
|
+
```jsx
|
|
7
|
+
import {PrivateMessageThreadItemSkeleton} from '@selfcommunity/react-ui';
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
#### Component Name
|
|
11
|
+
|
|
12
|
+
The name `SCPrivateMessageThreadItemSkeleton` can be used when providing style overrides in the theme.
|
|
13
|
+
|
|
14
|
+
#### CSS
|
|
15
|
+
|
|
16
|
+
|Rule Name|Global class|Description|
|
|
17
|
+
|---|---|---|
|
|
18
|
+
|root|.SCPrivateMessageThreadItemSkeleton-root|Styles applied to the root element.|
|
|
19
|
+
|list|.SCPrivateMessageThreadItemSkeleton-list|Styles applied to the list element.|
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export default function PrivateMessageThreadItemSkeleton(props: any): JSX.Element;
|
|
23
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/Skeleton.tsx"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,gCAAgC,CAAC,KAAK,KAAA,GAAG,GAAG,CAAC,OAAO,CAuB3E"}
|
|
@@ -7,7 +7,7 @@ import { styled } from '@mui/material/styles';
|
|
|
7
7
|
import Skeleton from '@mui/material/Skeleton';
|
|
8
8
|
import Widget from '../Widget';
|
|
9
9
|
import { useTheme } from '@mui/material';
|
|
10
|
-
const PREFIX = '
|
|
10
|
+
const PREFIX = 'SCPrivateMessageThreadItemSkeleton';
|
|
11
11
|
const classes = {
|
|
12
12
|
root: `${PREFIX}-root`,
|
|
13
13
|
list: `${PREFIX}-list`
|
|
@@ -16,27 +16,27 @@ const Root = styled(Widget)(({ theme }) => ({
|
|
|
16
16
|
maxWidth: 700
|
|
17
17
|
}));
|
|
18
18
|
/**
|
|
19
|
-
* > API documentation for the Community-JS
|
|
19
|
+
* > API documentation for the Community-JS PrivateMessageThreadItem Skeleton component. Learn about the available props and the CSS API.
|
|
20
20
|
|
|
21
21
|
#### Import
|
|
22
22
|
|
|
23
23
|
```jsx
|
|
24
|
-
import {
|
|
24
|
+
import {PrivateMessageThreadItemSkeleton} from '@selfcommunity/react-ui';
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
#### Component Name
|
|
28
28
|
|
|
29
|
-
The name `
|
|
29
|
+
The name `SCPrivateMessageThreadItemSkeleton` can be used when providing style overrides in the theme.
|
|
30
30
|
|
|
31
31
|
#### CSS
|
|
32
32
|
|
|
33
33
|
|Rule Name|Global class|Description|
|
|
34
34
|
|---|---|---|
|
|
35
|
-
|root|.
|
|
36
|
-
|list|.
|
|
35
|
+
|root|.SCPrivateMessageThreadItemSkeleton-root|Styles applied to the root element.|
|
|
36
|
+
|list|.SCPrivateMessageThreadItemSkeleton-list|Styles applied to the list element.|
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
export default function
|
|
39
|
+
export default function PrivateMessageThreadItemSkeleton(props) {
|
|
40
40
|
const theme = useTheme();
|
|
41
41
|
const m = (React.createElement(ListItem, null,
|
|
42
42
|
React.createElement(ListItemAvatar, null,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAC1D,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B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CACX,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import PrivateMessageThreadItem, { PrivateMessageThreadItemProps } from './PrivateMessageThreadItem';
|
|
2
|
+
import PrivateMessageThreadItemSkeleton from './Skeleton';
|
|
3
|
+
export default PrivateMessageThreadItem;
|
|
4
|
+
export { PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,EAAE,EAAC,6BAA6B,EAAC,MAAM,4BAA4B,CAAC;AACnG,OAAO,gCAAgC,MAAM,YAAY,CAAC;AAC1D,eAAe,wBAAwB,CAAC;AACxC,OAAO,EAAC,6BAA6B,EAAE,gCAAgC,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageThreadItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAyD,MAAM,4BAA4B,CAAC;AACnG,OAAO,gCAAgC,MAAM,YAAY,CAAC;AAC1D,eAAe,wBAAwB,CAAC;AACxC,OAAO,EAAgC,gCAAgC,EAAC,CAAC"}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import ConnectionUserButton from './components/ConnectionUserButton';
|
|
|
27
27
|
import InlineComposer, { InlineComposerProps, InlineComposerSkeleton } from './components/InlineComposer';
|
|
28
28
|
import PeopleSuggestion, { PeopleSuggestionProps, PeopleSuggestionSkeleton } from './components/PeopleSuggestion';
|
|
29
29
|
import Platform, { PlatformProps, PlatformSkeleton } from './components/Platform';
|
|
30
|
-
import
|
|
30
|
+
import PrivateMessageSnippets, { PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton } from './components/PrivateMessageSnippets';
|
|
31
31
|
import LoyaltyProgram, { LoyaltyProgramProps, LoyaltyProgramSkeleton } from './components/LoyaltyProgram';
|
|
32
32
|
import LoyaltyProgramDetail, { LoyaltyProgramDetailProps, LoyaltyProgramDetailSkeleton } from './components/LoyaltyProgramDetail';
|
|
33
33
|
import TrendingFeed, { TrendingFeedProps, TrendingFeedSkeleton } from './components/TrendingFeed';
|
|
@@ -45,9 +45,10 @@ import CommentsFeedObject, { CommentsFeedObjectProps, CommentsFeedObjectSkeleton
|
|
|
45
45
|
import ReplyComment from './components/CommentObject/ReplyComment';
|
|
46
46
|
import CustomAdv, { CustomAdvProps, CustomAdvSkeleton } from './components/CustomAdv';
|
|
47
47
|
import { AvatarGroupSkeleton, GenericSkeleton } from './components/Skeleton';
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
48
|
+
import PrivateMessageSnippetItem, { PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton } from './components/PrivateMessageSnippetItem';
|
|
49
|
+
import PrivateMessageThreadItem, { PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton } from './components/PrivateMessageThreadItem';
|
|
50
|
+
import PrivateMessageEditor, { PrivateMessageEditorProps, PrivateMessageEditorSkeleton } from './components/PrivateMessageEditor';
|
|
51
|
+
import PrivateMessageThread, { PrivateMessageThreadProps, PrivateMessageThreadSkeleton } from './components/PrivateMessageThread';
|
|
51
52
|
import ToastNotifications, { ToastNotificationsProps, ToastNotificationsSkeleton } from './components/ToastNotifications';
|
|
52
53
|
import SnippetNotifications, { SnippetNotificationsProps, SnippetNotificationsSkeleton } from './components/SnippetNotifications';
|
|
53
54
|
import Notification, { NotificationProps, NotificationSkeleton } from './components/Notification';
|
|
@@ -98,5 +99,5 @@ import { highlight } from './utils/highlight';
|
|
|
98
99
|
/**
|
|
99
100
|
* List all exports
|
|
100
101
|
*/
|
|
101
|
-
export { AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarProps, NavigationToolbarSkeleton, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, Category, CategoryProps, CategorySkeleton, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, Categories, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, CategoriesFollowed, CategoriesFollowedSkeleton, CategoriesPopular, CategoriesPopularSkeleton, CategoriesSuggestion, CategoriesListProps, CategoriesSuggestionSkeleton, ChangeCover, ChangePicture, ChangePictureProps, ChangeCoverProps, Composer, COMPOSER_TYPE_DISCUSSION, COMPOSER_TYPE_POST, ComposerProps, ComposerSkeleton, Editor, EditorProps, EditorSkeleton, FriendshipUserButton, FriendshipButtonProps, Feed, FeedRef, FeedProps, FeedSidebarProps, FeedSkeleton, FollowCategoryButton, FollowCategoryButtonProps, FollowUserButton, FollowUserButtonProps, ConnectionUserButton, FeedObject, FeedObjectProps, FeedObjectSkeleton, FeedUpdates, FeedUpdatesProps, FeedUpdatesSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectProps, CommentObjectProps, CommentsObjectSkeleton, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, ReplyComment, InlineComposer, InlineComposerProps, InlineComposerSkeleton, Notification, NotificationProps, NotificationSkeleton, PeopleSuggestion, PeopleSuggestionProps, PeopleSuggestionSkeleton, Platform, PlatformProps, PlatformSkeleton, LoyaltyProgram, LoyaltyProgramProps, LoyaltyProgramSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailSkeleton, LoyaltyProgramDetailProps, TrendingFeed, TrendingFeedProps, TrendingFeedSkeleton, TrendingPeople, TrendingPeopleProps, TrendingPeopleSkeleton, RelatedFeedObjects, RelatedFeedObjectsProps, RelatedFeedObjectsSkeleton, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserProfileInfo, UserProfileInfoProps, UserProfileInfoSkeleton, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditProps, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UsersFollowed, UsersFollowedProps, UsersFollowedSkeleton, UserFollowers, UserFollowersProps, UserFollowersSkeleton, UserSocialAssociation, UserSocialAssociationProps, SCUserSocialAssociations, CustomAdv, CustomAdvProps, CustomAdvSkeleton, User, UserProps, UserSkeleton,
|
|
102
|
+
export { AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarProps, NavigationToolbarSkeleton, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, Category, CategoryProps, CategorySkeleton, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, Categories, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, CategoriesFollowed, CategoriesFollowedSkeleton, CategoriesPopular, CategoriesPopularSkeleton, CategoriesSuggestion, CategoriesListProps, CategoriesSuggestionSkeleton, ChangeCover, ChangePicture, ChangePictureProps, ChangeCoverProps, Composer, COMPOSER_TYPE_DISCUSSION, COMPOSER_TYPE_POST, ComposerProps, ComposerSkeleton, Editor, EditorProps, EditorSkeleton, FriendshipUserButton, FriendshipButtonProps, Feed, FeedRef, FeedProps, FeedSidebarProps, FeedSkeleton, FollowCategoryButton, FollowCategoryButtonProps, FollowUserButton, FollowUserButtonProps, ConnectionUserButton, FeedObject, FeedObjectProps, FeedObjectSkeleton, FeedUpdates, FeedUpdatesProps, FeedUpdatesSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectProps, CommentObjectProps, CommentsObjectSkeleton, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, ReplyComment, InlineComposer, InlineComposerProps, InlineComposerSkeleton, Notification, NotificationProps, NotificationSkeleton, PeopleSuggestion, PeopleSuggestionProps, PeopleSuggestionSkeleton, Platform, PlatformProps, PlatformSkeleton, LoyaltyProgram, LoyaltyProgramProps, LoyaltyProgramSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailSkeleton, LoyaltyProgramDetailProps, TrendingFeed, TrendingFeedProps, TrendingFeedSkeleton, TrendingPeople, TrendingPeopleProps, TrendingPeopleSkeleton, RelatedFeedObjects, RelatedFeedObjectsProps, RelatedFeedObjectsSkeleton, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserProfileInfo, UserProfileInfoProps, UserProfileInfoSkeleton, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditProps, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UsersFollowed, UsersFollowedProps, UsersFollowedSkeleton, UserFollowers, UserFollowersProps, UserFollowersSkeleton, UserSocialAssociation, UserSocialAssociationProps, SCUserSocialAssociations, CustomAdv, CustomAdvProps, CustomAdvSkeleton, User, UserProps, UserSkeleton, PrivateMessageThread, PrivateMessageThreadProps, PrivateMessageThreadSkeleton, PrivateMessageThreadItem, PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton, PrivateMessageSnippetItem, PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton, PrivateMessageEditor, PrivateMessageEditorProps, PrivateMessageEditorSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton, ToastNotifications, ToastNotificationsProps, ToastNotificationsSkeleton, SnippetNotifications, SnippetNotificationsProps, SnippetNotificationsSkeleton, SearchAutocomplete, SearchAutocompleteProps, SearchDialog, SearchDialogProps, Widget, SCFeedWidgetType, SCFeedObjectTemplateType, SCCommentsOrderBy, SCFeedObjectActivitiesType, SCMediaObjectType, SCMediaChunkType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, UrlTextField, UsernameTextField, EmailTextField, PasswordTextField, PhoneTextField, MetadataField, InfiniteScroll, StickyBox, useStickyBox, StickyBoxProps, StickyBoxComponent, UseStickyBoxProps, CentralProgress, ConfirmDialog, MediaChunkUploader, MediaChunkUploaderProps, Document, Image, Link, Share, EditMediaProps, MEDIA_TYPE_EMBED, FACEBOOK_SHARE, TWITTER_SHARE, LINKEDIN_SHARE, DEFAULT_PRELOAD_OFFSET_VIEWPORT, MIN_PRELOAD_OFFSET_VIEWPORT, MAX_PRELOAD_OFFSET_VIEWPORT, ConsentSolution, ConsentSolutionProps, ConsentSolutionSkeleton, ConsentSolutionButton, ConsentSolutionButtonProps, LEGAL_POLICIES, DEFAULT_FIELDS, DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PAGINATION_OFFSET, DEFAULT_PAGINATION_LIMIT, DEFAULT_WIDGETS_NUMBER, PollSuggestion, PollSuggestionProps, Incubator, IncubatorProps, IncubatorsList, IncubatorsListProps, IncubatorDetail, IncubatorDetailProps, IncubatorSuggestion, IncubatorSuggestionProps, ContributionUtils, highlight, Footer, FooterProps, BaseItem };
|
|
102
103
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,iBAAiB,EAAE,EAAC,sBAAsB,EAAE,yBAAyB,EAAC,MAAM,gCAAgC,CAAC;AACpH,OAAO,uBAAuB,EAAE,EAAC,4BAA4B,EAAE,+BAA+B,EAAC,MAAM,sCAAsC,CAAC;AAC5I,OAAO,gBAAgB,EAAE,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;A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xB,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,WAAW,EACX,QAAQ,EACT,CAAC"}
|
package/lib/esm/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import ConnectionUserButton from './components/ConnectionUserButton';
|
|
|
27
27
|
import InlineComposer, { InlineComposerSkeleton } from './components/InlineComposer';
|
|
28
28
|
import PeopleSuggestion, { PeopleSuggestionSkeleton } from './components/PeopleSuggestion';
|
|
29
29
|
import Platform, { PlatformSkeleton } from './components/Platform';
|
|
30
|
-
import
|
|
30
|
+
import PrivateMessageSnippets, { PrivateMessageSnippetsSkeleton } from './components/PrivateMessageSnippets';
|
|
31
31
|
import LoyaltyProgram, { LoyaltyProgramSkeleton } from './components/LoyaltyProgram';
|
|
32
32
|
import LoyaltyProgramDetail, { LoyaltyProgramDetailSkeleton } from './components/LoyaltyProgramDetail';
|
|
33
33
|
import TrendingFeed, { TrendingFeedSkeleton } from './components/TrendingFeed';
|
|
@@ -45,9 +45,10 @@ import CommentsFeedObject, { CommentsFeedObjectSkeleton } from './components/Com
|
|
|
45
45
|
import ReplyComment from './components/CommentObject/ReplyComment';
|
|
46
46
|
import CustomAdv, { CustomAdvSkeleton } from './components/CustomAdv';
|
|
47
47
|
import { AvatarGroupSkeleton, GenericSkeleton } from './components/Skeleton';
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
48
|
+
import PrivateMessageSnippetItem, { PrivateMessageSnippetItemSkeleton } from './components/PrivateMessageSnippetItem';
|
|
49
|
+
import PrivateMessageThreadItem, { PrivateMessageThreadItemSkeleton } from './components/PrivateMessageThreadItem';
|
|
50
|
+
import PrivateMessageEditor, { PrivateMessageEditorSkeleton } from './components/PrivateMessageEditor';
|
|
51
|
+
import PrivateMessageThread, { PrivateMessageThreadSkeleton } from './components/PrivateMessageThread';
|
|
51
52
|
import ToastNotifications, { ToastNotificationsSkeleton } from './components/ToastNotifications';
|
|
52
53
|
import SnippetNotifications, { SnippetNotificationsSkeleton } from './components/SnippetNotifications';
|
|
53
54
|
import Notification, { NotificationSkeleton } from './components/Notification';
|
|
@@ -98,7 +99,7 @@ import { highlight } from './utils/highlight';
|
|
|
98
99
|
/**
|
|
99
100
|
* List all exports
|
|
100
101
|
*/
|
|
101
|
-
export { AccountRecover, AccountReset, AccountVerify, NavigationToolbarMobile, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarSkeleton, BottomNavigation, BroadcastMessages, BroadcastMessagesSkeleton, Category, CategorySkeleton, CategoryHeader, CategoryHeaderSkeleton, Categories, CategoriesSkeleton, CategoriesFollowed, CategoriesFollowedSkeleton, CategoriesPopular, CategoriesPopularSkeleton, CategoriesSuggestion, CategoriesSuggestionSkeleton, ChangeCover, ChangePicture, Composer, COMPOSER_TYPE_DISCUSSION, COMPOSER_TYPE_POST, ComposerSkeleton, Editor, EditorSkeleton, FriendshipUserButton, Feed, FeedSkeleton, FollowCategoryButton, FollowUserButton, ConnectionUserButton, FeedObject, FeedObjectSkeleton, FeedUpdates, FeedUpdatesSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectSkeleton, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectSkeleton, ReplyComment, InlineComposer, InlineComposerSkeleton, Notification, NotificationSkeleton, PeopleSuggestion, PeopleSuggestionSkeleton, Platform, PlatformSkeleton, LoyaltyProgram, LoyaltyProgramSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailSkeleton, TrendingFeed, TrendingFeedSkeleton, TrendingPeople, TrendingPeopleSkeleton, RelatedFeedObjects, RelatedFeedObjectsSkeleton, UserProfileHeader, UserProfileHeaderSkeleton, UserProfileInfo, UserProfileInfoSkeleton, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditSectionPublicInfo, UserProfileEditSectionSettings, UserProfileEditSectionAccount, UsersFollowed, UsersFollowedSkeleton, UserFollowers, UserFollowersSkeleton, UserSocialAssociation, SCUserSocialAssociations, CustomAdv, CustomAdvSkeleton, User, UserSkeleton,
|
|
102
|
+
export { AccountRecover, AccountReset, AccountVerify, NavigationToolbarMobile, NavigationToolbarMobileSkeleton, NavigationToolbar, NavigationToolbarSkeleton, BottomNavigation, BroadcastMessages, BroadcastMessagesSkeleton, Category, CategorySkeleton, CategoryHeader, CategoryHeaderSkeleton, Categories, CategoriesSkeleton, CategoriesFollowed, CategoriesFollowedSkeleton, CategoriesPopular, CategoriesPopularSkeleton, CategoriesSuggestion, CategoriesSuggestionSkeleton, ChangeCover, ChangePicture, Composer, COMPOSER_TYPE_DISCUSSION, COMPOSER_TYPE_POST, ComposerSkeleton, Editor, EditorSkeleton, FriendshipUserButton, Feed, FeedSkeleton, FollowCategoryButton, FollowUserButton, ConnectionUserButton, FeedObject, FeedObjectSkeleton, FeedUpdates, FeedUpdatesSkeleton, GenericSkeleton, AvatarGroupSkeleton, CommentObject, CommentsObject, CommentsObjectSkeleton, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectSkeleton, ReplyComment, InlineComposer, InlineComposerSkeleton, Notification, NotificationSkeleton, PeopleSuggestion, PeopleSuggestionSkeleton, Platform, PlatformSkeleton, LoyaltyProgram, LoyaltyProgramSkeleton, LoyaltyProgramDetail, LoyaltyProgramDetailSkeleton, TrendingFeed, TrendingFeedSkeleton, TrendingPeople, TrendingPeopleSkeleton, RelatedFeedObjects, RelatedFeedObjectsSkeleton, UserProfileHeader, UserProfileHeaderSkeleton, UserProfileInfo, UserProfileInfoSkeleton, SCUserProfileFields, SCUserProfileSettings, UserProfileEdit, UserProfileEditSectionPublicInfo, UserProfileEditSectionSettings, UserProfileEditSectionAccount, UsersFollowed, UsersFollowedSkeleton, UserFollowers, UserFollowersSkeleton, UserSocialAssociation, SCUserSocialAssociations, CustomAdv, CustomAdvSkeleton, User, UserSkeleton, PrivateMessageThread, PrivateMessageThreadSkeleton, PrivateMessageThreadItem, PrivateMessageThreadItemSkeleton, PrivateMessageSnippetItem, PrivateMessageSnippetItemSkeleton, PrivateMessageEditor, PrivateMessageEditorSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsSkeleton, ToastNotifications, ToastNotificationsSkeleton, SnippetNotifications, SnippetNotificationsSkeleton, SearchAutocomplete, SearchDialog, Widget, SCFeedObjectTemplateType, SCCommentsOrderBy, SCFeedObjectActivitiesType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType,
|
|
102
103
|
/* SC UI SHARED */
|
|
103
104
|
UrlTextField, UsernameTextField, EmailTextField, PasswordTextField, PhoneTextField, MetadataField, InfiniteScroll, StickyBox, useStickyBox, CentralProgress, ConfirmDialog, MediaChunkUploader, Document, Image, Link, Share, MEDIA_TYPE_EMBED, FACEBOOK_SHARE, TWITTER_SHARE, LINKEDIN_SHARE, DEFAULT_PRELOAD_OFFSET_VIEWPORT, MIN_PRELOAD_OFFSET_VIEWPORT, MAX_PRELOAD_OFFSET_VIEWPORT,
|
|
104
105
|
/* SC CONSENT SOLUTION */
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,iBAAiB,EAAE,EAAyB,yBAAyB,EAAC,MAAM,gCAAgC,CAAC;AACpH,OAAO,uBAAuB,EAAE,EAA+B,+BAA+B,EAAC,MAAM,sCAAsC,CAAC;AAC5I,OAAO,gBAAyC,MAAM,+BAA+B,CAAC;AACtF,OAAO,iBAAiB,EAAE,EAAyB,yBAAyB,EAAC,MAAM,gCAAgC,CAAC;AACpH,OAAO,QAAQ,EAAE,EAAgB,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChF,OAAO,cAAc,EAAE,EAAsB,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACxG,OAAO,UAAU,EAAE,EAAkB,kBAAkB,EAA0B,MAAM,yBAAyB,CAAC;AACjH,OAAO,kBAAkB,EAAE,EAAC,0BAA0B,EAAC,MAAM,iCAAiC,CAAC;AAC/F,OAA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