@webiny/app-admin 6.0.0-alpha.5 → 6.0.0-rc.0
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/README.md +7 -17
- package/base/Admin.d.ts +5 -2
- package/base/Admin.js +32 -16
- package/base/Admin.js.map +1 -1
- package/base/Base/LexicalPreset.d.ts +2 -0
- package/base/Base/LexicalPreset.js +67 -0
- package/base/Base/LexicalPreset.js.map +1 -0
- package/base/Base/Menus/SupportMenuItems.d.ts +2 -2
- package/base/Base/Menus/SupportMenuItems.js +2 -4
- package/base/Base/Menus/SupportMenuItems.js.map +1 -1
- package/base/Base/Menus/WebinyVersion.js +4 -4
- package/base/Base/Menus/WebinyVersion.js.map +1 -1
- package/base/Base/Menus.js +12 -27
- package/base/Base/Menus.js.map +1 -1
- package/base/Base/RoutesConfig.d.ts +2 -0
- package/base/Base/RoutesConfig.js +30 -0
- package/base/Base/RoutesConfig.js.map +1 -0
- package/base/Base/Tenant/wby-horizontal.svg +23 -0
- package/base/Base/Tenant.js +14 -9
- package/base/Base/Tenant.js.map +1 -1
- package/base/Base/UserMenu/ExitTenant.d.ts +20 -0
- package/base/Base/UserMenu/ExitTenant.js +37 -0
- package/base/Base/UserMenu/ExitTenant.js.map +1 -0
- package/base/Base/UserMenu/SignOut.d.ts +2 -0
- package/base/Base/UserMenu/SignOut.js +19 -0
- package/base/Base/UserMenu/SignOut.js.map +1 -0
- package/base/Base/UserMenu/UserInfo.d.ts +6 -0
- package/base/Base/UserMenu/UserInfo.js +43 -0
- package/base/Base/UserMenu/UserInfo.js.map +1 -0
- package/base/Base/UserMenu.d.ts +2 -0
- package/base/Base/UserMenu.js +21 -0
- package/base/Base/UserMenu.js.map +1 -0
- package/base/Base.js +7 -8
- package/base/Base.js.map +1 -1
- package/base/TelemetryAdminAppStart.d.ts +1 -0
- package/base/TelemetryAdminAppStart.js +19 -0
- package/base/TelemetryAdminAppStart.js.map +1 -0
- package/base/WebinyVersion.js +4 -4
- package/base/WebinyVersion.js.map +1 -1
- package/base/createRootContainer.d.ts +2 -0
- package/base/createRootContainer.js +55 -0
- package/base/createRootContainer.js.map +1 -0
- package/base/plugins/AddGraphQLQuerySelection.js +1 -1
- package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
- package/base/providers/AdminUiStateProvider.js +1 -1
- package/base/providers/AdminUiStateProvider.js.map +1 -1
- package/base/providers/ApolloProvider.d.ts +1 -1
- package/base/providers/ApolloProvider.js +2 -5
- package/base/providers/ApolloProvider.js.map +1 -1
- package/base/providers/UiProviders.js +24 -3
- package/base/providers/UiProviders.js.map +1 -1
- package/base/providers/UiStateProvider.js +1 -1
- package/base/providers/UiStateProvider.js.map +1 -1
- package/base/ui/CenteredView.d.ts +1 -1
- package/base/ui/CenteredView.js +2 -2
- package/base/ui/CenteredView.js.map +1 -1
- package/base/ui/FileManager.d.ts +9 -21
- package/base/ui/FileManager.js +18 -12
- package/base/ui/FileManager.js.map +1 -1
- package/base/ui/LoginScreen.d.ts +19 -0
- package/base/ui/LoginScreen.js +2 -1
- package/base/ui/LoginScreen.js.map +1 -1
- package/base/ui/Navigation.js +1 -1
- package/base/ui/Navigation.js.map +1 -1
- package/base/ui/UserMenu/UserMenuItem.d.ts +5 -5
- package/base/ui/UserMenu/UserMenuItem.js +1 -1
- package/base/ui/UserMenu/UserMenuItem.js.map +1 -1
- package/base/ui/UserMenu/UserMenuLink.d.ts +5 -5
- package/base/ui/UserMenu/UserMenuLink.js +1 -1
- package/base/ui/UserMenu/UserMenuLink.js.map +1 -1
- package/base/ui/UserMenu/UserMenuSeparator.d.ts +8 -8
- package/base/ui/UserMenu/UserMenuSeparator.js +1 -1
- package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -1
- package/base/ui/UserMenu.d.ts +3 -3
- package/base/ui/UserMenu.js +3 -3
- package/base/ui/UserMenu.js.map +1 -1
- package/components/AdminLayout.js +1 -1
- package/components/AdminLayout.js.map +1 -1
- package/components/BulkActions/Worker.d.ts +0 -1
- package/components/BulkActions/Worker.js +1 -1
- package/components/BulkActions/Worker.js.map +1 -1
- package/components/BulkActions/index.d.ts +2 -2
- package/components/BulkActions/index.js +2 -2
- package/components/BulkActions/index.js.map +1 -1
- package/components/BulkActions/useDialogWithReport/DialogMessage.d.ts +1 -1
- package/components/BulkActions/useDialogWithReport/DialogMessage.js +2 -2
- package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -1
- package/components/BulkActions/useDialogWithReport/index.d.ts +1 -1
- package/components/BulkActions/useDialogWithReport/index.js +1 -1
- package/components/BulkActions/useDialogWithReport/index.js.map +1 -1
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.d.ts +1 -1
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +2 -2
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -1
- package/components/Buttons/Buttons.d.ts +1 -1
- package/components/Buttons/Buttons.js +4 -4
- package/components/Buttons/Buttons.js.map +1 -1
- package/components/Buttons/Buttons.styles.d.ts +2 -3
- package/components/Buttons/Buttons.styles.js +1 -2
- package/components/Buttons/Buttons.styles.js.map +1 -1
- package/components/Buttons/index.d.ts +2 -2
- package/components/Buttons/index.js +2 -2
- package/components/Buttons/index.js.map +1 -1
- package/components/Buttons/useButtons.d.ts +1 -1
- package/components/Buttons/useButtons.js +1 -1
- package/components/Buttons/useButtons.js.map +1 -1
- package/components/Dialogs/Dialog.js +2 -2
- package/components/Dialogs/Dialog.js.map +1 -1
- package/components/Dialogs/DialogsContext.d.ts +1 -6
- package/components/Dialogs/DialogsContext.js +14 -23
- package/components/Dialogs/DialogsContext.js.map +1 -1
- package/components/Dialogs/useDialogs.d.ts +1 -2
- package/components/Dialogs/useDialogs.js +1 -2
- package/components/Dialogs/useDialogs.js.map +1 -1
- package/components/EmptyView.d.ts +1 -2
- package/components/EmptyView.js +6 -7
- package/components/EmptyView.js.map +1 -1
- package/components/Filters/Filters.d.ts +1 -1
- package/components/Filters/Filters.js +2 -2
- package/components/Filters/Filters.js.map +1 -1
- package/components/Filters/index.d.ts +2 -2
- package/components/Filters/index.js +2 -2
- package/components/Filters/index.js.map +1 -1
- package/components/FloatingActionButton.js +1 -1
- package/components/FloatingActionButton.js.map +1 -1
- package/components/FloatingPanel.js +4 -6
- package/components/FloatingPanel.js.map +1 -1
- package/components/IconPicker/IconPicker.d.ts +3 -3
- package/components/IconPicker/IconPicker.js +6 -6
- package/components/IconPicker/IconPicker.js.map +1 -1
- package/components/IconPicker/IconPickerComponent.d.ts +3 -3
- package/components/IconPicker/IconPickerComponent.js +4 -4
- package/components/IconPicker/IconPickerComponent.js.map +1 -1
- package/components/IconPicker/IconPickerPresenter.d.ts +3 -3
- package/components/IconPicker/IconPickerPresenter.js.map +1 -1
- package/components/IconPicker/IconPickerPresenter.test.js +3 -2
- package/components/IconPicker/IconPickerPresenter.test.js.map +1 -1
- package/components/IconPicker/IconPickerPresenterProvider.d.ts +1 -1
- package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -1
- package/components/IconPicker/IconPickerTab.d.ts +1 -1
- package/components/IconPicker/IconPickerTab.js +10 -10
- package/components/IconPicker/IconPickerTab.js.map +1 -1
- package/components/IconPicker/IconRenderer.d.ts +1 -1
- package/components/IconPicker/IconRenderer.js.map +1 -1
- package/components/IconPicker/IconRepository.d.ts +2 -2
- package/components/IconPicker/IconRepository.js +2 -2
- package/components/IconPicker/IconRepository.js.map +1 -1
- package/components/IconPicker/IconRepository.test.js +2 -1
- package/components/IconPicker/IconRepository.test.js.map +1 -1
- package/components/IconPicker/IconRepositoryFactory.d.ts +2 -2
- package/components/IconPicker/IconRepositoryFactory.js +1 -1
- package/components/IconPicker/IconRepositoryFactory.js.map +1 -1
- package/components/IconPicker/components/IconPickerCell.d.ts +2 -2
- package/components/IconPicker/components/IconPickerCell.js +3 -3
- package/components/IconPicker/components/IconPickerCell.js.map +1 -1
- package/components/IconPicker/components/IconPickerContent.d.ts +1 -1
- package/components/IconPicker/components/IconPickerContent.js +4 -4
- package/components/IconPicker/components/IconPickerContent.js.map +1 -1
- package/components/IconPicker/components/IconPickerRow.js +1 -1
- package/components/IconPicker/components/IconPickerRow.js.map +1 -1
- package/components/IconPicker/components/IconPickerTrigger.d.ts +1 -1
- package/components/IconPicker/components/IconPickerTrigger.js +7 -7
- package/components/IconPicker/components/IconPickerTrigger.js.map +1 -1
- package/components/IconPicker/components/index.d.ts +4 -4
- package/components/IconPicker/components/index.js +4 -4
- package/components/IconPicker/components/index.js.map +1 -1
- package/components/IconPicker/config/Emojis.js +1 -1
- package/components/IconPicker/config/Emojis.js.map +1 -1
- package/components/IconPicker/config/FontAwesomeIcons.js +1 -1
- package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -1
- package/components/IconPicker/config/IconPackProvider.d.ts +1 -1
- package/components/IconPicker/config/IconPackProvider.js.map +1 -1
- package/components/IconPicker/config/IconType.js +2 -2
- package/components/IconPicker/config/IconType.js.map +1 -1
- package/components/IconPicker/config/index.d.ts +3 -3
- package/components/IconPicker/config/index.js +7 -7
- package/components/IconPicker/config/index.js.map +1 -1
- package/components/IconPicker/index.d.ts +7 -7
- package/components/IconPicker/index.js +6 -6
- package/components/IconPicker/index.js.map +1 -1
- package/components/IconPicker/plugins/customPlugin.js +19 -24
- package/components/IconPicker/plugins/customPlugin.js.map +1 -1
- package/components/IconPicker/plugins/emojisPlugin.js +9 -9
- package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
- package/components/IconPicker/plugins/iconsPlugin.js +4 -4
- package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
- package/components/IconPicker/types.js.map +1 -1
- package/components/LexicalEditor/LexicalEditor.d.ts +9 -5
- package/components/LexicalEditor/LexicalEditor.js +32 -21
- package/components/LexicalEditor/LexicalEditor.js.map +1 -1
- package/components/LexicalEditor/LexicalLinkForm.d.ts +6 -0
- package/components/LexicalEditor/LexicalLinkForm.js +83 -0
- package/components/LexicalEditor/LexicalLinkForm.js.map +1 -0
- package/components/LexicalEditor/index.d.ts +3 -1
- package/components/LexicalEditor/index.js +3 -1
- package/components/LexicalEditor/index.js.map +1 -1
- package/components/LexicalEditor/lexicalValueWithHtml.d.ts +7 -0
- package/components/LexicalEditor/lexicalValueWithHtml.js +36 -0
- package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -0
- package/components/NavigationPrompt.d.ts +27 -0
- package/components/NavigationPrompt.js +39 -0
- package/components/NavigationPrompt.js.map +1 -0
- package/components/NotAuthorizedError/NotAuthorizedError.d.ts +2 -0
- package/components/NotAuthorizedError/NotAuthorizedError.js +20 -0
- package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -0
- package/components/NotAuthorizedError/SecureRouteError.svg +1 -0
- package/components/NotAuthorizedError/index.d.ts +1 -0
- package/components/NotAuthorizedError/index.js +3 -0
- package/components/NotAuthorizedError/index.js.map +1 -0
- package/components/OptionsMenu/OptionsMenu.js +1 -1
- package/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/components/OptionsMenu/index.d.ts +4 -4
- package/components/OptionsMenu/index.js +4 -4
- package/components/OptionsMenu/index.js.map +1 -1
- package/components/OptionsMenu/useOptionsMenuItem.d.ts +2 -2
- package/components/OptionsMenu/useOptionsMenuItem.js +2 -2
- package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -1
- package/components/OverlayLayout/OverlayLayout.d.ts +1 -1
- package/components/OverlayLayout/OverlayLayout.js +8 -11
- package/components/OverlayLayout/OverlayLayout.js.map +1 -1
- package/components/OverlayLayout/components/OverlayBackdrop.js +1 -1
- package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -1
- package/components/OverlayLayout/components/OverlayContent.js +1 -1
- package/components/OverlayLayout/components/OverlayContent.js.map +1 -1
- package/components/OverlayLayout/components/OverlayHeader.js +3 -3
- package/components/OverlayLayout/components/OverlayHeader.js.map +1 -1
- package/components/OverlayLayout/components/OverlayRoot.js +1 -1
- package/components/OverlayLayout/components/OverlayRoot.js.map +1 -1
- package/components/OverlayLayout/components/index.d.ts +4 -4
- package/components/OverlayLayout/components/index.js +4 -4
- package/components/OverlayLayout/components/index.js.map +1 -1
- package/components/OverlayLayout/index.d.ts +1 -1
- package/components/OverlayLayout/index.js +1 -1
- package/components/OverlayLayout/index.js.map +1 -1
- package/components/Permissions/Permissions.d.ts +1 -3
- package/components/Permissions/Permissions.js +37 -31
- package/components/Permissions/Permissions.js.map +1 -1
- package/components/Permissions/PermissionsGroup.js +2 -2
- package/components/Permissions/PermissionsGroup.js.map +1 -1
- package/components/Permissions/StyledComponents.js +1 -1
- package/components/Permissions/StyledComponents.js.map +1 -1
- package/components/Permissions/index.d.ts +4 -4
- package/components/Permissions/index.js +4 -4
- package/components/Permissions/index.js.map +1 -1
- package/components/RegisterFeature.d.ts +11 -0
- package/components/RegisterFeature.js +26 -0
- package/components/RegisterFeature.js.map +1 -0
- package/components/ResizablePanels/index.d.ts +1 -1
- package/components/ResizablePanels/index.js +1 -1
- package/components/ResizablePanels/index.js.map +1 -1
- package/components/RoleAutocomplete/graphql.d.ts +1 -0
- package/components/RoleAutocomplete/graphql.js +18 -0
- package/components/RoleAutocomplete/graphql.js.map +1 -0
- package/components/RoleAutocomplete/index.d.ts +5 -0
- package/components/RoleAutocomplete/index.js +18 -0
- package/components/RoleAutocomplete/index.js.map +1 -0
- package/components/RolesMultiAutocomplete/graphql.d.ts +1 -0
- package/components/RolesMultiAutocomplete/graphql.js +23 -0
- package/components/RolesMultiAutocomplete/graphql.js.map +1 -0
- package/components/RolesMultiAutocomplete/index.d.ts +5 -0
- package/components/RolesMultiAutocomplete/index.js +19 -0
- package/components/RolesMultiAutocomplete/index.js.map +1 -0
- package/components/SearchUI.d.ts +1 -2
- package/components/SearchUI.js +1 -2
- package/components/SearchUI.js.map +1 -1
- package/components/SimpleForm/SimpleForm.d.ts +1 -1
- package/components/SimpleForm/SimpleForm.js +10 -10
- package/components/SimpleForm/SimpleForm.js.map +1 -1
- package/components/SimpleForm/index.d.ts +1 -1
- package/components/SimpleForm/index.js +1 -1
- package/components/SimpleForm/index.js.map +1 -1
- package/components/SimpleUI/InputField.js +3 -3
- package/components/SimpleUI/InputField.js.map +1 -1
- package/components/SingleImageUpload.d.ts +3 -8
- package/components/SingleImageUpload.js +1 -1
- package/components/SingleImageUpload.js.map +1 -1
- package/components/SplitView/SplitView.d.ts +7 -7
- package/components/SplitView/SplitView.js +20 -12
- package/components/SplitView/SplitView.js.map +1 -1
- package/components/SplitView/index.d.ts +1 -1
- package/components/SplitView/index.js +1 -1
- package/components/SplitView/index.js.map +1 -1
- package/components/StateInspector.js +1 -1
- package/components/StateInspector.js.map +1 -1
- package/components/TeamAutocomplete/graphql.d.ts +1 -0
- package/components/TeamAutocomplete/graphql.js +18 -0
- package/components/TeamAutocomplete/graphql.js.map +1 -0
- package/components/TeamAutocomplete/index.d.ts +5 -0
- package/components/TeamAutocomplete/index.js +18 -0
- package/components/TeamAutocomplete/index.js.map +1 -0
- package/components/TeamsMultiAutocomplete/graphql.d.ts +1 -0
- package/components/TeamsMultiAutocomplete/graphql.js +23 -0
- package/components/TeamsMultiAutocomplete/graphql.js.map +1 -0
- package/components/TeamsMultiAutocomplete/index.d.ts +5 -0
- package/components/TeamsMultiAutocomplete/index.js +19 -0
- package/components/TeamsMultiAutocomplete/index.js.map +1 -0
- package/components/Wcp.d.ts +2 -0
- package/components/Wcp.js +9 -2
- package/components/Wcp.js.map +1 -1
- package/components/index.d.ts +29 -3
- package/components/index.js +28 -3
- package/components/index.js.map +1 -1
- package/config/AdminConfig/Dashboard.d.ts +3 -0
- package/config/AdminConfig/Dashboard.js +6 -0
- package/config/AdminConfig/Dashboard.js.map +1 -0
- package/config/AdminConfig/LexicalTheme/Color.d.ts +11 -0
- package/config/AdminConfig/LexicalTheme/Color.js +45 -0
- package/config/AdminConfig/LexicalTheme/Color.js.map +1 -0
- package/config/AdminConfig/LexicalTheme/Typography.d.ts +30 -0
- package/config/AdminConfig/LexicalTheme/Typography.js +79 -0
- package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -0
- package/config/AdminConfig/LexicalTheme.d.ts +9 -0
- package/config/AdminConfig/LexicalTheme.js +8 -0
- package/config/AdminConfig/LexicalTheme.js.map +1 -0
- package/config/AdminConfig/Logo.d.ts +24 -0
- package/config/AdminConfig/Logo.js +21 -0
- package/config/AdminConfig/Logo.js.map +1 -0
- package/config/AdminConfig/Menu/MenuGroup.d.ts +10 -10
- package/config/AdminConfig/Menu/MenuGroup.js +1 -1
- package/config/AdminConfig/Menu/MenuGroup.js.map +1 -1
- package/config/AdminConfig/Menu/MenuItem.d.ts +9 -9
- package/config/AdminConfig/Menu/MenuItem.js +1 -1
- package/config/AdminConfig/Menu/MenuItem.js.map +1 -1
- package/config/AdminConfig/Menu/MenuLink.d.ts +14 -14
- package/config/AdminConfig/Menu/MenuLink.js +10 -4
- package/config/AdminConfig/Menu/MenuLink.js.map +1 -1
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.d.ts +2 -2
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js +1 -1
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuItem.js.map +1 -1
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.d.ts +1 -1
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js +1 -1
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -1
- package/config/AdminConfig/Menu/SupportMenu.d.ts +15 -15
- package/config/AdminConfig/Menu/SupportMenu.js +3 -3
- package/config/AdminConfig/Menu/SupportMenu.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.d.ts +14 -15
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.d.ts +14 -15
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.d.ts +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu.d.ts +31 -31
- package/config/AdminConfig/Menu/UserMenu.js +4 -4
- package/config/AdminConfig/Menu/UserMenu.js.map +1 -1
- package/config/AdminConfig/Menu.d.ts +105 -103
- package/config/AdminConfig/Menu.js +17 -7
- package/config/AdminConfig/Menu.js.map +1 -1
- package/config/AdminConfig/Route.d.ts +1 -1
- package/config/AdminConfig/Route.js +2 -2
- package/config/AdminConfig/Route.js.map +1 -1
- package/config/AdminConfig/Security.d.ts +3 -0
- package/config/AdminConfig/Security.js +6 -0
- package/config/AdminConfig/Security.js.map +1 -0
- package/config/AdminConfig/SecurityPermissions.d.ts +17 -0
- package/config/AdminConfig/SecurityPermissions.js +31 -0
- package/config/AdminConfig/SecurityPermissions.js.map +1 -0
- package/config/AdminConfig/Tenant/TenantLogo.d.ts +8 -7
- package/config/AdminConfig/Tenant/TenantLogo.js +14 -6
- package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -1
- package/config/AdminConfig/Tenant/TenantName.d.ts +1 -1
- package/config/AdminConfig/Tenant/TenantName.js +5 -2
- package/config/AdminConfig/Tenant/TenantName.js.map +1 -1
- package/config/AdminConfig/Tenant.d.ts +14 -31
- package/config/AdminConfig/Tenant.js +4 -13
- package/config/AdminConfig/Tenant.js.map +1 -1
- package/config/AdminConfig/Theme/assignColor.d.ts +1 -1
- package/config/AdminConfig/Theme/assignColor.js +1 -1
- package/config/AdminConfig/Theme/assignColor.js.map +1 -1
- package/config/AdminConfig/Theme/types.d.ts +1 -1
- package/config/AdminConfig/Theme/types.js.map +1 -1
- package/config/AdminConfig/Theme.d.ts +1 -1
- package/config/AdminConfig/Theme.js +1 -1
- package/config/AdminConfig/Theme.js.map +1 -1
- package/config/AdminConfig/Title.d.ts +23 -0
- package/config/AdminConfig/Title.js +16 -0
- package/config/AdminConfig/Title.js.map +1 -0
- package/config/AdminConfig/Widget.d.ts +15 -0
- package/config/AdminConfig/Widget.js +36 -0
- package/config/AdminConfig/Widget.js.map +1 -0
- package/config/AdminConfig.d.ts +200 -149
- package/config/AdminConfig.js +30 -6
- package/config/AdminConfig.js.map +1 -1
- package/config/createAdminConfig.js.map +1 -1
- package/css/tokens.css +379 -0
- package/css/typography.css +70 -0
- package/domain/Identity.d.ts +59 -0
- package/domain/Identity.js +96 -0
- package/domain/Identity.js.map +1 -0
- package/errors/ErrorOverlayNetworkErrorHandler.d.ts +11 -0
- package/errors/ErrorOverlayNetworkErrorHandler.js +66 -0
- package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -0
- package/errors/TenantIsDisabled.d.ts +2 -0
- package/errors/TenantIsDisabled.js +23 -0
- package/errors/TenantIsDisabled.js.map +1 -0
- package/exports/admin/buildParams.d.ts +1 -0
- package/exports/admin/buildParams.js +3 -0
- package/exports/admin/buildParams.js.map +1 -0
- package/exports/admin/configs.d.ts +1 -0
- package/exports/admin/configs.js +3 -0
- package/exports/admin/configs.js.map +1 -0
- package/exports/admin/form.d.ts +11 -0
- package/exports/admin/form.js +12 -0
- package/exports/admin/form.js.map +1 -0
- package/exports/admin/security.d.ts +8 -0
- package/exports/admin/security.js +10 -0
- package/exports/admin/security.js.map +1 -0
- package/exports/admin/tenancy.d.ts +2 -0
- package/exports/admin/tenancy.js +4 -0
- package/exports/admin/tenancy.js.map +1 -0
- package/exports/admin/ui.d.ts +3 -0
- package/exports/admin/ui.js +5 -0
- package/exports/admin/ui.js.map +1 -0
- package/exports/admin.d.ts +6 -0
- package/exports/admin.js +8 -0
- package/exports/admin.js.map +1 -0
- package/extensions/AdminBuildParam.d.ts +11 -0
- package/extensions/AdminBuildParam.js +184 -0
- package/extensions/AdminBuildParam.js.map +1 -0
- package/extensions/AdminExtension.d.ts +11 -0
- package/extensions/AdminExtension.js +99 -0
- package/extensions/AdminExtension.js.map +1 -0
- package/extensions/index.d.ts +23 -0
- package/extensions/index.js +7 -0
- package/extensions/index.js.map +1 -0
- package/features/apolloClient/abstraction.d.ts +5 -0
- package/features/apolloClient/abstraction.js +4 -0
- package/features/apolloClient/abstraction.js.map +1 -0
- package/features/apolloClient/feature.d.ts +2 -0
- package/features/apolloClient/feature.js +39 -0
- package/features/apolloClient/feature.js.map +1 -0
- package/features/buildParams/BuildParams.d.ts +9 -0
- package/features/buildParams/BuildParams.js +18 -0
- package/features/buildParams/BuildParams.js.map +1 -0
- package/features/buildParams/abstractions.d.ts +15 -0
- package/features/buildParams/abstractions.js +5 -0
- package/features/buildParams/abstractions.js.map +1 -0
- package/features/buildParams/feature.d.ts +1 -0
- package/features/buildParams/feature.js +10 -0
- package/features/buildParams/feature.js.map +1 -0
- package/features/buildParams/index.d.ts +2 -0
- package/features/buildParams/index.js +4 -0
- package/features/buildParams/index.js.map +1 -0
- package/features/security/AuthenticationContext/AuthenticationContext.d.ts +15 -0
- package/features/security/AuthenticationContext/AuthenticationContext.js +31 -0
- package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -0
- package/features/security/AuthenticationContext/GraphQLClientDecorator.d.ts +12 -0
- package/features/security/AuthenticationContext/GraphQLClientDecorator.js +30 -0
- package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -0
- package/features/security/AuthenticationContext/InternalIdTokenProvider.d.ts +10 -0
- package/features/security/AuthenticationContext/InternalIdTokenProvider.js +17 -0
- package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -0
- package/features/security/AuthenticationContext/abstractions.d.ts +26 -0
- package/features/security/AuthenticationContext/abstractions.js +5 -0
- package/features/security/AuthenticationContext/abstractions.js.map +1 -0
- package/features/security/AuthenticationContext/feature.d.ts +3 -0
- package/features/security/AuthenticationContext/feature.js +20 -0
- package/features/security/AuthenticationContext/feature.js.map +1 -0
- package/features/security/AuthenticationContext/index.d.ts +1 -0
- package/features/security/AuthenticationContext/index.js +3 -0
- package/features/security/AuthenticationContext/index.js.map +1 -0
- package/features/security/AuthenticationContext/types.d.ts +11 -0
- package/features/security/AuthenticationContext/types.js.map +1 -0
- package/features/security/IdentityContext/IdentityContext.d.ts +13 -0
- package/features/security/IdentityContext/IdentityContext.js +24 -0
- package/features/security/IdentityContext/IdentityContext.js.map +1 -0
- package/features/security/IdentityContext/abstractions.d.ts +10 -0
- package/features/security/IdentityContext/abstractions.js +4 -0
- package/features/security/IdentityContext/abstractions.js.map +1 -0
- package/features/security/IdentityContext/feature.d.ts +3 -0
- package/features/security/IdentityContext/feature.js +16 -0
- package/features/security/IdentityContext/feature.js.map +1 -0
- package/features/security/IdentityContext/index.d.ts +2 -0
- package/features/security/IdentityContext/index.js +4 -0
- package/features/security/IdentityContext/index.js.map +1 -0
- package/features/security/LogIn/IdentityMapper.d.ts +9 -0
- package/features/security/LogIn/IdentityMapper.js +13 -0
- package/features/security/LogIn/IdentityMapper.js.map +1 -0
- package/features/security/LogIn/LogInGateway.d.ts +11 -0
- package/features/security/LogIn/LogInGateway.js +27 -0
- package/features/security/LogIn/LogInGateway.js.map +1 -0
- package/features/security/LogIn/LogInRepository.d.ts +14 -0
- package/features/security/LogIn/LogInRepository.js +19 -0
- package/features/security/LogIn/LogInRepository.js.map +1 -0
- package/features/security/LogIn/LogInUseCase.d.ts +15 -0
- package/features/security/LogIn/LogInUseCase.js +40 -0
- package/features/security/LogIn/LogInUseCase.js.map +1 -0
- package/features/security/LogIn/abstractions.d.ts +48 -0
- package/features/security/LogIn/abstractions.js +19 -0
- package/features/security/LogIn/abstractions.js.map +1 -0
- package/features/security/LogIn/createLoginMutation.d.ts +1 -0
- package/features/security/LogIn/createLoginMutation.js +49 -0
- package/features/security/LogIn/createLoginMutation.js.map +1 -0
- package/features/security/LogIn/feature.d.ts +3 -0
- package/features/security/LogIn/feature.js +22 -0
- package/features/security/LogIn/feature.js.map +1 -0
- package/features/security/LogIn/index.d.ts +1 -0
- package/features/security/LogIn/index.js +3 -0
- package/features/security/LogIn/index.js.map +1 -0
- package/features/security/LogOut/LogOutUseCase.d.ts +13 -0
- package/features/security/LogOut/LogOutUseCase.js +23 -0
- package/features/security/LogOut/LogOutUseCase.js.map +1 -0
- package/features/security/LogOut/abstractions.d.ts +7 -0
- package/features/security/LogOut/abstractions.js +4 -0
- package/features/security/LogOut/abstractions.js.map +1 -0
- package/features/security/LogOut/feature.d.ts +3 -0
- package/features/security/LogOut/feature.js +16 -0
- package/features/security/LogOut/feature.js.map +1 -0
- package/features/security/LogOut/index.d.ts +2 -0
- package/features/security/LogOut/index.js +4 -0
- package/features/security/LogOut/index.js.map +1 -0
- package/features/security/SecurityFeature.d.ts +1 -0
- package/features/security/SecurityFeature.js +16 -0
- package/features/security/SecurityFeature.js.map +1 -0
- package/features/telemetry/TelemetryService.d.ts +6 -0
- package/features/telemetry/TelemetryService.js +20 -0
- package/features/telemetry/TelemetryService.js.map +1 -0
- package/features/telemetry/abstractions.d.ts +7 -0
- package/features/telemetry/abstractions.js +4 -0
- package/features/telemetry/abstractions.js.map +1 -0
- package/features/telemetry/feature.d.ts +3 -0
- package/features/telemetry/feature.js +16 -0
- package/features/telemetry/feature.js.map +1 -0
- package/features/telemetry/index.d.ts +2 -0
- package/features/telemetry/index.js +4 -0
- package/features/telemetry/index.js.map +1 -0
- package/features/tenancy/GraphQLClientDecorator.d.ts +12 -0
- package/features/tenancy/GraphQLClientDecorator.js +27 -0
- package/features/tenancy/GraphQLClientDecorator.js.map +1 -0
- package/features/tenancy/TenantContext.d.ts +17 -0
- package/features/tenancy/TenantContext.js +61 -0
- package/features/tenancy/TenantContext.js.map +1 -0
- package/features/tenancy/abstractions.d.ts +14 -0
- package/features/tenancy/abstractions.js +4 -0
- package/features/tenancy/abstractions.js.map +1 -0
- package/features/tenancy/feature.d.ts +5 -0
- package/features/tenancy/feature.js +41 -0
- package/features/tenancy/feature.js.map +1 -0
- package/features/tenancy/types.d.ts +4 -0
- package/features/tenancy/types.js +3 -0
- package/features/tenancy/types.js.map +1 -0
- package/features/wcp/ReactLicense.d.ts +18 -0
- package/features/wcp/ReactLicense.js +43 -0
- package/features/wcp/ReactLicense.js.map +1 -0
- package/features/wcp/WcpGateway.d.ts +10 -0
- package/features/wcp/WcpGateway.js +73 -0
- package/features/wcp/WcpGateway.js.map +1 -0
- package/features/wcp/WcpService.d.ts +20 -0
- package/features/wcp/WcpService.js +84 -0
- package/features/wcp/WcpService.js.map +1 -0
- package/features/wcp/abstractions.d.ts +19 -0
- package/features/wcp/abstractions.js +5 -0
- package/features/wcp/abstractions.js.map +1 -0
- package/features/wcp/feature.d.ts +3 -0
- package/features/wcp/feature.js +18 -0
- package/features/wcp/feature.js.map +1 -0
- package/features/wcp/types.d.ts +21 -0
- package/features/wcp/types.js +3 -0
- package/features/wcp/types.js.map +1 -0
- package/hooks/index.d.ts +11 -10
- package/hooks/index.js +11 -10
- package/hooks/index.js.map +1 -1
- package/hooks/useConfirmationDialog.js +3 -3
- package/hooks/useConfirmationDialog.js.map +1 -1
- package/hooks/useDialog.js +1 -1
- package/hooks/useDialog.js.map +1 -1
- package/hooks/useKeyHandler.js +1 -1
- package/hooks/useKeyHandler.js.map +1 -1
- package/hooks/useModKey.js +1 -2
- package/hooks/useModKey.js.map +1 -1
- package/hooks/useShiftKey.js +1 -1
- package/hooks/useShiftKey.js.map +1 -1
- package/hooks/useStateIfMounted.d.ts +0 -1
- package/hooks/useStateIfMounted.js +1 -1
- package/hooks/useStateIfMounted.js.map +1 -1
- package/hooks/useToggler.d.ts +7 -0
- package/hooks/useToggler.js +15 -0
- package/hooks/useToggler.js.map +1 -0
- package/index.d.ts +34 -45
- package/index.js +36 -43
- package/index.js.map +1 -1
- package/lexical.css +2 -0
- package/package.json +45 -47
- package/permissions/PermissionRenderer.d.ts +6 -0
- package/permissions/PermissionRenderer.js +211 -0
- package/permissions/PermissionRenderer.js.map +1 -0
- package/permissions/PermissionValueContext.d.ts +11 -0
- package/permissions/PermissionValueContext.js +23 -0
- package/permissions/PermissionValueContext.js.map +1 -0
- package/permissions/createHasPermission.d.ts +3 -0
- package/permissions/createHasPermission.js +36 -0
- package/permissions/createHasPermission.js.map +1 -0
- package/permissions/createPermissionSchema.d.ts +2 -0
- package/permissions/createPermissionSchema.js +8 -0
- package/permissions/createPermissionSchema.js.map +1 -0
- package/permissions/index.d.ts +8 -0
- package/permissions/index.js +8 -0
- package/permissions/index.js.map +1 -0
- package/permissions/types.d.ts +224 -0
- package/permissions/types.js +3 -0
- package/permissions/types.js.map +1 -0
- package/permissions/usePermissionForm.d.ts +17 -0
- package/permissions/usePermissionForm.js +216 -0
- package/permissions/usePermissionForm.js.map +1 -0
- package/permissions/usePermissions.d.ts +3 -0
- package/permissions/usePermissions.js +179 -0
- package/permissions/usePermissions.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/SystemInstaller.d.ts +8 -0
- package/presentation/installation/components/SystemInstaller/SystemInstaller.js +70 -0
- package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.d.ts +2 -0
- package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +17 -0
- package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/index.d.ts +1 -0
- package/presentation/installation/components/SystemInstaller/index.js +3 -0
- package/presentation/installation/components/SystemInstaller/index.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.d.ts +8 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +32 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.d.ts +1 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +15 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.d.ts +7 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +69 -0
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.d.ts +7 -0
- package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +95 -0
- package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/Center.d.ts +4 -0
- package/presentation/installation/components/SystemInstaller/steps/Center.js +10 -0
- package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/Container.d.ts +8 -0
- package/presentation/installation/components/SystemInstaller/steps/Container.js +28 -0
- package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/FinishSetup.d.ts +11 -0
- package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +58 -0
- package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.d.ts +7 -0
- package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +21 -0
- package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/introduction.svg +154 -0
- package/presentation/installation/components/SystemInstaller/steps/referralSources.d.ts +1 -0
- package/presentation/installation/components/SystemInstaller/steps/referralSources.js +3 -0
- package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.d.ts +10 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +63 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.d.ts +24 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +138 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.d.ts +11 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +30 -0
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/abstractions.d.ts +59 -0
- package/presentation/installation/presenters/SystemInstaller/abstractions.js +6 -0
- package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/feature.d.ts +3 -0
- package/presentation/installation/presenters/SystemInstaller/feature.js +20 -0
- package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -0
- package/presentation/installation/presenters/SystemInstaller/index.d.ts +3 -0
- package/presentation/installation/presenters/SystemInstaller/index.js +4 -0
- package/presentation/installation/presenters/SystemInstaller/index.js.map +1 -0
- package/presentation/security/components/HasPermission.d.ts +10 -0
- package/presentation/security/components/HasPermission.js +31 -0
- package/presentation/security/components/HasPermission.js.map +1 -0
- package/presentation/security/components/SecureRoute.d.ts +7 -0
- package/presentation/security/components/SecureRoute.js +16 -0
- package/presentation/security/components/SecureRoute.js.map +1 -0
- package/presentation/security/hooks/useAuthentication.d.ts +9 -0
- package/presentation/security/hooks/useAuthentication.js +24 -0
- package/presentation/security/hooks/useAuthentication.js.map +1 -0
- package/presentation/security/hooks/useIdentity.d.ts +6 -0
- package/presentation/security/hooks/useIdentity.js +25 -0
- package/presentation/security/hooks/useIdentity.js.map +1 -0
- package/presentation/security/hooks/useSecurity.d.ts +10 -0
- package/presentation/security/hooks/useSecurity.js +28 -0
- package/presentation/security/hooks/useSecurity.js.map +1 -0
- package/presentation/tenancy/TenancyProvider.d.ts +6 -0
- package/presentation/tenancy/TenancyProvider.js +43 -0
- package/presentation/tenancy/TenancyProvider.js.map +1 -0
- package/presentation/tenancy/createTenancyProvider.d.ts +1 -0
- package/presentation/tenancy/createTenancyProvider.js +14 -0
- package/presentation/tenancy/createTenancyProvider.js.map +1 -0
- package/presentation/tenancy/useTenantContext.d.ts +5 -0
- package/presentation/tenancy/useTenantContext.js +24 -0
- package/presentation/tenancy/useTenantContext.js.map +1 -0
- package/presentation/wcp/WcpProvider.d.ts +7 -0
- package/presentation/wcp/WcpProvider.js +26 -0
- package/presentation/wcp/WcpProvider.js.map +1 -0
- package/presentation/wcp/useWcp.d.ts +2 -0
- package/presentation/wcp/useWcp.js +18 -0
- package/presentation/wcp/useWcp.js.map +1 -0
- package/routes.d.ts +6 -0
- package/routes.js +17 -0
- package/routes.js.map +1 -0
- package/types.d.ts +3 -76
- package/types.js +1 -5
- package/types.js.map +1 -1
- package/base/Base/Routes.d.ts +0 -2
- package/base/Base/Routes.js +0 -24
- package/base/Base/Routes.js.map +0 -1
- package/base/providers/TelemetryProvider.d.ts +0 -1
- package/base/providers/TelemetryProvider.js +0 -22
- package/base/providers/TelemetryProvider.js.map +0 -1
- package/base/providers/ViewCompositionProvider.d.ts +0 -21
- package/base/providers/ViewCompositionProvider.js +0 -47
- package/base/providers/ViewCompositionProvider.js.map +0 -1
- package/base/ui/LocaleSelector.d.ts +0 -39
- package/base/ui/LocaleSelector.js +0 -8
- package/base/ui/LocaleSelector.js.map +0 -1
- package/components/AppInstaller/AppInstaller.d.ts +0 -11
- package/components/AppInstaller/AppInstaller.js +0 -113
- package/components/AppInstaller/AppInstaller.js.map +0 -1
- package/components/AppInstaller/Sidebar.d.ts +0 -9
- package/components/AppInstaller/Sidebar.js +0 -108
- package/components/AppInstaller/Sidebar.js.map +0 -1
- package/components/AppInstaller/assets/sign-in-divider.svg +0 -19
- package/components/AppInstaller/index.d.ts +0 -2
- package/components/AppInstaller/index.js +0 -17
- package/components/AppInstaller/index.js.map +0 -1
- package/components/AppInstaller/styled.d.ts +0 -19
- package/components/AppInstaller/styled.js +0 -75
- package/components/AppInstaller/styled.js.map +0 -1
- package/components/AppInstaller/useInstaller.d.ts +0 -25
- package/components/AppInstaller/useInstaller.js +0 -169
- package/components/AppInstaller/useInstaller.js.map +0 -1
- package/components/Dialogs/CustomDialog.d.ts +0 -17
- package/components/Dialogs/CustomDialog.js +0 -48
- package/components/Dialogs/CustomDialog.js.map +0 -1
- package/components/RichTextEditor/RichTextEditor.d.ts +0 -3
- package/components/RichTextEditor/RichTextEditor.js +0 -16
- package/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/components/RichTextEditor/index.d.ts +0 -2
- package/components/RichTextEditor/index.js +0 -4
- package/components/RichTextEditor/index.js.map +0 -1
- package/components/RichTextEditor/styles.scss +0 -96
- package/components/RichTextEditor/tools/header/index.d.ts +0 -228
- package/components/RichTextEditor/tools/header/index.js +0 -615
- package/components/RichTextEditor/tools/header/index.js.map +0 -1
- package/components/RichTextEditor/tools/header/styles.scss +0 -48
- package/components/RichTextEditor/tools/image/index.d.ts +0 -122
- package/components/RichTextEditor/tools/image/index.js +0 -202
- package/components/RichTextEditor/tools/image/index.js.map +0 -1
- package/components/RichTextEditor/tools/image/styles.scss +0 -90
- package/components/RichTextEditor/tools/image/svgs.d.ts +0 -6
- package/components/RichTextEditor/tools/image/svgs.js +0 -7
- package/components/RichTextEditor/tools/image/svgs.js.map +0 -1
- package/components/RichTextEditor/tools/image/tunes.d.ts +0 -55
- package/components/RichTextEditor/tools/image/tunes.js +0 -103
- package/components/RichTextEditor/tools/image/tunes.js.map +0 -1
- package/components/RichTextEditor/tools/image/types.d.ts +0 -29
- package/components/RichTextEditor/tools/image/types.js.map +0 -1
- package/components/RichTextEditor/tools/image/ui.d.ts +0 -120
- package/components/RichTextEditor/tools/image/ui.js +0 -245
- package/components/RichTextEditor/tools/image/ui.js.map +0 -1
- package/components/RichTextEditor/tools/paragraph/index.d.ts +0 -208
- package/components/RichTextEditor/tools/paragraph/index.js +0 -435
- package/components/RichTextEditor/tools/paragraph/index.js.map +0 -1
- package/components/RichTextEditor/tools/paragraph/styles.scss +0 -29
- package/components/RichTextEditor/tools/textColor/index.d.ts +0 -61
- package/components/RichTextEditor/tools/textColor/index.js +0 -197
- package/components/RichTextEditor/tools/textColor/index.js.map +0 -1
- package/components/RichTextEditor/tools/textColor/styles.scss +0 -21
- package/components/RichTextEditor/tools/utils.d.ts +0 -19
- package/components/RichTextEditor/tools/utils.js +0 -24
- package/components/RichTextEditor/tools/utils.js.map +0 -1
- package/components/Routes.d.ts +0 -6
- package/components/Routes.js +0 -34
- package/components/Routes.js.map +0 -1
- package/plugins/PermissionRendererPlugin.d.ts +0 -22
- package/plugins/PermissionRendererPlugin.js +0 -19
- package/plugins/PermissionRendererPlugin.js.map +0 -1
- package/plugins/uiLayoutRenderer/index.d.ts +0 -2
- package/plugins/uiLayoutRenderer/index.js +0 -53
- package/plugins/uiLayoutRenderer/index.js.map +0 -1
- package/ui/UIElement.d.ts +0 -2
- package/ui/UIElement.js +0 -3
- package/ui/UIElement.js.map +0 -1
- package/ui/UILayout.d.ts +0 -1
- package/ui/UILayout.js +0 -3
- package/ui/UILayout.js.map +0 -1
- package/ui/UIRenderer.d.ts +0 -2
- package/ui/UIRenderer.js +0 -3
- package/ui/UIRenderer.js.map +0 -1
- package/ui/UIView.d.ts +0 -2
- package/ui/UIView.js +0 -3
- package/ui/UIView.js.map +0 -1
- package/ui/elements/AccordionElement.d.ts +0 -28
- package/ui/elements/AccordionElement.js +0 -48
- package/ui/elements/AccordionElement.js.map +0 -1
- package/ui/elements/ButtonElement.d.ts +0 -25
- package/ui/elements/ButtonElement.js +0 -52
- package/ui/elements/ButtonElement.js.map +0 -1
- package/ui/elements/ButtonGroupElement.d.ts +0 -7
- package/ui/elements/ButtonGroupElement.js +0 -29
- package/ui/elements/ButtonGroupElement.js.map +0 -1
- package/ui/elements/GenericElement.d.ts +0 -1
- package/ui/elements/GenericElement.js +0 -3
- package/ui/elements/GenericElement.js.map +0 -1
- package/ui/elements/LabelElement.d.ts +0 -17
- package/ui/elements/LabelElement.js +0 -23
- package/ui/elements/LabelElement.js.map +0 -1
- package/ui/elements/NavigationMenuElement.d.ts +0 -34
- package/ui/elements/NavigationMenuElement.js +0 -88
- package/ui/elements/NavigationMenuElement.js.map +0 -1
- package/ui/elements/PanelElement.d.ts +0 -3
- package/ui/elements/PanelElement.js +0 -4
- package/ui/elements/PanelElement.js.map +0 -1
- package/ui/elements/PlaceholderElement.d.ts +0 -6
- package/ui/elements/PlaceholderElement.js +0 -11
- package/ui/elements/PlaceholderElement.js.map +0 -1
- package/ui/elements/SmallButtonElement.d.ts +0 -8
- package/ui/elements/SmallButtonElement.js +0 -24
- package/ui/elements/SmallButtonElement.js.map +0 -1
- package/ui/elements/TypographyElement.d.ts +0 -14
- package/ui/elements/TypographyElement.js +0 -23
- package/ui/elements/TypographyElement.js.map +0 -1
- package/ui/elements/ViewElement.d.ts +0 -1
- package/ui/elements/ViewElement.js +0 -3
- package/ui/elements/ViewElement.js.map +0 -1
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +0 -7
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +0 -26
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js.map +0 -1
- package/ui/elements/form/DynamicFieldsetElement.d.ts +0 -44
- package/ui/elements/form/DynamicFieldsetElement.js +0 -97
- package/ui/elements/form/DynamicFieldsetElement.js.map +0 -1
- package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +0 -4
- package/ui/elements/form/FileManagerElement/EmptyStateElement.js +0 -10
- package/ui/elements/form/FileManagerElement/EmptyStateElement.js.map +0 -1
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +0 -8
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +0 -47
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js.map +0 -1
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +0 -14
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +0 -73
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js.map +0 -1
- package/ui/elements/form/FileManagerElement/styled.d.ts +0 -23
- package/ui/elements/form/FileManagerElement/styled.js +0 -108
- package/ui/elements/form/FileManagerElement/styled.js.map +0 -1
- package/ui/elements/form/FileManagerElement.d.ts +0 -25
- package/ui/elements/form/FileManagerElement.js +0 -46
- package/ui/elements/form/FileManagerElement.js.map +0 -1
- package/ui/elements/form/FormElement.d.ts +0 -22
- package/ui/elements/form/FormElement.js +0 -20
- package/ui/elements/form/FormElement.js.map +0 -1
- package/ui/elements/form/FormFieldElement.d.ts +0 -57
- package/ui/elements/form/FormFieldElement.js +0 -113
- package/ui/elements/form/FormFieldElement.js.map +0 -1
- package/ui/elements/form/HiddenElement.d.ts +0 -7
- package/ui/elements/form/HiddenElement.js +0 -25
- package/ui/elements/form/HiddenElement.js.map +0 -1
- package/ui/elements/form/InputElement.d.ts +0 -8
- package/ui/elements/form/InputElement.js +0 -32
- package/ui/elements/form/InputElement.js.map +0 -1
- package/ui/elements/form/PasswordElement.d.ts +0 -6
- package/ui/elements/form/PasswordElement.js +0 -29
- package/ui/elements/form/PasswordElement.js.map +0 -1
- package/ui/elements/form/README.md +0 -2
- package/ui/elements/form/SelectElement.d.ts +0 -16
- package/ui/elements/form/SelectElement.js +0 -42
- package/ui/elements/form/SelectElement.js.map +0 -1
- package/ui/elements/form/TextareaElement.d.ts +0 -16
- package/ui/elements/form/TextareaElement.js +0 -34
- package/ui/elements/form/TextareaElement.js.map +0 -1
- package/ui/views/AdminView/ContentElement.d.ts +0 -4
- package/ui/views/AdminView/ContentElement.js +0 -37
- package/ui/views/AdminView/ContentElement.js.map +0 -1
- package/ui/views/AdminView/HeaderElement.d.ts +0 -13
- package/ui/views/AdminView/HeaderElement.js +0 -68
- package/ui/views/AdminView/HeaderElement.js.map +0 -1
- package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +0 -7
- package/ui/views/AdminView/HeaderSectionCenterElement.js +0 -21
- package/ui/views/AdminView/HeaderSectionCenterElement.js.map +0 -1
- package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +0 -7
- package/ui/views/AdminView/HeaderSectionLeftElement.js +0 -21
- package/ui/views/AdminView/HeaderSectionLeftElement.js.map +0 -1
- package/ui/views/AdminView/HeaderSectionRightElement.d.ts +0 -7
- package/ui/views/AdminView/HeaderSectionRightElement.js +0 -21
- package/ui/views/AdminView/HeaderSectionRightElement.js.map +0 -1
- package/ui/views/AdminView/components/Dialog.d.ts +0 -2
- package/ui/views/AdminView/components/Dialog.js +0 -41
- package/ui/views/AdminView/components/Dialog.js.map +0 -1
- package/ui/views/AdminView/components/Hamburger.d.ts +0 -3
- package/ui/views/AdminView/components/Hamburger.js +0 -23
- package/ui/views/AdminView/components/Hamburger.js.map +0 -1
- package/ui/views/FormView/FormContainerElement.d.ts +0 -13
- package/ui/views/FormView/FormContainerElement.js +0 -19
- package/ui/views/FormView/FormContainerElement.js.map +0 -1
- package/ui/views/FormView/FormContentElement.d.ts +0 -6
- package/ui/views/FormView/FormContentElement.js +0 -10
- package/ui/views/FormView/FormContentElement.js.map +0 -1
- package/ui/views/FormView/FormFooterElement.d.ts +0 -7
- package/ui/views/FormView/FormFooterElement.js +0 -14
- package/ui/views/FormView/FormFooterElement.js.map +0 -1
- package/ui/views/FormView/FormHeaderElement.d.ts +0 -15
- package/ui/views/FormView/FormHeaderElement.js +0 -30
- package/ui/views/FormView/FormHeaderElement.js.map +0 -1
- package/ui/views/FormView.d.ts +0 -40
- package/ui/views/FormView.js +0 -121
- package/ui/views/FormView.js.map +0 -1
- package/ui/views/OverlayView/ContentElement.d.ts +0 -7
- package/ui/views/OverlayView/ContentElement.js +0 -29
- package/ui/views/OverlayView/ContentElement.js.map +0 -1
- package/ui/views/OverlayView/HeaderElement.d.ts +0 -25
- package/ui/views/OverlayView/HeaderElement.js +0 -72
- package/ui/views/OverlayView/HeaderElement.js.map +0 -1
- package/ui/views/OverlayView/HeaderTitleElement.d.ts +0 -15
- package/ui/views/OverlayView/HeaderTitleElement.js +0 -25
- package/ui/views/OverlayView/HeaderTitleElement.js.map +0 -1
- package/ui/views/OverlayView/useOverlayView.d.ts +0 -5
- package/ui/views/OverlayView/useOverlayView.js +0 -34
- package/ui/views/OverlayView/useOverlayView.js.map +0 -1
- package/ui/views/OverlayView.d.ts +0 -30
- package/ui/views/OverlayView.js +0 -109
- package/ui/views/OverlayView.js.map +0 -1
- package/ui/views/SplitView/SplitViewPanelElement.d.ts +0 -12
- package/ui/views/SplitView/SplitViewPanelElement.js +0 -32
- package/ui/views/SplitView/SplitViewPanelElement.js.map +0 -1
- package/ui/views/SplitView.d.ts +0 -21
- package/ui/views/SplitView.js +0 -86
- package/ui/views/SplitView.js.map +0 -1
- /package/base/Base/Tenant/{wby-logo.svg → wby-square.svg} +0 -0
- /package/{components/RichTextEditor/tools/image → features/security/AuthenticationContext}/types.js +0 -0
package/README.md
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
# @webiny/app-admin
|
|
2
|
-
[](https://www.npmjs.com/package/@webiny/app-admin)
|
|
3
|
-
[](https://www.npmjs.com/package/@webiny/app-admin)
|
|
4
|
-
[](https://github.com/prettier/prettier)
|
|
5
|
-
[](http://makeapullrequest.com)
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This package is part of the [Webiny](https://www.webiny.com) monorepo.
|
|
5
|
+
> It’s **included in every Webiny project by default** and is not meant to be used as a standalone package.
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
[the official docs](https://docs.webiny.com/docs/developer-tutorials/admin-app-overview).
|
|
12
|
-
|
|
13
|
-
## Install
|
|
14
|
-
```
|
|
15
|
-
npm install --save @webiny/app-admin
|
|
16
|
-
```
|
|
7
|
+
📘 **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
_This README file is automatically generated during the publish process._
|
package/base/Admin.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { Container } from "@webiny/di";
|
|
3
|
+
import type { ApolloClientFactory } from "./providers/ApolloProvider.js";
|
|
4
|
+
import type { PluginCollection } from "@webiny/plugins/types.js";
|
|
3
5
|
export interface AdminProps {
|
|
4
6
|
createApolloClient: ApolloClientFactory;
|
|
7
|
+
createLegacyPlugins: (container: Container) => PluginCollection;
|
|
5
8
|
children?: React.ReactNode;
|
|
6
9
|
}
|
|
7
|
-
export declare const Admin: ({ children, createApolloClient }: AdminProps) => React.JSX.Element;
|
|
10
|
+
export declare const Admin: ({ children, createApolloClient, createLegacyPlugins }: AdminProps) => React.JSX.Element;
|
package/base/Admin.js
CHANGED
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
2
|
+
import { plugins } from "@webiny/plugins";
|
|
3
|
+
import { App, DiContainerProvider } from "@webiny/app";
|
|
4
|
+
import { createApolloProvider } from "./providers/ApolloProvider.js";
|
|
5
|
+
import { Base } from "./Base.js";
|
|
6
|
+
import { createUiStateProvider } from "./providers/UiStateProvider.js";
|
|
7
|
+
import { createAdminUiStateProvider } from "./providers/AdminUiStateProvider.js";
|
|
8
|
+
import { createUiProviders } from "./providers/UiProviders.js";
|
|
9
|
+
import { createDialogsProvider } from "../components/Dialogs/DialogsContext.js";
|
|
10
|
+
import { DefaultIcons, IconPickerConfigProvider } from "../components/IconPicker/config/index.js";
|
|
11
|
+
import { createRootContainer } from "./createRootContainer.js";
|
|
12
|
+
import { WcpProvider } from "../presentation/wcp/WcpProvider.js";
|
|
13
|
+
import { createTenancyProvider } from "../presentation/tenancy/createTenancyProvider.js";
|
|
14
|
+
import { TelemetryAdminAppStart } from "./TelemetryAdminAppStart.js";
|
|
15
|
+
import { ApolloClientFeature } from "../features/apolloClient/feature.js";
|
|
16
|
+
import { SecurityFeature } from "../features/security/SecurityFeature.js";
|
|
17
|
+
const container = createRootContainer();
|
|
13
18
|
export const Admin = ({
|
|
14
19
|
children,
|
|
15
|
-
createApolloClient
|
|
20
|
+
createApolloClient,
|
|
21
|
+
createLegacyPlugins
|
|
16
22
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
const
|
|
23
|
+
const uri = process.env.REACT_APP_GRAPHQL_API_URL;
|
|
24
|
+
const apolloClient = createApolloClient({
|
|
25
|
+
uri
|
|
26
|
+
});
|
|
27
|
+
plugins.register(...createLegacyPlugins(container));
|
|
28
|
+
ApolloClientFeature.register(container, apolloClient);
|
|
29
|
+
SecurityFeature.register(container);
|
|
30
|
+
const ApolloProvider = createApolloProvider(apolloClient);
|
|
19
31
|
const UIProviders = createUiProviders();
|
|
20
32
|
const UiStateProvider = createUiStateProvider();
|
|
21
33
|
const AdminUiStateProvider = createAdminUiStateProvider();
|
|
22
34
|
const DialogsProvider = createDialogsProvider();
|
|
23
|
-
|
|
24
|
-
|
|
35
|
+
const TenancyProvider = createTenancyProvider();
|
|
36
|
+
return /*#__PURE__*/React.createElement(DiContainerProvider, {
|
|
37
|
+
container: container
|
|
38
|
+
}, /*#__PURE__*/React.createElement(TelemetryAdminAppStart, null), /*#__PURE__*/React.createElement(ApolloProvider, null, /*#__PURE__*/React.createElement(WcpProvider, null, /*#__PURE__*/React.createElement(App, {
|
|
39
|
+
routes: [],
|
|
40
|
+
providers: [UIProviders, UiStateProvider, DialogsProvider, IconPickerConfigProvider, AdminUiStateProvider, TenancyProvider]
|
|
25
41
|
}, /*#__PURE__*/React.createElement(Base, null), /*#__PURE__*/React.createElement(DefaultIcons, null), children))));
|
|
26
42
|
};
|
|
27
43
|
|
package/base/Admin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","plugins","App","DiContainerProvider","createApolloProvider","Base","createUiStateProvider","createAdminUiStateProvider","createUiProviders","createDialogsProvider","DefaultIcons","IconPickerConfigProvider","createRootContainer","WcpProvider","createTenancyProvider","TelemetryAdminAppStart","ApolloClientFeature","SecurityFeature","container","Admin","children","createApolloClient","createLegacyPlugins","uri","process","env","REACT_APP_GRAPHQL_API_URL","apolloClient","register","ApolloProvider","UIProviders","UiStateProvider","AdminUiStateProvider","DialogsProvider","TenancyProvider","createElement","routes","providers"],"sources":["Admin.tsx"],"sourcesContent":["import React from \"react\";\nimport type { Container } from \"@webiny/di\";\nimport { plugins } from \"@webiny/plugins\";\nimport { App, DiContainerProvider } from \"@webiny/app\";\nimport type { ApolloClientFactory } from \"./providers/ApolloProvider.js\";\nimport { createApolloProvider } from \"./providers/ApolloProvider.js\";\nimport { Base } from \"./Base.js\";\nimport { createUiStateProvider } from \"./providers/UiStateProvider.js\";\nimport { createAdminUiStateProvider } from \"./providers/AdminUiStateProvider.js\";\nimport { createUiProviders } from \"./providers/UiProviders.js\";\nimport { createDialogsProvider } from \"~/components/Dialogs/DialogsContext.js\";\nimport { DefaultIcons, IconPickerConfigProvider } from \"~/components/IconPicker/config/index.js\";\nimport { createRootContainer } from \"~/base/createRootContainer.js\";\nimport { WcpProvider } from \"~/presentation/wcp/WcpProvider.js\";\nimport { createTenancyProvider } from \"~/presentation/tenancy/createTenancyProvider.js\";\nimport { TelemetryAdminAppStart } from \"./TelemetryAdminAppStart.js\";\nimport { ApolloClientFeature } from \"~/features/apolloClient/feature.js\";\nimport { SecurityFeature } from \"~/features/security/SecurityFeature.js\";\nimport type { PluginCollection } from \"@webiny/plugins/types.js\";\n\nexport interface AdminProps {\n createApolloClient: ApolloClientFactory;\n createLegacyPlugins: (container: Container) => PluginCollection;\n children?: React.ReactNode;\n}\n\nconst container = createRootContainer();\n\nexport const Admin = ({ children, createApolloClient, createLegacyPlugins }: AdminProps) => {\n const uri = process.env.REACT_APP_GRAPHQL_API_URL as string;\n const apolloClient = createApolloClient({ uri });\n\n plugins.register(...createLegacyPlugins(container));\n\n ApolloClientFeature.register(container, apolloClient);\n SecurityFeature.register(container);\n\n const ApolloProvider = createApolloProvider(apolloClient);\n const UIProviders = createUiProviders();\n const UiStateProvider = createUiStateProvider();\n const AdminUiStateProvider = createAdminUiStateProvider();\n const DialogsProvider = createDialogsProvider();\n const TenancyProvider = createTenancyProvider();\n\n return (\n <DiContainerProvider container={container}>\n <TelemetryAdminAppStart />\n <ApolloProvider>\n <WcpProvider>\n <App\n routes={[]}\n providers={[\n UIProviders,\n UiStateProvider,\n DialogsProvider,\n IconPickerConfigProvider,\n AdminUiStateProvider,\n TenancyProvider\n ]}\n >\n <Base />\n <DefaultIcons />\n {children}\n </App>\n </WcpProvider>\n </ApolloProvider>\n </DiContainerProvider>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,OAAO,QAAQ,iBAAiB;AACzC,SAASC,GAAG,EAAEC,mBAAmB,QAAQ,aAAa;AAEtD,SAASC,oBAAoB;AAC7B,SAASC,IAAI;AACb,SAASC,qBAAqB;AAC9B,SAASC,0BAA0B;AACnC,SAASC,iBAAiB;AAC1B,SAASC,qBAAqB;AAC9B,SAASC,YAAY,EAAEC,wBAAwB;AAC/C,SAASC,mBAAmB;AAC5B,SAASC,WAAW;AACpB,SAASC,qBAAqB;AAC9B,SAASC,sBAAsB;AAC/B,SAASC,mBAAmB;AAC5B,SAASC,eAAe;AASxB,MAAMC,SAAS,GAAGN,mBAAmB,CAAC,CAAC;AAEvC,OAAO,MAAMO,KAAK,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,kBAAkB;EAAEC;AAAgC,CAAC,KAAK;EACxF,MAAMC,GAAG,GAAGC,OAAO,CAACC,GAAG,CAACC,yBAAmC;EAC3D,MAAMC,YAAY,GAAGN,kBAAkB,CAAC;IAAEE;EAAI,CAAC,CAAC;EAEhDtB,OAAO,CAAC2B,QAAQ,CAAC,GAAGN,mBAAmB,CAACJ,SAAS,CAAC,CAAC;EAEnDF,mBAAmB,CAACY,QAAQ,CAACV,SAAS,EAAES,YAAY,CAAC;EACrDV,eAAe,CAACW,QAAQ,CAACV,SAAS,CAAC;EAEnC,MAAMW,cAAc,GAAGzB,oBAAoB,CAACuB,YAAY,CAAC;EACzD,MAAMG,WAAW,GAAGtB,iBAAiB,CAAC,CAAC;EACvC,MAAMuB,eAAe,GAAGzB,qBAAqB,CAAC,CAAC;EAC/C,MAAM0B,oBAAoB,GAAGzB,0BAA0B,CAAC,CAAC;EACzD,MAAM0B,eAAe,GAAGxB,qBAAqB,CAAC,CAAC;EAC/C,MAAMyB,eAAe,GAAGpB,qBAAqB,CAAC,CAAC;EAE/C,oBACId,KAAA,CAAAmC,aAAA,CAAChC,mBAAmB;IAACe,SAAS,EAAEA;EAAU,gBACtClB,KAAA,CAAAmC,aAAA,CAACpB,sBAAsB,MAAE,CAAC,eAC1Bf,KAAA,CAAAmC,aAAA,CAACN,cAAc,qBACX7B,KAAA,CAAAmC,aAAA,CAACtB,WAAW,qBACRb,KAAA,CAAAmC,aAAA,CAACjC,GAAG;IACAkC,MAAM,EAAE,EAAG;IACXC,SAAS,EAAE,CACPP,WAAW,EACXC,eAAe,EACfE,eAAe,EACftB,wBAAwB,EACxBqB,oBAAoB,EACpBE,eAAe;EACjB,gBAEFlC,KAAA,CAAAmC,aAAA,CAAC9B,IAAI,MAAE,CAAC,eACRL,KAAA,CAAAmC,aAAA,CAACzB,YAAY,MAAE,CAAC,EACfU,QACA,CACI,CACD,CACC,CAAC;AAE9B,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { LexicalEditorConfig } from "@webiny/lexical-editor/components/LexicalEditorConfig/LexicalEditorConfig.js";
|
|
3
|
+
import { FloatingLinkEditorPlugin } from "@webiny/lexical-editor";
|
|
4
|
+
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
5
|
+
import { LexicalTheme } from "../../config/AdminConfig/LexicalTheme.js";
|
|
6
|
+
import { LexicalLinkForm } from "../../components/index.js";
|
|
7
|
+
const {
|
|
8
|
+
Color,
|
|
9
|
+
Typography
|
|
10
|
+
} = LexicalTheme;
|
|
11
|
+
export const LexicalPreset = () => {
|
|
12
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AdminConfig, null, /*#__PURE__*/React.createElement(Color, {
|
|
13
|
+
id: "color1",
|
|
14
|
+
label: "Primary color",
|
|
15
|
+
value: "var(--wa-theme-color1)"
|
|
16
|
+
}), /*#__PURE__*/React.createElement(Color, {
|
|
17
|
+
id: "color2",
|
|
18
|
+
label: "Secondary color",
|
|
19
|
+
value: "var(--wa-theme-color2)"
|
|
20
|
+
}), /*#__PURE__*/React.createElement(Color, {
|
|
21
|
+
id: "color3",
|
|
22
|
+
label: "Regular color",
|
|
23
|
+
value: "var(--wa-theme-color3)"
|
|
24
|
+
}), /*#__PURE__*/React.createElement(Typography.Heading, {
|
|
25
|
+
id: "heading1",
|
|
26
|
+
label: "Heading 1",
|
|
27
|
+
tag: "h1",
|
|
28
|
+
className: "wa-heading-1"
|
|
29
|
+
}), /*#__PURE__*/React.createElement(Typography.Heading, {
|
|
30
|
+
id: "heading2",
|
|
31
|
+
label: "Heading 2",
|
|
32
|
+
tag: "h2",
|
|
33
|
+
className: "wa-heading-2"
|
|
34
|
+
}), /*#__PURE__*/React.createElement(Typography.Heading, {
|
|
35
|
+
id: "heading3",
|
|
36
|
+
label: "Heading 3",
|
|
37
|
+
tag: "h3",
|
|
38
|
+
className: "wa-heading-3"
|
|
39
|
+
}), /*#__PURE__*/React.createElement(Typography.Paragraph, {
|
|
40
|
+
id: "paragraph1",
|
|
41
|
+
label: "Paragraph",
|
|
42
|
+
tag: "p",
|
|
43
|
+
className: "wa-paragraph-1"
|
|
44
|
+
}), /*#__PURE__*/React.createElement(Typography.Quote, {
|
|
45
|
+
id: "quote",
|
|
46
|
+
label: "Quote",
|
|
47
|
+
tag: "blockquote",
|
|
48
|
+
className: "wa-blockquote-1"
|
|
49
|
+
}), /*#__PURE__*/React.createElement(Typography.List, {
|
|
50
|
+
id: "list1",
|
|
51
|
+
label: "Unordered list",
|
|
52
|
+
tag: "ul",
|
|
53
|
+
className: "wa-unordered-list-1"
|
|
54
|
+
}), /*#__PURE__*/React.createElement(Typography.List, {
|
|
55
|
+
id: "list2",
|
|
56
|
+
label: "Ordered list",
|
|
57
|
+
tag: "ol",
|
|
58
|
+
className: "wa-ordered-list-1"
|
|
59
|
+
})), /*#__PURE__*/React.createElement(LexicalEditorConfig, null, /*#__PURE__*/React.createElement(LexicalEditorConfig.Plugin, {
|
|
60
|
+
name: "floatingLinkEditor",
|
|
61
|
+
element: /*#__PURE__*/React.createElement(FloatingLinkEditorPlugin, {
|
|
62
|
+
LinkForm: LexicalLinkForm
|
|
63
|
+
})
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=LexicalPreset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","LexicalEditorConfig","FloatingLinkEditorPlugin","AdminConfig","LexicalTheme","LexicalLinkForm","Color","Typography","LexicalPreset","createElement","Fragment","id","label","value","Heading","tag","className","Paragraph","Quote","List","Plugin","name","element","LinkForm"],"sources":["LexicalPreset.tsx"],"sourcesContent":["import React from \"react\";\nimport { LexicalEditorConfig } from \"@webiny/lexical-editor/components/LexicalEditorConfig/LexicalEditorConfig.js\";\nimport { FloatingLinkEditorPlugin } from \"@webiny/lexical-editor\";\nimport { AdminConfig } from \"../../config/AdminConfig.js\";\nimport { LexicalTheme } from \"~/config/AdminConfig/LexicalTheme.js\";\nimport { LexicalLinkForm } from \"~/components/index.js\";\n\nconst { Color, Typography } = LexicalTheme;\n\nexport const LexicalPreset = () => {\n return (\n <>\n <AdminConfig>\n {/* Colors */}\n <Color id={\"color1\"} label=\"Primary color\" value={\"var(--wa-theme-color1)\"} />\n <Color id={\"color2\"} label=\"Secondary color\" value={\"var(--wa-theme-color2)\"} />\n <Color id={\"color3\"} label=\"Regular color\" value={\"var(--wa-theme-color3)\"} />\n {/* Typography */}\n <Typography.Heading\n id={\"heading1\"}\n label={\"Heading 1\"}\n tag={\"h1\"}\n className={\"wa-heading-1\"}\n />\n <Typography.Heading\n id={\"heading2\"}\n label={\"Heading 2\"}\n tag={\"h2\"}\n className={\"wa-heading-2\"}\n />\n <Typography.Heading\n id={\"heading3\"}\n label={\"Heading 3\"}\n tag={\"h3\"}\n className={\"wa-heading-3\"}\n />\n\n <Typography.Paragraph\n id={\"paragraph1\"}\n label={\"Paragraph\"}\n tag={\"p\"}\n className={\"wa-paragraph-1\"}\n />\n\n <Typography.Quote\n id={\"quote\"}\n label={\"Quote\"}\n tag={\"blockquote\"}\n className={\"wa-blockquote-1\"}\n />\n <Typography.List\n id={\"list1\"}\n label={\"Unordered list\"}\n tag={\"ul\"}\n className={\"wa-unordered-list-1\"}\n />\n <Typography.List\n id={\"list2\"}\n label={\"Ordered list\"}\n tag={\"ol\"}\n className={\"wa-ordered-list-1\"}\n />\n </AdminConfig>\n <LexicalEditorConfig>\n <LexicalEditorConfig.Plugin\n name={\"floatingLinkEditor\"}\n element={<FloatingLinkEditorPlugin LinkForm={LexicalLinkForm} />}\n />\n </LexicalEditorConfig>\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,QAAQ,8EAA8E;AAClH,SAASC,wBAAwB,QAAQ,wBAAwB;AACjE,SAASC,WAAW;AACpB,SAASC,YAAY;AACrB,SAASC,eAAe;AAExB,MAAM;EAAEC,KAAK;EAAEC;AAAW,CAAC,GAAGH,YAAY;AAE1C,OAAO,MAAMI,aAAa,GAAGA,CAAA,KAAM;EAC/B,oBACIR,KAAA,CAAAS,aAAA,CAAAT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;EAAkB,CAChC,CAAC,eACFhB,KAAA,CAAAS,aAAA,CAACF,UAAU,CAACY,IAAI;IACZR,EAAE,EAAE,OAAQ;IACZC,KAAK,EAAE,gBAAiB;IACxBG,GAAG,EAAE,IAAK;IACVC,SAAS,EAAE;EAAsB,CACpC,CAAC,eACFhB,KAAA,CAAAS,aAAA,CAACF,UAAU,CAACY,IAAI;IACZR,EAAE,EAAE,OAAQ;IACZC,KAAK,EAAE,cAAe;IACtBG,GAAG,EAAE,IAAK;IACVC,SAAS,EAAE;EAAoB,CAClC,CACQ,CAAC,eACdhB,KAAA,CAAAS,aAAA,CAACR,mBAAmB,qBAChBD,KAAA,CAAAS,aAAA,CAACR,mBAAmB,CAACmB,MAAM;IACvBC,IAAI,EAAE,oBAAqB;IAC3BC,OAAO,eAAEtB,KAAA,CAAAS,aAAA,CAACP,wBAAwB;MAACqB,QAAQ,EAAElB;IAAgB,CAAE;EAAE,CACpE,CACgB,CACvB,CAAC;AAEX,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const SupportMenuItems: () =>
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
export declare const SupportMenuItems: () => ReactElement | null;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
const {
|
|
4
|
-
useAdminConfig
|
|
5
|
-
} = AdminConfig;
|
|
2
|
+
import { useAdminConfig } from "../../../config/AdminConfig.js";
|
|
6
3
|
export const SupportMenuItems = () => {
|
|
7
4
|
const {
|
|
8
5
|
supportMenus
|
|
9
6
|
} = useAdminConfig();
|
|
7
|
+
// @ts-expect-error Fix with React 19.
|
|
10
8
|
return supportMenus.map(menu => {
|
|
11
9
|
if (! /*#__PURE__*/React.isValidElement(menu.element)) {
|
|
12
10
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","useAdminConfig","SupportMenuItems","supportMenus","map","menu","isValidElement","element","cloneElement","key","name"],"sources":["SupportMenuItems.tsx"],"sourcesContent":["import React, { type ReactElement } from \"react\";\nimport { useAdminConfig } from \"~/config/AdminConfig.js\";\n\nexport const SupportMenuItems = (): ReactElement | null => {\n const { supportMenus } = useAdminConfig();\n // @ts-expect-error Fix with React 19.\n return supportMenus.map(menu => {\n if (!React.isValidElement(menu.element)) {\n return null;\n }\n\n return React.cloneElement(menu.element, { key: menu.name });\n });\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,cAAc;AAEvB,OAAO,MAAMC,gBAAgB,GAAGA,CAAA,KAA2B;EACvD,MAAM;IAAEC;EAAa,CAAC,GAAGF,cAAc,CAAC,CAAC;EACzC;EACA,OAAOE,YAAY,CAACC,GAAG,CAACC,IAAI,IAAI;IAC5B,IAAI,eAACL,KAAK,CAACM,cAAc,CAACD,IAAI,CAACE,OAAO,CAAC,EAAE;MACrC,OAAO,IAAI;IACf;IAEA,oBAAOP,KAAK,CAACQ,YAAY,CAACH,IAAI,CAACE,OAAO,EAAE;MAAEE,GAAG,EAAEJ,IAAI,CAACK;IAAK,CAAC,CAAC;EAC/D,CAAC,CAAC;AACN,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useMemo } from "react";
|
|
2
|
-
import { config as appConfig } from "@webiny/app/config";
|
|
3
|
-
import { useWcp } from "
|
|
2
|
+
import { config as appConfig } from "@webiny/app/config.js";
|
|
3
|
+
import { useWcp } from "../../../index.js";
|
|
4
4
|
import { Tag } from "@webiny/admin-ui";
|
|
5
5
|
export const WebinyVersion = () => {
|
|
6
6
|
const wbyVersion = appConfig.getKey("WEBINY_VERSION", process.env.REACT_APP_WEBINY_VERSION);
|
|
@@ -13,11 +13,11 @@ export const WebinyVersion = () => {
|
|
|
13
13
|
return /*#__PURE__*/React.createElement(Tag, {
|
|
14
14
|
variant: "accent",
|
|
15
15
|
content: "WCP",
|
|
16
|
-
className: "
|
|
16
|
+
className: "ml-sm-extra"
|
|
17
17
|
});
|
|
18
18
|
}, []);
|
|
19
19
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: "
|
|
20
|
+
className: "flex items-center"
|
|
21
21
|
}, "Webiny v", wbyVersion, wcpBadge);
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","config","appConfig","useWcp","Tag","WebinyVersion","wbyVersion","getKey","process","env","REACT_APP_WEBINY_VERSION","wcp","wcpBadge","wcpProject","getProject","createElement","variant","content","className"],"sources":["WebinyVersion.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { config as appConfig } from \"@webiny/app/config\";\nimport { useWcp } from \"~/index\";\nimport { Tag } from \"@webiny/admin-ui\";\n\nexport const WebinyVersion = () => {\n const wbyVersion = appConfig.getKey(\"WEBINY_VERSION\", process.env.REACT_APP_WEBINY_VERSION);\n const wcp = useWcp();\n\n const wcpBadge = useMemo(() => {\n const wcpProject = wcp.getProject();\n if (!wcpProject) {\n return null;\n }\n\n return <Tag variant={\"accent\"} content={\"WCP\"} className={\"
|
|
1
|
+
{"version":3,"names":["React","useMemo","config","appConfig","useWcp","Tag","WebinyVersion","wbyVersion","getKey","process","env","REACT_APP_WEBINY_VERSION","wcp","wcpBadge","wcpProject","getProject","createElement","variant","content","className"],"sources":["WebinyVersion.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { config as appConfig } from \"@webiny/app/config.js\";\nimport { useWcp } from \"~/index.js\";\nimport { Tag } from \"@webiny/admin-ui\";\n\nexport const WebinyVersion = () => {\n const wbyVersion = appConfig.getKey(\"WEBINY_VERSION\", process.env.REACT_APP_WEBINY_VERSION);\n const wcp = useWcp();\n\n const wcpBadge = useMemo(() => {\n const wcpProject = wcp.getProject();\n if (!wcpProject) {\n return null;\n }\n\n return <Tag variant={\"accent\"} content={\"WCP\"} className={\"ml-sm-extra\"} />;\n }, []);\n\n return (\n <div className={\"flex items-center\"}>\n Webiny v{wbyVersion}\n {wcpBadge}\n </div>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,MAAM,IAAIC,SAAS,QAAQ,uBAAuB;AAC3D,SAASC,MAAM;AACf,SAASC,GAAG,QAAQ,kBAAkB;AAEtC,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EAC/B,MAAMC,UAAU,GAAGJ,SAAS,CAACK,MAAM,CAAC,gBAAgB,EAAEC,OAAO,CAACC,GAAG,CAACC,wBAAwB,CAAC;EAC3F,MAAMC,GAAG,GAAGR,MAAM,CAAC,CAAC;EAEpB,MAAMS,QAAQ,GAAGZ,OAAO,CAAC,MAAM;IAC3B,MAAMa,UAAU,GAAGF,GAAG,CAACG,UAAU,CAAC,CAAC;IACnC,IAAI,CAACD,UAAU,EAAE;MACb,OAAO,IAAI;IACf;IAEA,oBAAOd,KAAA,CAAAgB,aAAA,CAACX,GAAG;MAACY,OAAO,EAAE,QAAS;MAACC,OAAO,EAAE,KAAM;MAACC,SAAS,EAAE;IAAc,CAAE,CAAC;EAC/E,CAAC,EAAE,EAAE,CAAC;EAEN,oBACInB,KAAA,CAAAgB,aAAA;IAAKG,SAAS,EAAE;EAAoB,GAAC,UACzB,EAACZ,UAAU,EAClBM,QACA,CAAC;AAEd,CAAC","ignoreList":[]}
|
package/base/Base/Menus.js
CHANGED
|
@@ -1,38 +1,32 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { HasPermission } from "@webiny/app-security";
|
|
3
|
-
import { FileManager } from "../ui/FileManager";
|
|
4
|
-
import { WebinyVersion } from "./Menus/WebinyVersion";
|
|
5
|
-
import { SupportMenuItems } from "./Menus/SupportMenuItems";
|
|
6
|
-
import { AdminConfig } from "../../config/AdminConfig";
|
|
7
2
|
import { ReactComponent as DashboardIcon } from "@webiny/icons/space_dashboard.svg";
|
|
8
3
|
import { ReactComponent as SettingsIcon } from "@webiny/icons/settings.svg";
|
|
9
4
|
import { ReactComponent as FileManagerIcon } from "@webiny/icons/folder_open.svg";
|
|
10
5
|
import { ReactComponent as InfoIcon } from "@webiny/icons/info.svg";
|
|
11
|
-
import { ReactComponent as ApiPlaygroundIcon } from "@webiny/icons/swap_horiz.svg";
|
|
12
6
|
import { ReactComponent as SlackIcon } from "@webiny/icons/numbers.svg";
|
|
13
7
|
import { ReactComponent as DocsIcon } from "@webiny/icons/summarize.svg";
|
|
14
8
|
import { ReactComponent as GithubIcon } from "@webiny/icons/route.svg";
|
|
15
9
|
import { ReactComponent as MoreIcon } from "@webiny/icons/more_vert.svg";
|
|
16
10
|
import { DropdownMenu } from "@webiny/admin-ui";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
11
|
+
import { WebinyVersion } from "./Menus/WebinyVersion.js";
|
|
12
|
+
import { SupportMenuItems } from "./Menus/SupportMenuItems.js";
|
|
13
|
+
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
14
|
+
import { HasPermission } from "../../presentation/security/components/HasPermission.js";
|
|
15
|
+
import { Menu } from "../../config/AdminConfig/Menu.js";
|
|
20
16
|
export const Menus = /*#__PURE__*/React.memo(() => {
|
|
21
17
|
return /*#__PURE__*/React.createElement(AdminConfig, null, /*#__PURE__*/React.createElement(HasPermission, {
|
|
22
18
|
name: "fm.file"
|
|
23
19
|
}, /*#__PURE__*/React.createElement(Menu, {
|
|
24
|
-
name: "
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}) => /*#__PURE__*/React.createElement(Menu.Item, {
|
|
20
|
+
name: "fileManager",
|
|
21
|
+
pin: "start",
|
|
22
|
+
element: /*#__PURE__*/React.createElement(Menu.Link, {
|
|
28
23
|
text: "File Manager",
|
|
29
24
|
icon: /*#__PURE__*/React.createElement(Menu.Item.Icon, {
|
|
30
25
|
label: "File Manager",
|
|
31
26
|
element: /*#__PURE__*/React.createElement(FileManagerIcon, null)
|
|
32
27
|
}),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}))
|
|
28
|
+
to: "/file-manager"
|
|
29
|
+
})
|
|
36
30
|
})), /*#__PURE__*/React.createElement(Menu, {
|
|
37
31
|
name: "home",
|
|
38
32
|
pin: "start",
|
|
@@ -46,6 +40,7 @@ export const Menus = /*#__PURE__*/React.memo(() => {
|
|
|
46
40
|
})
|
|
47
41
|
}), /*#__PURE__*/React.createElement(Menu, {
|
|
48
42
|
name: "settings",
|
|
43
|
+
hideIfEmpty: true,
|
|
49
44
|
pin: "end",
|
|
50
45
|
element: /*#__PURE__*/React.createElement(Menu.Item, {
|
|
51
46
|
text: "Settings",
|
|
@@ -54,16 +49,6 @@ export const Menus = /*#__PURE__*/React.memo(() => {
|
|
|
54
49
|
element: /*#__PURE__*/React.createElement(SettingsIcon, null)
|
|
55
50
|
})
|
|
56
51
|
})
|
|
57
|
-
}), /*#__PURE__*/React.createElement(Menu.Support, {
|
|
58
|
-
name: "api-playground",
|
|
59
|
-
element: /*#__PURE__*/React.createElement(Menu.Support.Link, {
|
|
60
|
-
text: "API Playground",
|
|
61
|
-
icon: /*#__PURE__*/React.createElement(Menu.Support.Link.Icon, {
|
|
62
|
-
label: "API Playground",
|
|
63
|
-
element: /*#__PURE__*/React.createElement(ApiPlaygroundIcon, null)
|
|
64
|
-
}),
|
|
65
|
-
to: "/api-playground"
|
|
66
|
-
})
|
|
67
52
|
}), /*#__PURE__*/React.createElement(Menu.Support, {
|
|
68
53
|
name: "docs",
|
|
69
54
|
element: /*#__PURE__*/React.createElement(Menu.Support.Link, {
|
|
@@ -110,7 +95,7 @@ export const Menus = /*#__PURE__*/React.memo(() => {
|
|
|
110
95
|
}), /*#__PURE__*/React.createElement(Menu.Footer, {
|
|
111
96
|
name: "support",
|
|
112
97
|
element: /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
113
|
-
className: "
|
|
98
|
+
className: "w-[225px]",
|
|
114
99
|
trigger: /*#__PURE__*/React.createElement(Menu.Item, {
|
|
115
100
|
text: "Support",
|
|
116
101
|
icon: /*#__PURE__*/React.createElement(Menu.Item.Icon, {
|
package/base/Base/Menus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","HasPermission","FileManager","WebinyVersion","SupportMenuItems","AdminConfig","ReactComponent","DashboardIcon","SettingsIcon","FileManagerIcon","InfoIcon","ApiPlaygroundIcon","SlackIcon","DocsIcon","GithubIcon","MoreIcon","DropdownMenu","Menu","Menus","memo","createElement","name","element","showFileManager","Item","text","icon","Icon","label","onClick","pin","Link","to","Support","rel","target","Fragment","Separator","readOnly","Footer","className","trigger","action","Action","displayName"],"sources":["Menus.tsx"],"sourcesContent":["import React from \"react\";\nimport { HasPermission } from \"@webiny/app-security\";\nimport { FileManager } from \"~/base/ui/FileManager\";\nimport { WebinyVersion } from \"./Menus/WebinyVersion\";\nimport { SupportMenuItems } from \"./Menus/SupportMenuItems\";\nimport { AdminConfig } from \"~/config/AdminConfig\";\nimport { ReactComponent as DashboardIcon } from \"@webiny/icons/space_dashboard.svg\";\nimport { ReactComponent as SettingsIcon } from \"@webiny/icons/settings.svg\";\nimport { ReactComponent as FileManagerIcon } from \"@webiny/icons/folder_open.svg\";\nimport { ReactComponent as InfoIcon } from \"@webiny/icons/info.svg\";\nimport { ReactComponent as ApiPlaygroundIcon } from \"@webiny/icons/swap_horiz.svg\";\nimport { ReactComponent as SlackIcon } from \"@webiny/icons/numbers.svg\";\nimport { ReactComponent as DocsIcon } from \"@webiny/icons/summarize.svg\";\nimport { ReactComponent as GithubIcon } from \"@webiny/icons/route.svg\";\nimport { ReactComponent as MoreIcon } from \"@webiny/icons/more_vert.svg\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\n\nconst { Menu } = AdminConfig;\n\nexport const Menus = React.memo(() => {\n return (\n <AdminConfig>\n <HasPermission name={\"fm.file\"}>\n <Menu\n name={\"fm\"}\n element={\n <FileManager>\n {({ showFileManager }) => (\n <Menu.Item\n text={\"File Manager\"}\n icon={\n <Menu.Item.Icon\n label=\"File Manager\"\n element={<FileManagerIcon />}\n />\n }\n onClick={() => showFileManager()}\n data-testid={\"admin-drawer-footer-menu-file-manager\"}\n />\n )}\n </FileManager>\n }\n />\n </HasPermission>\n <Menu\n name={\"home\"}\n pin={\"start\"}\n element={\n <Menu.Link\n to={\"/\"}\n text={\"Home\"}\n icon={<Menu.Link.Icon label=\"Home\" element={<DashboardIcon />} />}\n />\n }\n />\n <Menu\n name={\"settings\"}\n pin={\"end\"}\n element={\n <Menu.Item\n text={\"Settings\"}\n icon={<Menu.Link.Icon label=\"Settings\" element={<SettingsIcon />} />}\n />\n }\n />\n\n <Menu.Support\n name={\"api-playground\"}\n element={\n <Menu.Support.Link\n text={\"API Playground\"}\n icon={\n <Menu.Support.Link.Icon\n label=\"API Playground\"\n element={<ApiPlaygroundIcon />}\n />\n }\n to={\"/api-playground\"}\n />\n }\n />\n\n <Menu.Support\n name={\"docs\"}\n element={\n <Menu.Support.Link\n text={\"Documentation\"}\n icon={<Menu.Support.Link.Icon label=\"Docs\" element={<DocsIcon />} />}\n to={\"https://www.webiny.com/docs\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"github\"}\n element={\n <Menu.Support.Link\n text={\"GitHub\"}\n icon={<Menu.Support.Link.Icon label=\"GitHub\" element={<GithubIcon />} />}\n to={\"https://github.com/webiny/webiny-js\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"slack\"}\n element={\n <Menu.Support.Link\n text={\"Slack\"}\n icon={<Menu.Support.Link.Icon label=\"Slack\" element={<SlackIcon />} />}\n to={\"https://www.webiny.com/slack\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"webiny-version\"}\n pin={\"end\"}\n element={\n <>\n <DropdownMenu.Separator />\n <DropdownMenu.Item text={<WebinyVersion />} readOnly />\n </>\n }\n />\n\n <Menu.Footer\n name={\"support\"}\n element={\n <DropdownMenu\n className={\"wby-w-[225px]\"}\n trigger={\n <Menu.Item\n text={\"Support\"}\n icon={<Menu.Item.Icon label=\"Support\" element={<InfoIcon />} />}\n action={<Menu.Item.Action element={<MoreIcon />} />}\n />\n }\n >\n <SupportMenuItems />\n </DropdownMenu>\n }\n />\n </AdminConfig>\n );\n});\n\nMenus.displayName = \"Menus\";\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,WAAW;AACpB,SAASC,aAAa;AACtB,SAASC,gBAAgB;AACzB,SAASC,WAAW;AACpB,SAASC,cAAc,IAAIC,aAAa,QAAQ,mCAAmC;AACnF,SAASD,cAAc,IAAIE,YAAY,QAAQ,4BAA4B;AAC3E,SAASF,cAAc,IAAIG,eAAe,QAAQ,+BAA+B;AACjF,SAASH,cAAc,IAAII,QAAQ,QAAQ,wBAAwB;AACnE,SAASJ,cAAc,IAAIK,iBAAiB,QAAQ,8BAA8B;AAClF,SAASL,cAAc,IAAIM,SAAS,QAAQ,2BAA2B;AACvE,SAASN,cAAc,IAAIO,QAAQ,QAAQ,6BAA6B;AACxE,SAASP,cAAc,IAAIQ,UAAU,QAAQ,yBAAyB;AACtE,SAASR,cAAc,IAAIS,QAAQ,QAAQ,6BAA6B;AACxE,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,MAAM;EAAEC;AAAK,CAAC,GAAGZ,WAAW;AAE5B,OAAO,MAAMa,KAAK,gBAAGlB,KAAK,CAACmB,IAAI,CAAC,MAAM;EAClC,oBACInB,KAAA,CAAAoB,aAAA,CAACf,WAAW,qBACRL,KAAA,CAAAoB,aAAA,CAACnB,aAAa;IAACoB,IAAI,EAAE;EAAU,gBAC3BrB,KAAA,CAAAoB,aAAA,CAACH,IAAI;IACDI,IAAI,EAAE,IAAK;IACXC,OAAO,eACHtB,KAAA,CAAAoB,aAAA,CAAClB,WAAW,QACP,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IAAI;QACNC,IAAI,EAAE,SAAU;QAChBC,IAAI,eAAE1B,KAAA,CAAAoB,aAAA,CAACH,IAAI,CAACO,IAAI,CAACG,IAAI;UAACC,KAAK,EAAC,SAAS;UAACN,OAAO,eAAEtB,KAAA,CAAAoB,aAAA,CAACV,QAAQ,MAAE;QAAE,CAAE,CAAE;QAChEgC,MAAM,eAAE1C,KAAA,CAAAoB,aAAA,CAACH,IAAI,CAACO,IAAI,CAACmB,MAAM;UAACrB,OAAO,eAAEtB,KAAA,CAAAoB,aAAA,CAACL,QAAQ,MAAE;QAAE,CAAE;MAAE,CACvD;IACJ,gBAEDf,KAAA,CAAAoB,aAAA,CAAChB,gBAAgB,MAAE,CACT;EACjB,CACJ,CACQ,CAAC;AAEtB,CAAC,CAAC;AAEFc,KAAK,CAAC0B,WAAW,GAAG,OAAO","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","ReactComponent","DashboardIcon","SettingsIcon","FileManagerIcon","InfoIcon","SlackIcon","DocsIcon","GithubIcon","MoreIcon","DropdownMenu","WebinyVersion","SupportMenuItems","AdminConfig","HasPermission","Menu","Menus","memo","createElement","name","pin","element","Link","text","icon","Item","Icon","label","to","hideIfEmpty","Support","rel","target","Fragment","Separator","readOnly","Footer","className","trigger","action","Action","displayName"],"sources":["Menus.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as DashboardIcon } from \"@webiny/icons/space_dashboard.svg\";\nimport { ReactComponent as SettingsIcon } from \"@webiny/icons/settings.svg\";\nimport { ReactComponent as FileManagerIcon } from \"@webiny/icons/folder_open.svg\";\nimport { ReactComponent as InfoIcon } from \"@webiny/icons/info.svg\";\nimport { ReactComponent as SlackIcon } from \"@webiny/icons/numbers.svg\";\nimport { ReactComponent as DocsIcon } from \"@webiny/icons/summarize.svg\";\nimport { ReactComponent as GithubIcon } from \"@webiny/icons/route.svg\";\nimport { ReactComponent as MoreIcon } from \"@webiny/icons/more_vert.svg\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\nimport { WebinyVersion } from \"./Menus/WebinyVersion.js\";\nimport { SupportMenuItems } from \"./Menus/SupportMenuItems.js\";\nimport { AdminConfig } from \"~/config/AdminConfig.js\";\nimport { HasPermission } from \"~/presentation/security/components/HasPermission.js\";\nimport { Menu } from \"~/config/AdminConfig/Menu.js\";\n\nexport const Menus = React.memo(() => {\n return (\n <AdminConfig>\n <HasPermission name={\"fm.file\"}>\n <Menu\n name={\"fileManager\"}\n pin={\"start\"}\n element={\n <Menu.Link\n text={\"File Manager\"}\n icon={\n <Menu.Item.Icon\n label=\"File Manager\"\n element={<FileManagerIcon />}\n />\n }\n to={\"/file-manager\"}\n />\n }\n />\n </HasPermission>\n <Menu\n name={\"home\"}\n pin={\"start\"}\n element={\n <Menu.Link\n to={\"/\"}\n text={\"Home\"}\n icon={<Menu.Link.Icon label=\"Home\" element={<DashboardIcon />} />}\n />\n }\n />\n <Menu\n name={\"settings\"}\n hideIfEmpty={true}\n pin={\"end\"}\n element={\n <Menu.Item\n text={\"Settings\"}\n icon={<Menu.Link.Icon label=\"Settings\" element={<SettingsIcon />} />}\n />\n }\n />\n\n <Menu.Support\n name={\"docs\"}\n element={\n <Menu.Support.Link\n text={\"Documentation\"}\n icon={<Menu.Support.Link.Icon label=\"Docs\" element={<DocsIcon />} />}\n to={\"https://www.webiny.com/docs\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"github\"}\n element={\n <Menu.Support.Link\n text={\"GitHub\"}\n icon={<Menu.Support.Link.Icon label=\"GitHub\" element={<GithubIcon />} />}\n to={\"https://github.com/webiny/webiny-js\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"slack\"}\n element={\n <Menu.Support.Link\n text={\"Slack\"}\n icon={<Menu.Support.Link.Icon label=\"Slack\" element={<SlackIcon />} />}\n to={\"https://www.webiny.com/slack\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n />\n }\n />\n\n <Menu.Support\n name={\"webiny-version\"}\n pin={\"end\"}\n element={\n <>\n <DropdownMenu.Separator />\n <DropdownMenu.Item text={<WebinyVersion />} readOnly />\n </>\n }\n />\n\n <Menu.Footer\n name={\"support\"}\n element={\n <DropdownMenu\n className={\"w-[225px]\"}\n trigger={\n <Menu.Item\n text={\"Support\"}\n icon={<Menu.Item.Icon label=\"Support\" element={<InfoIcon />} />}\n action={<Menu.Item.Action element={<MoreIcon />} />}\n />\n }\n >\n <SupportMenuItems />\n </DropdownMenu>\n }\n />\n </AdminConfig>\n );\n});\n\nMenus.displayName = \"Menus\";\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,aAAa,QAAQ,mCAAmC;AACnF,SAASD,cAAc,IAAIE,YAAY,QAAQ,4BAA4B;AAC3E,SAASF,cAAc,IAAIG,eAAe,QAAQ,+BAA+B;AACjF,SAASH,cAAc,IAAII,QAAQ,QAAQ,wBAAwB;AACnE,SAASJ,cAAc,IAAIK,SAAS,QAAQ,2BAA2B;AACvE,SAASL,cAAc,IAAIM,QAAQ,QAAQ,6BAA6B;AACxE,SAASN,cAAc,IAAIO,UAAU,QAAQ,yBAAyB;AACtE,SAASP,cAAc,IAAIQ,QAAQ,QAAQ,6BAA6B;AACxE,SAASC,YAAY,QAAQ,kBAAkB;AAC/C,SAASC,aAAa;AACtB,SAASC,gBAAgB;AACzB,SAASC,WAAW;AACpB,SAASC,aAAa;AACtB,SAASC,IAAI;AAEb,OAAO,MAAMC,KAAK,gBAAGhB,KAAK,CAACiB,IAAI,CAAC,MAAM;EAClC,oBACIjB,KAAA,CAAAkB,aAAA,CAACL,WAAW,qBACRb,KAAA,CAAAkB,aAAA,CAACJ,aAAa;IAACK,IAAI,EAAE;EAAU,gBAC3BnB,KAAA,CAAAkB,aAAA,CAACH,IAAI;IACDI,IAAI,EAAE,aAAc;IACpBC,GAAG,EAAE,OAAQ;IACbC,OAAO,eACHrB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+1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Dashboard, AdminLayout, NotFound } from "../../index.js";
|
|
3
|
+
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
4
|
+
import { Routes } from "../../routes.js";
|
|
5
|
+
import { FileManager } from "../../index.js";
|
|
6
|
+
import { Route } from "../../config/AdminConfig/Route.js";
|
|
7
|
+
export const RoutesConfig = /*#__PURE__*/React.memo(() => {
|
|
8
|
+
return /*#__PURE__*/React.createElement(AdminConfig, null, /*#__PURE__*/React.createElement(Route, {
|
|
9
|
+
route: Routes.Dashboard,
|
|
10
|
+
element: /*#__PURE__*/React.createElement(AdminLayout, {
|
|
11
|
+
title: "Welcome!"
|
|
12
|
+
}, /*#__PURE__*/React.createElement(Dashboard, null))
|
|
13
|
+
}), /*#__PURE__*/React.createElement(Route, {
|
|
14
|
+
route: Routes.FileManager,
|
|
15
|
+
element: /*#__PURE__*/React.createElement(AdminLayout, {
|
|
16
|
+
title: "File Manager"
|
|
17
|
+
}, /*#__PURE__*/React.createElement(FileManager, {
|
|
18
|
+
overlay: false,
|
|
19
|
+
show: true
|
|
20
|
+
}))
|
|
21
|
+
}), /*#__PURE__*/React.createElement(Route, {
|
|
22
|
+
route: Routes.CatchAll,
|
|
23
|
+
element: /*#__PURE__*/React.createElement(AdminLayout, {
|
|
24
|
+
title: "Not Accessible"
|
|
25
|
+
}, /*#__PURE__*/React.createElement(NotFound, null))
|
|
26
|
+
}));
|
|
27
|
+
});
|
|
28
|
+
RoutesConfig.displayName = "Routes";
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=RoutesConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Dashboard","AdminLayout","NotFound","AdminConfig","Routes","FileManager","Route","RoutesConfig","memo","createElement","route","element","title","overlay","show","CatchAll","displayName"],"sources":["RoutesConfig.tsx"],"sourcesContent":["import React from \"react\";\nimport { Dashboard, AdminLayout, NotFound } from \"~/index.js\";\nimport { AdminConfig } from \"~/config/AdminConfig.js\";\nimport { Routes } from \"~/routes.js\";\nimport { FileManager } from \"~/index.js\";\nimport { Route } from \"~/config/AdminConfig/Route.js\";\n\nexport const RoutesConfig = React.memo(() => {\n return (\n <AdminConfig>\n <Route\n route={Routes.Dashboard}\n element={\n <AdminLayout title={\"Welcome!\"}>\n <Dashboard />\n </AdminLayout>\n }\n />\n\n <Route\n route={Routes.FileManager}\n element={\n <AdminLayout title={\"File Manager\"}>\n <FileManager overlay={false} show={true} />\n </AdminLayout>\n }\n />\n\n <Route\n route={Routes.CatchAll}\n element={\n <AdminLayout title={\"Not Accessible\"}>\n <NotFound />\n </AdminLayout>\n }\n />\n </AdminConfig>\n );\n});\n\nRoutesConfig.displayName = \"Routes\";\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,WAAW,EAAEC,QAAQ;AACzC,SAASC,WAAW;AACpB,SAASC,MAAM;AACf,SAASC,WAAW;AACpB,SAASC,KAAK;AAEd,OAAO,MAAMC,YAAY,gBAAGR,KAAK,CAACS,IAAI,CAAC,MAAM;EACzC,oBACIT,KAAA,CAAAU,aAAA,CAACN,WAAW,qBACRJ,KAAA,CAAAU,aAAA,CAACH,KAAK;IACFI,KAAK,EAAEN,MAAM,CAACJ,SAAU;IACxBW,OAAO,eACHZ,KAAA,CAAAU,aAAA,CAACR,WAAW;MAACW,KAAK,EAAE;IAAW,gBAC3Bb,KAAA,CAAAU,aAAA,CAACT,SAAS,MAAE,CACH;EAChB,CACJ,CAAC,eAEFD,KAAA,CAAAU,aAAA,CAACH,KAAK;IACFI,KAAK,EAAEN,MAAM,CAACC,WAAY;IAC1BM,OAAO,eACHZ,KAAA,CAAAU,aAAA,CAACR,WAAW;MAACW,KAAK,EAAE;IAAe,gBAC/Bb,KAAA,CAAAU,aAAA,CAACJ,WAAW;MAACQ,OAAO,EAAE,KAAM;MAACC,IAAI,EAAE;IAAK,CAAE,CACjC;EAChB,CACJ,CAAC,eAEFf,KAAA,CAAAU,aAAA,CAACH,KAAK;IACFI,KAAK,EAAEN,MAAM,CAACW,QAAS;IACvBJ,OAAO,eACHZ,KAAA,CAAAU,aAAA,CAACR,WAAW;MAACW,KAAK,EAAE;IAAiB,gBACjCb,KAAA,CAAAU,aAAA,CAACP,QAAQ,MAAE,CACF;EAChB,CACJ,CACQ,CAAC;AAEtB,CAAC,CAAC;AAEFK,YAAY,CAACS,WAAW,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="inherit" viewBox="0 0 413 136" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Logo</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M113.8653,106.64105 L67.5565,133.37785 C63.1738,135.90765 57.7745,135.90765 53.3919,133.37785 L7.0822,106.64105 C2.6996,104.11045 -4.91085111e-15,99.43505 -4.60099098e-15,94.37465 L-1.32667732e-15,40.90105 C-1.01681719e-15,35.84065 2.6996,31.16455 7.0822,28.63475 L53.3919,1.89795 C57.7745,-0.63265 63.1738,-0.63265 67.5565,1.89795 L113.8653,28.63475 C118.248,31.16455 120.9476,35.84065 120.9476,40.90105 L120.9476,94.37465 C120.9476,99.43505 118.248,104.11045 113.8653,106.64105 Z M88.4639,45.0833 C84.9908,54.8825 81.4929,64.7065 77.9959,74.5412 L76.886,74.5412 C73.4006,64.6826 69.9035,54.8347 66.4181,45 L55.5444,45 C52.0111,54.9427 48.5141,64.7897 45.0171,74.6492 L44.002,74.6492 C40.4572,64.6941 36.9124,54.7398 33.4862,45.1311 L20.5,45.1311 C26.8146,63.214 32.9734,80.8434 39.1321,98.4728 L49.8507,98.4728 L60.4622,68.6446 L61.5366,68.6446 C65.0814,78.6475 68.6147,88.662 72.0878,98.4488 L82.8304,98.4488 C89.013,80.7477 95.1718,63.1068 101.4625,45.0833 L88.4639,45.0833 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="Page-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<g id="Webiny-Logo-Icon" transform="translate(-95.000000, -227.000000)">
|
|
11
|
+
<g id="Logo" transform="translate(95.000000, 226.598492)">
|
|
12
|
+
<path d="M266.606118,87.28355 L266.606118,96.05205 L306.300318,96.05205 L306.300318,87.28355 L266.606118,87.28355 Z M306.344818,184.06705 L306.344818,174.89865 C298.508918,174.89865 291.063818,174.91595 283.618718,174.88955 C278.670418,174.86315 275.188318,171.34475 275.232818,166.50285 C275.268318,161.61645 277.746918,159.35135 283.255118,159.31585 C289.766718,159.27135 296.287518,159.31585 302.799918,159.28945 C303.981618,159.28045 305.163218,159.08495 306.291218,158.97865 L306.291218,150.41375 C305.935818,150.26285 305.749418,150.11195 305.562318,150.11195 C296.261118,150.08555 286.941718,149.93385 277.639718,150.11195 C273.109518,150.20105 269.564718,152.33255 267.663218,156.80175 C270.710818,161.37645 270.443718,166.44095 269.821918,171.51375 C269.306618,175.65395 269.591118,179.70425 270.488218,184.15535 C282.481618,184.11985 294.386818,184.25345 306.344818,184.06705 L306.344818,184.06705 Z M296.980918,141.51245 C300.836618,141.40525 303.670718,138.93565 305.305018,135.39085 C306.992918,131.73055 307.721818,127.83035 306.797518,123.92185 C306.033118,120.68785 304.638718,117.60475 303.483518,114.36255 C304.700618,112.95835 306.086718,111.35045 307.623718,109.59155 C305.651318,107.39735 303.954418,105.49595 302.258218,103.60355 C297.176418,107.65465 297.176418,107.65465 290.557518,107.65465 C283.734218,107.65465 276.902618,107.65465 270.080018,107.66375 C268.978418,107.66375 267.867718,107.76185 266.623418,107.82375 L266.623418,116.86765 L288.860518,116.86765 C293.693418,116.86765 296.936418,119.39085 298.153518,124.09915 C299.575018,129.60725 297.398218,132.48585 291.730018,132.50405 C284.498518,132.53045 277.258018,132.50405 270.017418,132.52135 C268.915718,132.52135 267.814118,132.62775 266.695218,132.69035 L266.695218,141.59245 C276.947118,141.59245 286.968118,141.76975 296.980918,141.51245 L296.980918,141.51245 Z M298.615218,22.89265 C298.313418,27.28095 296.536518,28.97795 292.085418,28.67535 C287.617118,24.23335 289.509518,18.71695 289.206918,13.51965 C294.724118,13.89235 298.935218,18.21895 298.615218,22.89265 L298.615218,22.89265 Z M278.475018,35.66775 C277.497918,33.41995 276.591718,31.45665 275.800918,29.44875 C274.548418,26.30385 274.183918,23.04355 274.859318,19.70315 C275.525518,16.38015 277.116118,14.78125 280.624718,14.15045 C280.624718,16.04285 280.633818,17.87265 280.624718,19.69405 C280.581018,23.99425 281.184618,28.16905 283.227918,32.00745 C287.412618,39.85165 298.242518,40.82045 303.430718,33.72175 C308.938918,26.19665 308.468118,14.96765 300.729418,8.46425 C294.928618,3.59595 288.140718,2.64525 280.873718,3.80955 C274.939318,4.76845 270.452718,7.83345 267.778718,13.17335 C263.976518,20.76025 265.993518,33.50895 271.980718,40.13605 C274.131218,38.65265 276.307218,37.15115 278.475018,35.66775 L278.475018,35.66775 Z M283.272418,203.75375 C289.118618,201.22155 293.018018,194.18545 292.111818,187.73565 C292.031818,187.15845 291.668218,186.62575 291.383718,185.96775 L282.339818,185.96775 C282.535218,187.18485 282.775218,188.18915 282.837018,189.20175 C282.997018,191.74225 281.619918,194.22995 279.639318,195.13615 C277.417918,196.15785 274.246618,195.57155 272.531518,193.61735 C271.669818,192.63115 270.799118,191.45855 270.470918,190.22335 C269.680118,187.25575 268.826718,184.21795 268.703018,181.17035 C268.463018,175.60035 268.826718,170.00315 268.658518,164.42405 C268.515818,159.91125 266.206218,155.66465 262.350518,153.31875 C255.651618,149.25025 246.359518,151.15995 241.845818,157.30805 C237.466518,163.27795 238.248218,172.18005 243.685418,177.46555 C247.603018,181.27755 252.489418,182.92095 258.103918,183.78265 L258.103918,174.46325 C257.091418,174.14335 255.891618,173.85885 254.763618,173.39715 C253.528418,172.89085 252.267618,172.36635 251.174218,171.62015 C248.473718,169.77225 247.585718,166.45005 248.891018,163.68695 C249.921718,161.50095 252.915718,160.06205 255.429818,160.54195 C258.512918,161.12825 259.605518,162.70985 259.614518,166.72545 C259.631918,172.41095 259.436418,178.09635 259.623618,183.77355 C259.819018,189.45975 261.453318,194.77175 265.042718,199.31185 C269.271118,204.66905 276.928918,206.49875 283.272418,203.75375 L283.272418,203.75375 Z M278.448618,69.76465 C275.330118,67.39235 274.530318,64.05205 274.548418,60.41815 C274.557518,58.66835 274.832918,56.91785 275.028318,54.65275 C281.238218,54.65275 287.226218,54.42185 293.187118,54.75085 C296.145618,54.90995 297.789018,57.48675 298.553418,60.16085 C299.450518,63.27945 299.192418,66.34435 296.651918,68.78755 C292.307218,72.94505 283.255118,73.41585 278.448618,69.76465 L278.448618,69.76465 Z M291.863618,81.19825 C302.133718,79.71485 308.308118,71.94075 307.703718,61.64425 C307.570118,59.41465 306.851118,57.22045 306.317618,54.63455 L323.117418,54.63455 L323.117418,45.24435 L268.045018,45.24435 C266.579718,49.45545 265.513518,57.99305 265.859918,62.26605 C266.686118,72.48325 271.847918,78.95045 281.415518,80.94915 C284.783018,81.65995 288.451518,81.69545 291.863618,81.19825 L291.863618,81.19825 Z M306.309318,-6.53145 C299.015218,-9.11735 291.703718,-11.71965 284.383118,-14.32285 L284.383118,-15.14905 C291.721018,-17.74325 299.050618,-20.34635 306.371218,-22.94045 L306.371218,-31.03365 C298.970618,-33.66405 291.641018,-36.26645 284.303118,-38.86965 L284.303118,-39.62495 C291.712718,-42.26355 299.121518,-44.90215 306.273118,-47.45175 L306.273118,-57.11745 C292.814418,-52.41815 279.692118,-47.83355 266.570718,-43.24975 L266.570718,-35.27195 L288.771518,-27.37345 L288.771518,-26.57435 C281.327218,-23.93575 273.873118,-21.30615 266.588018,-18.72035 L266.588018,-10.72525 C279.763018,-6.12335 292.894318,-1.53865 306.309318,3.14325 L306.309318,-6.53145 Z" id="Fill-15" fill="#FA5A28" transform="translate(281.068188, 73.950738) rotate(-90.000000) translate(-281.068188, -73.950738) "></path>
|
|
13
|
+
<g id="Webiny-Icon-Orange" transform="translate(-0.000000, 0.901508)">
|
|
14
|
+
<mask id="mask-2" fill="white">
|
|
15
|
+
<use xlink:href="#path-1"></use>
|
|
16
|
+
</mask>
|
|
17
|
+
<use id="Mask" fill="#FA5A28" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
18
|
+
<g id="Orange" mask="url(#mask-2)"></g>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</g>
|
|
23
|
+
</svg>
|
package/base/Base/Tenant.js
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { AdminConfig } from "../../config/AdminConfig";
|
|
3
|
-
import
|
|
2
|
+
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
3
|
+
import { ReactComponent as SquareLogo } from "./Tenant/wby-square.svg";
|
|
4
|
+
import { ReactComponent as HorizontalLogo } from "./Tenant/wby-horizontal.svg";
|
|
4
5
|
export const Tenant = /*#__PURE__*/React.memo(() => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
+
Title,
|
|
8
|
+
Logo
|
|
7
9
|
} = AdminConfig;
|
|
8
|
-
return /*#__PURE__*/React.createElement(AdminConfig.Public, null, /*#__PURE__*/React.createElement(
|
|
10
|
+
return /*#__PURE__*/React.createElement(AdminConfig.Public, null, /*#__PURE__*/React.createElement(Title, {
|
|
9
11
|
value: "Webiny"
|
|
10
|
-
}), /*#__PURE__*/React.createElement(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
}), /*#__PURE__*/React.createElement(Logo, {
|
|
13
|
+
squareLogo: /*#__PURE__*/React.createElement(SquareLogo, {
|
|
14
|
+
alt: "Webiny",
|
|
15
|
+
width: 32
|
|
16
|
+
}),
|
|
17
|
+
horizontalLogo: /*#__PURE__*/React.createElement(HorizontalLogo, {
|
|
18
|
+
width: 175
|
|
14
19
|
})
|
|
15
|
-
}))
|
|
20
|
+
}));
|
|
16
21
|
});
|
|
17
22
|
Tenant.displayName = "Tenant";
|
|
18
23
|
|
package/base/Base/Tenant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","AdminConfig","
|
|
1
|
+
{"version":3,"names":["React","AdminConfig","ReactComponent","SquareLogo","HorizontalLogo","Tenant","memo","Title","Logo","createElement","Public","value","squareLogo","alt","width","horizontalLogo","displayName"],"sources":["Tenant.tsx"],"sourcesContent":["import React from \"react\";\nimport { AdminConfig } from \"~/config/AdminConfig.js\";\nimport { ReactComponent as SquareLogo } from \"./Tenant/wby-square.svg\";\nimport { ReactComponent as HorizontalLogo } from \"./Tenant/wby-horizontal.svg\";\n\nexport const Tenant = React.memo(() => {\n const { Title, Logo } = AdminConfig;\n return (\n <AdminConfig.Public>\n <Title value={\"Webiny\"} />\n <Logo\n squareLogo={<SquareLogo alt={\"Webiny\"} width={32} />}\n horizontalLogo={<HorizontalLogo width={175} />}\n />\n </AdminConfig.Public>\n );\n});\n\nTenant.displayName = \"Tenant\";\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW;AACpB,SAASC,cAAc,IAAIC,UAAU;AACrC,SAASD,cAAc,IAAIE,cAAc;AAEzC,OAAO,MAAMC,MAAM,gBAAGL,KAAK,CAACM,IAAI,CAAC,MAAM;EACnC,MAAM;IAAEC,KAAK;IAAEC;EAAK,CAAC,GAAGP,WAAW;EACnC,oBACID,KAAA,CAAAS,aAAA,CAACR,WAAW,CAACS,MAAM,qBACfV,KAAA,CAAAS,aAAA,CAACF,KAAK;IAACI,KAAK,EAAE;EAAS,CAAE,CAAC,eAC1BX,KAAA,CAAAS,aAAA,CAACD,IAAI;IACDI,UAAU,eAAEZ,KAAA,CAAAS,aAAA,CAACN,UAAU;MAACU,GAAG,EAAE,QAAS;MAACC,KAAK,EAAE;IAAG,CAAE,CAAE;IACrDC,cAAc,eAAEf,KAAA,CAAAS,aAAA,CAACL,cAAc;MAACU,KAAK,EAAE;IAAI,CAAE;EAAE,CAClD,CACe,CAAC;AAE7B,CAAC,CAAC;AAEFT,MAAM,CAACW,WAAW,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const ExitTenant: (() => React.JSX.Element | null) & {
|
|
3
|
+
original: () => React.JSX.Element | null;
|
|
4
|
+
originalName: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
} & {
|
|
7
|
+
original: (() => React.JSX.Element | null) & {
|
|
8
|
+
original: () => React.JSX.Element | null;
|
|
9
|
+
originalName: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
originalName: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
} & {
|
|
15
|
+
createDecorator: (decorator: import("@webiny/app").ComponentDecorator<(() => React.JSX.Element | null) & {
|
|
16
|
+
original: () => React.JSX.Element | null;
|
|
17
|
+
originalName: string;
|
|
18
|
+
displayName: string;
|
|
19
|
+
}>) => (props: unknown) => React.JSX.Element;
|
|
20
|
+
};
|