@webiny/app-admin 0.0.0-unstable.fcdad0bc61 → 0.0.0-unstable.fdd9228b5d
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/assets/icons/add-18px.svg +1 -1
- package/assets/icons/arrow_drop_down-24px.svg +1 -1
- package/assets/icons/file_download.svg +1 -0
- package/assets/icons/file_upload.svg +1 -0
- package/assets/icons/filter-24px.svg +1 -1
- package/assets/icons/highlight-24px.svg +1 -1
- package/assets/icons/info.svg +1 -1
- package/assets/icons/insert_drive_file-24px.svg +1 -1
- package/assets/icons/insert_photo-24px.svg +1 -1
- package/assets/icons/label-24px.svg +1 -1
- package/assets/icons/round-account_circle-24px.svg +1 -1
- package/assets/icons/round-arrow_drop_down-24px.svg +1 -1
- package/assets/icons/round-help-24px.svg +1 -1
- package/assets/icons/round-settings-24px.svg +1 -1
- package/assets/icons/today-24px.svg +1 -1
- package/assets/icons/touch_app.svg +1 -1
- package/base/Admin.d.ts +2 -2
- package/base/Admin.js +26 -53
- package/base/Admin.js.map +1 -1
- package/base/Base/Menus/SupportMenuItems.d.ts +2 -0
- package/base/Base/Menus/SupportMenuItems.js +20 -0
- package/base/Base/Menus/SupportMenuItems.js.map +1 -0
- package/base/Base/Menus/WebinyVersion.d.ts +2 -0
- package/base/Base/Menus/WebinyVersion.js +24 -0
- package/base/Base/Menus/WebinyVersion.js.map +1 -0
- package/base/Base/Menus.d.ts +2 -0
- package/base/Base/Menus.js +129 -0
- package/base/Base/Menus.js.map +1 -0
- package/base/Base/Routes.d.ts +2 -0
- package/base/Base/Routes.js +24 -0
- package/base/Base/Routes.js.map +1 -0
- package/base/Base/Tenant/wby-logo.svg +3 -0
- package/base/Base/Tenant.d.ts +2 -0
- package/base/Base/Tenant.js +19 -0
- package/base/Base/Tenant.js.map +1 -0
- package/base/Base.d.ts +1 -1
- package/base/Base.js +12 -108
- package/base/Base.js.map +1 -1
- package/base/WebinyVersion.d.ts +2 -0
- package/base/WebinyVersion.js +24 -0
- package/base/WebinyVersion.js.map +1 -0
- package/base/plugins/AddGraphQLQuerySelection.d.ts +2 -3
- package/base/plugins/AddGraphQLQuerySelection.js +12 -25
- package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
- package/base/providers/AdminUiStateProvider.d.ts +1 -0
- package/base/providers/AdminUiStateProvider.js +14 -0
- package/base/providers/AdminUiStateProvider.js.map +1 -0
- package/base/providers/ApolloProvider.d.ts +5 -2
- package/base/providers/ApolloProvider.js +10 -20
- package/base/providers/ApolloProvider.js.map +1 -1
- package/base/providers/TelemetryProvider.d.ts +1 -2
- package/base/providers/TelemetryProvider.js +14 -29
- package/base/providers/TelemetryProvider.js.map +1 -1
- package/base/providers/UiProviders.d.ts +1 -0
- package/base/providers/UiProviders.js +14 -0
- package/base/providers/UiProviders.js.map +1 -0
- package/base/providers/UiStateProvider.d.ts +1 -2
- package/base/providers/UiStateProvider.js +11 -20
- package/base/providers/UiStateProvider.js.map +1 -1
- package/base/providers/ViewCompositionProvider.d.ts +5 -1
- package/base/providers/ViewCompositionProvider.js +34 -57
- package/base/providers/ViewCompositionProvider.js.map +1 -1
- package/base/ui/Brand.d.ts +39 -2
- package/base/ui/Brand.js +6 -17
- package/base/ui/Brand.js.map +1 -1
- package/base/ui/CenteredView.d.ts +21 -1
- package/base/ui/CenteredView.js +15 -40
- package/base/ui/CenteredView.js.map +1 -1
- package/base/ui/Dashboard.d.ts +39 -2
- package/base/ui/Dashboard.js +6 -17
- package/base/ui/Dashboard.js.map +1 -1
- package/base/ui/FileManager.d.ts +86 -0
- package/base/ui/FileManager.js +60 -0
- package/base/ui/FileManager.js.map +1 -0
- package/base/ui/Layout.d.ts +38 -2
- package/base/ui/Layout.js +9 -22
- package/base/ui/Layout.js.map +1 -1
- package/base/ui/LocaleSelector.d.ts +39 -2
- package/base/ui/LocaleSelector.js +6 -17
- package/base/ui/LocaleSelector.js.map +1 -1
- package/base/ui/LoginScreen.d.ts +20 -2
- package/base/ui/LoginScreen.js +10 -22
- package/base/ui/LoginScreen.js.map +1 -1
- package/base/ui/Logo.d.ts +38 -7
- package/base/ui/Logo.js +6 -34
- package/base/ui/Logo.js.map +1 -1
- package/base/ui/Navigation.d.ts +38 -23
- package/base/ui/Navigation.js +6 -182
- package/base/ui/Navigation.js.map +1 -1
- package/base/ui/NotFound.d.ts +39 -2
- package/base/ui/NotFound.js +6 -17
- package/base/ui/NotFound.js.map +1 -1
- package/base/ui/Tags.d.ts +2 -2
- package/base/ui/Tags.js +15 -24
- package/base/ui/Tags.js.map +1 -1
- package/base/ui/TenantSelector.d.ts +39 -0
- package/base/ui/TenantSelector.js +8 -0
- package/base/ui/TenantSelector.js.map +1 -0
- package/base/ui/UserMenu/UserMenu.d.ts +39 -0
- package/base/ui/UserMenu/UserMenu.js +8 -0
- package/base/ui/UserMenu/UserMenu.js.map +1 -0
- package/base/ui/UserMenu/UserMenuHandle.d.ts +39 -0
- package/base/ui/UserMenu/UserMenuHandle.js +8 -0
- package/base/ui/UserMenu/UserMenuHandle.js.map +1 -0
- package/base/ui/UserMenu/UserMenuItem.d.ts +81 -0
- package/base/ui/UserMenu/UserMenuItem.js +19 -0
- package/base/ui/UserMenu/UserMenuItem.js.map +1 -0
- package/base/ui/UserMenu/UserMenuLink.d.ts +81 -0
- package/base/ui/UserMenu/UserMenuLink.js +19 -0
- package/base/ui/UserMenu/UserMenuLink.js.map +1 -0
- package/base/ui/UserMenu/UserMenuSeparator.d.ts +42 -0
- package/base/ui/UserMenu/UserMenuSeparator.js +9 -0
- package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -0
- package/base/ui/UserMenu.d.ts +79 -29
- package/base/ui/UserMenu.js +15 -133
- package/base/ui/UserMenu.js.map +1 -1
- package/components/AdminLayout.d.ts +2 -1
- package/components/AdminLayout.js +8 -18
- package/components/AdminLayout.js.map +1 -1
- package/components/AppInstaller/AppInstaller.d.ts +5 -1
- package/components/AppInstaller/AppInstaller.js +66 -136
- package/components/AppInstaller/AppInstaller.js.map +1 -1
- package/components/AppInstaller/Sidebar.d.ts +2 -2
- package/components/AppInstaller/Sidebar.js +71 -141
- package/components/AppInstaller/Sidebar.js.map +1 -1
- package/components/AppInstaller/index.d.ts +2 -2
- package/components/AppInstaller/index.js +11 -23
- package/components/AppInstaller/index.js.map +1 -1
- package/components/AppInstaller/styled.d.ts +16 -6
- package/components/AppInstaller/styled.js +57 -73
- package/components/AppInstaller/styled.js.map +1 -1
- package/components/AppInstaller/useInstaller.d.ts +2 -8
- package/components/AppInstaller/useInstaller.js +95 -247
- package/components/AppInstaller/useInstaller.js.map +1 -1
- package/components/BulkActions/Worker.d.ts +83 -0
- package/components/BulkActions/Worker.js +126 -0
- package/components/BulkActions/Worker.js.map +1 -0
- package/components/BulkActions/index.d.ts +2 -0
- package/components/BulkActions/index.js +4 -0
- package/components/BulkActions/index.js.map +1 -0
- package/components/BulkActions/useDialogWithReport/DialogMessage.d.ts +5 -0
- package/components/BulkActions/useDialogWithReport/DialogMessage.js +23 -0
- package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -0
- package/components/BulkActions/useDialogWithReport/index.d.ts +1 -0
- package/components/BulkActions/useDialogWithReport/index.js +3 -0
- package/components/BulkActions/useDialogWithReport/index.js.map +1 -0
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.d.ts +19 -0
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +51 -0
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -0
- package/components/Buttons/Buttons.d.ts +24 -0
- package/components/Buttons/Buttons.js +77 -0
- package/components/Buttons/Buttons.js.map +1 -0
- package/components/Buttons/Buttons.styles.d.ts +5 -0
- package/components/Buttons/Buttons.styles.js +18 -0
- package/components/Buttons/Buttons.styles.js.map +1 -0
- package/components/Buttons/index.d.ts +2 -0
- package/components/Buttons/index.js +4 -0
- package/components/Buttons/index.js.map +1 -0
- package/components/Buttons/useButtons.d.ts +14 -0
- package/components/Buttons/useButtons.js +24 -0
- package/components/Buttons/useButtons.js.map +1 -0
- package/components/Dialogs/CustomDialog.d.ts +17 -0
- package/components/Dialogs/CustomDialog.js +48 -0
- package/components/Dialogs/CustomDialog.js.map +1 -0
- package/components/Dialogs/Dialog.d.ts +21 -0
- package/components/Dialogs/Dialog.js +62 -0
- package/components/Dialogs/Dialog.js.map +1 -0
- package/components/Dialogs/DialogsContext.d.ts +43 -0
- package/components/Dialogs/DialogsContext.js +141 -0
- package/components/Dialogs/DialogsContext.js.map +1 -0
- package/components/Dialogs/useDialogs.d.ts +3 -0
- package/components/Dialogs/useDialogs.js +12 -0
- package/components/Dialogs/useDialogs.js.map +1 -0
- package/components/EmptyView.d.ts +4 -3
- package/components/EmptyView.js +30 -65
- package/components/EmptyView.js.map +1 -1
- package/components/Filters/Filters.d.ts +16 -0
- package/components/Filters/Filters.js +21 -0
- package/components/Filters/Filters.js.map +1 -0
- package/components/Filters/FiltersToggle.d.ts +7 -0
- package/components/Filters/FiltersToggle.js +26 -0
- package/components/Filters/FiltersToggle.js.map +1 -0
- package/components/Filters/index.d.ts +2 -0
- package/components/Filters/index.js +4 -0
- package/components/Filters/index.js.map +1 -0
- package/components/FloatingActionButton.d.ts +4 -1
- package/components/FloatingActionButton.js +8 -19
- package/components/FloatingActionButton.js.map +1 -1
- package/components/FloatingPanel.d.ts +13 -0
- package/components/FloatingPanel.js +96 -0
- package/components/FloatingPanel.js.map +1 -0
- package/components/IconPicker/IconPicker.d.ts +13 -0
- package/components/IconPicker/IconPicker.js +39 -0
- package/components/IconPicker/IconPicker.js.map +1 -0
- package/components/IconPicker/IconPickerComponent.d.ts +17 -0
- package/components/IconPicker/IconPickerComponent.js +81 -0
- package/components/IconPicker/IconPickerComponent.js.map +1 -0
- package/components/IconPicker/IconPickerPresenter.d.ts +53 -0
- package/components/IconPicker/IconPickerPresenter.js +77 -0
- package/components/IconPicker/IconPickerPresenter.js.map +1 -0
- package/components/IconPicker/IconPickerPresenter.test.d.ts +1 -0
- package/components/IconPicker/IconPickerPresenter.test.js +109 -0
- package/components/IconPicker/IconPickerPresenter.test.js.map +1 -0
- package/components/IconPicker/IconPickerPresenterProvider.d.ts +9 -0
- package/components/IconPicker/IconPickerPresenterProvider.js +19 -0
- package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -0
- package/components/IconPicker/IconPickerTab.d.ts +33 -0
- package/components/IconPicker/IconPickerTab.js +159 -0
- package/components/IconPicker/IconPickerTab.js.map +1 -0
- package/components/IconPicker/IconRenderer.d.ts +34 -0
- package/components/IconPicker/IconRenderer.js +27 -0
- package/components/IconPicker/IconRenderer.js.map +1 -0
- package/components/IconPicker/IconRepository.d.ts +19 -0
- package/components/IconPicker/IconRepository.js +47 -0
- package/components/IconPicker/IconRepository.js.map +1 -0
- package/components/IconPicker/IconRepository.test.d.ts +1 -0
- package/components/IconPicker/IconRepository.test.js +66 -0
- package/components/IconPicker/IconRepository.test.js.map +1 -0
- package/components/IconPicker/IconRepositoryFactory.d.ts +9 -0
- package/components/IconPicker/IconRepositoryFactory.js +17 -0
- package/components/IconPicker/IconRepositoryFactory.js.map +1 -0
- package/components/IconPicker/Loading.d.ts +14 -0
- package/components/IconPicker/Loading.js +50 -0
- package/components/IconPicker/Loading.js.map +1 -0
- package/components/IconPicker/components/IconPickerCell.d.ts +12 -0
- package/components/IconPicker/components/IconPickerCell.js +27 -0
- package/components/IconPicker/components/IconPickerCell.js.map +1 -0
- package/components/IconPicker/components/IconPickerContent.d.ts +11 -0
- package/components/IconPicker/components/IconPickerContent.js +41 -0
- package/components/IconPicker/components/IconPickerContent.js.map +1 -0
- package/components/IconPicker/components/IconPickerRow.d.ts +4 -0
- package/components/IconPicker/components/IconPickerRow.js +14 -0
- package/components/IconPicker/components/IconPickerRow.js.map +1 -0
- package/components/IconPicker/components/IconPickerTrigger.d.ts +13 -0
- package/components/IconPicker/components/IconPickerTrigger.js +52 -0
- package/components/IconPicker/components/IconPickerTrigger.js.map +1 -0
- package/components/IconPicker/components/index.d.ts +4 -0
- package/components/IconPicker/components/index.js +6 -0
- package/components/IconPicker/components/index.js.map +1 -0
- package/components/IconPicker/config/Emojis.d.ts +2 -0
- package/components/IconPicker/config/Emojis.js +24 -0
- package/components/IconPicker/config/Emojis.js.map +1 -0
- package/components/IconPicker/config/FontAwesomeIcons.d.ts +2 -0
- package/components/IconPicker/config/FontAwesomeIcons.js +61 -0
- package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -0
- package/components/IconPicker/config/IconPackProvider.d.ts +7 -0
- package/components/IconPicker/config/IconPackProvider.js +23 -0
- package/components/IconPicker/config/IconPackProvider.js.map +1 -0
- package/components/IconPicker/config/IconType.d.ts +32 -0
- package/components/IconPicker/config/IconType.js +89 -0
- package/components/IconPicker/config/IconType.js.map +1 -0
- package/components/IconPicker/config/index.d.ts +31 -0
- package/components/IconPicker/config/index.js +45 -0
- package/components/IconPicker/config/index.js.map +1 -0
- package/components/IconPicker/defaultIcon.d.ts +6 -0
- package/components/IconPicker/defaultIcon.js +8 -0
- package/components/IconPicker/defaultIcon.js.map +1 -0
- package/components/IconPicker/index.d.ts +7 -0
- package/components/IconPicker/index.js +8 -0
- package/components/IconPicker/index.js.map +1 -0
- package/components/IconPicker/plugins/customPlugin.d.ts +2 -0
- package/components/IconPicker/plugins/customPlugin.js +132 -0
- package/components/IconPicker/plugins/customPlugin.js.map +1 -0
- package/components/IconPicker/plugins/emojisPlugin.d.ts +2 -0
- package/components/IconPicker/plugins/emojisPlugin.js +127 -0
- package/components/IconPicker/plugins/emojisPlugin.js.map +1 -0
- package/components/IconPicker/plugins/graphql.d.ts +20 -0
- package/components/IconPicker/plugins/graphql.js +27 -0
- package/components/IconPicker/plugins/graphql.js.map +1 -0
- package/components/IconPicker/plugins/iconsPlugin.d.ts +2 -0
- package/components/IconPicker/plugins/iconsPlugin.js +115 -0
- package/components/IconPicker/plugins/iconsPlugin.js.map +1 -0
- package/components/IconPicker/types.d.ts +22 -0
- package/components/IconPicker/types.js +10 -0
- package/components/IconPicker/types.js.map +1 -0
- package/components/LexicalEditor/LexicalEditor.d.ts +8 -0
- package/components/LexicalEditor/LexicalEditor.js +29 -0
- package/components/LexicalEditor/LexicalEditor.js.map +1 -0
- package/components/LexicalEditor/index.d.ts +1 -0
- package/components/LexicalEditor/index.js +3 -0
- package/components/LexicalEditor/index.js.map +1 -0
- package/components/MultiImageUpload.d.ts +1 -1
- package/components/MultiImageUpload.js +14 -41
- package/components/MultiImageUpload.js.map +1 -1
- package/components/OptionsMenu/OptionsMenu.d.ts +10 -0
- package/components/OptionsMenu/OptionsMenu.js +23 -0
- package/components/OptionsMenu/OptionsMenu.js.map +1 -0
- package/components/OptionsMenu/OptionsMenuItem.d.ts +10 -0
- package/components/OptionsMenu/OptionsMenuItem.js +17 -0
- package/components/OptionsMenu/OptionsMenuItem.js.map +1 -0
- package/components/OptionsMenu/OptionsMenuLink.d.ts +12 -0
- package/components/OptionsMenu/OptionsMenuLink.js +17 -0
- package/components/OptionsMenu/OptionsMenuLink.js.map +1 -0
- package/components/OptionsMenu/index.d.ts +4 -0
- package/components/OptionsMenu/index.js +6 -0
- package/components/OptionsMenu/index.js.map +1 -0
- package/components/OptionsMenu/useOptionsMenuItem.d.ts +13 -0
- package/components/OptionsMenu/useOptionsMenuItem.js +23 -0
- package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -0
- package/components/OverlayLayout/OverlayLayout.d.ts +6 -17
- package/components/OverlayLayout/OverlayLayout.js +44 -181
- package/components/OverlayLayout/OverlayLayout.js.map +1 -1
- package/components/OverlayLayout/components/OverlayBackdrop.d.ts +7 -0
- package/components/OverlayLayout/components/OverlayBackdrop.js +15 -0
- package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -0
- package/components/OverlayLayout/components/OverlayContent.d.ts +6 -0
- package/components/OverlayLayout/components/OverlayContent.js +21 -0
- package/components/OverlayLayout/components/OverlayContent.js.map +1 -0
- package/components/OverlayLayout/components/OverlayHeader.d.ts +13 -0
- package/components/OverlayLayout/components/OverlayHeader.js +44 -0
- package/components/OverlayLayout/components/OverlayHeader.js.map +1 -0
- package/components/OverlayLayout/components/OverlayRoot.d.ts +9 -0
- package/components/OverlayLayout/components/OverlayRoot.js +19 -0
- package/components/OverlayLayout/components/OverlayRoot.js.map +1 -0
- package/components/OverlayLayout/components/index.d.ts +4 -0
- package/components/OverlayLayout/components/index.js +6 -0
- package/components/OverlayLayout/components/index.js.map +1 -0
- package/components/OverlayLayout/index.js +2 -17
- package/components/OverlayLayout/index.js.map +1 -1
- package/components/Permissions/CannotUseAaclAlert.d.ts +2 -0
- package/components/Permissions/CannotUseAaclAlert.js +14 -0
- package/components/Permissions/CannotUseAaclAlert.js.map +1 -0
- package/components/Permissions/Permissions.d.ts +4 -2
- package/components/Permissions/Permissions.js +29 -41
- package/components/Permissions/Permissions.js.map +1 -1
- package/components/Permissions/PermissionsGroup.d.ts +6 -0
- package/components/Permissions/PermissionsGroup.js +18 -0
- package/components/Permissions/PermissionsGroup.js.map +1 -0
- package/components/Permissions/StyledComponents.d.ts +2 -3
- package/components/Permissions/StyledComponents.js +14 -35
- package/components/Permissions/StyledComponents.js.map +1 -1
- package/components/Permissions/index.d.ts +2 -0
- package/components/Permissions/index.js +5 -29
- package/components/Permissions/index.js.map +1 -1
- package/components/ResizablePanels/index.d.ts +1 -0
- package/components/ResizablePanels/index.js +3 -0
- package/components/ResizablePanels/index.js.map +1 -0
- package/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/components/RichTextEditor/RichTextEditor.js +14 -28
- package/components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/components/RichTextEditor/index.js +3 -20
- package/components/RichTextEditor/index.js.map +1 -1
- package/components/RichTextEditor/tools/header/index.d.ts +3 -4
- package/components/RichTextEditor/tools/header/index.js +457 -573
- package/components/RichTextEditor/tools/header/index.js.map +1 -1
- package/components/RichTextEditor/tools/image/index.d.ts +2 -4
- package/components/RichTextEditor/tools/image/index.js +150 -213
- package/components/RichTextEditor/tools/image/index.js.map +1 -1
- package/components/RichTextEditor/tools/image/svgs.js +6 -11
- package/components/RichTextEditor/tools/image/svgs.js.map +1 -1
- package/components/RichTextEditor/tools/image/tunes.d.ts +2 -4
- package/components/RichTextEditor/tools/image/tunes.js +75 -118
- package/components/RichTextEditor/tools/image/tunes.js.map +1 -1
- package/components/RichTextEditor/tools/image/types.js +2 -4
- package/components/RichTextEditor/tools/image/types.js.map +1 -1
- package/components/RichTextEditor/tools/image/ui.d.ts +2 -4
- package/components/RichTextEditor/tools/image/ui.js +150 -206
- package/components/RichTextEditor/tools/image/ui.js.map +1 -1
- package/components/RichTextEditor/tools/paragraph/index.d.ts +3 -4
- package/components/RichTextEditor/tools/paragraph/index.js +341 -420
- package/components/RichTextEditor/tools/paragraph/index.js.map +1 -1
- package/components/RichTextEditor/tools/textColor/index.d.ts +1 -4
- package/components/RichTextEditor/tools/textColor/index.js +164 -238
- package/components/RichTextEditor/tools/textColor/index.js.map +1 -1
- package/components/RichTextEditor/tools/utils.d.ts +1 -1
- package/components/RichTextEditor/tools/utils.js +7 -16
- package/components/RichTextEditor/tools/utils.js.map +1 -1
- package/components/Routes.d.ts +1 -1
- package/components/Routes.js +21 -36
- package/components/Routes.js.map +1 -1
- package/components/SearchUI.d.ts +3 -1
- package/components/SearchUI.js +24 -68
- package/components/SearchUI.js.map +1 -1
- package/components/SimpleForm/SimpleForm.d.ts +19 -8
- package/components/SimpleForm/SimpleForm.js +74 -99
- package/components/SimpleForm/SimpleForm.js.map +1 -1
- package/components/SimpleForm/index.js +2 -30
- package/components/SimpleForm/index.js.map +1 -1
- package/components/SimpleUI/InputField.d.ts +3 -1
- package/components/SimpleUI/InputField.js +42 -63
- package/components/SimpleUI/InputField.js.map +1 -1
- package/components/SingleImageUpload.d.ts +22 -4
- package/components/SingleImageUpload.js +40 -92
- package/components/SingleImageUpload.js.map +1 -1
- package/components/SplitView/SplitView.d.ts +10 -8
- package/components/SplitView/SplitView.js +52 -90
- package/components/SplitView/SplitView.js.map +1 -1
- package/components/SplitView/index.js +2 -24
- package/components/SplitView/index.js.map +1 -1
- package/components/StateInspector.d.ts +8 -0
- package/components/StateInspector.js +36 -0
- package/components/StateInspector.js.map +1 -0
- package/components/Wcp.d.ts +13 -0
- package/components/Wcp.js +27 -0
- package/components/Wcp.js.map +1 -0
- package/components/index.d.ts +3 -1
- package/components/index.js +4 -12
- package/components/index.js.map +1 -1
- package/config/AdminConfig/Menu/MenuGroup.d.ts +62 -0
- package/config/AdminConfig/Menu/MenuGroup.js +14 -0
- package/config/AdminConfig/Menu/MenuGroup.js.map +1 -0
- package/config/AdminConfig/Menu/MenuItem.d.ts +43 -0
- package/config/AdminConfig/Menu/MenuItem.js +14 -0
- package/config/AdminConfig/Menu/MenuItem.js.map +1 -0
- package/config/AdminConfig/Menu/MenuLink.d.ts +43 -0
- package/config/AdminConfig/Menu/MenuLink.js +18 -0
- package/config/AdminConfig/Menu/MenuLink.js.map +1 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +43 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +13 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +24 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +13 -0
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -0
- package/config/AdminConfig/Menu/SupportMenu.d.ts +72 -0
- package/config/AdminConfig/Menu/SupportMenu.js +49 -0
- package/config/AdminConfig/Menu/SupportMenu.js.map +1 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.d.ts +41 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +7 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.d.ts +41 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +7 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.d.ts +1 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +3 -0
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +1 -0
- package/config/AdminConfig/Menu/UserMenu/types.d.ts +7 -0
- package/config/AdminConfig/Menu/UserMenu/types.js +3 -0
- package/config/AdminConfig/Menu/UserMenu/types.js.map +1 -0
- package/config/AdminConfig/Menu/UserMenu.d.ts +129 -0
- package/config/AdminConfig/Menu/UserMenu.js +61 -0
- package/config/AdminConfig/Menu/UserMenu.js.map +1 -0
- package/config/AdminConfig/Menu/types.d.ts +7 -0
- package/config/AdminConfig/Menu/types.js +3 -0
- package/config/AdminConfig/Menu/types.js.map +1 -0
- package/config/AdminConfig/Menu.d.ts +350 -0
- package/config/AdminConfig/Menu.js +75 -0
- package/config/AdminConfig/Menu.js.map +1 -0
- package/config/AdminConfig/Route.d.ts +3 -0
- package/config/AdminConfig/Route.js +8 -0
- package/config/AdminConfig/Route.js.map +1 -0
- package/config/AdminConfig/Tenant/TenantLogo.d.ts +23 -0
- package/config/AdminConfig/Tenant/TenantLogo.js +16 -0
- package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -0
- package/config/AdminConfig/Tenant/TenantName.d.ts +23 -0
- package/config/AdminConfig/Tenant/TenantName.js +16 -0
- package/config/AdminConfig/Tenant/TenantName.js.map +1 -0
- package/config/AdminConfig/Tenant.d.ts +66 -0
- package/config/AdminConfig/Tenant.js +23 -0
- package/config/AdminConfig/Tenant.js.map +1 -0
- package/config/AdminConfig/Theme/assignColor.d.ts +2 -0
- package/config/AdminConfig/Theme/assignColor.js +22 -0
- package/config/AdminConfig/Theme/assignColor.js.map +1 -0
- package/config/AdminConfig/Theme/consts.d.ts +2 -0
- package/config/AdminConfig/Theme/consts.js +4 -0
- package/config/AdminConfig/Theme/consts.js.map +1 -0
- package/config/AdminConfig/Theme/types.d.ts +3 -0
- package/config/AdminConfig/Theme/types.js +3 -0
- package/config/AdminConfig/Theme/types.js.map +1 -0
- package/config/AdminConfig/Theme.d.ts +16 -0
- package/config/AdminConfig/Theme.js +22 -0
- package/config/AdminConfig/Theme.js.map +1 -0
- package/config/AdminConfig.d.ts +434 -0
- package/config/AdminConfig.js +47 -0
- package/config/AdminConfig.js.map +1 -0
- package/config/createAdminConfig.d.ts +57 -0
- package/config/createAdminConfig.js +94 -0
- package/config/createAdminConfig.js.map +1 -0
- package/hooks/index.d.ts +10 -0
- package/hooks/index.js +12 -0
- package/hooks/index.js.map +1 -0
- package/hooks/useConfirmationDialog.d.ts +7 -3
- package/hooks/useConfirmationDialog.js +29 -43
- package/hooks/useConfirmationDialog.js.map +1 -1
- package/hooks/useDialog.d.ts +21 -2
- package/hooks/useDialog.js +17 -26
- package/hooks/useDialog.js.map +1 -1
- package/hooks/useIsMounted.d.ts +3 -0
- package/hooks/useIsMounted.js +15 -0
- package/hooks/useIsMounted.js.map +1 -0
- package/hooks/useKeyHandler.d.ts +8 -0
- package/hooks/useKeyHandler.js +64 -0
- package/hooks/useKeyHandler.js.map +1 -0
- package/hooks/useModKey.d.ts +1 -0
- package/hooks/useModKey.js +30 -0
- package/hooks/useModKey.js.map +1 -0
- package/hooks/useShiftKey.d.ts +1 -0
- package/hooks/useShiftKey.js +33 -0
- package/hooks/useShiftKey.js.map +1 -0
- package/hooks/useSnackbar.d.ts +1 -0
- package/hooks/useSnackbar.js +24 -30
- package/hooks/useSnackbar.js.map +1 -1
- package/hooks/useStateIfMounted.d.ts +2 -0
- package/hooks/useStateIfMounted.js +16 -0
- package/hooks/useStateIfMounted.js.map +1 -0
- package/hooks/useStateWithCallback.d.ts +5 -0
- package/hooks/useStateWithCallback.js +18 -0
- package/hooks/useStateWithCallback.js.map +1 -0
- package/index.d.ts +27 -15
- package/index.js +53 -373
- package/index.js.map +1 -1
- package/package.json +66 -58
- package/plugins/MenuPlugin.d.ts +1 -1
- package/plugins/MenuPlugin.js +16 -55
- package/plugins/MenuPlugin.js.map +1 -1
- package/plugins/PermissionRendererPlugin.d.ts +1 -1
- package/plugins/PermissionRendererPlugin.js +16 -55
- package/plugins/PermissionRendererPlugin.js.map +1 -1
- package/plugins/uiLayoutRenderer/index.js +41 -63
- package/plugins/uiLayoutRenderer/index.js.map +1 -1
- package/styles.scss +7 -2
- package/types.d.ts +58 -69
- package/types.js +6 -4
- package/types.js.map +1 -1
- package/ui/UIElement.js +2 -18
- package/ui/UIElement.js.map +1 -1
- package/ui/UILayout.js +2 -18
- package/ui/UILayout.js.map +1 -1
- package/ui/UIRenderer.js +2 -12
- package/ui/UIRenderer.js.map +1 -1
- package/ui/UIView.js +2 -24
- package/ui/UIView.js.map +1 -1
- package/ui/elements/AccordionElement.d.ts +2 -1
- package/ui/elements/AccordionElement.js +44 -106
- package/ui/elements/AccordionElement.js.map +1 -1
- package/ui/elements/ButtonElement.d.ts +4 -3
- package/ui/elements/ButtonElement.js +47 -100
- package/ui/elements/ButtonElement.js.map +1 -1
- package/ui/elements/ButtonGroupElement.d.ts +2 -1
- package/ui/elements/ButtonGroupElement.js +24 -62
- package/ui/elements/ButtonGroupElement.js.map +1 -1
- package/ui/elements/GenericElement.js +2 -17
- package/ui/elements/GenericElement.js.map +1 -1
- package/ui/elements/LabelElement.d.ts +3 -2
- package/ui/elements/LabelElement.js +16 -53
- package/ui/elements/LabelElement.js.map +1 -1
- package/ui/elements/NavigationMenuElement.d.ts +5 -4
- package/ui/elements/NavigationMenuElement.js +72 -161
- package/ui/elements/NavigationMenuElement.js.map +1 -1
- package/ui/elements/PanelElement.js +3 -32
- package/ui/elements/PanelElement.js.map +1 -1
- package/ui/elements/PlaceholderElement.js +9 -42
- package/ui/elements/PlaceholderElement.js.map +1 -1
- package/ui/elements/SmallButtonElement.d.ts +4 -2
- package/ui/elements/SmallButtonElement.js +21 -61
- package/ui/elements/SmallButtonElement.js.map +1 -1
- package/ui/elements/TypographyElement.d.ts +3 -2
- package/ui/elements/TypographyElement.js +21 -65
- package/ui/elements/TypographyElement.js.map +1 -1
- package/ui/elements/ViewElement.js +2 -17
- package/ui/elements/ViewElement.js.map +1 -1
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +3 -2
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +17 -51
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js.map +1 -1
- package/ui/elements/form/DynamicFieldsetElement.d.ts +3 -2
- package/ui/elements/form/DynamicFieldsetElement.js +93 -154
- package/ui/elements/form/DynamicFieldsetElement.js.map +1 -1
- package/ui/elements/form/FileManagerElement/EmptyStateElement.js +8 -39
- package/ui/elements/form/FileManagerElement/EmptyStateElement.js.map +1 -1
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +4 -3
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +41 -89
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js.map +1 -1
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +4 -3
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +68 -108
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js.map +1 -1
- package/ui/elements/form/FileManagerElement/styled.d.ts +22 -19
- package/ui/elements/form/FileManagerElement/styled.js +86 -98
- package/ui/elements/form/FileManagerElement/styled.js.map +1 -1
- package/ui/elements/form/FileManagerElement.d.ts +3 -2
- package/ui/elements/form/FileManagerElement.js +44 -106
- package/ui/elements/form/FileManagerElement.js.map +1 -1
- package/ui/elements/form/FormElement.d.ts +3 -2
- package/ui/elements/form/FormElement.js +18 -64
- package/ui/elements/form/FormElement.js.map +1 -1
- package/ui/elements/form/FormFieldElement.d.ts +6 -5
- package/ui/elements/form/FormFieldElement.js +100 -193
- package/ui/elements/form/FormFieldElement.js.map +1 -1
- package/ui/elements/form/HiddenElement.d.ts +2 -1
- package/ui/elements/form/HiddenElement.js +22 -61
- package/ui/elements/form/HiddenElement.js.map +1 -1
- package/ui/elements/form/InputElement.d.ts +3 -2
- package/ui/elements/form/InputElement.js +29 -69
- package/ui/elements/form/InputElement.js.map +1 -1
- package/ui/elements/form/PasswordElement.d.ts +1 -1
- package/ui/elements/form/PasswordElement.js +27 -64
- package/ui/elements/form/PasswordElement.js.map +1 -1
- package/ui/elements/form/SelectElement.d.ts +2 -1
- package/ui/elements/form/SelectElement.js +39 -84
- package/ui/elements/form/SelectElement.js.map +1 -1
- package/ui/elements/form/TextareaElement.d.ts +3 -2
- package/ui/elements/form/TextareaElement.js +31 -69
- package/ui/elements/form/TextareaElement.js.map +1 -1
- package/ui/views/AdminView/ContentElement.js +31 -72
- package/ui/views/AdminView/ContentElement.js.map +1 -1
- package/ui/views/AdminView/HeaderElement.js +61 -137
- package/ui/views/AdminView/HeaderElement.js.map +1 -1
- package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +2 -1
- package/ui/views/AdminView/HeaderSectionCenterElement.js +18 -59
- package/ui/views/AdminView/HeaderSectionCenterElement.js.map +1 -1
- package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +2 -1
- package/ui/views/AdminView/HeaderSectionLeftElement.js +18 -59
- package/ui/views/AdminView/HeaderSectionLeftElement.js.map +1 -1
- package/ui/views/AdminView/HeaderSectionRightElement.d.ts +2 -1
- package/ui/views/AdminView/HeaderSectionRightElement.js +18 -59
- package/ui/views/AdminView/HeaderSectionRightElement.js.map +1 -1
- package/ui/views/AdminView/components/Dialog.d.ts +1 -1
- package/ui/views/AdminView/components/Dialog.js +35 -51
- package/ui/views/AdminView/components/Dialog.js.map +1 -1
- package/ui/views/AdminView/components/Hamburger.d.ts +1 -1
- package/ui/views/AdminView/components/Hamburger.js +13 -29
- package/ui/views/AdminView/components/Hamburger.js.map +1 -1
- package/ui/views/FormView/FormContainerElement.d.ts +4 -3
- package/ui/views/FormView/FormContainerElement.js +17 -69
- package/ui/views/FormView/FormContainerElement.js.map +1 -1
- package/ui/views/FormView/FormContentElement.d.ts +3 -0
- package/ui/views/FormView/FormContentElement.js +8 -31
- package/ui/views/FormView/FormContentElement.js.map +1 -1
- package/ui/views/FormView/FormFooterElement.d.ts +4 -3
- package/ui/views/FormView/FormFooterElement.js +11 -65
- package/ui/views/FormView/FormFooterElement.js.map +1 -1
- package/ui/views/FormView/FormHeaderElement.d.ts +3 -2
- package/ui/views/FormView/FormHeaderElement.js +27 -100
- package/ui/views/FormView/FormHeaderElement.js.map +1 -1
- package/ui/views/FormView.d.ts +3 -3
- package/ui/views/FormView.js +105 -192
- package/ui/views/FormView.js.map +1 -1
- package/ui/views/OverlayView/ContentElement.d.ts +2 -1
- package/ui/views/OverlayView/ContentElement.js +24 -56
- package/ui/views/OverlayView/ContentElement.js.map +1 -1
- package/ui/views/OverlayView/HeaderElement.d.ts +2 -1
- package/ui/views/OverlayView/HeaderElement.js +64 -126
- package/ui/views/OverlayView/HeaderElement.js.map +1 -1
- package/ui/views/OverlayView/HeaderTitleElement.d.ts +4 -2
- package/ui/views/OverlayView/HeaderTitleElement.js +22 -70
- package/ui/views/OverlayView/HeaderTitleElement.js.map +1 -1
- package/ui/views/OverlayView/useOverlayView.js +18 -38
- package/ui/views/OverlayView/useOverlayView.js.map +1 -1
- package/ui/views/OverlayView.d.ts +3 -2
- package/ui/views/OverlayView.js +80 -170
- package/ui/views/OverlayView.js.map +1 -1
- package/ui/views/SplitView/SplitViewPanelElement.d.ts +2 -1
- package/ui/views/SplitView/SplitViewPanelElement.js +29 -88
- package/ui/views/SplitView/SplitViewPanelElement.js.map +1 -1
- package/ui/views/SplitView.d.ts +1 -1
- package/ui/views/SplitView.js +57 -133
- package/ui/views/SplitView.js.map +1 -1
- package/assets/images/icons.png +0 -0
- package/assets/images/icons_retina.png +0 -0
- package/assets/images/swich.png +0 -0
- package/base/ui/Menu.d.ts +0 -31
- package/base/ui/Menu.js +0 -166
- package/base/ui/Menu.js.map +0 -1
- package/base/ui/Search.d.ts +0 -19
- package/base/ui/Search.js +0 -81
- package/base/ui/Search.js.map +0 -1
- package/components/FileManager/BottomInfoBar/SupportedFileTypes.d.ts +0 -6
- package/components/FileManager/BottomInfoBar/SupportedFileTypes.js +0 -55
- package/components/FileManager/BottomInfoBar/SupportedFileTypes.js.map +0 -1
- package/components/FileManager/BottomInfoBar/UploadStatus.d.ts +0 -6
- package/components/FileManager/BottomInfoBar/UploadStatus.js +0 -60
- package/components/FileManager/BottomInfoBar/UploadStatus.js.map +0 -1
- package/components/FileManager/BottomInfoBar.d.ts +0 -5
- package/components/FileManager/BottomInfoBar.js +0 -60
- package/components/FileManager/BottomInfoBar.js.map +0 -1
- package/components/FileManager/DropFilesHere.d.ts +0 -10
- package/components/FileManager/DropFilesHere.js +0 -76
- package/components/FileManager/DropFilesHere.js.map +0 -1
- package/components/FileManager/File.d.ts +0 -17
- package/components/FileManager/File.js +0 -155
- package/components/FileManager/File.js.map +0 -1
- package/components/FileManager/FileDetails/Name.d.ts +0 -8
- package/components/FileManager/FileDetails/Name.js +0 -138
- package/components/FileManager/FileDetails/Name.js.map +0 -1
- package/components/FileManager/FileDetails/Tags.d.ts +0 -10
- package/components/FileManager/FileDetails/Tags.js +0 -339
- package/components/FileManager/FileDetails/Tags.js.map +0 -1
- package/components/FileManager/FileDetails.d.ts +0 -24
- package/components/FileManager/FileDetails.js +0 -474
- package/components/FileManager/FileDetails.js.map +0 -1
- package/components/FileManager/FileManagerContext.d.ts +0 -42
- package/components/FileManager/FileManagerContext.js +0 -224
- package/components/FileManager/FileManagerContext.js.map +0 -1
- package/components/FileManager/FileManagerView.d.ts +0 -18
- package/components/FileManager/FileManagerView.js +0 -728
- package/components/FileManager/FileManagerView.js.map +0 -1
- package/components/FileManager/LeftSidebar.d.ts +0 -10
- package/components/FileManager/LeftSidebar.js +0 -127
- package/components/FileManager/LeftSidebar.js.map +0 -1
- package/components/FileManager/NoPermissionView.d.ts +0 -3
- package/components/FileManager/NoPermissionView.js +0 -87
- package/components/FileManager/NoPermissionView.js.map +0 -1
- package/components/FileManager/NoResults.d.ts +0 -3
- package/components/FileManager/NoResults.js +0 -28
- package/components/FileManager/NoResults.js.map +0 -1
- package/components/FileManager/getFileTypePlugin.d.ts +0 -4
- package/components/FileManager/getFileTypePlugin.js +0 -57
- package/components/FileManager/getFileTypePlugin.js.map +0 -1
- package/components/FileManager/getFileUploader.d.ts +0 -3
- package/components/FileManager/getFileUploader.js +0 -20
- package/components/FileManager/getFileUploader.js.map +0 -1
- package/components/FileManager/graphql.d.ts +0 -96
- package/components/FileManager/graphql.js +0 -58
- package/components/FileManager/graphql.js.map +0 -1
- package/components/FileManager/icons/content_copy-black-24px.svg +0 -1
- package/components/FileManager/icons/delete.svg +0 -12
- package/components/FileManager/icons/privacy_tip-24px.svg +0 -10
- package/components/FileManager/icons/round-check_box-24px.svg +0 -4
- package/components/FileManager/icons/round-check_box_outline_blank-24px.svg +0 -4
- package/components/FileManager/icons/round-cloud_download-24px.svg +0 -4
- package/components/FileManager/icons/round-cloud_upload-24px.svg +0 -4
- package/components/FileManager/icons/round-description-24px.svg +0 -4
- package/components/FileManager/icons/round-edit-24px.svg +0 -4
- package/components/FileManager/icons/round-info-24px.svg +0 -4
- package/components/FileManager/icons/round-label-24px.svg +0 -4
- package/components/FileManager/icons/round-more_vert-24px.svg +0 -4
- package/components/FileManager/icons/round-search-24px.svg +0 -20
- package/components/FileManager/outputFileSelectionError.d.ts +0 -7
- package/components/FileManager/outputFileSelectionError.js +0 -54
- package/components/FileManager/outputFileSelectionError.js.map +0 -1
- package/components/FileManager/types.d.ts +0 -21
- package/components/FileManager/types.js +0 -5
- package/components/FileManager/types.js.map +0 -1
- package/components/FileManager.d.ts +0 -67
- package/components/FileManager.js +0 -144
- package/components/FileManager.js.map +0 -1
- package/components/OverlayLayout/icons/close.svg +0 -13
- package/components/OverlayLayout/icons/navigate_before.svg +0 -16
- package/plugins/FileManagerFileTypePlugin.d.ts +0 -33
- package/plugins/FileManagerFileTypePlugin.js +0 -63
- package/plugins/FileManagerFileTypePlugin.js.map +0 -1
- package/plugins/fileManager/fileDefault.d.ts +0 -2
- package/plugins/fileManager/fileDefault.js +0 -34
- package/plugins/fileManager/fileDefault.js.map +0 -1
- package/plugins/fileManager/fileImage/DeleteAction.d.ts +0 -7
- package/plugins/fileManager/fileImage/DeleteAction.js +0 -83
- package/plugins/fileManager/fileImage/DeleteAction.js.map +0 -1
- package/plugins/fileManager/fileImage/EditAction.d.ts +0 -10
- package/plugins/fileManager/fileImage/EditAction.js +0 -179
- package/plugins/fileManager/fileImage/EditAction.js.map +0 -1
- package/plugins/fileManager/fileImage/index.d.ts +0 -2
- package/plugins/fileManager/fileImage/index.js +0 -46
- package/plugins/fileManager/fileImage/index.js.map +0 -1
- package/plugins/fileManager/icons/edit.svg +0 -17
- package/plugins/fileManager/icons/round-description-24px.svg +0 -1
- package/plugins/fileManager/index.d.ts +0 -2
- package/plugins/fileManager/index.js +0 -21
- package/plugins/fileManager/index.js.map +0 -1
- package/plugins/globalSearch/SearchBar.d.ts +0 -15
- package/plugins/globalSearch/SearchBar.js +0 -273
- package/plugins/globalSearch/SearchBar.js.map +0 -1
- package/plugins/globalSearch/SearchBarDropdown.d.ts +0 -23
- package/plugins/globalSearch/SearchBarDropdown.js +0 -101
- package/plugins/globalSearch/SearchBarDropdown.js.map +0 -1
- package/plugins/globalSearch/icons/round-search-24px.svg +0 -20
- package/plugins/globalSearch/index.d.ts +0 -7
- package/plugins/globalSearch/index.js +0 -16
- package/plugins/globalSearch/index.js.map +0 -1
- package/plugins/globalSearch/styled.d.ts +0 -11
- package/plugins/globalSearch/styled.js +0 -135
- package/plugins/globalSearch/styled.js.map +0 -1
- package/styles/material-theme-assignments.scss +0 -346
- package/styles/material.scss +0 -43
- package/styles/theme.scss +0 -46
- package/ui/views/AdminView/components/Snackbar.d.ts +0 -3
- package/ui/views/AdminView/components/Snackbar.js +0 -41
- package/ui/views/AdminView/components/Snackbar.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","cn","Separator","Panel","PanelGroup","PanelResizeHandle","SplitView","children","className","layoutId","props","createElement","Object","assign","direction","id","autoSaveId","getDefaultSize","span","spanValue","LeftPanel","defaultSize","Fragment","minSize","orientation","RightPanel","style","overflowY"],"sources":["SplitView.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { ColumnProps } from \"@webiny/admin-ui\";\nimport { cn, Separator } from \"@webiny/admin-ui\";\nimport type { PanelProps, PanelGroupProps } from \"~/components/ResizablePanels\";\nimport { Panel, PanelGroup, PanelResizeHandle } from \"~/components/ResizablePanels\";\n\ninterface SplitViewProps extends Omit<PanelGroupProps, \"direction\" | \"id\" | \"autoSaveId\"> {\n layoutId?: string | null;\n}\n\nconst SplitView = ({ children, className, layoutId, ...props }: SplitViewProps) => {\n return (\n <PanelGroup\n direction=\"horizontal\"\n id=\"splitView\"\n autoSaveId={layoutId}\n className={cn(\"webiny-split-view\", className)}\n {...props}\n >\n {children}\n </PanelGroup>\n );\n};\n\n// Get the default size for the panel:\nconst getDefaultSize = (span: ColumnProps[\"span\"]) => {\n const spanValue = typeof span === \"number\" && span > 0 && span <= 12 ? span : 6;\n return (spanValue / 12) * 100;\n};\n\ninterface SplitViewPanelProps extends Omit<PanelProps, \"id\"> {\n span?: ColumnProps[\"span\"];\n}\n\nconst LeftPanel = ({ children, className, ...props }: SplitViewPanelProps) => {\n const defaultSize = props.defaultSize ?? getDefaultSize(props.span || 5);\n\n return (\n <>\n <Panel\n defaultSize={defaultSize}\n minSize={10}\n id=\"leftPanel\"\n className={cn(\"webiny-split-view__right-panel\", className)}\n {...props}\n >\n {children}\n </Panel>\n <PanelResizeHandle>\n <Separator orientation={\"vertical\"} />\n </PanelResizeHandle>\n </>\n );\n};\n\nconst RightPanel = ({ children, className, ...props }: SplitViewPanelProps) => {\n const defaultSize = props.defaultSize ?? getDefaultSize(props.span || 7);\n\n return (\n <Panel\n defaultSize={defaultSize}\n minSize={30}\n id=\"rightPanel\"\n className={cn(\"!wby-overflow-scroll webiny-split-view__right-panel\", className)}\n {...props}\n style={{ overflowY: \"scroll\" }}\n >\n {children}\n </Panel>\n );\n};\n\nexport { SplitView, LeftPanel, RightPanel };\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,EAAE,EAAEC,SAAS,QAAQ,kBAAkB;AAEhD,SAASC,KAAK,EAAEC,UAAU,EAAEC,iBAAiB;AAM7C,MAAMC,SAAS,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,SAAS;EAAEC,QAAQ;EAAE,GAAGC;AAAsB,CAAC,KAAK;EAC/E,oBACIV,KAAA,CAAAW,aAAA,CAACP,UAAU,EAAAQ,MAAA,CAAAC,MAAA;IACPC,SAAS,EAAC,YAAY;IACtBC,EAAE,EAAC,WAAW;IACdC,UAAU,EAAEP,QAAS;IACrBD,SAAS,EAAEP,EAAE,CAAC,mBAAmB,EAAEO,SAAS;EAAE,GAC1CE,KAAK,GAERH,QACO,CAAC;AAErB,CAAC;;AAED;AACA,MAAMU,cAAc,GAAIC,IAAyB,IAAK;EAClD,MAAMC,SAAS,GAAG,OAAOD,IAAI,KAAK,QAAQ,IAAIA,IAAI,GAAG,CAAC,IAAIA,IAAI,IAAI,EAAE,GAAGA,IAAI,GAAG,CAAC;EAC/E,OAAQC,SAAS,GAAG,EAAE,GAAI,GAAG;AACjC,CAAC;AAMD,MAAMC,SAAS,GAAGA,CAAC;EAAEb,QAAQ;EAAEC,SAAS;EAAE,GAAGE;AAA2B,CAAC,KAAK;EAC1E,MAAMW,WAAW,GAAGX,KAAK,CAACW,WAAW,IAAIJ,cAAc,CAACP,KAAK,CAACQ,IAAI,IAAI,CAAC,CAAC;EAExE,oBACIlB,KAAA,CAAAW,aAAA,CAAAX,KAAA,CAAAsB,QAAA,qBACItB,KAAA,CAAAW,aAAA,CAACR,KAAK,EAAAS,MAAA,CAAAC,MAAA;IACFQ,WAAW,EAAEA,WAAY;IACzBE,OAAO,EAAE,EAAG;IACZR,EAAE,EAAC,WAAW;IACdP,SAAS,EAAEP,EAAE,CAAC,gCAAgC,EAAEO,SAAS;EAAE,GACvDE,KAAK,GAERH,QACE,CAAC,eACRP,KAAA,CAAAW,aAAA,CAACN,iBAAiB,qBACdL,KAAA,CAAAW,aAAA,CAACT,SAAS;IAACsB,WAAW,EAAE;EAAW,CAAE,CACtB,CACrB,CAAC;AAEX,CAAC;AAED,MAAMC,UAAU,GAAGA,CAAC;EAAElB,QAAQ;EAAEC,SAAS;EAAE,GAAGE;AAA2B,CAAC,KAAK;EAC3E,MAAMW,WAAW,GAAGX,KAAK,CAACW,WAAW,IAAIJ,cAAc,CAACP,KAAK,CAACQ,IAAI,IAAI,CAAC,CAAC;EAExE,oBACIlB,KAAA,CAAAW,aAAA,CAACR,KAAK,EAAAS,MAAA,CAAAC,MAAA;IACFQ,WAAW,EAAEA,WAAY;IACzBE,OAAO,EAAE,EAAG;IACZR,EAAE,EAAC,YAAY;IACfP,SAAS,EAAEP,EAAE,CAAC,qDAAqD,EAAEO,SAAS;EAAE,GAC5EE,KAAK;IACTgB,KAAK,EAAE;MAAEC,SAAS,EAAE;IAAS;EAAE,IAE9BpB,QACE,CAAC;AAEhB,CAAC;AAED,SAASD,SAAS,EAAEc,SAAS,EAAEK,UAAU","ignoreList":[]}
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export { SplitView, LeftPanel, RightPanel } from "./SplitView";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "LeftPanel", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _SplitView.LeftPanel;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "RightPanel", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _SplitView.RightPanel;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "SplitView", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _SplitView.SplitView;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
var _SplitView = require("./SplitView");
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { SplitView, LeftPanel, RightPanel } from \"./SplitView\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["SplitView","LeftPanel","RightPanel"],"sources":["index.ts"],"sourcesContent":["export { SplitView, LeftPanel, RightPanel } from \"./SplitView\";\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,SAAS,EAAEC,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Editor from "@monaco-editor/react";
|
|
3
|
+
import { Tabs } from "@webiny/admin-ui";
|
|
4
|
+
import { FloatingPanel } from "./";
|
|
5
|
+
const monacoTheme = "vs-light";
|
|
6
|
+
const monacoOptions = {
|
|
7
|
+
minimap: {
|
|
8
|
+
enabled: false
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export const StateInspector = props => {
|
|
12
|
+
return /*#__PURE__*/React.createElement(FloatingPanel, {
|
|
13
|
+
shortcut: props.shortcut,
|
|
14
|
+
dragHandle: ".floating-panel"
|
|
15
|
+
}, ({
|
|
16
|
+
height
|
|
17
|
+
}) => /*#__PURE__*/React.createElement(Tabs, {
|
|
18
|
+
size: "md",
|
|
19
|
+
spacing: "sm",
|
|
20
|
+
separator: true,
|
|
21
|
+
tabs: [/*#__PURE__*/React.createElement(Tabs.Tab, {
|
|
22
|
+
key: "panel",
|
|
23
|
+
value: "panel",
|
|
24
|
+
trigger: props.title,
|
|
25
|
+
content: /*#__PURE__*/React.createElement(Editor, {
|
|
26
|
+
theme: monacoTheme,
|
|
27
|
+
height: height - 76,
|
|
28
|
+
defaultLanguage: "json",
|
|
29
|
+
value: JSON.stringify(props.state, null, 2),
|
|
30
|
+
options: monacoOptions
|
|
31
|
+
})
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=StateInspector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Editor","Tabs","FloatingPanel","monacoTheme","monacoOptions","minimap","enabled","StateInspector","props","createElement","shortcut","dragHandle","height","size","spacing","separator","tabs","Tab","key","value","trigger","title","content","theme","defaultLanguage","JSON","stringify","state","options"],"sources":["StateInspector.tsx"],"sourcesContent":["import React from \"react\";\nimport Editor from \"@monaco-editor/react\";\nimport { Tabs } from \"@webiny/admin-ui\";\nimport { FloatingPanel } from \"~/components\";\n\nconst monacoTheme = \"vs-light\";\nconst monacoOptions = { minimap: { enabled: false } };\n\ninterface StateInspectorProps {\n title: string;\n shortcut: string;\n state: Record<string, any>;\n}\n\nexport const StateInspector = (props: StateInspectorProps) => {\n return (\n <FloatingPanel shortcut={props.shortcut} dragHandle={\".floating-panel\"}>\n {({ height }) => (\n <Tabs\n size=\"md\"\n spacing=\"sm\"\n separator={true}\n tabs={[\n <Tabs.Tab\n key=\"panel\"\n value=\"panel\"\n trigger={props.title}\n content={\n <Editor\n theme={monacoTheme}\n height={height - 76}\n defaultLanguage={\"json\"}\n value={JSON.stringify(props.state, null, 2)}\n options={monacoOptions}\n />\n }\n />\n ]}\n />\n )}\n </FloatingPanel>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,sBAAsB;AACzC,SAASC,IAAI,QAAQ,kBAAkB;AACvC,SAASC,aAAa;AAEtB,MAAMC,WAAW,GAAG,UAAU;AAC9B,MAAMC,aAAa,GAAG;EAAEC,OAAO,EAAE;IAAEC,OAAO,EAAE;EAAM;AAAE,CAAC;AAQrD,OAAO,MAAMC,cAAc,GAAIC,KAA0B,IAAK;EAC1D,oBACIT,KAAA,CAAAU,aAAA,CAACP,aAAa;IAACQ,QAAQ,EAAEF,KAAK,CAACE,QAAS;IAACC,UAAU,EAAE;EAAkB,GAClE,CAAC;IAAEC;EAAO,CAAC,kBACRb,KAAA,CAAAU,aAAA,CAACR,IAAI;IACDY,IAAI,EAAC,IAAI;IACTC,OAAO,EAAC,IAAI;IACZC,SAAS,EAAE,IAAK;IAChBC,IAAI,EAAE,cACFjB,KAAA,CAAAU,aAAA,CAACR,IAAI,CAACgB,GAAG;MACLC,GAAG,EAAC,OAAO;MACXC,KAAK,EAAC,OAAO;MACbC,OAAO,EAAEZ,KAAK,CAACa,KAAM;MACrBC,OAAO,eACHvB,KAAA,CAAAU,aAAA,CAACT,MAAM;QACHuB,KAAK,EAAEpB,WAAY;QACnBS,MAAM,EAAEA,MAAM,GAAG,EAAG;QACpBY,eAAe,EAAE,MAAO;QACxBL,KAAK,EAAEM,IAAI,CAACC,SAAS,CAAClB,KAAK,CAACmB,KAAK,EAAE,IAAI,EAAE,CAAC,CAAE;QAC5CC,OAAO,EAAExB;MAAc,CAC1B;IACJ,CACJ,CAAC;EACJ,CACL,CAEM,CAAC;AAExB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ChildrenProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare function CanUseTeams({ children }: ChildrenProps): React.JSX.Element | null;
|
|
6
|
+
declare function CanUsePrivateFiles({ children }: ChildrenProps): React.JSX.Element | null;
|
|
7
|
+
declare function CanUseFileManagerThreatDetection({ children }: ChildrenProps): React.JSX.Element | null;
|
|
8
|
+
export declare const Wcp: {
|
|
9
|
+
CanUseTeams: typeof CanUseTeams;
|
|
10
|
+
CanUsePrivateFiles: typeof CanUsePrivateFiles;
|
|
11
|
+
CanUseFileManagerThreatDetection: typeof CanUseFileManagerThreatDetection;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useWcp } from "@webiny/app-wcp";
|
|
3
|
+
function CanUseTeams({
|
|
4
|
+
children
|
|
5
|
+
}) {
|
|
6
|
+
const wcp = useWcp();
|
|
7
|
+
return wcp.canUseTeams() ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : null;
|
|
8
|
+
}
|
|
9
|
+
function CanUsePrivateFiles({
|
|
10
|
+
children
|
|
11
|
+
}) {
|
|
12
|
+
const wcp = useWcp();
|
|
13
|
+
return wcp.canUsePrivateFiles() ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : null;
|
|
14
|
+
}
|
|
15
|
+
function CanUseFileManagerThreatDetection({
|
|
16
|
+
children
|
|
17
|
+
}) {
|
|
18
|
+
const wcp = useWcp();
|
|
19
|
+
return wcp.canUseFileManagerThreatDetection() ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : null;
|
|
20
|
+
}
|
|
21
|
+
export const Wcp = {
|
|
22
|
+
CanUseTeams,
|
|
23
|
+
CanUsePrivateFiles,
|
|
24
|
+
CanUseFileManagerThreatDetection
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=Wcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useWcp","CanUseTeams","children","wcp","canUseTeams","createElement","Fragment","CanUsePrivateFiles","canUsePrivateFiles","CanUseFileManagerThreatDetection","canUseFileManagerThreatDetection","Wcp"],"sources":["Wcp.tsx"],"sourcesContent":["import React from \"react\";\nimport { useWcp } from \"@webiny/app-wcp\";\n\ninterface ChildrenProps {\n children: React.ReactNode;\n}\n\nfunction CanUseTeams({ children }: ChildrenProps) {\n const wcp = useWcp();\n\n return wcp.canUseTeams() ? <>{children}</> : null;\n}\n\nfunction CanUsePrivateFiles({ children }: ChildrenProps) {\n const wcp = useWcp();\n\n return wcp.canUsePrivateFiles() ? <>{children}</> : null;\n}\n\nfunction CanUseFileManagerThreatDetection({ children }: ChildrenProps) {\n const wcp = useWcp();\n\n return wcp.canUseFileManagerThreatDetection() ? <>{children}</> : null;\n}\n\nexport const Wcp = {\n CanUseTeams,\n CanUsePrivateFiles,\n CanUseFileManagerThreatDetection\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,iBAAiB;AAMxC,SAASC,WAAWA,CAAC;EAAEC;AAAwB,CAAC,EAAE;EAC9C,MAAMC,GAAG,GAAGH,MAAM,CAAC,CAAC;EAEpB,OAAOG,GAAG,CAACC,WAAW,CAAC,CAAC,gBAAGL,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QAAGJ,QAAW,CAAC,GAAG,IAAI;AACrD;AAEA,SAASK,kBAAkBA,CAAC;EAAEL;AAAwB,CAAC,EAAE;EACrD,MAAMC,GAAG,GAAGH,MAAM,CAAC,CAAC;EAEpB,OAAOG,GAAG,CAACK,kBAAkB,CAAC,CAAC,gBAAGT,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QAAGJ,QAAW,CAAC,GAAG,IAAI;AAC5D;AAEA,SAASO,gCAAgCA,CAAC;EAAEP;AAAwB,CAAC,EAAE;EACnE,MAAMC,GAAG,GAAGH,MAAM,CAAC,CAAC;EAEpB,OAAOG,GAAG,CAACO,gCAAgC,CAAC,CAAC,gBAAGX,KAAA,CAAAM,aAAA,CAAAN,KAAA,CAAAO,QAAA,QAAGJ,QAAW,CAAC,GAAG,IAAI;AAC1E;AAEA,OAAO,MAAMS,GAAG,GAAG;EACfV,WAAW;EACXM,kBAAkB;EAClBE;AACJ,CAAC","ignoreList":[]}
|
package/components/index.d.ts
CHANGED
package/components/index.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export { FileManager } from "../base/ui/FileManager";
|
|
2
|
+
export { FloatingPanel } from "./FloatingPanel";
|
|
3
|
+
export { StateInspector } from "./StateInspector";
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "FileManager", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _FileManager.FileManager;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
var _FileManager = require("./FileManager");
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
package/components/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { FileManager } from \"
|
|
1
|
+
{"version":3,"names":["FileManager","FloatingPanel","StateInspector"],"sources":["index.ts"],"sourcesContent":["export { FileManager } from \"~/base/ui/FileManager\";\nexport { FloatingPanel } from \"~/components/FloatingPanel\";\nexport { StateInspector } from \"~/components/StateInspector\";\n"],"mappings":"AAAA,SAASA,WAAW;AACpB,SAASC,aAAa;AACtB,SAASC,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type SidebarMenuItemGroupProps } from "@webiny/admin-ui/Sidebar/components/items/SidebarMenuItem";
|
|
3
|
+
export declare const DecoratableMenuGroup: ((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
4
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
5
|
+
originalName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
original: ((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
9
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
10
|
+
originalName: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
17
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
declare const MenuGroup: ((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
23
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
24
|
+
originalName: string;
|
|
25
|
+
displayName: string;
|
|
26
|
+
} & {
|
|
27
|
+
original: ((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
28
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
29
|
+
originalName: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
originalName: string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
} & {
|
|
35
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: SidebarMenuItemGroupProps) => React.JSX.Element) & {
|
|
36
|
+
original: (props: SidebarMenuItemGroupProps) => React.JSX.Element;
|
|
37
|
+
originalName: string;
|
|
38
|
+
displayName: string;
|
|
39
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
40
|
+
} & {
|
|
41
|
+
Action: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemAction").SidebarMenuItemActionProps) => React.JSX.Element;
|
|
42
|
+
Icon: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
43
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
44
|
+
originalName: string;
|
|
45
|
+
displayName: string;
|
|
46
|
+
} & {
|
|
47
|
+
original: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
48
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
49
|
+
originalName: string;
|
|
50
|
+
displayName: string;
|
|
51
|
+
};
|
|
52
|
+
originalName: string;
|
|
53
|
+
displayName: string;
|
|
54
|
+
} & {
|
|
55
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<(({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
56
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
57
|
+
originalName: string;
|
|
58
|
+
displayName: string;
|
|
59
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export { MenuGroup };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { makeDecoratable } from "../../..";
|
|
3
|
+
import { Sidebar } from "@webiny/admin-ui";
|
|
4
|
+
const MenuGroupBase = props => {
|
|
5
|
+
return /*#__PURE__*/React.createElement(Sidebar.Group, props);
|
|
6
|
+
};
|
|
7
|
+
export const DecoratableMenuGroup = makeDecoratable("MenuGroup", MenuGroupBase);
|
|
8
|
+
const MenuGroup = Object.assign(DecoratableMenuGroup, {
|
|
9
|
+
Action: Sidebar.Item.Action,
|
|
10
|
+
Icon: Sidebar.Item.Icon
|
|
11
|
+
});
|
|
12
|
+
export { MenuGroup };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=MenuGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","makeDecoratable","Sidebar","MenuGroupBase","props","createElement","Group","DecoratableMenuGroup","MenuGroup","Object","assign","Action","Item","Icon"],"sources":["MenuGroup.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"~/index\";\nimport { Sidebar } from \"@webiny/admin-ui\";\nimport { type SidebarMenuItemGroupProps } from \"@webiny/admin-ui/Sidebar/components/items/SidebarMenuItem\";\n\nconst MenuGroupBase = (props: SidebarMenuItemGroupProps) => {\n return <Sidebar.Group {...props} />;\n};\n\nexport const DecoratableMenuGroup = makeDecoratable(\"MenuGroup\", MenuGroupBase);\n\nconst MenuGroup = Object.assign(DecoratableMenuGroup, {\n Action: Sidebar.Item.Action,\n Icon: Sidebar.Item.Icon\n});\n\nexport { MenuGroup };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe;AACxB,SAASC,OAAO,QAAQ,kBAAkB;AAG1C,MAAMC,aAAa,GAAIC,KAAgC,IAAK;EACxD,oBAAOJ,KAAA,CAAAK,aAAA,CAACH,OAAO,CAACI,KAAK,EAAKF,KAAQ,CAAC;AACvC,CAAC;AAED,OAAO,MAAMG,oBAAoB,GAAGN,eAAe,CAAC,WAAW,EAAEE,aAAa,CAAC;AAE/E,MAAMK,SAAS,GAAGC,MAAM,CAACC,MAAM,CAACH,oBAAoB,EAAE;EAClDI,MAAM,EAAET,OAAO,CAACU,IAAI,CAACD,MAAM;EAC3BE,IAAI,EAAEX,OAAO,CAACU,IAAI,CAACC;AACvB,CAAC,CAAC;AAEF,SAASL,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type SidebarMenuItemButtonProps } from "@webiny/admin-ui/Sidebar/components/items/SidebarMenuItem";
|
|
3
|
+
declare const MenuItem: ((props: SidebarMenuItemButtonProps) => React.JSX.Element) & {
|
|
4
|
+
original: (props: SidebarMenuItemButtonProps) => React.JSX.Element;
|
|
5
|
+
originalName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
original: ((props: SidebarMenuItemButtonProps) => React.JSX.Element) & {
|
|
9
|
+
original: (props: SidebarMenuItemButtonProps) => React.JSX.Element;
|
|
10
|
+
originalName: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: SidebarMenuItemButtonProps) => React.JSX.Element) & {
|
|
17
|
+
original: (props: SidebarMenuItemButtonProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
21
|
+
} & {
|
|
22
|
+
Action: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemAction").SidebarMenuItemActionProps) => React.JSX.Element;
|
|
23
|
+
Icon: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
24
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
25
|
+
originalName: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
} & {
|
|
28
|
+
original: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
29
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
30
|
+
originalName: string;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
originalName: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
} & {
|
|
36
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<(({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
37
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
38
|
+
originalName: string;
|
|
39
|
+
displayName: string;
|
|
40
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export { MenuItem };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { makeDecoratable } from "../../..";
|
|
3
|
+
import { Sidebar } from "@webiny/admin-ui";
|
|
4
|
+
const MenuLinkBase = props => {
|
|
5
|
+
return /*#__PURE__*/React.createElement(Sidebar.Item, props);
|
|
6
|
+
};
|
|
7
|
+
const DecoratableMenuItem = makeDecoratable("MenuItem", MenuLinkBase);
|
|
8
|
+
const MenuItem = Object.assign(DecoratableMenuItem, {
|
|
9
|
+
Action: Sidebar.Item.Action,
|
|
10
|
+
Icon: Sidebar.Item.Icon
|
|
11
|
+
});
|
|
12
|
+
export { MenuItem };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=MenuItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","makeDecoratable","Sidebar","MenuLinkBase","props","createElement","Item","DecoratableMenuItem","MenuItem","Object","assign","Action","Icon"],"sources":["MenuItem.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"~/index\";\nimport { Sidebar } from \"@webiny/admin-ui\";\nimport { type SidebarMenuItemButtonProps } from \"@webiny/admin-ui/Sidebar/components/items/SidebarMenuItem\";\n\nconst MenuLinkBase = (props: SidebarMenuItemButtonProps) => {\n return <Sidebar.Item {...props} />;\n};\n\nconst DecoratableMenuItem = makeDecoratable(\"MenuItem\", MenuLinkBase);\n\nconst MenuItem = Object.assign(DecoratableMenuItem, {\n Action: Sidebar.Item.Action,\n Icon: Sidebar.Item.Icon\n});\n\nexport { MenuItem };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe;AACxB,SAASC,OAAO,QAAQ,kBAAkB;AAG1C,MAAMC,YAAY,GAAIC,KAAiC,IAAK;EACxD,oBAAOJ,KAAA,CAAAK,aAAA,CAACH,OAAO,CAACI,IAAI,EAAKF,KAAQ,CAAC;AACtC,CAAC;AAED,MAAMG,mBAAmB,GAAGN,eAAe,CAAC,UAAU,EAAEE,YAAY,CAAC;AAErE,MAAMK,QAAQ,GAAGC,MAAM,CAACC,MAAM,CAACH,mBAAmB,EAAE;EAChDI,MAAM,EAAET,OAAO,CAACI,IAAI,CAACK,MAAM;EAC3BC,IAAI,EAAEV,OAAO,CAACI,IAAI,CAACM;AACvB,CAAC,CAAC;AAEF,SAASJ,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type SidebarMenuItemLinkProps } from "@webiny/admin-ui/Sidebar/components/items/SidebarMenuLink";
|
|
3
|
+
declare const MenuLink: ((props: SidebarMenuItemLinkProps) => React.JSX.Element) & {
|
|
4
|
+
original: (props: SidebarMenuItemLinkProps) => React.JSX.Element;
|
|
5
|
+
originalName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
original: ((props: SidebarMenuItemLinkProps) => React.JSX.Element) & {
|
|
9
|
+
original: (props: SidebarMenuItemLinkProps) => React.JSX.Element;
|
|
10
|
+
originalName: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: SidebarMenuItemLinkProps) => React.JSX.Element) & {
|
|
17
|
+
original: (props: SidebarMenuItemLinkProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
21
|
+
} & {
|
|
22
|
+
Action: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemAction").SidebarMenuItemActionProps) => React.JSX.Element;
|
|
23
|
+
Icon: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
24
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
25
|
+
originalName: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
} & {
|
|
28
|
+
original: (({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
29
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
30
|
+
originalName: string;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
originalName: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
} & {
|
|
36
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<(({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element) & {
|
|
37
|
+
original: ({ element, ...props }: import("@webiny/admin-ui/Sidebar/components/items/SidebarMenuItemIcon").SidebarMenuItemIconProps) => React.JSX.Element;
|
|
38
|
+
originalName: string;
|
|
39
|
+
displayName: string;
|
|
40
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export { MenuLink };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { makeDecoratable } from "../../..";
|
|
3
|
+
import { Sidebar } from "@webiny/admin-ui";
|
|
4
|
+
import { useLocation } from "@webiny/react-router";
|
|
5
|
+
const MenuLinkBase = props => {
|
|
6
|
+
const location = useLocation();
|
|
7
|
+
return /*#__PURE__*/React.createElement(Sidebar.Link, Object.assign({}, props, {
|
|
8
|
+
active: location.pathname === props.to
|
|
9
|
+
}));
|
|
10
|
+
};
|
|
11
|
+
const DecoratableMenuLink = makeDecoratable("MenuLink", MenuLinkBase);
|
|
12
|
+
const MenuLink = Object.assign(DecoratableMenuLink, {
|
|
13
|
+
Action: Sidebar.Link.Action,
|
|
14
|
+
Icon: Sidebar.Link.Icon
|
|
15
|
+
});
|
|
16
|
+
export { MenuLink };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=MenuLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","makeDecoratable","Sidebar","useLocation","MenuLinkBase","props","location","createElement","Link","Object","assign","active","pathname","to","DecoratableMenuLink","MenuLink","Action","Icon"],"sources":["MenuLink.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"~/index\";\nimport { Sidebar } from \"@webiny/admin-ui\";\nimport { useLocation } from \"@webiny/react-router\";\nimport { type SidebarMenuItemLinkProps } from \"@webiny/admin-ui/Sidebar/components/items/SidebarMenuLink\";\n\nconst MenuLinkBase = (props: SidebarMenuItemLinkProps) => {\n const location = useLocation();\n return <Sidebar.Link {...props} active={location.pathname === props.to} />;\n};\n\nconst DecoratableMenuLink = makeDecoratable(\"MenuLink\", MenuLinkBase);\n\nconst MenuLink = Object.assign(DecoratableMenuLink, {\n Action: Sidebar.Link.Action,\n Icon: Sidebar.Link.Icon\n});\n\nexport { MenuLink };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe;AACxB,SAASC,OAAO,QAAQ,kBAAkB;AAC1C,SAASC,WAAW,QAAQ,sBAAsB;AAGlD,MAAMC,YAAY,GAAIC,KAA+B,IAAK;EACtD,MAAMC,QAAQ,GAAGH,WAAW,CAAC,CAAC;EAC9B,oBAAOH,KAAA,CAAAO,aAAA,CAACL,OAAO,CAACM,IAAI,EAAAC,MAAA,CAAAC,MAAA,KAAKL,KAAK;IAAEM,MAAM,EAAEL,QAAQ,CAACM,QAAQ,KAAKP,KAAK,CAACQ;EAAG,EAAE,CAAC;AAC9E,CAAC;AAED,MAAMC,mBAAmB,GAAGb,eAAe,CAAC,UAAU,EAAEG,YAAY,CAAC;AAErE,MAAMW,QAAQ,GAAGN,MAAM,CAACC,MAAM,CAACI,mBAAmB,EAAE;EAChDE,MAAM,EAAEd,OAAO,CAACM,IAAI,CAACQ,MAAM;EAC3BC,IAAI,EAAEf,OAAO,CAACM,IAAI,CAACS;AACvB,CAAC,CAAC;AAEF,SAASF,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { DropdownMenuItemProps } from "@webiny/admin-ui";
|
|
3
|
+
export declare const DecoratableSupportMenuItem: ((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
4
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
5
|
+
originalName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
original: ((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
9
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
10
|
+
originalName: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
createDecorator: (decorator: import("../../../../index").ComponentDecorator<((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
17
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
declare const SupportMenuItem: ((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
23
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
24
|
+
originalName: string;
|
|
25
|
+
displayName: string;
|
|
26
|
+
} & {
|
|
27
|
+
original: ((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
28
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
29
|
+
originalName: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
originalName: string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
} & {
|
|
35
|
+
createDecorator: (decorator: import("../../../../index").ComponentDecorator<((props: DropdownMenuItemProps) => React.JSX.Element) & {
|
|
36
|
+
original: (props: DropdownMenuItemProps) => React.JSX.Element;
|
|
37
|
+
originalName: string;
|
|
38
|
+
displayName: string;
|
|
39
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
40
|
+
} & {
|
|
41
|
+
Icon: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItemIcon").DropdownMenuItemIconProps) => React.JSX.Element;
|
|
42
|
+
};
|
|
43
|
+
export { SupportMenuItem };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { makeDecoratable } from "../../../..";
|
|
3
|
+
import { DropdownMenu } from "@webiny/admin-ui";
|
|
4
|
+
const SupportMenuItemBase = props => {
|
|
5
|
+
return /*#__PURE__*/React.createElement(DropdownMenu.Item, props);
|
|
6
|
+
};
|
|
7
|
+
export const DecoratableSupportMenuItem = makeDecoratable("SupportMenuItem", SupportMenuItemBase);
|
|
8
|
+
const SupportMenuItem = Object.assign(DecoratableSupportMenuItem, {
|
|
9
|
+
Icon: DropdownMenu.Item.Icon
|
|
10
|
+
});
|
|
11
|
+
export { SupportMenuItem };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=SupportMenuItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","makeDecoratable","DropdownMenu","SupportMenuItemBase","props","createElement","Item","DecoratableSupportMenuItem","SupportMenuItem","Object","assign","Icon"],"sources":["SupportMenuItem.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"~/index\";\nimport type { DropdownMenuItemProps } from \"@webiny/admin-ui\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\n\nconst SupportMenuItemBase = (props: DropdownMenuItemProps) => {\n return <DropdownMenu.Item {...props} />;\n};\n\nexport const DecoratableSupportMenuItem = makeDecoratable(\"SupportMenuItem\", SupportMenuItemBase);\n\nconst SupportMenuItem = Object.assign(DecoratableSupportMenuItem, {\n Icon: DropdownMenu.Item.Icon\n});\n\nexport { SupportMenuItem };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe;AAExB,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,MAAMC,mBAAmB,GAAIC,KAA4B,IAAK;EAC1D,oBAAOJ,KAAA,CAAAK,aAAA,CAACH,YAAY,CAACI,IAAI,EAAKF,KAAQ,CAAC;AAC3C,CAAC;AAED,OAAO,MAAMG,0BAA0B,GAAGN,eAAe,CAAC,iBAAiB,EAAEE,mBAAmB,CAAC;AAEjG,MAAMK,eAAe,GAAGC,MAAM,CAACC,MAAM,CAACH,0BAA0B,EAAE;EAC9DI,IAAI,EAAET,YAAY,CAACI,IAAI,CAACK;AAC5B,CAAC,CAAC;AAEF,SAASH,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { DropdownMenuLinkProps } from "@webiny/admin-ui";
|
|
3
|
+
declare const SupportMenuLink: ((props: DropdownMenuLinkProps) => React.JSX.Element) & {
|
|
4
|
+
original: (props: DropdownMenuLinkProps) => React.JSX.Element;
|
|
5
|
+
originalName: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
original: ((props: DropdownMenuLinkProps) => React.JSX.Element) & {
|
|
9
|
+
original: (props: DropdownMenuLinkProps) => React.JSX.Element;
|
|
10
|
+
originalName: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
createDecorator: (decorator: import("../../../../index").ComponentDecorator<((props: DropdownMenuLinkProps) => React.JSX.Element) & {
|
|
17
|
+
original: (props: DropdownMenuLinkProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
21
|
+
} & {
|
|
22
|
+
Icon: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItemIcon").DropdownMenuItemIconProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export { SupportMenuLink };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { makeDecoratable } from "../../../..";
|
|
3
|
+
import { DropdownMenu } from "@webiny/admin-ui";
|
|
4
|
+
const SupportMenuLinkBase = props => {
|
|
5
|
+
return /*#__PURE__*/React.createElement(DropdownMenu.Link, props);
|
|
6
|
+
};
|
|
7
|
+
const DecoratableSupportMenuLink = makeDecoratable("SupportMenuLink", SupportMenuLinkBase);
|
|
8
|
+
const SupportMenuLink = Object.assign(DecoratableSupportMenuLink, {
|
|
9
|
+
Icon: DropdownMenu.Link.Icon
|
|
10
|
+
});
|
|
11
|
+
export { SupportMenuLink };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=SupportMenuLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","makeDecoratable","DropdownMenu","SupportMenuLinkBase","props","createElement","Link","DecoratableSupportMenuLink","SupportMenuLink","Object","assign","Icon"],"sources":["SupportMenuLink.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"~/index\";\nimport type { DropdownMenuLinkProps } from \"@webiny/admin-ui\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\n\nconst SupportMenuLinkBase = (props: DropdownMenuLinkProps) => {\n return <DropdownMenu.Link {...props} />;\n};\n\nconst DecoratableSupportMenuLink = makeDecoratable(\"SupportMenuLink\", SupportMenuLinkBase);\n\nconst SupportMenuLink = Object.assign(DecoratableSupportMenuLink, {\n Icon: DropdownMenu.Link.Icon\n});\n\nexport { SupportMenuLink };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe;AAExB,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,MAAMC,mBAAmB,GAAIC,KAA4B,IAAK;EAC1D,oBAAOJ,KAAA,CAAAK,aAAA,CAACH,YAAY,CAACI,IAAI,EAAKF,KAAQ,CAAC;AAC3C,CAAC;AAED,MAAMG,0BAA0B,GAAGN,eAAe,CAAC,iBAAiB,EAAEE,mBAAmB,CAAC;AAE1F,MAAMK,eAAe,GAAGC,MAAM,CAACC,MAAM,CAACH,0BAA0B,EAAE;EAC9DI,IAAI,EAAET,YAAY,CAACI,IAAI,CAACK;AAC5B,CAAC,CAAC;AAEF,SAASH,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SupportMenuProps {
|
|
3
|
+
name: string;
|
|
4
|
+
element?: React.ReactElement;
|
|
5
|
+
remove?: boolean;
|
|
6
|
+
before?: string;
|
|
7
|
+
after?: string;
|
|
8
|
+
pin?: "start" | "end";
|
|
9
|
+
}
|
|
10
|
+
export type SupportMenuConfig = Pick<SupportMenuProps, "name" | "element">;
|
|
11
|
+
export declare const SupportMenu: (({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element) & {
|
|
12
|
+
original: ({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element;
|
|
13
|
+
originalName: string;
|
|
14
|
+
displayName: string;
|
|
15
|
+
} & {
|
|
16
|
+
original: (({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element) & {
|
|
17
|
+
original: ({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element;
|
|
18
|
+
originalName: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
originalName: string;
|
|
22
|
+
displayName: string;
|
|
23
|
+
} & {
|
|
24
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<(({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element) & {
|
|
25
|
+
original: ({ name, element, remove, before, after, pin }: SupportMenuProps) => React.JSX.Element;
|
|
26
|
+
originalName: string;
|
|
27
|
+
displayName: string;
|
|
28
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
29
|
+
} & {
|
|
30
|
+
Item: ((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element) & {
|
|
31
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element;
|
|
32
|
+
originalName: string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
} & {
|
|
35
|
+
original: ((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element) & {
|
|
36
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element;
|
|
37
|
+
originalName: string;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
40
|
+
originalName: string;
|
|
41
|
+
displayName: string;
|
|
42
|
+
} & {
|
|
43
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element) & {
|
|
44
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemProps) => React.JSX.Element;
|
|
45
|
+
originalName: string;
|
|
46
|
+
displayName: string;
|
|
47
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
48
|
+
} & {
|
|
49
|
+
Icon: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItemIcon").DropdownMenuItemIconProps) => React.JSX.Element;
|
|
50
|
+
};
|
|
51
|
+
Link: ((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element) & {
|
|
52
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element;
|
|
53
|
+
originalName: string;
|
|
54
|
+
displayName: string;
|
|
55
|
+
} & {
|
|
56
|
+
original: ((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element) & {
|
|
57
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element;
|
|
58
|
+
originalName: string;
|
|
59
|
+
displayName: string;
|
|
60
|
+
};
|
|
61
|
+
originalName: string;
|
|
62
|
+
displayName: string;
|
|
63
|
+
} & {
|
|
64
|
+
createDecorator: (decorator: import("../../../index").ComponentDecorator<((props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element) & {
|
|
65
|
+
original: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItem").DropdownMenuItemLinkProps) => React.JSX.Element;
|
|
66
|
+
originalName: string;
|
|
67
|
+
displayName: string;
|
|
68
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
69
|
+
} & {
|
|
70
|
+
Icon: (props: import("@webiny/admin-ui/DropdownMenu/components/DropdownMenuItemIcon").DropdownMenuItemIconProps) => React.JSX.Element;
|
|
71
|
+
};
|
|
72
|
+
};
|