@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
@@ -0,0 +1,146 @@
|
|
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 _ReusableHeader = _interopRequireDefault(require("../../Reusable Components/ReusableHeader/ReusableHeader"));
|
23
|
+
|
24
|
+
var _EventConfigModal = _interopRequireDefault(require("../../Modals/EventConfigModal/EventConfigModal"));
|
25
|
+
|
26
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
27
|
+
|
28
|
+
var _excluded = ["cover", "title", "date", "disc", "backgroundColor", "titleColor", "titleSize", "dateColor", "dateSize", "discColor", "discSize", "headerStyles", "community"];
|
29
|
+
|
30
|
+
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); }
|
31
|
+
|
32
|
+
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; }
|
33
|
+
|
34
|
+
var listControls = [{
|
35
|
+
icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
|
36
|
+
action: 'config',
|
37
|
+
name: 'Config'
|
38
|
+
}];
|
39
|
+
|
40
|
+
var Event = function Event(_ref) {
|
41
|
+
var cover = _ref.cover,
|
42
|
+
title = _ref.title,
|
43
|
+
date = _ref.date,
|
44
|
+
disc = _ref.disc,
|
45
|
+
backgroundColor = _ref.backgroundColor,
|
46
|
+
titleColor = _ref.titleColor,
|
47
|
+
titleSize = _ref.titleSize,
|
48
|
+
dateColor = _ref.dateColor,
|
49
|
+
dateSize = _ref.dateSize,
|
50
|
+
discColor = _ref.discColor,
|
51
|
+
discSize = _ref.discSize,
|
52
|
+
headerStyles = _ref.headerStyles,
|
53
|
+
community = _ref.community,
|
54
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
55
|
+
|
56
|
+
var _useState = (0, _react.useState)(false),
|
57
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
58
|
+
showConfigModal = _useState2[0],
|
59
|
+
setShowConfigModal = _useState2[1];
|
60
|
+
|
61
|
+
var onIconClicked = function onIconClicked(action) {
|
62
|
+
if (!props.preview) {
|
63
|
+
switch (action) {
|
64
|
+
case 'config':
|
65
|
+
setShowConfigModal(true);
|
66
|
+
break;
|
67
|
+
|
68
|
+
default:
|
69
|
+
break;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
};
|
73
|
+
|
74
|
+
var cancelConfig = function cancelConfig() {
|
75
|
+
setShowConfigModal(false);
|
76
|
+
localStorage.removeItem('formStyles');
|
77
|
+
};
|
78
|
+
|
79
|
+
return /*#__PURE__*/_react.default.createElement(Container, {
|
80
|
+
backgroundColor: backgroundColor
|
81
|
+
}, /*#__PURE__*/_react.default.createElement(_ReusableHeader.default, Object.assign({
|
82
|
+
title: title,
|
83
|
+
controls: listControls,
|
84
|
+
iconClicked: onIconClicked
|
85
|
+
}, headerStyles)), /*#__PURE__*/_react.default.createElement(CoverWrapper, null, /*#__PURE__*/_react.default.createElement(Cover, {
|
86
|
+
src: cover
|
87
|
+
})), /*#__PURE__*/_react.default.createElement(Details, null, /*#__PURE__*/_react.default.createElement(Header, null, /*#__PURE__*/_react.default.createElement(Title, {
|
88
|
+
size: titleSize,
|
89
|
+
color: titleColor
|
90
|
+
}, title), /*#__PURE__*/_react.default.createElement(Date, {
|
91
|
+
color: dateColor,
|
92
|
+
size: dateSize
|
93
|
+
}, date)), /*#__PURE__*/_react.default.createElement(Disc, {
|
94
|
+
discColor: discColor,
|
95
|
+
discSize: discSize
|
96
|
+
}, disc)), /*#__PURE__*/_react.default.createElement(_EventConfigModal.default, {
|
97
|
+
showConfigModal: showConfigModal,
|
98
|
+
cancelConfig: cancelConfig,
|
99
|
+
cover: cover,
|
100
|
+
title: title,
|
101
|
+
date: date,
|
102
|
+
disc: disc,
|
103
|
+
community: community
|
104
|
+
}));
|
105
|
+
};
|
106
|
+
|
107
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n font-family: sans-serif;\n background-color: ", ";\n"])), function (_ref2) {
|
108
|
+
var backgroundColor = _ref2.backgroundColor;
|
109
|
+
return backgroundColor || 'transparent';
|
110
|
+
});
|
111
|
+
|
112
|
+
var CoverWrapper = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 300px;\n"])));
|
113
|
+
|
114
|
+
var Cover = _styledComponents.default.img(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n"])));
|
115
|
+
|
116
|
+
var Details = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n padding: 10px;\n"])));
|
117
|
+
|
118
|
+
var Header = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
|
119
|
+
|
120
|
+
var Title = _styledComponents.default.h3(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 100;\n color: ", ";\n font-size: ", "px;\n"])), function (_ref3) {
|
121
|
+
var color = _ref3.color;
|
122
|
+
return color;
|
123
|
+
}, function (_ref4) {
|
124
|
+
var size = _ref4.size;
|
125
|
+
return size;
|
126
|
+
});
|
127
|
+
|
128
|
+
var Date = _styledComponents.default.h5(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 100;\n color: ", ";\n font-size: ", "px;\n"])), function (_ref5) {
|
129
|
+
var color = _ref5.color;
|
130
|
+
return color;
|
131
|
+
}, function (_ref6) {
|
132
|
+
var size = _ref6.size;
|
133
|
+
return size;
|
134
|
+
});
|
135
|
+
|
136
|
+
var Disc = _styledComponents.default.p(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: ", "px;\n"])), function (_ref7) {
|
137
|
+
var discColor = _ref7.discColor;
|
138
|
+
return discColor;
|
139
|
+
}, function (_ref8) {
|
140
|
+
var discSize = _ref8.discSize;
|
141
|
+
return discSize;
|
142
|
+
});
|
143
|
+
|
144
|
+
Event.defaultProps = {};
|
145
|
+
var _default = Event;
|
146
|
+
exports.default = _default;
|
@@ -0,0 +1,136 @@
|
|
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 _Gallery = _interopRequireDefault(require("../../Reusable Components/Gallery/Gallery"));
|
25
|
+
|
26
|
+
var _CreateFolderModal = _interopRequireDefault(require("../../Modals/CreateFolderModal/CreateFolderModal"));
|
27
|
+
|
28
|
+
var _FoldersConfigModal = _interopRequireDefault(require("../../Modals/FoldersConfigModal/FoldersConfigModal"));
|
29
|
+
|
30
|
+
var _templateObject;
|
31
|
+
|
32
|
+
var _excluded = ["folders", "folderTitle", "columnsNumber", "columnGap", "rowGap", "cardClicked", "iconColor", "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 galleryControls = [{
|
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 Folders = function Folders(_ref) {
|
54
|
+
var folders = _ref.folders,
|
55
|
+
folderTitle = _ref.folderTitle,
|
56
|
+
columnsNumber = _ref.columnsNumber,
|
57
|
+
columnGap = _ref.columnGap,
|
58
|
+
rowGap = _ref.rowGap,
|
59
|
+
cardClicked = _ref.cardClicked,
|
60
|
+
iconColor = _ref.iconColor,
|
61
|
+
community = _ref.community,
|
62
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
63
|
+
|
64
|
+
var _useState = (0, _react.useState)(false),
|
65
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
66
|
+
showModal = _useState2[0],
|
67
|
+
setShowModal = _useState2[1];
|
68
|
+
|
69
|
+
var _useState3 = (0, _react.useState)(false),
|
70
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
71
|
+
showConfigModal = _useState4[0],
|
72
|
+
setShowConfigModal = _useState4[1];
|
73
|
+
|
74
|
+
var cancelConfig = function cancelConfig() {
|
75
|
+
setShowConfigModal(false);
|
76
|
+
localStorage.removeItem('formStyles');
|
77
|
+
};
|
78
|
+
|
79
|
+
var onIconClicked = function onIconClicked(action) {
|
80
|
+
if (!props.preview) {
|
81
|
+
switch (action) {
|
82
|
+
case 'add':
|
83
|
+
setShowModal(true);
|
84
|
+
break;
|
85
|
+
|
86
|
+
case 'config':
|
87
|
+
setShowConfigModal(true);
|
88
|
+
break;
|
89
|
+
|
90
|
+
default:
|
91
|
+
break;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
};
|
95
|
+
|
96
|
+
var cardIconClicked = function cardIconClicked(action, index) {
|
97
|
+
props.cardIconClicked(action, index);
|
98
|
+
};
|
99
|
+
|
100
|
+
var closeModal = function closeModal() {
|
101
|
+
setShowModal(false);
|
102
|
+
};
|
103
|
+
|
104
|
+
var onAddFolder = function onAddFolder(folder) {
|
105
|
+
props.onAddFolder(folder);
|
106
|
+
setShowModal(false);
|
107
|
+
};
|
108
|
+
|
109
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_Gallery.default, Object.assign({
|
110
|
+
galleryTitle: props.title || "Your Folders",
|
111
|
+
data: folders,
|
112
|
+
type: "flat",
|
113
|
+
cardStyle: "card-style-10",
|
114
|
+
galleryControls: galleryControls,
|
115
|
+
iconClicked: onIconClicked,
|
116
|
+
cardClicked: cardClicked,
|
117
|
+
cardIconClicked: cardIconClicked,
|
118
|
+
cardControls: cardControls,
|
119
|
+
rowsHeight: 140
|
120
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_CreateFolderModal.default, {
|
121
|
+
showModal: showModal,
|
122
|
+
closeModal: closeModal,
|
123
|
+
onAddFolder: onAddFolder
|
124
|
+
}), /*#__PURE__*/_react.default.createElement(_FoldersConfigModal.default, {
|
125
|
+
showConfigModal: showConfigModal,
|
126
|
+
cancelConfig: cancelConfig,
|
127
|
+
folders: folders,
|
128
|
+
community: community
|
129
|
+
}));
|
130
|
+
};
|
131
|
+
|
132
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background-color: transparent;\n"])));
|
133
|
+
|
134
|
+
Folders.defaultProps = {};
|
135
|
+
var _default = Folders;
|
136
|
+
exports.default = _default;
|
@@ -0,0 +1,136 @@
|
|
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("../../Reusable Components/ReusableList/ReusableList"));
|
21
|
+
|
22
|
+
var _AddSongModal = _interopRequireDefault(require("../../Modals/AddSongModal/AddSongModal"));
|
23
|
+
|
24
|
+
var _MusicAlbumConfigModal = _interopRequireDefault(require("../../Modals/MusicAlbumConfigModal/MusicAlbumConfigModal"));
|
25
|
+
|
26
|
+
var _ai = require("react-icons/ai");
|
27
|
+
|
28
|
+
var _bs = require("react-icons/bs");
|
29
|
+
|
30
|
+
var _templateObject;
|
31
|
+
|
32
|
+
var _excluded = ["album", "cardBackgroundColor", "songTitleColor", "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 Album'
|
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.AiOutlineDelete, null),
|
49
|
+
action: 'delete',
|
50
|
+
name: 'Delete album'
|
51
|
+
}];
|
52
|
+
|
53
|
+
var ViewAlbum = function ViewAlbum(_ref) {
|
54
|
+
var album = _ref.album,
|
55
|
+
cardBackgroundColor = _ref.cardBackgroundColor,
|
56
|
+
songTitleColor = _ref.songTitleColor,
|
57
|
+
community = _ref.community,
|
58
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
59
|
+
|
60
|
+
var _useState = (0, _react.useState)(false),
|
61
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
62
|
+
showModal = _useState2[0],
|
63
|
+
setShowModal = _useState2[1];
|
64
|
+
|
65
|
+
var _useState3 = (0, _react.useState)(false),
|
66
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
67
|
+
showConfigModal = _useState4[0],
|
68
|
+
setShowConfigModal = _useState4[1];
|
69
|
+
|
70
|
+
var onIconClicked = function onIconClicked(action) {
|
71
|
+
if (!props.preview) {
|
72
|
+
switch (action) {
|
73
|
+
case 'add':
|
74
|
+
setShowModal(true);
|
75
|
+
break;
|
76
|
+
|
77
|
+
case 'config':
|
78
|
+
setShowConfigModal(true);
|
79
|
+
break;
|
80
|
+
|
81
|
+
default:
|
82
|
+
break;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
};
|
86
|
+
|
87
|
+
var cardIconClicked = function cardIconClicked(action, index) {
|
88
|
+
if (!props.preview) {
|
89
|
+
props.cardIconClicked(action, index);
|
90
|
+
}
|
91
|
+
};
|
92
|
+
|
93
|
+
var onAddSong = function onAddSong(song) {
|
94
|
+
setShowModal(false);
|
95
|
+
props.onAddSong(song);
|
96
|
+
};
|
97
|
+
|
98
|
+
var closeModal = function closeModal() {
|
99
|
+
setShowModal(false);
|
100
|
+
};
|
101
|
+
|
102
|
+
var closeConfigModal = function closeConfigModal() {
|
103
|
+
localStorage.removeItem('formStyles');
|
104
|
+
setShowConfigModal(false);
|
105
|
+
};
|
106
|
+
|
107
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_ReusableList.default, Object.assign({
|
108
|
+
listTitle: props.title || "My Album",
|
109
|
+
data: album,
|
110
|
+
cardStyle: "card-style-7",
|
111
|
+
type: "flat",
|
112
|
+
cardClicked: function cardClicked(index) {
|
113
|
+
return props.cardClicked(index);
|
114
|
+
},
|
115
|
+
iconClicked: onIconClicked,
|
116
|
+
listControls: listControls,
|
117
|
+
cardControls: cardControls,
|
118
|
+
cardIconClicked: cardIconClicked
|
119
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_AddSongModal.default, {
|
120
|
+
showModal: showModal,
|
121
|
+
closeModal: closeModal,
|
122
|
+
onAddSong: onAddSong,
|
123
|
+
cancelHandler: closeModal
|
124
|
+
}), /*#__PURE__*/_react.default.createElement(_MusicAlbumConfigModal.default, {
|
125
|
+
showConfigModal: showConfigModal,
|
126
|
+
closeModal: closeConfigModal,
|
127
|
+
album: album,
|
128
|
+
community: community
|
129
|
+
}));
|
130
|
+
};
|
131
|
+
|
132
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n"])));
|
133
|
+
|
134
|
+
ViewAlbum.defaultProps = {};
|
135
|
+
var _default = ViewAlbum;
|
136
|
+
exports.default = _default;
|
@@ -0,0 +1,130 @@
|
|
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 _Gallery = _interopRequireDefault(require("../../Reusable Components/Gallery/Gallery"));
|
21
|
+
|
22
|
+
var _CreateMusicAlbumModal = _interopRequireDefault(require("../../Modals/CreateMusicAlbumModal/CreateMusicAlbumModal"));
|
23
|
+
|
24
|
+
var _MusicAlbumsConfigModal = _interopRequireDefault(require("../../Modals/MusicAlbumsConfigModal/MusicAlbumsConfigModal"));
|
25
|
+
|
26
|
+
var _ai = require("react-icons/ai");
|
27
|
+
|
28
|
+
var _bs = require("react-icons/bs");
|
29
|
+
|
30
|
+
var _templateObject;
|
31
|
+
|
32
|
+
var _excluded = ["albums", "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 cardControls = [{
|
39
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiFillDelete, null),
|
40
|
+
action: "delete",
|
41
|
+
name: "Delete album"
|
42
|
+
}];
|
43
|
+
var galleryControls = [{
|
44
|
+
icon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlineFileAdd, null),
|
45
|
+
action: "add",
|
46
|
+
name: "Add Album"
|
47
|
+
}, {
|
48
|
+
icon: /*#__PURE__*/_react.default.createElement(_bs.BsGear, null),
|
49
|
+
action: "config",
|
50
|
+
name: "Config"
|
51
|
+
}];
|
52
|
+
|
53
|
+
var ViewAlbums = function ViewAlbums(_ref) {
|
54
|
+
var albums = _ref.albums,
|
55
|
+
community = _ref.community,
|
56
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
57
|
+
|
58
|
+
var _useState = (0, _react.useState)(false),
|
59
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
60
|
+
showModal = _useState2[0],
|
61
|
+
setShowModal = _useState2[1];
|
62
|
+
|
63
|
+
var _useState3 = (0, _react.useState)(false),
|
64
|
+
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
65
|
+
showConfigModal = _useState4[0],
|
66
|
+
setShowConfigModal = _useState4[1];
|
67
|
+
|
68
|
+
var onHeaderIconClicked = function onHeaderIconClicked(action) {
|
69
|
+
if (!props.preview) {
|
70
|
+
switch (action) {
|
71
|
+
case "add":
|
72
|
+
setShowModal(true);
|
73
|
+
break;
|
74
|
+
|
75
|
+
case "config":
|
76
|
+
setShowConfigModal(true);
|
77
|
+
break;
|
78
|
+
|
79
|
+
default:
|
80
|
+
break;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
};
|
84
|
+
|
85
|
+
var cardIconClicked = function cardIconClicked(action, index) {
|
86
|
+
props.cardIconClicked(action, index);
|
87
|
+
};
|
88
|
+
|
89
|
+
var onAddAlbum = function onAddAlbum(album) {
|
90
|
+
setShowModal(false);
|
91
|
+
props.onAddAlbum(album);
|
92
|
+
};
|
93
|
+
|
94
|
+
var closeModal = function closeModal() {
|
95
|
+
setShowModal(false);
|
96
|
+
};
|
97
|
+
|
98
|
+
var cancelConfig = function cancelConfig() {
|
99
|
+
setShowConfigModal(false);
|
100
|
+
localStorage.removeItem("formStyles");
|
101
|
+
};
|
102
|
+
|
103
|
+
return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_Gallery.default, Object.assign({
|
104
|
+
galleryTitle: props.title || "Music Albums",
|
105
|
+
data: albums,
|
106
|
+
type: "flat",
|
107
|
+
cardStyle: "card-style-6",
|
108
|
+
galleryControls: galleryControls,
|
109
|
+
iconClicked: onHeaderIconClicked,
|
110
|
+
cardControls: cardControls,
|
111
|
+
cardIconClicked: cardIconClicked
|
112
|
+
}, props)), /*#__PURE__*/_react.default.createElement(_CreateMusicAlbumModal.default, {
|
113
|
+
showModal: showModal,
|
114
|
+
onAddAlbum: onAddAlbum,
|
115
|
+
closeModal: closeModal,
|
116
|
+
saveBtnText: props.saveBtnText,
|
117
|
+
cancelBtnText: props.cancelBtnText
|
118
|
+
}), /*#__PURE__*/_react.default.createElement(_MusicAlbumsConfigModal.default, {
|
119
|
+
showConfigModal: showConfigModal,
|
120
|
+
cancelConfig: cancelConfig,
|
121
|
+
albums: albums,
|
122
|
+
community: community
|
123
|
+
}));
|
124
|
+
};
|
125
|
+
|
126
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n"])));
|
127
|
+
|
128
|
+
ViewAlbums.defaultProps = {};
|
129
|
+
var _default = ViewAlbums;
|
130
|
+
exports.default = _default;
|
@@ -0,0 +1,27 @@
|
|
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 _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
11
|
+
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
13
|
+
|
14
|
+
var _EditorComponent = _interopRequireDefault(require("../../Common Inputs/EditorComponent/EditorComponent"));
|
15
|
+
|
16
|
+
var _excluded = ["data"];
|
17
|
+
|
18
|
+
var ViewNote = function ViewNote(_ref) {
|
19
|
+
var data = _ref.data,
|
20
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_react.default.createElement(_EditorComponent.default, {
|
22
|
+
data: data
|
23
|
+
});
|
24
|
+
};
|
25
|
+
|
26
|
+
var _default = ViewNote;
|
27
|
+
exports.default = _default;
|