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