@mohamed-karawia/library 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +27 -27
- package/dist/stories/Community/Community.js +27 -29
- package/dist/stories/Forms/AddPhoto/AddPhoto.js +8 -7
- package/dist/stories/Forms/CreateEvent/CreateEvent.js +115 -0
- package/dist/stories/Forms/CreateFolder/CreateFolder.js +87 -0
- package/dist/stories/Forms/CreateSong/CreateSong.js +98 -0
- package/dist/stories/Modals/AddPhotoAlbum/AddPhotoAlbum.js +38 -0
- package/dist/stories/Modals/AddPhotoModal/AddPhotoModal.js +40 -0
- package/dist/stories/Modals/AddSongModal/AddSongModal.js +41 -0
- package/dist/stories/Modals/AddVideoAlbumModal/AddVideoAlbumModal.js +41 -0
- package/dist/stories/Modals/AddVideoModal/AddVideoModal.js +39 -0
- package/dist/stories/Modals/ChatConfigModal/ChatContifgModal.js +93 -0
- package/dist/stories/Modals/CreateEventModal/CreateEventModal.js +42 -0
- package/dist/stories/Modals/CreateFolderModal/CreateFolderModal.js +36 -0
- package/dist/stories/Modals/CreateMusicAlbumModal/CreateMusicAlbumModal.js +41 -0
- package/dist/stories/Modals/CreateNoteModal/CreateNoteModal.js +42 -0
- package/dist/stories/Modals/EventConfigModal/EventConfigModal.js +99 -0
- package/dist/stories/Modals/EventsConfigModal/EventsConfigModal.js +87 -0
- package/dist/stories/Modals/FoldersConfigModal/FoldersConfigModal.js +87 -0
- package/dist/stories/Modals/MusicAlbumConfigModal/MusicAlbumConfigModal.js +88 -0
- package/dist/stories/Modals/MusicAlbumsConfigModal/MusicAlbumsConfigModal.js +87 -0
- package/dist/stories/Modals/NotesConfigModal/NotesConfigModal.js +87 -0
- package/dist/stories/Modals/PhotoAlbumConfigModal/PhotoAlbumConfigModal.js +88 -0
- package/dist/stories/Modals/PhotoAlbumsConfigModal/PhotoAlbumsConfigModal.js +88 -0
- package/dist/stories/Modals/ShowImgModal/ShowImgModal.js +62 -0
- package/dist/stories/Modals/VideoAlbumConfigModal/VideoAlbumConfigModal.js +88 -0
- package/dist/stories/Modals/VideoAlbumsConfigModal/VideoAlbumsConfigModal.js +89 -0
- package/dist/stories/Modals/VideoConfigModal/VideoConfigModal.js +99 -0
- package/dist/stories/Pages/Chat/Chat.js +1 -1
- package/dist/stories/Pages/Events/Event/Event.js +1 -1
- package/dist/stories/Pages/Events/Events/Events.js +1 -1
- package/dist/stories/Pages/Library/Folders/Library.js +2 -2
- package/dist/stories/Pages/Library/Notes/Notes.js +2 -2
- package/dist/stories/Pages/Music/MusicAlbum/Music.js +2 -2
- package/dist/stories/Pages/Music/MusicAlbums/MusicAlbums.js +2 -2
- package/dist/stories/Pages/Photos/Album/Album.js +2 -2
- package/dist/stories/Pages/Photos/Albums/Albums.js +2 -2
- package/dist/stories/Pages/Video/DetailedVideo/DetailedVideo.js +2 -2
- package/dist/stories/Pages/Video/VideoAlbum/Video.js +2 -2
- package/dist/stories/PreviewComponents/ChatPreview/ChatPreview.js +6 -4
- package/dist/stories/PreviewComponents/EventPreview/EventPreview.js +6 -4
- package/dist/stories/PreviewComponents/EventsPreview/EventsPreview.js +6 -4
- package/dist/stories/PreviewComponents/FoldersPreview/FoldersPreview.js +6 -4
- package/dist/stories/PreviewComponents/MusicAlbumPreview/MusicAlbumPreview.js +6 -4
- package/dist/stories/PreviewComponents/MusicAlbumsPreview/MusicAlbumsPreview.js +7 -6
- package/dist/stories/PreviewComponents/MusicPlayerPreview/MusicPlayerPreview.js +6 -4
- package/dist/stories/PreviewComponents/NavbarPreview/NavbarPreview.js +6 -4
- package/dist/stories/PreviewComponents/NotesPreview/NotesPreview.js +6 -4
- package/dist/stories/PreviewComponents/PhotoAlbumPreview/PhotoAlbumPreview.js +6 -4
- package/dist/stories/PreviewComponents/PhotoAlbumsPreview/PhotoAlbumsPreview.js +6 -4
- package/dist/stories/PreviewComponents/SpacesListPreview/SpacesListPreview.js +6 -4
- package/dist/stories/PreviewComponents/VideoAlbumPreview/VideoAlbumPreview.js +6 -4
- package/dist/stories/PreviewComponents/VideoAlbumsPreview/VideoAlbumsPreview.js +6 -4
- package/dist/stories/PreviewComponents/VideoPreview/VideoPreview.js +6 -4
- package/dist/stories/Reusable Components/Comments/Comments.js +58 -0
- package/dist/stories/Reusable Components/Sections/Sections.js +67 -0
- package/dist/stories/Spaces/Chat/Chat.js +103 -0
- package/dist/stories/Spaces/EventsList/EventsList.js +140 -0
- package/dist/stories/Spaces/NotesList/NotesList.js +144 -0
- package/dist/stories/Spaces/ViewDetailedPhoto/ViewDetailedPhoto.js +24 -0
- package/dist/stories/Spaces/ViewEvent/Event.js +146 -0
- package/dist/stories/Spaces/ViewFolders/ViewFolders.js +136 -0
- package/dist/stories/Spaces/ViewMusicAlbumList/ViewMusicAlbumList.js +136 -0
- package/dist/stories/Spaces/ViewMusicAlbums/ViewMusicAlbums.js +130 -0
- package/dist/stories/Spaces/ViewNote/ViewNote.js +27 -0
- package/dist/stories/Spaces/ViewPhotoAlbumList/ViewPhotoAlbumList.js +231 -0
- package/dist/stories/Spaces/ViewPhotoAlbums/ViewPhotoAlbums.js +131 -0
- package/dist/stories/Spaces/ViewVideo/ViewVideo.js +169 -0
- package/dist/stories/Spaces/ViewVideoAlbumList/ViewVideoAlbumList.js +157 -0
- package/dist/stories/Spaces/ViewVideoAlbums/ViewVideoAlbums.js +164 -0
- package/dist/stories/Widgets/VideoPlayer/VideoPlayer.js +235 -0
- package/dist/stories/helpers/util.js +24 -24
- package/dist/stories/store/actions/actions.js +16 -0
- package/dist/stories/store/community.js +941 -0
- package/dist/stories/store/store.js +9 -4
- package/package.json +1 -1
- package/src/index.js +16 -16
- package/src/stories/Community/Community.jsx +19 -19
- package/src/stories/Forms/AddPhoto/AddPhoto.jsx +72 -72
- package/src/stories/{Events → Forms}/CreateEvent/CreateEvent.jsx +5 -1
- package/src/stories/{Library → Forms}/CreateFolder/CreateFolder.jsx +0 -0
- package/src/stories/Forms/{AddSong/AddSong.jsx → CreateSong/CreateSong.jsx} +0 -0
- package/src/stories/Modals/AddPhotoAlbum/AddPhotoAlbum.jsx +27 -0
- package/src/stories/Modals/AddPhotoModal/AddPhotoModal.jsx +29 -0
- package/src/stories/Modals/AddSongModal/AddSongModal.jsx +37 -0
- package/src/stories/Modals/AddVideoAlbumModal/AddVideoAlbumModal.jsx +38 -0
- package/src/stories/Modals/AddVideoModal/AddVideoModal.jsx +35 -0
- package/src/stories/Modals/ChatConfigModal/ChatContifgModal.jsx +77 -0
- package/src/stories/Modals/CreateEventModal/CreateEventModal.jsx +30 -0
- package/src/stories/Modals/CreateFolderModal/CreateFolderModal.jsx +39 -0
- package/src/stories/Modals/CreateMusicAlbumModal/CreateMusicAlbumModal.jsx +37 -0
- package/src/stories/Modals/CreateNoteModal/CreateNoteModal.jsx +43 -0
- package/src/stories/Modals/EventConfigModal/EventConfigModal.jsx +74 -0
- package/src/stories/Modals/EventsConfigModal/EventsConfigModal.jsx +67 -0
- package/src/stories/Modals/FoldersConfigModal/FoldersConfigModal.jsx +66 -0
- package/src/stories/Modals/MusicAlbumConfigModal/MusicAlbumConfigModal.jsx +69 -0
- package/src/stories/Modals/MusicAlbumsConfigModal/MusicAlbumsConfigModal.jsx +73 -0
- package/src/stories/Modals/NotesConfigModal/NotesConfigModal.jsx +65 -0
- package/src/stories/Modals/PhotoAlbumConfigModal/PhotoAlbumConfigModal.jsx +71 -0
- package/src/stories/Modals/PhotoAlbumsConfigModal/PhotoAlbumsConfigModal.jsx +69 -0
- package/src/stories/Modals/ShowImgModal/ShowImgModal.jsx +87 -0
- package/src/stories/Modals/VideoAlbumConfigModal/VideoAlbumConfigModal.jsx +67 -0
- package/src/stories/Modals/VideoAlbumsConfigModal/VideoAlbumsConfigModal.jsx +67 -0
- package/src/stories/Modals/VideoConfigModal/VideoConfigModal.jsx +78 -0
- package/src/stories/Pages/Chat/Chat.jsx +1 -1
- package/src/stories/Pages/Events/Event/Event.jsx +1 -1
- package/src/stories/Pages/Events/Events/Events.jsx +1 -1
- package/src/stories/Pages/Library/Folders/Library.jsx +1 -1
- package/src/stories/Pages/Library/Notes/Notes.jsx +1 -1
- package/src/stories/Pages/Music/MusicAlbum/Music.jsx +1 -1
- package/src/stories/Pages/Music/MusicAlbums/MusicAlbums.jsx +1 -1
- package/src/stories/Pages/Photos/Album/Album.jsx +1 -1
- package/src/stories/Pages/Photos/Albums/Albums.jsx +1 -1
- package/src/stories/Pages/Video/DetailedVideo/DetailedVideo.jsx +1 -1
- package/src/stories/Pages/Video/VideoAlbum/Video.jsx +1 -1
- package/src/stories/PreviewComponents/ChatPreview/ChatPreview.jsx +106 -104
- package/src/stories/PreviewComponents/EventPreview/EventPreview.jsx +6 -4
- package/src/stories/PreviewComponents/EventsPreview/EventsPreview.jsx +106 -104
- package/src/stories/PreviewComponents/FoldersPreview/FoldersPreview.jsx +7 -5
- package/src/stories/PreviewComponents/MusicAlbumPreview/MusicAlbumPreview.jsx +6 -4
- package/src/stories/PreviewComponents/MusicAlbumsPreview/MusicAlbumsPreview.jsx +13 -11
- package/src/stories/PreviewComponents/MusicPlayerPreview/MusicPlayerPreview.jsx +35 -33
- package/src/stories/PreviewComponents/NavbarPreview/NavbarPreview.jsx +17 -15
- package/src/stories/PreviewComponents/NotesPreview/NotesPreview.jsx +6 -4
- package/src/stories/PreviewComponents/PhotoAlbumPreview/PhotoAlbumPreview.jsx +105 -103
- package/src/stories/PreviewComponents/PhotoAlbumsPreview/PhotoAlbumsPreview.jsx +7 -5
- package/src/stories/PreviewComponents/SpacesListPreview/SpacesListPreview.jsx +9 -7
- package/src/stories/PreviewComponents/VideoAlbumPreview/VideoAlbumPreview.jsx +6 -4
- package/src/stories/PreviewComponents/VideoAlbumsPreview/VideoAlbumsPreview.jsx +6 -4
- package/src/stories/PreviewComponents/VideoPreview/VideoPreview.jsx +6 -4
- package/src/stories/{VideoAlbum → Reusable Components}/Comments/Comments.jsx +0 -0
- package/src/stories/{Sections/Sections.jsx → Reusable Components/Sections/Sections.jsx } +1 -1
- package/src/stories/Spaces/Chat/Chat.jsx +77 -0
- package/src/stories/Spaces/EventsList/EventsList.jsx +118 -0
- package/src/stories/{Library/Notes/Notes.jsx → Spaces/NotesList/NotesList.jsx} +20 -66
- package/src/stories/{Photo Album/DetailedPhoto/DetailedPhoto.jsx → Spaces/ViewDetailedPhoto/ViewDetailedPhoto.jsx} +1 -1
- package/src/stories/{Events/Event → Spaces/ViewEvent}/Event.jsx +10 -74
- package/src/stories/Spaces/ViewFolders/ViewFolders.jsx +122 -0
- package/src/stories/Spaces/ViewMusicAlbumList/ViewMusicAlbumList.jsx +118 -0
- package/src/stories/Spaces/ViewMusicAlbums/ViewMusicAlbums.jsx +108 -0
- package/src/stories/{Library → Spaces}/ViewNote/ViewNote.jsx +0 -0
- package/src/stories/{Photo Album/ViewAlbum/ViewAlbum.jsx → Spaces/ViewPhotoAlbumList/ViewPhotoAlbumList.jsx} +42 -137
- package/src/stories/{Photo Album/ViewAlbums/ViewAlbums.jsx → Spaces/ViewPhotoAlbums/ViewPhotoAlbums.jsx} +16 -55
- package/src/stories/{VideoAlbum/VideoSpace/VideoSpace.jsx → Spaces/ViewVideo/ViewVideo.jsx} +15 -48
- package/src/stories/{VideoAlbum/ViewAlbum/ViewAlbum.jsx → Spaces/ViewVideoAlbumList/ViewVideoAlbumList.jsx} +14 -57
- package/src/stories/{VideoAlbum/AlbumsGallery/AlbumsGallery.jsx → Spaces/ViewVideoAlbums/ViewVideoAlbums.jsx} +14 -52
- package/src/stories/{VideoAlbum → Widgets}/VideoPlayer/VideoPlayer.jsx +0 -0
- package/src/stories/helpers/util.js +13 -13
- package/src/stories/store/actions/actions.js +7 -0
- package/src/stories/store/{communities.js → community.js} +0 -0
- package/src/stories/store/store.js +3 -4
- package/src/stories/Chat/Chat.jsx +0 -154
- package/src/stories/Events/EventsList/EventsList.jsx +0 -187
- package/src/stories/Library/Folders/Folders.jsx +0 -196
- package/src/stories/Music Album/ViewAlbum/ViewAlbum.jsx +0 -172
- package/src/stories/Music Album/ViewAlbums/ViewAlbums.jsx +0 -166
@@ -140,10 +140,12 @@ var PhotoAlbumsPreview = function PhotoAlbumsPreview(props) {
|
|
140
140
|
}];
|
141
141
|
|
142
142
|
var handleChange = function handleChange(values) {
|
143
|
-
if (
|
144
|
-
|
145
|
-
|
146
|
-
|
143
|
+
if (props.formChanged) {
|
144
|
+
if (values) {
|
145
|
+
props.formChanged(values);
|
146
|
+
setPhotoAlbumsStyles(values);
|
147
|
+
localStorage.setItem('formStyles', JSON.stringify(values));
|
148
|
+
}
|
147
149
|
}
|
148
150
|
};
|
149
151
|
|
@@ -148,10 +148,12 @@ var SpacesListPreview = function SpacesListPreview(props) {
|
|
148
148
|
}];
|
149
149
|
|
150
150
|
var handleChange = function handleChange(values) {
|
151
|
-
if (
|
152
|
-
|
153
|
-
|
154
|
-
|
151
|
+
if (props.formChanged) {
|
152
|
+
if (values) {
|
153
|
+
props.formChanged(values);
|
154
|
+
setSpacesStyles(values);
|
155
|
+
localStorage.setItem('formStyles', JSON.stringify(values));
|
156
|
+
}
|
155
157
|
}
|
156
158
|
};
|
157
159
|
|
@@ -140,10 +140,12 @@ var VideoAlbumPreview = function VideoAlbumPreview(props) {
|
|
140
140
|
}];
|
141
141
|
|
142
142
|
var handleChange = function handleChange(values) {
|
143
|
-
if (
|
144
|
-
|
145
|
-
|
146
|
-
|
143
|
+
if (props.formChanged) {
|
144
|
+
if (values) {
|
145
|
+
props.formChanged(values);
|
146
|
+
setVideoAlbumStyles(values);
|
147
|
+
localStorage.setItem('formStyles', JSON.stringify(values));
|
148
|
+
}
|
147
149
|
}
|
148
150
|
};
|
149
151
|
|
@@ -126,10 +126,12 @@ var VideoAlbumsPreview = function VideoAlbumsPreview(props) {
|
|
126
126
|
}];
|
127
127
|
|
128
128
|
var handleChange = function handleChange(values) {
|
129
|
-
if (
|
130
|
-
|
131
|
-
|
132
|
-
|
129
|
+
if (props.formChanged) {
|
130
|
+
if (values) {
|
131
|
+
props.formChanged(values);
|
132
|
+
setVideoAlbumsStyles(values);
|
133
|
+
localStorage.setItem('formStyles', JSON.stringify(values));
|
134
|
+
}
|
133
135
|
}
|
134
136
|
};
|
135
137
|
|
@@ -123,10 +123,12 @@ var VideoPreview = function VideoPreview(props) {
|
|
123
123
|
}];
|
124
124
|
|
125
125
|
var handleChange = function handleChange(values) {
|
126
|
-
if (
|
127
|
-
|
128
|
-
|
129
|
-
|
126
|
+
if (props.formChanged) {
|
127
|
+
if (values) {
|
128
|
+
props.formChanged(values);
|
129
|
+
setVideoStyles(values);
|
130
|
+
localStorage.setItem('formStyles', JSON.stringify(values));
|
131
|
+
}
|
130
132
|
}
|
131
133
|
};
|
132
134
|
|
@@ -0,0 +1,58 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
13
|
+
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
15
|
+
|
16
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
17
|
+
|
18
|
+
var _ReusableList = _interopRequireDefault(require("../../Reusable Components/ReusableList/ReusableList"));
|
19
|
+
|
20
|
+
var _templateObject;
|
21
|
+
|
22
|
+
var _excluded = ["comments", "cardPadding", "imgSize", "cardTitleFontSize", "cardTitleColor", "contentGap", "cardBackgroundColor"];
|
23
|
+
|
24
|
+
var Comments = function Comments(_ref) {
|
25
|
+
var comments = _ref.comments,
|
26
|
+
cardPadding = _ref.cardPadding,
|
27
|
+
imgSize = _ref.imgSize,
|
28
|
+
cardTitleFontSize = _ref.cardTitleFontSize,
|
29
|
+
cardTitleColor = _ref.cardTitleColor,
|
30
|
+
contentGap = _ref.contentGap,
|
31
|
+
cardBackgroundColor = _ref.cardBackgroundColor,
|
32
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
33
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_ReusableList.default, {
|
34
|
+
data: comments,
|
35
|
+
type: "flat",
|
36
|
+
cardStyle: "card-style-1",
|
37
|
+
customCardStyles: {
|
38
|
+
cardPadding: cardPadding,
|
39
|
+
imgSize: imgSize,
|
40
|
+
cardTitleFontSize: cardTitleFontSize,
|
41
|
+
cardTitleColor: cardTitleColor,
|
42
|
+
contentGap: contentGap,
|
43
|
+
cardBackgroundColor: cardBackgroundColor
|
44
|
+
}
|
45
|
+
}));
|
46
|
+
};
|
47
|
+
|
48
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\n"])));
|
49
|
+
|
50
|
+
Comments.defaultProps = {
|
51
|
+
cardPadding: 10,
|
52
|
+
imgSize: 50,
|
53
|
+
cardTitleFontSize: 12,
|
54
|
+
cardTitleColor: '#353535',
|
55
|
+
cardBackgroundColor: 'white'
|
56
|
+
};
|
57
|
+
var _default = Comments;
|
58
|
+
exports.default = _default;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
13
|
+
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
15
|
+
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
17
|
+
|
18
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
19
|
+
|
20
|
+
var _ReusableList = _interopRequireDefault(require("../ReusableList/ReusableList"));
|
21
|
+
|
22
|
+
var _templateObject, _templateObject2, _templateObject3;
|
23
|
+
|
24
|
+
var _excluded = ["sections"];
|
25
|
+
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
27
|
+
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
29
|
+
|
30
|
+
var Sections = function Sections(_ref) {
|
31
|
+
var sections = _ref.sections,
|
32
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
33
|
+
|
34
|
+
var _useState = (0, _react.useState)(props.children[0] || props.children),
|
35
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
36
|
+
center = _useState2[0],
|
37
|
+
setCenter = _useState2[1];
|
38
|
+
|
39
|
+
console.log('renders');
|
40
|
+
|
41
|
+
var cardClicked = function cardClicked(index, cardProps) {
|
42
|
+
var child = props.children.find(function (child) {
|
43
|
+
return child.props.id === cardProps.id;
|
44
|
+
});
|
45
|
+
setCenter(child);
|
46
|
+
console.log(child);
|
47
|
+
};
|
48
|
+
|
49
|
+
return /*#__PURE__*/_react.default.createElement(Container, props, /*#__PURE__*/_react.default.createElement(Left, null, /*#__PURE__*/_react.default.createElement(_ReusableList.default, Object.assign({
|
50
|
+
type: "sectioned",
|
51
|
+
data: sections,
|
52
|
+
cardStyle: "card-style-3",
|
53
|
+
cardClicked: cardClicked
|
54
|
+
}, props))), /*#__PURE__*/_react.default.createElement(Center, null, center));
|
55
|
+
};
|
56
|
+
|
57
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background-color: ", ";\n background-color: #414141;\n display: flex;\n"])), function (props) {
|
58
|
+
return props.backgroundColor;
|
59
|
+
});
|
60
|
+
|
61
|
+
var Left = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n flex: 1;\n"])));
|
62
|
+
|
63
|
+
var Center = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n flex: 3;\n"])));
|
64
|
+
|
65
|
+
Sections.defaultProps = {};
|
66
|
+
var _default = Sections;
|
67
|
+
exports.default = _default;
|
@@ -0,0 +1,103 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
13
|
+
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
15
|
+
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
17
|
+
|
18
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
19
|
+
|
20
|
+
var _bs = require("react-icons/bs");
|
21
|
+
|
22
|
+
var _ReusableList = _interopRequireDefault(require("../../Reusable Components/ReusableList/ReusableList"));
|
23
|
+
|
24
|
+
var _RichTextInput = _interopRequireDefault(require("../../Common Inputs/RichTextInput/RichTextInput"));
|
25
|
+
|
26
|
+
var _ChatContifgModal = _interopRequireDefault(require("../../Modals/ChatConfigModal/ChatContifgModal"));
|
27
|
+
|
28
|
+
var _templateObject;
|
29
|
+
|
30
|
+
var _excluded = ["data", "users", "title", "backgroundColor", "community"];
|
31
|
+
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
33
|
+
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
35
|
+
|
36
|
+
var listControls = [{
|
37
|
+
icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
|
38
|
+
action: "config",
|
39
|
+
name: "Config"
|
40
|
+
}];
|
41
|
+
|
42
|
+
var Chat = function Chat(_ref) {
|
43
|
+
var data = _ref.data,
|
44
|
+
users = _ref.users,
|
45
|
+
title = _ref.title,
|
46
|
+
backgroundColor = _ref.backgroundColor,
|
47
|
+
community = _ref.community,
|
48
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
49
|
+
|
50
|
+
var _useState = (0, _react.useState)(false),
|
51
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
52
|
+
showConfigModal = _useState2[0],
|
53
|
+
setShowConfigModal = _useState2[1];
|
54
|
+
|
55
|
+
var onIconClicked = function onIconClicked(action) {
|
56
|
+
if (!props.preview) {
|
57
|
+
switch (action) {
|
58
|
+
case "config":
|
59
|
+
setShowConfigModal(true);
|
60
|
+
break;
|
61
|
+
|
62
|
+
default:
|
63
|
+
break;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
};
|
67
|
+
|
68
|
+
var cancelConfig = function cancelConfig() {
|
69
|
+
setShowConfigModal(false);
|
70
|
+
localStorage.removeItem("formStyles");
|
71
|
+
};
|
72
|
+
|
73
|
+
return /*#__PURE__*/_react.default.createElement(Container, {
|
74
|
+
backgroundColor: backgroundColor
|
75
|
+
}, /*#__PURE__*/_react.default.createElement(_ReusableList.default, Object.assign({
|
76
|
+
listTitle: title || "Chat",
|
77
|
+
type: "flat",
|
78
|
+
data: data,
|
79
|
+
cardStyle: "card-style-8",
|
80
|
+
iconClicked: onIconClicked,
|
81
|
+
listControls: listControls
|
82
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_RichTextInput.default, {
|
83
|
+
users: users
|
84
|
+
}), /*#__PURE__*/_react.default.createElement(_ChatContifgModal.default, {
|
85
|
+
title: props.title,
|
86
|
+
showConfigModal: showConfigModal,
|
87
|
+
cancelConfig: cancelConfig,
|
88
|
+
community: community,
|
89
|
+
data: data,
|
90
|
+
users: users
|
91
|
+
}));
|
92
|
+
};
|
93
|
+
|
94
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n background-color: ", ";\n"])), function (_ref2) {
|
95
|
+
var backgroundColor = _ref2.backgroundColor;
|
96
|
+
return backgroundColor || "transparent";
|
97
|
+
});
|
98
|
+
|
99
|
+
Chat.defaultProps = {
|
100
|
+
title: "Chat Space"
|
101
|
+
};
|
102
|
+
var _default = Chat;
|
103
|
+
exports.default = _default;
|
@@ -0,0 +1,140 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
13
|
+
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
15
|
+
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
17
|
+
|
18
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
19
|
+
|
20
|
+
var _ai = require("react-icons/ai");
|
21
|
+
|
22
|
+
var _bs = require("react-icons/bs");
|
23
|
+
|
24
|
+
var _ReusableList = _interopRequireDefault(require("../../Reusable Components/ReusableList/ReusableList"));
|
25
|
+
|
26
|
+
var _CreateEventModal = _interopRequireDefault(require("../../Modals/CreateEventModal/CreateEventModal"));
|
27
|
+
|
28
|
+
var _EventsConfigModal = _interopRequireDefault(require("../../Modals/EventsConfigModal/EventsConfigModal"));
|
29
|
+
|
30
|
+
var _templateObject;
|
31
|
+
|
32
|
+
var _excluded = ["events", "community", "actions"];
|
33
|
+
|
34
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
35
|
+
|
36
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
37
|
+
|
38
|
+
var listControls = [{
|
39
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineFileAdd, null),
|
40
|
+
action: 'add',
|
41
|
+
name: 'Add Photo'
|
42
|
+
}, {
|
43
|
+
icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
|
44
|
+
action: 'config',
|
45
|
+
name: 'Config'
|
46
|
+
}];
|
47
|
+
var cardControls = [{
|
48
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiFillDelete, null),
|
49
|
+
action: 'delete',
|
50
|
+
name: 'Delete Image'
|
51
|
+
}];
|
52
|
+
|
53
|
+
var EventsList = function EventsList(_ref) {
|
54
|
+
var events = _ref.events,
|
55
|
+
community = _ref.community,
|
56
|
+
actions = _ref.actions,
|
57
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
58
|
+
|
59
|
+
var _useState = (0, _react.useState)(false),
|
60
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
61
|
+
showModal = _useState2[0],
|
62
|
+
setShowModal = _useState2[1];
|
63
|
+
|
64
|
+
var _useState3 = (0, _react.useState)(false),
|
65
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
66
|
+
showConfigModal = _useState4[0],
|
67
|
+
setShowConfigModal = _useState4[1];
|
68
|
+
|
69
|
+
var onIconClicked = function onIconClicked(action) {
|
70
|
+
if (!props.preview) {
|
71
|
+
switch (action) {
|
72
|
+
case 'add':
|
73
|
+
setShowModal(true);
|
74
|
+
break;
|
75
|
+
|
76
|
+
case 'config':
|
77
|
+
setShowConfigModal(true);
|
78
|
+
break;
|
79
|
+
|
80
|
+
default:
|
81
|
+
break;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
};
|
85
|
+
|
86
|
+
var cardIconClicked = function cardIconClicked(action, index) {
|
87
|
+
if (!props.preview) {
|
88
|
+
props.cardIconClicked(action, index);
|
89
|
+
}
|
90
|
+
};
|
91
|
+
|
92
|
+
var cardClicked = function cardClicked(index, props) {
|
93
|
+
if (!props.preview) {
|
94
|
+
props.cardClicked(props);
|
95
|
+
}
|
96
|
+
};
|
97
|
+
|
98
|
+
var onAddFolder = function onAddFolder(event) {
|
99
|
+
setShowModal(false);
|
100
|
+
props.onAddEvent(event);
|
101
|
+
};
|
102
|
+
|
103
|
+
var closeModal = function closeModal() {
|
104
|
+
setShowModal(false);
|
105
|
+
};
|
106
|
+
|
107
|
+
var cancelConfig = function cancelConfig() {
|
108
|
+
setShowConfigModal(false);
|
109
|
+
localStorage.removeItem('formStyles');
|
110
|
+
};
|
111
|
+
|
112
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_ReusableList.default, Object.assign({
|
113
|
+
listTitle: props.title || "My Events",
|
114
|
+
data: events,
|
115
|
+
type: "flat",
|
116
|
+
cardStyle: "card-style-11",
|
117
|
+
listControls: listControls,
|
118
|
+
cardControls: cardControls,
|
119
|
+
iconClicked: onIconClicked,
|
120
|
+
cardClicked: cardClicked,
|
121
|
+
cardIconClicked: cardIconClicked
|
122
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_CreateEventModal.default, {
|
123
|
+
showModal: showModal,
|
124
|
+
onAddFolder: onAddFolder,
|
125
|
+
closeModal: closeModal,
|
126
|
+
actions: actions
|
127
|
+
}), /*#__PURE__*/_react.default.createElement(_EventsConfigModal.default, {
|
128
|
+
title: props.title,
|
129
|
+
events: events,
|
130
|
+
showConfigModal: showConfigModal,
|
131
|
+
cancelConfig: cancelConfig,
|
132
|
+
community: community
|
133
|
+
}));
|
134
|
+
};
|
135
|
+
|
136
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n"])));
|
137
|
+
|
138
|
+
EventsList.defaultProps = {};
|
139
|
+
var _default = EventsList;
|
140
|
+
exports.default = _default;
|
@@ -0,0 +1,144 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
11
|
+
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
13
|
+
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
15
|
+
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
17
|
+
|
18
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
19
|
+
|
20
|
+
var _ai = require("react-icons/ai");
|
21
|
+
|
22
|
+
var _bs = require("react-icons/bs");
|
23
|
+
|
24
|
+
var _ReusableList = _interopRequireDefault(require("../../Reusable Components/ReusableList/ReusableList"));
|
25
|
+
|
26
|
+
var _CreateNoteModal = _interopRequireDefault(require("../../Modals/CreateNoteModal/CreateNoteModal"));
|
27
|
+
|
28
|
+
var _NotesConfigModal = _interopRequireDefault(require("../../Modals/NotesConfigModal/NotesConfigModal"));
|
29
|
+
|
30
|
+
var _templateObject;
|
31
|
+
|
32
|
+
var _excluded = ["notes", "iconColor", "cardTitleFontSize", "cardTitleColor", "cardPadding", "community"];
|
33
|
+
|
34
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
35
|
+
|
36
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
37
|
+
|
38
|
+
var listControls = [{
|
39
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineFileAdd, null),
|
40
|
+
action: 'add',
|
41
|
+
name: 'Add Photo'
|
42
|
+
}, {
|
43
|
+
icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
|
44
|
+
action: 'config',
|
45
|
+
name: 'Config'
|
46
|
+
}];
|
47
|
+
var cardControls = [{
|
48
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiFillDelete, null),
|
49
|
+
action: 'delete',
|
50
|
+
name: 'Delete Image'
|
51
|
+
}];
|
52
|
+
|
53
|
+
var Notes = function Notes(_ref) {
|
54
|
+
var notes = _ref.notes,
|
55
|
+
iconColor = _ref.iconColor,
|
56
|
+
cardTitleFontSize = _ref.cardTitleFontSize,
|
57
|
+
cardTitleColor = _ref.cardTitleColor,
|
58
|
+
cardPadding = _ref.cardPadding,
|
59
|
+
community = _ref.community,
|
60
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
61
|
+
|
62
|
+
var _useState = (0, _react.useState)(false),
|
63
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
64
|
+
showModal = _useState2[0],
|
65
|
+
setShowModal = _useState2[1];
|
66
|
+
|
67
|
+
var _useState3 = (0, _react.useState)(false),
|
68
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
69
|
+
showConfigModal = _useState4[0],
|
70
|
+
setShowConfigModal = _useState4[1];
|
71
|
+
|
72
|
+
var onIconClicked = function onIconClicked(action) {
|
73
|
+
if (!props.preview) {
|
74
|
+
switch (action) {
|
75
|
+
case 'add':
|
76
|
+
setShowModal(true);
|
77
|
+
break;
|
78
|
+
|
79
|
+
case 'config':
|
80
|
+
setShowConfigModal(true);
|
81
|
+
break;
|
82
|
+
|
83
|
+
default:
|
84
|
+
break;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
};
|
88
|
+
|
89
|
+
var cardIconClicked = function cardIconClicked(action, index) {
|
90
|
+
props.cardIconClicked(action, index);
|
91
|
+
};
|
92
|
+
|
93
|
+
var cardClicked = function cardClicked() {
|
94
|
+
console.log('test');
|
95
|
+
};
|
96
|
+
|
97
|
+
var cancelHandler = function cancelHandler() {
|
98
|
+
setShowModal(false);
|
99
|
+
};
|
100
|
+
|
101
|
+
var onAddFolder = function onAddFolder(folder) {
|
102
|
+
props.onAddNote(folder);
|
103
|
+
setShowModal(false);
|
104
|
+
};
|
105
|
+
|
106
|
+
var closeModal = function closeModal() {
|
107
|
+
setShowModal(false);
|
108
|
+
};
|
109
|
+
|
110
|
+
var cancelConfig = function cancelConfig() {
|
111
|
+
setShowConfigModal(false);
|
112
|
+
localStorage.removeItem('formStyles');
|
113
|
+
};
|
114
|
+
|
115
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_ReusableList.default, Object.assign({
|
116
|
+
listTitle: props.title || "My Notes",
|
117
|
+
data: notes,
|
118
|
+
type: "flat",
|
119
|
+
cardStyle: "card-style-11",
|
120
|
+
listControls: listControls,
|
121
|
+
cardControls: cardControls,
|
122
|
+
iconClicked: onIconClicked,
|
123
|
+
cardClicked: cardClicked,
|
124
|
+
cardIconClicked: cardIconClicked
|
125
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_CreateNoteModal.default, {
|
126
|
+
showModal: showModal,
|
127
|
+
closeModal: closeModal,
|
128
|
+
onAddFolder: onAddFolder,
|
129
|
+
cancelHandler: cancelHandler,
|
130
|
+
saveBtnText: props.saveBtnText,
|
131
|
+
cancelBtnText: props.cancelBtnText
|
132
|
+
}), /*#__PURE__*/_react.default.createElement(_NotesConfigModal.default, {
|
133
|
+
showConfigModal: showConfigModal,
|
134
|
+
cancelConfig: cancelConfig,
|
135
|
+
notes: notes,
|
136
|
+
community: community
|
137
|
+
}));
|
138
|
+
};
|
139
|
+
|
140
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n"])));
|
141
|
+
|
142
|
+
Notes.defaultProps = {};
|
143
|
+
var _default = Notes;
|
144
|
+
exports.default = _default;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.default = void 0;
|
9
|
+
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
11
|
+
|
12
|
+
var _CardStyle = _interopRequireDefault(require("../../Reusable Components/Cards/Card-style-6/CardStyle6"));
|
13
|
+
|
14
|
+
var DetailedPhoto = function DetailedPhoto(props) {
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_CardStyle.default, Object.assign({
|
16
|
+
cardClicked: function cardClicked() {
|
17
|
+
return props.cardClicked();
|
18
|
+
}
|
19
|
+
}, props.img));
|
20
|
+
};
|
21
|
+
|
22
|
+
DetailedPhoto.defaultProps = {};
|
23
|
+
var _default = DetailedPhoto;
|
24
|
+
exports.default = _default;
|