@mohamed-karawia/library 0.1.21 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. package/dist/index.js +26 -26
  2. package/dist/stories/Chat/Chat.js +24 -31
  3. package/dist/stories/Community/Community.js +54 -34
  4. package/dist/stories/Events/Event/Event.js +12 -4
  5. package/dist/stories/Events/EventsList/EventsList.js +14 -7
  6. package/dist/stories/Forms/AddPhoto/AddPhoto.js +8 -7
  7. package/dist/stories/Forms/CreateEvent/CreateEvent.js +115 -0
  8. package/dist/stories/Forms/CreateFolder/CreateFolder.js +87 -0
  9. package/dist/stories/Forms/CreateSong/CreateSong.js +98 -0
  10. package/dist/stories/Library/Folders/Folders.js +27 -17
  11. package/dist/stories/Library/Notes/Notes.js +29 -18
  12. package/dist/stories/Modals/AddPhotoAlbum/AddPhotoAlbum.js +38 -0
  13. package/dist/stories/Modals/AddPhotoModal/AddPhotoModal.js +40 -0
  14. package/dist/stories/Modals/AddSongModal/AddSongModal.js +41 -0
  15. package/dist/stories/Modals/AddVideoAlbumModal/AddVideoAlbumModal.js +41 -0
  16. package/dist/stories/Modals/AddVideoModal/AddVideoModal.js +39 -0
  17. package/dist/stories/Modals/ChatConfigModal/ChatContifgModal.js +93 -0
  18. package/dist/stories/Modals/CreateEventModal/CreateEventModal.js +42 -0
  19. package/dist/stories/Modals/CreateFolderModal/CreateFolderModal.js +36 -0
  20. package/dist/stories/Modals/CreateMusicAlbumModal/CreateMusicAlbumModal.js +41 -0
  21. package/dist/stories/Modals/CreateNoteModal/CreateNoteModal.js +42 -0
  22. package/dist/stories/Modals/EventConfigModal/EventConfigModal.js +99 -0
  23. package/dist/stories/Modals/EventsConfigModal/EventsConfigModal.js +87 -0
  24. package/dist/stories/Modals/FoldersConfigModal/FoldersConfigModal.js +87 -0
  25. package/dist/stories/Modals/MusicAlbumConfigModal/MusicAlbumConfigModal.js +88 -0
  26. package/dist/stories/Modals/MusicAlbumsConfigModal/MusicAlbumsConfigModal.js +87 -0
  27. package/dist/stories/Modals/NotesConfigModal/NotesConfigModal.js +87 -0
  28. package/dist/stories/Modals/PhotoAlbumConfigModal/PhotoAlbumConfigModal.js +88 -0
  29. package/dist/stories/Modals/PhotoAlbumsConfigModal/PhotoAlbumsConfigModal.js +88 -0
  30. package/dist/stories/Modals/ShowImgModal/ShowImgModal.js +62 -0
  31. package/dist/stories/Modals/VideoAlbumConfigModal/VideoAlbumConfigModal.js +88 -0
  32. package/dist/stories/Modals/VideoAlbumsConfigModal/VideoAlbumsConfigModal.js +89 -0
  33. package/dist/stories/Modals/VideoConfigModal/VideoConfigModal.js +99 -0
  34. package/dist/stories/Music Album/ViewAlbum/ViewAlbum.js +8 -44
  35. package/dist/stories/Music Album/ViewAlbums/ViewAlbums.js +57 -37
  36. package/dist/stories/Pages/Chat/Chat.js +1 -1
  37. package/dist/stories/Pages/Events/Event/Event.js +1 -1
  38. package/dist/stories/Pages/Events/Events/Events.js +1 -1
  39. package/dist/stories/Pages/Library/Folders/Library.js +2 -2
  40. package/dist/stories/Pages/Library/Notes/Notes.js +2 -2
  41. package/dist/stories/Pages/Music/MusicAlbum/Music.js +2 -2
  42. package/dist/stories/Pages/Music/MusicAlbums/MusicAlbums.js +2 -2
  43. package/dist/stories/Pages/Photos/Album/Album.js +2 -2
  44. package/dist/stories/Pages/Photos/Albums/Albums.js +2 -2
  45. package/dist/stories/Pages/Video/DetailedVideo/DetailedVideo.js +2 -2
  46. package/dist/stories/Pages/Video/VideoAlbum/Video.js +2 -2
  47. package/dist/stories/Photo Album/ViewAlbum/ViewAlbum.js +26 -16
  48. package/dist/stories/Photo Album/ViewAlbums/ViewAlbums.js +11 -4
  49. package/dist/stories/PreviewComponents/ChatPreview/ChatPreview.js +7 -5
  50. package/dist/stories/PreviewComponents/EventPreview/EventPreview.js +7 -5
  51. package/dist/stories/PreviewComponents/EventsPreview/EventsPreview.js +7 -5
  52. package/dist/stories/PreviewComponents/FoldersPreview/FoldersPreview.js +7 -5
  53. package/dist/stories/PreviewComponents/MusicAlbumPreview/MusicAlbumPreview.js +6 -4
  54. package/dist/stories/PreviewComponents/MusicAlbumsPreview/MusicAlbumsPreview.js +8 -7
  55. package/dist/stories/PreviewComponents/MusicPlayerPreview/MusicPlayerPreview.js +7 -5
  56. package/dist/stories/PreviewComponents/NavbarPreview/NavbarPreview.js +7 -5
  57. package/dist/stories/PreviewComponents/NotesPreview/NotesPreview.js +7 -5
  58. package/dist/stories/PreviewComponents/PhotoAlbumPreview/PhotoAlbumPreview.js +7 -5
  59. package/dist/stories/PreviewComponents/PhotoAlbumsPreview/PhotoAlbumsPreview.js +7 -5
  60. package/dist/stories/PreviewComponents/SpacesListPreview/SpacesListPreview.js +7 -5
  61. package/dist/stories/PreviewComponents/VideoAlbumPreview/VideoAlbumPreview.js +7 -5
  62. package/dist/stories/PreviewComponents/VideoAlbumsPreview/VideoAlbumsPreview.js +7 -5
  63. package/dist/stories/PreviewComponents/VideoPreview/VideoPreview.js +7 -5
  64. package/dist/stories/Reusable Components/Comments/Comments.js +58 -0
  65. package/dist/stories/Reusable Components/Community/Community.js +12 -34
  66. package/dist/stories/Reusable Components/Sections/Sections.js +67 -0
  67. package/dist/stories/Spaces/Chat/Chat.js +103 -0
  68. package/dist/stories/Spaces/EventsList/EventsList.js +140 -0
  69. package/dist/stories/Spaces/NotesList/NotesList.js +144 -0
  70. package/dist/stories/Spaces/ViewDetailedPhoto/ViewDetailedPhoto.js +24 -0
  71. package/dist/stories/Spaces/ViewEvent/Event.js +146 -0
  72. package/dist/stories/Spaces/ViewFolders/ViewFolders.js +136 -0
  73. package/dist/stories/Spaces/ViewMusicAlbumList/ViewMusicAlbumList.js +136 -0
  74. package/dist/stories/Spaces/ViewMusicAlbums/ViewMusicAlbums.js +130 -0
  75. package/dist/stories/Spaces/ViewNote/ViewNote.js +27 -0
  76. package/dist/stories/Spaces/ViewPhotoAlbumList/ViewPhotoAlbumList.js +231 -0
  77. package/dist/stories/Spaces/ViewPhotoAlbums/ViewPhotoAlbums.js +131 -0
  78. package/dist/stories/Spaces/ViewVideo/ViewVideo.js +169 -0
  79. package/dist/stories/Spaces/ViewVideoAlbumList/ViewVideoAlbumList.js +157 -0
  80. package/dist/stories/Spaces/ViewVideoAlbums/ViewVideoAlbums.js +164 -0
  81. package/dist/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.js +11 -4
  82. package/dist/stories/VideoAlbum/VideoSpace/VideoSpace.js +17 -6
  83. package/dist/stories/VideoAlbum/ViewAlbum/ViewAlbum.js +24 -25
  84. package/dist/stories/Widgets/VideoPlayer/VideoPlayer.js +235 -0
  85. package/dist/stories/helpers/util.js +24 -24
  86. package/dist/stories/store/actions/actions.js +16 -0
  87. package/dist/stories/store/communities.js +27 -29
  88. package/dist/stories/store/community.js +941 -0
  89. package/dist/stories/store/store.js +9 -4
  90. package/package.json +1 -1
  91. package/src/index.js +16 -16
  92. package/src/stories/Community/Community.jsx +31 -32
  93. package/src/stories/Forms/AddPhoto/AddPhoto.jsx +72 -72
  94. package/src/stories/{Events → Forms}/CreateEvent/CreateEvent.jsx +5 -1
  95. package/src/stories/{Library → Forms}/CreateFolder/CreateFolder.jsx +0 -0
  96. package/src/stories/Forms/{AddSong/AddSong.jsx → CreateSong/CreateSong.jsx} +0 -0
  97. package/src/stories/Modals/AddPhotoAlbum/AddPhotoAlbum.jsx +27 -0
  98. package/src/stories/Modals/AddPhotoModal/AddPhotoModal.jsx +29 -0
  99. package/src/stories/Modals/AddSongModal/AddSongModal.jsx +37 -0
  100. package/src/stories/Modals/AddVideoAlbumModal/AddVideoAlbumModal.jsx +38 -0
  101. package/src/stories/Modals/AddVideoModal/AddVideoModal.jsx +35 -0
  102. package/src/stories/Modals/ChatConfigModal/ChatContifgModal.jsx +77 -0
  103. package/src/stories/Modals/CreateEventModal/CreateEventModal.jsx +30 -0
  104. package/src/stories/Modals/CreateFolderModal/CreateFolderModal.jsx +39 -0
  105. package/src/stories/Modals/CreateMusicAlbumModal/CreateMusicAlbumModal.jsx +37 -0
  106. package/src/stories/Modals/CreateNoteModal/CreateNoteModal.jsx +43 -0
  107. package/src/stories/Modals/EventConfigModal/EventConfigModal.jsx +74 -0
  108. package/src/stories/Modals/EventsConfigModal/EventsConfigModal.jsx +67 -0
  109. package/src/stories/Modals/FoldersConfigModal/FoldersConfigModal.jsx +66 -0
  110. package/src/stories/Modals/MusicAlbumConfigModal/MusicAlbumConfigModal.jsx +69 -0
  111. package/src/stories/Modals/MusicAlbumsConfigModal/MusicAlbumsConfigModal.jsx +73 -0
  112. package/src/stories/Modals/NotesConfigModal/NotesConfigModal.jsx +65 -0
  113. package/src/stories/Modals/PhotoAlbumConfigModal/PhotoAlbumConfigModal.jsx +71 -0
  114. package/src/stories/Modals/PhotoAlbumsConfigModal/PhotoAlbumsConfigModal.jsx +69 -0
  115. package/src/stories/Modals/ShowImgModal/ShowImgModal.jsx +87 -0
  116. package/src/stories/Modals/VideoAlbumConfigModal/VideoAlbumConfigModal.jsx +67 -0
  117. package/src/stories/Modals/VideoAlbumsConfigModal/VideoAlbumsConfigModal.jsx +67 -0
  118. package/src/stories/Modals/VideoConfigModal/VideoConfigModal.jsx +78 -0
  119. package/src/stories/Pages/Chat/Chat.jsx +1 -1
  120. package/src/stories/Pages/Events/Event/Event.jsx +1 -1
  121. package/src/stories/Pages/Events/Events/Events.jsx +1 -1
  122. package/src/stories/Pages/Library/Folders/Library.jsx +1 -1
  123. package/src/stories/Pages/Library/Notes/Notes.jsx +1 -1
  124. package/src/stories/Pages/Music/MusicAlbum/Music.jsx +1 -1
  125. package/src/stories/Pages/Music/MusicAlbums/MusicAlbums.jsx +1 -1
  126. package/src/stories/Pages/Photos/Album/Album.jsx +1 -1
  127. package/src/stories/Pages/Photos/Albums/Albums.jsx +1 -1
  128. package/src/stories/Pages/Video/DetailedVideo/DetailedVideo.jsx +1 -1
  129. package/src/stories/Pages/Video/VideoAlbum/Video.jsx +1 -1
  130. package/src/stories/PreviewComponents/ChatPreview/ChatPreview.jsx +106 -104
  131. package/src/stories/PreviewComponents/EventPreview/EventPreview.jsx +7 -5
  132. package/src/stories/PreviewComponents/EventsPreview/EventsPreview.jsx +106 -104
  133. package/src/stories/PreviewComponents/FoldersPreview/FoldersPreview.jsx +8 -6
  134. package/src/stories/PreviewComponents/MusicAlbumPreview/MusicAlbumPreview.jsx +6 -4
  135. package/src/stories/PreviewComponents/MusicAlbumsPreview/MusicAlbumsPreview.jsx +13 -11
  136. package/src/stories/PreviewComponents/MusicPlayerPreview/MusicPlayerPreview.jsx +36 -34
  137. package/src/stories/PreviewComponents/NavbarPreview/NavbarPreview.jsx +18 -16
  138. package/src/stories/PreviewComponents/NotesPreview/NotesPreview.jsx +7 -5
  139. package/src/stories/PreviewComponents/PhotoAlbumPreview/PhotoAlbumPreview.jsx +105 -103
  140. package/src/stories/PreviewComponents/PhotoAlbumsPreview/PhotoAlbumsPreview.jsx +8 -6
  141. package/src/stories/PreviewComponents/SpacesListPreview/SpacesListPreview.jsx +10 -8
  142. package/src/stories/PreviewComponents/VideoAlbumPreview/VideoAlbumPreview.jsx +7 -5
  143. package/src/stories/PreviewComponents/VideoAlbumsPreview/VideoAlbumsPreview.jsx +7 -5
  144. package/src/stories/PreviewComponents/VideoPreview/VideoPreview.jsx +7 -5
  145. package/src/stories/{VideoAlbum → Reusable Components}/Comments/Comments.jsx +0 -0
  146. package/src/stories/Reusable Components/Community/Community.jsx +10 -33
  147. package/src/stories/{Sections/Sections.jsx → Reusable Components/Sections/Sections.jsx } +1 -1
  148. package/src/stories/Spaces/Chat/Chat.jsx +77 -0
  149. package/src/stories/Spaces/EventsList/EventsList.jsx +118 -0
  150. package/src/stories/Spaces/NotesList/NotesList.jsx +125 -0
  151. package/src/stories/{Photo Album/DetailedPhoto/DetailedPhoto.jsx → Spaces/ViewDetailedPhoto/ViewDetailedPhoto.jsx} +1 -1
  152. package/src/stories/{Events/Event → Spaces/ViewEvent}/Event.jsx +17 -73
  153. package/src/stories/Spaces/ViewFolders/ViewFolders.jsx +122 -0
  154. package/src/stories/Spaces/ViewMusicAlbumList/ViewMusicAlbumList.jsx +118 -0
  155. package/src/stories/Spaces/ViewMusicAlbums/ViewMusicAlbums.jsx +108 -0
  156. package/src/stories/{Library → Spaces}/ViewNote/ViewNote.jsx +0 -0
  157. package/src/stories/{Photo Album/ViewAlbum/ViewAlbum.jsx → Spaces/ViewPhotoAlbumList/ViewPhotoAlbumList.jsx} +48 -134
  158. package/src/stories/{Photo Album/ViewAlbums/ViewAlbums.jsx → Spaces/ViewPhotoAlbums/ViewPhotoAlbums.jsx} +22 -54
  159. package/src/stories/{VideoAlbum/VideoSpace/VideoSpace.jsx → Spaces/ViewVideo/ViewVideo.jsx} +21 -47
  160. package/src/stories/{VideoAlbum/ViewAlbum/ViewAlbum.jsx → Spaces/ViewVideoAlbumList/ViewVideoAlbumList.jsx} +31 -78
  161. package/src/stories/{VideoAlbum/AlbumsGallery/AlbumsGallery.jsx → Spaces/ViewVideoAlbums/ViewVideoAlbums.jsx} +20 -51
  162. package/src/stories/{VideoAlbum → Widgets}/VideoPlayer/VideoPlayer.jsx +0 -0
  163. package/src/stories/helpers/util.js +13 -13
  164. package/src/stories/store/actions/actions.js +7 -0
  165. package/src/stories/store/{communities.js → community.js} +27 -29
  166. package/src/stories/store/store.js +3 -4
  167. package/src/stories/Chat/Chat.jsx +0 -148
  168. package/src/stories/Events/EventsList/EventsList.jsx +0 -180
  169. package/src/stories/Library/Folders/Folders.jsx +0 -187
  170. package/src/stories/Library/Notes/Notes.jsx +0 -161
  171. package/src/stories/Music Album/ViewAlbum/ViewAlbum.jsx +0 -216
  172. package/src/stories/Music Album/ViewAlbums/ViewAlbums.jsx +0 -152
@@ -37,7 +37,7 @@ var _Tabs = _interopRequireDefault(require("../../Reusable Components/Tabs/Tabs"
37
37
 
38
38
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
39
39
 
40
- var _excluded = ["videoSrc", "title", "discription", "date", "users", "iconsColor", "backgroundColor", "detailsPadding", "titleFontSize", "titleColor", "dateFontSize", "dateColor", "discFontSize", "discColor", "comments", "commentBackgroundColor", "commentTitleColor", "commentTitleFontSize"];
40
+ var _excluded = ["videoSrc", "title", "discription", "date", "users", "iconsColor", "backgroundColor", "detailsPadding", "titleFontSize", "titleColor", "dateFontSize", "dateColor", "discFontSize", "discColor", "comments", "commentBackgroundColor", "commentTitleColor", "commentTitleFontSize", "community"];
41
41
 
42
42
  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); }
43
43
 
@@ -68,6 +68,7 @@ var VideoSpace = function VideoSpace(_ref) {
68
68
  commentBackgroundColor = _ref.commentBackgroundColor,
69
69
  commentTitleColor = _ref.commentTitleColor,
70
70
  commentTitleFontSize = _ref.commentTitleFontSize,
71
+ community = _ref.community,
71
72
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
72
73
 
73
74
  var _useState = (0, _react.useState)(false),
@@ -76,7 +77,10 @@ var VideoSpace = function VideoSpace(_ref) {
76
77
  setShowConfigModal = _useState2[1];
77
78
 
78
79
  var _useState3 = (0, _react.useState)( /*#__PURE__*/_react.default.createElement(VideoSpace, {
79
- videoSrc: videoSrc
80
+ users: users,
81
+ preview: true,
82
+ videoSrc: videoSrc,
83
+ comments: comments
80
84
  })),
81
85
  _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
82
86
  centerContext = _useState4[0],
@@ -84,7 +88,10 @@ var VideoSpace = function VideoSpace(_ref) {
84
88
 
85
89
  var formChanged = function formChanged(values) {
86
90
  setCenterContext( /*#__PURE__*/_react.default.createElement(VideoSpace, Object.assign({
87
- videoSrc: videoSrc
91
+ users: users,
92
+ preview: true,
93
+ videoSrc: videoSrc,
94
+ comments: comments
88
95
  }, values)));
89
96
  };
90
97
 
@@ -109,6 +116,11 @@ var VideoSpace = function VideoSpace(_ref) {
109
116
  }
110
117
  };
111
118
 
119
+ var cancelConfig = function cancelConfig() {
120
+ setShowConfigModal(false);
121
+ localStorage.removeItem('formStyles');
122
+ };
123
+
112
124
  return /*#__PURE__*/_react.default.createElement(Container, {
113
125
  backgroundColor: backgroundColor
114
126
  }, /*#__PURE__*/_react.default.createElement(_ReusableHeader.default, Object.assign({
@@ -138,9 +150,7 @@ var VideoSpace = function VideoSpace(_ref) {
138
150
  users: users
139
151
  }), /*#__PURE__*/_react.default.createElement(_ReactModal.default, {
140
152
  modalIsOpen: showConfigModal,
141
- closeModal: function closeModal() {
142
- return setShowConfigModal(false);
143
- },
153
+ closeModal: cancelConfig,
144
154
  exitModalButton: function exitModalButton(e) {
145
155
  return /*#__PURE__*/_react.default.createElement("div", null);
146
156
  }
@@ -160,6 +170,7 @@ var VideoSpace = function VideoSpace(_ref) {
160
170
  id: "preview"
161
171
  }), /*#__PURE__*/_react.default.createElement(_Community.default, {
162
172
  center: centerContext,
173
+ community: community,
163
174
  id: "community"
164
175
  }))));
165
176
  };
@@ -37,7 +37,7 @@ var _bs = require("react-icons/bs");
37
37
 
38
38
  var _templateObject;
39
39
 
40
- var _excluded = ["album", "cardBackgroundColor", "cardTitleColor", "cardTitleFontSize", "descColor"];
40
+ var _excluded = ["album", "cardBackgroundColor", "cardTitleColor", "cardTitleFontSize", "descColor", "community"];
41
41
 
42
42
  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); }
43
43
 
@@ -68,6 +68,7 @@ var ViewAlbum = function ViewAlbum(_ref) {
68
68
  cardTitleColor = _ref.cardTitleColor,
69
69
  cardTitleFontSize = _ref.cardTitleFontSize,
70
70
  descColor = _ref.descColor,
71
+ community = _ref.community,
71
72
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
72
73
 
73
74
  var _useState = (0, _react.useState)(false),
@@ -81,6 +82,7 @@ var ViewAlbum = function ViewAlbum(_ref) {
81
82
  setShowConfigModal = _useState4[1];
82
83
 
83
84
  var _useState5 = (0, _react.useState)( /*#__PURE__*/_react.default.createElement(ViewAlbum, {
85
+ preview: true,
84
86
  album: album
85
87
  })),
86
88
  _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
@@ -90,6 +92,7 @@ var ViewAlbum = function ViewAlbum(_ref) {
90
92
  var formChanged = function formChanged(values) {
91
93
  console.log('context changed');
92
94
  setCenterContext( /*#__PURE__*/_react.default.createElement(ViewAlbum, Object.assign({
95
+ preview: true,
93
96
  album: album
94
97
  }, values)));
95
98
  };
@@ -101,16 +104,6 @@ var ViewAlbum = function ViewAlbum(_ref) {
101
104
  title: 'Context',
102
105
  id: 'community'
103
106
  }];
104
- var sections = [{
105
- title: 'Styles',
106
- data: [{
107
- title: 'Styling',
108
- component: /*#__PURE__*/_react.default.createElement(_Tabs.default, {
109
- title: "Video Album Config",
110
- tabs: tabs
111
- })
112
- }]
113
- }];
114
107
  var cardStyles = {
115
108
  darkOnHover: true,
116
109
  cardBackgroundColor: cardBackgroundColor,
@@ -132,17 +125,19 @@ var ViewAlbum = function ViewAlbum(_ref) {
132
125
  };
133
126
 
134
127
  var onHeaderIconClicked = function onHeaderIconClicked(action) {
135
- switch (action) {
136
- case 'add':
137
- setShowModal(true);
138
- break;
139
-
140
- case 'config':
141
- setShowConfigModal(true);
142
- break;
143
-
144
- default:
145
- break;
128
+ if (!props.preview) {
129
+ switch (action) {
130
+ case 'add':
131
+ setShowModal(true);
132
+ break;
133
+
134
+ case 'config':
135
+ setShowConfigModal(true);
136
+ break;
137
+
138
+ default:
139
+ break;
140
+ }
146
141
  }
147
142
  };
148
143
 
@@ -159,6 +154,11 @@ var ViewAlbum = function ViewAlbum(_ref) {
159
154
  setShowModal(false);
160
155
  };
161
156
 
157
+ var cancelConfig = function cancelConfig() {
158
+ setShowConfigModal(false);
159
+ localStorage.removeItem('formStyles');
160
+ };
161
+
162
162
  return /*#__PURE__*/_react.default.createElement(Container, null, /*#__PURE__*/_react.default.createElement(_Gallery.default, Object.assign({
163
163
  galleryTitle: props.title || "Video Album",
164
164
  data: album,
@@ -182,9 +182,7 @@ var ViewAlbum = function ViewAlbum(_ref) {
182
182
  cancelHandler: cancelHandler
183
183
  })), /*#__PURE__*/_react.default.createElement(_ReactModal.default, {
184
184
  modalIsOpen: showConfigModal,
185
- closeModal: function closeModal() {
186
- return setShowConfigModal(false);
187
- },
185
+ closeModal: cancelConfig,
188
186
  exitModalButton: function exitModalButton(e) {
189
187
  return /*#__PURE__*/_react.default.createElement("div", null);
190
188
  }
@@ -201,6 +199,7 @@ var ViewAlbum = function ViewAlbum(_ref) {
201
199
  id: "preview"
202
200
  }), /*#__PURE__*/_react.default.createElement(_Community.default, {
203
201
  center: centerContext,
202
+ community: community,
204
203
  id: "community"
205
204
  }))));
206
205
  };
@@ -0,0 +1,235 @@
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 _reactPlayer = _interopRequireDefault(require("react-player"));
21
+
22
+ var _reactTimeSeekSlider = require("react-time-seek-slider");
23
+
24
+ require("react-time-seek-slider/lib/ui-time-seek-slider.css");
25
+
26
+ var _rcSlider = _interopRequireDefault(require("rc-slider"));
27
+
28
+ var _ai = require("react-icons/ai");
29
+
30
+ var _bi = require("react-icons/bi");
31
+
32
+ var _im = require("react-icons/im");
33
+
34
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
35
+
36
+ var _excluded = ["src", "iconsColor", "onHoverIconsColor"];
37
+
38
+ 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); }
39
+
40
+ 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; }
41
+
42
+ var VideoPlayer = function VideoPlayer(_ref) {
43
+ var src = _ref.src,
44
+ iconsColor = _ref.iconsColor,
45
+ onHoverIconsColor = _ref.onHoverIconsColor,
46
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
47
+ var player = (0, _react.useRef)(null);
48
+
49
+ var _useState = (0, _react.useState)(false),
50
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
51
+ play = _useState2[0],
52
+ setPlay = _useState2[1];
53
+
54
+ var _useState3 = (0, _react.useState)(0),
55
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
56
+ duration = _useState4[0],
57
+ setDuration = _useState4[1];
58
+
59
+ var _useState5 = (0, _react.useState)(0),
60
+ _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
61
+ progress = _useState6[0],
62
+ setProgress = _useState6[1];
63
+
64
+ var _useState7 = (0, _react.useState)(1),
65
+ _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
66
+ volume = _useState8[0],
67
+ setVolume = _useState8[1];
68
+
69
+ var _useState9 = (0, _react.useState)(false),
70
+ _useState10 = (0, _slicedToArray2.default)(_useState9, 2),
71
+ muted = _useState10[0],
72
+ setMuted = _useState10[1];
73
+
74
+ var handleUserKeyPress = (0, _react.useCallback)(function (event) {
75
+ var keyCode = event.keyCode;
76
+
77
+ switch (keyCode) {
78
+ case 39:
79
+ goForward();
80
+ break;
81
+
82
+ case 37:
83
+ goBack();
84
+ break;
85
+
86
+ case 32:
87
+ setPlay(!play);
88
+ break;
89
+
90
+ default:
91
+ break;
92
+ }
93
+ }, []);
94
+ (0, _react.useEffect)(function () {
95
+ window.addEventListener("keydown", handleUserKeyPress);
96
+ }, [handleUserKeyPress, play]);
97
+
98
+ var onProgress = function onProgress(_ref2) {
99
+ var playedSeconds = _ref2.playedSeconds;
100
+ setProgress(playedSeconds);
101
+ };
102
+
103
+ var onDuration = function onDuration(duration) {
104
+ setDuration(duration);
105
+ };
106
+
107
+ var changeTimeStamp = function changeTimeStamp(time) {
108
+ setProgress(time);
109
+ player.current.seekTo(time, 'seconds');
110
+ };
111
+
112
+ var onVideoEnd = function onVideoEnd() {
113
+ props.nextVideo();
114
+ };
115
+
116
+ var goBack = function goBack() {
117
+ changeTimeStamp(progress - 5);
118
+ };
119
+
120
+ var goForward = function goForward() {
121
+ changeTimeStamp(progress + 5);
122
+ };
123
+
124
+ var prevVideo = function prevVideo() {
125
+ props.prevVideo();
126
+ };
127
+
128
+ var nextVideo = function nextVideo() {
129
+ props.nextVideo();
130
+ };
131
+
132
+ var toggleMute = function toggleMute() {
133
+ setMuted(!muted);
134
+ };
135
+
136
+ var changeVolume = function changeVolume(value) {
137
+ setVolume(value / 100);
138
+ };
139
+
140
+ return /*#__PURE__*/_react.default.createElement(Container, {
141
+ iconsColor: iconsColor
142
+ }, /*#__PURE__*/_react.default.createElement(_reactPlayer.default, {
143
+ ref: player,
144
+ playing: play,
145
+ volume: volume,
146
+ muted: muted,
147
+ onPlay: function onPlay() {
148
+ return setPlay(true);
149
+ },
150
+ onPause: function onPause() {
151
+ return setPlay(false);
152
+ },
153
+ onEnded: onVideoEnd,
154
+ width: "100%",
155
+ onProgress: onProgress,
156
+ onDuration: onDuration,
157
+ url: src
158
+ }), /*#__PURE__*/_react.default.createElement(Controls, null, /*#__PURE__*/_react.default.createElement(Left, {
159
+ iconsColor: iconsColor,
160
+ onHoverIconsColor: onHoverIconsColor
161
+ }, /*#__PURE__*/_react.default.createElement(_bi.BiSkipPrevious, {
162
+ onClick: prevVideo
163
+ }), /*#__PURE__*/_react.default.createElement(_im.ImBackward2, {
164
+ onClick: function onClick() {
165
+ return goBack();
166
+ }
167
+ }), /*#__PURE__*/_react.default.createElement(PlayContainer, {
168
+ onClick: function onClick() {
169
+ return setPlay(!play);
170
+ }
171
+ }, play ? /*#__PURE__*/_react.default.createElement(_ai.AiFillPauseCircle, null) : /*#__PURE__*/_react.default.createElement(_ai.AiFillPlayCircle, null)), /*#__PURE__*/_react.default.createElement(_im.ImForward3, {
172
+ onClick: function onClick() {
173
+ return goForward();
174
+ }
175
+ }), /*#__PURE__*/_react.default.createElement(_bi.BiSkipNext, {
176
+ onClick: nextVideo
177
+ })), /*#__PURE__*/_react.default.createElement(Center, null, /*#__PURE__*/_react.default.createElement(_reactTimeSeekSlider.TimeSeekSlider, {
178
+ max: duration,
179
+ currentTime: progress,
180
+ progress: 400,
181
+ onSeeking: function onSeeking(time) {
182
+ changeTimeStamp(time);
183
+ },
184
+ offset: 20,
185
+ secondsPrefix: "00:00:",
186
+ minutesPrefix: "00:"
187
+ })), /*#__PURE__*/_react.default.createElement(Right, {
188
+ iconsColor: iconsColor,
189
+ onHoverIconsColor: onHoverIconsColor
190
+ }, !muted ? /*#__PURE__*/_react.default.createElement(_ai.AiFillSound, {
191
+ onClick: toggleMute
192
+ }) : /*#__PURE__*/_react.default.createElement(_bi.BiVolumeMute, {
193
+ onClick: toggleMute
194
+ }), /*#__PURE__*/_react.default.createElement(_rcSlider.default, {
195
+ min: 0,
196
+ max: 100,
197
+ onChange: changeVolume
198
+ }))));
199
+ };
200
+
201
+ var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n\n .ui-time-seek-slider .track .main .connect{\n background-color: ", ";\n }\n\n .ui-time-seek-slider .thumb .handler{\n background-color: ", ";\n }\n"])), function (_ref3) {
202
+ var iconsColor = _ref3.iconsColor;
203
+ return iconsColor;
204
+ }, function (_ref4) {
205
+ var iconsColor = _ref4.iconsColor;
206
+ return iconsColor;
207
+ });
208
+
209
+ var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n box-sizing: border-box;\n width: 100%;\n background-color: #000000c0;\n height: 40px;\n position: absolute;\n bottom: 0;\n display: flex;\n padding: 0 10px;\n gap: 10px;\n"])));
210
+
211
+ var Left = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n gap: 10px;\n \n svg{\n width: 25px;\n height: 25px;\n fill: ", ";\n cursor: pointer;\n &:hover{\n fill: ", ";\n }\n }\n"])), function (_ref5) {
212
+ var iconsColor = _ref5.iconsColor;
213
+ return iconsColor;
214
+ }, function (_ref6) {
215
+ var onHoverIconsColor = _ref6.onHoverIconsColor;
216
+ return onHoverIconsColor;
217
+ });
218
+
219
+ var PlayContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n"])));
220
+
221
+ var Center = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n width: 70%;\n align-self: center;\n"])));
222
+
223
+ var Right = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n gap: 10px;\n flex: 2;\n \n svg{\n width: 25px;\n height: 25px;\n fill: ", ";\n cursor: pointer;\n &:hover{\n fill: ", ";\n }\n }\n"])), function (_ref7) {
224
+ var iconsColor = _ref7.iconsColor;
225
+ return iconsColor;
226
+ }, function (_ref8) {
227
+ var onHoverIconsColor = _ref8.onHoverIconsColor;
228
+ return onHoverIconsColor;
229
+ });
230
+
231
+ VideoPlayer.defaultProps = {
232
+ src: 'https://www.youtube.com/watch?v=vETUpJ88cfA'
233
+ };
234
+ var _default = VideoPlayer;
235
+ exports.default = _default;
@@ -37,11 +37,11 @@ var _MusicPlayerWidget = _interopRequireDefault(require("../Widgets/MusicPlayerW
37
37
 
38
38
  var _LogoWidget = _interopRequireDefault(require("../Widgets/LogoWidget/LogoWidget"));
39
39
 
40
- var _VideoPlayer = _interopRequireDefault(require("../VideoAlbum/VideoPlayer/VideoPlayer"));
40
+ var _VideoPlayer = _interopRequireDefault(require("../Widgets/VideoPlayer/VideoPlayer"));
41
41
 
42
- var _Notes = _interopRequireDefault(require("../Library/Notes/Notes"));
42
+ var _NotesList = _interopRequireDefault(require("../Spaces/NotesList/NotesList"));
43
43
 
44
- var _Folders = _interopRequireDefault(require("../Library/Folders/Folders"));
44
+ var _ViewFolders = _interopRequireDefault(require("../Spaces/ViewFolders/ViewFolders"));
45
45
 
46
46
  var _UsersWidget = _interopRequireDefault(require("../Widgets/UsersWidget/UsersWidget"));
47
47
 
@@ -49,25 +49,25 @@ var _SpacesListWidget = _interopRequireDefault(require("../Widgets/SpacesListWid
49
49
 
50
50
  var _Navbar = _interopRequireDefault(require("../Navbar/Navbar"));
51
51
 
52
- var _ViewAlbums = _interopRequireDefault(require("../Music Album/ViewAlbums/ViewAlbums"));
52
+ var _ViewMusicAlbums = _interopRequireDefault(require("../Spaces/ViewMusicAlbums/ViewMusicAlbums"));
53
53
 
54
- var _ViewAlbum = _interopRequireDefault(require("../Music Album/ViewAlbum/ViewAlbum"));
54
+ var _ViewMusicAlbumList = _interopRequireDefault(require("../Spaces/ViewMusicAlbumList/ViewMusicAlbumList"));
55
55
 
56
- var _ViewAlbums2 = _interopRequireDefault(require("../Photo Album/ViewAlbums/ViewAlbums"));
56
+ var _ViewPhotoAlbums = _interopRequireDefault(require("../Spaces/ViewPhotoAlbums/ViewPhotoAlbums"));
57
57
 
58
- var _ViewAlbum2 = _interopRequireDefault(require("../Photo Album/ViewAlbum/ViewAlbum"));
58
+ var _ViewPhotoAlbumList = _interopRequireDefault(require("../Spaces/ViewPhotoAlbumList/ViewPhotoAlbumList"));
59
59
 
60
- var _Chat = _interopRequireDefault(require("../Chat/Chat"));
60
+ var _Chat = _interopRequireDefault(require("../Spaces/Chat/Chat"));
61
61
 
62
- var _EventsList = _interopRequireDefault(require("../Events/EventsList/EventsList"));
62
+ var _EventsList = _interopRequireDefault(require("../Spaces/EventsList/EventsList"));
63
63
 
64
- var _Event = _interopRequireDefault(require("../Events/Event/Event"));
64
+ var _Event = _interopRequireDefault(require("../Spaces/ViewEvent/Event"));
65
65
 
66
- var _VideoSpace = _interopRequireDefault(require("../VideoAlbum/VideoSpace/VideoSpace"));
66
+ var _ViewVideo = _interopRequireDefault(require("../Spaces/ViewVideo/ViewVideo"));
67
67
 
68
- var _AlbumsGallery = _interopRequireDefault(require("../VideoAlbum/AlbumsGallery/AlbumsGallery"));
68
+ var _ViewVideoAlbums = _interopRequireDefault(require("../Spaces/ViewVideoAlbums/ViewVideoAlbums"));
69
69
 
70
- var _ViewAlbum3 = _interopRequireDefault(require("../VideoAlbum/ViewAlbum/ViewAlbum"));
70
+ var _ViewVideoAlbumList = _interopRequireDefault(require("../Spaces/ViewVideoAlbumList/ViewVideoAlbumList"));
71
71
 
72
72
  // Cards
73
73
  // Widgets
@@ -211,8 +211,8 @@ var getWidgetType = function getWidgetType(widgetType, props, _cardClicked) {
211
211
  'music player': /*#__PURE__*/_react.default.createElement(_MusicPlayerWidget.default, props),
212
212
  'logo': /*#__PURE__*/_react.default.createElement(_LogoWidget.default, props),
213
213
  'video player': /*#__PURE__*/_react.default.createElement(_VideoPlayer.default, props),
214
- 'notes': /*#__PURE__*/_react.default.createElement(_Notes.default, props),
215
- 'folders': /*#__PURE__*/_react.default.createElement(_Folders.default, props),
214
+ 'notes': /*#__PURE__*/_react.default.createElement(_NotesList.default, props),
215
+ 'folders': /*#__PURE__*/_react.default.createElement(_ViewFolders.default, props),
216
216
  'users': /*#__PURE__*/_react.default.createElement(_UsersWidget.default, props),
217
217
  'profile': /*#__PURE__*/_react.default.createElement(_CardStyle2.default, props),
218
218
  'spaces-list': /*#__PURE__*/_react.default.createElement(_SpacesListWidget.default, Object.assign({
@@ -229,20 +229,20 @@ exports.getWidgetType = getWidgetType;
229
229
  var getComponentType = function getComponentType(componentType, componentProps, stylingProps) {
230
230
  var componentTypes = {
231
231
  'Navbar': /*#__PURE__*/_react.default.createElement(_Navbar.default, Object.assign({}, componentProps, stylingProps)),
232
- 'MusicAlbums': /*#__PURE__*/_react.default.createElement(_ViewAlbums.default, Object.assign({}, componentProps, stylingProps)),
233
- 'MusicAlbum': /*#__PURE__*/_react.default.createElement(_ViewAlbum.default, Object.assign({}, componentProps, stylingProps)),
234
- 'PhotoAlbum': /*#__PURE__*/_react.default.createElement(_ViewAlbum2.default, Object.assign({}, componentProps, stylingProps)),
235
- 'PhotoAlbums': /*#__PURE__*/_react.default.createElement(_ViewAlbums2.default, Object.assign({}, componentProps, stylingProps)),
232
+ 'MusicAlbums': /*#__PURE__*/_react.default.createElement(_ViewMusicAlbums.default, Object.assign({}, componentProps, stylingProps)),
233
+ 'MusicAlbum': /*#__PURE__*/_react.default.createElement(_ViewMusicAlbumList.default, Object.assign({}, componentProps, stylingProps)),
234
+ 'PhotoAlbum': /*#__PURE__*/_react.default.createElement(_ViewPhotoAlbumList.default, Object.assign({}, componentProps, stylingProps)),
235
+ 'PhotoAlbums': /*#__PURE__*/_react.default.createElement(_ViewPhotoAlbums.default, Object.assign({}, componentProps, stylingProps)),
236
236
  'MusicPlayer': /*#__PURE__*/_react.default.createElement(_MusicPlayerWidget.default, Object.assign({}, componentProps, stylingProps)),
237
- 'Folders': /*#__PURE__*/_react.default.createElement(_Folders.default, Object.assign({}, componentProps, stylingProps)),
238
- 'Notes': /*#__PURE__*/_react.default.createElement(_Notes.default, Object.assign({}, componentProps, stylingProps)),
237
+ 'Folders': /*#__PURE__*/_react.default.createElement(_ViewFolders.default, Object.assign({}, componentProps, stylingProps)),
238
+ 'Notes': /*#__PURE__*/_react.default.createElement(_NotesList.default, Object.assign({}, componentProps, stylingProps)),
239
239
  'Spaces-List': /*#__PURE__*/_react.default.createElement(_SpacesListWidget.default, Object.assign({}, componentProps, stylingProps)),
240
240
  'Chat': /*#__PURE__*/_react.default.createElement(_Chat.default, Object.assign({}, componentProps, stylingProps)),
241
241
  'Events': /*#__PURE__*/_react.default.createElement(_EventsList.default, Object.assign({}, componentProps, stylingProps)),
242
242
  'Event': /*#__PURE__*/_react.default.createElement(_Event.default, Object.assign({}, componentProps, stylingProps)),
243
- 'Video-Space': /*#__PURE__*/_react.default.createElement(_VideoSpace.default, Object.assign({}, componentProps, stylingProps)),
244
- 'Video-Albums': /*#__PURE__*/_react.default.createElement(_AlbumsGallery.default, Object.assign({}, componentProps, stylingProps)),
245
- 'Video-Album': /*#__PURE__*/_react.default.createElement(_ViewAlbum3.default, Object.assign({}, componentProps, stylingProps))
243
+ 'Video-Space': /*#__PURE__*/_react.default.createElement(_ViewVideo.default, Object.assign({}, componentProps, stylingProps)),
244
+ 'Video-Albums': /*#__PURE__*/_react.default.createElement(_ViewVideoAlbums.default, Object.assign({}, componentProps, stylingProps)),
245
+ 'Video-Album': /*#__PURE__*/_react.default.createElement(_ViewVideoAlbumList.default, Object.assign({}, componentProps, stylingProps))
246
246
  };
247
247
  return componentTypes[componentType];
248
248
  };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.addEvent = void 0;
7
+
8
+ var addEvent = function addEvent(state, action) {
9
+ // state.spaces[1].spaceProps.events = [...state.spaces[1].spaceProps.events, action.payload]
10
+ alert('testtttt'); // console.log(action)
11
+ // alert
12
+
13
+ console.log(action);
14
+ };
15
+
16
+ exports.addEvent = addEvent;
@@ -81,35 +81,33 @@ var community = {
81
81
  }]
82
82
  }],
83
83
  styles: {
84
- header: {},
85
- body: {
86
- sectionHeaderStyles: {
87
- padding: 2,
88
- headerBackground: "#00ADC4",
89
- titleColor: "white"
90
- },
91
- customCardStyles: {
92
- cardPadding: 6,
93
- cardTitleFontSize: 15,
94
- cardBackgroundColor: "white",
95
- cardTitleColor: "#00ADC4",
96
- cardBorderSize: 1,
97
- cardBorderColor: "#00ADC4",
98
- onHoverBackgroundColor: "#d3d3d3",
99
- controlsStyles: {
100
- showOnHover: true,
101
- iconColor: "#00ADC4"
102
- }
103
- },
104
- borderRadius: 10,
105
- primaryColor: "#00ADC4",
106
- iconsColor: "#00ADC4",
107
- backgroundColor: "white",
108
- discColor: "gray",
109
- dateColor: "gray",
110
- iconColor: "#00ADC4",
111
- cardTitleFontSize: 15
112
- }
84
+ headerStyles: {},
85
+ sectionHeaderStyles: {
86
+ padding: 2,
87
+ headerBackground: "#00ADC4",
88
+ titleColor: "white"
89
+ },
90
+ customCardStyles: {
91
+ cardPadding: 6,
92
+ cardTitleFontSize: 15,
93
+ cardBackgroundColor: "white",
94
+ cardTitleColor: "#00ADC4",
95
+ cardBorderSize: 1,
96
+ cardBorderColor: "#00ADC4",
97
+ onHoverBackgroundColor: "#d3d3d3",
98
+ controlsStyles: {
99
+ showOnHover: true,
100
+ iconColor: "#00ADC4"
101
+ }
102
+ },
103
+ borderRadius: 10,
104
+ primaryColor: "#00ADC4",
105
+ iconsColor: "#00ADC4",
106
+ backgroundColor: "white",
107
+ discColor: "gray",
108
+ dateColor: "gray",
109
+ iconColor: "#00ADC4",
110
+ cardTitleFontSize: 15
113
111
  }
114
112
  }
115
113
  },