@webiny/app-admin-ui 0.0.0-unstable.eb196ccd2f → 0.0.0-unstable.eb81deee7e
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/Breadcrumbs/Breadcrumbs.d.ts +14 -0
- package/Breadcrumbs/Breadcrumbs.js +74 -0
- package/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/CommandPalette/CommandPalette.d.ts +6 -0
- package/CommandPalette/CommandPalette.js +202 -0
- package/CommandPalette/CommandPalette.js.map +1 -0
- package/CommandPalette/components/AiModeBadge.d.ts +3 -0
- package/CommandPalette/components/AiModeBadge.js +11 -0
- package/CommandPalette/components/AiModeBadge.js.map +1 -0
- package/CommandPalette/components/AiSuggestions.d.ts +9 -0
- package/CommandPalette/components/AiSuggestions.js +32 -0
- package/CommandPalette/components/AiSuggestions.js.map +1 -0
- package/CommandPalette/components/AiTurn.d.ts +11 -0
- package/CommandPalette/components/AiTurn.js +61 -0
- package/CommandPalette/components/AiTurn.js.map +1 -0
- package/CommandPalette/components/AnswerSkeleton.d.ts +6 -0
- package/CommandPalette/components/AnswerSkeleton.js +20 -0
- package/CommandPalette/components/AnswerSkeleton.js.map +1 -0
- package/CommandPalette/components/ApprovalPlan.d.ts +16 -0
- package/CommandPalette/components/ApprovalPlan.js +56 -0
- package/CommandPalette/components/ApprovalPlan.js.map +1 -0
- package/CommandPalette/components/CommandDetail.d.ts +13 -0
- package/CommandPalette/components/CommandDetail.js +39 -0
- package/CommandPalette/components/CommandDetail.js.map +1 -0
- package/CommandPalette/components/CommandItemRow.d.ts +5 -0
- package/CommandPalette/components/CommandItemRow.js +41 -0
- package/CommandPalette/components/CommandItemRow.js.map +1 -0
- package/CommandPalette/components/GroupHeading.d.ts +4 -0
- package/CommandPalette/components/GroupHeading.js +10 -0
- package/CommandPalette/components/GroupHeading.js.map +1 -0
- package/CommandPalette/components/HintIcon.d.ts +4 -0
- package/CommandPalette/components/HintIcon.js +11 -0
- package/CommandPalette/components/HintIcon.js.map +1 -0
- package/CommandPalette/components/Kbd.d.ts +4 -0
- package/CommandPalette/components/Kbd.js +14 -0
- package/CommandPalette/components/Kbd.js.map +1 -0
- package/CommandPalette/components/NoResults.d.ts +13 -0
- package/CommandPalette/components/NoResults.js +33 -0
- package/CommandPalette/components/NoResults.js.map +1 -0
- package/CommandPalette/components/PaletteFooter.d.ts +13 -0
- package/CommandPalette/components/PaletteFooter.js +18 -0
- package/CommandPalette/components/PaletteFooter.js.map +1 -0
- package/CommandPalette/components/ToolChip.d.ts +7 -0
- package/CommandPalette/components/ToolChip.js +32 -0
- package/CommandPalette/components/ToolChip.js.map +1 -0
- package/CommandPalette/components/index.d.ts +13 -0
- package/CommandPalette/components/index.js +13 -0
- package/CommandPalette/constants.d.ts +8 -0
- package/CommandPalette/constants.js +5 -0
- package/CommandPalette/constants.js.map +1 -0
- package/CommandPalette/deriveRows.d.ts +19 -0
- package/CommandPalette/deriveRows.js +100 -0
- package/CommandPalette/deriveRows.js.map +1 -0
- package/CommandPalette/modes/PaletteMode.d.ts +73 -0
- package/CommandPalette/modes/PaletteMode.js +0 -0
- package/CommandPalette/modes/createAiMode.d.ts +13 -0
- package/CommandPalette/modes/createAiMode.js +80 -0
- package/CommandPalette/modes/createAiMode.js.map +1 -0
- package/CommandPalette/modes/index.d.ts +2 -0
- package/CommandPalette/modes/index.js +1 -0
- package/CommandPalette/types.d.ts +15 -0
- package/CommandPalette/types.js +0 -0
- package/CommandPalette/usePaletteHotkeys.d.ts +16 -0
- package/CommandPalette/usePaletteHotkeys.js +38 -0
- package/CommandPalette/usePaletteHotkeys.js.map +1 -0
- package/Dashboard/Welcome.d.ts +1 -1
- package/Dashboard/Welcome.js +29 -44
- package/Dashboard/Welcome.js.map +1 -1
- package/Dashboard/components/AssistanceWidget.js +52 -57
- package/Dashboard/components/AssistanceWidget.js.map +1 -1
- package/Dashboard/components/CommunityWidget.js +56 -63
- package/Dashboard/components/CommunityWidget.js.map +1 -1
- package/Dashboard/components/MissingPermissionsWidget.js +13 -14
- package/Dashboard/components/MissingPermissionsWidget.js.map +1 -1
- package/Dashboard/components/assets/github.js +14 -0
- package/Dashboard/components/assets/github.js.map +1 -0
- package/Dashboard/components/assets/slack.js +27 -0
- package/Dashboard/components/assets/slack.js.map +1 -0
- package/Dashboard/components/assets/x-twitter.js +18 -0
- package/Dashboard/components/assets/x-twitter.js.map +1 -0
- package/Dashboard/components/assets/youtube.js +28 -0
- package/Dashboard/components/assets/youtube.js.map +1 -0
- package/Dashboard/components/index.d.ts +3 -4
- package/Dashboard/components/index.js +3 -6
- package/Dashboard.js +7 -8
- package/Dashboard.js.map +1 -1
- package/Dialog/DialogContainer.js +55 -67
- package/Dialog/DialogContainer.js.map +1 -1
- package/Dialog/DialogProvider.js +6 -9
- package/Dialog/DialogProvider.js.map +1 -1
- package/Dialog.js +6 -10
- package/Dialog.js.map +1 -1
- package/Layout.js +50 -29
- package/Layout.js.map +1 -1
- package/Logo.js +12 -13
- package/Logo.js.map +1 -1
- package/Navigation/Navigation.js +31 -33
- package/Navigation/Navigation.js.map +1 -1
- package/Navigation/SidebarMenuItems.d.ts +1 -1
- package/Navigation/SidebarMenuItems.js +32 -40
- package/Navigation/SidebarMenuItems.js.map +1 -1
- package/NotFound/notFound.js +297 -0
- package/NotFound/notFound.js.map +1 -0
- package/NotFound.js +17 -18
- package/NotFound.js.map +1 -1
- package/README.md +9 -5
- package/UserMenu/UserMenu.js +17 -25
- package/UserMenu/UserMenu.js.map +1 -1
- package/UserMenu/UserMenuHandle.js +33 -42
- package/UserMenu/UserMenuHandle.js.map +1 -1
- package/UserMenu/UserMenuItem.js +9 -12
- package/UserMenu/UserMenuItem.js.map +1 -1
- package/UserMenu/UserMenuLink.js +9 -12
- package/UserMenu/UserMenuLink.js.map +1 -1
- package/UserMenu/UserMenuSeparator.js +9 -9
- package/UserMenu/UserMenuSeparator.js.map +1 -1
- package/UserMenu.js +8 -9
- package/UserMenu.js.map +1 -1
- package/index.js +22 -11
- package/index.js.map +1 -1
- package/package.json +21 -25
- package/static/svg/github.08a73b00.svg +1 -0
- package/static/svg/notFound.e8b15981.svg +1 -0
- package/static/svg/slack.1b2ba162.svg +8 -0
- package/static/svg/x-twitter.46e7218c.svg +5 -0
- package/static/svg/youtube.3c232651.svg +11 -0
- package/styles.scss +1 -1
- package/Dashboard/components/ApplicationWidget.d.ts +0 -9
- package/Dashboard/components/ApplicationWidget.js +0 -31
- package/Dashboard/components/ApplicationWidget.js.map +0 -1
- package/Dashboard/components/index.js.map +0 -1
- package/Navigation/SidebarProvider.d.ts +0 -6
- package/Navigation/SidebarProvider.js +0 -9
- package/Navigation/SidebarProvider.js.map +0 -1
- package/Navigation.d.ts +0 -2
- package/Navigation.js +0 -11
- package/Navigation.js.map +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import __rslib_svgr_url__0__ from "../static/svg/notFound.e8b15981.svg";
|
|
2
|
+
import * as __rspack_external_react from "react";
|
|
3
|
+
const SvgNotFound = (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: 895.68,
|
|
7
|
+
height: 517.48,
|
|
8
|
+
"data-name": "Layer 1",
|
|
9
|
+
viewBox: "0 0 895.68 517.48",
|
|
10
|
+
...props
|
|
11
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("defs", null, /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
12
|
+
id: "notFound_svg__a",
|
|
13
|
+
x1: 790.94,
|
|
14
|
+
x2: 790.94,
|
|
15
|
+
y1: 640.76,
|
|
16
|
+
y2: 264.76,
|
|
17
|
+
gradientTransform: "rotate(90 783.095 446.895)",
|
|
18
|
+
gradientUnits: "userSpaceOnUse"
|
|
19
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("stop", {
|
|
20
|
+
offset: 0,
|
|
21
|
+
stopColor: "gray",
|
|
22
|
+
stopOpacity: 0.25
|
|
23
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("stop", {
|
|
24
|
+
offset: 0.54,
|
|
25
|
+
stopColor: "gray",
|
|
26
|
+
stopOpacity: 0.12
|
|
27
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("stop", {
|
|
28
|
+
offset: 1,
|
|
29
|
+
stopColor: "gray",
|
|
30
|
+
stopOpacity: 0.1
|
|
31
|
+
})), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
32
|
+
xlinkHref: "#notFound_svg__a",
|
|
33
|
+
id: "notFound_svg__b",
|
|
34
|
+
x1: 785.97,
|
|
35
|
+
x2: 785.97,
|
|
36
|
+
y1: 446.14,
|
|
37
|
+
y2: 321.91,
|
|
38
|
+
gradientTransform: "rotate(90 783.305 383.365)"
|
|
39
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
40
|
+
xlinkHref: "#notFound_svg__a",
|
|
41
|
+
id: "notFound_svg__c",
|
|
42
|
+
x1: 660.92,
|
|
43
|
+
x2: 660.92,
|
|
44
|
+
y1: 518.19,
|
|
45
|
+
y2: 494.17,
|
|
46
|
+
gradientTransform: "rotate(90 659.87 486.97)"
|
|
47
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
48
|
+
xlinkHref: "#notFound_svg__a",
|
|
49
|
+
id: "notFound_svg__d",
|
|
50
|
+
x1: 433.66,
|
|
51
|
+
x2: 433.66,
|
|
52
|
+
y1: 605.23,
|
|
53
|
+
y2: 235.23,
|
|
54
|
+
gradientTransform: "translate(13.58 8.51)"
|
|
55
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
56
|
+
xlinkHref: "#notFound_svg__a",
|
|
57
|
+
id: "notFound_svg__e",
|
|
58
|
+
x1: 428.36,
|
|
59
|
+
x2: 428.36,
|
|
60
|
+
y1: 413.71,
|
|
61
|
+
y2: 291.46,
|
|
62
|
+
gradientTransform: "translate(-1.05 11.3)"
|
|
63
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
64
|
+
xlinkHref: "#notFound_svg__a",
|
|
65
|
+
id: "notFound_svg__f",
|
|
66
|
+
x1: 295.22,
|
|
67
|
+
x2: 295.22,
|
|
68
|
+
y1: 484.61,
|
|
69
|
+
y2: 460.98,
|
|
70
|
+
gradientTransform: "translate(28.38 37.45)"
|
|
71
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
72
|
+
xlinkHref: "#notFound_svg__a",
|
|
73
|
+
id: "notFound_svg__g",
|
|
74
|
+
x1: 455.07,
|
|
75
|
+
x2: 455.07,
|
|
76
|
+
y1: 464.48,
|
|
77
|
+
y2: 10.48
|
|
78
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
79
|
+
xlinkHref: "#notFound_svg__a",
|
|
80
|
+
id: "notFound_svg__h",
|
|
81
|
+
x1: 449.07,
|
|
82
|
+
x2: 449.07,
|
|
83
|
+
y1: 229.48,
|
|
84
|
+
y2: 79.48
|
|
85
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
86
|
+
xlinkHref: "#notFound_svg__a",
|
|
87
|
+
id: "notFound_svg__i",
|
|
88
|
+
x1: 298.07,
|
|
89
|
+
x2: 298.07,
|
|
90
|
+
y1: 316.48,
|
|
91
|
+
y2: 287.48
|
|
92
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
93
|
+
xlinkHref: "#notFound_svg__a",
|
|
94
|
+
id: "notFound_svg__j",
|
|
95
|
+
x1: 457.07,
|
|
96
|
+
x2: 457.07,
|
|
97
|
+
y1: 517.48,
|
|
98
|
+
y2: 364.48
|
|
99
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
100
|
+
xlinkHref: "#notFound_svg__a",
|
|
101
|
+
id: "notFound_svg__k",
|
|
102
|
+
x1: 611.23,
|
|
103
|
+
x2: 611.23,
|
|
104
|
+
y1: 564.74,
|
|
105
|
+
y2: 464.74
|
|
106
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("linearGradient", {
|
|
107
|
+
xlinkHref: "#notFound_svg__a",
|
|
108
|
+
id: "notFound_svg__l",
|
|
109
|
+
x1: 611.23,
|
|
110
|
+
x2: 611.23,
|
|
111
|
+
y1: 660.74,
|
|
112
|
+
y2: 602.74
|
|
113
|
+
})), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
114
|
+
fill: "#f5f5f5",
|
|
115
|
+
d: "m415.967 68.35 2.986-19.655 465.072 70.668-2.987 19.654z"
|
|
116
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
117
|
+
fill: "url(#notFound_svg__a)",
|
|
118
|
+
d: "M589.23 209.59h376v490.29h-376z",
|
|
119
|
+
transform: "rotate(-81.36 589.882 447.627)"
|
|
120
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
121
|
+
fill: "#f5f5f5",
|
|
122
|
+
d: "m364.447 407.325 51.508-338.98 465.071 70.668-51.508 338.98z"
|
|
123
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
124
|
+
cx: 580.99,
|
|
125
|
+
cy: 251.51,
|
|
126
|
+
r: 4.86,
|
|
127
|
+
fill: "#ff5252",
|
|
128
|
+
transform: "rotate(-81.36 393.642 244.4)"
|
|
129
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
130
|
+
cx: 594.2,
|
|
131
|
+
cy: 253.52,
|
|
132
|
+
r: 4.86,
|
|
133
|
+
fill: "#ff0",
|
|
134
|
+
transform: "rotate(-81.36 406.848 246.405)"
|
|
135
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
136
|
+
cx: 607.41,
|
|
137
|
+
cy: 255.53,
|
|
138
|
+
r: 4.86,
|
|
139
|
+
fill: "#69f0ae",
|
|
140
|
+
transform: "rotate(-81.36 420.06 248.415)"
|
|
141
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
142
|
+
fill: "url(#notFound_svg__b)",
|
|
143
|
+
d: "M720.53 174.84h124.23v422.38H720.53z",
|
|
144
|
+
transform: "rotate(-81.36 595.3 378.92)"
|
|
145
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
146
|
+
fill: "#fa5a28",
|
|
147
|
+
d: "m435.203 107.291 408.58 62.084-17.294 113.813-408.58-62.083z"
|
|
148
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
149
|
+
fill: "url(#notFound_svg__c)",
|
|
150
|
+
d: "M628.65 473.94h24.02v28.16h-24.02z",
|
|
151
|
+
transform: "rotate(-81.36 453.304 480.904)"
|
|
152
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
153
|
+
fill: "#fa5a28",
|
|
154
|
+
d: "m477.377 284.582 26.2 3.981-2.987 19.655-26.2-3.981z"
|
|
155
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
156
|
+
fill: "#ff5252",
|
|
157
|
+
d: "m472.262 318.154 26.2 3.98-2.987 19.655-26.2-3.981z"
|
|
158
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
159
|
+
fill: "#ff9800",
|
|
160
|
+
d: "m467.167 351.727 26.2 3.98-2.987 19.655-26.2-3.981z"
|
|
161
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
162
|
+
fill: "#fa5a28",
|
|
163
|
+
d: "m546.346 299.25 211.245 32.1-1.74 11.458-211.246-32.099zM541.241 332.823l211.245 32.1-1.74 11.458L539.5 344.282zM536.146 366.396l211.245 32.1-1.741 11.458-211.245-32.1z",
|
|
164
|
+
opacity: 0.4
|
|
165
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
166
|
+
fill: "#f5f5f5",
|
|
167
|
+
d: "M10.887 118.113 499.665 8.858l4.267 19.09L15.154 137.201z"
|
|
168
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
169
|
+
fill: "url(#notFound_svg__d)",
|
|
170
|
+
d: "M186.23 243.74h522v370h-522z",
|
|
171
|
+
transform: "rotate(-12.6 -495.083 1022.25)"
|
|
172
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
173
|
+
fill: "#f5f5f5",
|
|
174
|
+
d: "M15.15 137.213 503.928 27.958l73.602 329.274L88.752 466.487z"
|
|
175
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("ellipse", {
|
|
176
|
+
cx: 177.11,
|
|
177
|
+
cy: 316.25,
|
|
178
|
+
fill: "#ff5252",
|
|
179
|
+
rx: 5.17,
|
|
180
|
+
ry: 4.78,
|
|
181
|
+
transform: "rotate(-12.6 -765.182 909.732)"
|
|
182
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("ellipse", {
|
|
183
|
+
cx: 191,
|
|
184
|
+
cy: 313.15,
|
|
185
|
+
fill: "#ff0",
|
|
186
|
+
rx: 5.17,
|
|
187
|
+
ry: 4.78,
|
|
188
|
+
transform: "rotate(-12.6 -751.271 906.638)"
|
|
189
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("ellipse", {
|
|
190
|
+
cx: 204.88,
|
|
191
|
+
cy: 310.05,
|
|
192
|
+
fill: "#69f0ae",
|
|
193
|
+
rx: 5.17,
|
|
194
|
+
ry: 4.78,
|
|
195
|
+
transform: "rotate(-12.6 -737.406 903.539)"
|
|
196
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
197
|
+
fill: "url(#notFound_svg__e)",
|
|
198
|
+
d: "M202.46 302.76h449.7v122.25h-449.7z",
|
|
199
|
+
transform: "rotate(-12.6 -514.97 957.389)"
|
|
200
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
201
|
+
fill: "#fa5a28",
|
|
202
|
+
d: "m48.613 165.637 429.403-95.983 24.711 110.552-429.403 95.983z"
|
|
203
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
204
|
+
fill: "url(#notFound_svg__f)",
|
|
205
|
+
d: "M308.61 498.42h29.98v23.63h-29.98z",
|
|
206
|
+
transform: "rotate(-12.6 -618.682 1103.725)"
|
|
207
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
208
|
+
fill: "#fa5a28",
|
|
209
|
+
d: "m158.065 313.478 27.655-6.208 4.303 19.169-27.655 6.208z"
|
|
210
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
211
|
+
fill: "#ff5252",
|
|
212
|
+
d: "m163.17 344.626 27.54-6.156 4.267 19.09-27.54 6.155z"
|
|
213
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
214
|
+
fill: "#ff9800",
|
|
215
|
+
d: "m172.831 378.936 27.656-6.208 4.303 19.169-27.655 6.208z"
|
|
216
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
217
|
+
fill: "#fa5a28",
|
|
218
|
+
d: "m229.908 299.64 222.012-49.626 2.489 11.135-222.012 49.626zM237.197 332.254l222.01-49.625 2.49 11.135-222.011 49.625zM244.485 364.858l222.011-49.625 2.489 11.135-222.011 49.626z",
|
|
219
|
+
opacity: 0.4
|
|
220
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
221
|
+
fill: "#f5f5f5",
|
|
222
|
+
d: "M170.07 18.48h568v24h-568z"
|
|
223
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
224
|
+
fill: "url(#notFound_svg__g)",
|
|
225
|
+
d: "M159.07 10.48h592v454h-592z"
|
|
226
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
227
|
+
fill: "#fff",
|
|
228
|
+
d: "M170.07 42.48h568v414h-568z"
|
|
229
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
230
|
+
cx: 183.94,
|
|
231
|
+
cy: 30.48,
|
|
232
|
+
r: 5.87,
|
|
233
|
+
fill: "#ff5252"
|
|
234
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
235
|
+
cx: 200.07,
|
|
236
|
+
cy: 30.48,
|
|
237
|
+
r: 5.87,
|
|
238
|
+
fill: "#ff0"
|
|
239
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("circle", {
|
|
240
|
+
cx: 216.2,
|
|
241
|
+
cy: 30.48,
|
|
242
|
+
r: 5.87,
|
|
243
|
+
fill: "#69f0ae"
|
|
244
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
245
|
+
fill: "url(#notFound_svg__h)",
|
|
246
|
+
d: "M194.07 79.48h510v150h-510z"
|
|
247
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
248
|
+
fill: "#fa5a28",
|
|
249
|
+
d: "M200.07 85.48h499v139h-499z"
|
|
250
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
251
|
+
fill: "url(#notFound_svg__i)",
|
|
252
|
+
d: "M281.07 287.48h34v29h-34z"
|
|
253
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
254
|
+
fill: "#fa5a28",
|
|
255
|
+
d: "M282.57 289.48h32v24h-32z"
|
|
256
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
257
|
+
fill: "#ff5252",
|
|
258
|
+
d: "M282.57 330.48h32v24h-32z"
|
|
259
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
260
|
+
fill: "#ff9800",
|
|
261
|
+
d: "M282.57 371.48h32v24h-32z"
|
|
262
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
263
|
+
fill: "#fa5a28",
|
|
264
|
+
d: "M367.57 294.48h258v14h-258zM367.57 335.48h258v14h-258zM367.57 376.48h258v14h-258z",
|
|
265
|
+
opacity: 0.4
|
|
266
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
267
|
+
fill: "url(#notFound_svg__j)",
|
|
268
|
+
d: "M364.07 364.48h186v153h-186z"
|
|
269
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
270
|
+
fill: "url(#notFound_svg__k)",
|
|
271
|
+
d: "M559.15 531.41a52.08 52.08 0 0 1 104.17 0v33.33h14.58v-33.33a66.67 66.67 0 1 0-133.33 0v33.33h14.58Z",
|
|
272
|
+
transform: "translate(-152.16 -191.26)"
|
|
273
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
274
|
+
fill: "#fff",
|
|
275
|
+
d: "M409.07 339.48a50 50 0 0 1 100 0v32h14v-32a64 64 0 0 0-128 0v32h14Z"
|
|
276
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
277
|
+
fill: "#fa5a28",
|
|
278
|
+
d: "M372.07 369.48h174v142h-174z"
|
|
279
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
280
|
+
fill: "#fff",
|
|
281
|
+
d: "M372.07 369.48h174v142h-174z"
|
|
282
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
283
|
+
fill: "#fa5a28",
|
|
284
|
+
d: "M372.07 397.48h174v86h-174z"
|
|
285
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
286
|
+
fill: "url(#notFound_svg__l)",
|
|
287
|
+
d: "M624 615.5a12.76 12.76 0 1 0-22 8.74v27.22a9.28 9.28 0 0 0 18.56 0v-27.22a12.7 12.7 0 0 0 3.44-8.74",
|
|
288
|
+
transform: "translate(-152.16 -191.26)"
|
|
289
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement("path", {
|
|
290
|
+
d: "M470.07 426.48a11 11 0 1 0-19 7.53v23.47a8 8 0 1 0 16 0v-23.47a11 11 0 0 0 3-7.53",
|
|
291
|
+
opacity: 0.2
|
|
292
|
+
}));
|
|
293
|
+
const notFound = __rslib_svgr_url__0__;
|
|
294
|
+
export default notFound;
|
|
295
|
+
export { SvgNotFound as ReactComponent };
|
|
296
|
+
|
|
297
|
+
//# sourceMappingURL=notFound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotFound/notFound.js","sources":["../../src/NotFound/notFound.svg"],"sourcesContent":["import * as React from \"react\";\nconst SvgNotFound = props => <svg xmlns=\"http://www.w3.org/2000/svg\" xmlnsXlink=\"http://www.w3.org/1999/xlink\" width={895.68} height={517.48} data-name=\"Layer 1\" viewBox=\"0 0 895.68 517.48\" {...props}><defs><linearGradient id=\"notFound_svg__a\" x1={790.94} x2={790.94} y1={640.76} y2={264.76} gradientTransform=\"rotate(90 783.095 446.895)\" gradientUnits=\"userSpaceOnUse\"><stop offset={0} stopColor=\"gray\" stopOpacity={0.25} /><stop offset={0.54} stopColor=\"gray\" stopOpacity={0.12} /><stop offset={1} stopColor=\"gray\" stopOpacity={0.1} /></linearGradient><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__b\" x1={785.97} x2={785.97} y1={446.14} y2={321.91} gradientTransform=\"rotate(90 783.305 383.365)\" /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__c\" x1={660.92} x2={660.92} y1={518.19} y2={494.17} gradientTransform=\"rotate(90 659.87 486.97)\" /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__d\" x1={433.66} x2={433.66} y1={605.23} y2={235.23} gradientTransform=\"translate(13.58 8.51)\" /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__e\" x1={428.36} x2={428.36} y1={413.71} y2={291.46} gradientTransform=\"translate(-1.05 11.3)\" /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__f\" x1={295.22} x2={295.22} y1={484.61} y2={460.98} gradientTransform=\"translate(28.38 37.45)\" /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__g\" x1={455.07} x2={455.07} y1={464.48} y2={10.48} /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__h\" x1={449.07} x2={449.07} y1={229.48} y2={79.48} /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__i\" x1={298.07} x2={298.07} y1={316.48} y2={287.48} /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__j\" x1={457.07} x2={457.07} y1={517.48} y2={364.48} /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__k\" x1={611.23} x2={611.23} y1={564.74} y2={464.74} /><linearGradient xlinkHref=\"#notFound_svg__a\" id=\"notFound_svg__l\" x1={611.23} x2={611.23} y1={660.74} y2={602.74} /></defs><path fill=\"#f5f5f5\" d=\"m415.967 68.35 2.986-19.655 465.072 70.668-2.987 19.654z\" /><path fill=\"url(#notFound_svg__a)\" d=\"M589.23 209.59h376v490.29h-376z\" transform=\"rotate(-81.36 589.882 447.627)\" /><path fill=\"#f5f5f5\" d=\"m364.447 407.325 51.508-338.98 465.071 70.668-51.508 338.98z\" /><circle cx={580.99} cy={251.51} r={4.86} fill=\"#ff5252\" transform=\"rotate(-81.36 393.642 244.4)\" /><circle cx={594.2} cy={253.52} r={4.86} fill=\"#ff0\" transform=\"rotate(-81.36 406.848 246.405)\" /><circle cx={607.41} cy={255.53} r={4.86} fill=\"#69f0ae\" transform=\"rotate(-81.36 420.06 248.415)\" /><path fill=\"url(#notFound_svg__b)\" d=\"M720.53 174.84h124.23v422.38H720.53z\" transform=\"rotate(-81.36 595.3 378.92)\" /><path fill=\"#fa5a28\" d=\"m435.203 107.291 408.58 62.084-17.294 113.813-408.58-62.083z\" /><path fill=\"url(#notFound_svg__c)\" d=\"M628.65 473.94h24.02v28.16h-24.02z\" transform=\"rotate(-81.36 453.304 480.904)\" /><path fill=\"#fa5a28\" d=\"m477.377 284.582 26.2 3.981-2.987 19.655-26.2-3.981z\" /><path fill=\"#ff5252\" d=\"m472.262 318.154 26.2 3.98-2.987 19.655-26.2-3.981z\" /><path fill=\"#ff9800\" d=\"m467.167 351.727 26.2 3.98-2.987 19.655-26.2-3.981z\" /><path fill=\"#fa5a28\" d=\"m546.346 299.25 211.245 32.1-1.74 11.458-211.246-32.099zM541.241 332.823l211.245 32.1-1.74 11.458L539.5 344.282zM536.146 366.396l211.245 32.1-1.741 11.458-211.245-32.1z\" opacity={0.4} /><path fill=\"#f5f5f5\" d=\"M10.887 118.113 499.665 8.858l4.267 19.09L15.154 137.201z\" /><path fill=\"url(#notFound_svg__d)\" d=\"M186.23 243.74h522v370h-522z\" transform=\"rotate(-12.6 -495.083 1022.25)\" /><path fill=\"#f5f5f5\" d=\"M15.15 137.213 503.928 27.958l73.602 329.274L88.752 466.487z\" /><ellipse cx={177.11} cy={316.25} fill=\"#ff5252\" rx={5.17} ry={4.78} transform=\"rotate(-12.6 -765.182 909.732)\" /><ellipse cx={191} cy={313.15} fill=\"#ff0\" rx={5.17} ry={4.78} transform=\"rotate(-12.6 -751.271 906.638)\" /><ellipse cx={204.88} cy={310.05} fill=\"#69f0ae\" rx={5.17} ry={4.78} transform=\"rotate(-12.6 -737.406 903.539)\" /><path fill=\"url(#notFound_svg__e)\" d=\"M202.46 302.76h449.7v122.25h-449.7z\" transform=\"rotate(-12.6 -514.97 957.389)\" /><path fill=\"#fa5a28\" d=\"m48.613 165.637 429.403-95.983 24.711 110.552-429.403 95.983z\" /><path fill=\"url(#notFound_svg__f)\" d=\"M308.61 498.42h29.98v23.63h-29.98z\" transform=\"rotate(-12.6 -618.682 1103.725)\" /><path fill=\"#fa5a28\" d=\"m158.065 313.478 27.655-6.208 4.303 19.169-27.655 6.208z\" /><path fill=\"#ff5252\" d=\"m163.17 344.626 27.54-6.156 4.267 19.09-27.54 6.155z\" /><path fill=\"#ff9800\" d=\"m172.831 378.936 27.656-6.208 4.303 19.169-27.655 6.208z\" /><path fill=\"#fa5a28\" d=\"m229.908 299.64 222.012-49.626 2.489 11.135-222.012 49.626zM237.197 332.254l222.01-49.625 2.49 11.135-222.011 49.625zM244.485 364.858l222.011-49.625 2.489 11.135-222.011 49.626z\" opacity={0.4} /><path fill=\"#f5f5f5\" d=\"M170.07 18.48h568v24h-568z\" /><path fill=\"url(#notFound_svg__g)\" d=\"M159.07 10.48h592v454h-592z\" /><path fill=\"#fff\" d=\"M170.07 42.48h568v414h-568z\" /><circle cx={183.94} cy={30.48} r={5.87} fill=\"#ff5252\" /><circle cx={200.07} cy={30.48} r={5.87} fill=\"#ff0\" /><circle cx={216.2} cy={30.48} r={5.87} fill=\"#69f0ae\" /><path fill=\"url(#notFound_svg__h)\" d=\"M194.07 79.48h510v150h-510z\" /><path fill=\"#fa5a28\" d=\"M200.07 85.48h499v139h-499z\" /><path fill=\"url(#notFound_svg__i)\" d=\"M281.07 287.48h34v29h-34z\" /><path fill=\"#fa5a28\" d=\"M282.57 289.48h32v24h-32z\" /><path fill=\"#ff5252\" d=\"M282.57 330.48h32v24h-32z\" /><path fill=\"#ff9800\" d=\"M282.57 371.48h32v24h-32z\" /><path fill=\"#fa5a28\" d=\"M367.57 294.48h258v14h-258zM367.57 335.48h258v14h-258zM367.57 376.48h258v14h-258z\" opacity={0.4} /><path fill=\"url(#notFound_svg__j)\" d=\"M364.07 364.48h186v153h-186z\" /><path fill=\"url(#notFound_svg__k)\" d=\"M559.15 531.41a52.08 52.08 0 0 1 104.17 0v33.33h14.58v-33.33a66.67 66.67 0 1 0-133.33 0v33.33h14.58Z\" transform=\"translate(-152.16 -191.26)\" /><path fill=\"#fff\" d=\"M409.07 339.48a50 50 0 0 1 100 0v32h14v-32a64 64 0 0 0-128 0v32h14Z\" /><path fill=\"#fa5a28\" d=\"M372.07 369.48h174v142h-174z\" /><path fill=\"#fff\" d=\"M372.07 369.48h174v142h-174z\" /><path fill=\"#fa5a28\" d=\"M372.07 397.48h174v86h-174z\" /><path fill=\"url(#notFound_svg__l)\" d=\"M624 615.5a12.76 12.76 0 1 0-22 8.74v27.22a9.28 9.28 0 0 0 18.56 0v-27.22a12.7 12.7 0 0 0 3.44-8.74\" transform=\"translate(-152.16 -191.26)\" /><path d=\"M470.07 426.48a11 11 0 1 0-19 7.53v23.47a8 8 0 1 0 16 0v-23.47a11 11 0 0 0 3-7.53\" opacity={0.2} /></svg>;\nexport { SvgNotFound as ReactComponent };\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/notFound.e8b15981.svg\";"],"names":["SvgNotFound","props"],"mappings":"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"}
|
package/NotFound.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import notFoundImage from "./NotFound/notFound.svg";
|
|
1
|
+
import { NotFound as app_admin_NotFound } from "@webiny/app-admin";
|
|
2
|
+
import notFound from "./NotFound/notFound.js";
|
|
4
3
|
import { Link, Text } from "@webiny/admin-ui";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
4
|
+
import * as __rspack_external_react from "react";
|
|
5
|
+
const NotFound_NotFound = app_admin_NotFound.createDecorator(()=>function() {
|
|
6
|
+
return /*#__PURE__*/ __rspack_external_react.createElement("div", {
|
|
7
|
+
className: "h-full flex flex-col items-center justify-center text-center gap-xs"
|
|
8
|
+
}, /*#__PURE__*/ __rspack_external_react.createElement("img", {
|
|
9
|
+
width: 200,
|
|
10
|
+
height: 200,
|
|
11
|
+
src: notFound,
|
|
12
|
+
alt: "Not Accessible",
|
|
13
|
+
className: "mb-xl"
|
|
14
|
+
}), /*#__PURE__*/ __rspack_external_react.createElement(Text, null, "The route is either missing, or you're not authorized to view it."), /*#__PURE__*/ __rspack_external_react.createElement(Text, null, "Please contact your administrator to report the issue."), /*#__PURE__*/ __rspack_external_react.createElement(Link, {
|
|
15
|
+
to: "/"
|
|
16
|
+
}, "Take me back."));
|
|
17
|
+
});
|
|
18
|
+
export { NotFound_NotFound as NotFound };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=NotFound.js.map
|
package/NotFound.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"NotFound.js","sources":["../src/NotFound.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { NotFound as NotFoundBase } from \"@webiny/app-admin\";\nimport notFoundImage from \"./NotFound/notFound.svg\";\nimport { Link, Text } from \"@webiny/admin-ui\";\n\nexport const NotFound = NotFoundBase.createDecorator(() => {\n return function NotFound() {\n return (\n <div className={\"h-full flex flex-col items-center justify-center text-center gap-xs\"}>\n <img\n width={200}\n height={200}\n src={notFoundImage}\n alt=\"Not Accessible\"\n className={\"mb-xl\"}\n />\n <Text>The route is either missing, or you're not authorized to view it.</Text>\n <Text>Please contact your administrator to report the issue.</Text>\n <Link to=\"/\">Take me back.</Link>\n </div>\n );\n };\n});\n"],"names":["NotFound","NotFoundBase","notFoundImage","Text","Link"],"mappings":";;;;AAKO,MAAMA,oBAAWC,mBAAAA,eAA4B,CAAC,IAC1C;QACH,OAAO,WAAP,GACI,sCAAC;YAAI,WAAW;yBACZ,sCAAC;YACG,OAAO;YACP,QAAQ;YACR,KAAKC;YACL,KAAI;YACJ,WAAW;0BAEf,sCAACC,MAAIA,MAAC,oFACN,sCAACA,MAAIA,MAAC,yEACN,sCAACC,MAAIA;YAAC,IAAG;WAAI;IAGzB"}
|
package/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# @webiny/app-admin-ui
|
|
2
|
-
[](https://www.npmjs.com/package/@webiny/app-admin-ui)
|
|
3
|
-
[](https://www.npmjs.com/package/@webiny/app-admin-ui)
|
|
4
|
-
[](https://github.com/prettier/prettier)
|
|
5
|
-
[](http://makeapullrequest.com)
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This package is part of the [Webiny](https://www.webiny.com) monorepo.
|
|
5
|
+
> It’s **included in every Webiny project by default** and is not meant to be used as a standalone package.
|
|
6
|
+
|
|
7
|
+
📘 **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
_This README file is automatically generated during the publish process._
|
package/UserMenu/UserMenu.js
CHANGED
|
@@ -1,30 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { UserMenuHandle, UserMenuRenderer, useAdminConfig, useSecurity } from "@webiny/app-admin";
|
|
3
3
|
import { DropdownMenu } from "@webiny/admin-ui";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
const dropDownMenuItems = userMenus.map(m => {
|
|
15
|
-
if (/*#__PURE__*/React.isValidElement(m.element)) {
|
|
16
|
-
return /*#__PURE__*/React.cloneElement(m.element, {
|
|
17
|
-
key: m.name
|
|
4
|
+
const UserMenu_UserMenu = UserMenuRenderer.createDecorator(()=>function() {
|
|
5
|
+
const security = useSecurity();
|
|
6
|
+
const { userMenus } = useAdminConfig();
|
|
7
|
+
if (!security || !security.identity) return null;
|
|
8
|
+
const dropDownMenuItems = userMenus.map((m)=>{
|
|
9
|
+
if (/*#__PURE__*/ react.isValidElement(m.element)) return /*#__PURE__*/ react.cloneElement(m.element, {
|
|
10
|
+
key: m.name
|
|
11
|
+
});
|
|
12
|
+
return null;
|
|
18
13
|
});
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
return /*#__PURE__*/ react.createElement(DropdownMenu, {
|
|
15
|
+
trigger: /*#__PURE__*/ react.createElement(UserMenuHandle, null),
|
|
16
|
+
"data-testid": "logged-in-user-menu-list",
|
|
17
|
+
className: "w-[220px]"
|
|
18
|
+
}, dropDownMenuItems);
|
|
21
19
|
});
|
|
22
|
-
|
|
23
|
-
trigger: /*#__PURE__*/React.createElement(UserMenuHandle, null),
|
|
24
|
-
"data-testid": "logged-in-user-menu-list",
|
|
25
|
-
className: "wby-w-[220px]"
|
|
26
|
-
}, dropDownMenuItems);
|
|
27
|
-
};
|
|
28
|
-
});
|
|
20
|
+
export { UserMenu_UserMenu as UserMenu };
|
|
29
21
|
|
|
30
22
|
//# sourceMappingURL=UserMenu.js.map
|
package/UserMenu/UserMenu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"UserMenu/UserMenu.js","sources":["../../src/UserMenu/UserMenu.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n UserMenuRenderer as UserMenuRendererSpec,\n UserMenuHandle,\n useAdminConfig\n} from \"@webiny/app-admin\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\nimport { useSecurity } from \"@webiny/app-admin\";\n\nexport const UserMenu = UserMenuRendererSpec.createDecorator(() => {\n return function UserMenu() {\n const security = useSecurity();\n const { userMenus } = useAdminConfig();\n\n if (!security || !security.identity) {\n return null;\n }\n\n const dropDownMenuItems = userMenus.map(m => {\n if (React.isValidElement(m.element)) {\n return React.cloneElement(m.element, { key: m.name });\n }\n\n return null;\n });\n\n return (\n <DropdownMenu\n trigger={<UserMenuHandle />}\n data-testid={\"logged-in-user-menu-list\"}\n className={\"w-[220px]\"}\n >\n {dropDownMenuItems}\n </DropdownMenu>\n );\n };\n});\n"],"names":["UserMenu","UserMenuRendererSpec","security","useSecurity","userMenus","useAdminConfig","dropDownMenuItems","m","React","DropdownMenu","UserMenuHandle"],"mappings":";;;AASO,MAAMA,oBAAWC,iBAAAA,eAAoC,CAAC,IAClD;QACH,MAAMC,WAAWC;QACjB,MAAM,EAAEC,SAAS,EAAE,GAAGC;QAEtB,IAAI,CAACH,YAAY,CAACA,SAAS,QAAQ,EAC/B,OAAO;QAGX,MAAMI,oBAAoBF,UAAU,GAAG,CAACG,CAAAA;YACpC,IAAI,WAAJ,GAAIC,MAAAA,cAAoB,CAACD,EAAE,OAAO,GAC9B,OAAO,WAAP,GAAOC,MAAAA,YAAkB,CAACD,EAAE,OAAO,EAAE;gBAAE,KAAKA,EAAE,IAAI;YAAC;YAGvD,OAAO;QACX;QAEA,OAAO,WAAP,GACI,oBAACE,cAAYA;YACT,uBAAS,oBAACC,gBAAcA;YACxB,eAAa;YACb,WAAW;WAEVJ;IAGb"}
|
|
@@ -1,45 +1,36 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { Avatar, IconButton } from "@webiny/admin-ui";
|
|
3
|
-
import {
|
|
4
|
-
import { ReactComponent
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
}, fullName[0])
|
|
36
|
-
}), /*#__PURE__*/React.createElement(IconButton, {
|
|
37
|
-
variant: "ghost",
|
|
38
|
-
size: "xs",
|
|
39
|
-
color: "neutral-strong",
|
|
40
|
-
icon: /*#__PURE__*/React.createElement(KeyboardArrowRightIcon, null)
|
|
41
|
-
})));
|
|
42
|
-
};
|
|
43
|
-
});
|
|
3
|
+
import { UserMenuHandleRenderer, useIdentity } from "@webiny/app-admin";
|
|
4
|
+
import { ReactComponent } from "@webiny/icons/keyboard_arrow_down.svg";
|
|
5
|
+
const UserMenuHandle_UserMenuHandle = UserMenuHandleRenderer.createDecorator(()=>function() {
|
|
6
|
+
const { identity, isAuthenticated } = useIdentity();
|
|
7
|
+
if (!isAuthenticated) return null;
|
|
8
|
+
const profile = identity.profile;
|
|
9
|
+
const { firstName, lastName, avatar } = profile || {};
|
|
10
|
+
let fullName = `${firstName} ${lastName}`;
|
|
11
|
+
if ("" === fullName.trim()) fullName = identity.displayName;
|
|
12
|
+
return /*#__PURE__*/ react.createElement("div", {
|
|
13
|
+
className: "flex gap-x-sm cursor-pointer"
|
|
14
|
+
}, /*#__PURE__*/ react.createElement("div", {
|
|
15
|
+
"data-testid": "logged-in-user-menu-avatar",
|
|
16
|
+
className: "flex items-center rounded-md gap-xxs py-xs px-xs bg-neutral-light"
|
|
17
|
+
}, /*#__PURE__*/ react.createElement(Avatar, {
|
|
18
|
+
size: "sm",
|
|
19
|
+
variant: "strong",
|
|
20
|
+
image: /*#__PURE__*/ react.createElement(Avatar.Image, {
|
|
21
|
+
src: avatar?.src
|
|
22
|
+
}),
|
|
23
|
+
fallback: /*#__PURE__*/ react.createElement(Avatar.Fallback, {
|
|
24
|
+
className: "uppercase",
|
|
25
|
+
delayMs: 0
|
|
26
|
+
}, fullName[0])
|
|
27
|
+
}), /*#__PURE__*/ react.createElement(IconButton, {
|
|
28
|
+
variant: "ghost",
|
|
29
|
+
size: "xs",
|
|
30
|
+
color: "neutral-strong",
|
|
31
|
+
icon: /*#__PURE__*/ react.createElement(ReactComponent, null)
|
|
32
|
+
})));
|
|
33
|
+
});
|
|
34
|
+
export { UserMenuHandle_UserMenuHandle as UserMenuHandle };
|
|
44
35
|
|
|
45
36
|
//# sourceMappingURL=UserMenuHandle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"UserMenu/UserMenuHandle.js","sources":["../../src/UserMenu/UserMenuHandle.tsx"],"sourcesContent":["import React from \"react\";\nimport { Avatar, IconButton } from \"@webiny/admin-ui\";\nimport { useIdentity } from \"@webiny/app-admin\";\nimport { ReactComponent as KeyboardArrowRightIcon } from \"@webiny/icons/keyboard_arrow_down.svg\";\nimport { UserMenuHandleRenderer as UserMenuHandleRendererSpec } from \"@webiny/app-admin\";\n\nexport const UserMenuHandle = UserMenuHandleRendererSpec.createDecorator(() => {\n return function UserMenuHandle() {\n const { identity, isAuthenticated } = useIdentity();\n\n if (!isAuthenticated) {\n return null;\n }\n\n const profile = identity.profile;\n\n const { firstName, lastName, avatar } = profile || {};\n let fullName = `${firstName} ${lastName}`;\n if (fullName.trim() === \"\") {\n fullName = identity.displayName;\n }\n\n return (\n <div className={\"flex gap-x-sm cursor-pointer\"}>\n <div\n data-testid=\"logged-in-user-menu-avatar\"\n className={\"flex items-center rounded-md gap-xxs py-xs px-xs bg-neutral-light\"}\n >\n <Avatar\n size={\"sm\"}\n variant={\"strong\"}\n image={<Avatar.Image src={avatar?.src} />}\n fallback={\n <Avatar.Fallback className={\"uppercase\"} delayMs={0}>\n {fullName[0]}\n </Avatar.Fallback>\n }\n />\n <IconButton\n variant={\"ghost\"}\n size={\"xs\"}\n color={\"neutral-strong\"}\n icon={<KeyboardArrowRightIcon />}\n />\n </div>\n </div>\n );\n };\n});\n"],"names":["UserMenuHandle","UserMenuHandleRendererSpec","identity","isAuthenticated","useIdentity","profile","firstName","lastName","avatar","fullName","Avatar","IconButton","KeyboardArrowRightIcon"],"mappings":";;;;AAMO,MAAMA,gCAAiBC,uBAAAA,eAA0C,CAAC,IAC9D;QACH,MAAM,EAAEC,QAAQ,EAAEC,eAAe,EAAE,GAAGC;QAEtC,IAAI,CAACD,iBACD,OAAO;QAGX,MAAME,UAAUH,SAAS,OAAO;QAEhC,MAAM,EAAEI,SAAS,EAAEC,QAAQ,EAAEC,MAAM,EAAE,GAAGH,WAAW,CAAC;QACpD,IAAII,WAAW,GAAGH,UAAU,CAAC,EAAEC,UAAU;QACzC,IAAIE,AAAoB,OAApBA,SAAS,IAAI,IACbA,WAAWP,SAAS,WAAW;QAGnC,OAAO,WAAP,GACI,oBAAC;YAAI,WAAW;yBACZ,oBAAC;YACG,eAAY;YACZ,WAAW;yBAEX,oBAACQ,QAAMA;YACH,MAAM;YACN,SAAS;YACT,qBAAO,oBAACA,OAAO,KAAK;gBAAC,KAAKF,QAAQ;;YAClC,wBACI,oBAACE,OAAO,QAAQ;gBAAC,WAAW;gBAAa,SAAS;eAC7CD,QAAQ,CAAC,EAAE;0BAIxB,oBAACE,YAAUA;YACP,SAAS;YACT,MAAM;YACN,OAAO;YACP,oBAAM,oBAACC,gBAAsBA;;IAKjD"}
|
package/UserMenu/UserMenuItem.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react from "react";
|
|
2
2
|
import { DropdownMenu } from "@webiny/admin-ui";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return /*#__PURE__*/React.createElement(DropdownMenu.Item.Icon, props);
|
|
12
|
-
};
|
|
13
|
-
});
|
|
3
|
+
import { UserMenuItemIconRenderer, UserMenuItemRenderer as app_admin_UserMenuItemRenderer } from "@webiny/app-admin";
|
|
4
|
+
const UserMenuItem = app_admin_UserMenuItemRenderer.createDecorator(()=>function(props) {
|
|
5
|
+
return /*#__PURE__*/ react.createElement(DropdownMenu.Item, props);
|
|
6
|
+
});
|
|
7
|
+
const UserMenuItemIcon = UserMenuItemIconRenderer.createDecorator(()=>function(props) {
|
|
8
|
+
return /*#__PURE__*/ react.createElement(DropdownMenu.Item.Icon, props);
|
|
9
|
+
});
|
|
10
|
+
export { UserMenuItem, UserMenuItemIcon };
|
|
14
11
|
|
|
15
12
|
//# sourceMappingURL=UserMenuItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"UserMenu/UserMenuItem.js","sources":["../../src/UserMenu/UserMenuItem.tsx"],"sourcesContent":["import React from \"react\";\nimport { DropdownMenu } from \"@webiny/admin-ui\";\nimport { UserMenuItemRenderer, UserMenuItemIconRenderer } from \"@webiny/app-admin\";\n\nexport const UserMenuItem = UserMenuItemRenderer.createDecorator(() => {\n return function UserMenuItemRenderer(props) {\n return <DropdownMenu.Item {...props} />;\n };\n});\n\nexport const UserMenuItemIcon = UserMenuItemIconRenderer.createDecorator(() => {\n return function UserMenuItemRenderer(props) {\n return <DropdownMenu.Item.Icon {...props} />;\n };\n});\n"],"names":["UserMenuItem","UserMenuItemRenderer","props","DropdownMenu","UserMenuItemIcon","UserMenuItemIconRenderer"],"mappings":";;;AAIO,MAAMA,eAAeC,+BAAAA,eAAoC,CAAC,IACtD,SAA8BC,KAAK;QACtC,OAAO,WAAP,GAAO,oBAACC,aAAa,IAAI,EAAKD;IAClC;AAGG,MAAME,mBAAmBC,yBAAyB,eAAe,CAAC,IAC9D,SAA8BH,KAAK;QACtC,OAAO,WAAP,GAAO,oBAACC,aAAa,IAAI,CAAC,IAAI,EAAKD;IACvC"}
|