@webiny/app-admin 5.20.0 → 5.22.0-beta.1

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.
Files changed (134) hide show
  1. package/assets/icons/slack-logo.svg +1 -1
  2. package/base/Admin.d.ts +14 -0
  3. package/base/Admin.js +29 -0
  4. package/base/Base.d.ts +2 -0
  5. package/base/Base.js +65 -0
  6. package/base/plugins/AddGraphQLQuerySelection.d.ts +9 -0
  7. package/base/plugins/AddGraphQLQuerySelection.js +15 -0
  8. package/base/providers/ApolloProvider.d.ts +4 -0
  9. package/base/providers/ApolloProvider.js +14 -0
  10. package/base/providers/TelemetryProvider.d.ts +4 -0
  11. package/base/providers/TelemetryProvider.js +19 -0
  12. package/base/providers/UiStateProvider.d.ts +4 -0
  13. package/base/providers/UiStateProvider.js +10 -0
  14. package/base/providers/ViewCompositionProvider.d.ts +18 -0
  15. package/base/providers/ViewCompositionProvider.js +44 -0
  16. package/base/ui/Brand.d.ts +9 -0
  17. package/base/ui/Brand.js +6 -0
  18. package/base/ui/CenteredView.d.ts +8 -0
  19. package/base/ui/CenteredView.js +27 -0
  20. package/base/ui/Dashboard.d.ts +9 -0
  21. package/base/ui/Dashboard.js +6 -0
  22. package/base/ui/Layout.d.ts +13 -0
  23. package/base/ui/Layout.js +11 -0
  24. package/base/ui/LocaleSelector.d.ts +9 -0
  25. package/base/ui/LocaleSelector.js +6 -0
  26. package/base/ui/LoginScreen.d.ts +9 -0
  27. package/base/ui/LoginScreen.js +12 -0
  28. package/base/ui/Logo.d.ts +14 -0
  29. package/base/ui/Logo.js +20 -0
  30. package/base/ui/Menu.d.ts +35 -0
  31. package/base/ui/Menu.js +80 -0
  32. package/base/ui/Navigation.d.ts +35 -0
  33. package/base/ui/Navigation.js +147 -0
  34. package/base/ui/NotFound.d.ts +9 -0
  35. package/base/ui/NotFound.js +6 -0
  36. package/base/ui/Search.d.ts +28 -0
  37. package/base/ui/Search.js +48 -0
  38. package/base/ui/Tags.d.ts +8 -0
  39. package/base/ui/Tags.js +13 -0
  40. package/base/ui/UserMenu.d.ts +54 -0
  41. package/base/ui/UserMenu.js +86 -0
  42. package/components/AdminLayout.js +5 -31
  43. package/components/AppInstaller/AppInstaller.d.ts +4 -0
  44. package/components/AppInstaller/AppInstaller.js +136 -0
  45. package/components/AppInstaller/index.d.ts +1 -4
  46. package/components/AppInstaller/index.js +13 -133
  47. package/components/AppInstaller/styled.d.ts +4 -4
  48. package/components/EmptyView.js +1 -1
  49. package/components/FileManager/BottomInfoBar/SupportedFileTypes.js +2 -2
  50. package/components/FileManager/DropFilesHere.js +1 -1
  51. package/components/FileManager/File.js +2 -2
  52. package/components/FileManager/FileDetails/Tags.js +2 -2
  53. package/components/FileManager/FileDetails.js +6 -6
  54. package/components/FileManager/FileManagerView.js +2 -2
  55. package/components/FileManager/LeftSidebar.js +1 -1
  56. package/components/FileManager/NoPermissionView.js +1 -1
  57. package/components/FloatingActionButton.js +1 -1
  58. package/components/OverlayLayout/OverlayLayout.js +1 -1
  59. package/components/Routes.d.ts +6 -0
  60. package/components/Routes.js +34 -0
  61. package/components/SearchUI.js +1 -1
  62. package/index.d.ts +28 -0
  63. package/index.js +26 -0
  64. package/package.json +28 -32
  65. package/plugins/MenuPlugin.d.ts +18 -1
  66. package/plugins/fileManager/fileDefault.js +1 -1
  67. package/plugins/fileManager/fileImage/DeleteAction.js +1 -1
  68. package/plugins/fileManager/fileImage/EditAction.js +1 -1
  69. package/plugins/globalSearch/SearchBar.d.ts +6 -3
  70. package/plugins/globalSearch/SearchBar.js +3 -2
  71. package/plugins/globalSearch/SearchBarDropdown.js +1 -1
  72. package/plugins/globalSearch/index.d.ts +0 -3
  73. package/plugins/globalSearch/index.js +0 -18
  74. package/plugins/globalSearch/styled.d.ts +3 -3
  75. package/plugins/index.d.ts +1 -1
  76. package/plugins/index.js +2 -4
  77. package/styles/material-theme-assignments.scss +1 -0
  78. package/types.d.ts +1 -10
  79. package/ui/elements/PanelElement.js +2 -1
  80. package/ui/elements/form/FileManagerElement/EmptyStateElement.js +2 -1
  81. package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +2 -2
  82. package/ui/elements/form/FileManagerElement/styled.d.ts +9 -9
  83. package/ui/elements/form/FileManagerElement.d.ts +3 -2
  84. package/ui/views/AdminView/ContentElement.js +1 -1
  85. package/ui/views/AdminView/components/Hamburger.js +1 -1
  86. package/ui/views/FormView/FormContentElement.js +2 -1
  87. package/ui/views/OverlayView/HeaderElement.js +1 -1
  88. package/ui/views/OverlayView/HeaderTitleElement.js +1 -1
  89. package/plugins/logo/Logo.d.ts +0 -22
  90. package/plugins/logo/Logo.js +0 -108
  91. package/plugins/logo/index.d.ts +0 -5
  92. package/plugins/logo/index.js +0 -32
  93. package/plugins/menu/documentation.d.ts +0 -4
  94. package/plugins/menu/documentation.js +0 -16
  95. package/plugins/menu/fileManager.d.ts +0 -4
  96. package/plugins/menu/fileManager.js +0 -64
  97. package/plugins/menu/index.d.ts +0 -6
  98. package/plugins/menu/index.js +0 -24
  99. package/plugins/menu/renderers/MenuGroupRenderer.d.ts +0 -7
  100. package/plugins/menu/renderers/MenuGroupRenderer.js +0 -126
  101. package/plugins/menu/renderers/MenuLinkRenderer.d.ts +0 -7
  102. package/plugins/menu/renderers/MenuLinkRenderer.js +0 -52
  103. package/plugins/menu/renderers/MenuSectionItemRenderer.d.ts +0 -7
  104. package/plugins/menu/renderers/MenuSectionItemRenderer.js +0 -77
  105. package/plugins/menu/renderers/MenuSectionRenderer.d.ts +0 -7
  106. package/plugins/menu/renderers/MenuSectionRenderer.js +0 -51
  107. package/plugins/menu/slack.d.ts +0 -4
  108. package/plugins/menu/slack.js +0 -16
  109. package/plugins/menu/source.d.ts +0 -4
  110. package/plugins/menu/source.js +0 -16
  111. package/plugins/userMenu/UserMenuElement.d.ts +0 -7
  112. package/plugins/userMenu/UserMenuElement.js +0 -43
  113. package/plugins/userMenu/UserMenuRenderer.d.ts +0 -6
  114. package/plugins/userMenu/UserMenuRenderer.js +0 -47
  115. package/plugins/userMenu/index.d.ts +0 -4
  116. package/plugins/userMenu/index.js +0 -16
  117. package/ui/views/AdminView.d.ts +0 -12
  118. package/ui/views/AdminView.js +0 -90
  119. package/ui/views/NavigationView/ContentElement.d.ts +0 -10
  120. package/ui/views/NavigationView/ContentElement.js +0 -86
  121. package/ui/views/NavigationView/FooterElement.d.ts +0 -13
  122. package/ui/views/NavigationView/FooterElement.js +0 -59
  123. package/ui/views/NavigationView/HeaderElement.d.ts +0 -16
  124. package/ui/views/NavigationView/HeaderElement.js +0 -66
  125. package/ui/views/NavigationView/NavigationViewRenderer.d.ts +0 -6
  126. package/ui/views/NavigationView/NavigationViewRenderer.js +0 -38
  127. package/ui/views/NavigationView/Styled.d.ts +0 -7
  128. package/ui/views/NavigationView/Styled.js +0 -47
  129. package/ui/views/NavigationView/legacyMenu.d.ts +0 -22
  130. package/ui/views/NavigationView/legacyMenu.js +0 -1
  131. package/ui/views/NavigationView/useNavigation.d.ts +0 -6
  132. package/ui/views/NavigationView/useNavigation.js +0 -22
  133. package/ui/views/NavigationView.d.ts +0 -26
  134. package/ui/views/NavigationView.js +0 -204
@@ -1,136 +1,16 @@
1
- import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useEffect, useState } from "react";
3
- import { default as localStorage } from "store";
4
- import { useSecurity } from "@webiny/app-security";
5
- import { CircularProgress } from "@webiny/ui/Progress";
6
- import { ButtonPrimary } from "@webiny/ui/Button";
7
- import { SplitView, LeftPanel, RightPanel } from "../SplitView";
8
- import { Grid, Cell } from "@webiny/ui/Grid";
9
- import { Typography } from "@webiny/ui/Typography";
10
- import { Elevation } from "@webiny/ui/Elevation";
11
- import { useInstaller } from "./useInstaller";
12
- import Sidebar from "./Sidebar";
13
- import { Wrapper, alertClass, InnerContent, InstallContent, installerSplitView, SuccessDialog } from "./styled";
14
- import { config as appConfig } from "@webiny/app/config";
15
- export var AppInstaller = function AppInstaller(_ref) {
16
- var Authentication = _ref.Authentication,
17
- children = _ref.children;
18
- var tenantId = localStorage.get("webiny_tenant") || "root";
19
- var lsKey = "webiny_installation_".concat(tenantId);
20
- var wbyVersion = appConfig.getKey("WEBINY_VERSION", process.env.REACT_APP_WEBINY_VERSION);
21
-
22
- var markInstallerAsCompleted = function markInstallerAsCompleted() {
23
- localStorage.set(lsKey, wbyVersion);
24
- };
25
-
26
- var isInstallerCompleted = function isInstallerCompleted() {
27
- return localStorage.get(lsKey) === wbyVersion;
1
+ import { Provider } from "../..";
2
+ import React from "react";
3
+ import { AppInstaller as Installer } from "./AppInstaller";
4
+
5
+ var AppInstallerHOC = function AppInstallerHOC(Component) {
6
+ return function AppInstallerProvider(_ref) {
7
+ var children = _ref.children;
8
+ return /*#__PURE__*/React.createElement(Installer, null, /*#__PURE__*/React.createElement(Component, null, children));
28
9
  };
10
+ };
29
11
 
30
- var _useState = useState(false),
31
- _useState2 = _slicedToArray(_useState, 2),
32
- finished = _useState2[0],
33
- setFinished = _useState2[1];
34
-
35
- var _useSecurity = useSecurity(),
36
- identity = _useSecurity.identity;
37
-
38
- var _useInstaller = useInstaller({
39
- isInstalled: isInstallerCompleted()
40
- }),
41
- loading = _useInstaller.loading,
42
- installers = _useInstaller.installers,
43
- installer = _useInstaller.installer,
44
- showNextInstaller = _useInstaller.showNextInstaller,
45
- showLogin = _useInstaller.showLogin,
46
- onUser = _useInstaller.onUser,
47
- skippingVersions = _useInstaller.skippingVersions;
48
-
49
- useEffect(function () {
50
- if (identity) {
51
- onUser();
52
- }
53
- }, [identity]);
54
-
55
- if (isInstallerCompleted()) {
56
- return /*#__PURE__*/React.createElement(Authentication, null, children);
57
- }
58
-
59
- var renderLayout = function renderLayout(content) {
60
- var secure = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
61
- return /*#__PURE__*/React.createElement(SplitView, {
62
- className: installerSplitView
63
- }, /*#__PURE__*/React.createElement(LeftPanel, {
64
- span: 2
65
- }, /*#__PURE__*/React.createElement(Sidebar, {
66
- allInstallers: installers,
67
- installer: installer,
68
- showLogin: showLogin
69
- })), /*#__PURE__*/React.createElement(RightPanel, {
70
- span: 10
71
- }, !showLogin && !secure && content, (showLogin || secure) && /*#__PURE__*/React.createElement(Authentication, null, content)));
72
- };
73
-
74
- var renderBody = function renderBody(content) {
75
- return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(InstallContent, null, /*#__PURE__*/React.createElement(InnerContent, null, content)));
76
- }; // Loading installers data
77
-
78
-
79
- if (loading) {
80
- return /*#__PURE__*/React.createElement(CircularProgress, {
81
- label: "Checking apps..."
82
- });
83
- } // This means there are no installers to run or installation was finished
84
-
85
-
86
- if (!loading && (installers.length === 0 || finished)) {
87
- markInstallerAsCompleted();
88
- return /*#__PURE__*/React.createElement(Authentication, null, children);
89
- }
90
-
91
- if (installer) {
92
- return renderLayout(renderBody(installer.render({
93
- onInstalled: showNextInstaller
94
- })), installer.secure);
95
- }
96
-
97
- if (skippingVersions) {
98
- return renderBody( /*#__PURE__*/React.createElement(Elevation, {
99
- z: 1,
100
- className: alertClass
101
- }, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(Cell, {
102
- span: 12
103
- }, /*#__PURE__*/React.createElement(Typography, {
104
- use: "headline4"
105
- }, "Important!")), /*#__PURE__*/React.createElement(Cell, {
106
- span: 12
107
- }, /*#__PURE__*/React.createElement(Typography, {
108
- use: "body1",
109
- tag: "div"
110
- }, "We've detected that your current application is running Webiny", " ", /*#__PURE__*/React.createElement("strong", null, "v", skippingVersions.latest), ". However, your API is running ", /*#__PURE__*/React.createElement("strong", null, "v", skippingVersions.current), ". Unfortunately, we can't upgrade your system by skipping versions in between.", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "Here's a list of versions you skipped, that contain upgrades you need to install:", /*#__PURE__*/React.createElement("ul", null, skippingVersions.availableUpgrades.filter(function (v) {
111
- return v !== skippingVersions.latest;
112
- }).map(function (v) {
113
- return /*#__PURE__*/React.createElement("li", {
114
- key: v
115
- }, "v", v);
116
- })), "For instructions on how to upgrade Webiny, please consult our", " ", /*#__PURE__*/React.createElement("a", {
117
- href: "https://docs.webiny.com/docs/how-to-guides/upgrade-webiny",
118
- target: "_blank",
119
- rel: "noreferrer noopener"
120
- }, "Upgrade Webiny"), " ", "guide. Note that some versions may have a dedicated article with upgrade instructions, so look out for those in the upgrade guide.", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "If you run into problems, find us on our", " ", /*#__PURE__*/React.createElement("a", {
121
- href: "https://www.webiny.com/slack",
122
- target: "_blank",
123
- rel: "noreferrer noopener"
124
- }, "Slack community."))))));
125
- }
126
-
127
- return renderLayout(renderBody( /*#__PURE__*/React.createElement(Elevation, {
128
- z: 1
129
- }, /*#__PURE__*/React.createElement(SuccessDialog, null, /*#__PURE__*/React.createElement("p", null, "You have successfully installed all new applications!"), /*#__PURE__*/React.createElement(ButtonPrimary, {
130
- "data-testid": "open-webiny-cms-admin-button",
131
- onClick: function onClick() {
132
- markInstallerAsCompleted();
133
- setFinished(true);
134
- }
135
- }, "Open Admin Area")))), true);
12
+ export var AppInstaller = function AppInstaller() {
13
+ return /*#__PURE__*/React.createElement(Provider, {
14
+ hoc: AppInstallerHOC
15
+ });
136
16
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
3
- export declare const InstallContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
2
+ export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "children" | "slot" | "style" | "title" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
3
+ export declare const InstallContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "slot" | "style" | "title" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
4
4
  export declare const installerSplitView: string;
5
- export declare const SuccessDialog: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
6
- export declare const InnerContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
5
+ export declare const SuccessDialog: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "slot" | "style" | "title" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
6
+ export declare const InnerContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "slot" | "style" | "title" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
7
7
  export declare const alertClass: string;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import styled from "@emotion/styled";
3
3
  import { Typography } from "@webiny/ui/Typography";
4
- import { ReactComponent as TouchIcon } from "@svgr/webpack!../assets/icons/touch_app.svg";
4
+ import { ReactComponent as TouchIcon } from "../assets/icons/touch_app.svg";
5
5
  var EmptyViewWrapper = /*#__PURE__*/styled("div", {
6
6
  target: "eu81oh40",
7
7
  label: "EmptyViewWrapper"
@@ -10,7 +10,7 @@ mime.define({
10
10
  "image/vnd.microsoft.icon": ["ico"]
11
11
  }, true);
12
12
 
13
- var getUniqueFileExtensions = function getUniqueFileExtensions(accept) {
13
+ var getUniqueFilePlugins = function getUniqueFilePlugins(accept) {
14
14
  var exts = {};
15
15
  accept.forEach(function (item) {
16
16
  exts[mime.getExtension(item)] = true;
@@ -29,7 +29,7 @@ var SupportedFileTypes = function SupportedFileTypes(_ref) {
29
29
  return /*#__PURE__*/React.createElement("span", null, "Showing all file extensions.");
30
30
  }
31
31
 
32
- return /*#__PURE__*/React.createElement("span", null, "Showing the following file extensions: ", getUniqueFileExtensions(accept).join(", "), ".");
32
+ return /*#__PURE__*/React.createElement("span", null, "Showing the following file extensions: ", getUniqueFilePlugins(accept).join(", "), ".");
33
33
  };
34
34
 
35
35
  export default SupportedFileTypes;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { css } from "emotion";
3
3
  import classNames from "classnames";
4
4
  import { Icon } from "@webiny/ui/Icon";
5
- import { ReactComponent as UploadIcon } from "@svgr/webpack!./icons/round-cloud_upload-24px.svg";
5
+ import { ReactComponent as UploadIcon } from "./icons/round-cloud_upload-24px.svg";
6
6
  var styles = /*#__PURE__*/css({
7
7
  margin: "0 auto",
8
8
  paddingTop: 0,
@@ -4,8 +4,8 @@ import classNames from "classnames";
4
4
  import { css, keyframes } from "emotion";
5
5
  import { Ripple } from "@webiny/ui/Ripple";
6
6
  import { IconButton } from "@webiny/ui/Button";
7
- import { ReactComponent as Checked } from "@svgr/webpack!./icons/round-check_box-24px.svg";
8
- import { ReactComponent as SettingsIcon } from "@svgr/webpack!../../assets/icons/round-settings-24px.svg";
7
+ import { ReactComponent as Checked } from "./icons/round-check_box-24px.svg";
8
+ import { ReactComponent as SettingsIcon } from "../../assets/icons/round-settings-24px.svg";
9
9
  var COMPONENT_WIDTH = 200;
10
10
  var COMPONENT_HEIGHT = 200;
11
11
  var grow = /*#__PURE__*/keyframes("0%{transform:scale(1)}50%{transform:scale(1.2)}100%{transform:scale(1)}label:grow;");
@@ -17,8 +17,8 @@ import { Form } from "@webiny/form";
17
17
  import { useSnackbar } from "../../../hooks/useSnackbar";
18
18
  import { useFileManager } from "./../FileManagerContext";
19
19
  import { UPDATE_FILE, LIST_FILES, LIST_TAGS } from "./../graphql";
20
- import { ReactComponent as EditIcon } from "@svgr/webpack!./../icons/round-edit-24px.svg";
21
- import { ReactComponent as LabelIcon } from "@svgr/webpack!./../icons/round-label-24px.svg";
20
+ import { ReactComponent as EditIcon } from "./../icons/round-edit-24px.svg";
21
+ import { ReactComponent as LabelIcon } from "./../icons/round-label-24px.svg";
22
22
  var chipsStyle = /*#__PURE__*/css({
23
23
  "&.mdc-chip-set": {
24
24
  padding: 0,
@@ -22,12 +22,12 @@ import { Tooltip } from "@webiny/ui/Tooltip";
22
22
  import { Icon } from "@webiny/ui/Icon";
23
23
  import { Typography } from "@webiny/ui/Typography";
24
24
  import { useHotkeys } from "react-hotkeyz";
25
- import { ReactComponent as CopyContentIcon } from "@svgr/webpack!./icons/content_copy-black-24px.svg";
26
- import { ReactComponent as DeleteIcon } from "@svgr/webpack!./icons/delete.svg";
27
- import { ReactComponent as ImageIcon } from "@svgr/webpack!../../assets/icons/insert_photo-24px.svg";
28
- import { ReactComponent as FileIcon } from "@svgr/webpack!../../assets/icons/insert_drive_file-24px.svg";
29
- import { ReactComponent as CalendarIcon } from "@svgr/webpack!../../assets/icons/today-24px.svg";
30
- import { ReactComponent as HighlightIcon } from "@svgr/webpack!../../assets/icons/highlight-24px.svg";
25
+ import { ReactComponent as CopyContentIcon } from "./icons/content_copy-black-24px.svg";
26
+ import { ReactComponent as DeleteIcon } from "./icons/delete.svg";
27
+ import { ReactComponent as ImageIcon } from "../../assets/icons/insert_photo-24px.svg";
28
+ import { ReactComponent as FileIcon } from "../../assets/icons/insert_drive_file-24px.svg";
29
+ import { ReactComponent as CalendarIcon } from "../../assets/icons/today-24px.svg";
30
+ import { ReactComponent as HighlightIcon } from "../../assets/icons/highlight-24px.svg";
31
31
  import { useFileManager } from "./FileManagerContext";
32
32
  import { useMutation } from "@apollo/react-hooks";
33
33
  import { useSnackbar } from "../../hooks/useSnackbar";
@@ -34,8 +34,8 @@ import { i18n } from "@webiny/app/i18n";
34
34
  import { useSecurity } from "@webiny/app-security";
35
35
  import { useHotkeys } from "react-hotkeyz";
36
36
  import { useFileManager } from "./FileManagerContext";
37
- import { ReactComponent as SearchIcon } from "@svgr/webpack!./icons/round-search-24px.svg";
38
- import { ReactComponent as UploadIcon } from "@svgr/webpack!./icons/round-cloud_upload-24px.svg";
37
+ import { ReactComponent as SearchIcon } from "./icons/round-search-24px.svg";
38
+ import { ReactComponent as UploadIcon } from "./icons/round-cloud_upload-24px.svg";
39
39
  import NoPermissionView from "./NoPermissionView";
40
40
  var t = i18n.ns("app-admin/file-manager/file-manager-view");
41
41
  var style = {
@@ -5,7 +5,7 @@ import sortBy from "lodash/sortBy";
5
5
  import { css } from "emotion";
6
6
  import styled from "@emotion/styled";
7
7
  import { Icon } from "@webiny/ui/Icon";
8
- import { ReactComponent as TagIcon } from "@svgr/webpack!./icons/round-label-24px.svg";
8
+ import { ReactComponent as TagIcon } from "./icons/round-label-24px.svg";
9
9
  import { LIST_TAGS } from "./graphql";
10
10
  var style = {
11
11
  leftDrawer: /*#__PURE__*/css({
@@ -6,7 +6,7 @@ import React from "react";
6
6
  import { css } from "emotion";
7
7
  import { Icon } from "@webiny/ui/Icon";
8
8
  import { i18n } from "@webiny/app/i18n";
9
- import { ReactComponent as PermissionIcon } from "@svgr/webpack!./icons/privacy_tip-24px.svg";
9
+ import { ReactComponent as PermissionIcon } from "./icons/privacy_tip-24px.svg";
10
10
  import { Typography } from "@webiny/ui/Typography";
11
11
  var t = i18n.ns("app-admin/file-manager/file-manager-view/no-permission");
12
12
  var styles = /*#__PURE__*/css({
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { ButtonFloating } from "@webiny/ui/Button";
3
- import { ReactComponent as AddIcon } from "@svgr/webpack!../assets/icons/round-add-24px.svg"; // Set "styles" inline, since no customizations are possible / needed here.
3
+ import { ReactComponent as AddIcon } from "../assets/icons/round-add-24px.svg"; // Set "styles" inline, since no customizations are possible / needed here.
4
4
 
5
5
  var FloatingActionButton = function FloatingActionButton(props) {
6
6
  return /*#__PURE__*/React.createElement("div", {
@@ -14,7 +14,7 @@ import { css } from "emotion";
14
14
  import { TopAppBarSecondary, TopAppBarSection } from "@webiny/ui/TopAppBar";
15
15
  import { IconButton } from "@webiny/ui/Button";
16
16
  import noop from "lodash/noop";
17
- import { ReactComponent as CloseIcon } from "@svgr/webpack!./icons/close.svg";
17
+ import { ReactComponent as CloseIcon } from "./icons/close.svg";
18
18
  import { OverlayView } from "../../ui/views/OverlayView";
19
19
  var OverlayLayoutWrapper = /*#__PURE__*/styled("div", {
20
20
  target: "e1inqa580",
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface RoutesProps {
3
+ routes: JSX.Element[];
4
+ }
5
+ export declare const Routes: (props: RoutesProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,34 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import React from "react";
3
+ import { plugins } from "@webiny/plugins";
4
+ import { Switch } from "@webiny/react-router";
5
+ export var Routes = function Routes(props) {
6
+ var routes = [].concat(_toConsumableArray(props.routes), _toConsumableArray(plugins.byType("route").map(function (_ref) {
7
+ var route = _ref.route;
8
+ return route;
9
+ }))).sort(function (a, b) {
10
+ var pathA = a.props.path || "*";
11
+ var pathB = b.props.path || "*"; // This will sort paths at the very bottom of the list
12
+
13
+ if (pathA === "/" && pathB === "*") {
14
+ return -1;
15
+ } // This will push * and / to the bottom of the list
16
+
17
+
18
+ if (pathA === "*" || pathA === "/") {
19
+ return 1;
20
+ } // This will push * and / to the bottom of the list
21
+
22
+
23
+ if (["*", "/"].includes(pathB)) {
24
+ return -1;
25
+ }
26
+
27
+ return 0;
28
+ });
29
+ return /*#__PURE__*/React.createElement(Switch, null, routes.map(function (route, index) {
30
+ return /*#__PURE__*/React.cloneElement(route, {
31
+ key: "".concat(route.props.path, ":").concat(index)
32
+ });
33
+ }));
34
+ };
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import styled from "@emotion/styled";
3
3
  import InputField from "./SimpleUI/InputField";
4
- import { ReactComponent as SearchIcon } from "@svgr/webpack!../assets/icons/search-24px.svg";
4
+ import { ReactComponent as SearchIcon } from "../assets/icons/search-24px.svg";
5
5
  var SearchWrapper = /*#__PURE__*/styled("div", {
6
6
  target: "epa3kz70",
7
7
  label: "SearchWrapper"
package/index.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ export * from "@webiny/app-admin-core";
2
+ export type { HigherOrderComponent, ProviderProps, ComposeProps } from "@webiny/app-admin-core";
3
+ export * from "./base/ui/Tags";
4
+ export * from "./base/ui/Menu";
5
+ export * from "./base/ui/Layout";
6
+ export * from "./base/ui/LocaleSelector";
7
+ export type { LayoutProps } from "./base/ui/Layout";
8
+ export * from "./base/ui/Navigation";
9
+ export type { MenuItemsProps } from "./base/ui/Navigation";
10
+ export * from "./base/ui/Brand";
11
+ export * from "./base/ui/Logo";
12
+ export * from "./base/ui/Search";
13
+ export type { SearchOptionData, SearchOptionProps } from "./base/ui/Search";
14
+ export * from "./base/ui/UserMenu";
15
+ export type { UserMenuItemProps } from "./base/ui/UserMenu";
16
+ export * from "./base/ui/LoginScreen";
17
+ export * from "./base/ui/CenteredView";
18
+ export * from "./base/ui/Dashboard";
19
+ export * from "./base/ui/NotFound";
20
+ export { Admin } from "./base/Admin";
21
+ export type { AdminProps } from "./base/Admin";
22
+ export { useViewComposition } from "./base/providers/ViewCompositionProvider";
23
+ export type { ViewCompositionContext, ViewElement } from "./base/providers/ViewCompositionProvider";
24
+ export * from "./base/plugins/AddGraphQLQuerySelection";
25
+ export { AppInstaller } from "./components/AppInstaller";
26
+ export * from "./hooks/useSnackbar";
27
+ export * from "./hooks/useConfirmationDialog";
28
+ export * from "./hooks/useDialog";
package/index.js ADDED
@@ -0,0 +1,26 @@
1
+ export * from "@webiny/app-admin-core";
2
+ // UI components
3
+ export * from "./base/ui/Tags";
4
+ export * from "./base/ui/Menu";
5
+ export * from "./base/ui/Layout";
6
+ export * from "./base/ui/LocaleSelector";
7
+ export * from "./base/ui/Navigation";
8
+ export * from "./base/ui/Brand";
9
+ export * from "./base/ui/Logo";
10
+ export * from "./base/ui/Search";
11
+ export * from "./base/ui/UserMenu";
12
+ export * from "./base/ui/LoginScreen";
13
+ export * from "./base/ui/CenteredView";
14
+ export * from "./base/ui/Dashboard";
15
+ export * from "./base/ui/NotFound"; // Base admin app
16
+
17
+ export { Admin } from "./base/Admin";
18
+ export { useViewComposition } from "./base/providers/ViewCompositionProvider";
19
+ // Plugins
20
+ export * from "./base/plugins/AddGraphQLQuerySelection"; // Components
21
+
22
+ export { AppInstaller } from "./components/AppInstaller"; // Hooks
23
+
24
+ export * from "./hooks/useSnackbar";
25
+ export * from "./hooks/useConfirmationDialog";
26
+ export * from "./hooks/useDialog";