l-min-components 1.0.587 → 1.0.592
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/package.json
CHANGED
|
@@ -1,135 +1,136 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import {
|
|
2
3
|
DashboardIcon,
|
|
3
4
|
DashboardIconActive,
|
|
4
|
-
} from
|
|
5
|
-
import { TokenIcon, TokenIconActive } from
|
|
6
|
-
import { PenIcon, PenIconActive } from
|
|
7
|
-
import { PlayIcon, PlayIconActive } from
|
|
8
|
-
import { ListIcon, ListIconActive } from
|
|
9
|
-
import { CopyIcon, CopyIconActive } from
|
|
10
|
-
import { FlagIcon, FlagIconActive } from
|
|
11
|
-
import { UserIcon, UserIconActive } from
|
|
12
|
-
import { AdminsIcon, AdminsIconActive } from
|
|
13
|
-
import { AlertIcon, AlertIconActive } from
|
|
14
|
-
import { GradingIcon, GradingIconActive } from
|
|
5
|
+
} from "../assets/adminSvg/dashboardIcon";
|
|
6
|
+
import { TokenIcon, TokenIconActive } from "../assets/adminSvg/tokenIcon";
|
|
7
|
+
import { PenIcon, PenIconActive } from "../assets/adminSvg/penIcon";
|
|
8
|
+
import { PlayIcon, PlayIconActive } from "../assets/adminSvg/playIcon";
|
|
9
|
+
import { ListIcon, ListIconActive } from "../assets/adminSvg/listIcon";
|
|
10
|
+
import { CopyIcon, CopyIconActive } from "../assets/adminSvg/copyIcon";
|
|
11
|
+
import { FlagIcon, FlagIconActive } from "../assets/adminSvg/flagIcon";
|
|
12
|
+
import { UserIcon, UserIconActive } from "../assets/adminSvg/userIcon";
|
|
13
|
+
import { AdminsIcon, AdminsIconActive } from "../assets/adminSvg/adminsIcon";
|
|
14
|
+
import { AlertIcon, AlertIconActive } from "../assets/adminSvg/alertIcon";
|
|
15
|
+
import { GradingIcon, GradingIconActive } from "../assets/adminSvg/gradingIcon";
|
|
15
16
|
import {
|
|
16
17
|
SecurityIcon,
|
|
17
18
|
SecurityIconActive,
|
|
18
|
-
} from
|
|
19
|
+
} from "../assets/adminSvg/securityIcon";
|
|
19
20
|
import {
|
|
20
21
|
DocumentIcon,
|
|
21
22
|
DocumentIconActive,
|
|
22
|
-
} from
|
|
23
|
-
import { TicketsIcon, TicketsIconActive } from
|
|
24
|
-
import { ChatIcon, ChatIconActive } from
|
|
25
|
-
import { FlaggedIcon, FlaggedIconActive } from
|
|
26
|
-
import { UsersIcon, UsersIconActive } from
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
import { UserBoxIcon, UserBoxIconActive } from
|
|
23
|
+
} from "../assets/adminSvg/documentIcon";
|
|
24
|
+
import { TicketsIcon, TicketsIconActive } from "../assets/adminSvg/ticketsIcon";
|
|
25
|
+
import { ChatIcon, ChatIconActive } from "../assets/adminSvg/chatIcon";
|
|
26
|
+
import { FlaggedIcon, FlaggedIconActive } from "../assets/adminSvg/flaggedIcon";
|
|
27
|
+
import { UsersIcon, UsersIconActive } from "../assets/adminSvg/usersIcon";
|
|
28
|
+
import {
|
|
29
|
+
SettingsIcon,
|
|
30
|
+
SettingsIconActive,
|
|
31
|
+
} from "../assets/adminSvg/settingsIcon";
|
|
32
|
+
import { UserBoxIcon, UserBoxIconActive } from "../assets/adminSvg/userBoxIcon";
|
|
32
33
|
import {
|
|
33
34
|
AnalyticsIcon,
|
|
34
35
|
AnalyticsIconActive,
|
|
35
|
-
} from
|
|
36
|
-
import { RevenueIcon, RevenueIconActive } from
|
|
36
|
+
} from "../assets/adminSvg/analyticsIcon";
|
|
37
|
+
import { RevenueIcon, RevenueIconActive } from "../assets/adminSvg/revenueIcon";
|
|
37
38
|
|
|
38
39
|
const settings = {
|
|
39
40
|
path: null,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
text:
|
|
41
|
+
icon: <SettingsIcon />,
|
|
42
|
+
iconActive: <SettingsIconActive />,
|
|
43
|
+
text: "Settings",
|
|
43
44
|
hasNotification: false,
|
|
44
45
|
hasDropdown: true,
|
|
45
46
|
dropdownItems: [
|
|
46
47
|
{
|
|
47
|
-
path:
|
|
48
|
-
text:
|
|
48
|
+
path: "/profile",
|
|
49
|
+
text: "Profile",
|
|
49
50
|
hasNotification: false,
|
|
50
51
|
},
|
|
51
52
|
{
|
|
52
|
-
path:
|
|
53
|
-
text:
|
|
53
|
+
path: "/admins",
|
|
54
|
+
text: "Admins",
|
|
54
55
|
hasNotification: false,
|
|
55
56
|
},
|
|
56
57
|
{
|
|
57
|
-
path:
|
|
58
|
-
text:
|
|
58
|
+
path: "/notification",
|
|
59
|
+
text: "Notification",
|
|
59
60
|
hasNotification: false,
|
|
60
61
|
},
|
|
61
62
|
{
|
|
62
|
-
path:
|
|
63
|
-
text:
|
|
63
|
+
path: "/roles-and-permissions",
|
|
64
|
+
text: "Roles & Permissions",
|
|
64
65
|
hasNotification: false,
|
|
65
66
|
},
|
|
66
67
|
{
|
|
67
|
-
path:
|
|
68
|
+
path: "/security",
|
|
68
69
|
hasNotification: false,
|
|
69
|
-
text:
|
|
70
|
+
text: "Security",
|
|
70
71
|
},
|
|
71
72
|
],
|
|
72
73
|
};
|
|
73
74
|
|
|
74
75
|
export const adminAnalyticsItem = [
|
|
75
76
|
{
|
|
76
|
-
optionType:
|
|
77
|
+
optionType: "MENU",
|
|
77
78
|
hasBorder: true,
|
|
78
79
|
routes: [
|
|
79
80
|
{
|
|
80
|
-
path:
|
|
81
|
+
path: "/dashboard",
|
|
81
82
|
icon: <DashboardIcon />,
|
|
82
83
|
iconActive: <DashboardIconActive />,
|
|
83
|
-
text:
|
|
84
|
+
text: "Dashboard",
|
|
84
85
|
hasNotification: false,
|
|
85
86
|
hasDropdown: false,
|
|
86
87
|
},
|
|
87
88
|
],
|
|
88
89
|
},
|
|
89
90
|
{
|
|
90
|
-
optionType:
|
|
91
|
+
optionType: "STATISTICS",
|
|
91
92
|
hasBorder: true,
|
|
92
93
|
routes: [
|
|
93
94
|
{
|
|
94
95
|
path: null,
|
|
95
96
|
icon: <AnalyticsIcon />,
|
|
96
97
|
iconActive: <AnalyticsIconActive />,
|
|
97
|
-
text:
|
|
98
|
+
text: "Analytics",
|
|
98
99
|
hasNotification: false,
|
|
99
100
|
hasDropdown: true,
|
|
100
101
|
dropdownItems: [
|
|
101
102
|
{
|
|
102
|
-
path:
|
|
103
|
+
path: "/general-review",
|
|
103
104
|
hasNotification: false,
|
|
104
|
-
text:
|
|
105
|
+
text: "General Review",
|
|
105
106
|
},
|
|
106
107
|
{
|
|
107
|
-
path:
|
|
108
|
+
path: "/personal-account",
|
|
108
109
|
hasNotification: false,
|
|
109
|
-
text:
|
|
110
|
+
text: "Personal Account",
|
|
110
111
|
},
|
|
111
112
|
{
|
|
112
|
-
path:
|
|
113
|
+
path: "/instructor-account",
|
|
113
114
|
hasNotification: false,
|
|
114
|
-
text:
|
|
115
|
+
text: "Instructor Account",
|
|
115
116
|
},
|
|
116
117
|
{
|
|
117
|
-
path:
|
|
118
|
+
path: "/enterprise-account",
|
|
118
119
|
hasNotification: false,
|
|
119
|
-
text:
|
|
120
|
+
text: "Enterprise Account",
|
|
120
121
|
},
|
|
121
122
|
{
|
|
122
|
-
path:
|
|
123
|
+
path: "/developer-account",
|
|
123
124
|
hasNotification: false,
|
|
124
|
-
text:
|
|
125
|
+
text: "Developer Account",
|
|
125
126
|
},
|
|
126
127
|
],
|
|
127
128
|
},
|
|
128
129
|
{
|
|
129
|
-
path:
|
|
130
|
+
path: "/revenue",
|
|
130
131
|
icon: <RevenueIcon />,
|
|
131
132
|
iconActive: <RevenueIconActive />,
|
|
132
|
-
text:
|
|
133
|
+
text: "Revenue",
|
|
133
134
|
hasNotification: false,
|
|
134
135
|
hasDropdown: false,
|
|
135
136
|
},
|
|
@@ -142,23 +143,23 @@ export const adminAnalyticsItem = [
|
|
|
142
143
|
...settings,
|
|
143
144
|
dropdownItems: [
|
|
144
145
|
{
|
|
145
|
-
path:
|
|
146
|
-
text:
|
|
146
|
+
path: "/admins",
|
|
147
|
+
text: "Admins",
|
|
147
148
|
hasNotification: false,
|
|
148
149
|
},
|
|
149
150
|
{
|
|
150
|
-
path:
|
|
151
|
-
text:
|
|
151
|
+
path: "/notification",
|
|
152
|
+
text: "Notification",
|
|
152
153
|
hasNotification: false,
|
|
153
154
|
},
|
|
154
155
|
{
|
|
155
|
-
path:
|
|
156
|
-
text:
|
|
156
|
+
path: "/roles-and-permissions",
|
|
157
|
+
text: "Roles & Permissions",
|
|
157
158
|
hasNotification: false,
|
|
158
159
|
},
|
|
159
160
|
{
|
|
160
|
-
path:
|
|
161
|
-
text:
|
|
161
|
+
path: "/security",
|
|
162
|
+
text: "Security",
|
|
162
163
|
hasNotification: false,
|
|
163
164
|
},
|
|
164
165
|
],
|
|
@@ -169,14 +170,14 @@ export const adminAnalyticsItem = [
|
|
|
169
170
|
|
|
170
171
|
export const adminSupportItems = [
|
|
171
172
|
{
|
|
172
|
-
optionType:
|
|
173
|
+
optionType: "MENU",
|
|
173
174
|
hasBorder: true,
|
|
174
175
|
routes: [
|
|
175
176
|
{
|
|
176
|
-
path:
|
|
177
|
+
path: "/dashboard",
|
|
177
178
|
icon: <DashboardIcon />,
|
|
178
179
|
iconActive: <DashboardIconActive />,
|
|
179
|
-
text:
|
|
180
|
+
text: "Dashboard",
|
|
180
181
|
hasNotification: false,
|
|
181
182
|
hasDropdown: false,
|
|
182
183
|
},
|
|
@@ -184,21 +185,21 @@ export const adminSupportItems = [
|
|
|
184
185
|
path: null,
|
|
185
186
|
icon: <AlertIcon />,
|
|
186
187
|
iconActive: <AlertIconActive />,
|
|
187
|
-
text:
|
|
188
|
+
text: "Alert",
|
|
188
189
|
hasNotification: false,
|
|
189
190
|
hasDropdown: true,
|
|
190
191
|
dropdownItems: [
|
|
191
192
|
{
|
|
192
|
-
path:
|
|
193
|
+
path: "/push-notifications",
|
|
193
194
|
hasNotification: false,
|
|
194
195
|
notifications: null,
|
|
195
|
-
text:
|
|
196
|
+
text: "Push Notifications",
|
|
196
197
|
},
|
|
197
198
|
{
|
|
198
|
-
path:
|
|
199
|
+
path: "/newsletters",
|
|
199
200
|
hasNotification: false,
|
|
200
201
|
notifications: null,
|
|
201
|
-
text:
|
|
202
|
+
text: "Newsletters",
|
|
202
203
|
},
|
|
203
204
|
],
|
|
204
205
|
},
|
|
@@ -206,89 +207,89 @@ export const adminSupportItems = [
|
|
|
206
207
|
path: null,
|
|
207
208
|
icon: <DocumentIcon />,
|
|
208
209
|
iconActive: <DocumentIconActive />,
|
|
209
|
-
text:
|
|
210
|
+
text: "Requests",
|
|
210
211
|
hasNotification: true,
|
|
211
212
|
hasDropdown: true,
|
|
212
213
|
notifications: 5,
|
|
213
214
|
dropdownItems: [
|
|
214
215
|
{
|
|
215
|
-
path:
|
|
216
|
+
path: "/general",
|
|
216
217
|
hasNotification: true,
|
|
217
218
|
notifications: 3,
|
|
218
|
-
text:
|
|
219
|
+
text: "General",
|
|
219
220
|
},
|
|
220
221
|
{
|
|
221
|
-
path:
|
|
222
|
+
path: "/IT-issues",
|
|
222
223
|
hasNotification: true,
|
|
223
224
|
notifications: 2,
|
|
224
|
-
text:
|
|
225
|
+
text: "IT Issues",
|
|
225
226
|
},
|
|
226
227
|
],
|
|
227
228
|
},
|
|
228
229
|
{
|
|
229
|
-
path:
|
|
230
|
+
path: "/tickets",
|
|
230
231
|
icon: <TicketsIcon />,
|
|
231
232
|
iconActive: <TicketsIconActive />,
|
|
232
|
-
text:
|
|
233
|
+
text: "Tickets",
|
|
233
234
|
hasNotification: true,
|
|
234
235
|
notifications: 5,
|
|
235
236
|
hasDropdown: false,
|
|
236
237
|
},
|
|
237
238
|
{
|
|
238
|
-
path:
|
|
239
|
+
path: "/live-chat",
|
|
239
240
|
icon: <ChatIcon />,
|
|
240
241
|
iconActive: <ChatIconActive />,
|
|
241
|
-
text:
|
|
242
|
+
text: "Live Chat",
|
|
242
243
|
hasNotification: true,
|
|
243
244
|
notifications: 5,
|
|
244
245
|
hasDropdown: false,
|
|
245
246
|
},
|
|
246
247
|
{
|
|
247
|
-
path:
|
|
248
|
+
path: "/issues-and-reports",
|
|
248
249
|
icon: <FlaggedIcon />,
|
|
249
250
|
iconActive: <FlaggedIconActive />,
|
|
250
|
-
text:
|
|
251
|
+
text: "Issues & Reports",
|
|
251
252
|
hasNotification: true,
|
|
252
253
|
notifications: 5,
|
|
253
254
|
hasDropdown: false,
|
|
254
255
|
},
|
|
255
256
|
{
|
|
256
|
-
path:
|
|
257
|
+
path: "/all-users",
|
|
257
258
|
icon: <UsersIcon />,
|
|
258
259
|
iconActive: <UsersIconActive />,
|
|
259
|
-
text:
|
|
260
|
+
text: "All Users",
|
|
260
261
|
hasNotification: false,
|
|
261
262
|
hasDropdown: false,
|
|
262
263
|
},
|
|
263
264
|
],
|
|
264
265
|
},
|
|
265
266
|
{
|
|
266
|
-
optionType:
|
|
267
|
+
optionType: "DEV. MANAGEMENT",
|
|
267
268
|
hasBorder: true,
|
|
268
269
|
routes: [
|
|
269
270
|
{
|
|
270
|
-
path:
|
|
271
|
+
path: "/accounts",
|
|
271
272
|
icon: <UserIcon />,
|
|
272
273
|
iconActive: <UserIconActive />,
|
|
273
|
-
text:
|
|
274
|
+
text: "Accounts",
|
|
274
275
|
hasNotification: true,
|
|
275
276
|
hasDropdown: false,
|
|
276
277
|
notifications: 5,
|
|
277
278
|
},
|
|
278
279
|
{
|
|
279
|
-
path:
|
|
280
|
+
path: "/manager",
|
|
280
281
|
icon: <UserBoxIcon />,
|
|
281
282
|
iconActive: <UserBoxIconActive />,
|
|
282
|
-
text:
|
|
283
|
+
text: "Manager",
|
|
283
284
|
hasNotification: true,
|
|
284
285
|
hasDropdown: false,
|
|
285
286
|
notifications: 5,
|
|
286
287
|
},
|
|
287
288
|
{
|
|
288
|
-
path:
|
|
289
|
+
path: "/api-request",
|
|
289
290
|
icon: <DocumentIcon />,
|
|
290
291
|
iconActive: <DocumentIconActive />,
|
|
291
|
-
text:
|
|
292
|
+
text: "API Request",
|
|
292
293
|
hasNotification: true,
|
|
293
294
|
hasDropdown: false,
|
|
294
295
|
notifications: 5,
|
|
@@ -303,69 +304,69 @@ export const adminSupportItems = [
|
|
|
303
304
|
|
|
304
305
|
export const adminCMSItems = [
|
|
305
306
|
{
|
|
306
|
-
optionType:
|
|
307
|
+
optionType: "MENU",
|
|
307
308
|
routes: [
|
|
308
309
|
{
|
|
309
|
-
path:
|
|
310
|
+
path: "/dashboard",
|
|
310
311
|
icon: <DashboardIcon />,
|
|
311
312
|
iconActive: <DashboardIconActive />,
|
|
312
|
-
text:
|
|
313
|
+
text: "Dashboard",
|
|
313
314
|
hasNotification: false,
|
|
314
315
|
hasDropdown: false,
|
|
315
316
|
},
|
|
316
317
|
{
|
|
317
|
-
path:
|
|
318
|
+
path: "/token-management",
|
|
318
319
|
icon: <TokenIcon />,
|
|
319
320
|
iconActive: <TokenIconActive />,
|
|
320
|
-
text:
|
|
321
|
+
text: "Token management",
|
|
321
322
|
hasNotification: false,
|
|
322
323
|
hasDropdown: false,
|
|
323
324
|
},
|
|
324
325
|
],
|
|
325
326
|
},
|
|
326
327
|
{
|
|
327
|
-
optionType:
|
|
328
|
+
optionType: "CMS",
|
|
328
329
|
routes: [
|
|
329
330
|
{
|
|
330
|
-
path:
|
|
331
|
+
path: "/skill-test",
|
|
331
332
|
icon: <PenIcon />,
|
|
332
333
|
iconActive: <PenIconActive />,
|
|
333
|
-
text:
|
|
334
|
+
text: "Skill Test",
|
|
334
335
|
hasNotification: true,
|
|
335
336
|
hasDropdown: false,
|
|
336
337
|
notifications: 4,
|
|
337
338
|
},
|
|
338
339
|
{
|
|
339
|
-
path:
|
|
340
|
+
path: "/Lessons",
|
|
340
341
|
icon: <PlayIcon />,
|
|
341
342
|
iconActive: <PlayIconActive />,
|
|
342
|
-
text:
|
|
343
|
+
text: "Lessons",
|
|
343
344
|
hasNotification: true,
|
|
344
345
|
hasDropdown: false,
|
|
345
346
|
notifications: 8,
|
|
346
347
|
},
|
|
347
348
|
{
|
|
348
|
-
path:
|
|
349
|
+
path: "/manage-content",
|
|
349
350
|
icon: <ListIcon />,
|
|
350
351
|
iconActive: <ListIconActive />,
|
|
351
|
-
text:
|
|
352
|
+
text: "Manage Content",
|
|
352
353
|
hasNotification: false,
|
|
353
354
|
hasDropdown: false,
|
|
354
355
|
},
|
|
355
356
|
{
|
|
356
|
-
path:
|
|
357
|
+
path: "/draft",
|
|
357
358
|
icon: <CopyIcon />,
|
|
358
359
|
iconActive: <CopyIconActive />,
|
|
359
|
-
text:
|
|
360
|
+
text: "Draft",
|
|
360
361
|
hasNotification: true,
|
|
361
362
|
hasDropdown: false,
|
|
362
363
|
notifications: 1,
|
|
363
364
|
},
|
|
364
365
|
{
|
|
365
|
-
path:
|
|
366
|
+
path: "/flagged-content",
|
|
366
367
|
icon: <FlagIcon />,
|
|
367
368
|
iconActive: <FlagIconActive />,
|
|
368
|
-
text:
|
|
369
|
+
text: "Flagged Content",
|
|
369
370
|
hasNotification: true,
|
|
370
371
|
hasDropdown: false,
|
|
371
372
|
notifications: 2,
|
|
@@ -373,46 +374,46 @@ export const adminCMSItems = [
|
|
|
373
374
|
],
|
|
374
375
|
},
|
|
375
376
|
{
|
|
376
|
-
optionType:
|
|
377
|
+
optionType: "SETTINGS",
|
|
377
378
|
hasBorder: true,
|
|
378
379
|
routes: [
|
|
379
380
|
{
|
|
380
|
-
path:
|
|
381
|
+
path: "/profile",
|
|
381
382
|
icon: <UserIcon />,
|
|
382
383
|
iconActive: <UserIconActive />,
|
|
383
|
-
text:
|
|
384
|
+
text: "Profile",
|
|
384
385
|
hasNotification: false,
|
|
385
386
|
hasDropdown: false,
|
|
386
387
|
},
|
|
387
388
|
{
|
|
388
|
-
path:
|
|
389
|
+
path: "/admins",
|
|
389
390
|
icon: <AdminsIcon />,
|
|
390
391
|
iconActive: <AdminsIconActive />,
|
|
391
|
-
text:
|
|
392
|
+
text: "Admins",
|
|
392
393
|
hasNotification: false,
|
|
393
394
|
hasDropdown: false,
|
|
394
395
|
},
|
|
395
396
|
{
|
|
396
|
-
path:
|
|
397
|
+
path: "/notification",
|
|
397
398
|
icon: <AlertIcon />,
|
|
398
399
|
iconActive: <AlertIconActive />,
|
|
399
|
-
text:
|
|
400
|
+
text: "Notification",
|
|
400
401
|
hasNotification: false,
|
|
401
402
|
hasDropdown: false,
|
|
402
403
|
},
|
|
403
404
|
{
|
|
404
|
-
path:
|
|
405
|
+
path: "/roles-and-permissions",
|
|
405
406
|
icon: <GradingIcon />,
|
|
406
407
|
iconActive: <GradingIconActive />,
|
|
407
|
-
text:
|
|
408
|
+
text: "Roles & Permissions",
|
|
408
409
|
hasNotification: false,
|
|
409
410
|
hasDropdown: false,
|
|
410
411
|
},
|
|
411
412
|
{
|
|
412
|
-
path:
|
|
413
|
+
path: "/security",
|
|
413
414
|
icon: <SecurityIcon />,
|
|
414
415
|
iconActive: <SecurityIconActive />,
|
|
415
|
-
text:
|
|
416
|
+
text: "Security",
|
|
416
417
|
hasNotification: false,
|
|
417
418
|
hasDropdown: false,
|
|
418
419
|
},
|
|
@@ -100,7 +100,7 @@ export const sideMenuOptions = [
|
|
|
100
100
|
// notifications: 2,
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
path: "https://developer.learngual.com",
|
|
103
|
+
path: "//https://developer.learngual.com",
|
|
104
104
|
icon: <DocumentIcon />,
|
|
105
105
|
iconActive: <DocumentIconActive />,
|
|
106
106
|
text: "Documentation",
|