@desynova-digital/components 9.0.26 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_helpers/globals.js +9 -10
- package/_helpers/pagination.js +10 -15
- package/_helpers/story-example.js +16 -39
- package/_helpers/story-helpers.js +15 -14
- package/_helpers/story-stack.js +22 -43
- package/_helpers/uniqueId.js +2 -5
- package/_helpers/utils.js +28 -4
- package/atoms/avatar/avatar.js +19 -42
- package/atoms/avatar/avatar.story.js +25 -58
- package/atoms/avatar/index.js +13 -11
- package/atoms/badge/badge.js +14 -37
- package/atoms/badge/badge.story.js +45 -103
- package/atoms/badge/index.js +12 -10
- package/atoms/button/button.js +85 -161
- package/atoms/button/button.story.js +354 -508
- package/atoms/button/index.js +5 -9
- package/atoms/card/card.js +26 -55
- package/atoms/card/card.story.js +39 -88
- package/atoms/card/index.js +12 -10
- package/atoms/cardStack/cardStack.js +88 -147
- package/atoms/cardStack/cardStack.story.js +106 -210
- package/atoms/cardStack/index.js +12 -10
- package/atoms/cardV2/cardV2.js +57 -106
- package/atoms/cardV2/cardV2.story.js +184 -232
- package/atoms/cardV2/content.js +154 -256
- package/atoms/cardV2/index.js +4 -8
- package/atoms/cardV2/thumbnail.js +138 -208
- package/atoms/cardV2/timeline.js +167 -123
- package/atoms/checkbox/checkbox.js +85 -157
- package/atoms/checkbox/checkbox.story.js +237 -365
- package/atoms/checkbox/index.js +4 -9
- package/atoms/customSelect/customSelect.js +136 -215
- package/atoms/customSelect/customSelect.story.js +745 -851
- package/atoms/customSelect/index.js +4 -8
- package/atoms/datePicker/datePicker.js +299 -431
- package/atoms/datePicker/datePicker.story.js +453 -501
- package/atoms/datePicker/index.js +4 -8
- package/atoms/dateTime/dateTime.js +3 -6
- package/atoms/dateTime/dateTime.story.js +17 -63
- package/atoms/dateTime/index.js +5 -9
- package/atoms/draftInputText/draftInputText.js +121 -189
- package/atoms/draftInputText/draftInputText.story.js +200 -249
- package/atoms/draftInputText/index.js +5 -9
- package/atoms/dropdown/dropdown.js +38 -66
- package/atoms/dropdown/dropdown.story.js +102 -262
- package/atoms/dropdown/index.js +4 -8
- package/atoms/dropdownList/dropdownList.js +78 -108
- package/atoms/dropdownList/dropdownList.story.js +1546 -1621
- package/atoms/dropdownList/index.js +4 -8
- package/atoms/graphs/barGraph/barGraph.js +95 -146
- package/atoms/graphs/barGraph/barGraph.story.js +65 -87
- package/atoms/graphs/barGraph/index.js +4 -8
- package/atoms/graphs/circleDonut/circleDonut.js +177 -229
- package/atoms/graphs/circleDonut/circleDonut.story.js +328 -394
- package/atoms/graphs/circleDonut/index.js +5 -9
- package/atoms/graphs/circleGraph/circleGraph.js +60 -90
- package/atoms/graphs/circleGraph/circleGraph.story.js +36 -54
- package/atoms/graphs/circleGraph/index.js +4 -8
- package/atoms/graphs/circleNested/circleNested.js +216 -262
- package/atoms/graphs/circleNested/circleNested.story.js +91 -116
- package/atoms/graphs/circleNested/index.js +5 -9
- package/atoms/graphs/pieChart/index.js +4 -8
- package/atoms/graphs/pieChart/pieChart.js +162 -191
- package/atoms/graphs/pieChart/pieChart.story.js +147 -176
- package/atoms/graphs/verticalBarGraph/index.js +5 -9
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.js +75 -98
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.story.js +26 -45
- package/atoms/icon/icon.js +41 -72
- package/atoms/icon/icon.story.js +831 -260
- package/atoms/icon/index.js +19 -12
- package/atoms/image/image.js +18 -32
- package/atoms/image/image.story.js +10 -19
- package/atoms/image/index.js +4 -8
- package/atoms/inputText/index.js +4 -8
- package/atoms/inputText/inputText.js +86 -131
- package/atoms/inputText/inputText.story.js +191 -255
- package/atoms/label/index.js +4 -8
- package/atoms/label/label.js +25 -50
- package/atoms/label/label.story.js +42 -83
- package/atoms/loader/CircleLoader.js +29 -63
- package/atoms/loader/ShimmerComponent/CollabShimmerCard.js +39 -50
- package/atoms/loader/ShimmerComponent/CollabShimmerCardTray.js +41 -42
- package/atoms/loader/ShimmerComponent/FiltersShimmer.js +30 -30
- package/atoms/loader/ShimmerComponent/GraphDetailShimmer.js +21 -34
- package/atoms/loader/ShimmerComponent/GraphTitleShimmer.js +30 -34
- package/atoms/loader/ShimmerComponent/GraphsComponentShimmer.js +23 -32
- package/atoms/loader/ShimmerComponent/Shimmer.js +24 -32
- package/atoms/loader/ThreeDotLoader.js +14 -29
- package/atoms/loader/index.js +13 -11
- package/atoms/loader/loader.js +34 -58
- package/atoms/loader/loader.story.js +48 -52
- package/atoms/loader/spinningLoader.js +23 -34
- package/atoms/popup/index.js +5 -9
- package/atoms/popup/popup.js +123 -208
- package/atoms/popup/popup.story.js +97 -131
- package/atoms/radio/index.js +18 -11
- package/atoms/radio/radio.js +58 -112
- package/atoms/radio/radio.story.js +197 -420
- package/atoms/select/index.js +4 -8
- package/atoms/select/select.js +48 -86
- package/atoms/sideBar/index.js +5 -9
- package/atoms/sideBar/sidebar.js +89 -140
- package/atoms/switch/index.js +4 -8
- package/atoms/switch/switch.js +56 -86
- package/atoms/switch/switch.story.js +268 -415
- package/atoms/tag/index.js +12 -10
- package/atoms/tag/tag.js +29 -63
- package/atoms/tag/tag.story.js +135 -209
- package/atoms/textarea/index.js +5 -9
- package/atoms/textarea/textarea.js +55 -99
- package/atoms/textarea/textarea.story.js +48 -41
- package/atoms/thematicBreak/index.js +12 -10
- package/atoms/thematicBreak/thematicBreak.js +20 -38
- package/atoms/thematicBreak/thematicBreak.story.js +25 -37
- package/atoms/timeCodeInput/index.js +4 -8
- package/atoms/timeCodeInput/timCodeInput.story.js +21 -35
- package/atoms/timeCodeInput/timeCodeInput.js +33 -51
- package/atoms/timer/index.js +5 -9
- package/atoms/timer/timer.js +57 -108
- package/atoms/timer/timer.story.js +13 -26
- package/atoms/toast/index.js +5 -9
- package/atoms/toast/toast.js +81 -116
- package/atoms/toast/toast.story.js +50 -76
- package/atoms/videoCard/index.js +12 -10
- package/atoms/videoCard/videoCard.js +265 -447
- package/atoms/videoCard/videoCard.story.js +495 -710
- package/components.js +411 -294
- package/index.js +350 -61
- package/molecules/carousel/carousel.js +121 -207
- package/molecules/carousel/carousel.story.js +240 -223
- package/molecules/carousel/index.js +5 -9
- package/molecules/errorScreen/CollabErrorScreen.js +35 -66
- package/molecules/errorScreen/TableErrorScreen.js +109 -102
- package/molecules/errorScreen/TableErrorScreen.jsx +7 -6
- package/molecules/errorScreen/errorScreen.js +41 -94
- package/molecules/filter/constants.js +1 -0
- package/molecules/filter/filter.js +378 -562
- package/molecules/filter/filter.story.js +79 -104
- package/molecules/filter/index.js +5 -9
- package/molecules/graphCard/graphCard.js +97 -193
- package/molecules/graphCard/graphCard.story.js +159 -191
- package/molecules/graphCard/index.js +4 -8
- package/molecules/graphCard/loader.js +28 -68
- package/molecules/graphDetailCard/graphDetailCard.js +115 -183
- package/molecules/graphDetailCard/graphDetailCard.story.js +218 -254
- package/molecules/graphDetailCard/index.js +5 -9
- package/molecules/pageHeader/index.js +12 -10
- package/molecules/pageHeader/pageHeader.js +38 -79
- package/molecules/pageHeader/pageHeader.story.js +34 -55
- package/molecules/pagination/index.js +4 -8
- package/molecules/pagination/pagination.js +126 -202
- package/molecules/pagination/pagination.story.js +40 -52
- package/molecules/richTextInput/RichTextInput.js +354 -0
- package/molecules/richTextInput/RichTextInput.story.js +50 -0
- package/molecules/richTextInput/index.js +9 -0
- package/molecules/table/index.js +4 -8
- package/molecules/table/table-column.js +10 -16
- package/molecules/table/table-header.js +31 -72
- package/molecules/table/table.js +743 -1075
- package/molecules/table/table.story.js +274 -304
- package/molecules/tabs/index.js +4 -8
- package/molecules/tabs/tabs.js +112 -184
- package/molecules/tabs/tabs.story.js +66 -133
- package/molecules/videoCardList/index.js +4 -8
- package/molecules/videoCardList/videoCardList.js +24 -41
- package/molecules/videoCardList/videoCardList.story.js +449 -664
- package/molecules/videoPlayer/index.js +4 -8
- package/molecules/videoPlayer/videoPlayer.js +1019 -1097
- package/molecules/videoPlayer/videoPlayer.story.js +10 -21
- package/package.json +2 -2
|
@@ -1,357 +1,250 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
4
|
-
|
|
5
|
-
var _react = require('react');
|
|
6
|
-
|
|
7
|
-
var _react2 = _interopRequireDefault(_react);
|
|
8
|
-
|
|
9
|
-
var _react3 = require('@storybook/react');
|
|
10
|
-
|
|
11
|
-
var _storyHelpers = require('../../_helpers/story-helpers');
|
|
12
|
-
|
|
13
|
-
var _components = require('../../components');
|
|
14
|
-
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1
|
+
"use strict";
|
|
16
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
|
5
|
+
var _react2 = require("@storybook/react");
|
|
6
|
+
var _storyHelpers = require("../../_helpers/story-helpers");
|
|
7
|
+
var _components = require("../../components");
|
|
17
8
|
var img_thumbnail = 'https://tassets.desynova.com/img/topaz-logo.png';
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
_react2.default.createElement(
|
|
258
|
-
'div',
|
|
259
|
-
{ style: { marginTop: '30px' } },
|
|
260
|
-
_react2.default.createElement(
|
|
261
|
-
'p',
|
|
262
|
-
null,
|
|
263
|
-
'type3'
|
|
264
|
-
),
|
|
265
|
-
_react2.default.createElement(_components.VideoCard, {
|
|
266
|
-
h1: 'Analysis On CBI Corruption Story',
|
|
267
|
-
thumbnail: '' + img_thumbnail,
|
|
268
|
-
width: 180,
|
|
269
|
-
height: 250,
|
|
270
|
-
display_type: 'type3',
|
|
271
|
-
id: 'a0003',
|
|
272
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
273
|
-
default_action: 'play',
|
|
274
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
275
|
-
console.log('ACTION CLICK :', id, action);
|
|
276
|
-
}
|
|
277
|
-
})
|
|
278
|
-
),
|
|
279
|
-
_react2.default.createElement(
|
|
280
|
-
'p',
|
|
281
|
-
null,
|
|
282
|
-
'type4'
|
|
283
|
-
),
|
|
284
|
-
_react2.default.createElement(
|
|
285
|
-
'div',
|
|
286
|
-
{ style: { marginTop: '30px' } },
|
|
287
|
-
_react2.default.createElement(_components.VideoCard, {
|
|
288
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
289
|
-
sub_title: 'Ep. 4',
|
|
290
|
-
thumbnail: '' + img_thumbnail,
|
|
291
|
-
creation: 1540624616000,
|
|
292
|
-
width: 400,
|
|
293
|
-
//height:250,
|
|
294
|
-
display_type: 'type4',
|
|
295
|
-
display_size: 'large',
|
|
296
|
-
id: 'a0004',
|
|
297
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
298
|
-
default_action: 'play',
|
|
299
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
300
|
-
console.log('ACTION CLICK :', id, action);
|
|
301
|
-
}
|
|
302
|
-
})
|
|
303
|
-
),
|
|
304
|
-
_react2.default.createElement(
|
|
305
|
-
'div',
|
|
306
|
-
{ style: { marginTop: '30px' } },
|
|
307
|
-
_react2.default.createElement(
|
|
308
|
-
'p',
|
|
309
|
-
null,
|
|
310
|
-
'type4'
|
|
311
|
-
),
|
|
312
|
-
_react2.default.createElement(_components.VideoCard, {
|
|
313
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
314
|
-
thumbnail: '' + img_thumbnail,
|
|
315
|
-
creation: 1540624616000,
|
|
316
|
-
width: 270,
|
|
317
|
-
//height:250,
|
|
318
|
-
display_type: 'type4',
|
|
319
|
-
display_size: 'small',
|
|
320
|
-
id: 'a0005',
|
|
321
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
322
|
-
default_action: 'play',
|
|
323
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
324
|
-
console.log('ACTION CLICK :', id, action);
|
|
325
|
-
}
|
|
326
|
-
})
|
|
327
|
-
),
|
|
328
|
-
_react2.default.createElement(
|
|
329
|
-
'div',
|
|
330
|
-
{ style: { marginTop: '30px' } },
|
|
331
|
-
_react2.default.createElement(
|
|
332
|
-
'p',
|
|
333
|
-
null,
|
|
334
|
-
'type4'
|
|
335
|
-
),
|
|
336
|
-
_react2.default.createElement(_components.VideoCard, {
|
|
337
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
338
|
-
thumbnail: '' + img_thumbnail,
|
|
339
|
-
creation: 1540624616000,
|
|
340
|
-
width: 125,
|
|
341
|
-
display_type: 'type4',
|
|
342
|
-
display_size: 'thumbnail',
|
|
343
|
-
id: 'a0006',
|
|
344
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
345
|
-
default_action: 'play',
|
|
346
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
347
|
-
console.log('ACTION CLICK :', id, action);
|
|
348
|
-
}
|
|
349
|
-
})
|
|
350
|
-
)
|
|
351
|
-
)
|
|
352
|
-
)
|
|
353
|
-
)
|
|
354
|
-
);
|
|
9
|
+
(0, _react2.storiesOf)('VideoCard').add('appearance-light', function () {
|
|
10
|
+
return /*#__PURE__*/_react["default"].createElement(_storyHelpers.Example, {
|
|
11
|
+
title: "Appearances Light",
|
|
12
|
+
background: "default"
|
|
13
|
+
}, /*#__PURE__*/_react["default"].createElement(_storyHelpers.Stack, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
14
|
+
style: {
|
|
15
|
+
display: 'block',
|
|
16
|
+
width: '40%'
|
|
17
|
+
}
|
|
18
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
+
style: {
|
|
20
|
+
display: 'block',
|
|
21
|
+
marginBottom: '20px'
|
|
22
|
+
}
|
|
23
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
24
|
+
requested_by: {
|
|
25
|
+
name: 'Ashutosh Narkhede',
|
|
26
|
+
email: '',
|
|
27
|
+
user_image: ''
|
|
28
|
+
},
|
|
29
|
+
requested_on: 1542544501148,
|
|
30
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
31
|
+
h2: 'S2 E4',
|
|
32
|
+
taskType: 'snp_edit',
|
|
33
|
+
extension: 'mp4',
|
|
34
|
+
location: 'Banglore',
|
|
35
|
+
actions: ['play', 'archive'],
|
|
36
|
+
thumbnail: '' + img_thumbnail,
|
|
37
|
+
width: 280,
|
|
38
|
+
height: 250,
|
|
39
|
+
display_type: 'type1',
|
|
40
|
+
gradient: 'grad1',
|
|
41
|
+
id: 'a0001',
|
|
42
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
43
|
+
default_action: 'play',
|
|
44
|
+
info: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
45
|
+
className: "title"
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "Brief"), /*#__PURE__*/_react["default"].createElement("p", null, "This is a Brief"))),
|
|
47
|
+
assetStatus: 'REJECTED',
|
|
48
|
+
moreActions: [{
|
|
49
|
+
name: 'Upload',
|
|
50
|
+
field: 'upload',
|
|
51
|
+
icon: 'upload'
|
|
52
|
+
}, {
|
|
53
|
+
name: 'Download',
|
|
54
|
+
field: 'download',
|
|
55
|
+
icon: 'download'
|
|
56
|
+
}],
|
|
57
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
58
|
+
console.log('ACTION CLICK :', id, action);
|
|
59
|
+
}
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
61
|
+
requested_by: {
|
|
62
|
+
name: 'Ashutosh Narkhede',
|
|
63
|
+
email: '',
|
|
64
|
+
user_image: ''
|
|
65
|
+
},
|
|
66
|
+
requested_on: 1542544501148,
|
|
67
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
68
|
+
h2: 'S2 E5',
|
|
69
|
+
taskType: 'pgm_edit',
|
|
70
|
+
extension: 'mp4',
|
|
71
|
+
location: 'Banglore',
|
|
72
|
+
actions: ['play', 'archive'],
|
|
73
|
+
thumbnail: '' + img_thumbnail,
|
|
74
|
+
width: 280,
|
|
75
|
+
height: 250,
|
|
76
|
+
display_type: 'type1',
|
|
77
|
+
id: 'a0001',
|
|
78
|
+
info: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
+
className: "title"
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "Brief"), /*#__PURE__*/_react["default"].createElement("p", null, "This is a Brief"))),
|
|
81
|
+
assetStatus: 'Review',
|
|
82
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
83
|
+
default_action: 'play',
|
|
84
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
85
|
+
console.log('ACTION CLICK :', id, action);
|
|
86
|
+
}
|
|
87
|
+
})), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
88
|
+
requested_by: {
|
|
89
|
+
name: 'Ashutosh Narkhede',
|
|
90
|
+
email: '',
|
|
91
|
+
user_image: ''
|
|
92
|
+
},
|
|
93
|
+
requested_on: 1542544501148,
|
|
94
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
95
|
+
h2: 'S2 E5',
|
|
96
|
+
taskType: 'pgm_edit',
|
|
97
|
+
extension: 'mp4',
|
|
98
|
+
location: 'Banglore',
|
|
99
|
+
actions: ['play', 'archive'],
|
|
100
|
+
thumbnail: '' + img_thumbnail,
|
|
101
|
+
width: 280,
|
|
102
|
+
height: 250,
|
|
103
|
+
display_type: 'type1',
|
|
104
|
+
isDisabled: true,
|
|
105
|
+
uploadStatus: 'Verifying',
|
|
106
|
+
id: 'a0001',
|
|
107
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
108
|
+
default_action: 'play',
|
|
109
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
110
|
+
console.log('ACTION CLICK :', id, action);
|
|
111
|
+
}
|
|
112
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
|
+
style: {
|
|
114
|
+
marginTop: '30px'
|
|
115
|
+
}
|
|
116
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
117
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
118
|
+
h2: 'S1 E6',
|
|
119
|
+
h3: '18:00',
|
|
120
|
+
h4: '20:00',
|
|
121
|
+
thumbnail: '' + img_thumbnail,
|
|
122
|
+
display_type: 'type1',
|
|
123
|
+
id: 'a0002',
|
|
124
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
125
|
+
default_action: 'play',
|
|
126
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
127
|
+
console.log('ACTION CLICK :', id, action);
|
|
128
|
+
}
|
|
129
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
130
|
+
style: {
|
|
131
|
+
marginTop: '30px'
|
|
132
|
+
}
|
|
133
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
134
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
135
|
+
h2: 'AH357829',
|
|
136
|
+
assetStatus: 'In Progress',
|
|
137
|
+
thumbnail: '' + img_thumbnail,
|
|
138
|
+
display_type: 'type2',
|
|
139
|
+
id: 'a0002',
|
|
140
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
141
|
+
default_action: 'play',
|
|
142
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
143
|
+
console.log('ACTION CLICK :', id, action);
|
|
144
|
+
}
|
|
145
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
146
|
+
style: {
|
|
147
|
+
marginTop: '30px'
|
|
148
|
+
}
|
|
149
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
150
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
151
|
+
h2: 'AH357829',
|
|
152
|
+
assetStatus: 'APPROVED',
|
|
153
|
+
thumbnail: '' + img_thumbnail,
|
|
154
|
+
display_type: 'type2',
|
|
155
|
+
id: 'a0002',
|
|
156
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
157
|
+
default_action: 'play',
|
|
158
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
159
|
+
console.log('ACTION CLICK :', id, action);
|
|
160
|
+
}
|
|
161
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
162
|
+
style: {
|
|
163
|
+
marginTop: '30px'
|
|
164
|
+
}
|
|
165
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
166
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
167
|
+
h2: 'AH357829',
|
|
168
|
+
assetStatus: 'REJECTED',
|
|
169
|
+
thumbnail: '' + img_thumbnail,
|
|
170
|
+
display_type: 'type2',
|
|
171
|
+
id: 'a0002',
|
|
172
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
173
|
+
default_action: 'play',
|
|
174
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
175
|
+
console.log('ACTION CLICK :', id, action);
|
|
176
|
+
}
|
|
177
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
178
|
+
style: {
|
|
179
|
+
marginTop: '30px'
|
|
180
|
+
}
|
|
181
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type3"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
182
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
183
|
+
thumbnail: '' + img_thumbnail,
|
|
184
|
+
width: 180,
|
|
185
|
+
height: 250,
|
|
186
|
+
display_type: 'type3',
|
|
187
|
+
id: 'a0003',
|
|
188
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
189
|
+
default_action: 'play',
|
|
190
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
191
|
+
console.log('ACTION CLICK :', id, action);
|
|
192
|
+
}
|
|
193
|
+
})), /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
194
|
+
style: {
|
|
195
|
+
marginTop: '30px'
|
|
196
|
+
}
|
|
197
|
+
}, /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
198
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
199
|
+
sub_title: 'Ep. 4',
|
|
200
|
+
thumbnail: '' + img_thumbnail,
|
|
201
|
+
creation: 1540624616000,
|
|
202
|
+
width: 400,
|
|
203
|
+
//height:250,
|
|
204
|
+
display_type: 'type4',
|
|
205
|
+
display_size: 'large',
|
|
206
|
+
id: 'a0004',
|
|
207
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
208
|
+
default_action: 'play',
|
|
209
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
210
|
+
console.log('ACTION CLICK :', id, action);
|
|
211
|
+
}
|
|
212
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
213
|
+
style: {
|
|
214
|
+
marginTop: '30px'
|
|
215
|
+
}
|
|
216
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
217
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
218
|
+
thumbnail: '' + img_thumbnail,
|
|
219
|
+
creation: 1540624616000,
|
|
220
|
+
width: 270,
|
|
221
|
+
//height:250,
|
|
222
|
+
display_type: 'type4',
|
|
223
|
+
display_size: 'small',
|
|
224
|
+
id: 'a0005',
|
|
225
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
226
|
+
default_action: 'play',
|
|
227
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
228
|
+
console.log('ACTION CLICK :', id, action);
|
|
229
|
+
}
|
|
230
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
231
|
+
style: {
|
|
232
|
+
marginTop: '30px'
|
|
233
|
+
}
|
|
234
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
235
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
236
|
+
thumbnail: '' + img_thumbnail,
|
|
237
|
+
creation: 1540624616000,
|
|
238
|
+
width: 125,
|
|
239
|
+
display_type: 'type4',
|
|
240
|
+
display_size: 'thumbnail',
|
|
241
|
+
id: 'a0006',
|
|
242
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
243
|
+
default_action: 'play',
|
|
244
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
245
|
+
console.log('ACTION CLICK :', id, action);
|
|
246
|
+
}
|
|
247
|
+
}))))));
|
|
355
248
|
});
|
|
356
249
|
|
|
357
250
|
// storiesOf('Card').add('appearance-dark', () => (
|
|
@@ -363,362 +256,254 @@ var img_thumbnail = 'https://tassets.desynova.com/img/topaz-logo.png';
|
|
|
363
256
|
// </Stack>
|
|
364
257
|
// </Example>
|
|
365
258
|
// ))
|
|
366
|
-
(0,
|
|
367
|
-
return
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}))
|
|
617
|
-
),
|
|
618
|
-
_react2.default.createElement(
|
|
619
|
-
'div',
|
|
620
|
-
{ style: { marginTop: '30px' } },
|
|
621
|
-
_react2.default.createElement(
|
|
622
|
-
'p',
|
|
623
|
-
null,
|
|
624
|
-
'type3'
|
|
625
|
-
),
|
|
626
|
-
_react2.default.createElement(_components.VideoCard, _extends({
|
|
627
|
-
theme: 'nexc'
|
|
628
|
-
}, {
|
|
629
|
-
h1: 'Analysis On CBI Corruption Story',
|
|
630
|
-
thumbnail: '' + img_thumbnail,
|
|
631
|
-
width: 180,
|
|
632
|
-
height: 250,
|
|
633
|
-
display_type: 'type3',
|
|
634
|
-
id: 'a0003',
|
|
635
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
636
|
-
default_action: 'play',
|
|
637
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
638
|
-
console.log('ACTION CLICK :', id, action);
|
|
639
|
-
}
|
|
640
|
-
}))
|
|
641
|
-
),
|
|
642
|
-
_react2.default.createElement(
|
|
643
|
-
'p',
|
|
644
|
-
null,
|
|
645
|
-
'type4'
|
|
646
|
-
),
|
|
647
|
-
_react2.default.createElement(
|
|
648
|
-
'div',
|
|
649
|
-
{ style: { marginTop: '30px' } },
|
|
650
|
-
_react2.default.createElement(_components.VideoCard, _extends({
|
|
651
|
-
theme: 'nexc'
|
|
652
|
-
}, {
|
|
653
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
654
|
-
sub_title: 'Ep. 4',
|
|
655
|
-
thumbnail: '' + img_thumbnail,
|
|
656
|
-
creation: 1540624616000,
|
|
657
|
-
width: 400,
|
|
658
|
-
//height:250,
|
|
659
|
-
display_type: 'type4',
|
|
660
|
-
display_size: 'large',
|
|
661
|
-
id: 'a0004',
|
|
662
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
663
|
-
default_action: 'play',
|
|
664
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
665
|
-
console.log('ACTION CLICK :', id, action);
|
|
666
|
-
}
|
|
667
|
-
}))
|
|
668
|
-
),
|
|
669
|
-
_react2.default.createElement(
|
|
670
|
-
'div',
|
|
671
|
-
{ style: { marginTop: '30px' } },
|
|
672
|
-
_react2.default.createElement(
|
|
673
|
-
'p',
|
|
674
|
-
null,
|
|
675
|
-
'type4'
|
|
676
|
-
),
|
|
677
|
-
_react2.default.createElement(_components.VideoCard, _extends({
|
|
678
|
-
theme: 'nexc'
|
|
679
|
-
}, {
|
|
680
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
681
|
-
thumbnail: '' + img_thumbnail,
|
|
682
|
-
creation: 1540624616000,
|
|
683
|
-
width: 270,
|
|
684
|
-
//height:250,
|
|
685
|
-
display_type: 'type4',
|
|
686
|
-
display_size: 'small',
|
|
687
|
-
id: 'a0005',
|
|
688
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
689
|
-
default_action: 'play',
|
|
690
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
691
|
-
console.log('ACTION CLICK :', id, action);
|
|
692
|
-
}
|
|
693
|
-
}))
|
|
694
|
-
),
|
|
695
|
-
_react2.default.createElement(
|
|
696
|
-
'div',
|
|
697
|
-
{ style: { marginTop: '30px' } },
|
|
698
|
-
_react2.default.createElement(
|
|
699
|
-
'p',
|
|
700
|
-
null,
|
|
701
|
-
'type4'
|
|
702
|
-
),
|
|
703
|
-
_react2.default.createElement(_components.VideoCard, _extends({
|
|
704
|
-
theme: 'nexc'
|
|
705
|
-
}, {
|
|
706
|
-
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
707
|
-
thumbnail: '' + img_thumbnail,
|
|
708
|
-
creation: 1540624616000,
|
|
709
|
-
width: 125,
|
|
710
|
-
display_type: 'type4',
|
|
711
|
-
display_size: 'thumbnail',
|
|
712
|
-
id: 'a0006',
|
|
713
|
-
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
714
|
-
default_action: 'play',
|
|
715
|
-
actionClickHandler: function actionClickHandler(id, action) {
|
|
716
|
-
console.log('ACTION CLICK :', id, action);
|
|
717
|
-
}
|
|
718
|
-
}))
|
|
719
|
-
)
|
|
720
|
-
)
|
|
721
|
-
)
|
|
722
|
-
)
|
|
723
|
-
);
|
|
259
|
+
(0, _react2.storiesOf)('VideoCard').add('nexc', function () {
|
|
260
|
+
return /*#__PURE__*/_react["default"].createElement(_storyHelpers.Example, {
|
|
261
|
+
title: "Appearances Light",
|
|
262
|
+
background: "default"
|
|
263
|
+
}, /*#__PURE__*/_react["default"].createElement(_storyHelpers.Stack, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
264
|
+
style: {
|
|
265
|
+
display: 'block',
|
|
266
|
+
width: '40%'
|
|
267
|
+
}
|
|
268
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
269
|
+
style: {
|
|
270
|
+
display: 'block',
|
|
271
|
+
marginBottom: '20px'
|
|
272
|
+
}
|
|
273
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
274
|
+
theme: 'nexc',
|
|
275
|
+
requested_by: {
|
|
276
|
+
name: 'Ashutosh Narkhede',
|
|
277
|
+
email: '',
|
|
278
|
+
user_image: ''
|
|
279
|
+
},
|
|
280
|
+
requested_on: 1542544501148,
|
|
281
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
282
|
+
h2: 'S2 E4',
|
|
283
|
+
taskType: 'snp_edit',
|
|
284
|
+
extension: 'mp4',
|
|
285
|
+
location: 'Banglore',
|
|
286
|
+
actions: ['play', 'archive'],
|
|
287
|
+
thumbnail: '' + img_thumbnail,
|
|
288
|
+
width: 280,
|
|
289
|
+
height: 250,
|
|
290
|
+
display_type: 'type1',
|
|
291
|
+
gradient: 'grad1',
|
|
292
|
+
id: 'a0001',
|
|
293
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
294
|
+
default_action: 'play',
|
|
295
|
+
info: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
296
|
+
className: "title"
|
|
297
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "Brief"), /*#__PURE__*/_react["default"].createElement("p", null, "This is a Brief"))),
|
|
298
|
+
assetStatus: 'REJECTED',
|
|
299
|
+
moreActions: [{
|
|
300
|
+
name: 'Upload',
|
|
301
|
+
field: 'upload',
|
|
302
|
+
icon: 'upload'
|
|
303
|
+
}, {
|
|
304
|
+
name: 'Download',
|
|
305
|
+
field: 'download',
|
|
306
|
+
icon: 'download'
|
|
307
|
+
}],
|
|
308
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
309
|
+
console.log('ACTION CLICK :', id, action);
|
|
310
|
+
}
|
|
311
|
+
}), /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
312
|
+
theme: 'nexc',
|
|
313
|
+
requested_by: {
|
|
314
|
+
name: 'Ashutosh Narkhede',
|
|
315
|
+
email: '',
|
|
316
|
+
user_image: ''
|
|
317
|
+
},
|
|
318
|
+
requested_on: 1542544501148,
|
|
319
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
320
|
+
h2: 'S2 E5',
|
|
321
|
+
taskType: 'pgm_edit',
|
|
322
|
+
extension: 'mp4',
|
|
323
|
+
location: 'Banglore',
|
|
324
|
+
actions: ['play', 'archive'],
|
|
325
|
+
thumbnail: '' + img_thumbnail,
|
|
326
|
+
width: 280,
|
|
327
|
+
height: 250,
|
|
328
|
+
display_type: 'type1',
|
|
329
|
+
id: 'a0001',
|
|
330
|
+
info: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
331
|
+
className: "title"
|
|
332
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "Brief"), /*#__PURE__*/_react["default"].createElement("p", null, "This is a Brief"))),
|
|
333
|
+
assetStatus: 'Review',
|
|
334
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
335
|
+
default_action: 'play',
|
|
336
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
337
|
+
console.log('ACTION CLICK :', id, action);
|
|
338
|
+
}
|
|
339
|
+
})), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
340
|
+
theme: 'nexc',
|
|
341
|
+
requested_by: {
|
|
342
|
+
name: 'Ashutosh Narkhede',
|
|
343
|
+
email: '',
|
|
344
|
+
user_image: ''
|
|
345
|
+
},
|
|
346
|
+
requested_on: 1542544501148,
|
|
347
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
348
|
+
h2: 'S2 E5',
|
|
349
|
+
taskType: 'pgm_edit',
|
|
350
|
+
extension: 'mp4',
|
|
351
|
+
location: 'Banglore',
|
|
352
|
+
actions: ['play', 'archive'],
|
|
353
|
+
thumbnail: '' + img_thumbnail,
|
|
354
|
+
width: 280,
|
|
355
|
+
height: 250,
|
|
356
|
+
display_type: 'type1',
|
|
357
|
+
isDisabled: true,
|
|
358
|
+
uploadStatus: 'Verifying',
|
|
359
|
+
id: 'a0001',
|
|
360
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
361
|
+
default_action: 'play',
|
|
362
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
363
|
+
console.log('ACTION CLICK :', id, action);
|
|
364
|
+
}
|
|
365
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
366
|
+
style: {
|
|
367
|
+
marginTop: '30px'
|
|
368
|
+
}
|
|
369
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type1"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
370
|
+
theme: 'nexc',
|
|
371
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
372
|
+
h2: 'S1 E6',
|
|
373
|
+
h3: '18:00',
|
|
374
|
+
h4: '20:00',
|
|
375
|
+
thumbnail: '' + img_thumbnail,
|
|
376
|
+
display_type: 'type1',
|
|
377
|
+
id: 'a0002',
|
|
378
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
379
|
+
default_action: 'play',
|
|
380
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
381
|
+
console.log('ACTION CLICK :', id, action);
|
|
382
|
+
}
|
|
383
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
384
|
+
style: {
|
|
385
|
+
marginTop: '30px'
|
|
386
|
+
}
|
|
387
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
388
|
+
theme: 'nexc',
|
|
389
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
390
|
+
h2: 'AH357829',
|
|
391
|
+
assetStatus: 'In Progress',
|
|
392
|
+
thumbnail: '' + img_thumbnail,
|
|
393
|
+
display_type: 'type2',
|
|
394
|
+
id: 'a0002',
|
|
395
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
396
|
+
default_action: 'play',
|
|
397
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
398
|
+
console.log('ACTION CLICK :', id, action);
|
|
399
|
+
}
|
|
400
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
401
|
+
style: {
|
|
402
|
+
marginTop: '30px'
|
|
403
|
+
}
|
|
404
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
405
|
+
theme: 'nexc',
|
|
406
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
407
|
+
h2: 'AH357829',
|
|
408
|
+
assetStatus: 'APPROVED',
|
|
409
|
+
thumbnail: '' + img_thumbnail,
|
|
410
|
+
display_type: 'type2',
|
|
411
|
+
id: 'a0002',
|
|
412
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
413
|
+
default_action: 'play',
|
|
414
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
415
|
+
console.log('ACTION CLICK :', id, action);
|
|
416
|
+
}
|
|
417
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
418
|
+
style: {
|
|
419
|
+
marginTop: '30px'
|
|
420
|
+
}
|
|
421
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type2"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
422
|
+
theme: 'nexc',
|
|
423
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
424
|
+
h2: 'AH357829',
|
|
425
|
+
assetStatus: 'REJECTED',
|
|
426
|
+
thumbnail: '' + img_thumbnail,
|
|
427
|
+
display_type: 'type2',
|
|
428
|
+
id: 'a0002',
|
|
429
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
430
|
+
default_action: 'play',
|
|
431
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
432
|
+
console.log('ACTION CLICK :', id, action);
|
|
433
|
+
}
|
|
434
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
435
|
+
style: {
|
|
436
|
+
marginTop: '30px'
|
|
437
|
+
}
|
|
438
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type3"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
439
|
+
theme: 'nexc',
|
|
440
|
+
h1: 'Analysis On CBI Corruption Story',
|
|
441
|
+
thumbnail: '' + img_thumbnail,
|
|
442
|
+
width: 180,
|
|
443
|
+
height: 250,
|
|
444
|
+
display_type: 'type3',
|
|
445
|
+
id: 'a0003',
|
|
446
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
447
|
+
default_action: 'play',
|
|
448
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
449
|
+
console.log('ACTION CLICK :', id, action);
|
|
450
|
+
}
|
|
451
|
+
})), /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
452
|
+
style: {
|
|
453
|
+
marginTop: '30px'
|
|
454
|
+
}
|
|
455
|
+
}, /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
456
|
+
theme: 'nexc',
|
|
457
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
458
|
+
sub_title: 'Ep. 4',
|
|
459
|
+
thumbnail: '' + img_thumbnail,
|
|
460
|
+
creation: 1540624616000,
|
|
461
|
+
width: 400,
|
|
462
|
+
//height:250,
|
|
463
|
+
display_type: 'type4',
|
|
464
|
+
display_size: 'large',
|
|
465
|
+
id: 'a0004',
|
|
466
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
467
|
+
default_action: 'play',
|
|
468
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
469
|
+
console.log('ACTION CLICK :', id, action);
|
|
470
|
+
}
|
|
471
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
472
|
+
style: {
|
|
473
|
+
marginTop: '30px'
|
|
474
|
+
}
|
|
475
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
476
|
+
theme: 'nexc',
|
|
477
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
478
|
+
thumbnail: '' + img_thumbnail,
|
|
479
|
+
creation: 1540624616000,
|
|
480
|
+
width: 270,
|
|
481
|
+
//height:250,
|
|
482
|
+
display_type: 'type4',
|
|
483
|
+
display_size: 'small',
|
|
484
|
+
id: 'a0005',
|
|
485
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
486
|
+
default_action: 'play',
|
|
487
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
488
|
+
console.log('ACTION CLICK :', id, action);
|
|
489
|
+
}
|
|
490
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
491
|
+
style: {
|
|
492
|
+
marginTop: '30px'
|
|
493
|
+
}
|
|
494
|
+
}, /*#__PURE__*/_react["default"].createElement("p", null, "type4"), /*#__PURE__*/_react["default"].createElement(_components.VideoCard, {
|
|
495
|
+
theme: 'nexc',
|
|
496
|
+
main_title: 'Analysis On CBI Corruption Story On CBI Corruption Story On CBI Corruption Story',
|
|
497
|
+
thumbnail: '' + img_thumbnail,
|
|
498
|
+
creation: 1540624616000,
|
|
499
|
+
width: 125,
|
|
500
|
+
display_type: 'type4',
|
|
501
|
+
display_size: 'thumbnail',
|
|
502
|
+
id: 'a0006',
|
|
503
|
+
iframeURL: 'https://cthumbnailsans.contido.io/FG_Kaduthuruthi_Protest_DS_310519_v1_ANN119_453929993.png',
|
|
504
|
+
default_action: 'play',
|
|
505
|
+
actionClickHandler: function actionClickHandler(id, action) {
|
|
506
|
+
console.log('ACTION CLICK :', id, action);
|
|
507
|
+
}
|
|
508
|
+
}))))));
|
|
724
509
|
});
|