@webiny/app-admin 6.3.0 → 6.4.0-beta.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/assets/icons/add-18px.js +20 -0
- package/assets/icons/add-18px.js.map +1 -0
- package/assets/icons/arrow_drop_down-24px.js +20 -0
- package/assets/icons/arrow_drop_down-24px.js.map +1 -0
- package/assets/icons/attach_file_black_24dp.js +20 -0
- package/assets/icons/attach_file_black_24dp.js.map +1 -0
- package/assets/icons/baseline-menu-24px.js +20 -0
- package/assets/icons/baseline-menu-24px.js.map +1 -0
- package/assets/icons/baseline-notification_important-24px.js +19 -0
- package/assets/icons/baseline-notification_important-24px.js.map +1 -0
- package/assets/icons/baseline-security-24px.js +19 -0
- package/assets/icons/baseline-security-24px.js.map +1 -0
- package/assets/icons/file_download.js +19 -0
- package/assets/icons/file_download.js.map +1 -0
- package/assets/icons/file_upload.js +19 -0
- package/assets/icons/file_upload.js.map +1 -0
- package/assets/icons/filter-24px.js +23 -0
- package/assets/icons/filter-24px.js.map +1 -0
- package/assets/icons/github-brands.js +19 -0
- package/assets/icons/github-brands.js.map +1 -0
- package/assets/icons/highlight-24px.js +19 -0
- package/assets/icons/highlight-24px.js.map +1 -0
- package/assets/icons/icon-community.js +18 -0
- package/assets/icons/icon-community.js.map +1 -0
- package/assets/icons/icon-documentation.js +18 -0
- package/assets/icons/icon-documentation.js.map +1 -0
- package/assets/icons/info.js +19 -0
- package/assets/icons/info.js.map +1 -0
- package/assets/icons/insert_drive_file-24px.js +19 -0
- package/assets/icons/insert_drive_file-24px.js.map +1 -0
- package/assets/icons/insert_photo-24px.js +19 -0
- package/assets/icons/insert_photo-24px.js.map +1 -0
- package/assets/icons/label-24px.js +19 -0
- package/assets/icons/label-24px.js.map +1 -0
- package/assets/icons/round-account_circle-24px.js +19 -0
- package/assets/icons/round-account_circle-24px.js.map +1 -0
- package/assets/icons/round-add-24px.js +20 -0
- package/assets/icons/round-add-24px.js.map +1 -0
- package/assets/icons/round-arrow_drop_down-24px.js +19 -0
- package/assets/icons/round-arrow_drop_down-24px.js.map +1 -0
- package/assets/icons/round-chevron_right-24px.js +20 -0
- package/assets/icons/round-chevron_right-24px.js.map +1 -0
- package/assets/icons/round-feedback-24px.js +20 -0
- package/assets/icons/round-feedback-24px.js.map +1 -0
- package/assets/icons/round-help-24px.js +19 -0
- package/assets/icons/round-help-24px.js.map +1 -0
- package/assets/icons/round-invert_colors-24px.js +20 -0
- package/assets/icons/round-invert_colors-24px.js.map +1 -0
- package/assets/icons/round-keyboard_arrow_down-24px.js +17 -0
- package/assets/icons/round-keyboard_arrow_down-24px.js.map +1 -0
- package/assets/icons/round-keyboard_arrow_up-24px.js +17 -0
- package/assets/icons/round-keyboard_arrow_up-24px.js.map +1 -0
- package/assets/icons/round-lock_open-24px.js +22 -0
- package/assets/icons/round-lock_open-24px.js.map +1 -0
- package/assets/icons/round-more_vert-24px.js +20 -0
- package/assets/icons/round-more_vert-24px.js.map +1 -0
- package/assets/icons/round-open_in_new-24px.js +20 -0
- package/assets/icons/round-open_in_new-24px.js.map +1 -0
- package/assets/icons/round-settings-24px.js +20 -0
- package/assets/icons/round-settings-24px.js.map +1 -0
- package/assets/icons/search-24px.js +21 -0
- package/assets/icons/search-24px.js.map +1 -0
- package/assets/icons/slack-logo.js +14 -0
- package/assets/icons/slack-logo.js.map +1 -0
- package/assets/icons/today-24px.js +19 -0
- package/assets/icons/today-24px.js.map +1 -0
- package/assets/icons/touch_app.js +20 -0
- package/assets/icons/touch_app.js.map +1 -0
- package/assets/images/webiny-logo.js +34 -0
- package/assets/images/webiny-logo.js.map +1 -0
- package/assets/images/webiny-orange-logo.js +34 -0
- package/assets/images/webiny-orange-logo.js.map +1 -0
- package/base/Admin.js +37 -28
- package/base/Admin.js.map +1 -1
- package/base/Base/DefaultFieldRenderers.js +73 -70
- package/base/Base/DefaultFieldRenderers.js.map +1 -1
- package/base/Base/DefaultLayoutRenderers.js +9 -10
- package/base/Base/DefaultLayoutRenderers.js.map +1 -1
- package/base/Base/FieldRenderers/CheckboxesRenderer.js +22 -23
- package/base/Base/FieldRenderers/CheckboxesRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/CodeEditorRenderer.js +10 -13
- package/base/Base/FieldRenderers/CodeEditorRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/DateTimeInputsRenderer.js +60 -60
- package/base/Base/FieldRenderers/DateTimeInputsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/DateTimeRenderer.js +38 -39
- package/base/Base/FieldRenderers/DateTimeRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/FilePickerRenderer.d.ts +2 -1
- package/base/Base/FieldRenderers/FilePickerRenderer.js +37 -40
- package/base/Base/FieldRenderers/FilePickerRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/FileUrlPickerRenderer.js +15 -20
- package/base/Base/FieldRenderers/FileUrlPickerRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/HiddenRenderer.js +3 -3
- package/base/Base/FieldRenderers/HiddenRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/HorizontalTabsRenderer.js +20 -21
- package/base/Base/FieldRenderers/HorizontalTabsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/InputRenderer.js +16 -20
- package/base/Base/FieldRenderers/InputRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/MultiFilePickerRenderer.d.ts +13 -0
- package/base/Base/FieldRenderers/MultiFilePickerRenderer.js +70 -0
- package/base/Base/FieldRenderers/MultiFilePickerRenderer.js.map +1 -0
- package/base/Base/FieldRenderers/NumberInputRenderer.js +16 -19
- package/base/Base/FieldRenderers/NumberInputRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/NumberInputsRenderer.js +45 -44
- package/base/Base/FieldRenderers/NumberInputsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js +10 -13
- package/base/Base/FieldRenderers/ObjectRenderer/DynamicZoneRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js +50 -56
- package/base/Base/FieldRenderers/ObjectRenderer/KeyValueTagsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js +87 -99
- package/base/Base/FieldRenderers/ObjectRenderer/MultiValueDynamicZone.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js +41 -48
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectAccordionMultipleRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.d.ts +1 -2
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js +62 -78
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectFieldComponents.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js +12 -15
- package/base/Base/FieldRenderers/ObjectRenderer/ObjectRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js +48 -54
- package/base/Base/FieldRenderers/ObjectRenderer/SingleValueDynamicZone.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js +62 -79
- package/base/Base/FieldRenderers/ObjectRenderer/TemplatePicker.js.map +1 -1
- package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js +14 -17
- package/base/Base/FieldRenderers/ObjectRenderer/resolveItemTitle.js.map +1 -1
- package/base/Base/FieldRenderers/PassthroughRenderer.js +8 -11
- package/base/Base/FieldRenderers/PassthroughRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/RadioButtonsRenderer.js +21 -22
- package/base/Base/FieldRenderers/RadioButtonsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/SelectRenderer.js +23 -24
- package/base/Base/FieldRenderers/SelectRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/SwitchRenderer.js +12 -15
- package/base/Base/FieldRenderers/SwitchRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/TagsRenderer.js +15 -16
- package/base/Base/FieldRenderers/TagsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/TextInputsRenderer.js +44 -43
- package/base/Base/FieldRenderers/TextInputsRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/TextareaRenderer.js +17 -21
- package/base/Base/FieldRenderers/TextareaRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/TextareasRenderer.js +47 -46
- package/base/Base/FieldRenderers/TextareasRenderer.js.map +1 -1
- package/base/Base/FieldRenderers/VerticalTabsRenderer.js +35 -36
- package/base/Base/FieldRenderers/VerticalTabsRenderer.js.map +1 -1
- package/base/Base/LexicalPreset.js +56 -60
- package/base/Base/LexicalPreset.js.map +1 -1
- package/base/Base/Menus/SupportMenuItems.js +9 -13
- package/base/Base/Menus/SupportMenuItems.js.map +1 -1
- package/base/Base/Menus/WebinyVersion.js +19 -20
- package/base/Base/Menus/WebinyVersion.js.map +1 -1
- package/base/Base/Menus.js +52 -66
- package/base/Base/Menus.js.map +1 -1
- package/base/Base/RoutesConfig.js +21 -29
- package/base/Base/RoutesConfig.js.map +1 -1
- package/base/Base/Tenant/wby-horizontal.js +33 -0
- package/base/Base/Tenant/wby-horizontal.js.map +1 -0
- package/base/Base/Tenant/wby-square.js +20 -0
- package/base/Base/Tenant/wby-square.js.map +1 -0
- package/base/Base/Tenant.js +17 -19
- package/base/Base/Tenant.js.map +1 -1
- package/base/Base/UserMenu/ExitTenant.js +18 -29
- package/base/Base/UserMenu/ExitTenant.js.map +1 -1
- package/base/Base/UserMenu/SignOut.js +13 -14
- package/base/Base/UserMenu/SignOut.js.map +1 -1
- package/base/Base/UserMenu/UserInfo.js +23 -36
- package/base/Base/UserMenu/UserInfo.js.map +1 -1
- package/base/Base/UserMenu.js +12 -13
- package/base/Base/UserMenu.js.map +1 -1
- package/base/Base.js +4 -5
- package/base/Base.js.map +1 -1
- package/base/TelemetryAdminAppStart.js +9 -12
- package/base/TelemetryAdminAppStart.js.map +1 -1
- package/base/WebinyVersion.js +19 -20
- package/base/WebinyVersion.js.map +1 -1
- package/base/createRootContainer.js +42 -40
- package/base/createRootContainer.js.map +1 -1
- package/base/plugins/AddGraphQLQuerySelection.js +12 -11
- package/base/plugins/AddGraphQLQuerySelection.js.map +1 -1
- package/base/providers/AdminUiStateProvider.js +5 -10
- package/base/providers/AdminUiStateProvider.js.map +1 -1
- package/base/providers/ApolloProvider.js +8 -11
- package/base/providers/ApolloProvider.js.map +1 -1
- package/base/providers/UiProviders.js +18 -27
- package/base/providers/UiProviders.js.map +1 -1
- package/base/providers/UiStateProvider.js +5 -10
- package/base/providers/UiStateProvider.js.map +1 -1
- package/base/ui/Brand.js +4 -5
- package/base/ui/Brand.js.map +1 -1
- package/base/ui/CenteredView.d.ts +1 -1
- package/base/ui/CenteredView.js +9 -13
- package/base/ui/CenteredView.js.map +1 -1
- package/base/ui/Dashboard.js +4 -5
- package/base/ui/Dashboard.js.map +1 -1
- package/base/ui/FileManager.js +38 -60
- package/base/ui/FileManager.js.map +1 -1
- package/base/ui/Layout.js +4 -8
- package/base/ui/Layout.js.map +1 -1
- package/base/ui/LoginScreen.js +16 -21
- package/base/ui/LoginScreen.js.map +1 -1
- package/base/ui/Logo.js +4 -5
- package/base/ui/Logo.js.map +1 -1
- package/base/ui/Navigation.js +11 -14
- package/base/ui/Navigation.js.map +1 -1
- package/base/ui/NotFound.js +4 -5
- package/base/ui/NotFound.js.map +1 -1
- package/base/ui/Tags.js +12 -16
- package/base/ui/Tags.js.map +1 -1
- package/base/ui/TenantSelector.js +4 -5
- package/base/ui/TenantSelector.js.map +1 -1
- package/base/ui/UserMenu/UserMenu.js +4 -5
- package/base/ui/UserMenu/UserMenu.js.map +1 -1
- package/base/ui/UserMenu/UserMenuHandle.js +4 -5
- package/base/ui/UserMenu/UserMenuHandle.js.map +1 -1
- package/base/ui/UserMenu/UserMenuItem.d.ts +4 -4
- package/base/ui/UserMenu/UserMenuItem.js +5 -15
- package/base/ui/UserMenu/UserMenuItem.js.map +1 -1
- package/base/ui/UserMenu/UserMenuLink.d.ts +4 -4
- package/base/ui/UserMenu/UserMenuLink.js +5 -15
- package/base/ui/UserMenu/UserMenuLink.js.map +1 -1
- package/base/ui/UserMenu/UserMenuSeparator.d.ts +2 -2
- package/base/ui/UserMenu/UserMenuSeparator.js +3 -5
- package/base/ui/UserMenu/UserMenuSeparator.js.map +1 -1
- package/base/ui/UserMenu.js +6 -13
- package/base/ui/UserMenu.js.map +1 -1
- package/components/AdminLayout.js +6 -10
- package/components/AdminLayout.js.map +1 -1
- package/components/BulkActions/Worker.js +57 -120
- package/components/BulkActions/Worker.js.map +1 -1
- package/components/BulkActions/index.js +0 -2
- package/components/BulkActions/useDialogWithReport/DialogMessage.js +17 -21
- package/components/BulkActions/useDialogWithReport/DialogMessage.js.map +1 -1
- package/components/BulkActions/useDialogWithReport/index.js +0 -2
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js +33 -44
- package/components/BulkActions/useDialogWithReport/useDialogWithReport.js.map +1 -1
- package/components/Buttons/Buttons.js +44 -71
- package/components/Buttons/Buttons.js.map +1 -1
- package/components/Buttons/Buttons.styles.js +9 -15
- package/components/Buttons/Buttons.styles.js.map +1 -1
- package/components/Buttons/index.js +1 -3
- package/components/Buttons/useButtons.js +15 -20
- package/components/Buttons/useButtons.js.map +1 -1
- package/components/DeveloperMode/DeveloperMode.js +5 -14
- package/components/DeveloperMode/DeveloperMode.js.map +1 -1
- package/components/DeveloperMode/index.js +0 -2
- package/components/Dialogs/Dialog.d.ts +2 -2
- package/components/Dialogs/Dialog.js +46 -59
- package/components/Dialogs/Dialog.js.map +1 -1
- package/components/Dialogs/DialogParamsContext.js +6 -7
- package/components/Dialogs/DialogParamsContext.js.map +1 -1
- package/components/Dialogs/DialogsContext.d.ts +2 -2
- package/components/Dialogs/DialogsContext.js +129 -149
- package/components/Dialogs/DialogsContext.js.map +1 -1
- package/components/Dialogs/useDialogs.js +5 -6
- package/components/Dialogs/useDialogs.js.map +1 -1
- package/components/EmptyView.js +26 -31
- package/components/EmptyView.js.map +1 -1
- package/components/Filters/Filters.js +15 -16
- package/components/Filters/Filters.js.map +1 -1
- package/components/Filters/FiltersToggle.js +18 -23
- package/components/Filters/FiltersToggle.js.map +1 -1
- package/components/Filters/index.js +0 -2
- package/components/FloatingActionButton.js +13 -15
- package/components/FloatingActionButton.js.map +1 -1
- package/components/IconPicker/IconPicker.js +24 -26
- package/components/IconPicker/IconPicker.js.map +1 -1
- package/components/IconPicker/IconPickerComponent.js +56 -72
- package/components/IconPicker/IconPickerComponent.js.map +1 -1
- package/components/IconPicker/IconPickerPresenter.js +64 -70
- package/components/IconPicker/IconPickerPresenter.js.map +1 -1
- package/components/IconPicker/IconPickerPresenter.test.js +79 -105
- package/components/IconPicker/IconPickerPresenter.test.js.map +1 -1
- package/components/IconPicker/IconPickerPresenterProvider.js +10 -16
- package/components/IconPicker/IconPickerPresenterProvider.js.map +1 -1
- package/components/IconPicker/IconPickerTab.js +97 -140
- package/components/IconPicker/IconPickerTab.js.map +1 -1
- package/components/IconPicker/IconRenderer.js +15 -23
- package/components/IconPicker/IconRenderer.js.map +1 -1
- package/components/IconPicker/IconRepository.js +41 -40
- package/components/IconPicker/IconRepository.js.map +1 -1
- package/components/IconPicker/IconRepository.test.js +56 -63
- package/components/IconPicker/IconRepository.test.js.map +1 -1
- package/components/IconPicker/IconRepositoryFactory.js +15 -11
- package/components/IconPicker/IconRepositoryFactory.js.map +1 -1
- package/components/IconPicker/Loading.js +47 -46
- package/components/IconPicker/Loading.js.map +1 -1
- package/components/IconPicker/components/IconPickerCell.js +18 -20
- package/components/IconPicker/components/IconPickerCell.js.map +1 -1
- package/components/IconPicker/components/IconPickerContent.js +27 -35
- package/components/IconPicker/components/IconPickerContent.js.map +1 -1
- package/components/IconPicker/components/IconPickerRow.js +5 -10
- package/components/IconPicker/components/IconPickerRow.js.map +1 -1
- package/components/IconPicker/components/IconPickerTrigger.js +42 -44
- package/components/IconPicker/components/IconPickerTrigger.js.map +1 -1
- package/components/IconPicker/components/index.js +0 -2
- package/components/IconPicker/config/Emojis.js +19 -21
- package/components/IconPicker/config/Emojis.js.map +1 -1
- package/components/IconPicker/config/FontAwesomeIcons.js +54 -58
- package/components/IconPicker/config/FontAwesomeIcons.js.map +1 -1
- package/components/IconPicker/config/IconPackProvider.js +17 -19
- package/components/IconPicker/config/IconPackProvider.js.map +1 -1
- package/components/IconPicker/config/IconType.js +48 -80
- package/components/IconPicker/config/IconType.js.map +1 -1
- package/components/IconPicker/config/index.js +28 -31
- package/components/IconPicker/config/index.js.map +1 -1
- package/components/IconPicker/defaultIcon.js +6 -5
- package/components/IconPicker/defaultIcon.js.map +1 -1
- package/components/IconPicker/index.js +0 -2
- package/components/IconPicker/plugins/customPlugin.js +87 -110
- package/components/IconPicker/plugins/customPlugin.js.map +1 -1
- package/components/IconPicker/plugins/emojisPlugin.js +90 -115
- package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
- package/components/IconPicker/plugins/graphql.js +3 -8
- package/components/IconPicker/plugins/graphql.js.map +1 -1
- package/components/IconPicker/plugins/iconsPlugin.js +73 -104
- package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
- package/components/IconPicker/types.js +4 -7
- package/components/IconPicker/types.js.map +1 -1
- package/components/LexicalEditor/LexicalEditor.js +40 -38
- package/components/LexicalEditor/LexicalEditor.js.map +1 -1
- package/components/LexicalEditor/LexicalLinkForm.js +80 -86
- package/components/LexicalEditor/LexicalLinkForm.js.map +1 -1
- package/components/LexicalEditor/index.js +0 -2
- package/components/LexicalEditor/lexicalValueFromHtml.js +21 -28
- package/components/LexicalEditor/lexicalValueFromHtml.js.map +1 -1
- package/components/LexicalEditor/lexicalValueWithHtml.js +24 -30
- package/components/LexicalEditor/lexicalValueWithHtml.js.map +1 -1
- package/components/MultiImageUpload.js +4 -13
- package/components/MultiImageUpload.js.map +1 -1
- package/components/NotAuthorizedError/NotAuthorizedError.js +16 -17
- package/components/NotAuthorizedError/NotAuthorizedError.js.map +1 -1
- package/components/NotAuthorizedError/SecureRouteError.js +297 -0
- package/components/NotAuthorizedError/SecureRouteError.js.map +1 -0
- package/components/NotAuthorizedError/index.js +0 -2
- package/components/OptionsMenu/OptionsMenu.js +20 -19
- package/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/components/OptionsMenu/OptionsMenuItem.js +15 -14
- package/components/OptionsMenu/OptionsMenuItem.js.map +1 -1
- package/components/OptionsMenu/OptionsMenuLink.js +13 -14
- package/components/OptionsMenu/OptionsMenuLink.js.map +1 -1
- package/components/OptionsMenu/index.js +0 -2
- package/components/OptionsMenu/useOptionsMenuItem.js +13 -18
- package/components/OptionsMenu/useOptionsMenuItem.js.map +1 -1
- package/components/OverlayLayout/OverlayLayout.js +35 -38
- package/components/OverlayLayout/OverlayLayout.js.map +1 -1
- package/components/OverlayLayout/components/OverlayBackdrop.js +6 -11
- package/components/OverlayLayout/components/OverlayBackdrop.js.map +1 -1
- package/components/OverlayLayout/components/OverlayContent.js +18 -17
- package/components/OverlayLayout/components/OverlayContent.js.map +1 -1
- package/components/OverlayLayout/components/OverlayHeader.js +30 -37
- package/components/OverlayLayout/components/OverlayHeader.js.map +1 -1
- package/components/OverlayLayout/components/OverlayRoot.js +13 -17
- package/components/OverlayLayout/components/OverlayRoot.js.map +1 -1
- package/components/OverlayLayout/components/index.js +0 -2
- package/components/OverlayLayout/index.js +0 -2
- package/components/Permissions/CannotUseAaclAlert.js +10 -11
- package/components/Permissions/CannotUseAaclAlert.js.map +1 -1
- package/components/Permissions/Permissions.js +32 -41
- package/components/Permissions/Permissions.js.map +1 -1
- package/components/Permissions/PermissionsGroup.js +9 -15
- package/components/Permissions/PermissionsGroup.js.map +1 -1
- package/components/Permissions/StyledComponents.js +9 -16
- package/components/Permissions/StyledComponents.js.map +1 -1
- package/components/Permissions/index.js +1 -3
- package/components/RegisterFeature.js +14 -21
- package/components/RegisterFeature.js.map +1 -1
- package/components/ResizablePanels/index.js +0 -2
- package/components/RoleAutocomplete/graphql.js +3 -2
- package/components/RoleAutocomplete/graphql.js.map +1 -1
- package/components/RoleAutocomplete/index.d.ts +5 -3
- package/components/RoleAutocomplete/index.js +21 -13
- package/components/RoleAutocomplete/index.js.map +1 -1
- package/components/RolesMultiAutocomplete/graphql.js +3 -2
- package/components/RolesMultiAutocomplete/graphql.js.map +1 -1
- package/components/RolesMultiAutocomplete/index.d.ts +5 -3
- package/components/RolesMultiAutocomplete/index.js +21 -14
- package/components/RolesMultiAutocomplete/index.js.map +1 -1
- package/components/SearchUI.js +18 -25
- package/components/SearchUI.js.map +1 -1
- package/components/SimpleForm/SimpleForm.d.ts +1 -1
- package/components/SimpleForm/SimpleForm.js +54 -73
- package/components/SimpleForm/SimpleForm.js.map +1 -1
- package/components/SimpleForm/index.js +1 -3
- package/components/SimpleUI/InputField.js +71 -64
- package/components/SimpleUI/InputField.js.map +1 -1
- package/components/SingleImageUpload.d.ts +2 -2
- package/components/SingleImageUpload.js +37 -58
- package/components/SingleImageUpload.js.map +1 -1
- package/components/SplitView/SplitView.js +47 -57
- package/components/SplitView/SplitView.js.map +1 -1
- package/components/SplitView/index.js +1 -3
- package/components/TeamAutocomplete/graphql.js +3 -2
- package/components/TeamAutocomplete/graphql.js.map +1 -1
- package/components/TeamAutocomplete/index.d.ts +5 -3
- package/components/TeamAutocomplete/index.js +21 -13
- package/components/TeamAutocomplete/index.js.map +1 -1
- package/components/TeamsMultiAutocomplete/graphql.js +3 -2
- package/components/TeamsMultiAutocomplete/graphql.js.map +1 -1
- package/components/TeamsMultiAutocomplete/index.d.ts +5 -3
- package/components/TeamsMultiAutocomplete/index.js +21 -14
- package/components/TeamsMultiAutocomplete/index.js.map +1 -1
- package/components/Wcp.js +27 -38
- package/components/Wcp.js.map +1 -1
- package/components/index.js +10 -13
- package/config/AdminConfig/Dashboard.js +3 -2
- package/config/AdminConfig/Dashboard.js.map +1 -1
- package/config/AdminConfig/Dialog.js +15 -17
- package/config/AdminConfig/Dialog.js.map +1 -1
- package/config/AdminConfig/FieldRenderer.js +15 -17
- package/config/AdminConfig/FieldRenderer.js.map +1 -1
- package/config/AdminConfig/Form.js +4 -3
- package/config/AdminConfig/Form.js.map +1 -1
- package/config/AdminConfig/LayoutRenderer.js +15 -17
- package/config/AdminConfig/LayoutRenderer.js.map +1 -1
- package/config/AdminConfig/LexicalTheme/Color.js +34 -41
- package/config/AdminConfig/LexicalTheme/Color.js.map +1 -1
- package/config/AdminConfig/LexicalTheme/Typography.js +61 -74
- package/config/AdminConfig/LexicalTheme/Typography.js.map +1 -1
- package/config/AdminConfig/LexicalTheme.js +4 -3
- package/config/AdminConfig/LexicalTheme.js.map +1 -1
- package/config/AdminConfig/Logo.d.ts +1 -1
- package/config/AdminConfig/Logo.js +15 -17
- package/config/AdminConfig/Logo.js.map +1 -1
- package/config/AdminConfig/Menu/MenuGroup.d.ts +3 -3
- package/config/AdminConfig/Menu/MenuGroup.js +7 -9
- package/config/AdminConfig/Menu/MenuGroup.js.map +1 -1
- package/config/AdminConfig/Menu/MenuItem.d.ts +2 -2
- package/config/AdminConfig/Menu/MenuItem.js +5 -7
- package/config/AdminConfig/Menu/MenuItem.js.map +1 -1
- package/config/AdminConfig/Menu/MenuLink.d.ts +2 -2
- package/config/AdminConfig/Menu/MenuLink.js +12 -15
- 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 +6 -8
- 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 +4 -6
- package/config/AdminConfig/Menu/SupportMenu/SupportMenuLink.js.map +1 -1
- package/config/AdminConfig/Menu/SupportMenu.d.ts +3 -3
- package/config/AdminConfig/Menu/SupportMenu.js +30 -41
- package/config/AdminConfig/Menu/SupportMenu.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js +4 -4
- package/config/AdminConfig/Menu/UserMenu/UserMenuItem.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js +4 -4
- package/config/AdminConfig/Menu/UserMenu/UserMenuLink.js.map +1 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js +0 -2
- package/config/AdminConfig/Menu/UserMenu/types.js +0 -3
- package/config/AdminConfig/Menu/UserMenu.d.ts +31 -31
- package/config/AdminConfig/Menu/UserMenu.js +39 -52
- package/config/AdminConfig/Menu/UserMenu.js.map +1 -1
- package/config/AdminConfig/Menu/types.js +0 -3
- package/config/AdminConfig/Menu.d.ts +42 -42
- package/config/AdminConfig/Menu.js +57 -73
- package/config/AdminConfig/Menu.js.map +1 -1
- package/config/AdminConfig/Route.js +4 -5
- package/config/AdminConfig/Route.js.map +1 -1
- package/config/AdminConfig/Security.js +3 -2
- package/config/AdminConfig/Security.js.map +1 -1
- package/config/AdminConfig/SecurityPermissions.js +20 -27
- package/config/AdminConfig/SecurityPermissions.js.map +1 -1
- package/config/AdminConfig/Tenant/TenantLogo.d.ts +1 -1
- package/config/AdminConfig/Tenant/TenantLogo.js +18 -20
- package/config/AdminConfig/Tenant/TenantLogo.js.map +1 -1
- package/config/AdminConfig/Tenant/TenantName.d.ts +1 -1
- package/config/AdminConfig/Tenant/TenantName.js +14 -15
- package/config/AdminConfig/Tenant/TenantName.js.map +1 -1
- package/config/AdminConfig/Tenant.js +6 -9
- package/config/AdminConfig/Tenant.js.map +1 -1
- package/config/AdminConfig/Theme/assignColor.js +51 -18
- package/config/AdminConfig/Theme/assignColor.js.map +1 -1
- package/config/AdminConfig/Theme/consts.js +20 -2
- package/config/AdminConfig/Theme/consts.js.map +1 -1
- package/config/AdminConfig/Theme/types.js +0 -3
- package/config/AdminConfig/Theme.js +8 -15
- package/config/AdminConfig/Theme.js.map +1 -1
- package/config/AdminConfig/Title.d.ts +1 -1
- package/config/AdminConfig/Title.js +11 -12
- package/config/AdminConfig/Title.js.map +1 -1
- package/config/AdminConfig/Widget.js +24 -31
- package/config/AdminConfig/Widget.js.map +1 -1
- package/config/AdminConfig.js +47 -59
- package/config/AdminConfig.js.map +1 -1
- package/config/createAdminConfig.js +55 -86
- package/config/createAdminConfig.js.map +1 -1
- package/domain/Identity.js +78 -88
- package/domain/Identity.js.map +1 -1
- package/errors/ErrorOverlayNetworkErrorHandler.js +37 -52
- package/errors/ErrorOverlayNetworkErrorHandler.js.map +1 -1
- package/errors/TenantIsDisabled.js +19 -20
- package/errors/TenantIsDisabled.js.map +1 -1
- package/exports/admin/build-params.js +0 -5
- package/exports/admin/configs.js +0 -2
- package/exports/admin/form.js +3 -18
- package/exports/admin/security.js +1 -7
- package/exports/admin/tenancy.js +0 -2
- package/exports/admin/ui.js +1 -4
- package/exports/admin.js +1 -4
- package/features/apolloClient/abstraction.js +2 -1
- package/features/apolloClient/abstraction.js.map +1 -1
- package/features/apolloClient/feature.js +22 -30
- package/features/apolloClient/feature.js.map +1 -1
- package/features/buildParams/BuildParams.js +20 -14
- package/features/buildParams/BuildParams.js.map +1 -1
- package/features/buildParams/abstractions.js +3 -2
- package/features/buildParams/abstractions.js.map +1 -1
- package/features/buildParams/feature.js +11 -10
- package/features/buildParams/feature.js.map +1 -1
- package/features/buildParams/index.js +0 -2
- package/features/formModel/ConditionRuleEvaluator.js +39 -46
- package/features/formModel/ConditionRuleEvaluator.js.map +1 -1
- package/features/formModel/Field.d.ts +1 -0
- package/features/formModel/Field.js +334 -411
- package/features/formModel/Field.js.map +1 -1
- package/features/formModel/FieldBuilder.d.ts +2 -1
- package/features/formModel/FieldBuilder.js +148 -171
- package/features/formModel/FieldBuilder.js.map +1 -1
- package/features/formModel/FieldBuilder.test.js +217 -201
- package/features/formModel/FieldBuilder.test.js.map +1 -1
- package/features/formModel/FieldBuilderRegistry.js +23 -25
- package/features/formModel/FieldBuilderRegistry.js.map +1 -1
- package/features/formModel/FocusManager.js +69 -95
- package/features/formModel/FocusManager.js.map +1 -1
- package/features/formModel/FormErrors.d.ts +9 -0
- package/features/formModel/FormErrors.js +35 -0
- package/features/formModel/FormErrors.js.map +1 -0
- package/features/formModel/FormModel.d.ts +2 -0
- package/features/formModel/FormModel.js +391 -396
- package/features/formModel/FormModel.js.map +1 -1
- package/features/formModel/FormModel.test.js +3791 -3354
- package/features/formModel/FormModel.test.js.map +1 -1
- package/features/formModel/FormModelFactory.js +27 -17
- package/features/formModel/FormModelFactory.js.map +1 -1
- package/features/formModel/FormView.d.ts +2 -1
- package/features/formModel/FormView.js +168 -156
- package/features/formModel/FormView.js.map +1 -1
- package/features/formModel/LayoutBuilderFactory.js +300 -370
- package/features/formModel/LayoutBuilderFactory.js.map +1 -1
- package/features/formModel/LayoutMutator.js +118 -125
- package/features/formModel/LayoutMutator.js.map +1 -1
- package/features/formModel/LayoutResolver.js +174 -214
- package/features/formModel/LayoutResolver.js.map +1 -1
- package/features/formModel/ObjectField.js +524 -724
- package/features/formModel/ObjectField.js.map +1 -1
- package/features/formModel/PresenterErrors.d.ts +9 -0
- package/features/formModel/PresenterErrors.js +32 -0
- package/features/formModel/PresenterErrors.js.map +1 -0
- package/features/formModel/Rules.test.js +311 -276
- package/features/formModel/Rules.test.js.map +1 -1
- package/features/formModel/abstractions.d.ts +10 -0
- package/features/formModel/abstractions.js +5 -114
- package/features/formModel/abstractions.js.map +1 -1
- package/features/formModel/createFieldRenderer.js +33 -10
- package/features/formModel/createFieldRenderer.js.map +1 -1
- package/features/formModel/demo/FieldRenderersDemoPresenter.js +289 -220
- package/features/formModel/demo/FieldRenderersDemoPresenter.js.map +1 -1
- package/features/formModel/demo/FormModelDemo.js +191 -215
- package/features/formModel/demo/FormModelDemo.js.map +1 -1
- package/features/formModel/demo/FormModelDemoPresenter.js +132 -113
- package/features/formModel/demo/FormModelDemoPresenter.js.map +1 -1
- package/features/formModel/demo/FormModelPhase11Presenter.js +101 -98
- package/features/formModel/demo/FormModelPhase11Presenter.js.map +1 -1
- package/features/formModel/demo/FormModelPhase8c1Presenter.js +64 -57
- package/features/formModel/demo/FormModelPhase8c1Presenter.js.map +1 -1
- package/features/formModel/feature.js +23 -22
- package/features/formModel/feature.js.map +1 -1
- package/features/formModel/fieldTypes/BooleanFieldType.js +18 -15
- package/features/formModel/fieldTypes/BooleanFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/DateTimeFieldType.js +218 -341
- package/features/formModel/fieldTypes/DateTimeFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/FileFieldType.d.ts +12 -1
- package/features/formModel/fieldTypes/FileFieldType.js +48 -12
- package/features/formModel/fieldTypes/FileFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/FileUrlFieldType.js +15 -12
- package/features/formModel/fieldTypes/FileUrlFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/NumberFieldType.js +19 -18
- package/features/formModel/fieldTypes/NumberFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/ObjectFieldType.js +80 -94
- package/features/formModel/fieldTypes/ObjectFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/TextFieldType.js +15 -12
- package/features/formModel/fieldTypes/TextFieldType.js.map +1 -1
- package/features/formModel/fieldTypes/index.js +7 -9
- package/features/formModel/index.d.ts +2 -0
- package/features/formModel/index.js +11 -29
- package/features/formModel/renderers.js +0 -4
- package/features/formModel/useFieldRenderers.js +10 -14
- package/features/formModel/useFieldRenderers.js.map +1 -1
- package/features/formModel/useLayoutRenderers.js +10 -14
- package/features/formModel/useLayoutRenderers.js.map +1 -1
- package/features/listCache/ListCache.d.ts +28 -0
- package/features/listCache/ListCache.js +48 -0
- package/features/listCache/ListCache.js.map +1 -0
- package/features/listCache/index.d.ts +2 -0
- package/features/listCache/index.js +1 -0
- package/features/security/AuthenticationContext/AuthenticationContext.js +27 -26
- package/features/security/AuthenticationContext/AuthenticationContext.js.map +1 -1
- package/features/security/AuthenticationContext/GraphQLClientDecorator.js +23 -22
- package/features/security/AuthenticationContext/GraphQLClientDecorator.js.map +1 -1
- package/features/security/AuthenticationContext/InternalIdTokenProvider.js +15 -12
- package/features/security/AuthenticationContext/InternalIdTokenProvider.js.map +1 -1
- package/features/security/AuthenticationContext/abstractions.js +3 -2
- package/features/security/AuthenticationContext/abstractions.js.map +1 -1
- package/features/security/AuthenticationContext/feature.js +15 -14
- package/features/security/AuthenticationContext/feature.js.map +1 -1
- package/features/security/AuthenticationContext/index.js +0 -2
- package/features/security/AuthenticationContext/types.js +0 -3
- package/features/security/IdentityContext/IdentityContext.js +18 -17
- package/features/security/IdentityContext/IdentityContext.js.map +1 -1
- package/features/security/IdentityContext/abstractions.js +2 -1
- package/features/security/IdentityContext/abstractions.js.map +1 -1
- package/features/security/IdentityContext/feature.js +13 -12
- package/features/security/IdentityContext/feature.js.map +1 -1
- package/features/security/IdentityContext/index.js +0 -2
- package/features/security/LogIn/IdentityMapper.js +8 -7
- package/features/security/LogIn/IdentityMapper.js.map +1 -1
- package/features/security/LogIn/LogInGateway.js +17 -19
- package/features/security/LogIn/LogInGateway.js.map +1 -1
- package/features/security/LogIn/LogInRepository.js +16 -14
- package/features/security/LogIn/LogInRepository.js.map +1 -1
- package/features/security/LogIn/LogInUseCase.js +23 -31
- package/features/security/LogIn/LogInUseCase.js.map +1 -1
- package/features/security/LogIn/abstractions.js +5 -16
- package/features/security/LogIn/abstractions.js.map +1 -1
- package/features/security/LogIn/createLoginMutation.js +2 -3
- package/features/security/LogIn/createLoginMutation.js.map +1 -1
- package/features/security/LogIn/feature.js +16 -15
- package/features/security/LogIn/feature.js.map +1 -1
- package/features/security/LogIn/index.js +0 -2
- package/features/security/LogOut/LogOutUseCase.js +18 -16
- package/features/security/LogOut/LogOutUseCase.js.map +1 -1
- package/features/security/LogOut/abstractions.js +2 -1
- package/features/security/LogOut/abstractions.js.map +1 -1
- package/features/security/LogOut/feature.js +12 -11
- package/features/security/LogOut/feature.js.map +1 -1
- package/features/security/LogOut/index.js +0 -2
- package/features/security/SecurityFeature.js +9 -8
- package/features/security/SecurityFeature.js.map +1 -1
- package/features/telemetry/TelemetryService.js +11 -12
- package/features/telemetry/TelemetryService.js.map +1 -1
- package/features/telemetry/abstractions.js +2 -1
- package/features/telemetry/abstractions.js.map +1 -1
- package/features/telemetry/feature.js +13 -12
- package/features/telemetry/feature.js.map +1 -1
- package/features/telemetry/index.js +0 -2
- package/features/tenancy/GraphQLClientDecorator.js +23 -20
- package/features/tenancy/GraphQLClientDecorator.js.map +1 -1
- package/features/tenancy/TenantContext.js +46 -50
- package/features/tenancy/TenantContext.js.map +1 -1
- package/features/tenancy/abstractions.js +2 -1
- package/features/tenancy/abstractions.js.map +1 -1
- package/features/tenancy/feature.js +25 -35
- package/features/tenancy/feature.js.map +1 -1
- package/features/tenancy/types.js +0 -3
- package/features/tools/LexicalContext/LexicalContext.js +20 -17
- package/features/tools/LexicalContext/LexicalContext.js.map +1 -1
- package/features/tools/LexicalContext/abstractions.js +2 -1
- package/features/tools/LexicalContext/abstractions.js.map +1 -1
- package/features/tools/LexicalContext/index.js +0 -2
- package/features/tools/ToolPipelineRunner.js +26 -24
- package/features/tools/ToolPipelineRunner.js.map +1 -1
- package/features/tools/ToolRegistry.js +32 -23
- package/features/tools/ToolRegistry.js.map +1 -1
- package/features/tools/abstractions.js +4 -3
- package/features/tools/abstractions.js.map +1 -1
- package/features/tools/feature.js +17 -16
- package/features/tools/feature.js.map +1 -1
- package/features/tools/index.js +1 -3
- package/features/wcp/ReactLicense.js +53 -52
- package/features/wcp/ReactLicense.js.map +1 -1
- package/features/wcp/WcpGateway.js +21 -20
- package/features/wcp/WcpGateway.js.map +1 -1
- package/features/wcp/WcpService.js +57 -67
- package/features/wcp/WcpService.js.map +1 -1
- package/features/wcp/abstractions.js +3 -2
- package/features/wcp/abstractions.js.map +1 -1
- package/features/wcp/feature.js +14 -13
- package/features/wcp/feature.js.map +1 -1
- package/features/wcp/types.js +0 -3
- package/features/webinySdk/WebinySdk.js +19 -18
- package/features/webinySdk/WebinySdk.js.map +1 -1
- package/features/webinySdk/abstractions.js +2 -5
- package/features/webinySdk/abstractions.js.map +1 -1
- package/features/webinySdk/feature.js +13 -12
- package/features/webinySdk/feature.js.map +1 -1
- package/features/webinySdk/index.js +0 -2
- package/hooks/index.js +0 -2
- package/hooks/useConfirmationDialog.d.ts +1 -1
- package/hooks/useConfirmationDialog.js +31 -38
- package/hooks/useConfirmationDialog.js.map +1 -1
- package/hooks/useDialog.js +14 -15
- package/hooks/useDialog.js.map +1 -1
- package/hooks/useHotkeys.js +52 -85
- package/hooks/useHotkeys.js.map +1 -1
- package/hooks/useIsMounted.js +12 -11
- package/hooks/useIsMounted.js.map +1 -1
- package/hooks/useKeyHandler.js +45 -53
- package/hooks/useKeyHandler.js.map +1 -1
- package/hooks/useModKey.js +20 -25
- package/hooks/useModKey.js.map +1 -1
- package/hooks/useOpenDialog.js +13 -13
- package/hooks/useOpenDialog.js.map +1 -1
- package/hooks/useShiftKey.d.ts +5 -1
- package/hooks/useShiftKey.js +38 -29
- package/hooks/useShiftKey.js.map +1 -1
- package/hooks/useSnackbar.d.ts +3 -0
- package/hooks/useSnackbar.js +26 -28
- package/hooks/useSnackbar.js.map +1 -1
- package/hooks/useStateIfMounted.js +14 -12
- package/hooks/useStateIfMounted.js.map +1 -1
- package/hooks/useStateWithCallback.js +18 -14
- package/hooks/useStateWithCallback.js.map +1 -1
- package/hooks/useToggler.js +12 -11
- package/hooks/useToggler.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +15 -31
- package/package.json +26 -28
- package/permissions/PermissionRenderer.js +179 -193
- package/permissions/PermissionRenderer.js.map +1 -1
- package/permissions/PermissionValueContext.js +13 -20
- package/permissions/PermissionValueContext.js.map +1 -1
- package/permissions/createHasPermission.js +32 -40
- package/permissions/createHasPermission.js.map +1 -1
- package/permissions/createPermissionSchema.js +6 -5
- package/permissions/createPermissionSchema.js.map +1 -1
- package/permissions/createPermissions.js +125 -185
- package/permissions/createPermissions.js.map +1 -1
- package/permissions/createPermissions.test.js +190 -158
- package/permissions/createPermissions.test.js.map +1 -1
- package/permissions/index.js +2 -4
- package/permissions/types.js +0 -3
- package/permissions/usePermissionForm.js +133 -232
- package/permissions/usePermissionForm.js.map +1 -1
- package/permissions/usePermissions.js +6 -5
- package/permissions/usePermissions.js.map +1 -1
- package/plugins/MenuPlugin.js +15 -14
- package/plugins/MenuPlugin.js.map +1 -1
- package/presentation/buildParams/useBuildParams.js +2 -3
- package/presentation/buildParams/useBuildParams.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/SystemInstaller.js +46 -53
- package/presentation/installation/components/SystemInstaller/SystemInstaller.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js +9 -14
- package/presentation/installation/components/SystemInstaller/SystemInstallerProvider.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/index.js +0 -2
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js +14 -29
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/createPasswordValidator.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js +11 -10
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep/usePasswordValidator.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js +60 -60
- package/presentation/installation/components/SystemInstaller/steps/AdminUserStep.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js +75 -85
- package/presentation/installation/components/SystemInstaller/steps/BasicInfoStep.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/Center.js +5 -8
- package/presentation/installation/components/SystemInstaller/steps/Center.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/Container.js +18 -24
- package/presentation/installation/components/SystemInstaller/steps/Container.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js +48 -53
- package/presentation/installation/components/SystemInstaller/steps/FinishSetup.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js +13 -16
- package/presentation/installation/components/SystemInstaller/steps/IntroductionStep.js.map +1 -1
- package/presentation/installation/components/SystemInstaller/steps/introduction.js +723 -0
- package/presentation/installation/components/SystemInstaller/steps/introduction.js.map +1 -0
- package/presentation/installation/components/SystemInstaller/steps/referralSources.js +14 -1
- package/presentation/installation/components/SystemInstaller/steps/referralSources.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js +27 -28
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerGateway.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js +117 -124
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerPresenter.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js +23 -21
- package/presentation/installation/presenters/SystemInstaller/SystemInstallerRepository.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/abstractions.js +4 -3
- package/presentation/installation/presenters/SystemInstaller/abstractions.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/feature.js +15 -14
- package/presentation/installation/presenters/SystemInstaller/feature.js.map +1 -1
- package/presentation/installation/presenters/SystemInstaller/index.js +0 -2
- package/presentation/lexicalContext/useLexicalContext.js +11 -8
- package/presentation/lexicalContext/useLexicalContext.js.map +1 -1
- package/presentation/listPresenter/ListPresenter.d.ts +30 -0
- package/presentation/listPresenter/ListPresenter.js +216 -0
- package/presentation/listPresenter/ListPresenter.js.map +1 -0
- package/presentation/listPresenter/ListPresenter.test.d.ts +1 -0
- package/presentation/listPresenter/ListPresenter.test.js +816 -0
- package/presentation/listPresenter/ListPresenter.test.js.map +1 -0
- package/presentation/listPresenter/SelectionController.d.ts +21 -0
- package/presentation/listPresenter/SelectionController.js +74 -0
- package/presentation/listPresenter/SelectionController.js.map +1 -0
- package/presentation/listPresenter/abstractions.d.ts +107 -0
- package/presentation/listPresenter/abstractions.js +5 -0
- package/presentation/listPresenter/abstractions.js.map +1 -0
- package/presentation/listPresenter/feature.d.ts +3 -0
- package/presentation/listPresenter/feature.js +17 -0
- package/presentation/listPresenter/feature.js.map +1 -0
- package/presentation/listPresenter/index.d.ts +3 -0
- package/presentation/listPresenter/index.js +2 -0
- package/presentation/security/components/HasPermission.js +15 -25
- package/presentation/security/components/HasPermission.js.map +1 -1
- package/presentation/security/components/SecureRoute.js +6 -12
- package/presentation/security/components/SecureRoute.js.map +1 -1
- package/presentation/security/hooks/useAuthentication.js +11 -17
- package/presentation/security/hooks/useAuthentication.js.map +1 -1
- package/presentation/security/hooks/useIdentity.js +19 -18
- package/presentation/security/hooks/useIdentity.js.map +1 -1
- package/presentation/security/hooks/useSecurity.js +14 -24
- package/presentation/security/hooks/useSecurity.js.map +1 -1
- package/presentation/tenancy/TenancyProvider.js +23 -36
- package/presentation/tenancy/TenancyProvider.js.map +1 -1
- package/presentation/tenancy/createTenancyProvider.js +6 -11
- package/presentation/tenancy/createTenancyProvider.js.map +1 -1
- package/presentation/tenancy/useTenantContext.js +17 -18
- package/presentation/tenancy/useTenantContext.js.map +1 -1
- package/presentation/textToLexicalTool/TextToLexicalTool.js +20 -18
- package/presentation/textToLexicalTool/TextToLexicalTool.js.map +1 -1
- package/presentation/textToLexicalTool/feature.js +6 -5
- package/presentation/textToLexicalTool/feature.js.map +1 -1
- package/presentation/textToLexicalTool/textToLexicalState.js +28 -28
- package/presentation/textToLexicalTool/textToLexicalState.js.map +1 -1
- package/presentation/wcp/WcpProvider.js +16 -26
- package/presentation/wcp/WcpProvider.js.map +1 -1
- package/presentation/wcp/useWcp.js +11 -12
- package/presentation/wcp/useWcp.js.map +1 -1
- package/routes.d.ts +0 -1
- package/routes.js +14 -17
- package/routes.js.map +1 -1
- package/static/svg/SecureRouteError.e8b15981.svg +1 -0
- package/static/svg/add-18px.b3062af6.svg +3 -0
- package/static/svg/arrow_drop_down-24px.da74d713.svg +4 -0
- package/static/svg/attach_file_black_24dp.7fb13a7e.svg +1 -0
- package/static/svg/baseline-menu-24px.071b179d.svg +4 -0
- package/static/svg/baseline-notification_important-24px.29277e73.svg +4 -0
- package/static/svg/baseline-security-24px.12e519cc.svg +4 -0
- package/static/svg/file_download.afe3fbec.svg +1 -0
- package/static/svg/file_upload.6865d820.svg +1 -0
- package/static/svg/filter-24px.886d9ff0.svg +8 -0
- package/static/svg/github-brands.6311f0fa.svg +1 -0
- package/static/svg/highlight-24px.959a97f7.svg +1 -0
- package/static/svg/icon-community.cd087355.svg +16 -0
- package/static/svg/icon-documentation.a189d24c.svg +16 -0
- package/static/svg/info.fe810b72.svg +1 -0
- package/static/svg/insert_drive_file-24px.39d490eb.svg +1 -0
- package/static/svg/insert_photo-24px.81a5f945.svg +1 -0
- package/static/svg/introduction.108720aa.svg +154 -0
- package/static/svg/label-24px.9deafa4f.svg +1 -0
- package/static/svg/round-account_circle-24px.f0b48cb7.svg +1 -0
- package/static/svg/round-add-24px.4a5219b4.svg +16 -0
- package/static/svg/round-arrow_drop_down-24px.5fdf92d1.svg +1 -0
- package/static/svg/round-chevron_right-24px.34936511.svg +12 -0
- package/static/svg/round-feedback-24px.4dae7231.svg +54 -0
- package/static/svg/round-help-24px.a61b1d66.svg +1 -0
- package/static/svg/round-invert_colors-24px.a229a1dd.svg +52 -0
- package/static/svg/round-keyboard_arrow_down-24px.6febe804.svg +16 -0
- package/static/svg/round-keyboard_arrow_up-24px.b1f7db34.svg +16 -0
- package/static/svg/round-lock_open-24px.d527f6a5.svg +60 -0
- package/static/svg/round-more_vert-24px.68d41b07.svg +12 -0
- package/static/svg/round-open_in_new-24px.be5b4ddd.svg +44 -0
- package/static/svg/round-settings-24px.c0b3056f.svg +4 -0
- package/static/svg/search-24px.3c0f88dd.svg +20 -0
- package/static/svg/slack-logo.7ee35e7f.svg +1 -0
- package/static/svg/today-24px.df206362.svg +1 -0
- package/static/svg/touch_app.debf3744.svg +1 -0
- package/static/svg/wby-horizontal.03327bf6.svg +23 -0
- package/static/svg/wby-square.ff8f47c3.svg +3 -0
- package/static/svg/webiny-logo.ef56725c.svg +20 -0
- package/static/svg/webiny-orange-logo.4eccf0f2.svg +20 -0
- package/types.js +0 -3
- package/components/BulkActions/index.js.map +0 -1
- package/components/BulkActions/useDialogWithReport/index.js.map +0 -1
- package/components/Buttons/index.js.map +0 -1
- package/components/DeveloperMode/index.js.map +0 -1
- package/components/Filters/index.js.map +0 -1
- package/components/IconPicker/components/index.js.map +0 -1
- package/components/IconPicker/index.js.map +0 -1
- package/components/LexicalEditor/index.js.map +0 -1
- package/components/NotAuthorizedError/index.js.map +0 -1
- package/components/OptionsMenu/index.js.map +0 -1
- package/components/OverlayLayout/components/index.js.map +0 -1
- package/components/OverlayLayout/index.js.map +0 -1
- package/components/Permissions/index.js.map +0 -1
- package/components/ResizablePanels/index.js.map +0 -1
- package/components/SimpleForm/index.js.map +0 -1
- package/components/SplitView/index.js.map +0 -1
- package/components/index.js.map +0 -1
- package/config/AdminConfig/Menu/UserMenu/UserMenuSeparator.js.map +0 -1
- package/config/AdminConfig/Menu/UserMenu/types.js.map +0 -1
- package/config/AdminConfig/Menu/types.js.map +0 -1
- package/config/AdminConfig/Theme/types.js.map +0 -1
- package/exports/admin/build-params.js.map +0 -1
- package/exports/admin/configs.js.map +0 -1
- package/exports/admin/form.js.map +0 -1
- package/exports/admin/security.js.map +0 -1
- package/exports/admin/tenancy.js.map +0 -1
- package/exports/admin/ui.js.map +0 -1
- package/exports/admin.js.map +0 -1
- package/features/buildParams/index.js.map +0 -1
- package/features/formModel/fieldTypes/index.js.map +0 -1
- package/features/formModel/index.js.map +0 -1
- package/features/formModel/renderers.js.map +0 -1
- package/features/security/AuthenticationContext/index.js.map +0 -1
- package/features/security/AuthenticationContext/types.js.map +0 -1
- package/features/security/IdentityContext/index.js.map +0 -1
- package/features/security/LogIn/index.js.map +0 -1
- package/features/security/LogOut/index.js.map +0 -1
- package/features/telemetry/index.js.map +0 -1
- package/features/tenancy/types.js.map +0 -1
- package/features/tools/LexicalContext/index.js.map +0 -1
- package/features/tools/index.js.map +0 -1
- package/features/wcp/types.js.map +0 -1
- package/features/webinySdk/index.js.map +0 -1
- package/hooks/index.js.map +0 -1
- package/index.js.map +0 -1
- package/permissions/index.js.map +0 -1
- package/permissions/types.js.map +0 -1
- package/presentation/installation/components/SystemInstaller/index.js.map +0 -1
- package/presentation/installation/presenters/SystemInstaller/index.js.map +0 -1
- package/types.js.map +0 -1
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { useAdminConfig } from "../../../config/AdminConfig.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
supportMenus
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
return /*#__PURE__*/React.cloneElement(menu.element, {
|
|
13
|
-
key: menu.name
|
|
3
|
+
const SupportMenuItems = ()=>{
|
|
4
|
+
const { supportMenus } = useAdminConfig();
|
|
5
|
+
return supportMenus.map((menu)=>{
|
|
6
|
+
if (!/*#__PURE__*/ react.isValidElement(menu.element)) return null;
|
|
7
|
+
return /*#__PURE__*/ react.cloneElement(menu.element, {
|
|
8
|
+
key: menu.name
|
|
9
|
+
});
|
|
14
10
|
});
|
|
15
|
-
});
|
|
16
11
|
};
|
|
12
|
+
export { SupportMenuItems };
|
|
17
13
|
|
|
18
14
|
//# sourceMappingURL=SupportMenuItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/Menus/SupportMenuItems.js","sources":["../../../../src/base/Base/Menus/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"],"names":["SupportMenuItems","supportMenus","useAdminConfig","menu","React"],"mappings":";;AAGO,MAAMA,mBAAmB;IAC5B,MAAM,EAAEC,YAAY,EAAE,GAAGC;IAEzB,OAAOD,aAAa,GAAG,CAACE,CAAAA;QACpB,IAAI,CAAC,WAAD,GAACC,MAAAA,cAAoB,CAACD,KAAK,OAAO,GAClC,OAAO;QAGX,OAAO,WAAP,GAAOC,MAAAA,YAAkB,CAACD,KAAK,OAAO,EAAE;YAAE,KAAKA,KAAK,IAAI;QAAC;IAC7D;AACJ"}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { config
|
|
3
|
-
import { useWcp } from "../../../
|
|
1
|
+
import react, { useMemo } from "react";
|
|
2
|
+
import { config } from "@webiny/app/config.js";
|
|
3
|
+
import { useWcp } from "../../../presentation/wcp/useWcp.js";
|
|
4
4
|
import { Tag } from "@webiny/admin-ui";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
className: "flex items-center"
|
|
21
|
-
}, "Webiny v", wbyVersion, wcpBadge);
|
|
5
|
+
const WebinyVersion = ()=>{
|
|
6
|
+
const wbyVersion = config.getKey("WEBINY_VERSION", process.env.REACT_APP_WEBINY_VERSION);
|
|
7
|
+
const wcp = useWcp();
|
|
8
|
+
const wcpBadge = useMemo(()=>{
|
|
9
|
+
const wcpProject = wcp.getProject();
|
|
10
|
+
if (!wcpProject) return null;
|
|
11
|
+
return /*#__PURE__*/ react.createElement(Tag, {
|
|
12
|
+
variant: "accent",
|
|
13
|
+
content: "WCP",
|
|
14
|
+
className: "ml-sm-extra"
|
|
15
|
+
});
|
|
16
|
+
}, []);
|
|
17
|
+
return /*#__PURE__*/ react.createElement("div", {
|
|
18
|
+
className: "flex items-center"
|
|
19
|
+
}, "Webiny v", wbyVersion, wcpBadge);
|
|
22
20
|
};
|
|
21
|
+
export { WebinyVersion };
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=WebinyVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/Menus/WebinyVersion.js","sources":["../../../../src/base/Base/Menus/WebinyVersion.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { config as appConfig } from \"@webiny/app/config.js\";\nimport { useWcp } from \"~/presentation/wcp/useWcp.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"],"names":["WebinyVersion","wbyVersion","appConfig","process","wcp","useWcp","wcpBadge","useMemo","wcpProject","Tag"],"mappings":";;;;AAKO,MAAMA,gBAAgB;IACzB,MAAMC,aAAaC,OAAAA,MAAgB,CAAC,kBAAkBC,QAAQ,GAAG,CAAC,wBAAwB;IAC1F,MAAMC,MAAMC;IAEZ,MAAMC,WAAWC,QAAQ;QACrB,MAAMC,aAAaJ,IAAI,UAAU;QACjC,IAAI,CAACI,YACD,OAAO;QAGX,OAAO,WAAP,GAAO,oBAACC,KAAGA;YAAC,SAAS;YAAU,SAAS;YAAO,WAAW;;IAC9D,GAAG,EAAE;IAEL,OAAO,WAAP,GACI,oBAAC;QAAI,WAAW;OAAqB,YACxBR,YACRK;AAGb"}
|
package/base/Base/Menus.js
CHANGED
|
@@ -1,72 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ReactComponent
|
|
3
|
-
import { ReactComponent as
|
|
4
|
-
import { ReactComponent as
|
|
5
|
-
import { ReactComponent as UpgradeIcon } from "@webiny/icons/electric_bolt.svg";
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { ReactComponent } from "@webiny/icons/space_dashboard.svg";
|
|
3
|
+
import { ReactComponent as settings_svg_ReactComponent } from "@webiny/icons/settings.svg";
|
|
4
|
+
import { ReactComponent as electric_bolt_svg_ReactComponent } from "@webiny/icons/electric_bolt.svg";
|
|
6
5
|
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
7
|
-
import { HasPermission } from "../../presentation/security/components/HasPermission.js";
|
|
8
6
|
import { Menu } from "../../config/AdminConfig/Menu.js";
|
|
9
|
-
import { useWcp } from "../../
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
name: "upgrade",
|
|
57
|
-
element: /*#__PURE__*/React.createElement(Menu.Link, {
|
|
58
|
-
text: "Upgrade",
|
|
59
|
-
icon: /*#__PURE__*/React.createElement(Menu.Link.Icon, {
|
|
60
|
-
label: "Upgrade",
|
|
61
|
-
element: /*#__PURE__*/React.createElement(UpgradeIcon, null)
|
|
62
|
-
}),
|
|
63
|
-
to: "https://www.webiny.com/pricing",
|
|
64
|
-
rel: "noopener noreferrer",
|
|
65
|
-
target: "_blank",
|
|
66
|
-
className: "[&_a]:text-accent-primary! [&_svg]:fill-accent-default! font-semibold"
|
|
67
|
-
})
|
|
68
|
-
}));
|
|
7
|
+
import { useWcp } from "../../presentation/wcp/useWcp.js";
|
|
8
|
+
const Menus = /*#__PURE__*/ react.memo(()=>{
|
|
9
|
+
const wcp = useWcp();
|
|
10
|
+
const hasWcpLicense = Boolean(wcp.getProject());
|
|
11
|
+
return /*#__PURE__*/ react.createElement(AdminConfig, null, /*#__PURE__*/ react.createElement(Menu, {
|
|
12
|
+
name: "home",
|
|
13
|
+
pin: "start",
|
|
14
|
+
element: /*#__PURE__*/ react.createElement(Menu.Link, {
|
|
15
|
+
to: "/",
|
|
16
|
+
text: "Home",
|
|
17
|
+
icon: /*#__PURE__*/ react.createElement(Menu.Link.Icon, {
|
|
18
|
+
label: "Home",
|
|
19
|
+
element: /*#__PURE__*/ react.createElement(ReactComponent, null)
|
|
20
|
+
})
|
|
21
|
+
})
|
|
22
|
+
}), /*#__PURE__*/ react.createElement(Menu, {
|
|
23
|
+
name: "settings",
|
|
24
|
+
hideIfEmpty: true,
|
|
25
|
+
pin: "end",
|
|
26
|
+
element: /*#__PURE__*/ react.createElement(Menu.Item, {
|
|
27
|
+
text: "Settings",
|
|
28
|
+
icon: /*#__PURE__*/ react.createElement(Menu.Link.Icon, {
|
|
29
|
+
label: "Settings",
|
|
30
|
+
element: /*#__PURE__*/ react.createElement(settings_svg_ReactComponent, null)
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
}), /*#__PURE__*/ react.createElement(Menu, {
|
|
34
|
+
parent: "settings",
|
|
35
|
+
name: "settings.system",
|
|
36
|
+
element: /*#__PURE__*/ react.createElement(Menu.Group, {
|
|
37
|
+
text: "System",
|
|
38
|
+
collapsible: false
|
|
39
|
+
})
|
|
40
|
+
}), !hasWcpLicense && /*#__PURE__*/ react.createElement(Menu.Footer, {
|
|
41
|
+
name: "upgrade",
|
|
42
|
+
element: /*#__PURE__*/ react.createElement(Menu.Link, {
|
|
43
|
+
text: "Upgrade",
|
|
44
|
+
icon: /*#__PURE__*/ react.createElement(Menu.Link.Icon, {
|
|
45
|
+
label: "Upgrade",
|
|
46
|
+
element: /*#__PURE__*/ react.createElement(electric_bolt_svg_ReactComponent, null)
|
|
47
|
+
}),
|
|
48
|
+
to: "https://www.webiny.com/pricing",
|
|
49
|
+
rel: "noopener noreferrer",
|
|
50
|
+
target: "_blank",
|
|
51
|
+
className: "[&_a]:text-accent-primary! [&_svg]:fill-accent-default! font-semibold"
|
|
52
|
+
})
|
|
53
|
+
}));
|
|
69
54
|
});
|
|
70
55
|
Menus.displayName = "Menus";
|
|
56
|
+
export { Menus };
|
|
71
57
|
|
|
72
58
|
//# sourceMappingURL=Menus.js.map
|
package/base/Base/Menus.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/Menus.js","sources":["../../../src/base/Base/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 UpgradeIcon } from \"@webiny/icons/electric_bolt.svg\";\nimport { AdminConfig } from \"~/config/AdminConfig.js\";\nimport { Menu } from \"~/config/AdminConfig/Menu.js\";\nimport { useWcp } from \"~/presentation/wcp/useWcp.js\";\n\nexport const Menus = React.memo(() => {\n const wcp = useWcp();\n const hasWcpLicense = Boolean(wcp.getProject());\n\n return (\n <AdminConfig>\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\n parent={\"settings\"}\n name=\"settings.system\"\n element={<Menu.Group text=\"System\" collapsible={false} />}\n />\n\n {!hasWcpLicense && (\n <Menu.Footer\n name={\"upgrade\"}\n element={\n <Menu.Link\n text={\"Upgrade\"}\n icon={<Menu.Link.Icon label=\"Upgrade\" element={<UpgradeIcon />} />}\n to={\"https://www.webiny.com/pricing\"}\n rel={\"noopener noreferrer\"}\n target={\"_blank\"}\n className={\n \"[&_a]:text-accent-primary! [&_svg]:fill-accent-default! font-semibold\"\n }\n />\n }\n />\n )}\n </AdminConfig>\n );\n});\n\nMenus.displayName = \"Menus\";\n"],"names":["Menus","React","wcp","useWcp","hasWcpLicense","Boolean","AdminConfig","Menu","DashboardIcon","SettingsIcon","UpgradeIcon"],"mappings":";;;;;;;AAQO,MAAMA,QAAQ,WAAHA,GAAGC,MAAAA,IAAU,CAAC;IAC5B,MAAMC,MAAMC;IACZ,MAAMC,gBAAgBC,QAAQH,IAAI,UAAU;IAE5C,OAAO,WAAP,GACI,oBAACI,aAAWA,MAAAA,WAAAA,GACR,oBAACC,MAAIA;QACD,MAAM;QACN,KAAK;QACL,uBACI,oBAACA,KAAK,IAAI;YACN,IAAI;YACJ,MAAM;YACN,oBAAM,oBAACA,KAAK,IAAI,CAAC,IAAI;gBAAC,OAAM;gBAAO,uBAAS,oBAACC,gBAAaA;;;sBAItE,oBAACD,MAAIA;QACD,MAAM;QACN,aAAa;QACb,KAAK;QACL,uBACI,oBAACA,KAAK,IAAI;YACN,MAAM;YACN,oBAAM,oBAACA,KAAK,IAAI,CAAC,IAAI;gBAAC,OAAM;gBAAW,uBAAS,oBAACE,6BAAYA;;;sBAKzE,oBAACF,MAAIA;QACD,QAAQ;QACR,MAAK;QACL,uBAAS,oBAACA,KAAK,KAAK;YAAC,MAAK;YAAS,aAAa;;QAGnD,CAACH,iBAAiB,WAAjBA,GACE,oBAACG,KAAK,MAAM;QACR,MAAM;QACN,uBACI,oBAACA,KAAK,IAAI;YACN,MAAM;YACN,oBAAM,oBAACA,KAAK,IAAI,CAAC,IAAI;gBAAC,OAAM;gBAAU,uBAAS,oBAACG,kCAAWA;;YAC3D,IAAI;YACJ,KAAK;YACL,QAAQ;YACR,WACI;;;AAQhC;AAEAV,MAAM,WAAW,GAAG"}
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Dashboard
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { Dashboard } from "../ui/Dashboard.js";
|
|
3
|
+
import { AdminLayout } from "../../components/AdminLayout.js";
|
|
4
|
+
import { NotFound } from "../ui/NotFound.js";
|
|
3
5
|
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
4
6
|
import { Routes } from "../../routes.js";
|
|
5
|
-
import { FileManager } from "../../index.js";
|
|
6
7
|
import { Route } from "../../config/AdminConfig/Route.js";
|
|
7
8
|
import { FormModelDemo } from "../../features/formModel/demo/FormModelDemo.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, /*#__PURE__*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, /*#__PURE__*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
element: /*#__PURE__*/React.createElement(AdminLayout, {
|
|
25
|
-
title: "FormModel Demo"
|
|
26
|
-
}, /*#__PURE__*/React.createElement(FormModelDemo, null))
|
|
27
|
-
}), /*#__PURE__*/React.createElement(Route, {
|
|
28
|
-
route: Routes.CatchAll,
|
|
29
|
-
element: /*#__PURE__*/React.createElement(AdminLayout, {
|
|
30
|
-
title: "Not Accessible"
|
|
31
|
-
}, /*#__PURE__*/React.createElement(NotFound, null))
|
|
32
|
-
}));
|
|
33
|
-
});
|
|
9
|
+
const RoutesConfig = /*#__PURE__*/ react.memo(()=>/*#__PURE__*/ react.createElement(AdminConfig, null, /*#__PURE__*/ react.createElement(Route, {
|
|
10
|
+
route: Routes.Dashboard,
|
|
11
|
+
element: /*#__PURE__*/ react.createElement(AdminLayout, {
|
|
12
|
+
title: "Welcome!"
|
|
13
|
+
}, /*#__PURE__*/ react.createElement(Dashboard, null))
|
|
14
|
+
}), /*#__PURE__*/ react.createElement(Route, {
|
|
15
|
+
route: Routes.FormModelDemo,
|
|
16
|
+
element: /*#__PURE__*/ react.createElement(AdminLayout, {
|
|
17
|
+
title: "FormModel Demo"
|
|
18
|
+
}, /*#__PURE__*/ react.createElement(FormModelDemo, null))
|
|
19
|
+
}), /*#__PURE__*/ react.createElement(Route, {
|
|
20
|
+
route: Routes.CatchAll,
|
|
21
|
+
element: /*#__PURE__*/ react.createElement(AdminLayout, {
|
|
22
|
+
title: "Not Accessible"
|
|
23
|
+
}, /*#__PURE__*/ react.createElement(NotFound, null))
|
|
24
|
+
})));
|
|
34
25
|
RoutesConfig.displayName = "Routes";
|
|
26
|
+
export { RoutesConfig };
|
|
35
27
|
|
|
36
28
|
//# sourceMappingURL=RoutesConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/RoutesConfig.js","sources":["../../../src/base/Base/RoutesConfig.tsx"],"sourcesContent":["import React from \"react\";\nimport { Dashboard } from \"~/base/ui/Dashboard.js\";\nimport { AdminLayout } from \"~/components/AdminLayout.js\";\nimport { NotFound } from \"~/base/ui/NotFound.js\";\nimport { AdminConfig } from \"~/config/AdminConfig.js\";\nimport { Routes } from \"~/routes.js\";\nimport { Route } from \"~/config/AdminConfig/Route.js\";\nimport { FormModelDemo } from \"~/features/formModel/demo/FormModelDemo.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.FormModelDemo}\n element={\n <AdminLayout title={\"FormModel Demo\"}>\n <FormModelDemo />\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"],"names":["RoutesConfig","React","AdminConfig","Route","Routes","AdminLayout","Dashboard","FormModelDemo","NotFound"],"mappings":";;;;;;;;AASO,MAAMA,eAAe,WAAHA,GAAGC,MAAAA,IAAU,CAAC,IAC5B,WAAP,GACI,oBAACC,aAAWA,MAAAA,WAAAA,GACR,oBAACC,OAAKA;QACF,OAAOC,OAAO,SAAS;QACvB,uBACI,oBAACC,aAAWA;YAAC,OAAO;yBAChB,oBAACC,WAASA;sBAKtB,oBAACH,OAAKA;QACF,OAAOC,OAAO,aAAa;QAC3B,uBACI,oBAACC,aAAWA;YAAC,OAAO;yBAChB,oBAACE,eAAaA;sBAK1B,oBAACJ,OAAKA;QACF,OAAOC,OAAO,QAAQ;QACtB,uBACI,oBAACC,aAAWA;YAAC,OAAO;yBAChB,oBAACG,UAAQA;;AAQjCR,aAAa,WAAW,GAAG"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/wby-horizontal.03327bf6.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgWbyHorizontal = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
width: "inherit",
|
|
7
|
+
viewBox: "0 0 413 136",
|
|
8
|
+
...props
|
|
9
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("defs", null, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
10
|
+
id: "wby-horizontal_svg__a",
|
|
11
|
+
d: "m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z"
|
|
12
|
+
})), /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
13
|
+
fill: "none",
|
|
14
|
+
fillRule: "evenodd"
|
|
15
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
16
|
+
fill: "#FA5A28",
|
|
17
|
+
d: "M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z"
|
|
18
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
19
|
+
transform: "translate(0 .5)"
|
|
20
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("mask", {
|
|
21
|
+
id: "wby-horizontal_svg__b",
|
|
22
|
+
fill: "#fff"
|
|
23
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
24
|
+
xlinkHref: "#wby-horizontal_svg__a"
|
|
25
|
+
})), /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
26
|
+
xlinkHref: "#wby-horizontal_svg__a",
|
|
27
|
+
fill: "#FA5A28"
|
|
28
|
+
}))));
|
|
29
|
+
const wby_horizontal = __rslib_svgr_url__0__;
|
|
30
|
+
export default wby_horizontal;
|
|
31
|
+
export { SvgWbyHorizontal as ReactComponent };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=wby-horizontal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base/Base/Tenant/wby-horizontal.js","sources":["../../../../src/base/Base/Tenant/wby-horizontal.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgWbyHorizontal = props => <svg xmlns=\"http://www.w3.org/2000/svg\" xmlnsXlink=\"http://www.w3.org/1999/xlink\" width=\"inherit\" viewBox=\"0 0 413 136\" {...props}><defs><path id=\"wby-horizontal_svg__a\" d=\"m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z\" /></defs><g fill=\"none\" fillRule=\"evenodd\"><path fill=\"#FA5A28\" d=\"M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z\" /><g transform=\"translate(0 .5)\"><mask id=\"wby-horizontal_svg__b\" fill=\"#fff\"><use xlinkHref=\"#wby-horizontal_svg__a\" /></mask><use xlinkHref=\"#wby-horizontal_svg__a\" fill=\"#FA5A28\" /></g></g></svg>;\nexport { SvgWbyHorizontal as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/wby-horizontal.03327bf6.svg\";"],"names":["SvgWbyHorizontal","props"],"mappings":";;AACA,MAAMA,mBAAmBC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,YAAW;QAA+B,OAAM;QAAU,SAAQ;QAAe,GAAGA,KAAK;qBAAE,sCAAC,4BAAK,sCAAC;QAAK,IAAG;QAAwB,GAAE;uBAAkmB,sCAAC;QAAE,MAAK;QAAO,UAAS;qBAAU,sCAAC;QAAK,MAAK;QAAU,GAAE;sBAAkvF,sCAAC;QAAE,WAAU;qBAAkB,sCAAC;QAAK,IAAG;QAAwB,MAAK;qBAAO,sCAAC;QAAI,WAAU;uBAAkC,sCAAC;QAAI,WAAU;QAAyB,MAAK;;AAErwH"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/wby-square.ff8f47c3.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgWbySquare = (props)=>/*#__PURE__*/ __rspack_external_react.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: 44,
|
|
6
|
+
height: 49,
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 44 49",
|
|
9
|
+
...props
|
|
10
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
11
|
+
fill: "#FA5723",
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
d: "m24.884 47.91 16.573-9.44a4.99 4.99 0 0 0 2.535-4.332v-18.88a4.99 4.99 0 0 0-2.535-4.33l-16.573-9.44a5.13 5.13 0 0 0-5.069 0l-16.573 9.44a4.99 4.99 0 0 0-2.535 4.33v18.88c0 1.787.966 3.438 2.535 4.331l16.573 9.44a5.13 5.13 0 0 0 5.07 0m4.59-23.144q1.452-4.021 2.893-8.031h4.652L30.35 35.577h-3.845c-.703-1.955-1.413-3.936-2.127-5.928l-1.649-4.595h-.384l-3.798 10.531h-3.836l-.245-.692-6.423-18.141h4.647c1.227 3.392 2.495 6.907 3.764 10.422h.363c1.252-3.481 2.503-6.958 3.768-10.469h3.891l1.167 3.248 2.58 7.183h.396z",
|
|
14
|
+
clipRule: "evenodd"
|
|
15
|
+
}));
|
|
16
|
+
const wby_square = __rslib_svgr_url__0__;
|
|
17
|
+
export default wby_square;
|
|
18
|
+
export { SvgWbySquare as ReactComponent };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=wby-square.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base/Base/Tenant/wby-square.js","sources":["../../../../src/base/Base/Tenant/wby-square.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgWbySquare = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={44} height={49} fill=\"none\" viewBox=\"0 0 44 49\" {...props}><path fill=\"#FA5723\" fillRule=\"evenodd\" d=\"m24.884 47.91 16.573-9.44a4.99 4.99 0 0 0 2.535-4.332v-18.88a4.99 4.99 0 0 0-2.535-4.33l-16.573-9.44a5.13 5.13 0 0 0-5.069 0l-16.573 9.44a4.99 4.99 0 0 0-2.535 4.33v18.88c0 1.787.966 3.438 2.535 4.331l16.573 9.44a5.13 5.13 0 0 0 5.07 0m4.59-23.144q1.452-4.021 2.893-8.031h4.652L30.35 35.577h-3.845c-.703-1.955-1.413-3.936-2.127-5.928l-1.649-4.595h-.384l-3.798 10.531h-3.836l-.245-.692-6.423-18.141h4.647c1.227 3.392 2.495 6.907 3.764 10.422h.363c1.252-3.481 2.503-6.958 3.768-10.469h3.891l1.167 3.248 2.58 7.183h.396z\" clipRule=\"evenodd\" /></svg>;\nexport { SvgWbySquare as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/wby-square.ff8f47c3.svg\";"],"names":["SvgWbySquare","props"],"mappings":";;AACA,MAAMA,eAAeC,CAAAA,QAAAA,WAAAA,GAAS,sCAAC;QAAI,OAAM;QAA6B,OAAO;QAAI,QAAQ;QAAI,MAAK;QAAO,SAAQ;QAAa,GAAGA,KAAK;qBAAE,sCAAC;QAAK,MAAK;QAAU,UAAS;QAAU,GAAE;QAAwgB,UAAS;;AAEnsB"}
|
package/base/Base/Tenant.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { AdminConfig } from "../../config/AdminConfig.js";
|
|
3
|
-
import { ReactComponent
|
|
4
|
-
import { ReactComponent as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Title,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
width: 175
|
|
19
|
-
})
|
|
20
|
-
}));
|
|
3
|
+
import { ReactComponent } from "./Tenant/wby-square.js";
|
|
4
|
+
import { ReactComponent as wby_horizontal_js_ReactComponent } from "./Tenant/wby-horizontal.js";
|
|
5
|
+
const Tenant = /*#__PURE__*/ react.memo(()=>{
|
|
6
|
+
const { Title, Logo } = AdminConfig;
|
|
7
|
+
return /*#__PURE__*/ react.createElement(AdminConfig.Public, null, /*#__PURE__*/ react.createElement(Title, {
|
|
8
|
+
value: "Webiny"
|
|
9
|
+
}), /*#__PURE__*/ react.createElement(Logo, {
|
|
10
|
+
squareLogo: /*#__PURE__*/ react.createElement(ReactComponent, {
|
|
11
|
+
alt: "Webiny",
|
|
12
|
+
width: 32
|
|
13
|
+
}),
|
|
14
|
+
horizontalLogo: /*#__PURE__*/ react.createElement(wby_horizontal_js_ReactComponent, {
|
|
15
|
+
width: 175
|
|
16
|
+
})
|
|
17
|
+
}));
|
|
21
18
|
});
|
|
22
19
|
Tenant.displayName = "Tenant";
|
|
20
|
+
export { Tenant };
|
|
23
21
|
|
|
24
22
|
//# sourceMappingURL=Tenant.js.map
|
package/base/Base/Tenant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/Tenant.js","sources":["../../../src/base/Base/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"],"names":["Tenant","React","Title","Logo","AdminConfig","SquareLogo","HorizontalLogo"],"mappings":";;;;AAKO,MAAMA,SAAS,WAAHA,GAAGC,MAAAA,IAAU,CAAC;IAC7B,MAAM,EAAEC,KAAK,EAAEC,IAAI,EAAE,GAAGC;IACxB,OAAO,WAAP,GACI,oBAACA,YAAY,MAAM,sBACf,oBAACF,OAAAA;QAAM,OAAO;sBACd,oBAACC,MAAAA;QACG,0BAAY,oBAACE,gBAAUA;YAAC,KAAK;YAAU,OAAO;;QAC9C,8BAAgB,oBAACC,kCAAcA;YAAC,OAAO;;;AAIvD;AAEAN,OAAO,WAAW,GAAG"}
|
|
@@ -1,37 +1,26 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { makeDecoratable } from "@webiny/app";
|
|
3
|
-
import { ReactComponent
|
|
3
|
+
import { ReactComponent } from "@webiny/icons/logout.svg";
|
|
4
4
|
import { useAuthentication } from "../../../presentation/security/hooks/useAuthentication.js";
|
|
5
5
|
import { useTenantContext } from "../../../presentation/tenancy/useTenantContext.js";
|
|
6
6
|
import { Menu } from "../../../config/AdminConfig/Menu.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} = identity;
|
|
22
|
-
if (currentTenant.id !== defaultTenant.id) {
|
|
23
|
-
return /*#__PURE__*/React.createElement(Menu.User.Item, {
|
|
24
|
-
icon: /*#__PURE__*/React.createElement(Menu.User.Item.Icon, {
|
|
25
|
-
element: /*#__PURE__*/React.createElement(SignOutIcon, null),
|
|
26
|
-
label: "Exit tenant"
|
|
27
|
-
}),
|
|
28
|
-
text: "Exit tenant",
|
|
29
|
-
onClick: () => {
|
|
30
|
-
tenancy.setTenant(defaultTenant.id);
|
|
31
|
-
}
|
|
7
|
+
const ExitTenant = makeDecoratable("ExitTenant", ()=>{
|
|
8
|
+
const tenancy = useTenantContext();
|
|
9
|
+
const { identity, isAuthenticated } = useAuthentication();
|
|
10
|
+
if (!isAuthenticated) return null;
|
|
11
|
+
const { currentTenant, defaultTenant } = identity;
|
|
12
|
+
if (currentTenant.id !== defaultTenant.id) return /*#__PURE__*/ react.createElement(Menu.User.Item, {
|
|
13
|
+
icon: /*#__PURE__*/ react.createElement(Menu.User.Item.Icon, {
|
|
14
|
+
element: /*#__PURE__*/ react.createElement(ReactComponent, null),
|
|
15
|
+
label: "Exit tenant"
|
|
16
|
+
}),
|
|
17
|
+
text: "Exit tenant",
|
|
18
|
+
onClick: ()=>{
|
|
19
|
+
tenancy.setTenant(defaultTenant.id);
|
|
20
|
+
}
|
|
32
21
|
});
|
|
33
|
-
|
|
34
|
-
return null;
|
|
22
|
+
return null;
|
|
35
23
|
});
|
|
24
|
+
export { ExitTenant };
|
|
36
25
|
|
|
37
26
|
//# sourceMappingURL=ExitTenant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/UserMenu/ExitTenant.js","sources":["../../../../src/base/Base/UserMenu/ExitTenant.tsx"],"sourcesContent":["import React from \"react\";\nimport { makeDecoratable } from \"@webiny/app\";\nimport { ReactComponent as SignOutIcon } from \"@webiny/icons/logout.svg\";\nimport { useAuthentication } from \"~/presentation/security/hooks/useAuthentication.js\";\nimport { useTenantContext } from \"~/presentation/tenancy/useTenantContext.js\";\nimport { Menu } from \"~/config/AdminConfig/Menu.js\";\n\nexport const ExitTenant = makeDecoratable(\"ExitTenant\", () => {\n const tenancy = useTenantContext();\n const { identity, isAuthenticated } = useAuthentication();\n\n if (!isAuthenticated) {\n return null;\n }\n\n // This is only applicable in multi-tenant environments\n const { currentTenant, defaultTenant } = identity;\n\n if (currentTenant.id !== defaultTenant.id) {\n return (\n <Menu.User.Item\n icon={<Menu.User.Item.Icon element={<SignOutIcon />} label={\"Exit tenant\"} />}\n text={\"Exit tenant\"}\n onClick={() => {\n tenancy.setTenant(defaultTenant.id);\n }}\n />\n );\n }\n\n return null;\n});\n"],"names":["ExitTenant","makeDecoratable","tenancy","useTenantContext","identity","isAuthenticated","useAuthentication","currentTenant","defaultTenant","Menu","SignOutIcon"],"mappings":";;;;;;AAOO,MAAMA,aAAaC,gBAAgB,cAAc;IACpD,MAAMC,UAAUC;IAChB,MAAM,EAAEC,QAAQ,EAAEC,eAAe,EAAE,GAAGC;IAEtC,IAAI,CAACD,iBACD,OAAO;IAIX,MAAM,EAAEE,aAAa,EAAEC,aAAa,EAAE,GAAGJ;IAEzC,IAAIG,cAAc,EAAE,KAAKC,cAAc,EAAE,EACrC,OAAO,WAAP,GACI,oBAACC,KAAK,IAAI,CAAC,IAAI;QACX,oBAAM,oBAACA,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI;YAAC,uBAAS,oBAACC,gBAAWA;YAAK,OAAO;;QAC5D,MAAM;QACN,SAAS;YACLR,QAAQ,SAAS,CAACM,cAAc,EAAE;QACtC;;IAKZ,OAAO;AACX"}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ReactComponent
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { ReactComponent } from "@webiny/icons/logout.svg";
|
|
3
3
|
import { useAuthentication } from "../../../presentation/security/hooks/useAuthentication.js";
|
|
4
4
|
import { Menu } from "../../../config/AdminConfig/Menu.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
15
|
-
onClick: logout
|
|
16
|
-
});
|
|
5
|
+
const SignOut = ()=>{
|
|
6
|
+
const { logout } = useAuthentication();
|
|
7
|
+
return /*#__PURE__*/ react.createElement(Menu.User.Item, {
|
|
8
|
+
text: "Sign out",
|
|
9
|
+
icon: /*#__PURE__*/ react.createElement(Menu.User.Item.Icon, {
|
|
10
|
+
element: /*#__PURE__*/ react.createElement(ReactComponent, null),
|
|
11
|
+
label: "Sign out"
|
|
12
|
+
}),
|
|
13
|
+
onClick: logout
|
|
14
|
+
});
|
|
17
15
|
};
|
|
16
|
+
export { SignOut };
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=SignOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"base/Base/UserMenu/SignOut.js","sources":["../../../../src/base/Base/UserMenu/SignOut.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SignOutIcon } from \"@webiny/icons/logout.svg\";\nimport { useAuthentication } from \"~/presentation/security/hooks/useAuthentication.js\";\nimport { Menu } from \"~/config/AdminConfig/Menu.js\";\n\nexport const SignOut = () => {\n const { logout } = useAuthentication();\n\n return (\n <Menu.User.Item\n text={\"Sign out\"}\n icon={<Menu.User.Item.Icon element={<SignOutIcon />} label={\"Sign out\"} />}\n onClick={logout}\n />\n );\n};\n"],"names":["SignOut","logout","useAuthentication","Menu","SignOutIcon"],"mappings":";;;;AAKO,MAAMA,UAAU;IACnB,MAAM,EAAEC,MAAM,EAAE,GAAGC;IAEnB,OAAO,WAAP,GACI,oBAACC,KAAK,IAAI,CAAC,IAAI;QACX,MAAM;QACN,oBAAM,oBAACA,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI;YAAC,uBAAS,oBAACC,gBAAWA;YAAK,OAAO;;QAC5D,SAASH;;AAGrB"}
|