@selfcommunity/react-theme-default 0.1.0-alpha.26 → 0.1.0-alpha.28
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/SCPrivateMessageEditor.d.ts +89 -0
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageEditor.js +92 -0
- package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts +34 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.js +36 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +48 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.js +48 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +167 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +171 -0
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts +9 -12
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessagesTemplate.js +20 -14
- package/lib/cjs/components/SCPrivateMessagesTemplate.js.map +1 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +9 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +89 -0
- package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageEditor.js +90 -0
- package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts +34 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.js +34 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts +48 -0
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippets.js +46 -0
- package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts +167 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.js +169 -0
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts +9 -12
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessagesTemplate.js +20 -14
- package/lib/esm/components/SCPrivateMessagesTemplate.js.map +1 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +9 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-theme-default.js +16 -16
- package/lib/umd/react-theme-default.js.LICENSE.txt +1 -1
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
backgroundColor: theme.palette.action.hover,
|
|
7
|
+
position: 'relative',
|
|
8
|
+
height: theme.spacing(103.5),
|
|
9
|
+
maxHeight: 'inherit',
|
|
10
|
+
'& .MuiCardContent-root': {
|
|
11
|
+
height: '100%',
|
|
12
|
+
maxHeight: theme.spacing(87.5),
|
|
13
|
+
overflow: 'auto',
|
|
14
|
+
'& .MuiList-root': {
|
|
15
|
+
[theme.breakpoints.down('md')]: {
|
|
16
|
+
marginTop: theme.spacing(2)
|
|
17
|
+
},
|
|
18
|
+
'& .MuiListItem-root': {
|
|
19
|
+
'&.SCPrivateMessageThread-receiver': {
|
|
20
|
+
backgroundColor: theme.palette.common.white,
|
|
21
|
+
'&:after': {
|
|
22
|
+
marginRight: theme.spacing(3),
|
|
23
|
+
content: `""`,
|
|
24
|
+
position: 'absolute',
|
|
25
|
+
border: `${theme.spacing(3)} solid transparent`,
|
|
26
|
+
borderTop: `${theme.spacing(3)} solid ${theme.palette.common.white}`,
|
|
27
|
+
top: 0,
|
|
28
|
+
left: theme.spacing(-3)
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
'&.SCPrivateMessageThread-sender': {
|
|
32
|
+
marginLeft: theme.spacing(2),
|
|
33
|
+
backgroundColor: theme.palette.primary.main
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
'& .SCPrivateMessageThread-empty-message': {
|
|
39
|
+
position: 'relative',
|
|
40
|
+
top: '50%',
|
|
41
|
+
display: 'flex',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
fontSize: '1.5rem'
|
|
44
|
+
},
|
|
45
|
+
'& .SCPrivateMessageThread-mobile-header': {
|
|
46
|
+
display: 'flex',
|
|
47
|
+
flexDirection: 'row',
|
|
48
|
+
position: 'absolute',
|
|
49
|
+
top: 0,
|
|
50
|
+
right: 0,
|
|
51
|
+
width: '100%',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
justifyContent: 'space-between',
|
|
54
|
+
zIndex: 1,
|
|
55
|
+
backgroundColor: theme.palette.primary.main,
|
|
56
|
+
'& .SCPrivateMessageThread-mobile-header-content': {
|
|
57
|
+
display: 'flex',
|
|
58
|
+
justifyContent: 'center',
|
|
59
|
+
alignItems: 'center',
|
|
60
|
+
'& .MuiAvatar-root': {
|
|
61
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
62
|
+
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
63
|
+
padding: theme.spacing(1)
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
'& .MuiIcon-root': {
|
|
67
|
+
padding: theme.spacing(1),
|
|
68
|
+
fontSize: '1.571rem'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
'& .SCPrivateMessageThread-new-message-header': {
|
|
72
|
+
position: 'absolute',
|
|
73
|
+
top: 0,
|
|
74
|
+
right: 0,
|
|
75
|
+
display: 'flex',
|
|
76
|
+
width: '100%',
|
|
77
|
+
height: theme.spacing(6.25),
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
justifyContent: 'center',
|
|
80
|
+
backgroundColor: theme.palette.primary.main,
|
|
81
|
+
'& .SCPrivateMessageThread-new-message-header-content': {
|
|
82
|
+
display: 'flex',
|
|
83
|
+
alignItems: 'center',
|
|
84
|
+
width: '80%',
|
|
85
|
+
maxHeight: theme.spacing(5),
|
|
86
|
+
overflow: 'auto',
|
|
87
|
+
backgroundColor: theme.palette.common.white,
|
|
88
|
+
borderRadius: theme.shape.borderRadius,
|
|
89
|
+
marginRight: theme.spacing(2),
|
|
90
|
+
'& .SCPrivateMessageThread-new-message-header-icon': {
|
|
91
|
+
fontSize: '1.714rem'
|
|
92
|
+
},
|
|
93
|
+
'& .MuiIcon-root': {
|
|
94
|
+
color: theme.palette.secondary.main,
|
|
95
|
+
padding: theme.spacing(1)
|
|
96
|
+
},
|
|
97
|
+
'& .MuiTypography-root': {
|
|
98
|
+
color: theme.palette.secondary.main
|
|
99
|
+
},
|
|
100
|
+
'& .SCPrivateMessageThread-autocomplete': {
|
|
101
|
+
minWidth: theme.spacing(27),
|
|
102
|
+
marginLeft: theme.spacing(1),
|
|
103
|
+
'& .MuiAutocomplete-endAdornment': {
|
|
104
|
+
position: 'relative',
|
|
105
|
+
'& .MuiAutocomplete-clearIndicator': {
|
|
106
|
+
fontSize: '1rem'
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
'& .MuiListSubheader-root': {
|
|
113
|
+
backgroundColor: 'inherit',
|
|
114
|
+
display: 'flex',
|
|
115
|
+
justifyContent: 'center',
|
|
116
|
+
marginBottom: theme.spacing(1),
|
|
117
|
+
'& .SCPrivateMessageThread-subheader': {
|
|
118
|
+
width: 'fit-content',
|
|
119
|
+
padding: theme.spacing(1),
|
|
120
|
+
backgroundColor: 'white',
|
|
121
|
+
fontWeight: theme.typography.fontWeightRegular,
|
|
122
|
+
borderRadius: theme.shape.borderRadius,
|
|
123
|
+
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
'& .SCPrivateMessageThreadItem-root': {
|
|
127
|
+
borderRadius: theme.shape.borderRadius,
|
|
128
|
+
paddingTop: `${theme.spacing(2)} !important`,
|
|
129
|
+
paddingBottom: `${theme.spacing(4)} !important`,
|
|
130
|
+
paddingRight: `${theme.spacing(2)} !important`,
|
|
131
|
+
paddingLeft: `${theme.spacing(2)} !important`,
|
|
132
|
+
'& .MuiListItemSecondaryAction-root': {
|
|
133
|
+
right: theme.spacing(0),
|
|
134
|
+
top: theme.spacing(2)
|
|
135
|
+
},
|
|
136
|
+
'& .SCPrivateMessageThreadItem-message-time': {
|
|
137
|
+
position: 'absolute',
|
|
138
|
+
bottom: theme.spacing(0),
|
|
139
|
+
right: theme.spacing(1)
|
|
140
|
+
},
|
|
141
|
+
'& .SCPrivateMessageThreadItem-text': {
|
|
142
|
+
minHeight: theme.spacing(6),
|
|
143
|
+
display: 'flex',
|
|
144
|
+
alignItems: 'center',
|
|
145
|
+
'& .MuiTypography-root': {
|
|
146
|
+
fontSize: '1.143rem'
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
'& .SCPrivateMessageThreadItem-img': {
|
|
150
|
+
display: 'flex',
|
|
151
|
+
alignItems: 'center',
|
|
152
|
+
// maxWidth: 'max-content',
|
|
153
|
+
// maxHeight: 'max-content',
|
|
154
|
+
'& img': {
|
|
155
|
+
width: '100%',
|
|
156
|
+
minHeight: 400,
|
|
157
|
+
[theme.breakpoints.down('md')]: {
|
|
158
|
+
minHeight: 170
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
'& .SCPrivateMessageThreadItem-document': {
|
|
163
|
+
display: 'flex',
|
|
164
|
+
alignItems: 'center'
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
exports.default = Component;
|
|
171
|
+
//# sourceMappingURL=SCPrivateMessageThread.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageThread.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;YAC3C,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAC5B,SAAS,EAAE,SAAS;YACpB,wBAAwB,EAAE;gBACxB,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC9B,QAAQ,EAAE,MAAM;gBAChB,iBAAiB,EAAE;oBACjB,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;wBAC9B,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC5B;oBACD,qBAAqB,EAAE;wBACrB,mCAAmC,EAAE;4BACnC,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAA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,CAAC,CAAC,CAAC;oBACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBACxB;gBACD,oCAAoC,EAAE;oBACpC,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC3B,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,uBAAuB,EAAE;wBACvB,QAAQ,EAAE,UAAU;qBACrB;iBACF;gBACD,mCAAmC,EAAE;oBACnC,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,2BAA2B;oBAC3B,4BAA4B;oBAC5B,OAAO,EAAE;wBACP,KAAK,EAAE,MAAM;wBACb,SAAS,EAAE,GAAG;wBACd,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;4BAC9B,SAAS,EAAE,GAAG;yBACf;qBACF;iBACF;gBACD,wCAAwC,EAAE;oBACxC,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;iBACrB;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -2,25 +2,22 @@ declare const Component: {
|
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
[x: number]: {
|
|
5
|
-
'& .MuiPaper-root, MuiCard-root, SCWidget-root,
|
|
5
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root': {
|
|
6
6
|
border: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
color: any;
|
|
10
|
-
'& .MuiFormControl-root, MuiTextField-root': {
|
|
11
|
-
marginTop: string;
|
|
12
|
-
'& .MuiInputBase-root': {
|
|
13
|
-
borderRadius: number;
|
|
14
|
-
};
|
|
7
|
+
'& .SCPrivateMessageThread-root': {
|
|
8
|
+
borderRadius: number;
|
|
15
9
|
};
|
|
16
10
|
};
|
|
17
11
|
};
|
|
12
|
+
maxWidth: any;
|
|
13
|
+
maxHeight: any;
|
|
18
14
|
' .MuiPaper-root, MuiAppBar-root': {
|
|
19
15
|
boxShadow: string;
|
|
16
|
+
borderRadius: number;
|
|
20
17
|
};
|
|
21
|
-
'& .
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
'& .SCPrivateMessageSnippetItem-root, .SCPrivateMessageThreadItem-root': {
|
|
19
|
+
boxShadow: string;
|
|
20
|
+
marginBottom: any;
|
|
24
21
|
};
|
|
25
22
|
};
|
|
26
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessagesTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessagesTemplate.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCPrivateMessagesTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessagesTemplate.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;CA8BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -3,26 +3,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
maxWidth: theme.breakpoints.values['lg'],
|
|
7
|
+
maxHeight: theme.breakpoints.values['lg'],
|
|
6
8
|
' .MuiPaper-root, MuiAppBar-root': {
|
|
7
|
-
boxShadow: 'none'
|
|
9
|
+
boxShadow: 'none',
|
|
10
|
+
borderRadius: 0
|
|
8
11
|
},
|
|
9
|
-
'& .
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
'& .SCPrivateMessageSnippetItem-root, .SCPrivateMessageThreadItem-root': {
|
|
13
|
+
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
14
|
+
marginBottom: theme.spacing(1)
|
|
12
15
|
},
|
|
13
16
|
[theme.breakpoints.down('md')]: {
|
|
14
|
-
'& .MuiPaper-root, MuiCard-root, SCWidget-root,
|
|
15
|
-
border: 'none'
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
color: theme.palette.text.secondary,
|
|
19
|
-
'& .MuiFormControl-root, MuiTextField-root': {
|
|
20
|
-
marginTop: '30px',
|
|
21
|
-
'& .MuiInputBase-root': {
|
|
22
|
-
borderRadius: 0
|
|
23
|
-
}
|
|
17
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root': {
|
|
18
|
+
border: 'none',
|
|
19
|
+
'& .SCPrivateMessageThread-root': {
|
|
20
|
+
borderRadius: 0
|
|
24
21
|
}
|
|
25
22
|
}
|
|
23
|
+
// '& .MuiAppBar-root': {
|
|
24
|
+
// color: theme.palette.text.secondary,
|
|
25
|
+
// '& .MuiFormControl-root, MuiTextField-root': {
|
|
26
|
+
// marginTop: '30px',
|
|
27
|
+
// '& .MuiInputBase-root': {
|
|
28
|
+
// borderRadius: 0
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
26
32
|
}
|
|
27
33
|
})
|
|
28
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessagesTemplate.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessagesTemplate.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,
|
|
1
|
+
{"version":3,"file":"SCPrivateMessagesTemplate.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessagesTemplate.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;YACxC,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;YACzC,iCAAiC,EAAE;gBACjC,SAAS,EAAE,MAAM;gBACjB,YAAY,EAAE,CAAC;aAChB;YACD,uEAAuE,EAAE;gBACvE,SAAS,EAAE,iCAAiC;gBAC5C,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aAC/B;YACD,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,8EAA8E,EAAE;oBAC9E,MAAM,EAAE,MAAM;oBACd,gCAAgC,EAAE;wBAChC,YAAY,EAAE,CAAC;qBAChB;iBACF;gBACD,yBAAyB;gBACzB,yCAAyC;gBACzC,mDAAmD;gBACnD,yBAAyB;gBACzB,iCAAiC;gBACjC,wBAAwB;gBACxB,QAAQ;gBACR,MAAM;gBACN,IAAI;aACL;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
package/lib/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,6BAA6B,CAAC;AAwErC;;GAEG;AAEH,QAAA,MAAM,KAAK,sCA8HT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
package/lib/cjs/index.js
CHANGED
|
@@ -66,6 +66,10 @@ const SCSearchAutocomplete_1 = __importDefault(require("./components/SCSearchAut
|
|
|
66
66
|
const SCNavigationToolbarMobile_1 = __importDefault(require("./components/SCNavigationToolbarMobile"));
|
|
67
67
|
const SCBottomNavigation_1 = __importDefault(require("./components/SCBottomNavigation"));
|
|
68
68
|
const MuiAppBar_1 = __importDefault(require("./components/MuiAppBar"));
|
|
69
|
+
const SCPrivateMessageSnippetItem_1 = __importDefault(require("./components/SCPrivateMessageSnippetItem"));
|
|
70
|
+
const SCPrivateMessageThread_1 = __importDefault(require("./components/SCPrivateMessageThread"));
|
|
71
|
+
const SCPrivateMessageSnippets_1 = __importDefault(require("./components/SCPrivateMessageSnippets"));
|
|
72
|
+
const SCPrivateMessageEditor_1 = __importDefault(require("./components/SCPrivateMessageEditor"));
|
|
69
73
|
const SCNotificationsMenu_1 = __importDefault(require("./components/SCNotificationsMenu"));
|
|
70
74
|
const SCNotificationItem_1 = __importDefault(require("./components/SCNotificationItem"));
|
|
71
75
|
const SCNotification_1 = __importDefault(require("./components/SCNotification"));
|
|
@@ -180,7 +184,11 @@ const theme = (0, styles_1.createTheme)({
|
|
|
180
184
|
SCUserNotification: SCUserNotification_1.default,
|
|
181
185
|
SCUserProfileHeader: SCUserProfileHeader_1.default,
|
|
182
186
|
SCUserProfileTemplate: SCUserProfileTemplate_1.default,
|
|
183
|
-
SCWidget: SCWidget_1.default
|
|
187
|
+
SCWidget: SCWidget_1.default,
|
|
188
|
+
SCPrivateMessageSnippetItem: SCPrivateMessageSnippetItem_1.default,
|
|
189
|
+
SCPrivateMessageSnippets: SCPrivateMessageSnippets_1.default,
|
|
190
|
+
SCPrivateMessageThread: SCPrivateMessageThread_1.default,
|
|
191
|
+
SCPrivateMessageEditor: SCPrivateMessageEditor_1.default
|
|
184
192
|
},
|
|
185
193
|
selfcommunity: {
|
|
186
194
|
user: {
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,iDAAiD;AAEjD,8BAA4B;AAC5B,uCAAqC;AAErC;;GAEG;AACH,qEAA6C;AAC7C,6EAAqD;AACrD,qFAA6D;AAC7D,qEAA6C;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|
|
4
|
+
width: string;
|
|
5
|
+
position: string;
|
|
6
|
+
bottom: number;
|
|
7
|
+
left: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
'& .MuiIcon-root': {
|
|
11
|
+
fontSize: string;
|
|
12
|
+
};
|
|
13
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
14
|
+
width: string;
|
|
15
|
+
};
|
|
16
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
17
|
+
'& textarea': {
|
|
18
|
+
backgroundColor: any;
|
|
19
|
+
borderRadius: any;
|
|
20
|
+
padding: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
24
|
+
backgroundColor: any;
|
|
25
|
+
display: string;
|
|
26
|
+
justifyContent: string;
|
|
27
|
+
};
|
|
28
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
29
|
+
'& .MuiIcon-root': {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
};
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
'& .MuiCardHeader-root': {
|
|
34
|
+
paddingRight: any;
|
|
35
|
+
paddingTop: any;
|
|
36
|
+
};
|
|
37
|
+
'& .MuiCardContent-root': {
|
|
38
|
+
'& .SCMessageMediaUploader-upload': {
|
|
39
|
+
display: string;
|
|
40
|
+
justifyContent: string;
|
|
41
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
42
|
+
backgroundColor: any;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
46
|
+
display: string;
|
|
47
|
+
justifyContent: string;
|
|
48
|
+
img: {
|
|
49
|
+
maxWidth: any;
|
|
50
|
+
};
|
|
51
|
+
video: {
|
|
52
|
+
maxWidth: any;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
56
|
+
[x: number]: {
|
|
57
|
+
height: any;
|
|
58
|
+
width: any;
|
|
59
|
+
};
|
|
60
|
+
height: any;
|
|
61
|
+
width: any;
|
|
62
|
+
position: string;
|
|
63
|
+
};
|
|
64
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
65
|
+
backgroundColor: any;
|
|
66
|
+
height: any;
|
|
67
|
+
width: any;
|
|
68
|
+
position: string;
|
|
69
|
+
'& .MuiCircularProgress-root': {
|
|
70
|
+
position: string;
|
|
71
|
+
top: string;
|
|
72
|
+
left: string;
|
|
73
|
+
};
|
|
74
|
+
'& .SCMessageMediaUploader-progress': {
|
|
75
|
+
display: string;
|
|
76
|
+
justifyContent: string;
|
|
77
|
+
};
|
|
78
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
79
|
+
display: string;
|
|
80
|
+
justifyContent: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export default Component;
|
|
89
|
+
//# sourceMappingURL=SCPrivateMessageEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
width: '100%',
|
|
5
|
+
position: 'absolute',
|
|
6
|
+
bottom: 0,
|
|
7
|
+
left: 0,
|
|
8
|
+
zIndex: 1,
|
|
9
|
+
backgroundColor: theme.palette.primary.main,
|
|
10
|
+
'& .MuiIcon-root': {
|
|
11
|
+
fontSize: '1.571rem'
|
|
12
|
+
},
|
|
13
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
14
|
+
width: '100%'
|
|
15
|
+
},
|
|
16
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
17
|
+
//height: theme.spacing(6.25),
|
|
18
|
+
'& textarea': {
|
|
19
|
+
backgroundColor: theme.palette.common.white,
|
|
20
|
+
borderRadius: theme.shape.borderRadius,
|
|
21
|
+
padding: theme.spacing(1)
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
25
|
+
backgroundColor: theme.palette.primary.main,
|
|
26
|
+
display: 'flex',
|
|
27
|
+
justifyContent: 'center'
|
|
28
|
+
},
|
|
29
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
30
|
+
'& .MuiIcon-root': {
|
|
31
|
+
fontSize: '1.143rem'
|
|
32
|
+
},
|
|
33
|
+
backgroundColor: theme.palette.primary.main,
|
|
34
|
+
'& .MuiCardHeader-root': {
|
|
35
|
+
paddingRight: theme.spacing(2),
|
|
36
|
+
paddingTop: theme.spacing(1)
|
|
37
|
+
},
|
|
38
|
+
'& .MuiCardContent-root': {
|
|
39
|
+
'& .SCMessageMediaUploader-upload': {
|
|
40
|
+
display: 'flex',
|
|
41
|
+
justifyContent: 'center',
|
|
42
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
43
|
+
backgroundColor: theme.palette.common.white
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
47
|
+
display: 'flex',
|
|
48
|
+
justifyContent: 'center',
|
|
49
|
+
img: {
|
|
50
|
+
maxWidth: theme.spacing(25)
|
|
51
|
+
},
|
|
52
|
+
video: {
|
|
53
|
+
maxWidth: theme.spacing(25)
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
57
|
+
[theme.breakpoints.down('md')]: {
|
|
58
|
+
height: theme.spacing(12.5),
|
|
59
|
+
width: theme.spacing(25)
|
|
60
|
+
},
|
|
61
|
+
height: theme.spacing(25),
|
|
62
|
+
width: theme.spacing(50),
|
|
63
|
+
position: 'relative'
|
|
64
|
+
},
|
|
65
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
66
|
+
backgroundColor: theme.palette.background.default,
|
|
67
|
+
height: theme.spacing(12.5),
|
|
68
|
+
width: theme.spacing(25),
|
|
69
|
+
position: 'relative',
|
|
70
|
+
'& .MuiCircularProgress-root': {
|
|
71
|
+
position: 'absolute',
|
|
72
|
+
top: '40%',
|
|
73
|
+
left: '45%'
|
|
74
|
+
},
|
|
75
|
+
'& .SCMessageMediaUploader-progress': {
|
|
76
|
+
display: 'flex',
|
|
77
|
+
justifyContent: 'center'
|
|
78
|
+
},
|
|
79
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
80
|
+
display: 'flex',
|
|
81
|
+
justifyContent: 'flex-end'
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
export default Component;
|
|
90
|
+
//# sourceMappingURL=SCPrivateMessageEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,eAAe,EAAE,KAAK,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ACD,uCAAuC,EAAE;wBACvC,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;4BAC9B,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;4BAC3B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;yBACzB;wBACD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACzB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACxB,QAAQ,EAAE,UAAU;qBACrB;oBACD,+CAA+C,EAAE;wBAC/C,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;wBACjD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;wBAC3B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACxB,QAAQ,EAAE,UAAU;wBACpB,6BAA6B,EAAE;4BAC7B,QAAQ,EAAE,UAAU;4BACpB,GAAG,EAAE,KAAK;4BACV,IAAI,EAAE,KAAK;yBACZ;wBACD,oCAAoC,EAAE;4BACpC,OAAO,EAAE,MAAM;4BACf,cAAc,EAAE,QAAQ;yBACzB;wBACD,uCAAuC,EAAE;4BACvC,OAAO,EAAE,MAAM;4BACf,cAAc,EAAE,UAAU;yBAC3B;qBACF;iBACF;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
borderRadius: any;
|
|
5
|
+
padding: string;
|
|
6
|
+
'& .SCPrivateMessageSnippetItem-time': {
|
|
7
|
+
float: string;
|
|
8
|
+
fontSize: any;
|
|
9
|
+
};
|
|
10
|
+
'& .MuiListItemText-primary': {
|
|
11
|
+
'& .SCPrivateMessageSnippetItem-username': {
|
|
12
|
+
fontWeight: any;
|
|
13
|
+
};
|
|
14
|
+
'& .SCPrivateMessageSnippetItem-badge-label': {
|
|
15
|
+
marginLeft: any;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .MuiListItemText-secondary': {
|
|
21
|
+
display: string;
|
|
22
|
+
justifyContent: string;
|
|
23
|
+
alignItems: string;
|
|
24
|
+
};
|
|
25
|
+
'& .MuiListItemSecondaryAction-root': {
|
|
26
|
+
position: string;
|
|
27
|
+
top: any;
|
|
28
|
+
right: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default Component;
|
|
34
|
+
//# sourceMappingURL=SCPrivateMessageSnippetItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageSnippetItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippetItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
borderRadius: theme.spacing(1.5),
|
|
5
|
+
padding: `${theme.spacing(0)}!important`,
|
|
6
|
+
'& .SCPrivateMessageSnippetItem-time': {
|
|
7
|
+
float: 'right',
|
|
8
|
+
fontSize: theme.typography.fontWeightRegular
|
|
9
|
+
},
|
|
10
|
+
'& .MuiListItemText-primary': {
|
|
11
|
+
'& .SCPrivateMessageSnippetItem-username': {
|
|
12
|
+
fontWeight: theme.typography.fontWeightBold
|
|
13
|
+
},
|
|
14
|
+
'& .SCPrivateMessageSnippetItem-badge-label': {
|
|
15
|
+
marginLeft: theme.spacing(1),
|
|
16
|
+
borderRadius: 0,
|
|
17
|
+
fontSize: '0.5rem'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .MuiListItemText-secondary': {
|
|
21
|
+
display: 'flex',
|
|
22
|
+
justifyContent: 'space-between',
|
|
23
|
+
alignItems: 'center'
|
|
24
|
+
},
|
|
25
|
+
'& .MuiListItemSecondaryAction-root': {
|
|
26
|
+
position: 'absolute',
|
|
27
|
+
top: theme.spacing(3),
|
|
28
|
+
right: theme.spacing(0.5)
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export default Component;
|
|
34
|
+
//# sourceMappingURL=SCPrivateMessageSnippetItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageSnippetItem.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippetItem.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;YAChC,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY;YACxC,qCAAqC,EAAE;gBACrC,KAAK,EAAE,OAAO;gBACd,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB;aAC7C;YACD,4BAA4B,EAAE;gBAC5B,yCAAyC,EAAE;oBACzC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc;iBAC5C;gBACD,4CAA4C,EAAE;oBAC5C,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC5B,YAAY,EAAE,CAAC;oBACf,QAAQ,EAAE,QAAQ;iBACnB;aACF;YACD,8BAA8B,EAAE;gBAC9B,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,eAAe;gBAC/B,UAAU,EAAE,QAAQ;aACrB;YACD,oCAAoC,EAAE;gBACpC,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;aAC1B;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
height: any;
|
|
5
|
+
maxHeight: string;
|
|
6
|
+
'& .MuiCardContent-root': {
|
|
7
|
+
display: string;
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
maxHeight: any;
|
|
10
|
+
overflow: string;
|
|
11
|
+
'& .MuiList-root': {
|
|
12
|
+
'&:last-child': {
|
|
13
|
+
marginBottom: any;
|
|
14
|
+
};
|
|
15
|
+
'& .MuiButtonBase-root, MuiListItemButton-root': {
|
|
16
|
+
'&:hover': {
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
|
|
23
|
+
padding: any;
|
|
24
|
+
};
|
|
25
|
+
'& .Mui-selected': {
|
|
26
|
+
background: any;
|
|
27
|
+
};
|
|
28
|
+
'& .SCPrivateMessageSnippets-input': {
|
|
29
|
+
borderRadius: any;
|
|
30
|
+
height: any;
|
|
31
|
+
'& .SCPrivateMessageSnippets-icon': {
|
|
32
|
+
marginRight: any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'& .SCPrivateMessageSnippets-new-message-button': {
|
|
36
|
+
color: string;
|
|
37
|
+
alignSelf: string;
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
'&:hover': {
|
|
40
|
+
borderWidth: string;
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default Component;
|
|
48
|
+
//# sourceMappingURL=SCPrivateMessageSnippets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippets.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCtB,CAAC;AACF,eAAe,SAAS,CAAC"}
|