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.
- package/app/styles/_boxed-list.scss +10 -3
- package/app/styles/_helpers.scss +3 -1
- package/app/styles/components/_list-item.scss +22 -11
- package/app/styles/components/_sd-searchbar.scss +20 -1
- package/app/styles/primereact/_pr-dialog.scss +29 -13
- package/app-typescript/components/Autocomplete.tsx +9 -3
- package/app-typescript/components/Badge.tsx +16 -2
- package/app-typescript/components/Dropdown.tsx +3 -1
- package/app-typescript/components/DropdownFirst.tsx +14 -2
- package/app-typescript/components/DurationInput.tsx +19 -4
- package/app-typescript/components/EmptyState.tsx +11 -2
- package/app-typescript/components/Layouts/Panel.tsx +12 -1
- package/app-typescript/components/Lists/ContentList.tsx +5 -1
- package/app-typescript/components/Modal.tsx +12 -3
- package/app-typescript/components/Navigation/BottomNav.tsx +9 -2
- package/app-typescript/components/Navigation/QuickNavBar.tsx +10 -2
- package/app-typescript/components/Navigation/SideBarMenu.tsx +9 -4
- package/app-typescript/components/SearchBar.tsx +1 -0
- package/app-typescript/components/SidebarMenu.tsx +8 -1
- package/app-typescript/components/TabList.tsx +5 -1
- package/app-typescript/components/TagInput.tsx +4 -1
- package/app-typescript/components/ThemeSelector.tsx +13 -2
- package/app-typescript/components/TreeMenu.tsx +127 -122
- package/app-typescript/components/TreeSelect/TreeSelect.tsx +157 -141
- package/app-typescript/components/WithPortal.tsx +49 -0
- package/app-typescript/components/avatar/avatar-image.tsx +2 -0
- package/app-typescript/components/avatar/avatar.tsx +2 -1
- package/dist/examples.bundle.js +1409 -1278
- package/dist/playgrounds/planning.html +121 -43
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +140 -121
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
- package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
- package/dist/superdesk-ui.bundle.css +79 -33
- package/dist/superdesk-ui.bundle.js +833 -729
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/playgrounds/planning.html +121 -43
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +140 -121
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
- package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
- package/package.json +1 -1
- package/react/{components → app-typescript/components}/Autocomplete.js +2 -2
- package/react/{components → app-typescript/components}/Badge.js +1 -1
- package/react/{components → app-typescript/components}/Dropdown.js +3 -1
- package/react/{components → app-typescript/components}/DropdownFirst.js +6 -2
- package/react/{components → app-typescript/components}/DurationInput.js +5 -1
- package/react/{components → app-typescript/components}/EmptyState.js +2 -1
- package/react/{components → app-typescript/components}/Lists/ContentList.js +1 -1
- package/react/{components → app-typescript/components}/Modal.js +2 -2
- package/react/{components → app-typescript/components}/Navigation/BottomNav.js +4 -1
- package/react/{components → app-typescript/components}/Navigation/QuickNavBar.js +2 -1
- package/react/{components → app-typescript/components}/Navigation/SideBarMenu.js +3 -1
- package/react/{components → app-typescript/components}/SearchBar.js +1 -0
- package/react/{components → app-typescript/components}/TabList.js +2 -1
- package/react/{components → app-typescript/components}/TagInput.js +1 -1
- package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.d.ts +3 -2
- package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.js +81 -73
- package/react/app-typescript/components/WithPortal.d.ts +14 -0
- package/react/app-typescript/components/WithPortal.js +69 -0
- package/react/{components → app-typescript/components}/avatar/avatar.js +2 -1
- package/react/examples/pages/playgrounds/dummy-data/items.d.ts +16 -0
- package/react/examples/pages/playgrounds/dummy-data/items.js +95 -0
- package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.d.ts +51 -0
- package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.js +454 -0
- package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.d.ts +27 -0
- package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.js +256 -0
- package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.d.ts +19 -0
- package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.js +160 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Index.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Index.js +25 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.d.ts +36 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.js +200 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.d.ts +22 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.js +134 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.d.ts +40 -0
- package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.js +350 -0
- package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.d.ts +32 -0
- package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.js +267 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.d.ts +39 -0
- package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.js +558 -0
- package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.d.ts +24 -0
- package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.js +241 -0
- package/react/examples/pages/playgrounds/react-playgrounds/TestGround.d.ts +27 -0
- package/react/examples/pages/playgrounds/react-playgrounds/TestGround.js +508 -0
- package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.d.ts +24 -0
- package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.js +239 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.js +64 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.js +62 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.d.ts +14 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.js +65 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Index.d.ts +19 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Index.js +41 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.js +40 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.js +55 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.d.ts +10 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.d.ts +11 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.d.ts +8 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.js +54 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.d.ts +12 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.js +63 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.js +53 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.d.ts +23 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.js +92 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.d.ts +20 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.js +83 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.d.ts +9 -0
- package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.js +60 -0
- package/tsconfig.json +5 -1
- /package/dist/playgrounds/dummy-data/{items.js → items.ts} +0 -0
- /package/examples/pages/playgrounds/dummy-data/{items.js → items.ts} +0 -0
- /package/react/{components → app-typescript/components}/Alert.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Alert.js +0 -0
- /package/react/{components → app-typescript/components}/Autocomplete.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Badge.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Button.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Button.js +0 -0
- /package/react/{components → app-typescript/components}/ButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Carousel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Carousel.js +0 -0
- /package/react/{components → app-typescript/components}/CheckButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/CheckGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Checkbox.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Checkbox.js +0 -0
- /package/react/{components → app-typescript/components}/CheckboxButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CheckboxButton.js +0 -0
- /package/react/{components → app-typescript/components}/ContentDivider.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ContentDivider.js +0 -0
- /package/react/{components → app-typescript/components}/CreateButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/CreateButton.js +0 -0
- /package/react/{components → app-typescript/components}/DatePicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DatePicker.js +0 -0
- /package/react/{components → app-typescript/components}/Divider.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Divider.js +0 -0
- /package/react/{components → app-typescript/components}/DonutChart.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DonutChart.js +0 -0
- /package/react/{components → app-typescript/components}/DragHandle.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DragHandle.js +0 -0
- /package/react/{components → app-typescript/components}/DropZone.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DropZone.js +0 -0
- /package/react/{components → app-typescript/components}/Dropdown.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DropdownFirst.d.ts +0 -0
- /package/react/{components → app-typescript/components}/DurationInput.d.ts +0 -0
- /package/react/{components → app-typescript/components}/EmptyState.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormGroup.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormItem.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormLabel.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRow.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRow.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRowNew.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormRowNew.js +0 -0
- /package/react/{components → app-typescript/components}/Form/FormText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/FormText.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputBase.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputBase.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputNew.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputNew.js +0 -0
- /package/react/{components → app-typescript/components}/Form/InputWrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/InputWrapper.js +0 -0
- /package/react/{components → app-typescript/components}/Form/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Form/index.js +0 -0
- /package/react/{components → app-typescript/components}/FormLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/FormLabel.js +0 -0
- /package/react/{components → app-typescript/components}/GridItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/GridItem.js +0 -0
- /package/react/{components → app-typescript/components}/GridList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/GridList.js +0 -0
- /package/react/{components → app-typescript/components}/HeadingText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/HeadingText.js +0 -0
- /package/react/{components → app-typescript/components}/HelloWorld.d.ts +0 -0
- /package/react/{components → app-typescript/components}/HelloWorld.js +0 -0
- /package/react/{components → app-typescript/components}/Icon.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Icon.js +0 -0
- /package/react/{components → app-typescript/components}/IconButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconButton.js +0 -0
- /package/react/{components → app-typescript/components}/IconLabel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconLabel.js +0 -0
- /package/react/{components → app-typescript/components}/IconPicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/IconPicker.js +0 -0
- /package/react/{components → app-typescript/components}/Input.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Input.js +0 -0
- /package/react/{components → app-typescript/components}/Label.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Label.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Container.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Container.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Layout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Layout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LeftPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/LeftPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainMenu.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/MainPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/PageLayout.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/PageLayout.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Panel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/Panel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/RightPanel.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/RightPanel.js +0 -0
- /package/react/{components → app-typescript/components}/Layouts/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Layouts/index.js +0 -0
- /package/react/{components → app-typescript/components}/LeftMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/LeftMenu.js +0 -0
- /package/react/{components → app-typescript/components}/ListItemLoader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ListItemLoader.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/BoxedList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/BoxedList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/ContentList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/SimpleList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/SimpleList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/TableList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/TableList.js +0 -0
- /package/react/{components → app-typescript/components}/Lists/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Lists/index.js +0 -0
- /package/react/{components → app-typescript/components}/Loader.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Loader.js +0 -0
- /package/react/{components → app-typescript/components}/Menu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Menu.js +0 -0
- /package/react/{components → app-typescript/components}/Modal.d.ts +0 -0
- /package/react/{components → app-typescript/components}/MultiSelect.d.ts +0 -0
- /package/react/{components → app-typescript/components}/MultiSelect.js +0 -0
- /package/react/{components → app-typescript/components}/NavButton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/NavButton.js +0 -0
- /package/react/{components → app-typescript/components}/Navigation/BottomNav.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/QuickNavBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarMenu.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.js +0 -0
- /package/react/{components → app-typescript/components}/Navigation/index.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Navigation/index.js +0 -0
- /package/react/{components → app-typescript/components}/Popover.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Popover.js +0 -0
- /package/react/{components → app-typescript/components}/PropsList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/PropsList.js +0 -0
- /package/react/{components → app-typescript/components}/RadioButtonGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/RadioButtonGroup.js +0 -0
- /package/react/{components → app-typescript/components}/RadioGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/RadioGroup.js +0 -0
- /package/react/{components → app-typescript/components}/ResizablePanels.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ResizablePanels.js +0 -0
- /package/react/{components → app-typescript/components}/ResizeObserverComponent.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ResizeObserverComponent.js +0 -0
- /package/react/{components → app-typescript/components}/Rotate.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Rotate.js +0 -0
- /package/react/{components → app-typescript/components}/SearchBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Select.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Select.js +0 -0
- /package/react/{components → app-typescript/components}/SelectGrid.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectGrid.js +0 -0
- /package/react/{components → app-typescript/components}/SelectPreview.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectPreview.js +0 -0
- /package/react/{components → app-typescript/components}/SelectWithTemplate.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SelectWithTemplate.js +0 -0
- /package/react/{components → app-typescript/components}/ShowPopup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ShowPopup.js +0 -0
- /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.js +0 -0
- /package/react/{components → app-typescript/components}/Skeleton.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Skeleton.js +0 -0
- /package/react/{components → app-typescript/components}/SlidingToolbar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SlidingToolbar.js +0 -0
- /package/react/{components → app-typescript/components}/Spacer.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Spacer.js +0 -0
- /package/react/{components → app-typescript/components}/Spinner.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Spinner.js +0 -0
- /package/react/{components → app-typescript/components}/StrechBar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/StrechBar.js +0 -0
- /package/react/{components → app-typescript/components}/SubNav.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SubNav.js +0 -0
- /package/react/{components → app-typescript/components}/Switch.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Switch.js +0 -0
- /package/react/{components → app-typescript/components}/SwitchGroup.d.ts +0 -0
- /package/react/{components → app-typescript/components}/SwitchGroup.js +0 -0
- /package/react/{components → app-typescript/components}/TabCustom.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TabCustom.js +0 -0
- /package/react/{components → app-typescript/components}/TabList.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tag.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tag.js +0 -0
- /package/react/{components → app-typescript/components}/TagInput.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Heading.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Heading.js +0 -0
- /package/react/{components → app-typescript/components}/Text/Text.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Text.js +0 -0
- /package/react/{components → app-typescript/components}/Text/Time.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Text/Time.js +0 -0
- /package/react/{components → app-typescript/components}/ThemeSelector.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ThemeSelector.js +0 -0
- /package/react/{components → app-typescript/components}/TimePicker.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TimePicker.js +0 -0
- /package/react/{components → app-typescript/components}/Toast.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Toast.js +0 -0
- /package/react/{components → app-typescript/components}/ToastMessage.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastMessage.js +0 -0
- /package/react/{components → app-typescript/components}/ToastText.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastText.js +0 -0
- /package/react/{components → app-typescript/components}/ToastWrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/ToastWrapper.js +0 -0
- /package/react/{components → app-typescript/components}/Togglebox.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Togglebox.js +0 -0
- /package/react/{components → app-typescript/components}/Tooltip.d.ts +0 -0
- /package/react/{components → app-typescript/components}/Tooltip.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.js +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.d.ts +0 -0
- /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.js +0 -0
- /package/react/{components → app-typescript/components}/WithPagination.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithPagination.js +0 -0
- /package/react/{components → app-typescript/components}/WithPopover.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithPopover.js +0 -0
- /package/react/{components → app-typescript/components}/WithSizeObserver.d.ts +0 -0
- /package/react/{components → app-typescript/components}/WithSizeObserver.js +0 -0
- /package/react/{components → app-typescript/components}/_Positioner.d.ts +0 -0
- /package/react/{components → app-typescript/components}/_Positioner.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-action-add.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-action-add.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-group.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-group.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-image.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-image.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-number.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-number.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-text.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-text.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.js +0 -0
- /package/react/{components → app-typescript/components}/avatar/avatar.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/interfaces.d.ts +0 -0
- /package/react/{components → app-typescript/components}/avatar/interfaces.js +0 -0
- /package/react/{helpers.d.ts → app-typescript/helpers.d.ts} +0 -0
- /package/react/{helpers.js → app-typescript/helpers.js} +0 -0
- /package/react/{index.d.ts → app-typescript/index.d.ts} +0 -0
- /package/react/{index.js → app-typescript/index.js} +0 -0
@@ -0,0 +1,558 @@
|
|
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.Rundowns = 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 RundownEditor_1 = require("./RundownEditor");
|
47
|
+
var Nav = __importStar(require("../../../../app-typescript/components/Navigation"));
|
48
|
+
var ContentList_1 = require("../../../../app-typescript/components/Lists/ContentList");
|
49
|
+
var TableList_1 = require("../../../../app-typescript/components/Lists/TableList");
|
50
|
+
var Rundowns = /** @class */ (function (_super) {
|
51
|
+
__extends(Rundowns, _super);
|
52
|
+
function Rundowns(props) {
|
53
|
+
var _this = _super.call(this, props) || this;
|
54
|
+
_this.state = {
|
55
|
+
theme: 'light',
|
56
|
+
itemType: 'itemtype01',
|
57
|
+
dropDownState: '',
|
58
|
+
openPreview: false,
|
59
|
+
openFilter: false,
|
60
|
+
itemSelected1: false,
|
61
|
+
itemSelected2: false,
|
62
|
+
itemSelected3: false,
|
63
|
+
value1: true,
|
64
|
+
modalBasic: false,
|
65
|
+
modalSmall: false,
|
66
|
+
modalMedium: false,
|
67
|
+
modalNewTemplate: false,
|
68
|
+
modalNewShow: false,
|
69
|
+
modalNewShowSuccess: false,
|
70
|
+
modalManageTemplate: false,
|
71
|
+
modalManageShow: false,
|
72
|
+
openEditor: false,
|
73
|
+
openShowEditor: false,
|
74
|
+
rightPanel: false,
|
75
|
+
fullEditor: false,
|
76
|
+
previousState: false,
|
77
|
+
array: [
|
78
|
+
{
|
79
|
+
start: React.createElement(React.Fragment, null,
|
80
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
|
81
|
+
React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
|
82
|
+
center: React.createElement("span", null, "Duis mollis est non commodo"),
|
83
|
+
onClick: function () { return false; },
|
84
|
+
},
|
85
|
+
{
|
86
|
+
start: React.createElement(React.Fragment, null,
|
87
|
+
React.createElement(index_1.Label, { style: 'translucent', type: 'warning', text: 'pokr' }),
|
88
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'slika' })),
|
89
|
+
center: React.createElement("span", null, "Nullam id dolor id nibh ultricies"),
|
90
|
+
onClick: function () { return false; },
|
91
|
+
},
|
92
|
+
{
|
93
|
+
start: React.createElement(React.Fragment, null,
|
94
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
|
95
|
+
React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
|
96
|
+
center: React.createElement("span", null, "Duis mollis est non commodo"),
|
97
|
+
onClick: function () { return false; },
|
98
|
+
},
|
99
|
+
{
|
100
|
+
start: React.createElement(React.Fragment, null,
|
101
|
+
React.createElement(index_1.Label, { style: 'translucent', type: 'warning', text: 'pokr' }),
|
102
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'slika' })),
|
103
|
+
center: React.createElement("span", null, "Cras mattis consectetur purus"),
|
104
|
+
onClick: function () { return false; },
|
105
|
+
},
|
106
|
+
{
|
107
|
+
start: React.createElement(React.Fragment, null,
|
108
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'aacc' }),
|
109
|
+
React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' })),
|
110
|
+
center: React.createElement("span", null, "Duis mollis est non commodo"),
|
111
|
+
onClick: function () { return false; },
|
112
|
+
},
|
113
|
+
]
|
114
|
+
};
|
115
|
+
_this.handleFilter = _this.handleFilter.bind(_this);
|
116
|
+
_this.handlePreview = _this.handlePreview.bind(_this);
|
117
|
+
_this.handleTheme = _this.handleTheme.bind(_this);
|
118
|
+
_this.handleShow = _this.handleShow.bind(_this);
|
119
|
+
return _this;
|
120
|
+
}
|
121
|
+
Rundowns.prototype.handleFilter = function () {
|
122
|
+
this.setState(function (state) { return ({
|
123
|
+
openFilter: !state.openFilter,
|
124
|
+
}); });
|
125
|
+
};
|
126
|
+
Rundowns.prototype.handlePreview = function () {
|
127
|
+
this.setState(function (state) { return ({
|
128
|
+
openPreview: !state.openPreview,
|
129
|
+
}); });
|
130
|
+
};
|
131
|
+
Rundowns.prototype.handleShow = function () {
|
132
|
+
this.setState(function (state) { return ({
|
133
|
+
openShowEditor: !state.openShowEditor,
|
134
|
+
}); });
|
135
|
+
};
|
136
|
+
Rundowns.prototype.handleTheme = function (newTheme) {
|
137
|
+
this.setState({
|
138
|
+
theme: newTheme
|
139
|
+
});
|
140
|
+
};
|
141
|
+
Rundowns.prototype.changeStatus = function (item, status) {
|
142
|
+
if (item.status.includes(status)) {
|
143
|
+
item.status.splice(item.status.indexOf(status), 1);
|
144
|
+
}
|
145
|
+
else {
|
146
|
+
item.status.push(status);
|
147
|
+
}
|
148
|
+
};
|
149
|
+
Rundowns.prototype.render = function () {
|
150
|
+
var _this = this;
|
151
|
+
var newShowFooter2 = (React.createElement(index_1.ButtonGroup, { align: "end" },
|
152
|
+
React.createElement(index_1.Button, { text: 'Cancel', onClick: function () { _this.setState({ modalNewShowSuccess: false }); } }),
|
153
|
+
React.createElement(index_1.Button, { type: 'primary', text: 'yes, Create a Template', onClick: function () { _this.setState({ modalNewShowSuccess: false }), _this.setState({ modalNewTemplate: true }); } })));
|
154
|
+
var newShowFooter = (React.createElement(index_1.ButtonGroup, { align: "end" },
|
155
|
+
React.createElement(index_1.Button, { text: 'Cancel', onClick: function () { _this.setState({ modalNewShow: false }); } }),
|
156
|
+
React.createElement(index_1.Button, { type: 'primary', text: 'Save', onClick: function () { _this.setState({ modalNewShowSuccess: true }), _this.setState({ modalNewShow: false }); } })));
|
157
|
+
return (React.createElement(React.Fragment, null,
|
158
|
+
React.createElement(Layout.Layout, { header: 'Rundowns', theme: this.state.theme },
|
159
|
+
React.createElement(Nav.SideBarMenu, { items: [
|
160
|
+
{ icon: 'dashboard', size: 'big' },
|
161
|
+
{ icon: 'view', size: 'big', onCLick: function () { return _this.setState({ openEditor: !_this.state.openEditor }); } },
|
162
|
+
{ icon: 'marked-star', size: 'big' },
|
163
|
+
{ icon: 'spike', size: 'big' },
|
164
|
+
{ icon: 'personal', size: 'big' },
|
165
|
+
{ icon: 'global-search', size: 'big' },
|
166
|
+
{ icon: 'picture', size: 'big' },
|
167
|
+
{ icon: 'rundown', size: 'big', }
|
168
|
+
] }),
|
169
|
+
React.createElement(Layout.LayoutContainer, null,
|
170
|
+
React.createElement(Layout.HeaderPanel, null,
|
171
|
+
React.createElement(index_1.SubNav, { zIndex: 2 },
|
172
|
+
React.createElement(index_1.SearchBar, { placeholder: 'Search media' }),
|
173
|
+
React.createElement(index_1.ButtonGroup, { align: 'end', spaces: 'no-space' },
|
174
|
+
React.createElement(index_1.Dropdown, { items: [
|
175
|
+
{
|
176
|
+
type: 'group', label: 'Settings', items: [
|
177
|
+
'divider',
|
178
|
+
{ icon: 'switches', label: 'Manage Shows', onSelect: function () { return _this.setState({ modalManageShow: true }); } },
|
179
|
+
{ icon: 'switches', label: 'Manage Templates', onSelect: function () { return _this.setState({ modalManageTemplate: true }); } },
|
180
|
+
]
|
181
|
+
}
|
182
|
+
] },
|
183
|
+
React.createElement(index_1.NavButton, { icon: 'settings', onClick: function () { return false; } })),
|
184
|
+
React.createElement(index_1.Dropdown, { header: [
|
185
|
+
{
|
186
|
+
type: 'group', label: 'Create', items: []
|
187
|
+
},
|
188
|
+
{
|
189
|
+
type: 'submenu', label: 'Rundown', icon: 'plus-sign', items: [
|
190
|
+
{ icon: 'plus-sign', label: 'Rundown', onSelect: function () { return 1; } },
|
191
|
+
]
|
192
|
+
},
|
193
|
+
], items: [
|
194
|
+
{
|
195
|
+
type: 'group', label: 'Recent Templates', items: [
|
196
|
+
{ icon: 'plus-sign', label: 'Marker Daily', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
197
|
+
{ icon: 'plus-sign', label: 'Marker Weekend', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
198
|
+
{ icon: 'plus-sign', label: 'Tabu Daily', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
199
|
+
{ icon: 'plus-sign', label: 'Tabu Specijal', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
200
|
+
]
|
201
|
+
}
|
202
|
+
], footer: [
|
203
|
+
{
|
204
|
+
type: 'group', items: [
|
205
|
+
{ icon: 'list-plus', label: 'Create new Template', onSelect: function () { return _this.setState({ modalNewTemplate: true }); } },
|
206
|
+
{ icon: 'rundown', label: 'Create new Show', onSelect: function () { return _this.setState({ modalNewShow: true }); } },
|
207
|
+
]
|
208
|
+
},
|
209
|
+
] },
|
210
|
+
React.createElement(index_1.CreateButton, { ariaValue: 'Create', onClick: function () { return false; } })))),
|
211
|
+
React.createElement(index_1.SubNav, { zIndex: 1 },
|
212
|
+
React.createElement(index_1.ButtonGroup, { align: 'start' },
|
213
|
+
React.createElement(index_1.NavButton, { icon: 'filter-large', onClick: this.handleFilter })),
|
214
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
215
|
+
React.createElement(index_1.ButtonGroup, { align: 'sub', padded: true },
|
216
|
+
React.createElement(index_1.Button, { size: "normal", icon: "chevron-left-thin", text: "Previous", shape: "round", iconOnly: true, disabled: true, onClick: function () { return false; } }),
|
217
|
+
React.createElement(index_1.Button, { text: 'Today', style: 'hollow', onClick: function () { return false; } }),
|
218
|
+
React.createElement(index_1.Button, { size: "normal", icon: "chevron-right-thin", text: "Next", shape: "round", iconOnly: true, onClick: function () { return false; } })),
|
219
|
+
React.createElement(index_1.RadioButtonGroup, { options: [
|
220
|
+
{ value: 'test10', label: 'D' },
|
221
|
+
{ value: 'test11', label: 'W' },
|
222
|
+
{ value: 'test12', label: 'M' },
|
223
|
+
], group: { padded: false }, value: this.state.itemType, onChange: function (value) { return _this.setState({ itemType: value }); } }),
|
224
|
+
React.createElement(index_1.ButtonGroup, { align: 'sub', spaces: 'no-space' },
|
225
|
+
React.createElement(index_1.Dropdown, { items: [
|
226
|
+
{
|
227
|
+
type: 'group', label: 'Chose a theme', items: [
|
228
|
+
'divider',
|
229
|
+
{ label: 'Light', icon: 'adjust', onSelect: function () { return _this.handleTheme('light-ui'); } },
|
230
|
+
{ label: 'Dark', icon: 'adjust', onSelect: function () { return _this.handleTheme('dark-ui'); } },
|
231
|
+
{ label: 'Accessible Light', icon: 'adjust', onSelect: function () { return _this.handleTheme('accessible-light-ui'); } },
|
232
|
+
]
|
233
|
+
},
|
234
|
+
] },
|
235
|
+
React.createElement(index_1.NavButton, { type: 'default', icon: 'adjust', onClick: function () { return false; } })),
|
236
|
+
React.createElement(index_1.Dropdown, { items: [
|
237
|
+
{
|
238
|
+
type: 'group', label: 'Actions', items: [
|
239
|
+
'divider',
|
240
|
+
{ label: 'Action one', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
241
|
+
{ label: 'Action two', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
242
|
+
{ label: 'Action three', onSelect: function () { return _this.setState({ dropDownState: ' ' }); } },
|
243
|
+
]
|
244
|
+
}
|
245
|
+
] },
|
246
|
+
React.createElement(index_1.NavButton, { icon: 'dots-vertical', onClick: function () { return false; } })))))),
|
247
|
+
React.createElement(Layout.LeftPanel, { open: this.state.openFilter },
|
248
|
+
React.createElement(Layout.Panel, { side: 'left', background: 'grey' },
|
249
|
+
React.createElement(Layout.PanelHeader, { title: 'Advanced filters', onClose: function () { return _this.setState({ 'openFilter': false }); } }),
|
250
|
+
React.createElement(Layout.PanelContent, null,
|
251
|
+
React.createElement(Layout.PanelContentBlock, null,
|
252
|
+
React.createElement(Form.FormGroup, null,
|
253
|
+
React.createElement(Form.FormItem, null,
|
254
|
+
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; } },
|
255
|
+
React.createElement(index_1.Option, null, "Marker"),
|
256
|
+
React.createElement(index_1.Option, null, "Tabu")))),
|
257
|
+
React.createElement("div", { className: "form__group" },
|
258
|
+
React.createElement("div", { className: "form__item" },
|
259
|
+
React.createElement(index_1.Input, { label: 'Title', type: 'text', value: 'Title', inlineLabel: false, disabled: false, onChange: function () { return false; } }))),
|
260
|
+
React.createElement("div", { className: "form__group" },
|
261
|
+
React.createElement("div", { className: "form__item" },
|
262
|
+
React.createElement(index_1.Select, { label: 'Source', value: 'Select ingest source...', inlineLabel: false, disabled: false, onChange: function () { return false; } },
|
263
|
+
React.createElement(index_1.Option, { value: "option-1" }, "Select ingest source..."),
|
264
|
+
React.createElement(index_1.Option, { value: "option-2" }, "Associated Press"),
|
265
|
+
React.createElement(index_1.Option, { value: "option-3" }, "Reuters")))),
|
266
|
+
React.createElement("div", { className: "form__group" },
|
267
|
+
React.createElement("div", { className: "form__item" },
|
268
|
+
React.createElement(index_1.Input, { label: 'Keyword', type: 'text', value: 'Keyword', inlineLabel: false, disabled: false, onChange: function () { return false; } }))),
|
269
|
+
React.createElement("div", { className: "form__group" },
|
270
|
+
React.createElement("div", { className: "form__item" },
|
271
|
+
React.createElement(index_1.Select, { label: 'Usage right', value: '--- Not selected ---', info: 'Dolor in hendrerit.', inlineLabel: false, disabled: false, onChange: function () { return false; } },
|
272
|
+
React.createElement(index_1.Option, { value: "" }, "--- Not selected ---"),
|
273
|
+
React.createElement(index_1.Option, { value: "single" }, "Single usage"),
|
274
|
+
React.createElement(index_1.Option, { value: "time" }, "Time restricted"),
|
275
|
+
React.createElement(index_1.Option, { value: "bananas" }, "Indefinite usage"),
|
276
|
+
React.createElement(index_1.Option, { value: "indefinite" }, "Pears")))))),
|
277
|
+
React.createElement(Layout.PanelFooter, null,
|
278
|
+
React.createElement(index_1.Button, { text: 'Clear', style: 'hollow', onClick: function () { return false; } }),
|
279
|
+
React.createElement(index_1.Button, { text: 'Submit', type: 'primary', onClick: function () { return false; } })))),
|
280
|
+
React.createElement(Layout.MainPanel, null,
|
281
|
+
React.createElement(ContentList_1.ContentList, { items: [
|
282
|
+
{
|
283
|
+
itemColum: [
|
284
|
+
{
|
285
|
+
itemRow: [{ content: React.createElement(React.Fragment, null,
|
286
|
+
React.createElement("i", { className: "icon-rundown" })) }],
|
287
|
+
border: true
|
288
|
+
},
|
289
|
+
{
|
290
|
+
itemRow: [
|
291
|
+
{
|
292
|
+
content: React.createElement(React.Fragment, null,
|
293
|
+
React.createElement("span", { className: "sd-list-item__slugline" }, "19:00 \u2013 19:45"),
|
294
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:38', size: 'small', type: 'warning' }),
|
295
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned Duration:', text: '00:45', size: 'small' }),
|
296
|
+
React.createElement("time", { className: 'sd-margin-s--auto', title: "June 01, 2022 11:08 AM" }, "11:08, 01.06.2022"))
|
297
|
+
},
|
298
|
+
{
|
299
|
+
content: React.createElement(React.Fragment, null,
|
300
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
301
|
+
React.createElement("span", { className: 'sd-list-item__compound-text' },
|
302
|
+
React.createElement("span", { className: 'sd-list-item__text-label' }, "Template:"),
|
303
|
+
React.createElement("span", null, "Marker Daily")),
|
304
|
+
React.createElement("span", { className: "sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline" }, "Marker // 01.06.2022"),
|
305
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'In Progress', type: 'warning' }))
|
306
|
+
},
|
307
|
+
],
|
308
|
+
fullwidth: true,
|
309
|
+
}
|
310
|
+
],
|
311
|
+
action: React.createElement(index_1.IconButton, { icon: 'dots-vertical', ariaValue: 'More actions', onClick: function () { return false; } }),
|
312
|
+
locked: true,
|
313
|
+
onClick: function () { return _this.setState({ openEditor: !_this.state.openEditor }); },
|
314
|
+
},
|
315
|
+
{
|
316
|
+
itemColum: [
|
317
|
+
{
|
318
|
+
itemRow: [{ content: React.createElement(React.Fragment, null,
|
319
|
+
React.createElement("i", { className: "icon-rundown" })) }],
|
320
|
+
border: true
|
321
|
+
},
|
322
|
+
{
|
323
|
+
itemRow: [
|
324
|
+
{
|
325
|
+
content: React.createElement(React.Fragment, null,
|
326
|
+
React.createElement("span", { className: "sd-list-item__slugline" }, "19:00 \u2013 19:45"),
|
327
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:38', size: 'small', type: 'warning' }),
|
328
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned Duration:', text: '00:45', size: 'small' }),
|
329
|
+
React.createElement("time", { className: 'sd-margin-s--auto', title: "June 01, 2022 11:08 AM" }, "11:08, 01.06.2022"))
|
330
|
+
},
|
331
|
+
{
|
332
|
+
content: React.createElement(React.Fragment, null,
|
333
|
+
React.createElement(index_1.Label, { text: 'Tabu', color: 'blue--800' }),
|
334
|
+
React.createElement("span", { className: 'sd-list-item__compound-text' },
|
335
|
+
React.createElement("span", { className: 'sd-list-item__text-label' }, "Template:"),
|
336
|
+
React.createElement("span", null, "Tabu Daily")),
|
337
|
+
React.createElement("span", { className: "sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline" }, "Marker // 01.06.2022"),
|
338
|
+
React.createElement(index_1.Label, { style: 'translucent', text: 'Draft' }))
|
339
|
+
},
|
340
|
+
],
|
341
|
+
fullwidth: true,
|
342
|
+
}
|
343
|
+
],
|
344
|
+
action: React.createElement(index_1.IconButton, { icon: 'dots-vertical', ariaValue: 'More actions', onClick: function () { return false; } }),
|
345
|
+
onClick: function () { return _this.setState({ openPreview: !_this.state.openPreview }); },
|
346
|
+
},
|
347
|
+
] })),
|
348
|
+
React.createElement(Layout.RightPanel, { open: this.state.openPreview },
|
349
|
+
React.createElement(Layout.Panel, { side: 'right' },
|
350
|
+
React.createElement(Layout.PanelHeader, { title: 'Item preview', onClose: function () { return _this.setState({ 'openPreview': false }); } }),
|
351
|
+
React.createElement(Layout.PanelContent, null,
|
352
|
+
React.createElement(Layout.PanelContentBlock, { flex: true },
|
353
|
+
React.createElement(index_1.Container, { direction: 'column', gap: 'x-small' },
|
354
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'small' },
|
355
|
+
React.createElement(index_1.Text, { color: 'light' }, "Created 09.06.2022 by "),
|
356
|
+
React.createElement(index_1.Text, { weight: 'medium' }, "Mika Karapet")),
|
357
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'small' },
|
358
|
+
React.createElement(index_1.Text, { color: 'light' }, "Updated 3 hours ago by "),
|
359
|
+
React.createElement(index_1.Text, { weight: 'medium' }, "John Doe"))),
|
360
|
+
React.createElement(index_1.Container, { className: 'sd-margin-s--auto sd-flex--items-center' })),
|
361
|
+
React.createElement(Layout.PanelContentBlock, null,
|
362
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'large', className: 'sd-margin-b--3' },
|
363
|
+
React.createElement(index_1.Label, { size: 'large', text: 'Tabu', color: 'blue--800' }),
|
364
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'small' },
|
365
|
+
React.createElement(index_1.Text, { color: 'light', size: 'small', style: 'italic' }, "Template:"),
|
366
|
+
React.createElement(index_1.Text, { size: 'small', style: 'italic', weight: 'medium' }, "Tabu daily"))),
|
367
|
+
React.createElement(index_1.Container, { direction: 'column', className: 'sd-margin-y--2' },
|
368
|
+
React.createElement(index_1.Heading, { type: 'h2' }, "Tabu // 01.06.2022")),
|
369
|
+
React.createElement(index_1.ButtonGroup, null,
|
370
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Airtime:', text: '19:45 - 20:45', type: 'primary' }),
|
371
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Duration:', text: '00:56', type: 'warning' }),
|
372
|
+
React.createElement(index_1.Text, { color: 'light', size: 'small', className: 'sd-margin--0' }, "OF"),
|
373
|
+
React.createElement(index_1.IconLabel, { style: 'translucent', innerLabel: 'Planned:', text: '01:00' })),
|
374
|
+
React.createElement(TableList_1.TableList, { className: 'sd-margin-y--4', array: this.state.array, itemsDropdown: function () { return [
|
375
|
+
{ label: React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'aacc' }), onSelect: function () { return 1; } },
|
376
|
+
{ label: React.createElement(index_1.Label, { style: 'translucent', text: 'prlg' }), onSelect: function () { return 1; } },
|
377
|
+
{ label: React.createElement(index_1.Label, { style: 'translucent', type: 'primary', text: 'prlg' }), onSelect: function () { return 1; } },
|
378
|
+
]; } }))))),
|
379
|
+
React.createElement(Layout.OverlayPanel, null)),
|
380
|
+
React.createElement(Layout.ContentSplitter, { visible: this.state.openEditor }),
|
381
|
+
React.createElement(Layout.AuthoringContainer, { open: this.state.openEditor },
|
382
|
+
React.createElement(RundownEditor_1.RundownEditor, { rightPanel: this.state.rightPanel, openPanel: function () {
|
383
|
+
if (_this.state.fullEditor) {
|
384
|
+
_this.setState({ previousState: true });
|
385
|
+
}
|
386
|
+
else {
|
387
|
+
_this.setState({ previousState: false });
|
388
|
+
}
|
389
|
+
_this.setState({ rightPanel: true });
|
390
|
+
}, closePanel: function () {
|
391
|
+
if (!_this.state.previousState) {
|
392
|
+
_this.setState({ rightPanel: false, fullEditor: false });
|
393
|
+
}
|
394
|
+
else {
|
395
|
+
_this.setState({ rightPanel: false });
|
396
|
+
}
|
397
|
+
} }))),
|
398
|
+
React.createElement(index_1.Modal, { headerTemplate: "Manage Templates", visible: this.state.modalManageTemplate, zIndex: 1000, contentBg: 'medium', contentPadding: 'none', size: 'x-large', onHide: function () { _this.setState({ modalManageTemplate: false }); } },
|
399
|
+
React.createElement(Layout.LayoutContainer, null,
|
400
|
+
React.createElement(Layout.LeftPanel, { open: true },
|
401
|
+
React.createElement(Layout.Panel, { side: 'left', background: 'grey' },
|
402
|
+
React.createElement(Layout.PanelHeader, null,
|
403
|
+
React.createElement(index_1.Container, { className: 'sd-padding-x--2' },
|
404
|
+
React.createElement(index_1.Select, { label: 'Shows', fullWidth: true, labelHidden: true, inlineLabel: true, value: 'This is some value', required: true, disabled: false, invalid: false, onChange: function () { return false; } },
|
405
|
+
React.createElement(index_1.Option, null, "Select show"),
|
406
|
+
React.createElement(index_1.Option, null, "Marker"),
|
407
|
+
React.createElement(index_1.Option, null, "Tabu")))),
|
408
|
+
React.createElement(Layout.PanelContent, null,
|
409
|
+
React.createElement(index_1.EmptyState, { title: 'No show is selected', description: 'Please select a Show from the dropdown at the top.', size: "small", illustration: "1" })))),
|
410
|
+
React.createElement(Layout.MainPanel, null,
|
411
|
+
React.createElement(index_1.EmptyState, { title: 'No Template selected', description: 'Please select a Show and Template frome the side panel.', size: "large", illustration: "1" })))),
|
412
|
+
React.createElement(index_1.Modal, { headerTemplate: "Create new Show", visible: this.state.modalNewShow, zIndex: 1000, footerTemplate: newShowFooter, contentBg: 'medium', size: 'medium', onHide: function () { _this.setState({ modalNewShow: false }); } },
|
413
|
+
React.createElement(Form.FormGroup, null,
|
414
|
+
React.createElement(Form.FormItem, null,
|
415
|
+
React.createElement(index_1.Input, { label: 'Show name', type: 'text', value: '', required: true, onChange: function () { return false; } }))),
|
416
|
+
React.createElement(Form.FormGroup, null,
|
417
|
+
React.createElement(Form.FormItem, null,
|
418
|
+
React.createElement(index_1.Input, { label: 'Description', type: 'text', value: '', required: false, onChange: function () { return false; } })))),
|
419
|
+
React.createElement(index_1.Modal, { headerTemplate: "Create new Show", visible: this.state.modalNewShowSuccess, zIndex: 1000, footerTemplate: newShowFooter2, contentBg: 'medium', size: 'medium', onHide: function () { _this.setState({ modalNewShowSuccess: false }); } },
|
420
|
+
React.createElement(index_1.Container, { direction: 'column', className: 'sd-flex--justify-center sd-flex--items-center sd-padding-y--2', gap: 'medium' },
|
421
|
+
React.createElement(index_1.Icon, { name: 'checkmark-circle', type: 'success', size: 'big', scale: '3x' }),
|
422
|
+
React.createElement(index_1.Text, { align: 'center', size: 'medium' },
|
423
|
+
"The show ",
|
424
|
+
React.createElement("strong", null, "Marker"),
|
425
|
+
" has been successfully created.",
|
426
|
+
React.createElement("br", null),
|
427
|
+
"Do you want to cretate a template for this show right away?"))),
|
428
|
+
React.createElement(index_1.Modal, { headerTemplate: "Create new Template", visible: this.state.modalNewTemplate, zIndex: 1000, contentBg: 'medium', contentPadding: 'none', size: 'x-large', onHide: function () { _this.setState({ modalNewTemplate: false }); } },
|
429
|
+
React.createElement(Layout.LayoutContainer, null,
|
430
|
+
React.createElement(Layout.LeftPanel, { open: true },
|
431
|
+
React.createElement(Layout.Panel, { side: 'left', background: 'grey' },
|
432
|
+
React.createElement(Layout.PanelHeader, null,
|
433
|
+
React.createElement(index_1.Container, { className: 'sd-padding-x--2' },
|
434
|
+
React.createElement(index_1.Select, { label: 'Shows', fullWidth: true, labelHidden: true, inlineLabel: true, value: 'This is some value', required: true, disabled: false, invalid: false, onChange: function () { return false; } },
|
435
|
+
React.createElement(index_1.Option, null, "Marker"),
|
436
|
+
React.createElement(index_1.Option, null, "Tabu")))),
|
437
|
+
React.createElement(Layout.PanelContent, null,
|
438
|
+
React.createElement(Layout.PanelContentBlock, null,
|
439
|
+
React.createElement(index_1.Container, { className: 'sd-margin-b--1-5' },
|
440
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
441
|
+
React.createElement(index_1.Tooltip, { text: 'New template', flow: 'left' },
|
442
|
+
React.createElement(index_1.Button, { type: "primary", size: 'small', icon: "plus-large", text: "Cretae new Template", shape: "round", iconOnly: true, onClick: function () { return false; } })))),
|
443
|
+
React.createElement(index_1.BoxedList, null,
|
444
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', selected: true, actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
445
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
446
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
447
|
+
React.createElement("span", null, "Untitled"))),
|
448
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
449
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
450
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
451
|
+
React.createElement("span", null, "Marker Daily"))),
|
452
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
453
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
454
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
455
|
+
React.createElement("span", null, "Marker Weekend"))),
|
456
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', density: 'compact', clickable: true, actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
457
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
458
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
459
|
+
React.createElement("span", null, "Marker Special")))))))),
|
460
|
+
React.createElement(Layout.MainPanel, { padding: 'none' },
|
461
|
+
React.createElement(RundownEditor_1.RundownEditor, { rightPanel: this.state.rightPanel, openPanel: function () {
|
462
|
+
if (_this.state.fullEditor) {
|
463
|
+
_this.setState({ previousState: true });
|
464
|
+
}
|
465
|
+
else {
|
466
|
+
_this.setState({ previousState: false });
|
467
|
+
}
|
468
|
+
_this.setState({ rightPanel: true });
|
469
|
+
}, closePanel: function () {
|
470
|
+
if (!_this.state.previousState) {
|
471
|
+
_this.setState({ rightPanel: false, fullEditor: false });
|
472
|
+
}
|
473
|
+
else {
|
474
|
+
_this.setState({ rightPanel: false });
|
475
|
+
}
|
476
|
+
} })))),
|
477
|
+
React.createElement(index_1.Modal, { headerTemplate: "Manage Shows", maximizable: true, visible: this.state.modalManageShow, zIndex: 1000, contentBg: 'medium', contentPadding: 'none', size: 'x-large', onHide: function () { _this.setState({ modalManageShow: false }); } },
|
478
|
+
React.createElement(Layout.LayoutContainer, null,
|
479
|
+
React.createElement(Layout.HeaderPanel, null,
|
480
|
+
React.createElement(index_1.SubNav, { zIndex: 2 },
|
481
|
+
React.createElement(index_1.SearchBar, { placeholder: 'Search shows' }),
|
482
|
+
React.createElement(index_1.ButtonGroup, { align: 'end', spaces: 'no-space' },
|
483
|
+
React.createElement(index_1.CreateButton, { ariaValue: 'New show', onClick: function () { return false; } })))),
|
484
|
+
React.createElement(Layout.MainPanel, null,
|
485
|
+
React.createElement(index_1.BoxedList, null,
|
486
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', selected: this.state.openShowEditor, onClick: function () { return _this.setState({ openShowEditor: !_this.state.openShowEditor }); }, actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
487
|
+
React.createElement(index_1.Container, { className: 'sd-flex-justify-space-between' },
|
488
|
+
React.createElement(index_1.Heading, { type: 'h4' }, "Marker"),
|
489
|
+
React.createElement(index_1.Text, { color: 'lighter' }, "3 template"))),
|
490
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
491
|
+
React.createElement(index_1.Container, { className: 'sd-flex-justify-space-between' },
|
492
|
+
React.createElement(index_1.Heading, { type: 'h4' }, "Tabu"),
|
493
|
+
React.createElement(index_1.Text, { color: 'lighter' }, "3 template"))),
|
494
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', clickable: true, density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
495
|
+
React.createElement(index_1.Container, { className: 'sd-flex-justify-space-between' },
|
496
|
+
React.createElement(index_1.Heading, { type: 'h4' }, "\u017Divot u ringu"),
|
497
|
+
React.createElement(index_1.Text, { color: 'lighter' }, "1 template"))),
|
498
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', density: 'compact', clickable: true, actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
499
|
+
React.createElement(index_1.Container, { className: 'sd-flex-justify-space-between' },
|
500
|
+
React.createElement(index_1.Heading, { type: 'h4' }, "Intervju"),
|
501
|
+
React.createElement(index_1.Text, { color: 'lighter' }, "3 templates"))))),
|
502
|
+
React.createElement(Layout.RightPanel, { open: this.state.openShowEditor },
|
503
|
+
React.createElement(Layout.Panel, { side: 'right', background: 'grey' },
|
504
|
+
React.createElement(Layout.PanelHeader, { title: 'Show details', onClose: function () { return _this.setState({ 'openShowEditor': false }); } }, this.state.value1 ||
|
505
|
+
React.createElement(Layout.PanelHeaderSlidingToolbar, null,
|
506
|
+
React.createElement(index_1.ButtonGroup, { align: 'start' },
|
507
|
+
React.createElement(index_1.IconButton, { ariaValue: "Close", icon: "close-small", onClick: function () { return _this.setState({ openShowEditor: !_this.state.openShowEditor }); } })),
|
508
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
509
|
+
React.createElement(index_1.Button, { text: "Save Changes", style: 'hollow', onClick: function () { return _this.setState({ openShowEditor: !_this.state.openShowEditor }); }, type: "primary" })))),
|
510
|
+
React.createElement(Layout.PanelContent, null,
|
511
|
+
React.createElement(Layout.PanelContentBlock, { flex: true },
|
512
|
+
React.createElement(index_1.Container, { direction: 'column', gap: 'x-small' },
|
513
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'small' },
|
514
|
+
React.createElement(index_1.Text, { color: 'light' }, "Created 09.06.2022 by "),
|
515
|
+
React.createElement(index_1.Text, { weight: 'medium' }, "Mika Karapet")),
|
516
|
+
React.createElement(index_1.Container, { direction: 'row', gap: 'small' },
|
517
|
+
React.createElement(index_1.Text, { color: 'light' }, "Updated 3 hours ago by "),
|
518
|
+
React.createElement(index_1.Text, { weight: 'medium' }, "John Doe"))),
|
519
|
+
React.createElement(index_1.Container, { className: 'sd-margin-s--auto sd-flex--items-center' },
|
520
|
+
React.createElement(index_1.Dropdown, { align: 'right', append: true, items: [
|
521
|
+
{
|
522
|
+
type: 'group', label: 'Actions', items: [
|
523
|
+
'divider',
|
524
|
+
{ label: 'Edit', icon: 'pencil', onSelect: function () { return _this.setState({ dropDownState: 'Edit ' }); } },
|
525
|
+
{ label: 'Download', icon: 'download', onSelect: function () { return _this.setState({ dropDownState: 'Download' }); } },
|
526
|
+
{ label: 'Delete', icon: 'trash', onSelect: function () { return _this.setState({ dropDownState: 'Delete' }); } },
|
527
|
+
]
|
528
|
+
}
|
529
|
+
] },
|
530
|
+
React.createElement(index_1.IconButton, { ariaValue: 'dropdown-more-options', icon: 'dots-vertical', onClick: function () { return false; } })))),
|
531
|
+
React.createElement(Layout.PanelContentBlock, null,
|
532
|
+
React.createElement(index_1.SwitchGroup, { className: 'sd-margin-b--3' },
|
533
|
+
React.createElement(index_1.Switch, { label: { content: 'Active' }, value: this.state.value1, onChange: function (value) { return _this.setState(function () { return ({ value1: value }); }); } })),
|
534
|
+
React.createElement(Form.FormGroup, null,
|
535
|
+
React.createElement(Form.FormItem, null,
|
536
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Show name', value: 'Marker', required: true, disabled: false, onChange: function () { return false; } }))),
|
537
|
+
React.createElement(Form.FormGroup, null,
|
538
|
+
React.createElement(Form.FormItem, null,
|
539
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Description', required: false, disabled: false, onChange: function () { return false; } })))),
|
540
|
+
React.createElement(Layout.PanelContentBlock, null,
|
541
|
+
React.createElement(index_1.Heading, { type: 'h3', className: 'sd-margin-b--2' }, "Show templates"),
|
542
|
+
React.createElement(index_1.BoxedList, null,
|
543
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
544
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
545
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
546
|
+
React.createElement("span", null, "Marker Daily"))),
|
547
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
548
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
549
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
550
|
+
React.createElement("span", null, "Marker Weekend"))),
|
551
|
+
React.createElement(index_1.BoxedListItem, { alignVertical: 'center', density: 'compact', actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", size: 'small', ariaValue: "More actions", onClick: function () { return false; } })) },
|
552
|
+
React.createElement(index_1.Container, { gap: 'small' },
|
553
|
+
React.createElement(index_1.Label, { text: 'Marker', color: 'blue--800' }),
|
554
|
+
React.createElement("span", null, "Marker Special"))))))))))));
|
555
|
+
};
|
556
|
+
return Rundowns;
|
557
|
+
}(React.Component));
|
558
|
+
exports.Rundowns = Rundowns;
|
@@ -0,0 +1,24 @@
|
|
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
|
+
openPreview: boolean;
|
10
|
+
openFilter: boolean;
|
11
|
+
itemSelected1: boolean;
|
12
|
+
itemSelected2: boolean;
|
13
|
+
itemSelected3: boolean;
|
14
|
+
value1: boolean;
|
15
|
+
}
|
16
|
+
export declare class SamsPlayground extends React.Component<IProps, IState> {
|
17
|
+
constructor(props: IProps);
|
18
|
+
handleFilter(): void;
|
19
|
+
handlePreview(): void;
|
20
|
+
handleTheme(newTheme: string): void;
|
21
|
+
changeStatus(item: any, status: string): void;
|
22
|
+
render(): JSX.Element;
|
23
|
+
}
|
24
|
+
export {};
|