@almadar/std 14.16.0 → 14.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors-registry.json +1 -1
- package/package.json +1 -1
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
"name": "CourseAppLayout",
|
|
120
120
|
"config": {
|
|
121
121
|
"appName": "LMS",
|
|
122
|
-
"
|
|
122
|
+
"notificationClickEvent": "COURSE_NOTIFICATIONS_OPEN",
|
|
123
|
+
"notifications": [],
|
|
123
124
|
"navItems": [
|
|
124
125
|
{
|
|
125
126
|
"icon": "graduation-cap",
|
|
@@ -128,8 +129,8 @@
|
|
|
128
129
|
},
|
|
129
130
|
{
|
|
130
131
|
"label": "Enroll",
|
|
131
|
-
"
|
|
132
|
-
"
|
|
132
|
+
"href": "/enroll",
|
|
133
|
+
"icon": "user-plus"
|
|
133
134
|
},
|
|
134
135
|
{
|
|
135
136
|
"icon": "trending-up",
|
|
@@ -137,9 +138,8 @@
|
|
|
137
138
|
"label": "Progress"
|
|
138
139
|
}
|
|
139
140
|
],
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"notificationClickEvent": "COURSE_NOTIFICATIONS_OPEN"
|
|
141
|
+
"searchEvent": "COURSE_SEARCH",
|
|
142
|
+
"contentTrait": "@trait.CourseCatalog"
|
|
143
143
|
},
|
|
144
144
|
"events": {
|
|
145
145
|
"SEARCH": "COURSE_SEARCH",
|
|
@@ -346,14 +346,13 @@
|
|
|
346
346
|
{
|
|
347
347
|
"gap": "lg",
|
|
348
348
|
"type": "stack",
|
|
349
|
+
"direction": "vertical",
|
|
349
350
|
"children": [
|
|
350
351
|
{
|
|
351
352
|
"children": [
|
|
352
353
|
{
|
|
353
|
-
"gap": "sm",
|
|
354
|
-
"type": "stack",
|
|
355
354
|
"direction": "horizontal",
|
|
356
|
-
"
|
|
355
|
+
"type": "stack",
|
|
357
356
|
"children": [
|
|
358
357
|
{
|
|
359
358
|
"type": "icon",
|
|
@@ -361,58 +360,60 @@
|
|
|
361
360
|
},
|
|
362
361
|
{
|
|
363
362
|
"content": "Courses",
|
|
364
|
-
"
|
|
365
|
-
"
|
|
363
|
+
"variant": "h2",
|
|
364
|
+
"type": "typography"
|
|
366
365
|
}
|
|
367
|
-
]
|
|
366
|
+
],
|
|
367
|
+
"gap": "sm",
|
|
368
|
+
"align": "center"
|
|
368
369
|
},
|
|
369
370
|
{
|
|
370
|
-
"type": "stack",
|
|
371
371
|
"direction": "horizontal",
|
|
372
|
-
"
|
|
372
|
+
"type": "stack",
|
|
373
373
|
"children": [
|
|
374
374
|
{
|
|
375
|
+
"type": "button",
|
|
376
|
+
"action": "CREATE",
|
|
375
377
|
"variant": "primary",
|
|
376
378
|
"label": "Create Course",
|
|
377
|
-
"
|
|
378
|
-
"icon": "plus",
|
|
379
|
-
"type": "button"
|
|
379
|
+
"icon": "plus"
|
|
380
380
|
},
|
|
381
381
|
{
|
|
382
|
+
"action": "EDIT_COURSE",
|
|
383
|
+
"icon": "edit",
|
|
382
384
|
"variant": "ghost",
|
|
383
385
|
"type": "button",
|
|
384
|
-
"label": "Edit Selected"
|
|
385
|
-
"action": "EDIT_COURSE",
|
|
386
|
-
"icon": "edit"
|
|
386
|
+
"label": "Edit Selected"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
|
-
"action": "DELETE_COURSE",
|
|
390
|
-
"type": "button",
|
|
391
389
|
"icon": "trash-2",
|
|
390
|
+
"type": "button",
|
|
392
391
|
"label": "Delete Selected",
|
|
392
|
+
"action": "DELETE_COURSE",
|
|
393
393
|
"variant": "danger"
|
|
394
394
|
}
|
|
395
|
-
]
|
|
395
|
+
],
|
|
396
|
+
"gap": "sm"
|
|
396
397
|
}
|
|
397
398
|
],
|
|
399
|
+
"justify": "between",
|
|
398
400
|
"type": "stack",
|
|
399
|
-
"gap": "md",
|
|
400
401
|
"direction": "horizontal",
|
|
401
|
-
"
|
|
402
|
+
"gap": "md",
|
|
402
403
|
"align": "center"
|
|
403
404
|
},
|
|
404
405
|
{
|
|
405
406
|
"type": "divider"
|
|
406
407
|
},
|
|
407
408
|
{
|
|
408
|
-
"
|
|
409
|
+
"direction": "horizontal",
|
|
410
|
+
"type": "stack",
|
|
409
411
|
"children": [
|
|
410
412
|
"@trait.CourseSearch",
|
|
411
413
|
"@trait.CourseFilter"
|
|
412
414
|
],
|
|
413
415
|
"align": "center",
|
|
414
|
-
"
|
|
415
|
-
"direction": "horizontal"
|
|
416
|
+
"gap": "md"
|
|
416
417
|
},
|
|
417
418
|
"@trait.CourseStats",
|
|
418
419
|
"@trait.CourseGraphs",
|
|
@@ -420,8 +421,7 @@
|
|
|
420
421
|
"type": "divider"
|
|
421
422
|
},
|
|
422
423
|
"@trait.CourseGallery"
|
|
423
|
-
]
|
|
424
|
-
"direction": "vertical"
|
|
424
|
+
]
|
|
425
425
|
}
|
|
426
426
|
]
|
|
427
427
|
]
|
|
@@ -448,31 +448,31 @@
|
|
|
448
448
|
"direction": "vertical",
|
|
449
449
|
"children": [
|
|
450
450
|
{
|
|
451
|
-
"
|
|
452
|
-
"
|
|
451
|
+
"name": "bell",
|
|
452
|
+
"type": "icon"
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
|
-
"type": "typography",
|
|
456
455
|
"variant": "h3",
|
|
457
|
-
"content": "No notifications"
|
|
456
|
+
"content": "No notifications",
|
|
457
|
+
"type": "typography"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
|
-
"
|
|
461
|
-
"variant": "caption",
|
|
460
|
+
"type": "typography",
|
|
462
461
|
"content": "You're all caught up.",
|
|
463
|
-
"
|
|
462
|
+
"variant": "caption",
|
|
463
|
+
"color": "muted"
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
466
|
"label": "Back to courses",
|
|
467
|
-
"variant": "ghost",
|
|
468
467
|
"action": "INIT",
|
|
469
|
-
"type": "button"
|
|
468
|
+
"type": "button",
|
|
469
|
+
"variant": "ghost"
|
|
470
470
|
}
|
|
471
471
|
],
|
|
472
472
|
"gap": "md",
|
|
473
|
-
"type": "stack",
|
|
474
473
|
"className": "py-8",
|
|
475
|
-
"align": "center"
|
|
474
|
+
"align": "center",
|
|
475
|
+
"type": "stack"
|
|
476
476
|
}
|
|
477
477
|
]
|
|
478
478
|
]
|
|
@@ -503,71 +503,71 @@
|
|
|
503
503
|
"ref": "Filter.traits.FilterTargetFilter",
|
|
504
504
|
"name": "CourseFilter",
|
|
505
505
|
"config": {
|
|
506
|
-
"event": "FILTER",
|
|
507
506
|
"filters": [
|
|
508
507
|
{
|
|
509
|
-
"
|
|
508
|
+
"field": "category",
|
|
509
|
+
"filterType": "select",
|
|
510
510
|
"options": [
|
|
511
511
|
"programming",
|
|
512
512
|
"design",
|
|
513
513
|
"business",
|
|
514
514
|
"marketing"
|
|
515
515
|
],
|
|
516
|
-
"
|
|
517
|
-
"filterType": "select"
|
|
516
|
+
"label": "Category"
|
|
518
517
|
},
|
|
519
518
|
{
|
|
519
|
+
"filterType": "select",
|
|
520
|
+
"label": "Level",
|
|
520
521
|
"field": "level",
|
|
521
522
|
"options": [
|
|
522
523
|
"beginner",
|
|
523
524
|
"intermediate",
|
|
524
525
|
"advanced"
|
|
525
|
-
]
|
|
526
|
-
"filterType": "select",
|
|
527
|
-
"label": "Level"
|
|
526
|
+
]
|
|
528
527
|
}
|
|
529
|
-
]
|
|
528
|
+
],
|
|
529
|
+
"event": "FILTER"
|
|
530
530
|
}
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
533
|
"ref": "Stats.traits.StatsItemStats",
|
|
534
534
|
"name": "CourseStats",
|
|
535
535
|
"config": {
|
|
536
|
-
"title": "Course Stats",
|
|
537
536
|
"metrics": [
|
|
538
537
|
{
|
|
539
|
-
"format": "number",
|
|
540
|
-
"icon": "graduation-cap",
|
|
541
538
|
"aggregation": "count",
|
|
542
539
|
"variant": "primary",
|
|
543
|
-
"
|
|
540
|
+
"format": "number",
|
|
541
|
+
"label": "Total Courses",
|
|
542
|
+
"icon": "graduation-cap"
|
|
544
543
|
},
|
|
545
544
|
{
|
|
546
|
-
"
|
|
545
|
+
"label": "Enrolled Students",
|
|
547
546
|
"aggregation": "sum",
|
|
547
|
+
"field": "enrolledCount",
|
|
548
548
|
"icon": "users",
|
|
549
549
|
"variant": "info",
|
|
550
|
-
"format": "number"
|
|
551
|
-
"label": "Enrolled Students"
|
|
550
|
+
"format": "number"
|
|
552
551
|
},
|
|
553
552
|
{
|
|
554
|
-
"variant": "success",
|
|
555
|
-
"field": "completionPct",
|
|
556
|
-
"aggregation": "avg",
|
|
557
553
|
"label": "Completion Rate",
|
|
558
554
|
"icon": "check-circle",
|
|
559
|
-
"
|
|
555
|
+
"aggregation": "avg",
|
|
556
|
+
"variant": "success",
|
|
557
|
+
"format": "percent",
|
|
558
|
+
"field": "completionPct"
|
|
560
559
|
},
|
|
561
560
|
{
|
|
562
|
-
"icon": "clock",
|
|
563
561
|
"variant": "default",
|
|
564
|
-
"label": "Avg Duration",
|
|
565
|
-
"format": "number",
|
|
566
562
|
"suffix": "h",
|
|
567
|
-
"
|
|
568
|
-
"
|
|
563
|
+
"format": "number",
|
|
564
|
+
"icon": "clock",
|
|
565
|
+
"label": "Avg Duration",
|
|
566
|
+
"aggregation": "avg",
|
|
567
|
+
"field": "durationHours"
|
|
569
568
|
}
|
|
570
|
-
]
|
|
569
|
+
],
|
|
570
|
+
"title": "Course Stats"
|
|
571
571
|
},
|
|
572
572
|
"listens": [
|
|
573
573
|
{
|
|
@@ -584,10 +584,10 @@
|
|
|
584
584
|
"ref": "Graphs.traits.GraphItemGraph",
|
|
585
585
|
"name": "CourseGraphs",
|
|
586
586
|
"config": {
|
|
587
|
-
"subtitle": "Catalog distribution",
|
|
588
587
|
"categoryField": "category",
|
|
589
588
|
"chartType": "bar",
|
|
590
589
|
"title": "Courses by Category",
|
|
590
|
+
"subtitle": "Catalog distribution",
|
|
591
591
|
"aggregation": "count",
|
|
592
592
|
"height": 280.0,
|
|
593
593
|
"showLegend": true
|
|
@@ -610,9 +610,9 @@
|
|
|
610
610
|
"config": {
|
|
611
611
|
"cols": 4.0,
|
|
612
612
|
"gap": "md",
|
|
613
|
+
"imageField": "thumbnail",
|
|
613
614
|
"titleField": "title",
|
|
614
|
-
"subtitleField": "instructor"
|
|
615
|
-
"imageField": "thumbnail"
|
|
615
|
+
"subtitleField": "instructor"
|
|
616
616
|
},
|
|
617
617
|
"listens": [
|
|
618
618
|
{
|
|
@@ -656,6 +656,7 @@
|
|
|
656
656
|
"linkedEntity": "Course",
|
|
657
657
|
"config": {
|
|
658
658
|
"icon": "plus-circle",
|
|
659
|
+
"mode": "create",
|
|
659
660
|
"title": "Create Course",
|
|
660
661
|
"fields": [
|
|
661
662
|
"title",
|
|
@@ -666,8 +667,7 @@
|
|
|
666
667
|
"instructor",
|
|
667
668
|
"thumbnail",
|
|
668
669
|
"videoId"
|
|
669
|
-
]
|
|
670
|
-
"mode": "create"
|
|
670
|
+
]
|
|
671
671
|
},
|
|
672
672
|
"events": {
|
|
673
673
|
"OPEN": "CREATE"
|
|
@@ -688,9 +688,8 @@
|
|
|
688
688
|
"name": "CourseEditModal",
|
|
689
689
|
"linkedEntity": "Course",
|
|
690
690
|
"config": {
|
|
691
|
-
"title": "Edit Course",
|
|
692
|
-
"icon": "edit",
|
|
693
691
|
"mode": "edit",
|
|
692
|
+
"title": "Edit Course",
|
|
694
693
|
"fields": [
|
|
695
694
|
"title",
|
|
696
695
|
"description",
|
|
@@ -700,7 +699,8 @@
|
|
|
700
699
|
"instructor",
|
|
701
700
|
"thumbnail",
|
|
702
701
|
"videoId"
|
|
703
|
-
]
|
|
702
|
+
],
|
|
703
|
+
"icon": "edit"
|
|
704
704
|
},
|
|
705
705
|
"events": {
|
|
706
706
|
"OPEN": "EDIT"
|
|
@@ -721,14 +721,14 @@
|
|
|
721
721
|
"name": "CourseDeleteConfirm",
|
|
722
722
|
"linkedEntity": "Course",
|
|
723
723
|
"config": {
|
|
724
|
-
"
|
|
725
|
-
"title": "Delete Course",
|
|
724
|
+
"confirmLabel": "Delete",
|
|
726
725
|
"icon": "alert-triangle",
|
|
727
|
-
"
|
|
726
|
+
"title": "Delete Course",
|
|
727
|
+
"alertMessage": "This action cannot be undone."
|
|
728
728
|
},
|
|
729
729
|
"events": {
|
|
730
|
-
"
|
|
731
|
-
"
|
|
730
|
+
"CONFIRM": "CONFIRM_DELETE",
|
|
731
|
+
"REQUEST": "DELETE_COURSE"
|
|
732
732
|
},
|
|
733
733
|
"listens": [
|
|
734
734
|
{
|
|
@@ -970,40 +970,40 @@
|
|
|
970
970
|
"render-ui",
|
|
971
971
|
"main",
|
|
972
972
|
{
|
|
973
|
+
"gap": "md",
|
|
974
|
+
"direction": "vertical",
|
|
973
975
|
"children": [
|
|
974
976
|
{
|
|
975
|
-
"type": "stack",
|
|
976
|
-
"align": "center",
|
|
977
977
|
"children": [
|
|
978
978
|
{
|
|
979
|
-
"
|
|
980
|
-
"
|
|
979
|
+
"name": "image",
|
|
980
|
+
"type": "icon"
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
|
-
"
|
|
983
|
+
"variant": "h3",
|
|
984
984
|
"type": "typography",
|
|
985
|
-
"
|
|
985
|
+
"content": "Course Thumbnail"
|
|
986
986
|
}
|
|
987
987
|
],
|
|
988
|
+
"type": "stack",
|
|
988
989
|
"gap": "sm",
|
|
990
|
+
"align": "center",
|
|
989
991
|
"direction": "horizontal"
|
|
990
992
|
},
|
|
991
993
|
{
|
|
992
|
-
"
|
|
994
|
+
"type": "input",
|
|
993
995
|
"placeholder": "Choose image...",
|
|
994
|
-
"
|
|
996
|
+
"inputType": "text"
|
|
995
997
|
},
|
|
996
998
|
{
|
|
997
|
-
"type": "button",
|
|
998
999
|
"action": "UPLOAD",
|
|
1000
|
+
"icon": "upload",
|
|
999
1001
|
"label": "Upload Thumbnail",
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
+
"type": "button",
|
|
1003
|
+
"variant": "primary"
|
|
1002
1004
|
}
|
|
1003
1005
|
],
|
|
1004
|
-
"type": "stack"
|
|
1005
|
-
"gap": "md",
|
|
1006
|
-
"direction": "vertical"
|
|
1006
|
+
"type": "stack"
|
|
1007
1007
|
}
|
|
1008
1008
|
]
|
|
1009
1009
|
]
|
|
@@ -1016,15 +1016,15 @@
|
|
|
1016
1016
|
"ref": "Storage.traits.ServiceStorageStorage",
|
|
1017
1017
|
"name": "CourseThumbnailUpload",
|
|
1018
1018
|
"config": {
|
|
1019
|
-
"
|
|
1019
|
+
"bucket": "course-thumbnails",
|
|
1020
1020
|
"allowedMimeTypes": [
|
|
1021
1021
|
"image/png",
|
|
1022
1022
|
"image/jpeg",
|
|
1023
1023
|
"image/webp"
|
|
1024
1024
|
],
|
|
1025
|
-
"
|
|
1025
|
+
"acl": "public",
|
|
1026
1026
|
"maxSize": 5242880.0,
|
|
1027
|
-
"
|
|
1027
|
+
"uiTrait": "@trait.CourseThumbnailForm"
|
|
1028
1028
|
},
|
|
1029
1029
|
"listens": [
|
|
1030
1030
|
{
|
|
@@ -1041,8 +1041,8 @@
|
|
|
1041
1041
|
"ref": "YouTube.traits.ServiceYoutubeYoutube",
|
|
1042
1042
|
"name": "CourseLessonVideo",
|
|
1043
1043
|
"config": {
|
|
1044
|
-
"controls": true,
|
|
1045
1044
|
"autoplay": false,
|
|
1045
|
+
"controls": true,
|
|
1046
1046
|
"videoId": "",
|
|
1047
1047
|
"uiTrait": "@trait.CourseLessonPlayer"
|
|
1048
1048
|
}
|
|
@@ -1119,107 +1119,107 @@
|
|
|
1119
1119
|
"render-ui",
|
|
1120
1120
|
"main",
|
|
1121
1121
|
{
|
|
1122
|
-
"type": "stack",
|
|
1123
|
-
"className": "max-w-3xl mx-auto w-full",
|
|
1124
1122
|
"direction": "vertical",
|
|
1125
1123
|
"children": [
|
|
1126
1124
|
{
|
|
1127
|
-
"align": "center",
|
|
1128
1125
|
"direction": "horizontal",
|
|
1129
|
-
"gap": "sm",
|
|
1130
1126
|
"children": [
|
|
1131
1127
|
{
|
|
1132
1128
|
"type": "button",
|
|
1129
|
+
"label": "Previous",
|
|
1133
1130
|
"action": "PREV_LESSON",
|
|
1134
1131
|
"variant": "ghost",
|
|
1135
|
-
"icon": "chevron-left"
|
|
1136
|
-
"label": "Previous"
|
|
1132
|
+
"icon": "chevron-left"
|
|
1137
1133
|
},
|
|
1138
1134
|
{
|
|
1139
|
-
"content": "@entity.title",
|
|
1140
1135
|
"variant": "h3",
|
|
1136
|
+
"content": "@entity.title",
|
|
1141
1137
|
"type": "typography"
|
|
1142
1138
|
},
|
|
1143
1139
|
{
|
|
1144
1140
|
"variant": "ghost",
|
|
1145
1141
|
"action": "NEXT_LESSON",
|
|
1142
|
+
"icon": "chevron-right",
|
|
1146
1143
|
"type": "button",
|
|
1147
|
-
"label": "Next"
|
|
1148
|
-
"icon": "chevron-right"
|
|
1144
|
+
"label": "Next"
|
|
1149
1145
|
}
|
|
1150
1146
|
],
|
|
1151
1147
|
"justify": "between",
|
|
1148
|
+
"align": "center",
|
|
1149
|
+
"gap": "sm",
|
|
1152
1150
|
"type": "stack"
|
|
1153
1151
|
},
|
|
1154
1152
|
{
|
|
1155
1153
|
"type": "divider"
|
|
1156
1154
|
},
|
|
1157
1155
|
{
|
|
1156
|
+
"type": "card",
|
|
1158
1157
|
"children": [
|
|
1159
1158
|
{
|
|
1159
|
+
"direction": "vertical",
|
|
1160
|
+
"type": "stack",
|
|
1161
|
+
"align": "center",
|
|
1162
|
+
"gap": "md",
|
|
1160
1163
|
"children": [
|
|
1161
1164
|
{
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1165
|
+
"name": "video",
|
|
1166
|
+
"type": "icon"
|
|
1164
1167
|
},
|
|
1165
1168
|
{
|
|
1166
1169
|
"variant": "caption",
|
|
1167
1170
|
"color": "muted",
|
|
1168
|
-
"
|
|
1169
|
-
"
|
|
1171
|
+
"content": "Lesson video",
|
|
1172
|
+
"type": "typography"
|
|
1170
1173
|
},
|
|
1171
1174
|
{
|
|
1172
1175
|
"variant": "body",
|
|
1173
|
-
"
|
|
1174
|
-
"
|
|
1176
|
+
"type": "typography",
|
|
1177
|
+
"content": "@config.videoId"
|
|
1175
1178
|
}
|
|
1176
|
-
]
|
|
1177
|
-
"gap": "md",
|
|
1178
|
-
"type": "stack",
|
|
1179
|
-
"direction": "vertical",
|
|
1180
|
-
"align": "center"
|
|
1179
|
+
]
|
|
1181
1180
|
}
|
|
1182
|
-
]
|
|
1183
|
-
"type": "card"
|
|
1181
|
+
]
|
|
1184
1182
|
},
|
|
1185
1183
|
{
|
|
1186
1184
|
"type": "divider"
|
|
1187
1185
|
},
|
|
1188
1186
|
{
|
|
1189
|
-
"type": "stack",
|
|
1190
|
-
"direction": "horizontal",
|
|
1191
|
-
"align": "center",
|
|
1192
|
-
"gap": "sm",
|
|
1193
|
-
"justify": "between",
|
|
1194
1187
|
"children": [
|
|
1195
1188
|
{
|
|
1196
|
-
"
|
|
1189
|
+
"gap": "sm",
|
|
1190
|
+
"type": "stack",
|
|
1197
1191
|
"align": "center",
|
|
1192
|
+
"direction": "horizontal",
|
|
1198
1193
|
"children": [
|
|
1199
1194
|
{
|
|
1200
1195
|
"type": "input",
|
|
1201
1196
|
"inputType": "checkbox"
|
|
1202
1197
|
},
|
|
1203
1198
|
{
|
|
1199
|
+
"type": "typography",
|
|
1204
1200
|
"variant": "body",
|
|
1205
|
-
"content": "Mark lesson complete"
|
|
1206
|
-
"type": "typography"
|
|
1201
|
+
"content": "Mark lesson complete"
|
|
1207
1202
|
}
|
|
1208
|
-
]
|
|
1209
|
-
"gap": "sm",
|
|
1210
|
-
"type": "stack"
|
|
1203
|
+
]
|
|
1211
1204
|
},
|
|
1212
1205
|
{
|
|
1213
|
-
"label": "Complete Lesson",
|
|
1214
|
-
"variant": "primary",
|
|
1215
|
-
"action": "LESSON_COMPLETE",
|
|
1216
1206
|
"type": "button",
|
|
1217
|
-
"
|
|
1207
|
+
"variant": "primary",
|
|
1208
|
+
"icon": "check",
|
|
1209
|
+
"label": "Complete Lesson",
|
|
1210
|
+
"action": "LESSON_COMPLETE"
|
|
1218
1211
|
}
|
|
1219
|
-
]
|
|
1212
|
+
],
|
|
1213
|
+
"gap": "sm",
|
|
1214
|
+
"type": "stack",
|
|
1215
|
+
"align": "center",
|
|
1216
|
+
"justify": "between",
|
|
1217
|
+
"direction": "horizontal"
|
|
1220
1218
|
}
|
|
1221
1219
|
],
|
|
1222
|
-
"
|
|
1220
|
+
"className": "max-w-3xl mx-auto w-full",
|
|
1221
|
+
"gap": "md",
|
|
1222
|
+
"type": "stack"
|
|
1223
1223
|
}
|
|
1224
1224
|
]
|
|
1225
1225
|
]
|
|
@@ -1381,33 +1381,33 @@
|
|
|
1381
1381
|
"name": "EnrollmentAppLayout",
|
|
1382
1382
|
"linkedEntity": "Enrollment",
|
|
1383
1383
|
"config": {
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1384
|
+
"appName": "LMS",
|
|
1385
|
+
"contentTrait": "@trait.EnrollmentWizard",
|
|
1386
1386
|
"notificationClickEvent": "ENROLLMENT_NOTIFICATIONS_OPEN",
|
|
1387
|
+
"notifications": [],
|
|
1388
|
+
"searchEvent": "ENROLLMENT_SEARCH",
|
|
1389
|
+
"topBarActions": [],
|
|
1387
1390
|
"navItems": [
|
|
1388
1391
|
{
|
|
1389
|
-
"
|
|
1392
|
+
"href": "/courses",
|
|
1390
1393
|
"label": "Courses",
|
|
1391
|
-
"
|
|
1394
|
+
"icon": "graduation-cap"
|
|
1392
1395
|
},
|
|
1393
1396
|
{
|
|
1394
|
-
"href": "/enroll",
|
|
1395
1397
|
"label": "Enroll",
|
|
1398
|
+
"href": "/enroll",
|
|
1396
1399
|
"icon": "user-plus"
|
|
1397
1400
|
},
|
|
1398
1401
|
{
|
|
1399
|
-
"icon": "trending-up",
|
|
1400
1402
|
"href": "/progress",
|
|
1401
|
-
"label": "Progress"
|
|
1403
|
+
"label": "Progress",
|
|
1404
|
+
"icon": "trending-up"
|
|
1402
1405
|
}
|
|
1403
|
-
]
|
|
1404
|
-
"contentTrait": "@trait.EnrollmentWizard",
|
|
1405
|
-
"appName": "LMS",
|
|
1406
|
-
"searchEvent": "ENROLLMENT_SEARCH"
|
|
1406
|
+
]
|
|
1407
1407
|
},
|
|
1408
1408
|
"events": {
|
|
1409
|
-
"
|
|
1410
|
-
"
|
|
1409
|
+
"NOTIFY_CLICK": "ENROLLMENT_NOTIFICATIONS_OPEN",
|
|
1410
|
+
"SEARCH": "ENROLLMENT_SEARCH"
|
|
1411
1411
|
}
|
|
1412
1412
|
},
|
|
1413
1413
|
{
|
|
@@ -1616,8 +1616,8 @@
|
|
|
1616
1616
|
"Enrollment",
|
|
1617
1617
|
{
|
|
1618
1618
|
"emit": {
|
|
1619
|
-
"
|
|
1620
|
-
"
|
|
1619
|
+
"failure": "EnrollmentLoadFailed",
|
|
1620
|
+
"success": "EnrollmentLoaded"
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
],
|
|
@@ -1625,66 +1625,66 @@
|
|
|
1625
1625
|
"render-ui",
|
|
1626
1626
|
"main",
|
|
1627
1627
|
{
|
|
1628
|
+
"className": "max-w-xl mx-auto w-full",
|
|
1629
|
+
"direction": "vertical",
|
|
1628
1630
|
"children": [
|
|
1629
1631
|
{
|
|
1632
|
+
"direction": "horizontal",
|
|
1633
|
+
"gap": "sm",
|
|
1634
|
+
"type": "stack",
|
|
1635
|
+
"align": "center",
|
|
1630
1636
|
"children": [
|
|
1631
1637
|
{
|
|
1632
|
-
"
|
|
1633
|
-
"
|
|
1638
|
+
"type": "icon",
|
|
1639
|
+
"name": "user-plus"
|
|
1634
1640
|
},
|
|
1635
1641
|
{
|
|
1642
|
+
"variant": "h2",
|
|
1636
1643
|
"type": "typography",
|
|
1637
|
-
"content": "Course Enrollment"
|
|
1638
|
-
"variant": "h2"
|
|
1644
|
+
"content": "Course Enrollment"
|
|
1639
1645
|
}
|
|
1640
|
-
]
|
|
1641
|
-
"type": "stack",
|
|
1642
|
-
"gap": "sm",
|
|
1643
|
-
"direction": "horizontal",
|
|
1644
|
-
"align": "center"
|
|
1646
|
+
]
|
|
1645
1647
|
},
|
|
1646
1648
|
{
|
|
1649
|
+
"type": "wizard-progress",
|
|
1647
1650
|
"steps": [
|
|
1648
1651
|
"Student Info",
|
|
1649
1652
|
"Course Selection",
|
|
1650
1653
|
"Review",
|
|
1651
1654
|
"Confirm"
|
|
1652
1655
|
],
|
|
1653
|
-
"currentStep": 0.0
|
|
1654
|
-
"type": "wizard-progress"
|
|
1656
|
+
"currentStep": 0.0
|
|
1655
1657
|
},
|
|
1656
1658
|
{
|
|
1657
1659
|
"type": "divider"
|
|
1658
1660
|
},
|
|
1659
1661
|
{
|
|
1660
1662
|
"content": "Student Info",
|
|
1661
|
-
"
|
|
1662
|
-
"
|
|
1663
|
+
"variant": "h3",
|
|
1664
|
+
"type": "typography"
|
|
1663
1665
|
},
|
|
1664
1666
|
{
|
|
1665
|
-
"submitLabel": "Continue",
|
|
1666
|
-
"type": "form-section",
|
|
1667
|
-
"mode": "create",
|
|
1668
1667
|
"showCancel": false,
|
|
1669
1668
|
"submitEvent": "NEXT",
|
|
1669
|
+
"mode": "create",
|
|
1670
|
+
"type": "form-section",
|
|
1671
|
+
"submitLabel": "Continue",
|
|
1670
1672
|
"fields": [
|
|
1671
1673
|
{
|
|
1672
|
-
"required": true,
|
|
1673
1674
|
"min": 2.0,
|
|
1675
|
+
"required": true,
|
|
1674
1676
|
"name": "studentName"
|
|
1675
1677
|
},
|
|
1676
1678
|
{
|
|
1677
|
-
"
|
|
1679
|
+
"required": true,
|
|
1678
1680
|
"name": "email",
|
|
1679
|
-
"
|
|
1681
|
+
"type": "email"
|
|
1680
1682
|
}
|
|
1681
1683
|
]
|
|
1682
1684
|
}
|
|
1683
1685
|
],
|
|
1684
|
-
"type": "stack",
|
|
1685
|
-
"direction": "vertical",
|
|
1686
1686
|
"gap": "lg",
|
|
1687
|
-
"
|
|
1687
|
+
"type": "stack"
|
|
1688
1688
|
}
|
|
1689
1689
|
]
|
|
1690
1690
|
]
|
|
@@ -1713,62 +1713,62 @@
|
|
|
1713
1713
|
"render-ui",
|
|
1714
1714
|
"main",
|
|
1715
1715
|
{
|
|
1716
|
-
"
|
|
1716
|
+
"type": "stack",
|
|
1717
|
+
"direction": "vertical",
|
|
1718
|
+
"gap": "lg",
|
|
1717
1719
|
"children": [
|
|
1718
1720
|
{
|
|
1719
1721
|
"align": "center",
|
|
1722
|
+
"type": "stack",
|
|
1723
|
+
"direction": "horizontal",
|
|
1720
1724
|
"gap": "sm",
|
|
1721
1725
|
"children": [
|
|
1722
1726
|
{
|
|
1723
|
-
"
|
|
1724
|
-
"
|
|
1727
|
+
"name": "user-plus",
|
|
1728
|
+
"type": "icon"
|
|
1725
1729
|
},
|
|
1726
1730
|
{
|
|
1727
1731
|
"content": "Course Enrollment",
|
|
1728
1732
|
"variant": "h2",
|
|
1729
1733
|
"type": "typography"
|
|
1730
1734
|
}
|
|
1731
|
-
]
|
|
1732
|
-
"type": "stack",
|
|
1733
|
-
"direction": "horizontal"
|
|
1735
|
+
]
|
|
1734
1736
|
},
|
|
1735
1737
|
{
|
|
1736
1738
|
"currentStep": 1.0,
|
|
1737
|
-
"type": "wizard-progress",
|
|
1738
1739
|
"steps": [
|
|
1739
1740
|
"Student Info",
|
|
1740
1741
|
"Course Selection",
|
|
1741
1742
|
"Review",
|
|
1742
1743
|
"Confirm"
|
|
1743
|
-
]
|
|
1744
|
+
],
|
|
1745
|
+
"type": "wizard-progress"
|
|
1744
1746
|
},
|
|
1745
1747
|
{
|
|
1746
1748
|
"type": "divider"
|
|
1747
1749
|
},
|
|
1748
1750
|
{
|
|
1751
|
+
"content": "Course Selection",
|
|
1749
1752
|
"type": "typography",
|
|
1750
|
-
"variant": "h3"
|
|
1751
|
-
"content": "Course Selection"
|
|
1753
|
+
"variant": "h3"
|
|
1752
1754
|
},
|
|
1753
1755
|
{
|
|
1754
|
-
"mode": "edit",
|
|
1755
|
-
"cancelEvent": "PREV",
|
|
1756
|
-
"entity": "@entity",
|
|
1757
1756
|
"submitEvent": "NEXT",
|
|
1758
|
-
"type": "form-section",
|
|
1759
|
-
"submitLabel": "Continue",
|
|
1760
1757
|
"cancelLabel": "Back",
|
|
1758
|
+
"entity": "@entity",
|
|
1759
|
+
"mode": "edit",
|
|
1760
|
+
"type": "form-section",
|
|
1761
1761
|
"fields": [
|
|
1762
1762
|
{
|
|
1763
|
-
"
|
|
1764
|
-
"
|
|
1763
|
+
"name": "courseId",
|
|
1764
|
+
"required": true
|
|
1765
1765
|
}
|
|
1766
|
-
]
|
|
1766
|
+
],
|
|
1767
|
+
"submitLabel": "Continue",
|
|
1768
|
+
"cancelEvent": "PREV"
|
|
1767
1769
|
}
|
|
1768
1770
|
],
|
|
1769
|
-
"
|
|
1770
|
-
"type": "stack",
|
|
1771
|
-
"direction": "vertical"
|
|
1771
|
+
"className": "max-w-xl mx-auto w-full"
|
|
1772
1772
|
}
|
|
1773
1773
|
]
|
|
1774
1774
|
]
|
|
@@ -1793,49 +1793,49 @@
|
|
|
1793
1793
|
"render-ui",
|
|
1794
1794
|
"main",
|
|
1795
1795
|
{
|
|
1796
|
+
"className": "max-w-xl mx-auto w-full",
|
|
1796
1797
|
"gap": "lg",
|
|
1797
1798
|
"type": "stack",
|
|
1798
|
-
"
|
|
1799
|
+
"direction": "vertical",
|
|
1799
1800
|
"children": [
|
|
1800
1801
|
{
|
|
1801
|
-
"
|
|
1802
|
+
"direction": "horizontal",
|
|
1802
1803
|
"align": "center",
|
|
1804
|
+
"type": "stack",
|
|
1803
1805
|
"children": [
|
|
1804
1806
|
{
|
|
1805
1807
|
"name": "user-plus",
|
|
1806
1808
|
"type": "icon"
|
|
1807
1809
|
},
|
|
1808
1810
|
{
|
|
1809
|
-
"type": "typography",
|
|
1810
1811
|
"variant": "h2",
|
|
1811
|
-
"content": "Course Enrollment"
|
|
1812
|
+
"content": "Course Enrollment",
|
|
1813
|
+
"type": "typography"
|
|
1812
1814
|
}
|
|
1813
1815
|
],
|
|
1814
|
-
"
|
|
1815
|
-
"direction": "horizontal"
|
|
1816
|
+
"gap": "sm"
|
|
1816
1817
|
},
|
|
1817
1818
|
{
|
|
1818
|
-
"currentStep": 2.0,
|
|
1819
1819
|
"type": "wizard-progress",
|
|
1820
1820
|
"steps": [
|
|
1821
1821
|
"Student Info",
|
|
1822
1822
|
"Course Selection",
|
|
1823
1823
|
"Review",
|
|
1824
1824
|
"Confirm"
|
|
1825
|
-
]
|
|
1825
|
+
],
|
|
1826
|
+
"currentStep": 2.0
|
|
1826
1827
|
},
|
|
1827
1828
|
{
|
|
1828
1829
|
"type": "divider"
|
|
1829
1830
|
},
|
|
1830
1831
|
{
|
|
1831
|
-
"
|
|
1832
|
+
"type": "typography",
|
|
1832
1833
|
"content": "Review",
|
|
1833
|
-
"
|
|
1834
|
+
"variant": "h3"
|
|
1834
1835
|
},
|
|
1835
1836
|
{
|
|
1836
1837
|
"gap": "sm",
|
|
1837
1838
|
"type": "stack",
|
|
1838
|
-
"direction": "vertical",
|
|
1839
1839
|
"children": [
|
|
1840
1840
|
{
|
|
1841
1841
|
"type": "stack",
|
|
@@ -1848,21 +1848,22 @@
|
|
|
1848
1848
|
"variant": "caption"
|
|
1849
1849
|
},
|
|
1850
1850
|
{
|
|
1851
|
-
"type": "typography",
|
|
1852
1851
|
"variant": "body",
|
|
1853
|
-
"content": "@entity.studentName"
|
|
1852
|
+
"content": "@entity.studentName",
|
|
1853
|
+
"type": "typography"
|
|
1854
1854
|
}
|
|
1855
1855
|
],
|
|
1856
1856
|
"direction": "horizontal"
|
|
1857
1857
|
},
|
|
1858
1858
|
{
|
|
1859
|
+
"type": "stack",
|
|
1859
1860
|
"direction": "horizontal",
|
|
1860
1861
|
"justify": "between",
|
|
1861
1862
|
"children": [
|
|
1862
1863
|
{
|
|
1863
1864
|
"content": "Email",
|
|
1864
|
-
"
|
|
1865
|
-
"
|
|
1865
|
+
"variant": "caption",
|
|
1866
|
+
"type": "typography"
|
|
1866
1867
|
},
|
|
1867
1868
|
{
|
|
1868
1869
|
"variant": "body",
|
|
@@ -1870,53 +1871,52 @@
|
|
|
1870
1871
|
"content": "@entity.email"
|
|
1871
1872
|
}
|
|
1872
1873
|
],
|
|
1873
|
-
"type": "stack",
|
|
1874
1874
|
"gap": "md"
|
|
1875
1875
|
},
|
|
1876
1876
|
{
|
|
1877
|
+
"gap": "md",
|
|
1878
|
+
"justify": "between",
|
|
1879
|
+
"direction": "horizontal",
|
|
1877
1880
|
"children": [
|
|
1878
1881
|
{
|
|
1879
|
-
"
|
|
1882
|
+
"type": "typography",
|
|
1880
1883
|
"variant": "caption",
|
|
1881
|
-
"
|
|
1884
|
+
"content": "Course"
|
|
1882
1885
|
},
|
|
1883
1886
|
{
|
|
1887
|
+
"content": "@entity.courseId",
|
|
1884
1888
|
"variant": "body",
|
|
1885
|
-
"type": "typography"
|
|
1886
|
-
"content": "@entity.courseId"
|
|
1889
|
+
"type": "typography"
|
|
1887
1890
|
}
|
|
1888
1891
|
],
|
|
1889
|
-
"direction": "horizontal",
|
|
1890
|
-
"gap": "md",
|
|
1891
|
-
"justify": "between",
|
|
1892
1892
|
"type": "stack"
|
|
1893
1893
|
}
|
|
1894
|
-
]
|
|
1894
|
+
],
|
|
1895
|
+
"direction": "vertical"
|
|
1895
1896
|
},
|
|
1896
1897
|
{
|
|
1897
|
-
"justify": "between",
|
|
1898
|
-
"type": "stack",
|
|
1899
1898
|
"gap": "sm",
|
|
1899
|
+
"type": "stack",
|
|
1900
|
+
"justify": "between",
|
|
1900
1901
|
"direction": "horizontal",
|
|
1901
1902
|
"children": [
|
|
1902
1903
|
{
|
|
1903
|
-
"
|
|
1904
|
-
"type": "button",
|
|
1904
|
+
"label": "Back",
|
|
1905
1905
|
"icon": "arrow-left",
|
|
1906
|
+
"variant": "ghost",
|
|
1906
1907
|
"action": "PREV",
|
|
1907
|
-
"
|
|
1908
|
+
"type": "button"
|
|
1908
1909
|
},
|
|
1909
1910
|
{
|
|
1910
|
-
"
|
|
1911
|
+
"action": "NEXT",
|
|
1911
1912
|
"variant": "primary",
|
|
1912
1913
|
"icon": "arrow-right",
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1914
|
+
"label": "Continue",
|
|
1915
|
+
"type": "button"
|
|
1915
1916
|
}
|
|
1916
1917
|
]
|
|
1917
1918
|
}
|
|
1918
|
-
]
|
|
1919
|
-
"direction": "vertical"
|
|
1919
|
+
]
|
|
1920
1920
|
}
|
|
1921
1921
|
]
|
|
1922
1922
|
]
|
|
@@ -1930,10 +1930,10 @@
|
|
|
1930
1930
|
"render-ui",
|
|
1931
1931
|
"main",
|
|
1932
1932
|
{
|
|
1933
|
+
"className": "max-w-xl mx-auto w-full",
|
|
1934
|
+
"gap": "lg",
|
|
1933
1935
|
"type": "stack",
|
|
1934
1936
|
"direction": "vertical",
|
|
1935
|
-
"gap": "lg",
|
|
1936
|
-
"className": "max-w-xl mx-auto w-full",
|
|
1937
1937
|
"children": [
|
|
1938
1938
|
{
|
|
1939
1939
|
"variant": "h2",
|
|
@@ -1941,42 +1941,42 @@
|
|
|
1941
1941
|
"type": "typography"
|
|
1942
1942
|
},
|
|
1943
1943
|
{
|
|
1944
|
-
"currentStep": 0.0,
|
|
1945
|
-
"type": "wizard-progress",
|
|
1946
1944
|
"steps": [
|
|
1947
1945
|
"Student Info",
|
|
1948
1946
|
"Course Selection",
|
|
1949
1947
|
"Review",
|
|
1950
1948
|
"Confirm"
|
|
1951
|
-
]
|
|
1949
|
+
],
|
|
1950
|
+
"currentStep": 0.0,
|
|
1951
|
+
"type": "wizard-progress"
|
|
1952
1952
|
},
|
|
1953
1953
|
{
|
|
1954
1954
|
"type": "divider"
|
|
1955
1955
|
},
|
|
1956
1956
|
{
|
|
1957
|
+
"content": "Student Info",
|
|
1957
1958
|
"type": "typography",
|
|
1958
|
-
"variant": "h3"
|
|
1959
|
-
"content": "Student Info"
|
|
1959
|
+
"variant": "h3"
|
|
1960
1960
|
},
|
|
1961
1961
|
{
|
|
1962
|
-
"mode": "edit",
|
|
1963
|
-
"showCancel": false,
|
|
1964
1962
|
"fields": [
|
|
1965
1963
|
{
|
|
1964
|
+
"required": true,
|
|
1966
1965
|
"name": "studentName",
|
|
1967
|
-
"min": 2.0
|
|
1968
|
-
"required": true
|
|
1966
|
+
"min": 2.0
|
|
1969
1967
|
},
|
|
1970
1968
|
{
|
|
1971
|
-
"name": "email",
|
|
1972
1969
|
"type": "email",
|
|
1970
|
+
"name": "email",
|
|
1973
1971
|
"required": true
|
|
1974
1972
|
}
|
|
1975
1973
|
],
|
|
1976
|
-
"entity": "@entity",
|
|
1977
1974
|
"type": "form-section",
|
|
1975
|
+
"submitLabel": "Continue",
|
|
1978
1976
|
"submitEvent": "NEXT",
|
|
1979
|
-
"
|
|
1977
|
+
"showCancel": false,
|
|
1978
|
+
"entity": "@entity",
|
|
1979
|
+
"mode": "edit"
|
|
1980
1980
|
}
|
|
1981
1981
|
]
|
|
1982
1982
|
}
|
|
@@ -1998,118 +1998,118 @@
|
|
|
1998
1998
|
"render-ui",
|
|
1999
1999
|
"main",
|
|
2000
2000
|
{
|
|
2001
|
-
"gap": "lg",
|
|
2002
|
-
"type": "stack",
|
|
2003
|
-
"direction": "vertical",
|
|
2004
2001
|
"className": "max-w-xl mx-auto w-full",
|
|
2002
|
+
"direction": "vertical",
|
|
2005
2003
|
"children": [
|
|
2006
2004
|
{
|
|
2007
|
-
"
|
|
2005
|
+
"type": "typography",
|
|
2008
2006
|
"content": "Course Enrollment",
|
|
2009
|
-
"
|
|
2007
|
+
"variant": "h2"
|
|
2010
2008
|
},
|
|
2011
2009
|
{
|
|
2010
|
+
"type": "wizard-progress",
|
|
2012
2011
|
"currentStep": 3.0,
|
|
2013
2012
|
"steps": [
|
|
2014
2013
|
"Student Info",
|
|
2015
2014
|
"Course Selection",
|
|
2016
2015
|
"Review",
|
|
2017
2016
|
"Confirm"
|
|
2018
|
-
]
|
|
2019
|
-
"type": "wizard-progress"
|
|
2017
|
+
]
|
|
2020
2018
|
},
|
|
2021
2019
|
{
|
|
2022
2020
|
"type": "divider"
|
|
2023
2021
|
},
|
|
2024
2022
|
{
|
|
2025
2023
|
"variant": "info",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2024
|
+
"type": "alert",
|
|
2025
|
+
"message": "Please confirm your enrollment."
|
|
2028
2026
|
},
|
|
2029
2027
|
{
|
|
2030
|
-
"gap": "sm",
|
|
2031
2028
|
"type": "stack",
|
|
2032
2029
|
"direction": "vertical",
|
|
2030
|
+
"gap": "sm",
|
|
2033
2031
|
"children": [
|
|
2034
2032
|
{
|
|
2033
|
+
"direction": "horizontal",
|
|
2035
2034
|
"justify": "between",
|
|
2036
|
-
"
|
|
2035
|
+
"gap": "md",
|
|
2037
2036
|
"children": [
|
|
2038
2037
|
{
|
|
2039
2038
|
"content": "Student",
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2039
|
+
"variant": "caption",
|
|
2040
|
+
"type": "typography"
|
|
2042
2041
|
},
|
|
2043
2042
|
{
|
|
2044
|
-
"content": "@entity.studentName",
|
|
2045
2043
|
"variant": "body",
|
|
2044
|
+
"content": "@entity.studentName",
|
|
2046
2045
|
"type": "typography"
|
|
2047
2046
|
}
|
|
2048
2047
|
],
|
|
2049
|
-
"
|
|
2050
|
-
"direction": "horizontal"
|
|
2048
|
+
"type": "stack"
|
|
2051
2049
|
},
|
|
2052
2050
|
{
|
|
2053
|
-
"
|
|
2051
|
+
"direction": "horizontal",
|
|
2054
2052
|
"children": [
|
|
2055
2053
|
{
|
|
2056
|
-
"type": "typography",
|
|
2057
2054
|
"variant": "caption",
|
|
2058
|
-
"content": "Email"
|
|
2055
|
+
"content": "Email",
|
|
2056
|
+
"type": "typography"
|
|
2059
2057
|
},
|
|
2060
2058
|
{
|
|
2059
|
+
"type": "typography",
|
|
2061
2060
|
"variant": "body",
|
|
2062
|
-
"content": "@entity.email"
|
|
2063
|
-
"type": "typography"
|
|
2061
|
+
"content": "@entity.email"
|
|
2064
2062
|
}
|
|
2065
2063
|
],
|
|
2064
|
+
"gap": "md",
|
|
2066
2065
|
"justify": "between",
|
|
2067
|
-
"
|
|
2068
|
-
"gap": "md"
|
|
2066
|
+
"type": "stack"
|
|
2069
2067
|
},
|
|
2070
2068
|
{
|
|
2071
|
-
"gap": "md",
|
|
2072
|
-
"direction": "horizontal",
|
|
2073
|
-
"justify": "between",
|
|
2074
2069
|
"type": "stack",
|
|
2075
2070
|
"children": [
|
|
2076
2071
|
{
|
|
2072
|
+
"variant": "caption",
|
|
2077
2073
|
"type": "typography",
|
|
2078
|
-
"content": "Course"
|
|
2079
|
-
"variant": "caption"
|
|
2074
|
+
"content": "Course"
|
|
2080
2075
|
},
|
|
2081
2076
|
{
|
|
2082
|
-
"content": "@entity.courseId",
|
|
2083
2077
|
"variant": "body",
|
|
2078
|
+
"content": "@entity.courseId",
|
|
2084
2079
|
"type": "typography"
|
|
2085
2080
|
}
|
|
2086
|
-
]
|
|
2081
|
+
],
|
|
2082
|
+
"direction": "horizontal",
|
|
2083
|
+
"gap": "md",
|
|
2084
|
+
"justify": "between"
|
|
2087
2085
|
}
|
|
2088
2086
|
]
|
|
2089
2087
|
},
|
|
2090
2088
|
{
|
|
2091
|
-
"
|
|
2089
|
+
"justify": "between",
|
|
2090
|
+
"direction": "horizontal",
|
|
2092
2091
|
"children": [
|
|
2093
2092
|
{
|
|
2094
|
-
"action": "PREV",
|
|
2095
|
-
"icon": "arrow-left",
|
|
2096
2093
|
"type": "button",
|
|
2094
|
+
"icon": "arrow-left",
|
|
2095
|
+
"variant": "ghost",
|
|
2097
2096
|
"label": "Back",
|
|
2098
|
-
"
|
|
2097
|
+
"action": "PREV"
|
|
2099
2098
|
},
|
|
2100
2099
|
{
|
|
2101
|
-
"icon": "check",
|
|
2102
|
-
"label": "Enroll",
|
|
2103
2100
|
"variant": "primary",
|
|
2104
|
-
"
|
|
2105
|
-
"
|
|
2101
|
+
"label": "Enroll",
|
|
2102
|
+
"icon": "check",
|
|
2103
|
+
"type": "button",
|
|
2104
|
+
"action": "COMPLETE"
|
|
2106
2105
|
}
|
|
2107
2106
|
],
|
|
2108
|
-
"
|
|
2109
|
-
"
|
|
2110
|
-
"gap": "sm"
|
|
2107
|
+
"gap": "sm",
|
|
2108
|
+
"type": "stack"
|
|
2111
2109
|
}
|
|
2112
|
-
]
|
|
2110
|
+
],
|
|
2111
|
+
"gap": "lg",
|
|
2112
|
+
"type": "stack"
|
|
2113
2113
|
}
|
|
2114
2114
|
]
|
|
2115
2115
|
]
|
|
@@ -2123,22 +2123,24 @@
|
|
|
2123
2123
|
"render-ui",
|
|
2124
2124
|
"main",
|
|
2125
2125
|
{
|
|
2126
|
+
"type": "stack",
|
|
2127
|
+
"gap": "lg",
|
|
2126
2128
|
"className": "max-w-xl mx-auto w-full",
|
|
2127
2129
|
"children": [
|
|
2128
2130
|
{
|
|
2129
|
-
"content": "Course Enrollment",
|
|
2130
2131
|
"variant": "h2",
|
|
2131
|
-
"type": "typography"
|
|
2132
|
+
"type": "typography",
|
|
2133
|
+
"content": "Course Enrollment"
|
|
2132
2134
|
},
|
|
2133
2135
|
{
|
|
2136
|
+
"currentStep": 1.0,
|
|
2137
|
+
"type": "wizard-progress",
|
|
2134
2138
|
"steps": [
|
|
2135
2139
|
"Student Info",
|
|
2136
2140
|
"Course Selection",
|
|
2137
2141
|
"Review",
|
|
2138
2142
|
"Confirm"
|
|
2139
|
-
]
|
|
2140
|
-
"type": "wizard-progress",
|
|
2141
|
-
"currentStep": 1.0
|
|
2143
|
+
]
|
|
2142
2144
|
},
|
|
2143
2145
|
{
|
|
2144
2146
|
"type": "divider"
|
|
@@ -2149,23 +2151,21 @@
|
|
|
2149
2151
|
"content": "Course Selection"
|
|
2150
2152
|
},
|
|
2151
2153
|
{
|
|
2152
|
-
"submitEvent": "NEXT",
|
|
2153
|
-
"mode": "edit",
|
|
2154
|
-
"cancelLabel": "Back",
|
|
2155
2154
|
"type": "form-section",
|
|
2156
2155
|
"entity": "@entity",
|
|
2156
|
+
"cancelEvent": "PREV",
|
|
2157
|
+
"cancelLabel": "Back",
|
|
2157
2158
|
"fields": [
|
|
2158
2159
|
{
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2160
|
+
"required": true,
|
|
2161
|
+
"name": "courseId"
|
|
2161
2162
|
}
|
|
2162
2163
|
],
|
|
2164
|
+
"mode": "edit",
|
|
2163
2165
|
"submitLabel": "Continue",
|
|
2164
|
-
"
|
|
2166
|
+
"submitEvent": "NEXT"
|
|
2165
2167
|
}
|
|
2166
2168
|
],
|
|
2167
|
-
"type": "stack",
|
|
2168
|
-
"gap": "lg",
|
|
2169
2169
|
"direction": "vertical"
|
|
2170
2170
|
}
|
|
2171
2171
|
]
|
|
@@ -2194,8 +2194,8 @@
|
|
|
2194
2194
|
"@entity",
|
|
2195
2195
|
{
|
|
2196
2196
|
"emit": {
|
|
2197
|
-
"
|
|
2198
|
-
"
|
|
2197
|
+
"success": "EnrollmentSaved",
|
|
2198
|
+
"failure": "EnrollmentSaveFailed"
|
|
2199
2199
|
}
|
|
2200
2200
|
}
|
|
2201
2201
|
],
|
|
@@ -2216,34 +2216,34 @@
|
|
|
2216
2216
|
"render-ui",
|
|
2217
2217
|
"main",
|
|
2218
2218
|
{
|
|
2219
|
+
"gap": "lg",
|
|
2219
2220
|
"className": "max-w-xl mx-auto w-full py-12",
|
|
2220
|
-
"direction": "vertical",
|
|
2221
2221
|
"children": [
|
|
2222
2222
|
{
|
|
2223
2223
|
"type": "icon",
|
|
2224
2224
|
"name": "check-circle"
|
|
2225
2225
|
},
|
|
2226
2226
|
{
|
|
2227
|
+
"type": "typography",
|
|
2227
2228
|
"content": "Enrolled!",
|
|
2228
|
-
"variant": "h2"
|
|
2229
|
-
"type": "typography"
|
|
2229
|
+
"variant": "h2"
|
|
2230
2230
|
},
|
|
2231
2231
|
{
|
|
2232
|
-
"type": "typography",
|
|
2233
2232
|
"variant": "body",
|
|
2234
2233
|
"color": "muted",
|
|
2235
|
-
"content": "You have been enrolled in the course."
|
|
2234
|
+
"content": "You have been enrolled in the course.",
|
|
2235
|
+
"type": "typography"
|
|
2236
2236
|
},
|
|
2237
2237
|
{
|
|
2238
|
-
"action": "RESTART",
|
|
2239
|
-
"variant": "ghost",
|
|
2240
2238
|
"icon": "rotate-ccw",
|
|
2239
|
+
"variant": "ghost",
|
|
2241
2240
|
"type": "button",
|
|
2242
|
-
"label": "Enroll another student"
|
|
2241
|
+
"label": "Enroll another student",
|
|
2242
|
+
"action": "RESTART"
|
|
2243
2243
|
}
|
|
2244
2244
|
],
|
|
2245
2245
|
"type": "stack",
|
|
2246
|
-
"
|
|
2246
|
+
"direction": "vertical",
|
|
2247
2247
|
"align": "center"
|
|
2248
2248
|
}
|
|
2249
2249
|
]
|
|
@@ -2258,57 +2258,57 @@
|
|
|
2258
2258
|
"render-ui",
|
|
2259
2259
|
"main",
|
|
2260
2260
|
{
|
|
2261
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2261
2262
|
"children": [
|
|
2262
2263
|
{
|
|
2263
2264
|
"content": "Course Enrollment",
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2265
|
+
"variant": "h2",
|
|
2266
|
+
"type": "typography"
|
|
2266
2267
|
},
|
|
2267
2268
|
{
|
|
2268
|
-
"type": "wizard-progress",
|
|
2269
2269
|
"steps": [
|
|
2270
2270
|
"Student Info",
|
|
2271
2271
|
"Course Selection",
|
|
2272
2272
|
"Review",
|
|
2273
2273
|
"Confirm"
|
|
2274
2274
|
],
|
|
2275
|
+
"type": "wizard-progress",
|
|
2275
2276
|
"currentStep": 2.0
|
|
2276
2277
|
},
|
|
2277
2278
|
{
|
|
2278
2279
|
"type": "divider"
|
|
2279
2280
|
},
|
|
2280
2281
|
{
|
|
2282
|
+
"type": "typography",
|
|
2281
2283
|
"content": "Review",
|
|
2282
|
-
"variant": "h3"
|
|
2283
|
-
"type": "typography"
|
|
2284
|
+
"variant": "h3"
|
|
2284
2285
|
},
|
|
2285
2286
|
{
|
|
2287
|
+
"justify": "between",
|
|
2286
2288
|
"direction": "horizontal",
|
|
2287
2289
|
"gap": "sm",
|
|
2288
|
-
"type": "stack",
|
|
2289
|
-
"justify": "between",
|
|
2290
2290
|
"children": [
|
|
2291
2291
|
{
|
|
2292
|
-
"label": "Back",
|
|
2293
2292
|
"type": "button",
|
|
2294
|
-
"
|
|
2293
|
+
"icon": "arrow-left",
|
|
2295
2294
|
"variant": "ghost",
|
|
2296
|
-
"
|
|
2295
|
+
"label": "Back",
|
|
2296
|
+
"action": "PREV"
|
|
2297
2297
|
},
|
|
2298
2298
|
{
|
|
2299
2299
|
"icon": "arrow-right",
|
|
2300
|
-
"
|
|
2300
|
+
"type": "button",
|
|
2301
2301
|
"action": "NEXT",
|
|
2302
|
-
"
|
|
2303
|
-
"
|
|
2302
|
+
"variant": "primary",
|
|
2303
|
+
"label": "Continue"
|
|
2304
2304
|
}
|
|
2305
|
-
]
|
|
2305
|
+
],
|
|
2306
|
+
"type": "stack"
|
|
2306
2307
|
}
|
|
2307
2308
|
],
|
|
2308
|
-
"gap": "lg",
|
|
2309
|
-
"className": "max-w-xl mx-auto w-full",
|
|
2310
2309
|
"type": "stack",
|
|
2311
|
-
"direction": "vertical"
|
|
2310
|
+
"direction": "vertical",
|
|
2311
|
+
"gap": "lg"
|
|
2312
2312
|
}
|
|
2313
2313
|
]
|
|
2314
2314
|
]
|
|
@@ -2347,16 +2347,16 @@
|
|
|
2347
2347
|
"render-ui",
|
|
2348
2348
|
"main",
|
|
2349
2349
|
{
|
|
2350
|
-
"
|
|
2350
|
+
"gap": "lg",
|
|
2351
2351
|
"children": [
|
|
2352
2352
|
{
|
|
2353
2353
|
"content": "Course Enrollment",
|
|
2354
|
-
"
|
|
2355
|
-
"
|
|
2354
|
+
"variant": "h2",
|
|
2355
|
+
"type": "typography"
|
|
2356
2356
|
},
|
|
2357
2357
|
{
|
|
2358
|
-
"currentStep": 0.0,
|
|
2359
2358
|
"type": "wizard-progress",
|
|
2359
|
+
"currentStep": 0.0,
|
|
2360
2360
|
"steps": [
|
|
2361
2361
|
"Student Info",
|
|
2362
2362
|
"Course Selection",
|
|
@@ -2368,12 +2368,15 @@
|
|
|
2368
2368
|
"type": "divider"
|
|
2369
2369
|
},
|
|
2370
2370
|
{
|
|
2371
|
-
"type": "typography",
|
|
2372
2371
|
"content": "Student Info",
|
|
2372
|
+
"type": "typography",
|
|
2373
2373
|
"variant": "h3"
|
|
2374
2374
|
},
|
|
2375
2375
|
{
|
|
2376
2376
|
"mode": "create",
|
|
2377
|
+
"submitEvent": "NEXT",
|
|
2378
|
+
"submitLabel": "Continue",
|
|
2379
|
+
"type": "form-section",
|
|
2377
2380
|
"fields": [
|
|
2378
2381
|
{
|
|
2379
2382
|
"name": "studentName",
|
|
@@ -2382,19 +2385,16 @@
|
|
|
2382
2385
|
},
|
|
2383
2386
|
{
|
|
2384
2387
|
"name": "email",
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2388
|
+
"required": true,
|
|
2389
|
+
"type": "email"
|
|
2387
2390
|
}
|
|
2388
2391
|
],
|
|
2389
|
-
"
|
|
2390
|
-
"submitLabel": "Continue",
|
|
2391
|
-
"showCancel": false,
|
|
2392
|
-
"submitEvent": "NEXT"
|
|
2392
|
+
"showCancel": false
|
|
2393
2393
|
}
|
|
2394
2394
|
],
|
|
2395
2395
|
"direction": "vertical",
|
|
2396
2396
|
"className": "max-w-xl mx-auto w-full",
|
|
2397
|
-
"
|
|
2397
|
+
"type": "stack"
|
|
2398
2398
|
}
|
|
2399
2399
|
]
|
|
2400
2400
|
]
|
|
@@ -2489,33 +2489,33 @@
|
|
|
2489
2489
|
"name": "ProgressAppLayout",
|
|
2490
2490
|
"linkedEntity": "Progress",
|
|
2491
2491
|
"config": {
|
|
2492
|
-
"appName": "LMS",
|
|
2493
|
-
"searchEvent": "PROGRESS_SEARCH",
|
|
2494
|
-
"topBarActions": [],
|
|
2495
2492
|
"navItems": [
|
|
2496
2493
|
{
|
|
2497
|
-
"icon": "graduation-cap",
|
|
2498
2494
|
"label": "Courses",
|
|
2499
|
-
"href": "/courses"
|
|
2495
|
+
"href": "/courses",
|
|
2496
|
+
"icon": "graduation-cap"
|
|
2500
2497
|
},
|
|
2501
2498
|
{
|
|
2502
2499
|
"label": "Enroll",
|
|
2503
|
-
"
|
|
2504
|
-
"
|
|
2500
|
+
"href": "/enroll",
|
|
2501
|
+
"icon": "user-plus"
|
|
2505
2502
|
},
|
|
2506
2503
|
{
|
|
2504
|
+
"href": "/progress",
|
|
2507
2505
|
"label": "Progress",
|
|
2508
|
-
"icon": "trending-up"
|
|
2509
|
-
"href": "/progress"
|
|
2506
|
+
"icon": "trending-up"
|
|
2510
2507
|
}
|
|
2511
2508
|
],
|
|
2509
|
+
"searchEvent": "PROGRESS_SEARCH",
|
|
2510
|
+
"notifications": [],
|
|
2512
2511
|
"contentTrait": "@trait.ProgressDisplay",
|
|
2513
|
-
"
|
|
2514
|
-
"
|
|
2512
|
+
"topBarActions": [],
|
|
2513
|
+
"appName": "LMS",
|
|
2514
|
+
"notificationClickEvent": "PROGRESS_NOTIFICATIONS_OPEN"
|
|
2515
2515
|
},
|
|
2516
2516
|
"events": {
|
|
2517
|
-
"
|
|
2518
|
-
"
|
|
2517
|
+
"SEARCH": "PROGRESS_SEARCH",
|
|
2518
|
+
"NOTIFY_CLICK": "PROGRESS_NOTIFICATIONS_OPEN"
|
|
2519
2519
|
}
|
|
2520
2520
|
},
|
|
2521
2521
|
{
|
|
@@ -2546,25 +2546,23 @@
|
|
|
2546
2546
|
{
|
|
2547
2547
|
"type": "stack",
|
|
2548
2548
|
"gap": "lg",
|
|
2549
|
-
"direction": "vertical",
|
|
2550
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
2551
2549
|
"children": [
|
|
2552
2550
|
{
|
|
2553
|
-
"gap": "sm",
|
|
2554
|
-
"direction": "horizontal",
|
|
2555
2551
|
"children": [
|
|
2556
2552
|
{
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2553
|
+
"name": "trending-up",
|
|
2554
|
+
"type": "icon"
|
|
2559
2555
|
},
|
|
2560
2556
|
{
|
|
2561
|
-
"
|
|
2557
|
+
"content": "Progress",
|
|
2562
2558
|
"variant": "h2",
|
|
2563
|
-
"
|
|
2559
|
+
"type": "typography"
|
|
2564
2560
|
}
|
|
2565
2561
|
],
|
|
2562
|
+
"gap": "sm",
|
|
2563
|
+
"align": "center",
|
|
2566
2564
|
"type": "stack",
|
|
2567
|
-
"
|
|
2565
|
+
"direction": "horizontal"
|
|
2568
2566
|
},
|
|
2569
2567
|
{
|
|
2570
2568
|
"type": "divider"
|
|
@@ -2575,7 +2573,9 @@
|
|
|
2575
2573
|
"type": "divider"
|
|
2576
2574
|
},
|
|
2577
2575
|
"@trait.ProgressBrowseList"
|
|
2578
|
-
]
|
|
2576
|
+
],
|
|
2577
|
+
"direction": "vertical",
|
|
2578
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
2579
2579
|
}
|
|
2580
2580
|
]
|
|
2581
2581
|
]
|
|
@@ -2664,8 +2664,8 @@
|
|
|
2664
2664
|
"Progress",
|
|
2665
2665
|
{
|
|
2666
2666
|
"emit": {
|
|
2667
|
-
"
|
|
2668
|
-
"
|
|
2667
|
+
"failure": "ProgressLoadFailed",
|
|
2668
|
+
"success": "ProgressLoaded"
|
|
2669
2669
|
}
|
|
2670
2670
|
}
|
|
2671
2671
|
],
|
|
@@ -2675,43 +2675,43 @@
|
|
|
2675
2675
|
{
|
|
2676
2676
|
"type": "simple-grid",
|
|
2677
2677
|
"gap": "md",
|
|
2678
|
-
"cols": 4.0,
|
|
2679
2678
|
"children": [
|
|
2680
2679
|
{
|
|
2680
|
+
"type": "stat-display",
|
|
2681
2681
|
"variant": "success",
|
|
2682
|
-
"format": "percent",
|
|
2683
|
-
"label": "Completion %",
|
|
2684
2682
|
"value": 0.0,
|
|
2685
|
-
"
|
|
2686
|
-
"icon": "check-circle"
|
|
2683
|
+
"format": "percent",
|
|
2684
|
+
"icon": "check-circle",
|
|
2685
|
+
"label": "Completion %"
|
|
2687
2686
|
},
|
|
2688
2687
|
{
|
|
2689
|
-
"
|
|
2690
|
-
"value": 0.0,
|
|
2688
|
+
"suffix": "h",
|
|
2691
2689
|
"label": "Time Spent",
|
|
2692
|
-
"format": "number",
|
|
2693
2690
|
"variant": "info",
|
|
2691
|
+
"icon": "clock",
|
|
2694
2692
|
"type": "stat-display",
|
|
2695
|
-
"
|
|
2693
|
+
"value": 0.0,
|
|
2694
|
+
"format": "number"
|
|
2696
2695
|
},
|
|
2697
2696
|
{
|
|
2698
|
-
"type": "stat-display",
|
|
2699
|
-
"value": 0.0,
|
|
2700
2697
|
"variant": "default",
|
|
2701
|
-
"
|
|
2698
|
+
"value": 0.0,
|
|
2699
|
+
"label": "Lessons Remaining",
|
|
2700
|
+
"type": "stat-display",
|
|
2702
2701
|
"icon": "list",
|
|
2703
|
-
"
|
|
2702
|
+
"format": "number"
|
|
2704
2703
|
},
|
|
2705
2704
|
{
|
|
2706
|
-
"
|
|
2707
|
-
"label": "Streak",
|
|
2705
|
+
"format": "number",
|
|
2708
2706
|
"suffix": "d",
|
|
2709
|
-
"
|
|
2707
|
+
"value": 0.0,
|
|
2710
2708
|
"type": "stat-display",
|
|
2711
|
-
"
|
|
2712
|
-
"
|
|
2709
|
+
"label": "Streak",
|
|
2710
|
+
"icon": "flame",
|
|
2711
|
+
"variant": "warning"
|
|
2713
2712
|
}
|
|
2714
|
-
]
|
|
2713
|
+
],
|
|
2714
|
+
"cols": 4.0
|
|
2715
2715
|
}
|
|
2716
2716
|
]
|
|
2717
2717
|
]
|
|
@@ -2725,45 +2725,45 @@
|
|
|
2725
2725
|
"render-ui",
|
|
2726
2726
|
"main",
|
|
2727
2727
|
{
|
|
2728
|
+
"type": "simple-grid",
|
|
2729
|
+
"gap": "md",
|
|
2730
|
+
"cols": 4.0,
|
|
2728
2731
|
"children": [
|
|
2729
2732
|
{
|
|
2733
|
+
"type": "stat-display",
|
|
2730
2734
|
"variant": "success",
|
|
2731
|
-
"value": 0.0,
|
|
2732
|
-
"format": "percent",
|
|
2733
2735
|
"icon": "check-circle",
|
|
2734
|
-
"
|
|
2735
|
-
"label": "Completion %"
|
|
2736
|
+
"format": "percent",
|
|
2737
|
+
"label": "Completion %",
|
|
2738
|
+
"value": 0.0
|
|
2736
2739
|
},
|
|
2737
2740
|
{
|
|
2738
|
-
"variant": "info",
|
|
2739
2741
|
"suffix": "h",
|
|
2740
|
-
"label": "Time Spent",
|
|
2741
|
-
"format": "number",
|
|
2742
2742
|
"type": "stat-display",
|
|
2743
2743
|
"value": 0.0,
|
|
2744
|
-
"
|
|
2744
|
+
"label": "Time Spent",
|
|
2745
|
+
"icon": "clock",
|
|
2746
|
+
"variant": "info",
|
|
2747
|
+
"format": "number"
|
|
2745
2748
|
},
|
|
2746
2749
|
{
|
|
2747
|
-
"type": "stat-display",
|
|
2748
|
-
"icon": "list",
|
|
2749
2750
|
"value": 0.0,
|
|
2751
|
+
"label": "Lessons Remaining",
|
|
2752
|
+
"icon": "list",
|
|
2753
|
+
"type": "stat-display",
|
|
2750
2754
|
"variant": "default",
|
|
2751
|
-
"format": "number"
|
|
2752
|
-
"label": "Lessons Remaining"
|
|
2755
|
+
"format": "number"
|
|
2753
2756
|
},
|
|
2754
2757
|
{
|
|
2755
|
-
"variant": "warning",
|
|
2756
|
-
"type": "stat-display",
|
|
2757
2758
|
"label": "Streak",
|
|
2758
|
-
"
|
|
2759
|
-
"
|
|
2759
|
+
"type": "stat-display",
|
|
2760
|
+
"value": 0.0,
|
|
2761
|
+
"variant": "warning",
|
|
2760
2762
|
"format": "number",
|
|
2761
|
-
"
|
|
2763
|
+
"icon": "flame",
|
|
2764
|
+
"suffix": "d"
|
|
2762
2765
|
}
|
|
2763
|
-
]
|
|
2764
|
-
"gap": "md",
|
|
2765
|
-
"type": "simple-grid",
|
|
2766
|
-
"cols": 4.0
|
|
2766
|
+
]
|
|
2767
2767
|
}
|
|
2768
2768
|
]
|
|
2769
2769
|
]
|
|
@@ -2861,13 +2861,13 @@
|
|
|
2861
2861
|
"render-ui",
|
|
2862
2862
|
"main",
|
|
2863
2863
|
{
|
|
2864
|
-
"
|
|
2864
|
+
"showLegend": true,
|
|
2865
|
+
"title": "Progress over time",
|
|
2865
2866
|
"subtitle": "Average completion % per week",
|
|
2867
|
+
"type": "chart",
|
|
2866
2868
|
"chartType": "line",
|
|
2867
|
-
"height": 280.0,
|
|
2868
|
-
"showLegend": true,
|
|
2869
2869
|
"data": [],
|
|
2870
|
-
"
|
|
2870
|
+
"height": 280.0
|
|
2871
2871
|
}
|
|
2872
2872
|
]
|
|
2873
2873
|
]
|
|
@@ -2882,12 +2882,12 @@
|
|
|
2882
2882
|
"main",
|
|
2883
2883
|
{
|
|
2884
2884
|
"type": "chart",
|
|
2885
|
-
"title": "Progress over time",
|
|
2886
|
-
"chartType": "line",
|
|
2887
2885
|
"subtitle": "Average completion % per week",
|
|
2888
|
-
"height": 280.0,
|
|
2889
2886
|
"data": "@payload.data",
|
|
2890
|
-
"
|
|
2887
|
+
"height": 280.0,
|
|
2888
|
+
"title": "Progress over time",
|
|
2889
|
+
"showLegend": true,
|
|
2890
|
+
"chartType": "line"
|
|
2891
2891
|
}
|
|
2892
2892
|
]
|
|
2893
2893
|
]
|
|
@@ -2901,38 +2901,38 @@
|
|
|
2901
2901
|
"name": "ProgressBrowseList",
|
|
2902
2902
|
"linkedEntity": "Progress",
|
|
2903
2903
|
"config": {
|
|
2904
|
-
"gap": "sm",
|
|
2905
|
-
"cols": 1.0,
|
|
2906
2904
|
"fields": [
|
|
2907
2905
|
{
|
|
2908
|
-
"icon": "book-open",
|
|
2909
|
-
"name": "courseName",
|
|
2910
2906
|
"label": "Course",
|
|
2911
|
-
"
|
|
2907
|
+
"icon": "book-open",
|
|
2908
|
+
"variant": "h4",
|
|
2909
|
+
"name": "courseName"
|
|
2912
2910
|
},
|
|
2913
2911
|
{
|
|
2914
|
-
"format": "percent",
|
|
2915
2912
|
"label": "Completion",
|
|
2916
2913
|
"variant": "badge",
|
|
2914
|
+
"format": "percent",
|
|
2917
2915
|
"name": "completionPct"
|
|
2918
2916
|
},
|
|
2919
2917
|
{
|
|
2920
|
-
"variant": "body",
|
|
2921
2918
|
"name": "lessonsCompleted",
|
|
2922
|
-
"label": "Lessons Completed"
|
|
2919
|
+
"label": "Lessons Completed",
|
|
2920
|
+
"variant": "body"
|
|
2923
2921
|
},
|
|
2924
2922
|
{
|
|
2925
|
-
"name": "totalLessons",
|
|
2926
2923
|
"variant": "body",
|
|
2924
|
+
"name": "totalLessons",
|
|
2927
2925
|
"label": "Total Lessons"
|
|
2928
2926
|
},
|
|
2929
2927
|
{
|
|
2930
|
-
"name": "lastActivity",
|
|
2931
|
-
"label": "Last Activity",
|
|
2932
2928
|
"variant": "caption",
|
|
2933
|
-
"format": "date"
|
|
2929
|
+
"format": "date",
|
|
2930
|
+
"label": "Last Activity",
|
|
2931
|
+
"name": "lastActivity"
|
|
2934
2932
|
}
|
|
2935
2933
|
],
|
|
2934
|
+
"cols": 1.0,
|
|
2935
|
+
"gap": "sm",
|
|
2936
2936
|
"itemActions": []
|
|
2937
2937
|
},
|
|
2938
2938
|
"listens": [
|