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,200 @@
|
|
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
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
41
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
42
|
+
if (ar || !(i in from)) {
|
43
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
44
|
+
ar[i] = from[i];
|
45
|
+
}
|
46
|
+
}
|
47
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
48
|
+
};
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
50
|
+
exports.Editor = exports.Multiedit = void 0;
|
51
|
+
var React = __importStar(require("react"));
|
52
|
+
var index_1 = require("../../../../app-typescript/index");
|
53
|
+
var Layout = __importStar(require("../../../../app-typescript/components/Layouts"));
|
54
|
+
var Form = __importStar(require("../../../../app-typescript/components/Form"));
|
55
|
+
var Nav = __importStar(require("../../../../app-typescript/components/Navigation"));
|
56
|
+
var Lists_1 = require("../../../../app-typescript/components/Lists");
|
57
|
+
var Spacer_1 = require("../../../../app-typescript/components/Spacer");
|
58
|
+
var Multiedit = /** @class */ (function (_super) {
|
59
|
+
__extends(Multiedit, _super);
|
60
|
+
function Multiedit(props) {
|
61
|
+
var _this = _super.call(this, props) || this;
|
62
|
+
_this.state = {
|
63
|
+
theme: 'light',
|
64
|
+
itemType: 'itemtype01',
|
65
|
+
dropDownState: '',
|
66
|
+
itemSelected1: false,
|
67
|
+
itemSelected2: false,
|
68
|
+
itemSelected3: false,
|
69
|
+
value1: false,
|
70
|
+
value2: false,
|
71
|
+
value3: false,
|
72
|
+
leftPanelOpen: false,
|
73
|
+
rightPanelOpen: false,
|
74
|
+
rightPanelPinned: false,
|
75
|
+
sideOverlayOpen: false,
|
76
|
+
sideBarOpen: false,
|
77
|
+
arr: [React.createElement(Editor, null), React.createElement(Editor, null)],
|
78
|
+
};
|
79
|
+
_this.handleTheme = _this.handleTheme.bind(_this);
|
80
|
+
return _this;
|
81
|
+
}
|
82
|
+
Multiedit.prototype.handleTheme = function (newTheme) {
|
83
|
+
this.setState({
|
84
|
+
theme: newTheme
|
85
|
+
});
|
86
|
+
};
|
87
|
+
Multiedit.prototype.changeStatus = function (item, status) {
|
88
|
+
if (item.status.includes(status)) {
|
89
|
+
item.status.splice(item.status.indexOf(status), 1);
|
90
|
+
}
|
91
|
+
else {
|
92
|
+
item.status.push(status);
|
93
|
+
}
|
94
|
+
};
|
95
|
+
Multiedit.prototype.render = function () {
|
96
|
+
var _this = this;
|
97
|
+
return (React.createElement(index_1.Modal, { className: 'p-dialog-flex', onHide: function () { return false; }, maximized: true, contentPadding: "none", headerTemplate: "Multiedit", visible: true },
|
98
|
+
React.createElement(Spacer_1.Spacer, { children: this.state.arr, gap: '0' }),
|
99
|
+
React.createElement("div", { style: {
|
100
|
+
padding: '0 20px',
|
101
|
+
display: 'flex',
|
102
|
+
alignItems: 'center'
|
103
|
+
} },
|
104
|
+
React.createElement(index_1.Dropdown, { append: true, items: [
|
105
|
+
{ label: 'Action 1', onSelect: function () { return _this.setState({ arr: __spreadArray(__spreadArray([], _this.state.arr, true), [React.createElement(Editor, null)], false) }); } },
|
106
|
+
] },
|
107
|
+
React.createElement(index_1.Button, { type: "primary", icon: "plus-large", text: "Add article", style: "filled", size: "large", shape: "round", iconOnly: true, onClick: function () { return false; } })))));
|
108
|
+
};
|
109
|
+
return Multiedit;
|
110
|
+
}(React.Component));
|
111
|
+
exports.Multiedit = Multiedit;
|
112
|
+
var Editor = /** @class */ (function (_super) {
|
113
|
+
__extends(Editor, _super);
|
114
|
+
function Editor(props) {
|
115
|
+
var _this = _super.call(this, props) || this;
|
116
|
+
_this.state = {
|
117
|
+
sideBarOpen: false,
|
118
|
+
activeTab: '1',
|
119
|
+
};
|
120
|
+
return _this;
|
121
|
+
}
|
122
|
+
Editor.prototype.render = function () {
|
123
|
+
var _this = this;
|
124
|
+
return (React.createElement("div", { style: { borderRight: '4px solid grey' } },
|
125
|
+
React.createElement(Layout.AuthoringFrame, { header: (React.createElement(index_1.SubNav, { zIndex: 2 },
|
126
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
127
|
+
React.createElement(index_1.ButtonGroup, { subgroup: true, spaces: "no-space" },
|
128
|
+
React.createElement(index_1.Tooltip, { text: 'More actions', flow: 'left' },
|
129
|
+
React.createElement(index_1.NavButton, { type: 'default', icon: 'dots-vertical', text: 'More actions', onClick: function () { return false; } })),
|
130
|
+
React.createElement(index_1.Tooltip, { text: 'Send to / Publish', flow: 'left' },
|
131
|
+
React.createElement(index_1.NavButton, { type: 'highlight', icon: 'send-to', iconSize: 'big', text: 'Send to / Publish', onClick: function () { return false; } })),
|
132
|
+
React.createElement(index_1.Tooltip, { text: 'Send to / Publish', flow: 'left' },
|
133
|
+
React.createElement(index_1.NavButton, { type: 'darker', icon: this.state.sideBarOpen ? 'forward-thin' : 'backward-thin', text: 'More actions', onClick: function () { return _this.setState({ sideBarOpen: !_this.state.sideBarOpen }); } })))))), main: (React.createElement(Layout.AuthoringMain, { headerPadding: 'medium', toolBar: (React.createElement(React.Fragment, null,
|
134
|
+
React.createElement("div", { className: "sd-editor-toolbar__content" },
|
135
|
+
React.createElement("dl", null,
|
136
|
+
React.createElement("dt", null, "Created"),
|
137
|
+
React.createElement("dd", null,
|
138
|
+
React.createElement("time", { title: "July 29, 2021 3:58 PM" }, "07/29")),
|
139
|
+
React.createElement("dt", null, "by"),
|
140
|
+
React.createElement("dt", null, "Nareg Asmarian")),
|
141
|
+
React.createElement("dl", null,
|
142
|
+
React.createElement("dt", null, "Modified"),
|
143
|
+
React.createElement("dd", null,
|
144
|
+
React.createElement("time", { title: "July 29, 2021 3:58 PM" }, "07/29")))),
|
145
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
146
|
+
React.createElement(index_1.IconButton, { icon: "preview-mode", toolTipAppend: true, ariaValue: "Print preview", onClick: function () { return false; } }),
|
147
|
+
React.createElement(index_1.IconButton, { icon: "adjust", ariaValue: "Toogle theme", onClick: function () { return false; } }),
|
148
|
+
React.createElement(index_1.IconButton, { icon: "switches", ariaValue: "Theme settings", onClick: function () { return false; } })))), authoringHeader: (React.createElement(React.Fragment, null,
|
149
|
+
React.createElement(Form.FormGroup, { inlineLabel: true },
|
150
|
+
React.createElement(Form.FormItem, null,
|
151
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Slugline', value: 'This is some value', maxLength: 30, info: 'This is some hint message', required: false, disabled: false, onChange: function () { return false; } })),
|
152
|
+
React.createElement(Form.FormItem, null,
|
153
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Slugline', value: 'This is some value', maxLength: 30, info: 'This is some hint message', required: false, disabled: false, onChange: function () { return false; } }))),
|
154
|
+
React.createElement(Form.FormGroup, { inlineLabel: true },
|
155
|
+
React.createElement(Form.FormItem, null,
|
156
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Genre', value: 'This is some value', maxLength: 30, info: 'This is some hint message', required: false, disabled: false, onChange: function () { return false; } }))),
|
157
|
+
React.createElement(Form.FormGroup, { marginBottom: '0', inlineLabel: true },
|
158
|
+
React.createElement(Form.FormItem, null,
|
159
|
+
React.createElement(index_1.Input, { type: 'text', label: 'Subject', value: 'This is some value', maxLength: 30, info: 'This is some hint message', required: true, disabled: false, onChange: function () { return false; } })),
|
160
|
+
React.createElement(Form.FormItem, { autoWidth: true },
|
161
|
+
React.createElement(Form.FormText, null, "Just testing:")),
|
162
|
+
React.createElement(Form.FormItem, null,
|
163
|
+
React.createElement(index_1.Select, { label: 'Categories', labelHidden: true, value: 'This is some value', info: 'This is some hint message', required: true, disabled: false, onChange: function () { return false; } },
|
164
|
+
React.createElement(index_1.Option, null, "Option 1"),
|
165
|
+
React.createElement(index_1.Option, null, "Option 2"))),
|
166
|
+
React.createElement(Form.FormItem, { autoWidth: true },
|
167
|
+
React.createElement(index_1.ButtonGroup, null,
|
168
|
+
React.createElement(index_1.IconButton, { ariaValue: "Submit", icon: "picture", onClick: function () { return false; } }),
|
169
|
+
React.createElement(index_1.Button, { text: "Cancel", onClick: function () { return false; }, type: "default", style: "hollow" }),
|
170
|
+
React.createElement(index_1.Button, { text: "Submit", onClick: function () { return false; }, type: "primary" })))))) })), sidePanel: (React.createElement(Layout.Panel, { side: 'right', background: 'grey', open: false, size: 'x-small' },
|
171
|
+
React.createElement(Layout.PanelHeader, { title: 'Pinned content', onClose: function () { return false; } }),
|
172
|
+
React.createElement(Layout.PanelContent, null,
|
173
|
+
React.createElement(Layout.PanelContentBlock, null,
|
174
|
+
React.createElement(Lists_1.BoxedList, { density: 'comfortable' },
|
175
|
+
React.createElement(Lists_1.BoxedListItem, { type: "success", clickable: true, media: (React.createElement(index_1.Icon, { name: 'slideshow' })), actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", ariaValue: "More actions", onClick: function () { return false; } })) },
|
176
|
+
React.createElement(Lists_1.BoxedListContentRow, null, "Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper."),
|
177
|
+
React.createElement(Lists_1.BoxedListContentRow, null, "Praesent commodo cursus magna, vel scelerisque nisl consectetur et.")),
|
178
|
+
React.createElement(Lists_1.BoxedListItem, { type: "warning", media: (React.createElement(index_1.AvatarWrapper, { size: "medium" },
|
179
|
+
React.createElement(index_1.AvatarContentText, { text: "JL", tooltipText: "Jeffrey Lebowski" }))), footer: (React.createElement(index_1.ButtonGroup, { align: "end" },
|
180
|
+
React.createElement(index_1.Button, { text: "cancel", size: "small", style: "hollow", onClick: function () { return false; } }),
|
181
|
+
React.createElement(index_1.Button, { text: "yes", size: "small", style: "hollow", type: "primary", onClick: function () { return false; } }))), actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", ariaValue: "More actions", onClick: function () { return false; } })) },
|
182
|
+
React.createElement(Lists_1.BoxedListContentRow, null, "Maecenas sed diam eget risus varius blandit sit amet magna.")),
|
183
|
+
React.createElement(Lists_1.BoxedListItem, { selected: true, actions: (React.createElement(index_1.IconButton, { icon: "dots-vertical", ariaValue: "More actions", onClick: function () { return false; } })) },
|
184
|
+
React.createElement(Lists_1.BoxedListContentRow, null, "Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper."))))))), sideBarClosed: this.state.sideBarOpen, sideBar: (React.createElement(Nav.SideBarTabs, { items: [
|
185
|
+
{ icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
|
186
|
+
{ icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
|
187
|
+
{ icon: 'history', size: 'big', tooltip: 'History', id: '3' },
|
188
|
+
{ icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
|
189
|
+
{ icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5' },
|
190
|
+
{ icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
|
191
|
+
{ icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
|
192
|
+
], activeTab: this.state.activeTab, onActiveTabChange: function (val) {
|
193
|
+
_this.setState({
|
194
|
+
activeTab: val,
|
195
|
+
});
|
196
|
+
} })) })));
|
197
|
+
};
|
198
|
+
return Editor;
|
199
|
+
}(React.Component));
|
200
|
+
exports.Editor = Editor;
|
@@ -0,0 +1,22 @@
|
|
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
|
+
leftPanelOpen: boolean;
|
14
|
+
rightPanelOpen: boolean;
|
15
|
+
}
|
16
|
+
export declare class PageLayoutTest extends React.Component<IProps, IState> {
|
17
|
+
constructor(props: IProps);
|
18
|
+
handleTheme(newTheme: string): void;
|
19
|
+
changeStatus(item: any, status: string): void;
|
20
|
+
render(): JSX.Element;
|
21
|
+
}
|
22
|
+
export {};
|
@@ -0,0 +1,134 @@
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
41
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
42
|
+
};
|
43
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
44
|
+
exports.PageLayoutTest = void 0;
|
45
|
+
var React = __importStar(require("react"));
|
46
|
+
var index_1 = require("../../../../app-typescript/index");
|
47
|
+
var GridElements = __importStar(require("../../../../app-typescript/components/GridItem"));
|
48
|
+
var Layout = __importStar(require("../../../../app-typescript/components/Layouts"));
|
49
|
+
var items_1 = __importDefault(require("../dummy-data/items"));
|
50
|
+
var PageLayoutTest = /** @class */ (function (_super) {
|
51
|
+
__extends(PageLayoutTest, _super);
|
52
|
+
function PageLayoutTest(props) {
|
53
|
+
var _this = _super.call(this, props) || this;
|
54
|
+
_this.state = {
|
55
|
+
theme: 'light',
|
56
|
+
itemType: 'itemtype01',
|
57
|
+
dropDownState: '',
|
58
|
+
itemSelected1: false,
|
59
|
+
itemSelected2: false,
|
60
|
+
itemSelected3: false,
|
61
|
+
value1: false,
|
62
|
+
leftPanelOpen: false,
|
63
|
+
rightPanelOpen: false,
|
64
|
+
};
|
65
|
+
_this.handleTheme = _this.handleTheme.bind(_this);
|
66
|
+
return _this;
|
67
|
+
}
|
68
|
+
PageLayoutTest.prototype.handleTheme = function (newTheme) {
|
69
|
+
this.setState({
|
70
|
+
theme: newTheme
|
71
|
+
});
|
72
|
+
};
|
73
|
+
PageLayoutTest.prototype.changeStatus = function (item, status) {
|
74
|
+
if (item.status.includes(status)) {
|
75
|
+
item.status.splice(item.status.indexOf(status), 1);
|
76
|
+
}
|
77
|
+
else {
|
78
|
+
item.status.push(status);
|
79
|
+
}
|
80
|
+
};
|
81
|
+
PageLayoutTest.prototype.render = function () {
|
82
|
+
var _this = this;
|
83
|
+
return (React.createElement(Layout.PageLayout, { header: (React.createElement(index_1.SubNav, { zIndex: 2 },
|
84
|
+
React.createElement(index_1.ButtonGroup, { align: "start", padded: true },
|
85
|
+
React.createElement(index_1.Button, { text: "Open left panel", style: "hollow", onClick: function () { return _this.setState({ 'leftPanelOpen': !_this.state.leftPanelOpen }); } })),
|
86
|
+
React.createElement(index_1.ButtonGroup, { align: 'end' },
|
87
|
+
React.createElement(index_1.Button, { text: "Open right panel", style: "hollow", onClick: function () { return _this.setState({ 'rightPanelOpen': !_this.state.rightPanelOpen }); } }),
|
88
|
+
React.createElement(index_1.Divider, { size: "mini" }),
|
89
|
+
React.createElement(index_1.ButtonGroup, { subgroup: true, spaces: "no-space" },
|
90
|
+
React.createElement(index_1.Dropdown, { items: [
|
91
|
+
{
|
92
|
+
type: 'group', label: 'Chose a theme', items: [
|
93
|
+
'divider',
|
94
|
+
{ label: 'Light', onSelect: function () { return _this.handleTheme('light-ui'); } },
|
95
|
+
{ label: 'Dark', onSelect: function () { return _this.handleTheme('dark-ui'); } },
|
96
|
+
]
|
97
|
+
},
|
98
|
+
] },
|
99
|
+
React.createElement(index_1.NavButton, { type: 'default', icon: 'adjust', onClick: function () { return false; } })))))), leftPanelOpen: this.state.leftPanelOpen, leftPanel: (React.createElement(Layout.Panel, { side: 'left', background: 'light', open: this.state.leftPanelOpen, size: 'x-large' },
|
100
|
+
React.createElement(Layout.PanelHeader, { title: 'This is the title for the Panel', onClose: function () { return _this.setState({ 'leftPanelOpen': false }); } }),
|
101
|
+
React.createElement(Layout.PanelContent, null,
|
102
|
+
React.createElement(Layout.PanelContentBlock, null,
|
103
|
+
React.createElement("p", null, "Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit."),
|
104
|
+
React.createElement("p", null, "Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus, porta ac consectetur ac, vestibulum at eros."))))), rightPanelOpen: this.state.rightPanelOpen, rightPanel: (React.createElement(Layout.Panel, { side: 'right', background: 'grey', open: this.state.rightPanelOpen, size: 'small' },
|
105
|
+
React.createElement(Layout.PanelHeader, { color: 'blueGreyDarker', title: 'Right Panel Title', onClose: function () { return _this.setState({ 'rightPanelOpen': false }); } }),
|
106
|
+
React.createElement(Layout.PanelContent, null,
|
107
|
+
React.createElement(Layout.PanelContentBlock, null,
|
108
|
+
React.createElement("p", null, "Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit."),
|
109
|
+
React.createElement("p", null, "Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus, porta ac consectetur ac, vestibulum at eros."))))), main: (React.createElement(index_1.GridList, { size: "small", gap: "medium", margin: "3" }, items_1.default.map(function (item, index) {
|
110
|
+
return React.createElement(GridElements.GridItem, { locked: item.locked, status: item.status, itemtype: item.type, key: index },
|
111
|
+
React.createElement(GridElements.GridItemCheckWrapper, null,
|
112
|
+
React.createElement(index_1.Checkbox, { checked: item.selected, label: { text: '' }, onChange: function (value) {
|
113
|
+
item.selected = value;
|
114
|
+
_this.changeStatus(item, 'selected');
|
115
|
+
} })),
|
116
|
+
React.createElement(GridElements.GridItemTopActions, null,
|
117
|
+
React.createElement(index_1.IconButton, { icon: 'fullscreen', ariaValue: 'More actions', onClick: function () { return false; } })),
|
118
|
+
React.createElement(GridElements.GridItemMedia, null, item.image ? React.createElement("img", { src: item.image, alt: item.imageAlt }) : null),
|
119
|
+
React.createElement(GridElements.GridItemContent, null,
|
120
|
+
React.createElement(GridElements.GridItemTime, { time: item.date }),
|
121
|
+
React.createElement(GridElements.GridItemTitle, null, item.title),
|
122
|
+
React.createElement(GridElements.GridItemText, null, item.description)),
|
123
|
+
React.createElement(GridElements.GridItemFooter, null,
|
124
|
+
React.createElement(GridElements.GridItemFooterBlock, { align: 'left' },
|
125
|
+
React.createElement(index_1.Icon, { name: item.type, className: 'sd-grid-item__type-icn' }),
|
126
|
+
React.createElement(index_1.Badge, { text: item.urgency, color: item.urgencyColor }),
|
127
|
+
React.createElement(index_1.Badge, { text: item.priority, shape: 'square', color: item.priorityColor })),
|
128
|
+
React.createElement(GridElements.GridItemFooterActions, null,
|
129
|
+
React.createElement(index_1.IconButton, { icon: 'dots-vertical', ariaValue: 'More actions', onClick: function () { return _this.changeStatus(item, 'archived'); } }))));
|
130
|
+
}))) }));
|
131
|
+
};
|
132
|
+
return PageLayoutTest;
|
133
|
+
}(React.Component));
|
134
|
+
exports.PageLayoutTest = PageLayoutTest;
|
@@ -0,0 +1,40 @@
|
|
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
|
+
value2: boolean;
|
16
|
+
value3: boolean;
|
17
|
+
value4: boolean;
|
18
|
+
value5: boolean;
|
19
|
+
value6: boolean;
|
20
|
+
value7: boolean;
|
21
|
+
value8: boolean;
|
22
|
+
value9: boolean;
|
23
|
+
value10: boolean;
|
24
|
+
value11: boolean;
|
25
|
+
value12: boolean;
|
26
|
+
radioValue1: string;
|
27
|
+
radioValue2: string;
|
28
|
+
radioValue3: string;
|
29
|
+
indexValue: number;
|
30
|
+
}
|
31
|
+
export declare class PersonalProfile extends React.Component<IProps, IState> {
|
32
|
+
constructor(props: IProps);
|
33
|
+
handleFilter(): void;
|
34
|
+
handlePreview(): void;
|
35
|
+
handleTheme(newTheme: string): void;
|
36
|
+
changeStatus(item: any, status: string): void;
|
37
|
+
handleClick: (number: number) => void;
|
38
|
+
render(): JSX.Element;
|
39
|
+
}
|
40
|
+
export {};
|