superdesk-ui-framework 3.0.1-beta.1 → 3.0.1-beta.2

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.
Files changed (168) hide show
  1. package/app/fonts/sd_big-icons.eot +0 -0
  2. package/app/fonts/sd_big-icons.svg +55 -53
  3. package/app/fonts/sd_big-icons.ttf +0 -0
  4. package/app/fonts/sd_big-icons.woff +0 -0
  5. package/app/fonts/sd_icons.eot +0 -0
  6. package/app/fonts/sd_icons.svg +1 -0
  7. package/app/fonts/sd_icons.ttf +0 -0
  8. package/app/fonts/sd_icons.woff +0 -0
  9. package/app/img/dots.svg +3 -0
  10. package/app/styles/_accessibility.scss +3 -3
  11. package/app/styles/_big-icon-font.scss +60 -23
  12. package/app/styles/_boxed-list.scss +26 -3
  13. package/app/styles/_buttons.scss +4 -0
  14. package/app/styles/_helpers.scss +4 -3
  15. package/app/styles/_icon-font.scss +341 -307
  16. package/app/styles/_icon-labels.scss +66 -10
  17. package/app/styles/_table-list.scss +244 -0
  18. package/app/styles/app.scss +1 -0
  19. package/app/styles/components/_list-item.scss +24 -20
  20. package/app/styles/components/_sd-dropzone.scss +52 -16
  21. package/app/styles/components/_subnav.scss +87 -80
  22. package/app/styles/design-tokens/_design-tokens-general.scss +7 -0
  23. package/app/styles/design-tokens/_new-colors.scss +4 -2
  24. package/app/styles/form-elements/_inputs.scss +4 -0
  25. package/app/styles/grids/_grid-layout.scss +21 -7
  26. package/app/styles/layout/_container.scss +3 -0
  27. package/app/styles/layout/_editor.scss +108 -16
  28. package/app/styles/menus/_sd-sidebar-menu.scss +6 -0
  29. package/app/styles/primereact/_pr-dialog.scss +39 -7
  30. package/app-typescript/components/CreateButton.tsx +38 -0
  31. package/app-typescript/components/DropZone.tsx +4 -4
  32. package/app-typescript/components/Icon.tsx +3 -1
  33. package/app-typescript/components/IconLabel.tsx +8 -1
  34. package/app-typescript/components/Input.tsx +2 -0
  35. package/app-typescript/components/Layouts/AuthoringContainer.tsx +27 -0
  36. package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +2 -0
  37. package/app-typescript/components/Layouts/AuthoringMain.tsx +11 -7
  38. package/app-typescript/components/Layouts/AuthoringMainToolBar.tsx +7 -1
  39. package/app-typescript/components/Layouts/Container.tsx +1 -1
  40. package/app-typescript/components/Layouts/ContentSplitter.tsx +23 -0
  41. package/app-typescript/components/Layouts/Layout.tsx +33 -0
  42. package/app-typescript/components/Layouts/LayoutContainer.tsx +1 -4
  43. package/app-typescript/components/Layouts/MainPanel.tsx +10 -5
  44. package/app-typescript/components/Layouts/OverlayPanel.tsx +19 -0
  45. package/app-typescript/components/Layouts/Panel.tsx +1 -0
  46. package/app-typescript/components/Layouts/index.tsx +8 -2
  47. package/app-typescript/components/Lists/BoxedList.tsx +6 -2
  48. package/app-typescript/components/Lists/ContentList.tsx +100 -0
  49. package/app-typescript/components/Lists/TableList.tsx +208 -0
  50. package/app-typescript/components/Modal.tsx +27 -17
  51. package/app-typescript/components/Navigation/SideBarTabs.tsx +10 -0
  52. package/app-typescript/components/SearchBar.tsx +79 -0
  53. package/app-typescript/components/Select.tsx +2 -0
  54. package/app-typescript/components/SidebarMenu.tsx +68 -0
  55. package/app-typescript/components/Spinner.tsx +1 -1
  56. package/app-typescript/components/SwitchGroup.tsx +2 -1
  57. package/app-typescript/index.ts +3 -0
  58. package/dist/dots.svg +3 -0
  59. package/dist/examples.bundle.css +7871 -379
  60. package/dist/examples.bundle.js +29461 -15740
  61. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +9 -4
  62. package/dist/playgrounds/react-playgrounds/Index.tsx +3 -1
  63. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +13 -0
  64. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
  65. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
  66. package/dist/playgrounds/react-playgrounds/TestGround.tsx +190 -182
  67. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +4 -0
  68. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
  69. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
  70. package/dist/playgrounds/react-playgrounds/components/Index.tsx +6 -1
  71. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
  72. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
  73. package/dist/react/Container.tsx +1 -1
  74. package/dist/react/ContentList.tsx +280 -0
  75. package/dist/react/CreateButton.tsx +71 -0
  76. package/dist/react/DropZone.tsx +14 -6
  77. package/dist/react/IconButtons.tsx +6 -6
  78. package/dist/react/IconLabels.tsx +24 -2
  79. package/dist/react/Index.tsx +15 -0
  80. package/dist/react/Inputs.tsx +32 -3
  81. package/dist/react/Modal.tsx +1 -0
  82. package/dist/react/TableList.tsx +268 -0
  83. package/dist/sd_big-icons.eot +0 -0
  84. package/dist/sd_big-icons.svg +55 -53
  85. package/dist/sd_big-icons.ttf +0 -0
  86. package/dist/sd_big-icons.woff +0 -0
  87. package/dist/sd_icons.eot +0 -0
  88. package/dist/sd_icons.svg +1 -0
  89. package/dist/sd_icons.ttf +0 -0
  90. package/dist/sd_icons.woff +0 -0
  91. package/dist/superdesk-ui.bundle.css +44994 -24931
  92. package/dist/superdesk-ui.bundle.js +2437 -1949
  93. package/dist/vendor.bundle.js +27 -27
  94. package/examples/css/docs-page.css +2 -3
  95. package/examples/index.js +8 -0
  96. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +9 -4
  97. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +3 -1
  98. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +13 -0
  99. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
  100. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
  101. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +190 -182
  102. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +4 -0
  103. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
  104. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
  105. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +6 -1
  106. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
  107. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
  108. package/examples/pages/react/Container.tsx +1 -1
  109. package/examples/pages/react/ContentList.tsx +280 -0
  110. package/examples/pages/react/CreateButton.tsx +71 -0
  111. package/examples/pages/react/DropZone.tsx +14 -6
  112. package/examples/pages/react/IconButtons.tsx +6 -6
  113. package/examples/pages/react/IconLabels.tsx +24 -2
  114. package/examples/pages/react/Index.tsx +15 -0
  115. package/examples/pages/react/Inputs.tsx +32 -3
  116. package/examples/pages/react/Modal.tsx +1 -0
  117. package/examples/pages/react/TableList.tsx +268 -0
  118. package/package.json +2 -1
  119. package/react/components/CreateButton.d.ts +17 -0
  120. package/react/components/CreateButton.js +66 -0
  121. package/react/components/DropZone.d.ts +2 -2
  122. package/react/components/DropZone.js +2 -2
  123. package/react/components/Icon.d.ts +1 -0
  124. package/react/components/Icon.js +2 -1
  125. package/react/components/IconLabel.d.ts +2 -0
  126. package/react/components/IconLabel.js +6 -3
  127. package/react/components/Input.d.ts +1 -0
  128. package/react/components/Input.js +1 -0
  129. package/react/components/Layouts/AuthoringContainer.d.ts +11 -0
  130. package/react/components/Layouts/AuthoringContainer.js +58 -0
  131. package/react/components/Layouts/AuthoringInnerHeader.d.ts +1 -0
  132. package/react/components/Layouts/AuthoringInnerHeader.js +6 -3
  133. package/react/components/Layouts/AuthoringMain.d.ts +3 -1
  134. package/react/components/Layouts/AuthoringMain.js +2 -2
  135. package/react/components/Layouts/AuthoringMainToolBar.d.ts +1 -0
  136. package/react/components/Layouts/AuthoringMainToolBar.js +8 -1
  137. package/react/components/Layouts/Container.d.ts +1 -1
  138. package/react/components/Layouts/ContentSplitter.d.ts +10 -0
  139. package/react/components/Layouts/ContentSplitter.js +56 -0
  140. package/react/components/Layouts/Layout.d.ts +8 -0
  141. package/react/components/Layouts/Layout.js +35 -0
  142. package/react/components/Layouts/LayoutContainer.js +1 -1
  143. package/react/components/Layouts/MainPanel.d.ts +1 -0
  144. package/react/components/Layouts/MainPanel.js +11 -4
  145. package/react/components/Layouts/OverlayPanel.d.ts +8 -0
  146. package/react/components/Layouts/OverlayPanel.js +49 -0
  147. package/react/components/Layouts/Panel.d.ts +1 -0
  148. package/react/components/Layouts/index.d.ts +6 -2
  149. package/react/components/Layouts/index.js +12 -4
  150. package/react/components/Lists/BoxedList.d.ts +2 -0
  151. package/react/components/Lists/BoxedList.js +6 -4
  152. package/react/components/Modal.d.ts +2 -0
  153. package/react/components/Modal.js +11 -3
  154. package/react/components/Navigation/SideBarTabs.d.ts +1 -0
  155. package/react/components/Navigation/SideBarTabs.js +4 -0
  156. package/react/components/SearchBar.d.ts +23 -0
  157. package/react/components/SearchBar.js +87 -0
  158. package/react/components/Select.d.ts +1 -0
  159. package/react/components/Select.js +1 -0
  160. package/react/components/Spinner.js +1 -1
  161. package/react/components/SwitchGroup.d.ts +1 -0
  162. package/react/components/SwitchGroup.js +1 -1
  163. package/react/index.d.ts +2 -0
  164. package/react/index.js +5 -0
  165. package/sd_icons.eot +0 -0
  166. package/sd_icons.svg +189 -0
  167. package/sd_icons.ttf +0 -0
  168. package/sd_icons.woff +0 -0
@@ -0,0 +1,1002 @@
1
+ import * as React from 'react';
2
+ import * as Components from './components/Index';
3
+ import { ButtonGroup, Button, NavButton, SubNav, Dropdown, CheckButtonGroup, RadioGroup, RadioButtonGroup, Input, Select, Option, Label, IconLabel, Icon, IconButton, Checkbox, GridList, Badge, Tooltip, CreateButton, Modal, EmptyState, Container, BoxedList, BoxedListItem, BoxedListContentRow, Text, Heading, FormLabel, SlidingToolbar, Switch, SwitchGroup, SearchBar } from '../../../../app-typescript/index';
4
+ import * as Layout from '../../../../app-typescript/components/Layouts';
5
+ import * as Form from '../../../../app-typescript/components/Form';
6
+ import {RundownEditor} from './RundownEditor';
7
+ import * as Nav from '../../../../app-typescript/components/Navigation';
8
+ import * as GridElements from '../../../../app-typescript/components/GridItem';
9
+
10
+
11
+ import dummy_items from '../dummy-data/items';
12
+ import { ContentList } from '../../../../app-typescript/components/Lists/ContentList';
13
+ import { TableList } from '../../../../app-typescript/components/Lists/TableList';
14
+
15
+ interface IProps {
16
+ children?: React.ReactNode;
17
+ }
18
+
19
+ interface IState {
20
+ theme: 'dark' | 'light' | string;
21
+ itemType: string;
22
+ dropDownState: string;
23
+ openPreview: boolean;
24
+ openFilter: boolean;
25
+ itemSelected1: boolean;
26
+ itemSelected2: boolean;
27
+ itemSelected3: boolean;
28
+ value1: boolean;
29
+
30
+ modalBasic: boolean;
31
+ modalSmall: boolean;
32
+ modalMedium: boolean;
33
+ modalNewTemplate: boolean;
34
+ modalNewShow: boolean;
35
+ modalNewShowSuccess: boolean;
36
+ modalManageTemplate: boolean;
37
+ modalManageShow: boolean;
38
+ openEditor: boolean;
39
+ openShowEditor: boolean;
40
+ array: any;
41
+ }
42
+
43
+ export class Rundowns extends React.Component<IProps, IState> {
44
+ constructor(props: IProps) {
45
+ super(props);
46
+ this.state = {
47
+ theme: 'light',
48
+ itemType: 'itemtype01',
49
+ dropDownState: '',
50
+ openPreview: false,
51
+ openFilter: false,
52
+ itemSelected1: false,
53
+ itemSelected2: false,
54
+ itemSelected3: false,
55
+ value1: true,
56
+ modalBasic: false,
57
+ modalSmall: false,
58
+ modalMedium: false,
59
+ modalNewTemplate: false,
60
+ modalNewShow: false,
61
+ modalNewShowSuccess: false,
62
+ modalManageTemplate: false,
63
+ modalManageShow: false,
64
+ openEditor: false,
65
+ openShowEditor: false,
66
+ array: [
67
+ {
68
+ start: <>
69
+ <Label style='translucent' text='aacc' />
70
+ <Label style='translucent' type='primary' text='prlg' />
71
+ </>,
72
+ center: <span>Duis mollis est non commodo</span>,
73
+ onClick: () => false,
74
+ },
75
+ {
76
+ start: <>
77
+ <Label style='translucent' type='warning' text='pokr' />
78
+ <Label style='translucent' text='slika' />
79
+ </>,
80
+ center: <span>Nullam id dolor id nibh ultricies</span>,
81
+ onClick: () => false,
82
+ },
83
+ {
84
+ start: <>
85
+ <Label style='translucent' text='aacc' />
86
+ <Label style='translucent' type='primary' text='prlg' />
87
+ </>,
88
+ center: <span>Duis mollis est non commodo</span>,
89
+ onClick: () => false,
90
+ },
91
+ {
92
+ start: <>
93
+ <Label style='translucent' type='warning' text='pokr' />
94
+ <Label style='translucent' text='slika' />
95
+ </>,
96
+ center: <span>Cras mattis consectetur purus</span>,
97
+ onClick: () => false,
98
+ },
99
+ {
100
+ start: <>
101
+ <Label style='translucent' text='aacc' />
102
+ <Label style='translucent' type='primary' text='prlg' />
103
+ </>,
104
+ center: <span>Duis mollis est non commodo</span>,
105
+ onClick: () => false,
106
+ },
107
+ ]
108
+
109
+ }
110
+ this.handleFilter = this.handleFilter.bind(this);
111
+ this.handlePreview = this.handlePreview.bind(this);
112
+ this.handleTheme = this.handleTheme.bind(this);
113
+ this.handleShow = this.handleShow.bind(this);
114
+ }
115
+
116
+ handleFilter() {
117
+ this.setState((state) => ({
118
+ openFilter: !state.openFilter,
119
+ }));
120
+ }
121
+
122
+ handlePreview() {
123
+ this.setState((state) => ({
124
+ openPreview: !state.openPreview,
125
+ }));
126
+ }
127
+
128
+ handleShow() {
129
+ this.setState((state) => ({
130
+ openShowEditor: !state.openShowEditor,
131
+ }));
132
+ }
133
+
134
+ handleTheme(newTheme: string) {
135
+ this.setState({
136
+ theme: newTheme
137
+ })
138
+ }
139
+
140
+ changeStatus(item: any, status: string) {
141
+ if (item.status.includes(status)) {
142
+ item.status.splice(item.status.indexOf(status), 1);
143
+ } else {
144
+ item.status.push(status);
145
+ }
146
+ }
147
+
148
+ render() {
149
+ const newShowFooter2=(
150
+ <ButtonGroup align="end">
151
+ <Button text='Cancel' onClick={() => {this.setState({modalNewShowSuccess:false})}}/>
152
+ <Button type='primary' text='yes, Create a Template' onClick={() => {this.setState({modalNewShowSuccess: false}), this.setState({modalNewTemplate:true})}}/>
153
+ </ButtonGroup>
154
+ );
155
+ const newShowFooter=(
156
+ <ButtonGroup align="end">
157
+ <Button text='Cancel' onClick={() => {this.setState({modalNewShow:false})}}/>
158
+ <Button type='primary' text='Save' onClick={() => {this.setState({modalNewShowSuccess: true}), this.setState({modalNewShow:false})}}/>
159
+ </ButtonGroup>
160
+ );
161
+ return (
162
+ <>
163
+ <Layout.Layout header='Rundowns' theme={this.state.theme}>
164
+ <Nav.SideBarMenu
165
+ items={[
166
+ { icon: 'dashboard', size: 'big' },
167
+ { icon: 'view', size: 'big' },
168
+ { icon: 'marked-star', size: 'big' },
169
+ { icon: 'spike', size: 'big' },
170
+ { icon: 'personal', size: 'big' },
171
+ { icon: 'global-search', size: 'big' },
172
+ { icon: 'picture', size: 'big' },
173
+ { icon: 'rundown', size: 'big', active: true }]} />
174
+
175
+ <Layout.LayoutContainer>
176
+ <Layout.HeaderPanel>
177
+ <SubNav zIndex={2}>
178
+ <SearchBar placeholder='Search media'></SearchBar>
179
+ <ButtonGroup align='end' spaces='no-space'>
180
+ <Dropdown
181
+ items={[
182
+ {
183
+ type: 'group', label: 'Settings', items: [
184
+ 'divider',
185
+ { icon: 'switches', label: 'Manage Shows', onSelect: () => this.setState({modalManageShow: true}) },
186
+ { icon: 'switches', label: 'Manage Templates', onSelect: () => this.setState({modalManageTemplate: true}) },
187
+ ]
188
+ }]}>
189
+ <NavButton icon='settings' onClick={() => false} />
190
+ </Dropdown>
191
+ <Dropdown
192
+ header={[
193
+ {
194
+ type: 'group', label: 'Create', items: []
195
+ },
196
+ {
197
+ type: 'submenu', label: 'Rundown', icon: 'plus-sign', items: [
198
+ { icon: 'plus-sign', label: 'Rundown', onSelect: () => 1 },
199
+ ]
200
+ },
201
+ ]}
202
+ items={[
203
+ {
204
+ type: 'group', label: 'Recent Templates', items: [
205
+ { icon: 'plus-sign', label: 'Marker Daily', onSelect: () => this.setState({ dropDownState: ' ' }) },
206
+ { icon: 'plus-sign', label: 'Marker Weekend', onSelect: () => this.setState({ dropDownState: ' ' }) },
207
+ { icon: 'plus-sign', label: 'Tabu Daily', onSelect: () => this.setState({ dropDownState: ' ' }) },
208
+ { icon: 'plus-sign', label: 'Tabu Specijal', onSelect: () => this.setState({ dropDownState: ' ' }) },
209
+ ]
210
+ }]}
211
+ footer={[
212
+ {
213
+ type: 'group', items: [
214
+ { icon: 'list-plus', label: 'Create new Template', onSelect: () => this.setState({modalNewTemplate: true}) },
215
+ { icon: 'rundown', label: 'Create new Show', onSelect: () => this.setState({modalNewShow: true}) },
216
+ ]
217
+ },
218
+ ]}>
219
+
220
+ <CreateButton ariaValue='Create' onClick={() => false} />
221
+ </Dropdown>
222
+ </ButtonGroup>
223
+ </SubNav>
224
+ <SubNav zIndex={1}>
225
+ <ButtonGroup align='start'>
226
+ <NavButton icon='filter-large' onClick={this.handleFilter} />
227
+ </ButtonGroup>
228
+ <ButtonGroup align='end'>
229
+ <ButtonGroup align='sub' padded={true} >
230
+ <Button size="normal" icon="chevron-left-thin" text="Previous" shape="round" iconOnly={true} disabled onClick={()=> false} />
231
+ <Button text='Today' style='hollow' onClick={() => false} />
232
+ <Button size="normal" icon="chevron-right-thin" text="Next" shape="round" iconOnly={true} onClick={()=> false} />
233
+ </ButtonGroup>
234
+ <RadioButtonGroup options={[
235
+ {value:'test10', label:'D'},
236
+ {value:'test11', label:'W'},
237
+ {value:'test12', label:'M'},
238
+ ]} group={{padded:false}} value={this.state.itemType} onChange={(value) => this.setState({ itemType: value })} />
239
+ <ButtonGroup align='sub' spaces='no-space'>
240
+ <Dropdown
241
+ items={[
242
+ {
243
+ type: 'group', label: 'Chose a theme', items: [
244
+ 'divider',
245
+ { label: 'Light', icon: 'adjust', onSelect: () => this.handleTheme('light-ui')},
246
+ { label: 'Dark', icon: 'adjust', onSelect: () => this.handleTheme('dark-ui')},
247
+ { label: 'Accessible Light', icon: 'adjust', onSelect: () => this.handleTheme('accessible-light-ui')},
248
+ ]
249
+ },
250
+ ]}>
251
+ <NavButton type='default' icon='adjust' onClick={()=> false} />
252
+ </Dropdown>
253
+ <Dropdown
254
+ items={[
255
+ {
256
+ type: 'group', label: 'Actions', items: [
257
+ 'divider',
258
+ { label: 'Action one', onSelect: () => this.setState({ dropDownState: ' ' }) },
259
+ { label: 'Action two', onSelect: () => this.setState({ dropDownState: ' ' }) },
260
+ { label: 'Action three', onSelect: () => this.setState({ dropDownState: ' ' }) },
261
+ ]
262
+ }]}>
263
+ <NavButton icon='dots-vertical' onClick={() => false} />
264
+ </Dropdown>
265
+ </ButtonGroup>
266
+ </ButtonGroup>
267
+ </SubNav>
268
+ </Layout.HeaderPanel>
269
+ {/* TOOLBAR HEADER */}
270
+
271
+ <Layout.LeftPanel open={this.state.openFilter}>
272
+ <Layout.Panel side='left' background='grey'>
273
+ <Layout.PanelHeader title='Advanced filters' onClose={() => this.setState({'openFilter': false})} />
274
+ <Layout.PanelContent>
275
+ <Layout.PanelContentBlock>
276
+ <Form.FormGroup>
277
+ <Form.FormItem>
278
+ <Select
279
+ label='Shows'
280
+ labelHidden={true}
281
+ value='This is some value'
282
+ error='This is error message'
283
+ info='This is some hint message'
284
+ required={true}
285
+ disabled={false}
286
+ invalid={false}
287
+ onChange={(value) => {}}>
288
+ <Option>Marker</Option>
289
+ <Option>Tabu</Option>
290
+ </Select>
291
+ </Form.FormItem>
292
+ </Form.FormGroup>
293
+ <div className="form__group">
294
+ <div className="form__item">
295
+ <Input label='Title'
296
+ error='This is error message'
297
+ type='text'
298
+ value='Title'
299
+ inlineLabel={false}
300
+ disabled={false}
301
+ invalid={false}
302
+ onChange={(value) => { }} />
303
+ </div>
304
+ </div>
305
+ <div className="form__group">
306
+ <div className="form__item">
307
+ <Select label='Source'
308
+ value='Select ingest source...'
309
+ error='This is error message'
310
+ inlineLabel={false}
311
+ disabled={false}
312
+ invalid={false}
313
+ onChange={(value) => { }}>
314
+ <Option value="option-1">Select ingest source...</Option>
315
+ <Option value="option-2">Associated Press</Option>
316
+ <Option value="option-3">Reuters</Option>
317
+ </Select>
318
+ </div>
319
+ </div>
320
+
321
+ <div className="form__group">
322
+ <div className="form__item">
323
+ <Input label='Keyword'
324
+ error='This is error message'
325
+ type='text'
326
+ value='Keyword'
327
+ inlineLabel={false}
328
+ disabled={false}
329
+ invalid={false}
330
+ onChange={(value) => { }} />
331
+ </div>
332
+ </div>
333
+
334
+ <div className="form__group">
335
+ <div className="form__item">
336
+ <Select label='Usage right'
337
+ value='--- Not selected ---'
338
+ error='This is error message'
339
+ info='Dolor in hendrerit.'
340
+ inlineLabel={false}
341
+ disabled={false}
342
+ invalid={false}
343
+ onChange={(value) => { }}>
344
+ <Option value="">--- Not selected ---</Option>
345
+ <Option value="single">Single usage</Option>
346
+ <Option value="time">Time restricted</Option>
347
+ <Option value="bananas">Indefinite usage</Option>
348
+ <Option value="indefinite">Pears</Option>
349
+ </Select>
350
+ </div>
351
+ </div>
352
+ </Layout.PanelContentBlock>
353
+ </Layout.PanelContent>
354
+ <Layout.PanelFooter>
355
+ <Button text='Clear' style='hollow' onClick={() => false} />
356
+ <Button text='Submit' type='primary' onClick={() => false} />
357
+ </Layout.PanelFooter>
358
+ </Layout.Panel>
359
+ </Layout.LeftPanel>
360
+ {/* FILTER PANEL*/}
361
+ <Layout.MainPanel>
362
+
363
+ {/* <GridList size="small" gap="medium" margin="3">
364
+ {dummy_items.map((item, index) =>
365
+ <GridElements.GridItem locked={item.locked} status={item.status} onClick={this.handlePreview} itemtype={item.type} key={index}>
366
+ <GridElements.GridItemCheckWrapper>
367
+ <Checkbox checked={item.selected} label={{text:''}} onChange={(value) => {
368
+ item.selected = value;
369
+ this.changeStatus(item, 'selected');
370
+ }} />
371
+ </GridElements.GridItemCheckWrapper>
372
+ <GridElements.GridItemTopActions>
373
+ <IconButton icon='fullscreen' ariaValue='More actions' onClick={()=> false} />
374
+ </GridElements.GridItemTopActions>
375
+ <GridElements.GridItemMedia>
376
+ { item.image ? <img src={item.image} alt={item.imageAlt}/> : null }
377
+ </GridElements.GridItemMedia>
378
+ <GridElements.GridItemContent>
379
+ <GridElements.GridItemTime time={item.date} />
380
+ <GridElements.GridItemTitle>{item.title}</GridElements.GridItemTitle>
381
+ <GridElements.GridItemText>{item.description}</GridElements.GridItemText>
382
+ </GridElements.GridItemContent>
383
+ <GridElements.GridItemFooter>
384
+ <GridElements.GridItemFooterBlock align='left'>
385
+ <Icon name={item.type} className='sd-grid-item__type-icn' />
386
+ <Badge text={item.urgency} color={item.urgencyColor} />
387
+ <Badge text={item.priority} shape='square' color={item.priorityColor} />
388
+ </GridElements.GridItemFooterBlock>
389
+ <GridElements.GridItemFooterActions>
390
+ <IconButton icon='dots-vertical' ariaValue='More actions' onClick={()=> this.changeStatus(item, 'archived')} />
391
+ </GridElements.GridItemFooterActions>
392
+ </GridElements.GridItemFooter>
393
+ </GridElements.GridItem>
394
+ )}
395
+ </GridList> */}
396
+
397
+ <ContentList
398
+ items={[
399
+ {
400
+ itemColum: [
401
+ {
402
+ itemRow: [{content:<>
403
+ <i className="icon-rundown"></i>
404
+ </>}],
405
+ border: true
406
+ },
407
+ {
408
+ itemRow: [
409
+ {
410
+ content:
411
+ <>
412
+ <span className="sd-list-item__slugline">19:00 – 19:45</span>
413
+ <IconLabel style='translucent' innerLabel='Duration:' text='00:38' size='small' type='warning' />
414
+ <IconLabel style='translucent' innerLabel='Planned Duration:'text='00:45' size='small' />
415
+ <time className='sd-margin-s--auto' title="June 01, 2022 11:08 AM">11:08, 01.06.2022</time>
416
+ </>
417
+ },
418
+ {
419
+ content:
420
+ <>
421
+ <Label text='Marker' color='blue--800'/>
422
+ <span className='sd-list-item__compound-text'>
423
+ <span className='sd-list-item__text-label'>Template:</span>
424
+ <span>Marker Daily</span>
425
+ </span>
426
+ <span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">Marker // 01.06.2022</span>
427
+ <Label style='translucent' text='In Progress' type='warning' />
428
+ </>
429
+ },
430
+ ],
431
+ fullwidth: true,
432
+ }
433
+ ],
434
+ action: <IconButton icon='dots-vertical' ariaValue='More actions' onClick={()=> false} />,
435
+ locked: true,
436
+ onClick: () => this.setState({openEditor: !this.state.openEditor}),
437
+ },
438
+ {
439
+ itemColum: [
440
+ {
441
+ itemRow: [{content:<>
442
+ <i className="icon-rundown"></i>
443
+ </>}],
444
+ border: true
445
+ },
446
+ {
447
+ itemRow: [
448
+ {
449
+ content:
450
+ <>
451
+ <span className="sd-list-item__slugline">19:00 – 19:45</span>
452
+ <IconLabel style='translucent' innerLabel='Duration:' text='00:38' size='small' type='warning' />
453
+ <IconLabel style='translucent' innerLabel='Planned Duration:'text='00:45' size='small' />
454
+ <time className='sd-margin-s--auto' title="June 01, 2022 11:08 AM">11:08, 01.06.2022</time>
455
+ </>
456
+ },
457
+ {
458
+ content:
459
+ <>
460
+ <Label text='Tabu' color='blue--800'/>
461
+ <span className='sd-list-item__compound-text'>
462
+ <span className='sd-list-item__text-label'>Template:</span>
463
+ <span>Tabu Daily</span>
464
+ </span>
465
+ <span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">Marker // 01.06.2022</span>
466
+ <Label style='translucent' text='Draft' />
467
+ </>
468
+ },
469
+ ],
470
+ fullwidth: true,
471
+ }
472
+ ],
473
+ action: <IconButton icon='dots-vertical' ariaValue='More actions' onClick={()=> false} />,
474
+ onClick: () => this.setState({openPreview: !this.state.openPreview}),
475
+ },
476
+ ]} />
477
+
478
+ </Layout.MainPanel>
479
+ {/* MAIN CONTENT (Monitoring) */}
480
+ <Layout.RightPanel open={this.state.openPreview}>
481
+ <Layout.Panel side='right'>
482
+ <Layout.PanelHeader title='Item preview' onClose={() => this.setState({'openPreview': false})} />
483
+ <Layout.PanelContent>
484
+ <Layout.PanelContentBlock flex={true}>
485
+ <Container direction='column' gap='x-small'>
486
+ <Container direction='row' gap='small'><Text color='light'>Created 09.06.2022 by </Text><Text weight='medium'>Mika Karapet</Text></Container>
487
+ <Container direction='row' gap='small'><Text color='light'>Updated 3 hours ago by </Text><Text weight='medium'>John Doe</Text></Container>
488
+ </Container>
489
+ <Container className='sd-margin-s--auto sd-flex--items-center'>
490
+ <Dropdown
491
+ align = 'right'
492
+ append = {true}
493
+ items={[
494
+ {
495
+ type: 'group', label: 'Actions', items: [
496
+ 'divider',
497
+ { label: 'Edit', icon: 'pencil', onSelect: () => this.setState({ dropDownState: 'Edit ' }) },
498
+ { label: 'Download', icon: 'download', onSelect: () => this.setState({ dropDownState: 'Download' }) },
499
+ { label: 'Delete', icon: 'trash', onSelect: () => this.setState({ dropDownState: 'Delete' }) },
500
+ ]
501
+ }]}>
502
+ <IconButton ariaValue='dropdown-more-options' icon='dots-vertical' onClick={() => false} />
503
+ </Dropdown>
504
+ </Container>
505
+ </Layout.PanelContentBlock>
506
+
507
+ <Layout.PanelContentBlock>
508
+ <Container direction='row' gap='large' className='sd-margin-b--3'>
509
+ <Label size='large' text='Tabu' color='blue--800'/>
510
+ <Container direction='row' gap='small'>
511
+ <Text color='light' size='small' style='italic' >Template:</Text>
512
+ <Text size='small' style='italic' weight='medium'>Tabu daily</Text>
513
+ </Container>
514
+ </Container>
515
+
516
+ <Container direction='column' className='sd-margin-y--2'>
517
+ {/* <FormLabel text='Title' /> */}
518
+ <Heading type='h2'>Tabu // 01.06.2022</Heading>
519
+ </Container>
520
+ <ButtonGroup>
521
+ <IconLabel style='translucent' innerLabel='Airtime:' text='19:45 - 20:45' type='primary' />
522
+ <IconLabel style='translucent' innerLabel='Duration:' text='00:56' type='warning' />
523
+ <Text color='light' size='small' className='sd-margin--0'>OF</Text>
524
+ <IconLabel style='translucent' innerLabel='Planned:'text='01:00' />
525
+ </ButtonGroup>
526
+ <TableList
527
+ className='sd-margin-y--4'
528
+ array={this.state.array}
529
+ itemsDropdown={[
530
+ { label: <Label style='translucent' type='primary' text='aacc' />, onSelect: () => 1 },
531
+ { label: <Label style='translucent' text='prlg' />, onSelect: () => 1 },
532
+ { label: <Label style='translucent' type='primary' text='prlg' />, onSelect: () => 1 },
533
+ ]}
534
+ onClick={() => false}
535
+ />
536
+ </Layout.PanelContentBlock>
537
+ </Layout.PanelContent>
538
+ </Layout.Panel>
539
+ </Layout.RightPanel>
540
+ {/* PREVIEW PANEL*/}
541
+
542
+ <Layout.OverlayPanel />
543
+ {/* OVERLAY PANEL (Send To) */}
544
+ </Layout.LayoutContainer>
545
+ <Layout.ContentSplitter visible={this.state.openEditor} />
546
+ {/* RUNDOWN EDITOR */}
547
+ <Layout.AuthoringContainer open={this.state.openEditor}>
548
+ <RundownEditor />
549
+ </Layout.AuthoringContainer>
550
+ {/* END RUNDOWN EDITOR */}
551
+ </Layout.Layout >
552
+
553
+ {/* Manage Templates Modal */}
554
+ <Modal headerTemplate="Manage Templates"
555
+ visible={this.state.modalManageTemplate}
556
+ contentBg='medium'
557
+ contentPadding='none'
558
+ size='x-large' onHide={() => {this.setState({modalManageTemplate: false})}}>
559
+ <Layout.LayoutContainer>
560
+ <Layout.LeftPanel open={true}>
561
+ <Layout.Panel side='left' background='grey'>
562
+ <Layout.PanelHeader>
563
+ <Container className='sd-padding-x--2'>
564
+ <Select
565
+ label='Shows'
566
+ fullWidth={true}
567
+ labelHidden={true}
568
+ inlineLabel={true}
569
+ value='This is some value'
570
+ required={true}
571
+ disabled={false}
572
+ invalid={false}
573
+ onChange={(value) => {}}>
574
+ <Option>Select show</Option>
575
+ <Option>Marker</Option>
576
+ <Option>Tabu</Option>
577
+ </Select>
578
+ </Container>
579
+ </Layout.PanelHeader>
580
+ <Layout.PanelContent>
581
+ <EmptyState
582
+ title={'No show is selected'}
583
+ description={'Please select a Show from the dropdown at the top.'}
584
+ size="small"
585
+ illustration="1" />
586
+ {/* <Container className='sd-margin-b--1'>
587
+ <ButtonGroup align='end'>
588
+ <Tooltip text='Manage templates'>
589
+ <Button type="primary" size='small' icon="plus-large" text="Cretae new Template" shape="round" iconOnly={true} onClick={()=> false} />
590
+ </Tooltip>
591
+ </ButtonGroup>
592
+ </Container> */}
593
+ {/* <BoxedList>
594
+ <BoxedListItem
595
+ alignVertical='center'
596
+ clickable={true}
597
+ density='compact'
598
+ actions={(
599
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
600
+ )}
601
+ >
602
+ <Container gap='small' >
603
+ <Label text='Marker' color='blue--800'/>
604
+ <span>Marker Daily</span>
605
+ </Container>
606
+ </BoxedListItem>
607
+ <BoxedListItem
608
+ alignVertical='center'
609
+ clickable={true}
610
+ density='compact'
611
+ selected={true}
612
+ actions={(
613
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
614
+ )}
615
+ >
616
+ <Container gap='small' >
617
+ <Label text='Marker' color='blue--800'/>
618
+ <span>Marker Weekend</span>
619
+ </Container>
620
+ </BoxedListItem>
621
+ <BoxedListItem
622
+ alignVertical='center'
623
+ density='compact'
624
+ clickable={true}
625
+ actions={(
626
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
627
+ )}
628
+ >
629
+ <Container gap='small' >
630
+ <Label text='Marker' color='blue--800'/>
631
+ <span>Marker Special</span>
632
+ </Container>
633
+ </BoxedListItem>
634
+ </BoxedList> */}
635
+
636
+
637
+ </Layout.PanelContent>
638
+ </Layout.Panel>
639
+ </Layout.LeftPanel>
640
+ {/* FILTER PANEL*/}
641
+ <Layout.MainPanel >
642
+ <EmptyState
643
+ title={'No Template selected'}
644
+ description={'Please select a Show and Template frome the side panel.'}
645
+ size="large"
646
+ illustration="1" />
647
+ </Layout.MainPanel>
648
+ {/* MAIN CONTENT */}
649
+ </Layout.LayoutContainer>
650
+ </Modal>
651
+
652
+ {/* New Show Modal */}
653
+ <Modal headerTemplate="Create new Show"
654
+ visible={this.state.modalNewShow}
655
+ footerTemplate={newShowFooter}
656
+ contentBg='medium'
657
+ size='medium' onHide={() => {this.setState({modalNewShow: false})}}>
658
+ <Form.FormGroup>
659
+ <Form.FormItem>
660
+ <Input
661
+ label='Show name'
662
+ type='text'
663
+ value=''
664
+ error='This is error message'
665
+ required={true}
666
+ onChange={() => {}}
667
+ />
668
+ </Form.FormItem>
669
+ </Form.FormGroup>
670
+ <Form.FormGroup>
671
+ <Form.FormItem>
672
+ <Input
673
+ label='Description'
674
+ type='text'
675
+ value=''
676
+ error='This is error message'
677
+ required={false}
678
+ onChange={() => {}}
679
+ />
680
+ </Form.FormItem>
681
+ </Form.FormGroup>
682
+ </Modal>
683
+ {/* New Show Modal Success */}
684
+ <Modal headerTemplate="Create new Show"
685
+ visible={this.state.modalNewShowSuccess}
686
+ footerTemplate={newShowFooter2}
687
+ contentBg='medium'
688
+ size='medium' onHide={() => {this.setState({modalNewShowSuccess: false})}}>
689
+ <Container direction='column' className='sd-flex--justify-center sd-flex--items-center sd-padding-y--2' gap='medium'>
690
+ <Icon name='checkmark-circle' type='success' size='big' scale='3x' />
691
+ <Text align='center' size='medium'>
692
+ The show <strong>Marker</strong> has been successfully created.<br />
693
+ Do you want to cretate a template for this show right away?
694
+ </Text>
695
+
696
+
697
+ </Container>
698
+ </Modal>
699
+
700
+ {/* New Template Modal */}
701
+ <Modal headerTemplate="Create new Template"
702
+ visible={this.state.modalNewTemplate}
703
+ contentBg='medium'
704
+ contentPadding='none'
705
+ size='x-large' onHide={() => {this.setState({modalNewTemplate: false})}}>
706
+ <Layout.LayoutContainer>
707
+ <Layout.LeftPanel open={true}>
708
+ <Layout.Panel side='left' background='grey'>
709
+ <Layout.PanelHeader>
710
+ <Container className='sd-padding-x--2'>
711
+ <Select
712
+ label='Shows'
713
+ fullWidth={true}
714
+ labelHidden={true}
715
+ inlineLabel={true}
716
+ value='This is some value'
717
+ required={true}
718
+ disabled={false}
719
+ invalid={false}
720
+ onChange={(value) => {}}>
721
+ <Option>Marker</Option>
722
+ <Option>Tabu</Option>
723
+ </Select>
724
+ </Container>
725
+ </Layout.PanelHeader>
726
+ <Layout.PanelContent>
727
+ <Layout.PanelContentBlock>
728
+ <Container className='sd-margin-b--1-5'>
729
+ <ButtonGroup align='end'>
730
+ <Tooltip text='New template' flow='left'>
731
+ <Button type="primary" size='small' icon="plus-large" text="Cretae new Template" shape="round" iconOnly={true} onClick={()=> false} />
732
+ </Tooltip>
733
+ </ButtonGroup>
734
+ </Container>
735
+ <BoxedList>
736
+ <BoxedListItem
737
+ alignVertical='center'
738
+ clickable={true}
739
+ density='compact'
740
+ selected={true}
741
+ actions={(
742
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
743
+ )}
744
+ >
745
+ <Container gap='small' >
746
+ <Label text='Marker' color='blue--800'/>
747
+ <span>Untitled</span>
748
+ </Container>
749
+ </BoxedListItem>
750
+ <BoxedListItem
751
+ alignVertical='center'
752
+ clickable={true}
753
+ density='compact'
754
+ actions={(
755
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
756
+ )}
757
+ >
758
+ <Container gap='small' >
759
+ <Label text='Marker' color='blue--800'/>
760
+ <span>Marker Daily</span>
761
+ </Container>
762
+ </BoxedListItem>
763
+ <BoxedListItem
764
+ alignVertical='center'
765
+ clickable={true}
766
+ density='compact'
767
+ actions={(
768
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
769
+ )}
770
+ >
771
+ <Container gap='small' >
772
+ <Label text='Marker' color='blue--800'/>
773
+ <span>Marker Weekend</span>
774
+ </Container>
775
+ </BoxedListItem>
776
+ <BoxedListItem
777
+ alignVertical='center'
778
+ density='compact'
779
+ clickable={true}
780
+ actions={(
781
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
782
+ )}
783
+ >
784
+ <Container gap='small' >
785
+ <Label text='Marker' color='blue--800'/>
786
+ <span>Marker Special</span>
787
+ </Container>
788
+ </BoxedListItem>
789
+ </BoxedList>
790
+
791
+ </Layout.PanelContentBlock>
792
+ </Layout.PanelContent>
793
+ </Layout.Panel>
794
+ </Layout.LeftPanel>
795
+ {/* FILTER PANEL*/}
796
+ <Layout.MainPanel padding='none'>
797
+
798
+ <RundownEditor />
799
+
800
+ </Layout.MainPanel>
801
+ {/* MAIN CONTENT */}
802
+ </Layout.LayoutContainer>
803
+ </Modal>
804
+
805
+ {/* Manage Shows Modal */}
806
+ <Modal headerTemplate="Manage Shows"
807
+ visible={this.state.modalManageShow}
808
+ contentBg='medium'
809
+ contentPadding='none'
810
+ size='x-large' onHide={() => {this.setState({modalManageShow: false})}}>
811
+ <Layout.LayoutContainer>
812
+ <Layout.HeaderPanel>
813
+ <SubNav zIndex={2}>
814
+ <SearchBar placeholder='Search shows'></SearchBar>
815
+ <ButtonGroup align='end' spaces='no-space'>
816
+ <CreateButton ariaValue='New show' onClick={() => false} />
817
+ </ButtonGroup>
818
+ </SubNav>
819
+ </Layout.HeaderPanel>
820
+ {/* MAIN CONTENT */}
821
+ <Layout.MainPanel>
822
+ <BoxedList>
823
+ <BoxedListItem
824
+ alignVertical='center'
825
+ clickable={true}
826
+ density='compact'
827
+ selected={this.state.openShowEditor}
828
+ onClick={() => this.setState({openShowEditor: !this.state.openShowEditor})}
829
+ actions={(
830
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
831
+ )}
832
+ >
833
+ <Container className='sd-flex-justify-space-between'>
834
+ <Heading type='h4'>Marker</Heading>
835
+ <Text color='lighter'>3 template</Text>
836
+ </Container>
837
+ </BoxedListItem>
838
+ <BoxedListItem
839
+ alignVertical='center'
840
+ clickable={true}
841
+ density='compact'
842
+ actions={(
843
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
844
+ )}
845
+ >
846
+ <Container className='sd-flex-justify-space-between'>
847
+ <Heading type='h4'>Tabu</Heading>
848
+ <Text color='lighter'>3 template</Text>
849
+ </Container>
850
+ </BoxedListItem>
851
+ <BoxedListItem
852
+ alignVertical='center'
853
+ clickable={true}
854
+ density='compact'
855
+ actions={(
856
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
857
+ )}
858
+ >
859
+ <Container className='sd-flex-justify-space-between'>
860
+ <Heading type='h4'>Život u ringu</Heading>
861
+ <Text color='lighter'>1 template</Text>
862
+ </Container>
863
+ </BoxedListItem>
864
+ <BoxedListItem
865
+ alignVertical='center'
866
+ density='compact'
867
+ clickable={true}
868
+ actions={(
869
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
870
+ )}
871
+ >
872
+ <Container className='sd-flex-justify-space-between'>
873
+ <Heading type='h4'>Intervju</Heading>
874
+ <Text color='lighter'>3 templates</Text>
875
+ </Container>
876
+ </BoxedListItem>
877
+ </BoxedList>
878
+
879
+ </Layout.MainPanel>
880
+ <Layout.RightPanel open={this.state.openShowEditor}>
881
+ <Layout.Panel side='right' background='grey'>
882
+ <Layout.PanelHeader title='Show details' onClose={() => this.setState({'openShowEditor': false})} >
883
+
884
+ {this.state.value1 ||
885
+ <Layout.PanelHeaderSlidingToolbar>
886
+ <ButtonGroup align='start'>
887
+ <IconButton ariaValue="Close" icon="close-small" onClick={() => this.setState({openShowEditor: !this.state.openShowEditor})} />
888
+ </ButtonGroup>
889
+ <ButtonGroup align='end'>
890
+ <Button text="Save Changes" style='hollow' onClick={() => this.setState({openShowEditor: !this.state.openShowEditor})} type="primary" />
891
+ </ButtonGroup>
892
+ </Layout.PanelHeaderSlidingToolbar>}
893
+ </Layout.PanelHeader>
894
+ <Layout.PanelContent>
895
+ <Layout.PanelContentBlock flex={true}>
896
+ <Container direction='column' gap='x-small'>
897
+ <Container direction='row' gap='small'><Text color='light'>Created 09.06.2022 by </Text><Text weight='medium'>Mika Karapet</Text></Container>
898
+ <Container direction='row' gap='small'><Text color='light'>Updated 3 hours ago by </Text><Text weight='medium'>John Doe</Text></Container>
899
+ </Container>
900
+ <Container className='sd-margin-s--auto sd-flex--items-center'>
901
+ <Dropdown
902
+ align = 'right'
903
+ append = {true}
904
+ items={[
905
+ {
906
+ type: 'group', label: 'Actions', items: [
907
+ 'divider',
908
+ { label: 'Edit', icon: 'pencil', onSelect: () => this.setState({ dropDownState: 'Edit ' }) },
909
+ { label: 'Download', icon: 'download', onSelect: () => this.setState({ dropDownState: 'Download' }) },
910
+ { label: 'Delete', icon: 'trash', onSelect: () => this.setState({ dropDownState: 'Delete' }) },
911
+ ]
912
+ }]}>
913
+ <IconButton ariaValue='dropdown-more-options' icon='dots-vertical' onClick={() => false} />
914
+ </Dropdown>
915
+ </Container>
916
+ </Layout.PanelContentBlock>
917
+ <Layout.PanelContentBlock>
918
+ <SwitchGroup className='sd-margin-b--3'>
919
+ <Switch label={{text:'Active'}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
920
+ </SwitchGroup>
921
+ <Form.FormGroup>
922
+ <Form.FormItem>
923
+ <Input
924
+ type='text'
925
+ label='Show name'
926
+ value='Marker'
927
+ error='This is error message'
928
+ info=' '
929
+ required={true}
930
+ disabled={false}
931
+ invalid={false}
932
+ onChange={(value) => {}} />
933
+ </Form.FormItem>
934
+ </Form.FormGroup>
935
+ <Form.FormGroup>
936
+ <Form.FormItem>
937
+ <Input
938
+ type='text'
939
+ label='Description'
940
+ value=''
941
+ error='This is error message'
942
+ info=''
943
+ required={false}
944
+ disabled={false}
945
+ invalid={false}
946
+ onChange={(value) => {}} />
947
+ </Form.FormItem>
948
+ </Form.FormGroup>
949
+ </Layout.PanelContentBlock>
950
+
951
+ <Layout.PanelContentBlock>
952
+ <Heading type='h3' className='sd-margin-b--2'>Show templates</Heading>
953
+ <BoxedList>
954
+ <BoxedListItem
955
+ alignVertical='center'
956
+ density='compact'
957
+ actions={(
958
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
959
+ )}
960
+ >
961
+ <Container gap='small' >
962
+ <Label text='Marker' color='blue--800'/>
963
+ <span>Marker Daily</span>
964
+ </Container>
965
+ </BoxedListItem>
966
+ <BoxedListItem
967
+ alignVertical='center'
968
+ density='compact'
969
+ actions={(
970
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
971
+ )}
972
+ >
973
+ <Container gap='small' >
974
+ <Label text='Marker' color='blue--800'/>
975
+ <span>Marker Weekend</span>
976
+ </Container>
977
+ </BoxedListItem>
978
+ <BoxedListItem
979
+ alignVertical='center'
980
+ density='compact'
981
+ actions={(
982
+ <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
983
+ )}
984
+ >
985
+ <Container gap='small' >
986
+ <Label text='Marker' color='blue--800'/>
987
+ <span>Marker Special</span>
988
+ </Container>
989
+ </BoxedListItem>
990
+ </BoxedList>
991
+
992
+ </Layout.PanelContentBlock>
993
+ </Layout.PanelContent>
994
+ </Layout.Panel>
995
+ </Layout.RightPanel>
996
+ </Layout.LayoutContainer>
997
+ </Modal>
998
+ {/* End All Modals */}
999
+ </>
1000
+ );
1001
+ }
1002
+ }