superdesk-ui-framework 3.0.65 → 3.0.67

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 (443) hide show
  1. package/app/styles/_boxed-list.scss +10 -3
  2. package/app/styles/_helpers.scss +3 -1
  3. package/app/styles/components/_list-item.scss +22 -11
  4. package/app/styles/components/_sd-searchbar.scss +20 -1
  5. package/app/styles/primereact/_pr-dialog.scss +29 -13
  6. package/app-typescript/components/Autocomplete.tsx +9 -3
  7. package/app-typescript/components/Badge.tsx +16 -2
  8. package/app-typescript/components/Dropdown.tsx +3 -1
  9. package/app-typescript/components/DropdownFirst.tsx +14 -2
  10. package/app-typescript/components/DurationInput.tsx +19 -4
  11. package/app-typescript/components/EmptyState.tsx +11 -2
  12. package/app-typescript/components/Layouts/Panel.tsx +12 -1
  13. package/app-typescript/components/Lists/ContentList.tsx +5 -1
  14. package/app-typescript/components/Modal.tsx +12 -3
  15. package/app-typescript/components/Navigation/BottomNav.tsx +9 -2
  16. package/app-typescript/components/Navigation/QuickNavBar.tsx +10 -2
  17. package/app-typescript/components/Navigation/SideBarMenu.tsx +9 -4
  18. package/app-typescript/components/SearchBar.tsx +1 -0
  19. package/app-typescript/components/SidebarMenu.tsx +8 -1
  20. package/app-typescript/components/TabList.tsx +5 -1
  21. package/app-typescript/components/TagInput.tsx +4 -1
  22. package/app-typescript/components/ThemeSelector.tsx +13 -2
  23. package/app-typescript/components/TreeMenu.tsx +127 -122
  24. package/app-typescript/components/TreeSelect/TreeSelect.tsx +157 -141
  25. package/app-typescript/components/WithPortal.tsx +49 -0
  26. package/app-typescript/components/avatar/avatar-image.tsx +2 -0
  27. package/app-typescript/components/avatar/avatar.tsx +2 -1
  28. package/dist/examples.bundle.js +1409 -1278
  29. package/dist/playgrounds/planning.html +121 -43
  30. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  31. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  32. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  33. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  34. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  35. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  36. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  37. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  38. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  39. package/dist/playgrounds/react-playgrounds/TestGround.tsx +140 -121
  40. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  41. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  42. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  43. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  44. package/dist/superdesk-ui.bundle.css +79 -33
  45. package/dist/superdesk-ui.bundle.js +833 -729
  46. package/dist/vendor.bundle.js +14 -14
  47. package/examples/pages/playgrounds/planning.html +121 -43
  48. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  49. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  50. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  51. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  52. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  53. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  54. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  55. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  56. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  57. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +140 -121
  58. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  59. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  60. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  61. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  62. package/package.json +1 -1
  63. package/react/{components → app-typescript/components}/Autocomplete.js +2 -2
  64. package/react/{components → app-typescript/components}/Badge.js +1 -1
  65. package/react/{components → app-typescript/components}/Dropdown.js +3 -1
  66. package/react/{components → app-typescript/components}/DropdownFirst.js +6 -2
  67. package/react/{components → app-typescript/components}/DurationInput.js +5 -1
  68. package/react/{components → app-typescript/components}/EmptyState.js +2 -1
  69. package/react/{components → app-typescript/components}/Lists/ContentList.js +1 -1
  70. package/react/{components → app-typescript/components}/Modal.js +2 -2
  71. package/react/{components → app-typescript/components}/Navigation/BottomNav.js +4 -1
  72. package/react/{components → app-typescript/components}/Navigation/QuickNavBar.js +2 -1
  73. package/react/{components → app-typescript/components}/Navigation/SideBarMenu.js +3 -1
  74. package/react/{components → app-typescript/components}/SearchBar.js +1 -0
  75. package/react/{components → app-typescript/components}/TabList.js +2 -1
  76. package/react/{components → app-typescript/components}/TagInput.js +1 -1
  77. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.d.ts +3 -2
  78. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.js +81 -73
  79. package/react/app-typescript/components/WithPortal.d.ts +14 -0
  80. package/react/app-typescript/components/WithPortal.js +69 -0
  81. package/react/{components → app-typescript/components}/avatar/avatar.js +2 -1
  82. package/react/examples/pages/playgrounds/dummy-data/items.d.ts +16 -0
  83. package/react/examples/pages/playgrounds/dummy-data/items.js +95 -0
  84. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.d.ts +51 -0
  85. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.js +454 -0
  86. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.d.ts +27 -0
  87. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.js +256 -0
  88. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.d.ts +19 -0
  89. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.js +160 -0
  90. package/react/examples/pages/playgrounds/react-playgrounds/Index.d.ts +11 -0
  91. package/react/examples/pages/playgrounds/react-playgrounds/Index.js +25 -0
  92. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.d.ts +36 -0
  93. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.js +200 -0
  94. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.d.ts +22 -0
  95. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.js +134 -0
  96. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.d.ts +40 -0
  97. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.js +350 -0
  98. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.d.ts +32 -0
  99. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.js +267 -0
  100. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.d.ts +39 -0
  101. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.js +558 -0
  102. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.d.ts +24 -0
  103. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.js +241 -0
  104. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.d.ts +27 -0
  105. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.js +508 -0
  106. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.d.ts +24 -0
  107. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.js +239 -0
  108. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.d.ts +11 -0
  109. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.js +64 -0
  110. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.d.ts +10 -0
  111. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.js +62 -0
  112. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.d.ts +14 -0
  113. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.js +65 -0
  114. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.d.ts +8 -0
  115. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.js +53 -0
  116. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.d.ts +8 -0
  117. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.js +53 -0
  118. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.d.ts +19 -0
  119. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.js +41 -0
  120. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.d.ts +8 -0
  121. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.js +40 -0
  122. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.d.ts +8 -0
  123. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.js +53 -0
  124. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.d.ts +9 -0
  125. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.js +53 -0
  126. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.d.ts +10 -0
  127. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.js +63 -0
  128. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.d.ts +8 -0
  129. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.js +55 -0
  130. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.d.ts +10 -0
  131. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.js +63 -0
  132. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.d.ts +8 -0
  133. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.js +53 -0
  134. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.d.ts +11 -0
  135. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.js +63 -0
  136. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.d.ts +8 -0
  137. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.js +54 -0
  138. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.d.ts +12 -0
  139. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.js +63 -0
  140. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.d.ts +9 -0
  141. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.js +53 -0
  142. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.d.ts +23 -0
  143. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.js +92 -0
  144. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.d.ts +20 -0
  145. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.js +83 -0
  146. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.d.ts +9 -0
  147. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.js +60 -0
  148. package/tsconfig.json +5 -1
  149. /package/dist/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  150. /package/examples/pages/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  151. /package/react/{components → app-typescript/components}/Alert.d.ts +0 -0
  152. /package/react/{components → app-typescript/components}/Alert.js +0 -0
  153. /package/react/{components → app-typescript/components}/Autocomplete.d.ts +0 -0
  154. /package/react/{components → app-typescript/components}/Badge.d.ts +0 -0
  155. /package/react/{components → app-typescript/components}/Button.d.ts +0 -0
  156. /package/react/{components → app-typescript/components}/Button.js +0 -0
  157. /package/react/{components → app-typescript/components}/ButtonGroup.d.ts +0 -0
  158. /package/react/{components → app-typescript/components}/ButtonGroup.js +0 -0
  159. /package/react/{components → app-typescript/components}/Carousel.d.ts +0 -0
  160. /package/react/{components → app-typescript/components}/Carousel.js +0 -0
  161. /package/react/{components → app-typescript/components}/CheckButtonGroup.d.ts +0 -0
  162. /package/react/{components → app-typescript/components}/CheckButtonGroup.js +0 -0
  163. /package/react/{components → app-typescript/components}/CheckGroup.d.ts +0 -0
  164. /package/react/{components → app-typescript/components}/CheckGroup.js +0 -0
  165. /package/react/{components → app-typescript/components}/Checkbox.d.ts +0 -0
  166. /package/react/{components → app-typescript/components}/Checkbox.js +0 -0
  167. /package/react/{components → app-typescript/components}/CheckboxButton.d.ts +0 -0
  168. /package/react/{components → app-typescript/components}/CheckboxButton.js +0 -0
  169. /package/react/{components → app-typescript/components}/ContentDivider.d.ts +0 -0
  170. /package/react/{components → app-typescript/components}/ContentDivider.js +0 -0
  171. /package/react/{components → app-typescript/components}/CreateButton.d.ts +0 -0
  172. /package/react/{components → app-typescript/components}/CreateButton.js +0 -0
  173. /package/react/{components → app-typescript/components}/DatePicker.d.ts +0 -0
  174. /package/react/{components → app-typescript/components}/DatePicker.js +0 -0
  175. /package/react/{components → app-typescript/components}/Divider.d.ts +0 -0
  176. /package/react/{components → app-typescript/components}/Divider.js +0 -0
  177. /package/react/{components → app-typescript/components}/DonutChart.d.ts +0 -0
  178. /package/react/{components → app-typescript/components}/DonutChart.js +0 -0
  179. /package/react/{components → app-typescript/components}/DragHandle.d.ts +0 -0
  180. /package/react/{components → app-typescript/components}/DragHandle.js +0 -0
  181. /package/react/{components → app-typescript/components}/DropZone.d.ts +0 -0
  182. /package/react/{components → app-typescript/components}/DropZone.js +0 -0
  183. /package/react/{components → app-typescript/components}/Dropdown.d.ts +0 -0
  184. /package/react/{components → app-typescript/components}/DropdownFirst.d.ts +0 -0
  185. /package/react/{components → app-typescript/components}/DurationInput.d.ts +0 -0
  186. /package/react/{components → app-typescript/components}/EmptyState.d.ts +0 -0
  187. /package/react/{components → app-typescript/components}/Form/FormGroup.d.ts +0 -0
  188. /package/react/{components → app-typescript/components}/Form/FormGroup.js +0 -0
  189. /package/react/{components → app-typescript/components}/Form/FormItem.d.ts +0 -0
  190. /package/react/{components → app-typescript/components}/Form/FormItem.js +0 -0
  191. /package/react/{components → app-typescript/components}/Form/FormLabel.d.ts +0 -0
  192. /package/react/{components → app-typescript/components}/Form/FormLabel.js +0 -0
  193. /package/react/{components → app-typescript/components}/Form/FormRow.d.ts +0 -0
  194. /package/react/{components → app-typescript/components}/Form/FormRow.js +0 -0
  195. /package/react/{components → app-typescript/components}/Form/FormRowNew.d.ts +0 -0
  196. /package/react/{components → app-typescript/components}/Form/FormRowNew.js +0 -0
  197. /package/react/{components → app-typescript/components}/Form/FormText.d.ts +0 -0
  198. /package/react/{components → app-typescript/components}/Form/FormText.js +0 -0
  199. /package/react/{components → app-typescript/components}/Form/InputBase.d.ts +0 -0
  200. /package/react/{components → app-typescript/components}/Form/InputBase.js +0 -0
  201. /package/react/{components → app-typescript/components}/Form/InputNew.d.ts +0 -0
  202. /package/react/{components → app-typescript/components}/Form/InputNew.js +0 -0
  203. /package/react/{components → app-typescript/components}/Form/InputWrapper.d.ts +0 -0
  204. /package/react/{components → app-typescript/components}/Form/InputWrapper.js +0 -0
  205. /package/react/{components → app-typescript/components}/Form/index.d.ts +0 -0
  206. /package/react/{components → app-typescript/components}/Form/index.js +0 -0
  207. /package/react/{components → app-typescript/components}/FormLabel.d.ts +0 -0
  208. /package/react/{components → app-typescript/components}/FormLabel.js +0 -0
  209. /package/react/{components → app-typescript/components}/GridItem.d.ts +0 -0
  210. /package/react/{components → app-typescript/components}/GridItem.js +0 -0
  211. /package/react/{components → app-typescript/components}/GridList.d.ts +0 -0
  212. /package/react/{components → app-typescript/components}/GridList.js +0 -0
  213. /package/react/{components → app-typescript/components}/HeadingText.d.ts +0 -0
  214. /package/react/{components → app-typescript/components}/HeadingText.js +0 -0
  215. /package/react/{components → app-typescript/components}/HelloWorld.d.ts +0 -0
  216. /package/react/{components → app-typescript/components}/HelloWorld.js +0 -0
  217. /package/react/{components → app-typescript/components}/Icon.d.ts +0 -0
  218. /package/react/{components → app-typescript/components}/Icon.js +0 -0
  219. /package/react/{components → app-typescript/components}/IconButton.d.ts +0 -0
  220. /package/react/{components → app-typescript/components}/IconButton.js +0 -0
  221. /package/react/{components → app-typescript/components}/IconLabel.d.ts +0 -0
  222. /package/react/{components → app-typescript/components}/IconLabel.js +0 -0
  223. /package/react/{components → app-typescript/components}/IconPicker.d.ts +0 -0
  224. /package/react/{components → app-typescript/components}/IconPicker.js +0 -0
  225. /package/react/{components → app-typescript/components}/Input.d.ts +0 -0
  226. /package/react/{components → app-typescript/components}/Input.js +0 -0
  227. /package/react/{components → app-typescript/components}/Label.d.ts +0 -0
  228. /package/react/{components → app-typescript/components}/Label.js +0 -0
  229. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.d.ts +0 -0
  230. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.js +0 -0
  231. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.d.ts +0 -0
  232. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.js +0 -0
  233. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.d.ts +0 -0
  234. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.js +0 -0
  235. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.d.ts +0 -0
  236. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.js +0 -0
  237. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.d.ts +0 -0
  238. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.js +0 -0
  239. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.d.ts +0 -0
  240. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.js +0 -0
  241. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.d.ts +0 -0
  242. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.js +0 -0
  243. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.d.ts +0 -0
  244. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.js +0 -0
  245. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.d.ts +0 -0
  246. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.js +0 -0
  247. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.d.ts +0 -0
  248. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.js +0 -0
  249. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.d.ts +0 -0
  250. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.js +0 -0
  251. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.d.ts +0 -0
  252. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.js +0 -0
  253. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.d.ts +0 -0
  254. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.js +0 -0
  255. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.d.ts +0 -0
  256. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.js +0 -0
  257. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.d.ts +0 -0
  258. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.js +0 -0
  259. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.d.ts +0 -0
  260. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.js +0 -0
  261. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.d.ts +0 -0
  262. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.js +0 -0
  263. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.d.ts +0 -0
  264. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.js +0 -0
  265. /package/react/{components → app-typescript/components}/Layouts/Container.d.ts +0 -0
  266. /package/react/{components → app-typescript/components}/Layouts/Container.js +0 -0
  267. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.d.ts +0 -0
  268. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.js +0 -0
  269. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.d.ts +0 -0
  270. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.js +0 -0
  271. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.d.ts +0 -0
  272. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.js +0 -0
  273. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.d.ts +0 -0
  274. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.js +0 -0
  275. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.d.ts +0 -0
  276. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.js +0 -0
  277. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.d.ts +0 -0
  278. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.js +0 -0
  279. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.d.ts +0 -0
  280. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.js +0 -0
  281. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.d.ts +0 -0
  282. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.js +0 -0
  283. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.d.ts +0 -0
  284. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.js +0 -0
  285. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.d.ts +0 -0
  286. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.js +0 -0
  287. /package/react/{components → app-typescript/components}/Layouts/Layout.d.ts +0 -0
  288. /package/react/{components → app-typescript/components}/Layouts/Layout.js +0 -0
  289. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.d.ts +0 -0
  290. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.js +0 -0
  291. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.d.ts +0 -0
  292. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.js +0 -0
  293. /package/react/{components → app-typescript/components}/Layouts/MainMenu.d.ts +0 -0
  294. /package/react/{components → app-typescript/components}/Layouts/MainMenu.js +0 -0
  295. /package/react/{components → app-typescript/components}/Layouts/MainPanel.d.ts +0 -0
  296. /package/react/{components → app-typescript/components}/Layouts/MainPanel.js +0 -0
  297. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.d.ts +0 -0
  298. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.js +0 -0
  299. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.d.ts +0 -0
  300. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.js +0 -0
  301. /package/react/{components → app-typescript/components}/Layouts/PageLayout.d.ts +0 -0
  302. /package/react/{components → app-typescript/components}/Layouts/PageLayout.js +0 -0
  303. /package/react/{components → app-typescript/components}/Layouts/Panel.d.ts +0 -0
  304. /package/react/{components → app-typescript/components}/Layouts/Panel.js +0 -0
  305. /package/react/{components → app-typescript/components}/Layouts/RightPanel.d.ts +0 -0
  306. /package/react/{components → app-typescript/components}/Layouts/RightPanel.js +0 -0
  307. /package/react/{components → app-typescript/components}/Layouts/index.d.ts +0 -0
  308. /package/react/{components → app-typescript/components}/Layouts/index.js +0 -0
  309. /package/react/{components → app-typescript/components}/LeftMenu.d.ts +0 -0
  310. /package/react/{components → app-typescript/components}/LeftMenu.js +0 -0
  311. /package/react/{components → app-typescript/components}/ListItemLoader.d.ts +0 -0
  312. /package/react/{components → app-typescript/components}/ListItemLoader.js +0 -0
  313. /package/react/{components → app-typescript/components}/Lists/BoxedList.d.ts +0 -0
  314. /package/react/{components → app-typescript/components}/Lists/BoxedList.js +0 -0
  315. /package/react/{components → app-typescript/components}/Lists/ContentList.d.ts +0 -0
  316. /package/react/{components → app-typescript/components}/Lists/SimpleList.d.ts +0 -0
  317. /package/react/{components → app-typescript/components}/Lists/SimpleList.js +0 -0
  318. /package/react/{components → app-typescript/components}/Lists/TableList.d.ts +0 -0
  319. /package/react/{components → app-typescript/components}/Lists/TableList.js +0 -0
  320. /package/react/{components → app-typescript/components}/Lists/index.d.ts +0 -0
  321. /package/react/{components → app-typescript/components}/Lists/index.js +0 -0
  322. /package/react/{components → app-typescript/components}/Loader.d.ts +0 -0
  323. /package/react/{components → app-typescript/components}/Loader.js +0 -0
  324. /package/react/{components → app-typescript/components}/Menu.d.ts +0 -0
  325. /package/react/{components → app-typescript/components}/Menu.js +0 -0
  326. /package/react/{components → app-typescript/components}/Modal.d.ts +0 -0
  327. /package/react/{components → app-typescript/components}/MultiSelect.d.ts +0 -0
  328. /package/react/{components → app-typescript/components}/MultiSelect.js +0 -0
  329. /package/react/{components → app-typescript/components}/NavButton.d.ts +0 -0
  330. /package/react/{components → app-typescript/components}/NavButton.js +0 -0
  331. /package/react/{components → app-typescript/components}/Navigation/BottomNav.d.ts +0 -0
  332. /package/react/{components → app-typescript/components}/Navigation/QuickNavBar.d.ts +0 -0
  333. /package/react/{components → app-typescript/components}/Navigation/SideBarMenu.d.ts +0 -0
  334. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.d.ts +0 -0
  335. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.js +0 -0
  336. /package/react/{components → app-typescript/components}/Navigation/index.d.ts +0 -0
  337. /package/react/{components → app-typescript/components}/Navigation/index.js +0 -0
  338. /package/react/{components → app-typescript/components}/Popover.d.ts +0 -0
  339. /package/react/{components → app-typescript/components}/Popover.js +0 -0
  340. /package/react/{components → app-typescript/components}/PropsList.d.ts +0 -0
  341. /package/react/{components → app-typescript/components}/PropsList.js +0 -0
  342. /package/react/{components → app-typescript/components}/RadioButtonGroup.d.ts +0 -0
  343. /package/react/{components → app-typescript/components}/RadioButtonGroup.js +0 -0
  344. /package/react/{components → app-typescript/components}/RadioGroup.d.ts +0 -0
  345. /package/react/{components → app-typescript/components}/RadioGroup.js +0 -0
  346. /package/react/{components → app-typescript/components}/ResizablePanels.d.ts +0 -0
  347. /package/react/{components → app-typescript/components}/ResizablePanels.js +0 -0
  348. /package/react/{components → app-typescript/components}/ResizeObserverComponent.d.ts +0 -0
  349. /package/react/{components → app-typescript/components}/ResizeObserverComponent.js +0 -0
  350. /package/react/{components → app-typescript/components}/Rotate.d.ts +0 -0
  351. /package/react/{components → app-typescript/components}/Rotate.js +0 -0
  352. /package/react/{components → app-typescript/components}/SearchBar.d.ts +0 -0
  353. /package/react/{components → app-typescript/components}/Select.d.ts +0 -0
  354. /package/react/{components → app-typescript/components}/Select.js +0 -0
  355. /package/react/{components → app-typescript/components}/SelectGrid.d.ts +0 -0
  356. /package/react/{components → app-typescript/components}/SelectGrid.js +0 -0
  357. /package/react/{components → app-typescript/components}/SelectPreview.d.ts +0 -0
  358. /package/react/{components → app-typescript/components}/SelectPreview.js +0 -0
  359. /package/react/{components → app-typescript/components}/SelectWithTemplate.d.ts +0 -0
  360. /package/react/{components → app-typescript/components}/SelectWithTemplate.js +0 -0
  361. /package/react/{components → app-typescript/components}/ShowPopup.d.ts +0 -0
  362. /package/react/{components → app-typescript/components}/ShowPopup.js +0 -0
  363. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.d.ts +0 -0
  364. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.js +0 -0
  365. /package/react/{components → app-typescript/components}/Skeleton.d.ts +0 -0
  366. /package/react/{components → app-typescript/components}/Skeleton.js +0 -0
  367. /package/react/{components → app-typescript/components}/SlidingToolbar.d.ts +0 -0
  368. /package/react/{components → app-typescript/components}/SlidingToolbar.js +0 -0
  369. /package/react/{components → app-typescript/components}/Spacer.d.ts +0 -0
  370. /package/react/{components → app-typescript/components}/Spacer.js +0 -0
  371. /package/react/{components → app-typescript/components}/Spinner.d.ts +0 -0
  372. /package/react/{components → app-typescript/components}/Spinner.js +0 -0
  373. /package/react/{components → app-typescript/components}/StrechBar.d.ts +0 -0
  374. /package/react/{components → app-typescript/components}/StrechBar.js +0 -0
  375. /package/react/{components → app-typescript/components}/SubNav.d.ts +0 -0
  376. /package/react/{components → app-typescript/components}/SubNav.js +0 -0
  377. /package/react/{components → app-typescript/components}/Switch.d.ts +0 -0
  378. /package/react/{components → app-typescript/components}/Switch.js +0 -0
  379. /package/react/{components → app-typescript/components}/SwitchGroup.d.ts +0 -0
  380. /package/react/{components → app-typescript/components}/SwitchGroup.js +0 -0
  381. /package/react/{components → app-typescript/components}/TabCustom.d.ts +0 -0
  382. /package/react/{components → app-typescript/components}/TabCustom.js +0 -0
  383. /package/react/{components → app-typescript/components}/TabList.d.ts +0 -0
  384. /package/react/{components → app-typescript/components}/Tag.d.ts +0 -0
  385. /package/react/{components → app-typescript/components}/Tag.js +0 -0
  386. /package/react/{components → app-typescript/components}/TagInput.d.ts +0 -0
  387. /package/react/{components → app-typescript/components}/Text/Heading.d.ts +0 -0
  388. /package/react/{components → app-typescript/components}/Text/Heading.js +0 -0
  389. /package/react/{components → app-typescript/components}/Text/Text.d.ts +0 -0
  390. /package/react/{components → app-typescript/components}/Text/Text.js +0 -0
  391. /package/react/{components → app-typescript/components}/Text/Time.d.ts +0 -0
  392. /package/react/{components → app-typescript/components}/Text/Time.js +0 -0
  393. /package/react/{components → app-typescript/components}/ThemeSelector.d.ts +0 -0
  394. /package/react/{components → app-typescript/components}/ThemeSelector.js +0 -0
  395. /package/react/{components → app-typescript/components}/TimePicker.d.ts +0 -0
  396. /package/react/{components → app-typescript/components}/TimePicker.js +0 -0
  397. /package/react/{components → app-typescript/components}/Toast.d.ts +0 -0
  398. /package/react/{components → app-typescript/components}/Toast.js +0 -0
  399. /package/react/{components → app-typescript/components}/ToastMessage.d.ts +0 -0
  400. /package/react/{components → app-typescript/components}/ToastMessage.js +0 -0
  401. /package/react/{components → app-typescript/components}/ToastText.d.ts +0 -0
  402. /package/react/{components → app-typescript/components}/ToastText.js +0 -0
  403. /package/react/{components → app-typescript/components}/ToastWrapper.d.ts +0 -0
  404. /package/react/{components → app-typescript/components}/ToastWrapper.js +0 -0
  405. /package/react/{components → app-typescript/components}/Togglebox.d.ts +0 -0
  406. /package/react/{components → app-typescript/components}/Togglebox.js +0 -0
  407. /package/react/{components → app-typescript/components}/Tooltip.d.ts +0 -0
  408. /package/react/{components → app-typescript/components}/Tooltip.js +0 -0
  409. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.d.ts +0 -0
  410. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.js +0 -0
  411. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.d.ts +0 -0
  412. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.js +0 -0
  413. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.d.ts +0 -0
  414. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.js +0 -0
  415. /package/react/{components → app-typescript/components}/WithPagination.d.ts +0 -0
  416. /package/react/{components → app-typescript/components}/WithPagination.js +0 -0
  417. /package/react/{components → app-typescript/components}/WithPopover.d.ts +0 -0
  418. /package/react/{components → app-typescript/components}/WithPopover.js +0 -0
  419. /package/react/{components → app-typescript/components}/WithSizeObserver.d.ts +0 -0
  420. /package/react/{components → app-typescript/components}/WithSizeObserver.js +0 -0
  421. /package/react/{components → app-typescript/components}/_Positioner.d.ts +0 -0
  422. /package/react/{components → app-typescript/components}/_Positioner.js +0 -0
  423. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.d.ts +0 -0
  424. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.js +0 -0
  425. /package/react/{components → app-typescript/components}/avatar/avatar-group.d.ts +0 -0
  426. /package/react/{components → app-typescript/components}/avatar/avatar-group.js +0 -0
  427. /package/react/{components → app-typescript/components}/avatar/avatar-image.d.ts +0 -0
  428. /package/react/{components → app-typescript/components}/avatar/avatar-image.js +0 -0
  429. /package/react/{components → app-typescript/components}/avatar/avatar-number.d.ts +0 -0
  430. /package/react/{components → app-typescript/components}/avatar/avatar-number.js +0 -0
  431. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.d.ts +0 -0
  432. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.js +0 -0
  433. /package/react/{components → app-typescript/components}/avatar/avatar-text.d.ts +0 -0
  434. /package/react/{components → app-typescript/components}/avatar/avatar-text.js +0 -0
  435. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.d.ts +0 -0
  436. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.js +0 -0
  437. /package/react/{components → app-typescript/components}/avatar/avatar.d.ts +0 -0
  438. /package/react/{components → app-typescript/components}/avatar/interfaces.d.ts +0 -0
  439. /package/react/{components → app-typescript/components}/avatar/interfaces.js +0 -0
  440. /package/react/{helpers.d.ts → app-typescript/helpers.d.ts} +0 -0
  441. /package/react/{helpers.js → app-typescript/helpers.js} +0 -0
  442. /package/react/{index.d.ts → app-typescript/index.d.ts} +0 -0
  443. /package/react/{index.js → app-typescript/index.js} +0 -0
@@ -0,0 +1,454 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CoreLayout = void 0;
42
+ var React = __importStar(require("react"));
43
+ var index_1 = require("../../../../app-typescript/index");
44
+ var Layout = __importStar(require("../../../../app-typescript/components/Layouts"));
45
+ var Form = __importStar(require("../../../../app-typescript/components/Form"));
46
+ var Nav = __importStar(require("../../../../app-typescript/components/Navigation"));
47
+ var BottomNav_1 = require("../../../../app-typescript/components/Navigation/BottomNav");
48
+ var lodash_1 = require("lodash");
49
+ var RundownEditor_1 = require("./RundownEditor");
50
+ var ContentList_1 = require("../../../../app-typescript/components/Lists/ContentList");
51
+ var TableList_1 = require("../../../../app-typescript/components/Lists/TableList");
52
+ var Index_1 = require("./components/Index");
53
+ var CoreLayout = /** @class */ (function (_super) {
54
+ __extends(CoreLayout, _super);
55
+ function CoreLayout(props) {
56
+ var _this = _super.call(this, props) || this;
57
+ _this.state = {
58
+ theme: 'light',
59
+ mainMenuOpen: false,
60
+ notificationsOpen: false,
61
+ botNavArray: [
62
+ { icon: 'photo', title: 'Sed posuere consectetur est at lobortis.', onClick: function () { return false; }, onRemove: function (e) { return _this.handleDelete(e); } },
63
+ { title: 'Nullam id dolor id nibh ultricies.', onClick: function () { return false; }, onRemove: function (e) { return _this.handleDelete(e); } },
64
+ { icon: 'video', title: 'Nulla vitae elit libero, a pharetra augue.', onClick: function () { return false; }, onRemove: function (e) { return _this.handleDelete(e); } },
65
+ { title: 'Donec sed odio dui.', onClick: function () { return false; }, onRemove: function (e) { return _this.handleDelete(e); } },
66
+ ],
67
+ itemType: 'itemtype01',
68
+ dropDownState: '',
69
+ openPreview: false,
70
+ openFilter: false,
71
+ itemSelected1: false,
72
+ itemSelected2: false,
73
+ itemSelected3: false,
74
+ value1: true,
75
+ modalBasic: false,
76
+ modalSmall: false,
77
+ modalMedium: false,
78
+ modalNewTemplate: false,
79
+ modalNewShow: false,
80
+ modalNewShowSuccess: false,
81
+ modalManageTemplate: false,
82
+ modalManageShow: false,
83
+ openEditor: false,
84
+ openShowEditor: false,
85
+ fullEditor: false,
86
+ openPanel: false,
87
+ rightPanel: false,
88
+ previousState: false,
89
+ array: [
90
+ {
91
+ start: React.createElement(React.Fragment, null,
92
+ React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
93
+ React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
94
+ center: React.createElement("span", null, "Duis mollis est non commodo"),
95
+ onClick: function () { return false; },
96
+ },
97
+ {
98
+ start: React.createElement(React.Fragment, null,
99
+ React.createElement(index_1.Label, { style: 'translucent', type: 'warning', text: 'pokr' }),
100
+ React.createElement(index_1.Label, { style: 'translucent', text: 'slika' })),
101
+ center: React.createElement("span", null, "Nullam id dolor id nibh ultricies"),
102
+ onClick: function () { return false; },
103
+ },
104
+ {
105
+ start: React.createElement(React.Fragment, null,
106
+ React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
107
+ React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
108
+ center: React.createElement("span", null, "Duis mollis est non commodo"),
109
+ onClick: function () { return false; },
110
+ },
111
+ {
112
+ start: React.createElement(React.Fragment, null,
113
+ React.createElement(index_1.Label, { style: 'translucent', type: 'warning', text: 'pokr' }),
114
+ React.createElement(index_1.Label, { style: 'translucent', text: 'slika' })),
115
+ center: React.createElement("span", null, "Cras mattis consectetur purus"),
116
+ onClick: function () { return false; },
117
+ },
118
+ {
119
+ start: React.createElement(React.Fragment, null,
120
+ React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
121
+ React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
122
+ center: React.createElement("span", null, "Duis mollis est non commodo"),
123
+ onClick: function () { return false; },
124
+ },
125
+ ]
126
+ };
127
+ _this.handleMainMenu = _this.handleMainMenu.bind(_this);
128
+ _this.handleNotifications = _this.handleNotifications.bind(_this);
129
+ _this.handleDelete = _this.handleDelete.bind(_this);
130
+ _this.handleFilter = _this.handleFilter.bind(_this);
131
+ _this.handlePreview = _this.handlePreview.bind(_this);
132
+ _this.handleTheme = _this.handleTheme.bind(_this);
133
+ _this.handleShow = _this.handleShow.bind(_this);
134
+ return _this;
135
+ }
136
+ CoreLayout.prototype.handleMainMenu = function () {
137
+ this.setState(function (state) { return ({
138
+ mainMenuOpen: !state.mainMenuOpen,
139
+ }); });
140
+ };
141
+ CoreLayout.prototype.handleNotifications = function () {
142
+ this.setState(function (state) { return ({
143
+ notificationsOpen: !state.notificationsOpen,
144
+ }); });
145
+ };
146
+ CoreLayout.prototype.handleDelete = function (indexNumber) {
147
+ var newItems = (0, lodash_1.clone)(this.state.botNavArray);
148
+ newItems.splice(indexNumber, 1);
149
+ this.setState({
150
+ botNavArray: newItems,
151
+ });
152
+ };
153
+ CoreLayout.prototype.handleFilter = function () {
154
+ this.setState(function (state) { return ({
155
+ openFilter: !state.openFilter,
156
+ }); });
157
+ };
158
+ CoreLayout.prototype.handlePreview = function () {
159
+ this.setState(function (state) { return ({
160
+ openPreview: !state.openPreview,
161
+ }); });
162
+ };
163
+ CoreLayout.prototype.handleShow = function () {
164
+ this.setState(function (state) { return ({
165
+ openShowEditor: !state.openShowEditor,
166
+ }); });
167
+ };
168
+ CoreLayout.prototype.handleTheme = function (newTheme) {
169
+ this.setState({
170
+ theme: newTheme
171
+ });
172
+ };
173
+ CoreLayout.prototype.changeStatus = function (item, status) {
174
+ if (item.status.includes(status)) {
175
+ item.status.splice(item.status.indexOf(status), 1);
176
+ }
177
+ else {
178
+ item.status.push(status);
179
+ }
180
+ };
181
+ CoreLayout.prototype.render = function () {
182
+ var _this = this;
183
+ return (React.createElement(Layout.CoreLayout, { heading: 'Core Layout', menuOpen: this.state.mainMenuOpen, onClick: this.handleMainMenu, active: this.state.mainMenuOpen, ariaControls: 'main-menu', menuId: 'main-menu', editorFullWidth: this.state.fullEditor, openPanel: this.state.rightPanel, slideInMenu: (React.createElement(Layout.MainMenu, { headerTitle: 'Main Menu', poweredBy: 'Powered by Superdesk technology', header: (null), footerContent: true, footer: (React.createElement("p", null, "Menu footer testing")) },
184
+ React.createElement(index_1.LeftMenu, { style: 'blanc', reverseItemBorder: true, size: 'large', ariaLabel: 'Left navigation', activeItemId: '1', groups: [
185
+ { label: 'MAIN SECTIONS', items: [
186
+ { id: '1', label: 'Section 1', ref: 'section1' },
187
+ { id: '2', label: 'Section 2', ref: 'section2' },
188
+ { id: '3', label: 'Section 3', ref: 'section3' },
189
+ ] },
190
+ { label: 'OTHER SECTIONS', items: [
191
+ { id: '4', label: 'Section 4', ref: 'section4' },
192
+ { id: '5', label: 'Section 5', ref: 'section5' },
193
+ ] },
194
+ { label: 'OTHER SECTIONS', items: [
195
+ { id: '6', label: 'Section 6', ref: 'section6' },
196
+ { id: '7', label: 'Section 7', ref: 'section7' },
197
+ ] }
198
+ ], onSelect: function () { return false; } }))), topMenu: (React.createElement(index_1.NavButton, { badgeValue: '6', icon: 'bell', text: 'Show notifications', onClick: this.handleNotifications })), footer: (React.createElement(React.Fragment, null,
199
+ React.createElement(Layout.BottomBarAction, { onClick: function () { return false; } }),
200
+ React.createElement(BottomNav_1.BottomNav, { items: this.state.botNavArray }))), overlay: (React.createElement(Layout.NotificationPanel, { header: (null), headerTitle: 'Notifications', open: this.state.notificationsOpen, onClick: this.handleNotifications, theme: 'dark' },
201
+ React.createElement(index_1.BoxedList, null,
202
+ React.createElement(index_1.BoxedListItem, { unread: true },
203
+ React.createElement(index_1.Time, { datetime: '29.06.2022' }, "29.06.2022"),
204
+ React.createElement(index_1.BoxedListContentRow, null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.")),
205
+ React.createElement(index_1.BoxedListItem, null,
206
+ React.createElement(index_1.Time, { datetime: '29.06.2022' }, "29.06.2022"),
207
+ React.createElement(index_1.BoxedListContentRow, null, "Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper.")),
208
+ React.createElement(index_1.BoxedListItem, null,
209
+ React.createElement(index_1.Time, { datetime: '29.06.2022' }, "29.06.2022"),
210
+ React.createElement(index_1.BoxedListContentRow, null, "Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet."))))) },
211
+ React.createElement(Nav.SideBarMenu, { items: [
212
+ { icon: 'dashboard', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, },
213
+ { icon: 'view', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
214
+ { icon: 'marked-star', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
215
+ { icon: 'spike', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
216
+ { icon: 'personal', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
217
+ { icon: 'global-search', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
218
+ { icon: 'picture', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } },
219
+ { icon: 'rundown', size: 'big', hover: this.state.openEditor && !this.state.rightPanel, onCLick: function () { return _this.setState({ fullEditor: !_this.state.fullEditor }); } }
220
+ ] }),
221
+ !this.state.fullEditor && !this.state.rightPanel
222
+ && React.createElement(Layout.LayoutContainer, null,
223
+ React.createElement(Layout.HeaderPanel, null,
224
+ React.createElement(index_1.SubNav, { zIndex: 2 },
225
+ React.createElement(Index_1.SearchBar, { placeholder: 'Search media' }),
226
+ React.createElement(index_1.ButtonGroup, { align: 'end', spaces: 'no-space' },
227
+ React.createElement(index_1.Dropdown, { items: [
228
+ {
229
+ type: 'group', label: 'Settings', items: [
230
+ 'divider',
231
+ { icon: 'switches', label: 'Manage Shows', onSelect: function () { return _this.setState({ modalManageShow: true }); } },
232
+ { icon: 'switches', label: 'Manage Templates', onSelect: function () { return _this.setState({ modalManageTemplate: true }); } },
233
+ ]
234
+ }
235
+ ] },
236
+ React.createElement(index_1.NavButton, { icon: 'settings', onClick: function () { return false; } })),
237
+ React.createElement(index_1.Dropdown, { header: [
238
+ {
239
+ type: 'group', label: 'Create', items: []
240
+ },
241
+ {
242
+ type: 'submenu', label: 'Rundown', icon: 'plus-sign', items: [
243
+ { icon: 'plus-sign', label: 'Rundown', onSelect: function () { return 1; } },
244
+ ]
245
+ },
246
+ ], items: [
247
+ {
248
+ type: 'group', label: 'Recent Templates', items: [
249
+ { icon: 'plus-sign', label: 'Marker Daily', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
250
+ { icon: 'plus-sign', label: 'Marker Weekend', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
251
+ { icon: 'plus-sign', label: 'Tabu Daily', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
252
+ { icon: 'plus-sign', label: 'Tabu Specijal', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
253
+ ]
254
+ }
255
+ ], footer: [
256
+ {
257
+ type: 'group', items: [
258
+ { icon: 'list-plus', label: 'Create new Template', onSelect: function () { return _this.setState({ modalNewTemplate: true }); } },
259
+ { icon: 'rundown', label: 'Create new Show', onSelect: function () { return _this.setState({ modalNewShow: true }); } },
260
+ ]
261
+ },
262
+ ] },
263
+ React.createElement(index_1.CreateButton, { ariaValue: 'Create', onClick: function () { return false; } })))),
264
+ React.createElement(index_1.SubNav, { zIndex: 1 },
265
+ React.createElement(index_1.ButtonGroup, { align: 'start' },
266
+ React.createElement(index_1.NavButton, { icon: 'filter-large', onClick: this.handleFilter })),
267
+ React.createElement(index_1.ButtonGroup, { align: 'end' },
268
+ React.createElement(index_1.ButtonGroup, { align: 'sub', padded: true },
269
+ React.createElement(index_1.Button, { size: "normal", icon: "chevron-left-thin", text: "Previous", shape: "round", iconOnly: true, disabled: true, onClick: function () { return false; } }),
270
+ React.createElement(index_1.Button, { text: 'Today', style: 'hollow', onClick: function () { return false; } }),
271
+ React.createElement(index_1.Button, { size: "normal", icon: "chevron-right-thin", text: "Next", shape: "round", iconOnly: true, onClick: function () { return false; } })),
272
+ React.createElement(index_1.RadioButtonGroup, { options: [
273
+ { value: 'test10', label: 'D' },
274
+ { value: 'test11', label: 'W' },
275
+ { value: 'test12', label: 'M' },
276
+ ], group: { padded: false }, value: this.state.itemType, onChange: function (value) { return _this.setState({ itemType: value }); } }),
277
+ React.createElement(index_1.ButtonGroup, { align: 'sub', spaces: 'no-space' },
278
+ React.createElement(index_1.Dropdown, { items: [
279
+ {
280
+ type: 'group', label: 'Chose a theme', items: [
281
+ 'divider',
282
+ { label: 'Light', icon: 'adjust', onSelect: function () { return _this.handleTheme('light-ui'); } },
283
+ { label: 'Dark', icon: 'adjust', onSelect: function () { return _this.handleTheme('dark-ui'); } },
284
+ { label: 'Accessible Light', icon: 'adjust', onSelect: function () { return _this.handleTheme('accessible-light-ui'); } },
285
+ ]
286
+ },
287
+ ] },
288
+ React.createElement(index_1.NavButton, { type: 'default', icon: 'adjust', onClick: function () { return false; } })),
289
+ React.createElement(index_1.Dropdown, { items: [
290
+ {
291
+ type: 'group', label: 'Actions', items: [
292
+ 'divider',
293
+ { label: 'Action one', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
294
+ { label: 'Action two', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
295
+ { label: 'Action three', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
296
+ ]
297
+ }
298
+ ] },
299
+ React.createElement(index_1.NavButton, { icon: 'dots-vertical', onClick: function () { return false; } })))))),
300
+ React.createElement(Layout.LeftPanel, { open: this.state.openFilter },
301
+ React.createElement(Layout.Panel, { side: 'left', background: 'grey' },
302
+ React.createElement(Layout.PanelHeader, { title: 'Advanced filters', onClose: function () { return _this.setState({ 'openFilter': false }); } }),
303
+ React.createElement(Layout.PanelContent, null,
304
+ React.createElement(Layout.PanelContentBlock, null,
305
+ React.createElement(Form.FormGroup, null,
306
+ React.createElement(Form.FormItem, null,
307
+ React.createElement(index_1.Select, { label: 'Shows', labelHidden: true, value: 'This is some value', info: 'This is some hint message', required: true, disabled: false, onChange: function () { return false; } },
308
+ React.createElement(index_1.Option, null, "Marker"),
309
+ React.createElement(index_1.Option, null, "Tabu")))),
310
+ React.createElement("div", { className: "form__group" },
311
+ React.createElement("div", { className: "form__item" },
312
+ React.createElement(index_1.Input, { label: 'Title', type: 'text', value: 'Title', inlineLabel: false, disabled: false, onChange: function () { return false; } }))),
313
+ React.createElement("div", { className: "form__group" },
314
+ React.createElement("div", { className: "form__item" },
315
+ React.createElement(index_1.Select, { label: 'Source', value: 'Select ingest source...', inlineLabel: false, disabled: false, onChange: function () { return false; } },
316
+ React.createElement(index_1.Option, { value: "option-1" }, "Select ingest source..."),
317
+ React.createElement(index_1.Option, { value: "option-2" }, "Associated Press"),
318
+ React.createElement(index_1.Option, { value: "option-3" }, "Reuters")))),
319
+ React.createElement("div", { className: "form__group" },
320
+ React.createElement("div", { className: "form__item" },
321
+ React.createElement(index_1.Input, { label: 'Keyword', type: 'text', value: 'Keyword', inlineLabel: false, disabled: false, onChange: function () { return false; } }))),
322
+ React.createElement("div", { className: "form__group" },
323
+ React.createElement("div", { className: "form__item" },
324
+ React.createElement(index_1.Select, { label: 'Usage right', value: '--- Not selected ---', info: 'Dolor in hendrerit.', inlineLabel: false, disabled: false, onChange: function () { return false; } },
325
+ React.createElement(index_1.Option, { value: "" }, "--- Not selected ---"),
326
+ React.createElement(index_1.Option, { value: "single" }, "Single usage"),
327
+ React.createElement(index_1.Option, { value: "time" }, "Time restricted"),
328
+ React.createElement(index_1.Option, { value: "bananas" }, "Indefinite usage"),
329
+ React.createElement(index_1.Option, { value: "indefinite" }, "Pears")))))),
330
+ React.createElement(Layout.PanelFooter, null,
331
+ React.createElement(index_1.Button, { text: 'Clear', style: 'hollow', onClick: function () { return false; } }),
332
+ React.createElement(index_1.Button, { text: 'Submit', type: 'primary', onClick: function () { return false; } })))),
333
+ React.createElement(Layout.MainPanel, null,
334
+ React.createElement(ContentList_1.ContentList, { items: [
335
+ {
336
+ itemColum: [
337
+ {
338
+ itemRow: [{ content: React.createElement(React.Fragment, null,
339
+ React.createElement("i", { className: "icon-rundown" })) }],
340
+ border: true
341
+ },
342
+ {
343
+ itemRow: [
344
+ {
345
+ content: React.createElement(React.Fragment, null,
346
+ React.createElement("span", { className: "sd-list-item__slugline" }, "19:00 \u2013 19:45"),
347
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:38', size: 'small', type: 'warning' }),
348
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned Duration:', text: '00:45', size: 'small' }),
349
+ React.createElement("time", { className: 'sd-margin-s--auto', title: "June 01, 2022 11:08 AM" }, "11:08, 01.06.2022"))
350
+ },
351
+ {
352
+ content: React.createElement(React.Fragment, null,
353
+ React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
354
+ React.createElement("span", { className: 'sd-list-item__compound-text' },
355
+ React.createElement("span", { className: 'sd-list-item__text-label' }, "Template:"),
356
+ React.createElement("span", null, "Marker Daily")),
357
+ React.createElement("span", { className: "sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline" }, "Marker // 01.06.2022"),
358
+ React.createElement(index_1.Label, { style: 'translucent', text: 'In Progress', type: 'warning' }))
359
+ },
360
+ ],
361
+ fullwidth: true,
362
+ }
363
+ ],
364
+ action: React.createElement(index_1.IconButton, { icon: 'dots-vertical', ariaValue: 'More actions', onClick: function () { return false; } }),
365
+ locked: true,
366
+ onClick: function () { return _this.setState({ openEditor: !_this.state.openEditor }); },
367
+ },
368
+ {
369
+ itemColum: [
370
+ {
371
+ itemRow: [{ content: React.createElement(React.Fragment, null,
372
+ React.createElement("i", { className: "icon-rundown" })) }],
373
+ border: true
374
+ },
375
+ {
376
+ itemRow: [
377
+ {
378
+ content: React.createElement(React.Fragment, null,
379
+ React.createElement("span", { className: "sd-list-item__slugline" }, "19:00 \u2013 19:45"),
380
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:38', size: 'small', type: 'warning' }),
381
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned Duration:', text: '00:45', size: 'small' }),
382
+ React.createElement("time", { className: 'sd-margin-s--auto', title: "June 01, 2022 11:08 AM" }, "11:08, 01.06.2022"))
383
+ },
384
+ {
385
+ content: React.createElement(React.Fragment, null,
386
+ React.createElement(index_1.Label, { text: 'Tabu', color: 'blue--800' }),
387
+ React.createElement("span", { className: 'sd-list-item__compound-text' },
388
+ React.createElement("span", { className: 'sd-list-item__text-label' }, "Template:"),
389
+ React.createElement("span", null, "Tabu Daily")),
390
+ React.createElement("span", { className: "sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline" }, "Marker // 01.06.2022"),
391
+ React.createElement(index_1.Label, { style: 'translucent', text: 'Draft' }))
392
+ },
393
+ ],
394
+ fullwidth: true,
395
+ }
396
+ ],
397
+ action: React.createElement(index_1.IconButton, { icon: 'dots-vertical', ariaValue: 'More actions', onClick: function () { return false; } }),
398
+ onClick: function () { return _this.setState({ openPreview: !_this.state.openPreview }); },
399
+ },
400
+ ] })),
401
+ React.createElement(Layout.RightPanel, { open: this.state.openPreview },
402
+ React.createElement(Layout.Panel, { side: 'right' },
403
+ React.createElement(Layout.PanelHeader, { title: 'Item preview', onClose: function () { return _this.setState({ 'openPreview': false }); } }),
404
+ React.createElement(Layout.PanelContent, null,
405
+ React.createElement(Layout.PanelContentBlock, { flex: true },
406
+ React.createElement(Layout.Container, { direction: 'column', gap: 'x-small' },
407
+ React.createElement(Layout.Container, { direction: 'row', gap: 'small' },
408
+ React.createElement(index_1.Text, { color: 'light' }, "Created 09.06.2022 by "),
409
+ React.createElement(index_1.Text, { weight: 'medium' }, "Mika Karapet")),
410
+ React.createElement(Layout.Container, { direction: 'row', gap: 'small' },
411
+ React.createElement(index_1.Text, { color: 'light' }, "Updated 3 hours ago by "),
412
+ React.createElement(index_1.Text, { weight: 'medium' }, "John Doe"))),
413
+ React.createElement(Layout.Container, { className: 'sd-margin-s--auto sd-flex--items-center' })),
414
+ React.createElement(Layout.PanelContentBlock, null,
415
+ React.createElement(Layout.Container, { direction: 'row', gap: 'large', className: 'sd-margin-b--3' },
416
+ React.createElement(index_1.Label, { size: 'large', text: 'Tabu', color: 'blue--800' }),
417
+ React.createElement(Layout.Container, { direction: 'row', gap: 'small' },
418
+ React.createElement(index_1.Text, { color: 'light', size: 'small', style: 'italic' }, "Template:"),
419
+ React.createElement(index_1.Text, { size: 'small', style: 'italic', weight: 'medium' }, "Tabu daily"))),
420
+ React.createElement(Layout.Container, { direction: 'column', className: 'sd-margin-y--2' },
421
+ React.createElement(index_1.Heading, { type: 'h2' }, "Tabu // 01.06.2022")),
422
+ React.createElement(index_1.ButtonGroup, null,
423
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Airtime:', text: '19:45 - 20:45', type: 'primary' }),
424
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:56', type: 'warning' }),
425
+ React.createElement(index_1.Text, { color: 'light', size: 'small', className: 'sd-margin--0' }, "OF"),
426
+ React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned:', text: '01:00' })),
427
+ React.createElement(TableList_1.TableList, { className: 'sd-margin-y--4', array: this.state.array, itemsDropdown: function () { return [
428
+ { label: React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'aacc' }), onSelect: function () { return 1; } },
429
+ { label: React.createElement(index_1.Label, { style: 'translucent', text: 'prlg' }), onSelect: function () { return 1; } },
430
+ { label: React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' }), onSelect: function () { return 1; } },
431
+ ]; } }))))),
432
+ React.createElement(Layout.OverlayPanel, null)),
433
+ React.createElement(Layout.ContentSplitter, { visible: this.state.openEditor }),
434
+ React.createElement(Layout.AuthoringContainer, { open: this.state.openEditor },
435
+ React.createElement(RundownEditor_1.RundownEditor, { rightPanel: this.state.rightPanel, openPanel: function () {
436
+ if (_this.state.fullEditor) {
437
+ _this.setState({ previousState: true });
438
+ }
439
+ else {
440
+ _this.setState({ previousState: false });
441
+ }
442
+ _this.setState({ rightPanel: true });
443
+ }, closePanel: function () {
444
+ if (!_this.state.previousState) {
445
+ _this.setState({ rightPanel: false, fullEditor: false });
446
+ }
447
+ else {
448
+ _this.setState({ rightPanel: false });
449
+ }
450
+ } }))));
451
+ };
452
+ return CoreLayout;
453
+ }(React.Component));
454
+ exports.CoreLayout = CoreLayout;
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ interface IProps {
3
+ children?: React.ReactNode;
4
+ }
5
+ interface IState {
6
+ theme: 'dark' | 'light' | string;
7
+ itemType: string;
8
+ dropDownState: string;
9
+ itemSelected1: boolean;
10
+ itemSelected2: boolean;
11
+ itemSelected3: boolean;
12
+ value1: boolean;
13
+ value2: boolean;
14
+ value3: boolean;
15
+ leftPanelOpen: boolean;
16
+ rightPanelOpen: boolean;
17
+ rightPanelPinned: boolean;
18
+ sideOverlayOpen: boolean;
19
+ activeTab: string | null;
20
+ }
21
+ export declare class EditorTest extends React.Component<IProps, IState> {
22
+ constructor(props: IProps);
23
+ handleTheme(newTheme: string): void;
24
+ changeStatus(item: any, status: string): void;
25
+ render(): JSX.Element;
26
+ }
27
+ export {};