@selfcommunity/react-ui 0.7.0-alpha.163 → 0.7.0-alpha.164
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/LoyaltyProgramDetail/LoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +8 -14
- package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js.map +1 -1
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.d.ts.map +1 -1
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +18 -48
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js.map +1 -1
- package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.d.ts +49 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +167 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/index.d.ts +4 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/index.d.ts.map +1 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/index.js +8 -0
- package/lib/cjs/components/PrivateMessageSettingsIconButton/index.js.map +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts +7 -5
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts.map +1 -1
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -23
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js.map +1 -1
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts +1 -1
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts.map +1 -1
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +5 -4
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js.map +1 -1
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.d.ts +1 -1
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.d.ts.map +1 -1
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +1 -1
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js.map +1 -1
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts.map +1 -1
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +2 -15
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js.map +1 -1
- package/lib/cjs/index.d.ts +2 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +4 -8
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +8 -14
- package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js.map +1 -1
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.d.ts +1 -0
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.d.ts.map +1 -1
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +18 -48
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js.map +1 -1
- package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.d.ts +49 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +138 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js.map +1 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/index.d.ts +4 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/index.d.ts.map +1 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/index.js +3 -0
- package/lib/esm/components/PrivateMessageSettingsIconButton/index.js.map +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts +7 -5
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.d.ts.map +1 -1
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +4 -24
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js.map +1 -1
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts +1 -1
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.d.ts.map +1 -1
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +5 -4
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js.map +1 -1
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.d.ts +1 -1
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.d.ts.map +1 -1
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +1 -1
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js.map +1 -1
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts.map +1 -1
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +2 -15
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js.map +1 -1
- package/lib/esm/index.d.ts +2 -3
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +2 -3
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-ui.js +2 -2
- package/lib/umd/react-ui.js.map +1 -1
- package/package.json +4 -4
- package/lib/cjs/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.d.ts +0 -43
- package/lib/cjs/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.js +0 -74
- package/lib/cjs/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.js.map +0 -1
- package/lib/cjs/components/PrivateMessageActionDrawer/Skeleton.d.ts +0 -22
- package/lib/cjs/components/PrivateMessageActionDrawer/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionDrawer/Skeleton.js +0 -38
- package/lib/cjs/components/PrivateMessageActionDrawer/Skeleton.js.map +0 -1
- package/lib/cjs/components/PrivateMessageActionDrawer/index.d.ts +0 -5
- package/lib/cjs/components/PrivateMessageActionDrawer/index.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionDrawer/index.js +0 -11
- package/lib/cjs/components/PrivateMessageActionDrawer/index.js.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/PrivateMessageActionMenu.d.ts +0 -43
- package/lib/cjs/components/PrivateMessageActionMenu/PrivateMessageActionMenu.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/PrivateMessageActionMenu.js +0 -74
- package/lib/cjs/components/PrivateMessageActionMenu/PrivateMessageActionMenu.js.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/Skeleton.d.ts +0 -23
- package/lib/cjs/components/PrivateMessageActionMenu/Skeleton.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/Skeleton.js +0 -39
- package/lib/cjs/components/PrivateMessageActionMenu/Skeleton.js.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/index.d.ts +0 -5
- package/lib/cjs/components/PrivateMessageActionMenu/index.d.ts.map +0 -1
- package/lib/cjs/components/PrivateMessageActionMenu/index.js +0 -11
- package/lib/cjs/components/PrivateMessageActionMenu/index.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.d.ts +0 -43
- package/lib/esm/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.js +0 -68
- package/lib/esm/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/Skeleton.d.ts +0 -22
- package/lib/esm/components/PrivateMessageActionDrawer/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/Skeleton.js +0 -32
- package/lib/esm/components/PrivateMessageActionDrawer/Skeleton.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/index.d.ts +0 -5
- package/lib/esm/components/PrivateMessageActionDrawer/index.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionDrawer/index.js +0 -5
- package/lib/esm/components/PrivateMessageActionDrawer/index.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/PrivateMessageActionMenu.d.ts +0 -43
- package/lib/esm/components/PrivateMessageActionMenu/PrivateMessageActionMenu.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/PrivateMessageActionMenu.js +0 -68
- package/lib/esm/components/PrivateMessageActionMenu/PrivateMessageActionMenu.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/Skeleton.d.ts +0 -23
- package/lib/esm/components/PrivateMessageActionMenu/Skeleton.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/Skeleton.js +0 -33
- package/lib/esm/components/PrivateMessageActionMenu/Skeleton.js.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/index.d.ts +0 -5
- package/lib/esm/components/PrivateMessageActionMenu/index.d.ts.map +0 -1
- package/lib/esm/components/PrivateMessageActionMenu/index.js +0 -5
- package/lib/esm/components/PrivateMessageActionMenu/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/react-ui",
|
|
3
|
-
"version": "0.7.0-alpha.
|
|
3
|
+
"version": "0.7.0-alpha.164",
|
|
4
4
|
"description": "React UI Components to integrate a Community created with SelfCommunity.",
|
|
5
5
|
"author": "SelfCommunity <https://www.selfcommunity.com>",
|
|
6
6
|
"homepage": "https://www.selfcommunity.com",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@rpldy/upload-preview": "^1.3.1",
|
|
71
71
|
"@rpldy/uploady": "^1.3.1",
|
|
72
72
|
"@selfcommunity/api-services": "^0.4.0-alpha.0",
|
|
73
|
-
"@selfcommunity/react-core": "^0.4.0-alpha.
|
|
74
|
-
"@selfcommunity/react-i18n": "^0.5.0-alpha.
|
|
73
|
+
"@selfcommunity/react-core": "^0.4.0-alpha.19",
|
|
74
|
+
"@selfcommunity/react-i18n": "^0.5.0-alpha.11",
|
|
75
75
|
"@selfcommunity/types": "^0.5.0-alpha.0",
|
|
76
76
|
"@selfcommunity/utils": "^0.1.44-alpha.1",
|
|
77
77
|
"@types/classnames": "^2.3.1",
|
|
@@ -160,5 +160,5 @@
|
|
|
160
160
|
"bugs": {
|
|
161
161
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
162
162
|
},
|
|
163
|
-
"gitHead": "
|
|
163
|
+
"gitHead": "9b9fc109b760cf73973ac36d3707f3b19134ff6a"
|
|
164
164
|
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { SwipeableDrawerProps } from '@mui/material';
|
|
2
|
-
export interface PrivateMessageActionDrawerProps extends SwipeableDrawerProps {
|
|
3
|
-
/**
|
|
4
|
-
* Overrides or extends the styles applied to the component.
|
|
5
|
-
* @default null
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Handles menu item callbacks on click
|
|
10
|
-
*/
|
|
11
|
-
onMenuItemDeleteClick?: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* Any other properties
|
|
14
|
-
*/
|
|
15
|
-
[p: string]: any;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
> API documentation for the Community-JS PrivateMessageActionDrawer component. Learn about the available props and the CSS API.
|
|
20
|
-
|
|
21
|
-
#### Import
|
|
22
|
-
|
|
23
|
-
```jsx
|
|
24
|
-
import {PrivateMessageActionDrawer} from '@selfcommunity/react-ui';
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
#### Component Name
|
|
28
|
-
|
|
29
|
-
The name `SCPrivateMessageActionDrawer` can be used when providing style overrides in the theme.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#### CSS
|
|
33
|
-
|
|
34
|
-
|Rule Name|Global class|Description|
|
|
35
|
-
|---|---|---|
|
|
36
|
-
|root|.SCPrivateMessageActionDrawer-root|Styles applied to the root element.|
|
|
37
|
-
|paper|.SCPrivateMessageActionDrawer-paper|Styles applied to the paper element.|
|
|
38
|
-
|item|.SCPrivateMessageActionDrawer-item|Styles applied to the menu item element.|
|
|
39
|
-
|
|
40
|
-
* @param inProps
|
|
41
|
-
*/
|
|
42
|
-
export default function PrivateMessageActionDrawer(inProps: PrivateMessageActionDrawerProps): JSX.Element;
|
|
43
|
-
//# sourceMappingURL=PrivateMessageActionDrawer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA0C,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAoB5F,MAAM,WAAW,+BAAgC,SAAQ,oBAAoB;IAC3E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,OAAO,EAAE,+BAA+B,GAAG,GAAG,CAAC,OAAO,CAkBxG"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = __importDefault(require("react"));
|
|
18
|
-
const styles_1 = require("@mui/material/styles");
|
|
19
|
-
const material_1 = require("@mui/material");
|
|
20
|
-
const react_intl_1 = require("react-intl");
|
|
21
|
-
const Icon_1 = __importDefault(require("@mui/material/Icon"));
|
|
22
|
-
const classnames_1 = __importDefault(require("classnames"));
|
|
23
|
-
const system_1 = require("@mui/system");
|
|
24
|
-
const PREFIX = 'SCPrivateMessageActionDrawer';
|
|
25
|
-
const classes = {
|
|
26
|
-
root: `${PREFIX}-root`,
|
|
27
|
-
paper: `${PREFIX}-paper`,
|
|
28
|
-
item: `${PREFIX}-item`
|
|
29
|
-
};
|
|
30
|
-
const Root = (0, styles_1.styled)(material_1.SwipeableDrawer, {
|
|
31
|
-
name: PREFIX,
|
|
32
|
-
slot: 'Root',
|
|
33
|
-
overridesResolver: (props, styles) => styles.root
|
|
34
|
-
})(({ theme }) => ({}));
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
> API documentation for the Community-JS PrivateMessageActionDrawer component. Learn about the available props and the CSS API.
|
|
38
|
-
|
|
39
|
-
#### Import
|
|
40
|
-
|
|
41
|
-
```jsx
|
|
42
|
-
import {PrivateMessageActionDrawer} from '@selfcommunity/react-ui';
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
#### Component Name
|
|
46
|
-
|
|
47
|
-
The name `SCPrivateMessageActionDrawer` can be used when providing style overrides in the theme.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
#### CSS
|
|
51
|
-
|
|
52
|
-
|Rule Name|Global class|Description|
|
|
53
|
-
|---|---|---|
|
|
54
|
-
|root|.SCPrivateMessageActionDrawer-root|Styles applied to the root element.|
|
|
55
|
-
|paper|.SCPrivateMessageActionDrawer-paper|Styles applied to the paper element.|
|
|
56
|
-
|item|.SCPrivateMessageActionDrawer-item|Styles applied to the menu item element.|
|
|
57
|
-
|
|
58
|
-
* @param inProps
|
|
59
|
-
*/
|
|
60
|
-
function PrivateMessageActionDrawer(inProps) {
|
|
61
|
-
// PROPS
|
|
62
|
-
const props = (0, system_1.useThemeProps)({
|
|
63
|
-
props: inProps,
|
|
64
|
-
name: PREFIX
|
|
65
|
-
});
|
|
66
|
-
const { PaperProps = { className: classes.paper }, className, onMenuItemDeleteClick } = props, rest = __rest(props, ["PaperProps", "className", "onMenuItemDeleteClick"]);
|
|
67
|
-
return (react_1.default.createElement(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), PaperProps: PaperProps }, rest),
|
|
68
|
-
react_1.default.createElement(material_1.MenuItem, { className: classes.item, onClick: onMenuItemDeleteClick },
|
|
69
|
-
react_1.default.createElement(material_1.ListItemIcon, null,
|
|
70
|
-
react_1.default.createElement(Icon_1.default, { fontSize: "small" }, "delete")),
|
|
71
|
-
react_1.default.createElement(react_intl_1.FormattedMessage, { id: "ui.privateMessage.actionDrawer.item.delete", defaultMessage: "ui.privateMessage.actionDrawer.item.delete" }))));
|
|
72
|
-
}
|
|
73
|
-
exports.default = PrivateMessageActionDrawer;
|
|
74
|
-
//# sourceMappingURL=PrivateMessageActionDrawer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionDrawer.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iDAA4C;AAC5C,4CAA4F;AAC5F,2CAA4C;AAC5C,8DAAsC;AACtC,4DAAoC;AACpC,wCAA0C;AAE1C,MAAM,MAAM,GAAG,8BAA8B,CAAC;AAE9C,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;IACtB,KAAK,EAAE,GAAG,MAAM,QAAQ;IACxB,IAAI,EAAE,GAAG,MAAM,OAAO;CACvB,CAAC;AAEF,MAAM,IAAI,GAAG,IAAA,eAAM,EAAC,0BAAe,EAAE;IACnC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI;CAClD,CAAC,CAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAkBtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAwB,0BAA0B,CAAC,OAAwC;IACzF,QAAQ;IACR,MAAM,KAAK,GAAoC,IAAA,sBAAa,EAAC;QAC3D,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;KACb,CAAC,CAAC;IACH,MAAM,EAAC,UAAU,GAAG,EAAC,SAAS,EAAE,OAAO,CAAC,KAAK,EAAC,EAAE,SAAS,EAAE,qBAAqB,KAAa,KAAK,EAAb,IAAI,UAAI,KAAK,EAA5F,oDAAoF,CAAQ,CAAC;IAEnG,OAAO,CACL,8BAAC,IAAI,kBAAC,SAAS,EAAE,IAAA,oBAAU,EAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,UAAU,IAAM,IAAI;QACpF,8BAAC,mBAAQ,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,qBAAqB;YAC/D,8BAAC,uBAAY;gBACX,8BAAC,cAAI,IAAC,QAAQ,EAAC,OAAO,aAAc,CACvB;YACf,8BAAC,6BAAgB,IAAC,EAAE,EAAC,4CAA4C,EAAC,cAAc,EAAC,4CAA4C,GAAG,CACvH,CACN,CACR,CAAC;AACJ,CAAC;AAlBD,6CAkBC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* > API documentation for the Community-JS PrivateMessageActionDrawer Skeleton component. Learn about the available props and the CSS API.
|
|
3
|
-
|
|
4
|
-
#### Import
|
|
5
|
-
|
|
6
|
-
```jsx
|
|
7
|
-
import {PrivateMessageActionDrawerSkeleton} from '@selfcommunity/react-ui';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
#### Component Name
|
|
11
|
-
|
|
12
|
-
The name `SCPrivateMessageActionDrawerSkeleton` can be used when providing style overrides in the theme.
|
|
13
|
-
|
|
14
|
-
#### CSS
|
|
15
|
-
|
|
16
|
-
|Rule Name|Global class|Description|
|
|
17
|
-
|---|---|---|
|
|
18
|
-
|root|.SCPrivateMessageActionDrawerSkeleton-root|Styles applied to the root element.|
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
export default function PrivateMessageActionDrawerSkeleton(props: any): JSX.Element;
|
|
22
|
-
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/Skeleton.tsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,OAAO,UAAU,kCAAkC,CAAC,KAAK,KAAA,GAAG,GAAG,CAAC,OAAO,CAE7E"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
|
-
const GenericSkeleton_1 = __importDefault(require("../Skeleton/GenericSkeleton"));
|
|
9
|
-
const PREFIX = 'SCPrivateMessageActionDrawerSkeleton';
|
|
10
|
-
const classes = {
|
|
11
|
-
root: `${PREFIX}-root`
|
|
12
|
-
};
|
|
13
|
-
const Root = (0, styles_1.styled)(GenericSkeleton_1.default)(({ theme }) => ({}));
|
|
14
|
-
/**
|
|
15
|
-
* > API documentation for the Community-JS PrivateMessageActionDrawer Skeleton component. Learn about the available props and the CSS API.
|
|
16
|
-
|
|
17
|
-
#### Import
|
|
18
|
-
|
|
19
|
-
```jsx
|
|
20
|
-
import {PrivateMessageActionDrawerSkeleton} from '@selfcommunity/react-ui';
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
#### Component Name
|
|
24
|
-
|
|
25
|
-
The name `SCPrivateMessageActionDrawerSkeleton` can be used when providing style overrides in the theme.
|
|
26
|
-
|
|
27
|
-
#### CSS
|
|
28
|
-
|
|
29
|
-
|Rule Name|Global class|Description|
|
|
30
|
-
|---|---|---|
|
|
31
|
-
|root|.SCPrivateMessageActionDrawerSkeleton-root|Styles applied to the root element.|
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
function PrivateMessageActionDrawerSkeleton(props) {
|
|
35
|
-
return react_1.default.createElement(Root, Object.assign({ className: classes.root }, props));
|
|
36
|
-
}
|
|
37
|
-
exports.default = PrivateMessageActionDrawerSkeleton;
|
|
38
|
-
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/Skeleton.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,iDAA4C;AAC5C,kFAA0D;AAE1D,MAAM,MAAM,GAAG,sCAAsC,CAAC;AAEtD,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;CACvB,CAAC;AAEF,MAAM,IAAI,GAAG,IAAA,eAAM,EAAC,yBAAe,CAAC,CAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACxD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAwB,kCAAkC,CAAC,KAAK;IAC9D,OAAO,8BAAC,IAAI,kBAAC,SAAS,EAAE,OAAO,CAAC,IAAI,IAAM,KAAK,EAAI,CAAC;AACtD,CAAC;AAFD,qDAEC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import PrivateMessageActionDrawer, { PrivateMessageActionDrawerProps } from './PrivateMessageActionDrawer';
|
|
2
|
-
import PrivateMessageActionDrawerSkeleton from './Skeleton';
|
|
3
|
-
export default PrivateMessageActionDrawer;
|
|
4
|
-
export { PrivateMessageActionDrawerProps, PrivateMessageActionDrawerSkeleton };
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,EAAE,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AACzG,OAAO,kCAAkC,MAAM,YAAY,CAAC;AAC5D,eAAe,0BAA0B,CAAC;AAC1C,OAAO,EAAC,+BAA+B,EAAE,kCAAkC,EAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PrivateMessageActionDrawerSkeleton = void 0;
|
|
7
|
-
const PrivateMessageActionDrawer_1 = __importDefault(require("./PrivateMessageActionDrawer"));
|
|
8
|
-
const Skeleton_1 = __importDefault(require("./Skeleton"));
|
|
9
|
-
exports.PrivateMessageActionDrawerSkeleton = Skeleton_1.default;
|
|
10
|
-
exports.default = PrivateMessageActionDrawer_1.default;
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/index.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAAyG;AACzG,0DAA4D;AAEnB,6CAFlC,kBAAkC,CAEkC;AAD3E,kBAAe,oCAA0B,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { MenuProps } from '@mui/material';
|
|
2
|
-
export interface PrivateMessageActionMenuProps extends MenuProps {
|
|
3
|
-
/**
|
|
4
|
-
* Overrides or extends the styles applied to the component.
|
|
5
|
-
* @default null
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Handles menu item callbacks on click
|
|
10
|
-
*/
|
|
11
|
-
onMenuItemDeleteClick?: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* Any other properties
|
|
14
|
-
*/
|
|
15
|
-
[p: string]: any;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
> API documentation for the Community-JS PrivateMessageActionMenu component. Learn about the available props and the CSS API.
|
|
20
|
-
|
|
21
|
-
#### Import
|
|
22
|
-
|
|
23
|
-
```jsx
|
|
24
|
-
import {PrivateMessageActionMenu} from '@selfcommunity/react-ui';
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
#### Component Name
|
|
28
|
-
|
|
29
|
-
The name `SCPrivateMessageActionMenu` can be used when providing style overrides in the theme.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#### CSS
|
|
33
|
-
|
|
34
|
-
|Rule Name|Global class|Description|
|
|
35
|
-
|---|---|---|
|
|
36
|
-
|root|.SCPrivateMessageActionMenu-root|Styles applied to the root element.|
|
|
37
|
-
|paper|.SCPrivateMessageActionMenu-paper|Styles applied to the paper element.|
|
|
38
|
-
|item|.SCPrivateMessageActionMenu-item|Styles applied to the menu item element.|
|
|
39
|
-
|
|
40
|
-
* @param inProps
|
|
41
|
-
*/
|
|
42
|
-
export default function PrivateMessageActionMenu(inProps: PrivateMessageActionMenuProps): JSX.Element;
|
|
43
|
-
//# sourceMappingURL=PrivateMessageActionMenu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/PrivateMessageActionMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,SAAS,EAAC,MAAM,eAAe,CAAC;AAoBtE,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,GAAG,GAAG,CAAC,OAAO,CAkBpG"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = __importDefault(require("react"));
|
|
18
|
-
const styles_1 = require("@mui/material/styles");
|
|
19
|
-
const material_1 = require("@mui/material");
|
|
20
|
-
const react_intl_1 = require("react-intl");
|
|
21
|
-
const Icon_1 = __importDefault(require("@mui/material/Icon"));
|
|
22
|
-
const classnames_1 = __importDefault(require("classnames"));
|
|
23
|
-
const system_1 = require("@mui/system");
|
|
24
|
-
const PREFIX = 'SCPrivateMessageActionMenu';
|
|
25
|
-
const classes = {
|
|
26
|
-
root: `${PREFIX}-root`,
|
|
27
|
-
paper: `${PREFIX}-paper`,
|
|
28
|
-
item: `${PREFIX}-item`
|
|
29
|
-
};
|
|
30
|
-
const Root = (0, styles_1.styled)(material_1.Menu, {
|
|
31
|
-
name: PREFIX,
|
|
32
|
-
slot: 'Root',
|
|
33
|
-
overridesResolver: (props, styles) => styles.root
|
|
34
|
-
})(({ theme }) => ({}));
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
> API documentation for the Community-JS PrivateMessageActionMenu component. Learn about the available props and the CSS API.
|
|
38
|
-
|
|
39
|
-
#### Import
|
|
40
|
-
|
|
41
|
-
```jsx
|
|
42
|
-
import {PrivateMessageActionMenu} from '@selfcommunity/react-ui';
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
#### Component Name
|
|
46
|
-
|
|
47
|
-
The name `SCPrivateMessageActionMenu` can be used when providing style overrides in the theme.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
#### CSS
|
|
51
|
-
|
|
52
|
-
|Rule Name|Global class|Description|
|
|
53
|
-
|---|---|---|
|
|
54
|
-
|root|.SCPrivateMessageActionMenu-root|Styles applied to the root element.|
|
|
55
|
-
|paper|.SCPrivateMessageActionMenu-paper|Styles applied to the paper element.|
|
|
56
|
-
|item|.SCPrivateMessageActionMenu-item|Styles applied to the menu item element.|
|
|
57
|
-
|
|
58
|
-
* @param inProps
|
|
59
|
-
*/
|
|
60
|
-
function PrivateMessageActionMenu(inProps) {
|
|
61
|
-
// PROPS
|
|
62
|
-
const props = (0, system_1.useThemeProps)({
|
|
63
|
-
props: inProps,
|
|
64
|
-
name: PREFIX
|
|
65
|
-
});
|
|
66
|
-
const { PaperProps = { className: classes.paper }, className, onMenuItemDeleteClick } = props, rest = __rest(props, ["PaperProps", "className", "onMenuItemDeleteClick"]);
|
|
67
|
-
return (react_1.default.createElement(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), PaperProps: PaperProps }, rest),
|
|
68
|
-
react_1.default.createElement(material_1.MenuItem, { className: classes.item, onClick: onMenuItemDeleteClick },
|
|
69
|
-
react_1.default.createElement(material_1.ListItemIcon, null,
|
|
70
|
-
react_1.default.createElement(Icon_1.default, { fontSize: "small" }, "delete")),
|
|
71
|
-
react_1.default.createElement(react_intl_1.FormattedMessage, { id: "ui.privateMessage.actionMenu.item.delete", defaultMessage: "ui.privateMessage.actionMenu.item.delete" }))));
|
|
72
|
-
}
|
|
73
|
-
exports.default = PrivateMessageActionMenu;
|
|
74
|
-
//# sourceMappingURL=PrivateMessageActionMenu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionMenu.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/PrivateMessageActionMenu.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iDAA4C;AAC5C,4CAAsE;AACtE,2CAA4C;AAC5C,8DAAsC;AACtC,4DAAoC;AACpC,wCAA0C;AAE1C,MAAM,MAAM,GAAG,4BAA4B,CAAC;AAE5C,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;IACtB,KAAK,EAAE,GAAG,MAAM,QAAQ;IACxB,IAAI,EAAE,GAAG,MAAM,OAAO;CACvB,CAAC;AAEF,MAAM,IAAI,GAAG,IAAA,eAAM,EAAC,eAAI,EAAE;IACxB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI;CAClD,CAAC,CAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAkBtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAwB,wBAAwB,CAAC,OAAsC;IACrF,QAAQ;IACR,MAAM,KAAK,GAAkC,IAAA,sBAAa,EAAC;QACzD,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;KACb,CAAC,CAAC;IACH,MAAM,EAAC,UAAU,GAAG,EAAC,SAAS,EAAE,OAAO,CAAC,KAAK,EAAC,EAAE,SAAS,EAAE,qBAAqB,KAAa,KAAK,EAAb,IAAI,UAAI,KAAK,EAA5F,oDAAoF,CAAQ,CAAC;IAEnG,OAAO,CACL,8BAAC,IAAI,kBAAC,SAAS,EAAE,IAAA,oBAAU,EAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,UAAU,IAAM,IAAI;QACpF,8BAAC,mBAAQ,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,qBAAqB;YAC/D,8BAAC,uBAAY;gBACX,8BAAC,cAAI,IAAC,QAAQ,EAAC,OAAO,aAAc,CACvB;YACf,8BAAC,6BAAgB,IAAC,EAAE,EAAC,0CAA0C,EAAC,cAAc,EAAC,0CAA0C,GAAG,CACnH,CACN,CACR,CAAC;AACJ,CAAC;AAlBD,2CAkBC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* > API documentation for the Community-JS PrivateMessageActionMenu Skeleton component. Learn about the available props and the CSS API.
|
|
3
|
-
|
|
4
|
-
#### Import
|
|
5
|
-
|
|
6
|
-
```jsx
|
|
7
|
-
import {PrivateMessageActionMenuSkeleton} from '@selfcommunity/react-ui';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
#### Component Name
|
|
11
|
-
|
|
12
|
-
The name `SCPrivateMessageActionMenuSkeleton` can be used when providing style overrides in the theme.
|
|
13
|
-
|
|
14
|
-
#### CSS
|
|
15
|
-
|
|
16
|
-
|Rule Name|Global class|Description|
|
|
17
|
-
|---|---|---|
|
|
18
|
-
|root|.SCPrivateMessageActionMenuSkeleton-root|Styles applied to the root element.|
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
export default function PrivateMessageActionMenuSkeleton(props: any): JSX.Element;
|
|
23
|
-
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/Skeleton.tsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,gCAAgC,CAAC,KAAK,KAAA,GAAG,GAAG,CAAC,OAAO,CAE3E"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
|
-
const GenericSkeleton_1 = __importDefault(require("../Skeleton/GenericSkeleton"));
|
|
9
|
-
const PREFIX = 'SCPrivateMessageActionMenuSkeleton';
|
|
10
|
-
const classes = {
|
|
11
|
-
root: `${PREFIX}-root`
|
|
12
|
-
};
|
|
13
|
-
const Root = (0, styles_1.styled)(GenericSkeleton_1.default)(({ theme }) => ({}));
|
|
14
|
-
/**
|
|
15
|
-
* > API documentation for the Community-JS PrivateMessageActionMenu Skeleton component. Learn about the available props and the CSS API.
|
|
16
|
-
|
|
17
|
-
#### Import
|
|
18
|
-
|
|
19
|
-
```jsx
|
|
20
|
-
import {PrivateMessageActionMenuSkeleton} from '@selfcommunity/react-ui';
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
#### Component Name
|
|
24
|
-
|
|
25
|
-
The name `SCPrivateMessageActionMenuSkeleton` can be used when providing style overrides in the theme.
|
|
26
|
-
|
|
27
|
-
#### CSS
|
|
28
|
-
|
|
29
|
-
|Rule Name|Global class|Description|
|
|
30
|
-
|---|---|---|
|
|
31
|
-
|root|.SCPrivateMessageActionMenuSkeleton-root|Styles applied to the root element.|
|
|
32
|
-
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
function PrivateMessageActionMenuSkeleton(props) {
|
|
36
|
-
return react_1.default.createElement(Root, Object.assign({ className: classes.root }, props));
|
|
37
|
-
}
|
|
38
|
-
exports.default = PrivateMessageActionMenuSkeleton;
|
|
39
|
-
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/Skeleton.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,iDAA4C;AAC5C,kFAA0D;AAE1D,MAAM,MAAM,GAAG,oCAAoC,CAAC;AAEpD,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;CACvB,CAAC;AAEF,MAAM,IAAI,GAAG,IAAA,eAAM,EAAC,yBAAe,CAAC,CAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACxD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAwB,gCAAgC,CAAC,KAAK;IAC5D,OAAO,8BAAC,IAAI,kBAAC,SAAS,EAAE,OAAO,CAAC,IAAI,IAAM,KAAK,EAAI,CAAC;AACtD,CAAC;AAFD,mDAEC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import PrivateMessageActionMenu, { PrivateMessageActionMenuProps } from './PrivateMessageActionMenu';
|
|
2
|
-
import PrivateMessageActionMenuSkeleton from './Skeleton';
|
|
3
|
-
export default PrivateMessageActionMenu;
|
|
4
|
-
export { PrivateMessageActionMenuProps, PrivateMessageActionMenuSkeleton };
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PrivateMessageActionMenuSkeleton = void 0;
|
|
7
|
-
const PrivateMessageActionMenu_1 = __importDefault(require("./PrivateMessageActionMenu"));
|
|
8
|
-
const Skeleton_1 = __importDefault(require("./Skeleton"));
|
|
9
|
-
exports.PrivateMessageActionMenuSkeleton = Skeleton_1.default;
|
|
10
|
-
exports.default = PrivateMessageActionMenu_1.default;
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionMenu/index.tsx"],"names":[],"mappings":";;;;;;AAAA,0FAAmG;AACnG,0DAA0D;AAEnB,2CAFhC,kBAAgC,CAEgC;AADvE,kBAAe,kCAAwB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { SwipeableDrawerProps } from '@mui/material';
|
|
2
|
-
export interface PrivateMessageActionDrawerProps extends SwipeableDrawerProps {
|
|
3
|
-
/**
|
|
4
|
-
* Overrides or extends the styles applied to the component.
|
|
5
|
-
* @default null
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Handles menu item callbacks on click
|
|
10
|
-
*/
|
|
11
|
-
onMenuItemDeleteClick?: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* Any other properties
|
|
14
|
-
*/
|
|
15
|
-
[p: string]: any;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
> API documentation for the Community-JS PrivateMessageActionDrawer component. Learn about the available props and the CSS API.
|
|
20
|
-
|
|
21
|
-
#### Import
|
|
22
|
-
|
|
23
|
-
```jsx
|
|
24
|
-
import {PrivateMessageActionDrawer} from '@selfcommunity/react-ui';
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
#### Component Name
|
|
28
|
-
|
|
29
|
-
The name `SCPrivateMessageActionDrawer` can be used when providing style overrides in the theme.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#### CSS
|
|
33
|
-
|
|
34
|
-
|Rule Name|Global class|Description|
|
|
35
|
-
|---|---|---|
|
|
36
|
-
|root|.SCPrivateMessageActionDrawer-root|Styles applied to the root element.|
|
|
37
|
-
|paper|.SCPrivateMessageActionDrawer-paper|Styles applied to the paper element.|
|
|
38
|
-
|item|.SCPrivateMessageActionDrawer-item|Styles applied to the menu item element.|
|
|
39
|
-
|
|
40
|
-
* @param inProps
|
|
41
|
-
*/
|
|
42
|
-
export default function PrivateMessageActionDrawer(inProps: PrivateMessageActionDrawerProps): JSX.Element;
|
|
43
|
-
//# sourceMappingURL=PrivateMessageActionDrawer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA0C,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAoB5F,MAAM,WAAW,+BAAgC,SAAQ,oBAAoB;IAC3E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,OAAO,EAAE,+BAA+B,GAAG,GAAG,CAAC,OAAO,CAkBxG"}
|
|
@@ -1,68 +0,0 @@
|
|
|
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 { SwipeableDrawer, MenuItem, ListItemIcon } from '@mui/material';
|
|
15
|
-
import { FormattedMessage } from 'react-intl';
|
|
16
|
-
import Icon from '@mui/material/Icon';
|
|
17
|
-
import classNames from 'classnames';
|
|
18
|
-
import { useThemeProps } from '@mui/system';
|
|
19
|
-
const PREFIX = 'SCPrivateMessageActionDrawer';
|
|
20
|
-
const classes = {
|
|
21
|
-
root: `${PREFIX}-root`,
|
|
22
|
-
paper: `${PREFIX}-paper`,
|
|
23
|
-
item: `${PREFIX}-item`
|
|
24
|
-
};
|
|
25
|
-
const Root = styled(SwipeableDrawer, {
|
|
26
|
-
name: PREFIX,
|
|
27
|
-
slot: 'Root',
|
|
28
|
-
overridesResolver: (props, styles) => styles.root
|
|
29
|
-
})(({ theme }) => ({}));
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
> API documentation for the Community-JS PrivateMessageActionDrawer component. Learn about the available props and the CSS API.
|
|
33
|
-
|
|
34
|
-
#### Import
|
|
35
|
-
|
|
36
|
-
```jsx
|
|
37
|
-
import {PrivateMessageActionDrawer} from '@selfcommunity/react-ui';
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
#### Component Name
|
|
41
|
-
|
|
42
|
-
The name `SCPrivateMessageActionDrawer` can be used when providing style overrides in the theme.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
#### CSS
|
|
46
|
-
|
|
47
|
-
|Rule Name|Global class|Description|
|
|
48
|
-
|---|---|---|
|
|
49
|
-
|root|.SCPrivateMessageActionDrawer-root|Styles applied to the root element.|
|
|
50
|
-
|paper|.SCPrivateMessageActionDrawer-paper|Styles applied to the paper element.|
|
|
51
|
-
|item|.SCPrivateMessageActionDrawer-item|Styles applied to the menu item element.|
|
|
52
|
-
|
|
53
|
-
* @param inProps
|
|
54
|
-
*/
|
|
55
|
-
export default function PrivateMessageActionDrawer(inProps) {
|
|
56
|
-
// PROPS
|
|
57
|
-
const props = useThemeProps({
|
|
58
|
-
props: inProps,
|
|
59
|
-
name: PREFIX
|
|
60
|
-
});
|
|
61
|
-
const { PaperProps = { className: classes.paper }, className, onMenuItemDeleteClick } = props, rest = __rest(props, ["PaperProps", "className", "onMenuItemDeleteClick"]);
|
|
62
|
-
return (React.createElement(Root, Object.assign({ className: classNames(classes.root, className), PaperProps: PaperProps }, rest),
|
|
63
|
-
React.createElement(MenuItem, { className: classes.item, onClick: onMenuItemDeleteClick },
|
|
64
|
-
React.createElement(ListItemIcon, null,
|
|
65
|
-
React.createElement(Icon, { fontSize: "small" }, "delete")),
|
|
66
|
-
React.createElement(FormattedMessage, { id: "ui.privateMessage.actionDrawer.item.delete", defaultMessage: "ui.privateMessage.actionDrawer.item.delete" }))));
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=PrivateMessageActionDrawer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageActionDrawer.js","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/PrivateMessageActionDrawer.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAC,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAuB,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAC,gBAAgB,EAAC,MAAM,YAAY,CAAC;AAC5C,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,MAAM,MAAM,GAAG,8BAA8B,CAAC;AAE9C,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,GAAG,MAAM,OAAO;IACtB,KAAK,EAAE,GAAG,MAAM,QAAQ;IACxB,IAAI,EAAE,GAAG,MAAM,OAAO;CACvB,CAAC;AAEF,MAAM,IAAI,GAAG,MAAM,CAAC,eAAe,EAAE;IACnC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI;CAClD,CAAC,CAAC,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAkBtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,OAAwC;IACzF,QAAQ;IACR,MAAM,KAAK,GAAoC,aAAa,CAAC;QAC3D,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;KACb,CAAC,CAAC;IACH,MAAM,EAAC,UAAU,GAAG,EAAC,SAAS,EAAE,OAAO,CAAC,KAAK,EAAC,EAAE,SAAS,EAAE,qBAAqB,KAAa,KAAK,EAAb,IAAI,UAAI,KAAK,EAA5F,oDAAoF,CAAQ,CAAC;IAEnG,OAAO,CACL,oBAAC,IAAI,kBAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,UAAU,IAAM,IAAI;QACpF,oBAAC,QAAQ,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,qBAAqB;YAC/D,oBAAC,YAAY;gBACX,oBAAC,IAAI,IAAC,QAAQ,EAAC,OAAO,aAAc,CACvB;YACf,oBAAC,gBAAgB,IAAC,EAAE,EAAC,4CAA4C,EAAC,cAAc,EAAC,4CAA4C,GAAG,CACvH,CACN,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* > API documentation for the Community-JS PrivateMessageActionDrawer Skeleton component. Learn about the available props and the CSS API.
|
|
3
|
-
|
|
4
|
-
#### Import
|
|
5
|
-
|
|
6
|
-
```jsx
|
|
7
|
-
import {PrivateMessageActionDrawerSkeleton} from '@selfcommunity/react-ui';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
#### Component Name
|
|
11
|
-
|
|
12
|
-
The name `SCPrivateMessageActionDrawerSkeleton` can be used when providing style overrides in the theme.
|
|
13
|
-
|
|
14
|
-
#### CSS
|
|
15
|
-
|
|
16
|
-
|Rule Name|Global class|Description|
|
|
17
|
-
|---|---|---|
|
|
18
|
-
|root|.SCPrivateMessageActionDrawerSkeleton-root|Styles applied to the root element.|
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
export default function PrivateMessageActionDrawerSkeleton(props: any): JSX.Element;
|
|
22
|
-
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/PrivateMessageActionDrawer/Skeleton.tsx"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,OAAO,UAAU,kCAAkC,CAAC,KAAK,KAAA,GAAG,GAAG,CAAC,OAAO,CAE7E"}
|