@almadar/std 14.5.1 → 14.6.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/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/dist/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/dist/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/dist/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-cms",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "CMS: articles, media assets, categories. Pick for editorial/publishing platforms.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ArticleOrbital",
|
|
@@ -66,20 +66,23 @@
|
|
|
66
66
|
"ref": "AppShell.traits.AppLayout",
|
|
67
67
|
"name": "CmsArticleAppLayout",
|
|
68
68
|
"config": {
|
|
69
|
+
"contentTrait": "@trait.ArticleBrowse",
|
|
70
|
+
"appName": "CmsApp",
|
|
71
|
+
"notifications": [],
|
|
69
72
|
"navItems": [
|
|
70
73
|
{
|
|
71
|
-
"icon": "layout-grid",
|
|
72
74
|
"href": "/cms-hub",
|
|
73
|
-
"label": "CMS Hub"
|
|
75
|
+
"label": "CMS Hub",
|
|
76
|
+
"icon": "layout-grid"
|
|
74
77
|
},
|
|
75
78
|
{
|
|
76
79
|
"label": "Articles",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
80
|
+
"icon": "file-text",
|
|
81
|
+
"href": "/articles"
|
|
79
82
|
},
|
|
80
83
|
{
|
|
81
|
-
"href": "/media",
|
|
82
84
|
"label": "Media",
|
|
85
|
+
"href": "/media",
|
|
83
86
|
"icon": "image"
|
|
84
87
|
},
|
|
85
88
|
{
|
|
@@ -88,11 +91,8 @@
|
|
|
88
91
|
"href": "/categories"
|
|
89
92
|
}
|
|
90
93
|
],
|
|
91
|
-
"
|
|
92
|
-
"notificationClickEvent": "NOTIFICATIONS_OPEN"
|
|
93
|
-
"contentTrait": "@trait.ArticleBrowse",
|
|
94
|
-
"appName": "CmsApp",
|
|
95
|
-
"searchEvent": "ARTICLE_SEARCH"
|
|
94
|
+
"searchEvent": "ARTICLE_SEARCH",
|
|
95
|
+
"notificationClickEvent": "NOTIFICATIONS_OPEN"
|
|
96
96
|
},
|
|
97
97
|
"events": {
|
|
98
98
|
"NOTIFY_CLICK": "NOTIFICATIONS_OPEN",
|
|
@@ -792,8 +792,8 @@
|
|
|
792
792
|
"Article",
|
|
793
793
|
{
|
|
794
794
|
"emit": {
|
|
795
|
-
"
|
|
796
|
-
"
|
|
795
|
+
"failure": "ArticleLoadFailed",
|
|
796
|
+
"success": "ArticleLoaded"
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
],
|
|
@@ -801,22 +801,22 @@
|
|
|
801
801
|
"render-ui",
|
|
802
802
|
"main",
|
|
803
803
|
{
|
|
804
|
-
"type": "stack",
|
|
805
804
|
"gap": "md",
|
|
805
|
+
"className": "py-12",
|
|
806
806
|
"align": "center",
|
|
807
|
+
"type": "stack",
|
|
808
|
+
"direction": "vertical",
|
|
807
809
|
"children": [
|
|
808
810
|
{
|
|
809
811
|
"type": "spinner"
|
|
810
812
|
},
|
|
811
813
|
{
|
|
812
|
-
"color": "muted",
|
|
813
|
-
"content": "Loading…",
|
|
814
814
|
"type": "typography",
|
|
815
|
-
"variant": "caption"
|
|
815
|
+
"variant": "caption",
|
|
816
|
+
"color": "muted",
|
|
817
|
+
"content": "Loading…"
|
|
816
818
|
}
|
|
817
|
-
]
|
|
818
|
-
"direction": "vertical",
|
|
819
|
-
"className": "py-12"
|
|
819
|
+
]
|
|
820
820
|
}
|
|
821
821
|
]
|
|
822
822
|
]
|
|
@@ -840,22 +840,22 @@
|
|
|
840
840
|
"render-ui",
|
|
841
841
|
"main",
|
|
842
842
|
{
|
|
843
|
-
"direction": "vertical",
|
|
844
843
|
"type": "stack",
|
|
845
|
-
"
|
|
844
|
+
"direction": "vertical",
|
|
845
|
+
"className": "py-12",
|
|
846
|
+
"gap": "md",
|
|
846
847
|
"children": [
|
|
847
848
|
{
|
|
848
849
|
"type": "spinner"
|
|
849
850
|
},
|
|
850
851
|
{
|
|
851
852
|
"content": "Searching…",
|
|
852
|
-
"
|
|
853
|
+
"type": "typography",
|
|
853
854
|
"variant": "caption",
|
|
854
|
-
"
|
|
855
|
+
"color": "muted"
|
|
855
856
|
}
|
|
856
857
|
],
|
|
857
|
-
"
|
|
858
|
-
"className": "py-12"
|
|
858
|
+
"align": "center"
|
|
859
859
|
}
|
|
860
860
|
]
|
|
861
861
|
]
|
|
@@ -869,34 +869,34 @@
|
|
|
869
869
|
"render-ui",
|
|
870
870
|
"main",
|
|
871
871
|
{
|
|
872
|
+
"direction": "vertical",
|
|
873
|
+
"gap": "md",
|
|
872
874
|
"className": "py-8",
|
|
873
875
|
"type": "stack",
|
|
874
|
-
"
|
|
876
|
+
"align": "center",
|
|
875
877
|
"children": [
|
|
876
878
|
{
|
|
877
879
|
"name": "bell",
|
|
878
880
|
"type": "icon"
|
|
879
881
|
},
|
|
880
882
|
{
|
|
881
|
-
"type": "typography",
|
|
882
883
|
"content": "No notifications",
|
|
883
|
-
"variant": "h3"
|
|
884
|
+
"variant": "h3",
|
|
885
|
+
"type": "typography"
|
|
884
886
|
},
|
|
885
887
|
{
|
|
886
|
-
"
|
|
888
|
+
"content": "You're all caught up.",
|
|
887
889
|
"type": "typography",
|
|
888
|
-
"
|
|
889
|
-
"
|
|
890
|
+
"variant": "caption",
|
|
891
|
+
"color": "muted"
|
|
890
892
|
},
|
|
891
893
|
{
|
|
892
|
-
"label": "Back to articles",
|
|
893
894
|
"type": "button",
|
|
895
|
+
"label": "Back to articles",
|
|
894
896
|
"action": "INIT",
|
|
895
897
|
"variant": "ghost"
|
|
896
898
|
}
|
|
897
|
-
]
|
|
898
|
-
"gap": "md",
|
|
899
|
-
"align": "center"
|
|
899
|
+
]
|
|
900
900
|
}
|
|
901
901
|
]
|
|
902
902
|
]
|
|
@@ -910,102 +910,102 @@
|
|
|
910
910
|
"render-ui",
|
|
911
911
|
"main",
|
|
912
912
|
{
|
|
913
|
-
"
|
|
914
|
-
"direction": "vertical",
|
|
913
|
+
"gap": "lg",
|
|
915
914
|
"children": [
|
|
916
915
|
{
|
|
916
|
+
"direction": "horizontal",
|
|
917
|
+
"gap": "md",
|
|
917
918
|
"children": [
|
|
918
919
|
{
|
|
919
|
-
"
|
|
920
|
+
"type": "stack",
|
|
920
921
|
"align": "center",
|
|
921
922
|
"direction": "horizontal",
|
|
923
|
+
"gap": "sm",
|
|
922
924
|
"children": [
|
|
923
925
|
{
|
|
924
926
|
"type": "icon",
|
|
925
927
|
"name": "file-text"
|
|
926
928
|
},
|
|
927
929
|
{
|
|
930
|
+
"content": "Articles",
|
|
928
931
|
"type": "typography",
|
|
929
|
-
"variant": "h2"
|
|
930
|
-
"content": "Articles"
|
|
932
|
+
"variant": "h2"
|
|
931
933
|
}
|
|
932
|
-
]
|
|
933
|
-
"type": "stack"
|
|
934
|
+
]
|
|
934
935
|
},
|
|
935
936
|
{
|
|
937
|
+
"direction": "horizontal",
|
|
936
938
|
"type": "stack",
|
|
937
939
|
"children": [
|
|
938
940
|
{
|
|
939
|
-
"action": "CREATE",
|
|
940
941
|
"type": "button",
|
|
942
|
+
"icon": "plus",
|
|
941
943
|
"label": "Create Article",
|
|
942
944
|
"variant": "primary",
|
|
943
|
-
"
|
|
945
|
+
"action": "CREATE"
|
|
944
946
|
}
|
|
945
947
|
],
|
|
946
|
-
"gap": "sm"
|
|
947
|
-
"direction": "horizontal"
|
|
948
|
+
"gap": "sm"
|
|
948
949
|
}
|
|
949
950
|
],
|
|
950
|
-
"direction": "horizontal",
|
|
951
951
|
"type": "stack",
|
|
952
|
-
"
|
|
953
|
-
"justify": "between"
|
|
954
|
-
"align": "center"
|
|
952
|
+
"align": "center",
|
|
953
|
+
"justify": "between"
|
|
955
954
|
},
|
|
956
955
|
{
|
|
957
956
|
"type": "divider"
|
|
958
957
|
},
|
|
959
958
|
{
|
|
960
|
-
"variant": "card",
|
|
961
959
|
"itemActions": [
|
|
962
960
|
{
|
|
963
|
-
"event": "VIEW",
|
|
964
961
|
"variant": "ghost",
|
|
962
|
+
"event": "VIEW",
|
|
965
963
|
"label": "View"
|
|
966
964
|
},
|
|
967
965
|
{
|
|
966
|
+
"variant": "ghost",
|
|
968
967
|
"label": "Edit",
|
|
969
|
-
"event": "EDIT"
|
|
970
|
-
"variant": "ghost"
|
|
968
|
+
"event": "EDIT"
|
|
971
969
|
},
|
|
972
970
|
{
|
|
973
|
-
"label": "Delete",
|
|
974
971
|
"event": "DELETE",
|
|
972
|
+
"label": "Delete",
|
|
975
973
|
"variant": "danger"
|
|
976
974
|
}
|
|
977
975
|
],
|
|
978
|
-
"type": "data-list",
|
|
979
976
|
"gap": "sm",
|
|
980
|
-
"entity": "@payload.data",
|
|
981
977
|
"fields": [
|
|
982
978
|
{
|
|
979
|
+
"name": "title",
|
|
983
980
|
"icon": "file-text",
|
|
984
|
-
"variant": "h3"
|
|
985
|
-
"name": "title"
|
|
981
|
+
"variant": "h3"
|
|
986
982
|
},
|
|
987
983
|
{
|
|
988
|
-
"
|
|
989
|
-
"
|
|
984
|
+
"name": "status",
|
|
985
|
+
"variant": "badge"
|
|
990
986
|
},
|
|
991
987
|
{
|
|
992
|
-
"
|
|
993
|
-
"
|
|
988
|
+
"variant": "body",
|
|
989
|
+
"name": "author"
|
|
994
990
|
},
|
|
995
991
|
{
|
|
996
992
|
"name": "slug",
|
|
997
993
|
"variant": "caption"
|
|
998
994
|
},
|
|
999
995
|
{
|
|
996
|
+
"format": "date",
|
|
1000
997
|
"label": "Published",
|
|
1001
998
|
"name": "publishedAt",
|
|
1002
|
-
"format": "date",
|
|
1003
999
|
"variant": "caption"
|
|
1004
1000
|
}
|
|
1005
|
-
]
|
|
1001
|
+
],
|
|
1002
|
+
"variant": "card",
|
|
1003
|
+
"type": "data-list",
|
|
1004
|
+
"entity": "@payload.data"
|
|
1006
1005
|
}
|
|
1007
1006
|
],
|
|
1008
|
-
"
|
|
1007
|
+
"type": "stack",
|
|
1008
|
+
"direction": "vertical"
|
|
1009
1009
|
}
|
|
1010
1010
|
]
|
|
1011
1011
|
]
|
|
@@ -1019,36 +1019,36 @@
|
|
|
1019
1019
|
"render-ui",
|
|
1020
1020
|
"main",
|
|
1021
1021
|
{
|
|
1022
|
-
"
|
|
1022
|
+
"direction": "vertical",
|
|
1023
|
+
"align": "center",
|
|
1023
1024
|
"children": [
|
|
1024
1025
|
{
|
|
1025
|
-
"type": "icon",
|
|
1026
1026
|
"color": "destructive",
|
|
1027
|
-
"name": "alert-triangle"
|
|
1027
|
+
"name": "alert-triangle",
|
|
1028
|
+
"type": "icon"
|
|
1028
1029
|
},
|
|
1029
1030
|
{
|
|
1030
|
-
"
|
|
1031
|
+
"variant": "h3",
|
|
1031
1032
|
"content": "Failed to load article",
|
|
1032
|
-
"
|
|
1033
|
+
"type": "typography"
|
|
1033
1034
|
},
|
|
1034
1035
|
{
|
|
1035
|
-
"color": "muted",
|
|
1036
1036
|
"type": "typography",
|
|
1037
|
+
"color": "muted",
|
|
1037
1038
|
"variant": "body",
|
|
1038
1039
|
"content": "@payload.error"
|
|
1039
1040
|
},
|
|
1040
1041
|
{
|
|
1041
|
-
"type": "button",
|
|
1042
|
-
"label": "Retry",
|
|
1043
1042
|
"action": "INIT",
|
|
1043
|
+
"variant": "primary",
|
|
1044
|
+
"label": "Retry",
|
|
1044
1045
|
"icon": "rotate-ccw",
|
|
1045
|
-
"
|
|
1046
|
+
"type": "button"
|
|
1046
1047
|
}
|
|
1047
1048
|
],
|
|
1048
|
-
"
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1051
|
-
"type": "stack"
|
|
1049
|
+
"type": "stack",
|
|
1050
|
+
"className": "py-12",
|
|
1051
|
+
"gap": "md"
|
|
1052
1052
|
}
|
|
1053
1053
|
]
|
|
1054
1054
|
]
|
|
@@ -1258,29 +1258,31 @@
|
|
|
1258
1258
|
"modal",
|
|
1259
1259
|
{
|
|
1260
1260
|
"type": "stack",
|
|
1261
|
-
"gap": "md",
|
|
1262
1261
|
"direction": "vertical",
|
|
1262
|
+
"gap": "md",
|
|
1263
1263
|
"children": [
|
|
1264
1264
|
{
|
|
1265
|
+
"type": "stack",
|
|
1266
|
+
"gap": "sm",
|
|
1267
|
+
"direction": "horizontal",
|
|
1265
1268
|
"children": [
|
|
1266
1269
|
{
|
|
1267
1270
|
"name": "plus-circle",
|
|
1268
1271
|
"type": "icon"
|
|
1269
1272
|
},
|
|
1270
1273
|
{
|
|
1274
|
+
"content": "Create Article",
|
|
1271
1275
|
"variant": "h3",
|
|
1272
|
-
"type": "typography"
|
|
1273
|
-
"content": "Create Article"
|
|
1276
|
+
"type": "typography"
|
|
1274
1277
|
}
|
|
1275
|
-
]
|
|
1276
|
-
"gap": "sm",
|
|
1277
|
-
"type": "stack",
|
|
1278
|
-
"direction": "horizontal"
|
|
1278
|
+
]
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
1281
|
"type": "divider"
|
|
1282
1282
|
},
|
|
1283
1283
|
{
|
|
1284
|
+
"type": "form-section",
|
|
1285
|
+
"submitEvent": "SAVE",
|
|
1284
1286
|
"fields": [
|
|
1285
1287
|
"title",
|
|
1286
1288
|
"slug",
|
|
@@ -1290,9 +1292,7 @@
|
|
|
1290
1292
|
"publishedAt"
|
|
1291
1293
|
],
|
|
1292
1294
|
"mode": "create",
|
|
1293
|
-
"cancelEvent": "CLOSE"
|
|
1294
|
-
"submitEvent": "SAVE",
|
|
1295
|
-
"type": "form-section"
|
|
1295
|
+
"cancelEvent": "CLOSE"
|
|
1296
1296
|
}
|
|
1297
1297
|
]
|
|
1298
1298
|
}
|
|
@@ -1335,8 +1335,8 @@
|
|
|
1335
1335
|
"@payload.data",
|
|
1336
1336
|
{
|
|
1337
1337
|
"emit": {
|
|
1338
|
-
"
|
|
1339
|
-
"
|
|
1338
|
+
"success": "ArticleSaved",
|
|
1339
|
+
"failure": "ArticleSaveFailed"
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
],
|
|
@@ -1571,11 +1571,11 @@
|
|
|
1571
1571
|
"fetch",
|
|
1572
1572
|
"Article",
|
|
1573
1573
|
{
|
|
1574
|
-
"id": "@payload.id",
|
|
1575
1574
|
"emit": {
|
|
1576
|
-
"
|
|
1577
|
-
"
|
|
1578
|
-
}
|
|
1575
|
+
"success": "ArticleLoaded",
|
|
1576
|
+
"failure": "ArticleLoadFailed"
|
|
1577
|
+
},
|
|
1578
|
+
"id": "@payload.id"
|
|
1579
1579
|
}
|
|
1580
1580
|
],
|
|
1581
1581
|
[
|
|
@@ -1583,30 +1583,30 @@
|
|
|
1583
1583
|
"modal",
|
|
1584
1584
|
{
|
|
1585
1585
|
"gap": "md",
|
|
1586
|
-
"direction": "vertical",
|
|
1587
|
-
"type": "stack",
|
|
1588
1586
|
"children": [
|
|
1589
1587
|
{
|
|
1590
|
-
"gap": "sm",
|
|
1591
1588
|
"direction": "horizontal",
|
|
1592
1589
|
"children": [
|
|
1593
1590
|
{
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1591
|
+
"type": "icon",
|
|
1592
|
+
"name": "edit"
|
|
1596
1593
|
},
|
|
1597
1594
|
{
|
|
1598
|
-
"content": "Edit Article",
|
|
1599
1595
|
"type": "typography",
|
|
1600
|
-
"variant": "h3"
|
|
1596
|
+
"variant": "h3",
|
|
1597
|
+
"content": "Edit Article"
|
|
1601
1598
|
}
|
|
1602
1599
|
],
|
|
1600
|
+
"gap": "sm",
|
|
1603
1601
|
"type": "stack"
|
|
1604
1602
|
},
|
|
1605
1603
|
{
|
|
1606
1604
|
"type": "divider"
|
|
1607
1605
|
},
|
|
1608
1606
|
{
|
|
1609
|
-
"
|
|
1607
|
+
"submitEvent": "SAVE",
|
|
1608
|
+
"cancelEvent": "CLOSE",
|
|
1609
|
+
"entity": "@payload.row",
|
|
1610
1610
|
"fields": [
|
|
1611
1611
|
"title",
|
|
1612
1612
|
"slug",
|
|
@@ -1615,12 +1615,12 @@
|
|
|
1615
1615
|
"status",
|
|
1616
1616
|
"publishedAt"
|
|
1617
1617
|
],
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1620
|
-
"entity": "@payload.row",
|
|
1621
|
-
"submitEvent": "SAVE"
|
|
1618
|
+
"type": "form-section",
|
|
1619
|
+
"mode": "edit"
|
|
1622
1620
|
}
|
|
1623
|
-
]
|
|
1621
|
+
],
|
|
1622
|
+
"direction": "vertical",
|
|
1623
|
+
"type": "stack"
|
|
1624
1624
|
}
|
|
1625
1625
|
]
|
|
1626
1626
|
]
|
|
@@ -1824,8 +1824,8 @@
|
|
|
1824
1824
|
"Article",
|
|
1825
1825
|
{
|
|
1826
1826
|
"emit": {
|
|
1827
|
-
"
|
|
1828
|
-
"
|
|
1827
|
+
"success": "ArticleLoaded",
|
|
1828
|
+
"failure": "ArticleLoadFailed"
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
1831
|
]
|
|
@@ -1870,41 +1870,44 @@
|
|
|
1870
1870
|
"fetch",
|
|
1871
1871
|
"Article",
|
|
1872
1872
|
{
|
|
1873
|
+
"id": "@payload.id",
|
|
1873
1874
|
"emit": {
|
|
1874
|
-
"
|
|
1875
|
-
"
|
|
1876
|
-
}
|
|
1877
|
-
"id": "@payload.id"
|
|
1875
|
+
"failure": "ArticleLoadFailed",
|
|
1876
|
+
"success": "ArticleLoaded"
|
|
1877
|
+
}
|
|
1878
1878
|
}
|
|
1879
1879
|
],
|
|
1880
1880
|
[
|
|
1881
1881
|
"render-ui",
|
|
1882
1882
|
"modal",
|
|
1883
1883
|
{
|
|
1884
|
-
"
|
|
1884
|
+
"gap": "md",
|
|
1885
|
+
"direction": "vertical",
|
|
1885
1886
|
"children": [
|
|
1886
1887
|
{
|
|
1887
1888
|
"direction": "horizontal",
|
|
1888
|
-
"
|
|
1889
|
+
"gap": "sm",
|
|
1889
1890
|
"align": "center",
|
|
1890
1891
|
"children": [
|
|
1891
1892
|
{
|
|
1892
|
-
"
|
|
1893
|
-
"
|
|
1893
|
+
"name": "eye",
|
|
1894
|
+
"type": "icon"
|
|
1894
1895
|
},
|
|
1895
1896
|
{
|
|
1896
|
-
"content": "@entity.title",
|
|
1897
1897
|
"type": "typography",
|
|
1898
|
-
"variant": "h3"
|
|
1898
|
+
"variant": "h3",
|
|
1899
|
+
"content": "@entity.title"
|
|
1899
1900
|
}
|
|
1900
1901
|
],
|
|
1901
|
-
"
|
|
1902
|
+
"type": "stack"
|
|
1902
1903
|
},
|
|
1903
1904
|
{
|
|
1904
1905
|
"type": "divider"
|
|
1905
1906
|
},
|
|
1906
1907
|
{
|
|
1907
1908
|
"type": "stack",
|
|
1909
|
+
"direction": "horizontal",
|
|
1910
|
+
"gap": "md",
|
|
1908
1911
|
"children": [
|
|
1909
1912
|
{
|
|
1910
1913
|
"type": "typography",
|
|
@@ -1913,32 +1916,29 @@
|
|
|
1913
1916
|
},
|
|
1914
1917
|
{
|
|
1915
1918
|
"type": "typography",
|
|
1916
|
-
"
|
|
1917
|
-
"
|
|
1919
|
+
"variant": "body",
|
|
1920
|
+
"content": "@entity.title"
|
|
1918
1921
|
}
|
|
1919
|
-
]
|
|
1920
|
-
"direction": "horizontal",
|
|
1921
|
-
"gap": "md"
|
|
1922
|
+
]
|
|
1922
1923
|
},
|
|
1923
1924
|
{
|
|
1924
|
-
"gap": "md",
|
|
1925
1925
|
"children": [
|
|
1926
1926
|
{
|
|
1927
|
-
"variant": "caption",
|
|
1928
1927
|
"type": "typography",
|
|
1929
|
-
"content": "Slug"
|
|
1928
|
+
"content": "Slug",
|
|
1929
|
+
"variant": "caption"
|
|
1930
1930
|
},
|
|
1931
1931
|
{
|
|
1932
|
-
"content": "@entity.slug",
|
|
1933
1932
|
"type": "typography",
|
|
1934
|
-
"variant": "body"
|
|
1933
|
+
"variant": "body",
|
|
1934
|
+
"content": "@entity.slug"
|
|
1935
1935
|
}
|
|
1936
1936
|
],
|
|
1937
1937
|
"direction": "horizontal",
|
|
1938
|
-
"type": "stack"
|
|
1938
|
+
"type": "stack",
|
|
1939
|
+
"gap": "md"
|
|
1939
1940
|
},
|
|
1940
1941
|
{
|
|
1941
|
-
"type": "stack",
|
|
1942
1942
|
"children": [
|
|
1943
1943
|
{
|
|
1944
1944
|
"content": "Content",
|
|
@@ -1946,92 +1946,92 @@
|
|
|
1946
1946
|
"variant": "caption"
|
|
1947
1947
|
},
|
|
1948
1948
|
{
|
|
1949
|
-
"
|
|
1949
|
+
"type": "typography",
|
|
1950
1950
|
"content": "@entity.content",
|
|
1951
|
-
"
|
|
1951
|
+
"variant": "body"
|
|
1952
1952
|
}
|
|
1953
1953
|
],
|
|
1954
|
-
"
|
|
1955
|
-
"
|
|
1954
|
+
"gap": "md",
|
|
1955
|
+
"type": "stack",
|
|
1956
|
+
"direction": "horizontal"
|
|
1956
1957
|
},
|
|
1957
1958
|
{
|
|
1959
|
+
"gap": "md",
|
|
1958
1960
|
"type": "stack",
|
|
1961
|
+
"direction": "horizontal",
|
|
1959
1962
|
"children": [
|
|
1960
1963
|
{
|
|
1961
|
-
"content": "Author",
|
|
1962
1964
|
"type": "typography",
|
|
1965
|
+
"content": "Author",
|
|
1963
1966
|
"variant": "caption"
|
|
1964
1967
|
},
|
|
1965
1968
|
{
|
|
1966
|
-
"
|
|
1969
|
+
"content": "@entity.author",
|
|
1967
1970
|
"type": "typography",
|
|
1968
|
-
"
|
|
1971
|
+
"variant": "body"
|
|
1969
1972
|
}
|
|
1970
|
-
]
|
|
1971
|
-
"direction": "horizontal",
|
|
1972
|
-
"gap": "md"
|
|
1973
|
+
]
|
|
1973
1974
|
},
|
|
1974
1975
|
{
|
|
1975
|
-
"direction": "horizontal",
|
|
1976
1976
|
"gap": "md",
|
|
1977
|
-
"
|
|
1977
|
+
"direction": "horizontal",
|
|
1978
1978
|
"children": [
|
|
1979
1979
|
{
|
|
1980
|
+
"content": "Status",
|
|
1980
1981
|
"type": "typography",
|
|
1981
|
-
"variant": "caption"
|
|
1982
|
-
"content": "Status"
|
|
1982
|
+
"variant": "caption"
|
|
1983
1983
|
},
|
|
1984
1984
|
{
|
|
1985
|
+
"variant": "body",
|
|
1985
1986
|
"content": "@entity.status",
|
|
1986
|
-
"type": "typography"
|
|
1987
|
-
"variant": "body"
|
|
1987
|
+
"type": "typography"
|
|
1988
1988
|
}
|
|
1989
|
-
]
|
|
1989
|
+
],
|
|
1990
|
+
"type": "stack"
|
|
1990
1991
|
},
|
|
1991
1992
|
{
|
|
1992
|
-
"type": "stack",
|
|
1993
|
-
"gap": "md",
|
|
1994
1993
|
"children": [
|
|
1995
1994
|
{
|
|
1996
|
-
"type": "typography",
|
|
1997
1995
|
"variant": "caption",
|
|
1998
|
-
"content": "Published At"
|
|
1996
|
+
"content": "Published At",
|
|
1997
|
+
"type": "typography"
|
|
1999
1998
|
},
|
|
2000
1999
|
{
|
|
2001
|
-
"
|
|
2000
|
+
"content": "@entity.publishedAt",
|
|
2002
2001
|
"type": "typography",
|
|
2003
|
-
"
|
|
2002
|
+
"variant": "body"
|
|
2004
2003
|
}
|
|
2005
2004
|
],
|
|
2006
|
-
"
|
|
2005
|
+
"gap": "md",
|
|
2006
|
+
"direction": "horizontal",
|
|
2007
|
+
"type": "stack"
|
|
2007
2008
|
},
|
|
2008
2009
|
{
|
|
2009
2010
|
"type": "divider"
|
|
2010
2011
|
},
|
|
2011
2012
|
{
|
|
2012
|
-
"justify": "end",
|
|
2013
|
-
"gap": "sm",
|
|
2014
|
-
"direction": "horizontal",
|
|
2015
2013
|
"type": "stack",
|
|
2014
|
+
"direction": "horizontal",
|
|
2015
|
+
"justify": "end",
|
|
2016
2016
|
"children": [
|
|
2017
2017
|
{
|
|
2018
2018
|
"type": "button",
|
|
2019
|
-
"action": "EDIT",
|
|
2020
2019
|
"label": "Edit",
|
|
2021
2020
|
"variant": "primary",
|
|
2021
|
+
"action": "EDIT",
|
|
2022
2022
|
"icon": "edit"
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
|
-
"
|
|
2026
|
-
"action": "CLOSE",
|
|
2025
|
+
"variant": "ghost",
|
|
2027
2026
|
"type": "button",
|
|
2028
|
-
"
|
|
2027
|
+
"label": "Close",
|
|
2028
|
+
"action": "CLOSE"
|
|
2029
2029
|
}
|
|
2030
|
-
]
|
|
2031
|
-
|
|
2030
|
+
],
|
|
2031
|
+
"gap": "sm"
|
|
2032
|
+
}
|
|
2032
2033
|
],
|
|
2033
|
-
"
|
|
2034
|
-
"direction": "vertical"
|
|
2034
|
+
"type": "stack"
|
|
2035
2035
|
}
|
|
2036
2036
|
]
|
|
2037
2037
|
]
|
|
@@ -2261,8 +2261,8 @@
|
|
|
2261
2261
|
"Article",
|
|
2262
2262
|
{
|
|
2263
2263
|
"emit": {
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2264
|
+
"failure": "ArticleLoadFailed",
|
|
2265
|
+
"success": "ArticleLoaded"
|
|
2266
2266
|
}
|
|
2267
2267
|
}
|
|
2268
2268
|
]
|
|
@@ -2293,13 +2293,11 @@
|
|
|
2293
2293
|
"render-ui",
|
|
2294
2294
|
"modal",
|
|
2295
2295
|
{
|
|
2296
|
-
"type": "stack",
|
|
2297
|
-
"direction": "vertical",
|
|
2298
2296
|
"gap": "md",
|
|
2299
2297
|
"children": [
|
|
2300
2298
|
{
|
|
2301
|
-
"type": "stack",
|
|
2302
2299
|
"align": "center",
|
|
2300
|
+
"type": "stack",
|
|
2303
2301
|
"children": [
|
|
2304
2302
|
{
|
|
2305
2303
|
"type": "icon",
|
|
@@ -2307,43 +2305,45 @@
|
|
|
2307
2305
|
},
|
|
2308
2306
|
{
|
|
2309
2307
|
"content": "Delete Article",
|
|
2310
|
-
"
|
|
2311
|
-
"
|
|
2308
|
+
"variant": "h3",
|
|
2309
|
+
"type": "typography"
|
|
2312
2310
|
}
|
|
2313
2311
|
],
|
|
2314
|
-
"
|
|
2315
|
-
"
|
|
2312
|
+
"gap": "sm",
|
|
2313
|
+
"direction": "horizontal"
|
|
2316
2314
|
},
|
|
2317
2315
|
{
|
|
2318
2316
|
"type": "divider"
|
|
2319
2317
|
},
|
|
2320
2318
|
{
|
|
2321
|
-
"type": "alert",
|
|
2322
2319
|
"variant": "error",
|
|
2323
|
-
"message": "This action cannot be undone."
|
|
2320
|
+
"message": "This action cannot be undone.",
|
|
2321
|
+
"type": "alert"
|
|
2324
2322
|
},
|
|
2325
2323
|
{
|
|
2326
|
-
"direction": "horizontal",
|
|
2327
2324
|
"justify": "end",
|
|
2325
|
+
"direction": "horizontal",
|
|
2328
2326
|
"children": [
|
|
2329
2327
|
{
|
|
2330
|
-
"
|
|
2328
|
+
"type": "button",
|
|
2331
2329
|
"action": "CANCEL",
|
|
2332
2330
|
"variant": "ghost",
|
|
2333
|
-
"
|
|
2331
|
+
"label": "Cancel"
|
|
2334
2332
|
},
|
|
2335
2333
|
{
|
|
2336
2334
|
"label": "Delete",
|
|
2337
|
-
"
|
|
2338
|
-
"type": "button",
|
|
2335
|
+
"variant": "danger",
|
|
2339
2336
|
"icon": "check",
|
|
2340
|
-
"
|
|
2337
|
+
"action": "CONFIRM_DELETE",
|
|
2338
|
+
"type": "button"
|
|
2341
2339
|
}
|
|
2342
2340
|
],
|
|
2343
2341
|
"gap": "sm",
|
|
2344
2342
|
"type": "stack"
|
|
2345
2343
|
}
|
|
2346
|
-
]
|
|
2344
|
+
],
|
|
2345
|
+
"type": "stack",
|
|
2346
|
+
"direction": "vertical"
|
|
2347
2347
|
}
|
|
2348
2348
|
]
|
|
2349
2349
|
]
|
|
@@ -2360,8 +2360,8 @@
|
|
|
2360
2360
|
"@entity.pendingId",
|
|
2361
2361
|
{
|
|
2362
2362
|
"emit": {
|
|
2363
|
-
"
|
|
2364
|
-
"
|
|
2363
|
+
"failure": "ArticleDeleteFailed",
|
|
2364
|
+
"success": "ArticleDeleted"
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
2367
|
],
|
|
@@ -2382,8 +2382,8 @@
|
|
|
2382
2382
|
"Article",
|
|
2383
2383
|
{
|
|
2384
2384
|
"emit": {
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2385
|
+
"success": "ArticleLoaded",
|
|
2386
|
+
"failure": "ArticleLoadFailed"
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
2389
|
],
|
|
@@ -2444,8 +2444,8 @@
|
|
|
2444
2444
|
"Article",
|
|
2445
2445
|
{
|
|
2446
2446
|
"emit": {
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2447
|
+
"failure": "ArticleLoadFailed",
|
|
2448
|
+
"success": "ArticleLoaded"
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
2451
|
]
|
|
@@ -2676,21 +2676,21 @@
|
|
|
2676
2676
|
"render-ui",
|
|
2677
2677
|
"main",
|
|
2678
2678
|
{
|
|
2679
|
-
"
|
|
2679
|
+
"type": "stack",
|
|
2680
|
+
"gap": "md",
|
|
2680
2681
|
"children": [
|
|
2681
2682
|
{
|
|
2682
2683
|
"type": "spinner"
|
|
2683
2684
|
},
|
|
2684
2685
|
{
|
|
2685
|
-
"variant": "caption",
|
|
2686
2686
|
"content": "Loading…",
|
|
2687
|
+
"type": "typography",
|
|
2687
2688
|
"color": "muted",
|
|
2688
|
-
"
|
|
2689
|
+
"variant": "caption"
|
|
2689
2690
|
}
|
|
2690
2691
|
],
|
|
2691
2692
|
"direction": "vertical",
|
|
2692
|
-
"
|
|
2693
|
-
"type": "stack",
|
|
2693
|
+
"align": "center",
|
|
2694
2694
|
"className": "py-12"
|
|
2695
2695
|
}
|
|
2696
2696
|
]
|
|
@@ -2705,120 +2705,120 @@
|
|
|
2705
2705
|
"render-ui",
|
|
2706
2706
|
"main",
|
|
2707
2707
|
{
|
|
2708
|
-
"appName": "CmsApp",
|
|
2709
|
-
"type": "dashboard-layout",
|
|
2710
2708
|
"children": [
|
|
2711
2709
|
{
|
|
2712
|
-
"direction": "vertical",
|
|
2713
2710
|
"gap": "lg",
|
|
2711
|
+
"direction": "vertical",
|
|
2714
2712
|
"type": "stack",
|
|
2715
2713
|
"className": "max-w-5xl mx-auto w-full",
|
|
2716
2714
|
"children": [
|
|
2717
2715
|
{
|
|
2716
|
+
"type": "stack",
|
|
2717
|
+
"align": "center",
|
|
2718
|
+
"gap": "md",
|
|
2719
|
+
"direction": "horizontal",
|
|
2718
2720
|
"justify": "between",
|
|
2719
2721
|
"children": [
|
|
2720
2722
|
{
|
|
2721
|
-
"type": "stack",
|
|
2722
2723
|
"direction": "horizontal",
|
|
2723
2724
|
"children": [
|
|
2724
2725
|
{
|
|
2725
|
-
"
|
|
2726
|
-
"
|
|
2726
|
+
"type": "icon",
|
|
2727
|
+
"name": "image"
|
|
2727
2728
|
},
|
|
2728
2729
|
{
|
|
2729
|
-
"type": "typography",
|
|
2730
2730
|
"content": "Media Library",
|
|
2731
|
-
"variant": "h2"
|
|
2731
|
+
"variant": "h2",
|
|
2732
|
+
"type": "typography"
|
|
2732
2733
|
}
|
|
2733
2734
|
],
|
|
2734
|
-
"
|
|
2735
|
-
"gap": "sm"
|
|
2735
|
+
"type": "stack",
|
|
2736
|
+
"gap": "sm",
|
|
2737
|
+
"align": "center"
|
|
2736
2738
|
},
|
|
2737
2739
|
{
|
|
2740
|
+
"gap": "sm",
|
|
2738
2741
|
"type": "stack",
|
|
2739
2742
|
"children": [
|
|
2740
2743
|
{
|
|
2744
|
+
"label": "Create MediaAsset",
|
|
2741
2745
|
"variant": "primary",
|
|
2742
2746
|
"type": "button",
|
|
2743
|
-
"
|
|
2744
|
-
"action": "CREATE"
|
|
2745
|
-
"icon": "plus"
|
|
2747
|
+
"icon": "plus",
|
|
2748
|
+
"action": "CREATE"
|
|
2746
2749
|
}
|
|
2747
2750
|
],
|
|
2748
|
-
"gap": "sm",
|
|
2749
2751
|
"direction": "horizontal"
|
|
2750
2752
|
}
|
|
2751
|
-
]
|
|
2752
|
-
"type": "stack",
|
|
2753
|
-
"direction": "horizontal",
|
|
2754
|
-
"gap": "md",
|
|
2755
|
-
"align": "center"
|
|
2753
|
+
]
|
|
2756
2754
|
},
|
|
2757
2755
|
{
|
|
2758
2756
|
"type": "divider"
|
|
2759
2757
|
},
|
|
2760
2758
|
{
|
|
2759
|
+
"type": "data-grid",
|
|
2761
2760
|
"fields": [
|
|
2762
2761
|
{
|
|
2763
|
-
"variant": "h3",
|
|
2764
2762
|
"icon": "image",
|
|
2765
|
-
"
|
|
2766
|
-
"
|
|
2763
|
+
"label": "File",
|
|
2764
|
+
"variant": "h3",
|
|
2765
|
+
"name": "fileName"
|
|
2767
2766
|
},
|
|
2768
2767
|
{
|
|
2768
|
+
"variant": "badge",
|
|
2769
2769
|
"label": "Type",
|
|
2770
|
-
"name": "fileType"
|
|
2771
|
-
"variant": "badge"
|
|
2770
|
+
"name": "fileType"
|
|
2772
2771
|
},
|
|
2773
2772
|
{
|
|
2774
|
-
"variant": "body",
|
|
2775
2773
|
"format": "number",
|
|
2774
|
+
"name": "fileSize",
|
|
2776
2775
|
"label": "Size",
|
|
2777
|
-
"
|
|
2776
|
+
"variant": "body"
|
|
2778
2777
|
},
|
|
2779
2778
|
{
|
|
2780
|
-
"
|
|
2779
|
+
"variant": "caption",
|
|
2781
2780
|
"name": "altText",
|
|
2782
|
-
"
|
|
2781
|
+
"label": "Alt Text"
|
|
2783
2782
|
}
|
|
2784
2783
|
],
|
|
2785
2784
|
"cols": 3.0,
|
|
2786
|
-
"type": "data-grid",
|
|
2787
|
-
"entity": "@payload.data",
|
|
2788
2785
|
"gap": "md",
|
|
2789
2786
|
"itemActions": [
|
|
2790
2787
|
{
|
|
2791
|
-
"
|
|
2788
|
+
"event": "VIEW",
|
|
2792
2789
|
"label": "View",
|
|
2793
|
-
"
|
|
2790
|
+
"variant": "ghost"
|
|
2794
2791
|
}
|
|
2795
|
-
]
|
|
2792
|
+
],
|
|
2793
|
+
"entity": "@payload.data"
|
|
2796
2794
|
}
|
|
2797
2795
|
]
|
|
2798
2796
|
}
|
|
2799
2797
|
],
|
|
2800
2798
|
"navItems": [
|
|
2801
2799
|
{
|
|
2802
|
-
"href": "/cms-hub",
|
|
2803
2800
|
"label": "CMS Hub",
|
|
2801
|
+
"href": "/cms-hub",
|
|
2804
2802
|
"icon": "layout-grid"
|
|
2805
2803
|
},
|
|
2806
2804
|
{
|
|
2807
|
-
"href": "/articles",
|
|
2808
2805
|
"label": "Articles",
|
|
2806
|
+
"href": "/articles",
|
|
2809
2807
|
"icon": "file-text"
|
|
2810
2808
|
},
|
|
2811
2809
|
{
|
|
2812
|
-
"label": "Media",
|
|
2813
2810
|
"href": "/media",
|
|
2814
|
-
"icon": "image"
|
|
2811
|
+
"icon": "image",
|
|
2812
|
+
"label": "Media"
|
|
2815
2813
|
},
|
|
2816
2814
|
{
|
|
2815
|
+
"href": "/categories",
|
|
2817
2816
|
"label": "Categories",
|
|
2818
|
-
"icon": "folder"
|
|
2819
|
-
"href": "/categories"
|
|
2817
|
+
"icon": "folder"
|
|
2820
2818
|
}
|
|
2821
|
-
]
|
|
2819
|
+
],
|
|
2820
|
+
"appName": "CmsApp",
|
|
2821
|
+
"type": "dashboard-layout"
|
|
2822
2822
|
}
|
|
2823
2823
|
]
|
|
2824
2824
|
]
|
|
@@ -2832,36 +2832,36 @@
|
|
|
2832
2832
|
"render-ui",
|
|
2833
2833
|
"main",
|
|
2834
2834
|
{
|
|
2835
|
-
"
|
|
2836
|
-
"className": "py-12",
|
|
2837
|
-
"direction": "vertical",
|
|
2838
|
-
"align": "center",
|
|
2835
|
+
"gap": "md",
|
|
2839
2836
|
"children": [
|
|
2840
2837
|
{
|
|
2841
|
-
"
|
|
2838
|
+
"type": "icon",
|
|
2842
2839
|
"name": "alert-triangle",
|
|
2843
|
-
"
|
|
2840
|
+
"color": "destructive"
|
|
2844
2841
|
},
|
|
2845
2842
|
{
|
|
2846
|
-
"type": "typography",
|
|
2847
2843
|
"variant": "h3",
|
|
2844
|
+
"type": "typography",
|
|
2848
2845
|
"content": "Failed to load mediaasset"
|
|
2849
2846
|
},
|
|
2850
2847
|
{
|
|
2851
2848
|
"type": "typography",
|
|
2849
|
+
"variant": "body",
|
|
2852
2850
|
"content": "@payload.error",
|
|
2853
|
-
"color": "muted"
|
|
2854
|
-
"variant": "body"
|
|
2851
|
+
"color": "muted"
|
|
2855
2852
|
},
|
|
2856
2853
|
{
|
|
2857
2854
|
"type": "button",
|
|
2858
|
-
"variant": "primary",
|
|
2859
2855
|
"icon": "rotate-ccw",
|
|
2856
|
+
"label": "Retry",
|
|
2860
2857
|
"action": "INIT",
|
|
2861
|
-
"
|
|
2858
|
+
"variant": "primary"
|
|
2862
2859
|
}
|
|
2863
2860
|
],
|
|
2864
|
-
"
|
|
2861
|
+
"className": "py-12",
|
|
2862
|
+
"type": "stack",
|
|
2863
|
+
"align": "center",
|
|
2864
|
+
"direction": "vertical"
|
|
2865
2865
|
}
|
|
2866
2866
|
]
|
|
2867
2867
|
]
|
|
@@ -3029,8 +3029,8 @@
|
|
|
3029
3029
|
"MediaAsset",
|
|
3030
3030
|
{
|
|
3031
3031
|
"emit": {
|
|
3032
|
-
"
|
|
3033
|
-
"
|
|
3032
|
+
"success": "MediaAssetLoaded",
|
|
3033
|
+
"failure": "MediaAssetLoadFailed"
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
3036
3036
|
]
|
|
@@ -3055,29 +3055,32 @@
|
|
|
3055
3055
|
"render-ui",
|
|
3056
3056
|
"modal",
|
|
3057
3057
|
{
|
|
3058
|
+
"type": "stack",
|
|
3059
|
+
"gap": "md",
|
|
3058
3060
|
"direction": "vertical",
|
|
3059
3061
|
"children": [
|
|
3060
3062
|
{
|
|
3061
|
-
"gap": "sm",
|
|
3062
|
-
"type": "stack",
|
|
3063
|
-
"direction": "horizontal",
|
|
3064
3063
|
"children": [
|
|
3065
3064
|
{
|
|
3066
|
-
"
|
|
3067
|
-
"
|
|
3065
|
+
"name": "plus-circle",
|
|
3066
|
+
"type": "icon"
|
|
3068
3067
|
},
|
|
3069
3068
|
{
|
|
3070
|
-
"type": "typography",
|
|
3071
3069
|
"variant": "h3",
|
|
3070
|
+
"type": "typography",
|
|
3072
3071
|
"content": "New MediaAsset"
|
|
3073
3072
|
}
|
|
3074
|
-
]
|
|
3073
|
+
],
|
|
3074
|
+
"gap": "sm",
|
|
3075
|
+
"type": "stack",
|
|
3076
|
+
"direction": "horizontal"
|
|
3075
3077
|
},
|
|
3076
3078
|
{
|
|
3077
3079
|
"type": "divider"
|
|
3078
3080
|
},
|
|
3079
3081
|
{
|
|
3080
|
-
"
|
|
3082
|
+
"submitEvent": "SAVE",
|
|
3083
|
+
"type": "form-section",
|
|
3081
3084
|
"fields": [
|
|
3082
3085
|
"fileName",
|
|
3083
3086
|
"fileType",
|
|
@@ -3086,13 +3089,10 @@
|
|
|
3086
3089
|
"altText",
|
|
3087
3090
|
"uploadedAt"
|
|
3088
3091
|
],
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3091
|
-
"cancelEvent": "CLOSE"
|
|
3092
|
+
"cancelEvent": "CLOSE",
|
|
3093
|
+
"mode": "create"
|
|
3092
3094
|
}
|
|
3093
|
-
]
|
|
3094
|
-
"type": "stack",
|
|
3095
|
-
"gap": "md"
|
|
3095
|
+
]
|
|
3096
3096
|
}
|
|
3097
3097
|
]
|
|
3098
3098
|
]
|
|
@@ -3133,8 +3133,8 @@
|
|
|
3133
3133
|
"@payload.data",
|
|
3134
3134
|
{
|
|
3135
3135
|
"emit": {
|
|
3136
|
-
"
|
|
3137
|
-
"
|
|
3136
|
+
"success": "MediaAssetSaved",
|
|
3137
|
+
"failure": "MediaAssetSaveFailed"
|
|
3138
3138
|
}
|
|
3139
3139
|
}
|
|
3140
3140
|
],
|
|
@@ -3272,8 +3272,8 @@
|
|
|
3272
3272
|
"MediaAsset",
|
|
3273
3273
|
{
|
|
3274
3274
|
"emit": {
|
|
3275
|
-
"
|
|
3276
|
-
"
|
|
3275
|
+
"success": "MediaAssetLoaded",
|
|
3276
|
+
"failure": "MediaAssetLoadFailed"
|
|
3277
3277
|
}
|
|
3278
3278
|
}
|
|
3279
3279
|
]
|
|
@@ -3318,41 +3318,43 @@
|
|
|
3318
3318
|
"fetch",
|
|
3319
3319
|
"MediaAsset",
|
|
3320
3320
|
{
|
|
3321
|
-
"id": "@payload.id",
|
|
3322
3321
|
"emit": {
|
|
3323
3322
|
"failure": "MediaAssetLoadFailed",
|
|
3324
3323
|
"success": "MediaAssetLoaded"
|
|
3325
|
-
}
|
|
3324
|
+
},
|
|
3325
|
+
"id": "@payload.id"
|
|
3326
3326
|
}
|
|
3327
3327
|
],
|
|
3328
3328
|
[
|
|
3329
3329
|
"render-ui",
|
|
3330
3330
|
"modal",
|
|
3331
3331
|
{
|
|
3332
|
-
"direction": "vertical",
|
|
3333
3332
|
"gap": "md",
|
|
3334
3333
|
"children": [
|
|
3335
3334
|
{
|
|
3336
|
-
"
|
|
3335
|
+
"direction": "horizontal",
|
|
3337
3336
|
"type": "stack",
|
|
3337
|
+
"align": "center",
|
|
3338
3338
|
"children": [
|
|
3339
3339
|
{
|
|
3340
|
-
"
|
|
3341
|
-
"
|
|
3340
|
+
"name": "eye",
|
|
3341
|
+
"type": "icon"
|
|
3342
3342
|
},
|
|
3343
3343
|
{
|
|
3344
|
+
"variant": "h3",
|
|
3344
3345
|
"type": "typography",
|
|
3345
|
-
"content": "@entity.fileName"
|
|
3346
|
-
"variant": "h3"
|
|
3346
|
+
"content": "@entity.fileName"
|
|
3347
3347
|
}
|
|
3348
3348
|
],
|
|
3349
|
-
"direction": "horizontal",
|
|
3350
3349
|
"gap": "sm"
|
|
3351
3350
|
},
|
|
3352
3351
|
{
|
|
3353
3352
|
"type": "divider"
|
|
3354
3353
|
},
|
|
3355
3354
|
{
|
|
3355
|
+
"direction": "horizontal",
|
|
3356
|
+
"gap": "md",
|
|
3357
|
+
"type": "stack",
|
|
3356
3358
|
"children": [
|
|
3357
3359
|
{
|
|
3358
3360
|
"type": "typography",
|
|
@@ -3364,33 +3366,30 @@
|
|
|
3364
3366
|
"content": "@entity.fileName",
|
|
3365
3367
|
"type": "typography"
|
|
3366
3368
|
}
|
|
3367
|
-
]
|
|
3368
|
-
"direction": "horizontal",
|
|
3369
|
-
"gap": "md",
|
|
3370
|
-
"type": "stack"
|
|
3369
|
+
]
|
|
3371
3370
|
},
|
|
3372
3371
|
{
|
|
3373
|
-
"type": "stack",
|
|
3374
3372
|
"direction": "horizontal",
|
|
3373
|
+
"gap": "md",
|
|
3374
|
+
"type": "stack",
|
|
3375
3375
|
"children": [
|
|
3376
3376
|
{
|
|
3377
|
-
"
|
|
3377
|
+
"variant": "caption",
|
|
3378
3378
|
"type": "typography",
|
|
3379
|
-
"
|
|
3379
|
+
"content": "File Type"
|
|
3380
3380
|
},
|
|
3381
3381
|
{
|
|
3382
|
+
"type": "typography",
|
|
3382
3383
|
"variant": "body",
|
|
3383
|
-
"content": "@entity.fileType"
|
|
3384
|
-
"type": "typography"
|
|
3384
|
+
"content": "@entity.fileType"
|
|
3385
3385
|
}
|
|
3386
|
-
]
|
|
3387
|
-
"gap": "md"
|
|
3386
|
+
]
|
|
3388
3387
|
},
|
|
3389
3388
|
{
|
|
3390
3389
|
"children": [
|
|
3391
3390
|
{
|
|
3392
|
-
"content": "File Size",
|
|
3393
3391
|
"type": "typography",
|
|
3392
|
+
"content": "File Size",
|
|
3394
3393
|
"variant": "caption"
|
|
3395
3394
|
},
|
|
3396
3395
|
{
|
|
@@ -3399,32 +3398,33 @@
|
|
|
3399
3398
|
"type": "typography"
|
|
3400
3399
|
}
|
|
3401
3400
|
],
|
|
3402
|
-
"type": "stack",
|
|
3403
3401
|
"gap": "md",
|
|
3402
|
+
"type": "stack",
|
|
3404
3403
|
"direction": "horizontal"
|
|
3405
3404
|
},
|
|
3406
3405
|
{
|
|
3407
|
-
"gap": "md",
|
|
3408
3406
|
"type": "stack",
|
|
3409
3407
|
"direction": "horizontal",
|
|
3408
|
+
"gap": "md",
|
|
3410
3409
|
"children": [
|
|
3411
3410
|
{
|
|
3412
|
-
"
|
|
3411
|
+
"type": "typography",
|
|
3413
3412
|
"variant": "caption",
|
|
3414
|
-
"
|
|
3413
|
+
"content": "Url"
|
|
3415
3414
|
},
|
|
3416
3415
|
{
|
|
3417
|
-
"content": "@entity.url",
|
|
3418
3416
|
"type": "typography",
|
|
3419
|
-
"variant": "body"
|
|
3417
|
+
"variant": "body",
|
|
3418
|
+
"content": "@entity.url"
|
|
3420
3419
|
}
|
|
3421
3420
|
]
|
|
3422
3421
|
},
|
|
3423
3422
|
{
|
|
3423
|
+
"type": "stack",
|
|
3424
3424
|
"children": [
|
|
3425
3425
|
{
|
|
3426
|
-
"variant": "caption",
|
|
3427
3426
|
"type": "typography",
|
|
3427
|
+
"variant": "caption",
|
|
3428
3428
|
"content": "Alt Text"
|
|
3429
3429
|
},
|
|
3430
3430
|
{
|
|
@@ -3433,35 +3433,34 @@
|
|
|
3433
3433
|
"content": "@entity.altText"
|
|
3434
3434
|
}
|
|
3435
3435
|
],
|
|
3436
|
-
"type": "stack",
|
|
3437
3436
|
"direction": "horizontal",
|
|
3438
3437
|
"gap": "md"
|
|
3439
3438
|
},
|
|
3440
3439
|
{
|
|
3441
|
-
"
|
|
3440
|
+
"type": "stack",
|
|
3442
3441
|
"children": [
|
|
3443
3442
|
{
|
|
3444
|
-
"
|
|
3443
|
+
"content": "Uploaded At",
|
|
3445
3444
|
"type": "typography",
|
|
3446
|
-
"
|
|
3445
|
+
"variant": "caption"
|
|
3447
3446
|
},
|
|
3448
3447
|
{
|
|
3449
|
-
"type": "typography",
|
|
3450
3448
|
"variant": "body",
|
|
3449
|
+
"type": "typography",
|
|
3451
3450
|
"content": "@entity.uploadedAt"
|
|
3452
3451
|
}
|
|
3453
3452
|
],
|
|
3454
|
-
"
|
|
3453
|
+
"gap": "md",
|
|
3455
3454
|
"direction": "horizontal"
|
|
3456
3455
|
},
|
|
3457
3456
|
{
|
|
3458
3457
|
"type": "divider"
|
|
3459
3458
|
},
|
|
3460
3459
|
{
|
|
3461
|
-
"gap": "sm",
|
|
3462
3460
|
"justify": "end",
|
|
3463
3461
|
"direction": "horizontal",
|
|
3464
3462
|
"type": "stack",
|
|
3463
|
+
"gap": "sm",
|
|
3465
3464
|
"children": [
|
|
3466
3465
|
{
|
|
3467
3466
|
"action": "CLOSE",
|
|
@@ -3472,7 +3471,8 @@
|
|
|
3472
3471
|
]
|
|
3473
3472
|
}
|
|
3474
3473
|
],
|
|
3475
|
-
"type": "stack"
|
|
3474
|
+
"type": "stack",
|
|
3475
|
+
"direction": "vertical"
|
|
3476
3476
|
}
|
|
3477
3477
|
]
|
|
3478
3478
|
]
|
|
@@ -3842,8 +3842,8 @@
|
|
|
3842
3842
|
"Category",
|
|
3843
3843
|
{
|
|
3844
3844
|
"emit": {
|
|
3845
|
-
"
|
|
3846
|
-
"
|
|
3845
|
+
"failure": "CategoryLoadFailed",
|
|
3846
|
+
"success": "CategoryLoaded"
|
|
3847
3847
|
}
|
|
3848
3848
|
}
|
|
3849
3849
|
],
|
|
@@ -3852,21 +3852,21 @@
|
|
|
3852
3852
|
"main",
|
|
3853
3853
|
{
|
|
3854
3854
|
"direction": "vertical",
|
|
3855
|
-
"gap": "md",
|
|
3856
|
-
"type": "stack",
|
|
3857
3855
|
"align": "center",
|
|
3856
|
+
"gap": "md",
|
|
3858
3857
|
"className": "py-12",
|
|
3859
3858
|
"children": [
|
|
3860
3859
|
{
|
|
3861
3860
|
"type": "spinner"
|
|
3862
3861
|
},
|
|
3863
3862
|
{
|
|
3864
|
-
"content": "Loading…",
|
|
3865
|
-
"color": "muted",
|
|
3866
3863
|
"type": "typography",
|
|
3867
|
-
"variant": "caption"
|
|
3864
|
+
"variant": "caption",
|
|
3865
|
+
"color": "muted",
|
|
3866
|
+
"content": "Loading…"
|
|
3868
3867
|
}
|
|
3869
|
-
]
|
|
3868
|
+
],
|
|
3869
|
+
"type": "stack"
|
|
3870
3870
|
}
|
|
3871
3871
|
]
|
|
3872
3872
|
]
|
|
@@ -3880,80 +3880,53 @@
|
|
|
3880
3880
|
"render-ui",
|
|
3881
3881
|
"main",
|
|
3882
3882
|
{
|
|
3883
|
-
"
|
|
3884
|
-
{
|
|
3885
|
-
"href": "/cms-hub",
|
|
3886
|
-
"icon": "layout-grid",
|
|
3887
|
-
"label": "CMS Hub"
|
|
3888
|
-
},
|
|
3889
|
-
{
|
|
3890
|
-
"icon": "file-text",
|
|
3891
|
-
"label": "Articles",
|
|
3892
|
-
"href": "/articles"
|
|
3893
|
-
},
|
|
3883
|
+
"children": [
|
|
3894
3884
|
{
|
|
3895
|
-
"href": "/media",
|
|
3896
|
-
"icon": "image",
|
|
3897
|
-
"label": "Media"
|
|
3898
|
-
},
|
|
3899
|
-
{
|
|
3900
|
-
"label": "Categories",
|
|
3901
|
-
"href": "/categories",
|
|
3902
|
-
"icon": "folder"
|
|
3903
|
-
}
|
|
3904
|
-
],
|
|
3905
|
-
"type": "dashboard-layout",
|
|
3906
|
-
"appName": "CmsApp",
|
|
3907
|
-
"children": [
|
|
3908
|
-
{
|
|
3909
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
3910
|
-
"type": "stack",
|
|
3911
3885
|
"children": [
|
|
3912
3886
|
{
|
|
3913
|
-
"gap": "md",
|
|
3914
|
-
"align": "center",
|
|
3915
3887
|
"direction": "horizontal",
|
|
3888
|
+
"justify": "between",
|
|
3889
|
+
"align": "center",
|
|
3916
3890
|
"children": [
|
|
3917
3891
|
{
|
|
3918
|
-
"type": "stack",
|
|
3919
3892
|
"align": "center",
|
|
3920
3893
|
"gap": "sm",
|
|
3894
|
+
"direction": "horizontal",
|
|
3895
|
+
"type": "stack",
|
|
3921
3896
|
"children": [
|
|
3922
3897
|
{
|
|
3923
3898
|
"type": "icon",
|
|
3924
3899
|
"name": "folder"
|
|
3925
3900
|
},
|
|
3926
3901
|
{
|
|
3902
|
+
"content": "Categories",
|
|
3927
3903
|
"variant": "h2",
|
|
3928
|
-
"type": "typography"
|
|
3929
|
-
"content": "Categories"
|
|
3904
|
+
"type": "typography"
|
|
3930
3905
|
}
|
|
3931
|
-
]
|
|
3932
|
-
"direction": "horizontal"
|
|
3906
|
+
]
|
|
3933
3907
|
},
|
|
3934
3908
|
{
|
|
3935
|
-
"gap": "sm",
|
|
3936
3909
|
"type": "stack",
|
|
3910
|
+
"gap": "sm",
|
|
3937
3911
|
"children": [
|
|
3938
3912
|
{
|
|
3913
|
+
"label": "Create Category",
|
|
3939
3914
|
"variant": "primary",
|
|
3940
|
-
"type": "button",
|
|
3941
|
-
"icon": "plus",
|
|
3942
3915
|
"action": "CREATE",
|
|
3943
|
-
"
|
|
3916
|
+
"icon": "plus",
|
|
3917
|
+
"type": "button"
|
|
3944
3918
|
}
|
|
3945
3919
|
],
|
|
3946
3920
|
"direction": "horizontal"
|
|
3947
3921
|
}
|
|
3948
3922
|
],
|
|
3949
3923
|
"type": "stack",
|
|
3950
|
-
"
|
|
3924
|
+
"gap": "md"
|
|
3951
3925
|
},
|
|
3952
3926
|
{
|
|
3953
3927
|
"type": "divider"
|
|
3954
3928
|
},
|
|
3955
3929
|
{
|
|
3956
|
-
"type": "data-list",
|
|
3957
3930
|
"fields": [
|
|
3958
3931
|
{
|
|
3959
3932
|
"icon": "folder",
|
|
@@ -3961,27 +3934,28 @@
|
|
|
3961
3934
|
"variant": "h3"
|
|
3962
3935
|
},
|
|
3963
3936
|
{
|
|
3964
|
-
"variant": "badge",
|
|
3965
|
-
"format": "number",
|
|
3966
3937
|
"name": "articleCount",
|
|
3938
|
+
"format": "number",
|
|
3939
|
+
"variant": "badge",
|
|
3967
3940
|
"label": "Articles"
|
|
3968
3941
|
},
|
|
3969
3942
|
{
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3943
|
+
"name": "description",
|
|
3944
|
+
"variant": "body"
|
|
3972
3945
|
},
|
|
3973
3946
|
{
|
|
3974
3947
|
"name": "slug",
|
|
3975
3948
|
"variant": "caption"
|
|
3976
3949
|
}
|
|
3977
3950
|
],
|
|
3951
|
+
"variant": "card",
|
|
3978
3952
|
"gap": "sm",
|
|
3979
3953
|
"entity": "@payload.data",
|
|
3980
3954
|
"itemActions": [
|
|
3981
3955
|
{
|
|
3982
|
-
"variant": "ghost",
|
|
3983
3956
|
"label": "View",
|
|
3984
|
-
"event": "VIEW"
|
|
3957
|
+
"event": "VIEW",
|
|
3958
|
+
"variant": "ghost"
|
|
3985
3959
|
},
|
|
3986
3960
|
{
|
|
3987
3961
|
"label": "Edit",
|
|
@@ -3990,17 +3964,43 @@
|
|
|
3990
3964
|
},
|
|
3991
3965
|
{
|
|
3992
3966
|
"label": "Delete",
|
|
3993
|
-
"
|
|
3994
|
-
"
|
|
3967
|
+
"event": "DELETE",
|
|
3968
|
+
"variant": "danger"
|
|
3995
3969
|
}
|
|
3996
3970
|
],
|
|
3997
|
-
"
|
|
3971
|
+
"type": "data-list"
|
|
3998
3972
|
}
|
|
3999
3973
|
],
|
|
4000
|
-
"
|
|
4001
|
-
"gap": "lg"
|
|
3974
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
3975
|
+
"gap": "lg",
|
|
3976
|
+
"type": "stack",
|
|
3977
|
+
"direction": "vertical"
|
|
4002
3978
|
}
|
|
4003
|
-
]
|
|
3979
|
+
],
|
|
3980
|
+
"navItems": [
|
|
3981
|
+
{
|
|
3982
|
+
"href": "/cms-hub",
|
|
3983
|
+
"icon": "layout-grid",
|
|
3984
|
+
"label": "CMS Hub"
|
|
3985
|
+
},
|
|
3986
|
+
{
|
|
3987
|
+
"icon": "file-text",
|
|
3988
|
+
"href": "/articles",
|
|
3989
|
+
"label": "Articles"
|
|
3990
|
+
},
|
|
3991
|
+
{
|
|
3992
|
+
"label": "Media",
|
|
3993
|
+
"icon": "image",
|
|
3994
|
+
"href": "/media"
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
"href": "/categories",
|
|
3998
|
+
"icon": "folder",
|
|
3999
|
+
"label": "Categories"
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4002
|
+
"type": "dashboard-layout",
|
|
4003
|
+
"appName": "CmsApp"
|
|
4004
4004
|
}
|
|
4005
4005
|
]
|
|
4006
4006
|
]
|
|
@@ -4014,10 +4014,10 @@
|
|
|
4014
4014
|
"render-ui",
|
|
4015
4015
|
"main",
|
|
4016
4016
|
{
|
|
4017
|
-
"className": "py-12",
|
|
4018
4017
|
"type": "stack",
|
|
4018
|
+
"className": "py-12",
|
|
4019
|
+
"align": "center",
|
|
4019
4020
|
"gap": "md",
|
|
4020
|
-
"direction": "vertical",
|
|
4021
4021
|
"children": [
|
|
4022
4022
|
{
|
|
4023
4023
|
"type": "icon",
|
|
@@ -4025,25 +4025,25 @@
|
|
|
4025
4025
|
"color": "destructive"
|
|
4026
4026
|
},
|
|
4027
4027
|
{
|
|
4028
|
+
"variant": "h3",
|
|
4028
4029
|
"type": "typography",
|
|
4029
|
-
"content": "Failed to load category"
|
|
4030
|
-
"variant": "h3"
|
|
4030
|
+
"content": "Failed to load category"
|
|
4031
4031
|
},
|
|
4032
4032
|
{
|
|
4033
4033
|
"color": "muted",
|
|
4034
|
-
"variant": "body",
|
|
4035
4034
|
"content": "@payload.error",
|
|
4035
|
+
"variant": "body",
|
|
4036
4036
|
"type": "typography"
|
|
4037
4037
|
},
|
|
4038
4038
|
{
|
|
4039
|
+
"action": "INIT",
|
|
4040
|
+
"variant": "primary",
|
|
4039
4041
|
"icon": "rotate-ccw",
|
|
4040
4042
|
"type": "button",
|
|
4041
|
-
"
|
|
4042
|
-
"label": "Retry",
|
|
4043
|
-
"variant": "primary"
|
|
4043
|
+
"label": "Retry"
|
|
4044
4044
|
}
|
|
4045
4045
|
],
|
|
4046
|
-
"
|
|
4046
|
+
"direction": "vertical"
|
|
4047
4047
|
}
|
|
4048
4048
|
]
|
|
4049
4049
|
]
|
|
@@ -4218,8 +4218,8 @@
|
|
|
4218
4218
|
"Category",
|
|
4219
4219
|
{
|
|
4220
4220
|
"emit": {
|
|
4221
|
-
"
|
|
4222
|
-
"
|
|
4221
|
+
"failure": "CategoryLoadFailed",
|
|
4222
|
+
"success": "CategoryLoaded"
|
|
4223
4223
|
}
|
|
4224
4224
|
}
|
|
4225
4225
|
]
|
|
@@ -4245,40 +4245,40 @@
|
|
|
4245
4245
|
"modal",
|
|
4246
4246
|
{
|
|
4247
4247
|
"direction": "vertical",
|
|
4248
|
-
"type": "stack",
|
|
4249
4248
|
"gap": "md",
|
|
4249
|
+
"type": "stack",
|
|
4250
4250
|
"children": [
|
|
4251
4251
|
{
|
|
4252
|
-
"gap": "sm",
|
|
4253
4252
|
"children": [
|
|
4254
4253
|
{
|
|
4255
4254
|
"type": "icon",
|
|
4256
4255
|
"name": "plus-circle"
|
|
4257
4256
|
},
|
|
4258
4257
|
{
|
|
4258
|
+
"content": "Create Category",
|
|
4259
4259
|
"type": "typography",
|
|
4260
|
-
"variant": "h3"
|
|
4261
|
-
"content": "Create Category"
|
|
4260
|
+
"variant": "h3"
|
|
4262
4261
|
}
|
|
4263
4262
|
],
|
|
4264
|
-
"
|
|
4265
|
-
"direction": "horizontal"
|
|
4263
|
+
"gap": "sm",
|
|
4264
|
+
"direction": "horizontal",
|
|
4265
|
+
"type": "stack"
|
|
4266
4266
|
},
|
|
4267
4267
|
{
|
|
4268
4268
|
"type": "divider"
|
|
4269
4269
|
},
|
|
4270
4270
|
{
|
|
4271
|
-
"type": "form-section",
|
|
4272
|
-
"mode": "create",
|
|
4273
4271
|
"submitEvent": "SAVE",
|
|
4274
|
-
"
|
|
4272
|
+
"mode": "create",
|
|
4275
4273
|
"fields": [
|
|
4276
4274
|
"name",
|
|
4277
4275
|
"slug",
|
|
4278
4276
|
"description",
|
|
4279
4277
|
"parentCategory",
|
|
4280
4278
|
"articleCount"
|
|
4281
|
-
]
|
|
4279
|
+
],
|
|
4280
|
+
"type": "form-section",
|
|
4281
|
+
"cancelEvent": "CLOSE"
|
|
4282
4282
|
}
|
|
4283
4283
|
]
|
|
4284
4284
|
}
|
|
@@ -4532,8 +4532,8 @@
|
|
|
4532
4532
|
"Category",
|
|
4533
4533
|
{
|
|
4534
4534
|
"emit": {
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4535
|
+
"failure": "CategoryLoadFailed",
|
|
4536
|
+
"success": "CategoryLoaded"
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
4539
|
]
|
|
@@ -4559,11 +4559,11 @@
|
|
|
4559
4559
|
"render-ui",
|
|
4560
4560
|
"modal",
|
|
4561
4561
|
{
|
|
4562
|
+
"direction": "vertical",
|
|
4563
|
+
"type": "stack",
|
|
4564
|
+
"gap": "md",
|
|
4562
4565
|
"children": [
|
|
4563
4566
|
{
|
|
4564
|
-
"gap": "sm",
|
|
4565
|
-
"direction": "horizontal",
|
|
4566
|
-
"type": "stack",
|
|
4567
4567
|
"children": [
|
|
4568
4568
|
{
|
|
4569
4569
|
"type": "icon",
|
|
@@ -4571,19 +4571,18 @@
|
|
|
4571
4571
|
},
|
|
4572
4572
|
{
|
|
4573
4573
|
"content": "Edit Category",
|
|
4574
|
-
"
|
|
4575
|
-
"
|
|
4574
|
+
"variant": "h3",
|
|
4575
|
+
"type": "typography"
|
|
4576
4576
|
}
|
|
4577
|
-
]
|
|
4577
|
+
],
|
|
4578
|
+
"gap": "sm",
|
|
4579
|
+
"type": "stack",
|
|
4580
|
+
"direction": "horizontal"
|
|
4578
4581
|
},
|
|
4579
4582
|
{
|
|
4580
4583
|
"type": "divider"
|
|
4581
4584
|
},
|
|
4582
4585
|
{
|
|
4583
|
-
"type": "form-section",
|
|
4584
|
-
"mode": "edit",
|
|
4585
|
-
"cancelEvent": "CLOSE",
|
|
4586
|
-
"submitEvent": "SAVE",
|
|
4587
4586
|
"fields": [
|
|
4588
4587
|
"name",
|
|
4589
4588
|
"slug",
|
|
@@ -4591,12 +4590,13 @@
|
|
|
4591
4590
|
"parentCategory",
|
|
4592
4591
|
"articleCount"
|
|
4593
4592
|
],
|
|
4594
|
-
"
|
|
4593
|
+
"type": "form-section",
|
|
4594
|
+
"entity": "@payload.row",
|
|
4595
|
+
"submitEvent": "SAVE",
|
|
4596
|
+
"cancelEvent": "CLOSE",
|
|
4597
|
+
"mode": "edit"
|
|
4595
4598
|
}
|
|
4596
|
-
]
|
|
4597
|
-
"direction": "vertical",
|
|
4598
|
-
"type": "stack",
|
|
4599
|
-
"gap": "md"
|
|
4599
|
+
]
|
|
4600
4600
|
}
|
|
4601
4601
|
]
|
|
4602
4602
|
]
|
|
@@ -4793,8 +4793,8 @@
|
|
|
4793
4793
|
"Category",
|
|
4794
4794
|
{
|
|
4795
4795
|
"emit": {
|
|
4796
|
-
"
|
|
4797
|
-
"
|
|
4796
|
+
"failure": "CategoryLoadFailed",
|
|
4797
|
+
"success": "CategoryLoaded"
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
4800
|
]
|
|
@@ -4834,93 +4834,90 @@
|
|
|
4834
4834
|
"fetch",
|
|
4835
4835
|
"Category",
|
|
4836
4836
|
{
|
|
4837
|
-
"id": "@payload.id",
|
|
4838
4837
|
"emit": {
|
|
4839
|
-
"
|
|
4840
|
-
"
|
|
4841
|
-
}
|
|
4838
|
+
"success": "CategoryLoaded",
|
|
4839
|
+
"failure": "CategoryLoadFailed"
|
|
4840
|
+
},
|
|
4841
|
+
"id": "@payload.id"
|
|
4842
4842
|
}
|
|
4843
4843
|
],
|
|
4844
4844
|
[
|
|
4845
4845
|
"render-ui",
|
|
4846
4846
|
"modal",
|
|
4847
4847
|
{
|
|
4848
|
-
"gap": "md",
|
|
4849
4848
|
"children": [
|
|
4850
4849
|
{
|
|
4851
4850
|
"gap": "sm",
|
|
4851
|
+
"align": "center",
|
|
4852
|
+
"type": "stack",
|
|
4853
|
+
"direction": "horizontal",
|
|
4852
4854
|
"children": [
|
|
4853
4855
|
{
|
|
4854
|
-
"
|
|
4855
|
-
"
|
|
4856
|
+
"type": "icon",
|
|
4857
|
+
"name": "eye"
|
|
4856
4858
|
},
|
|
4857
4859
|
{
|
|
4858
4860
|
"type": "typography",
|
|
4859
4861
|
"variant": "h3",
|
|
4860
4862
|
"content": "@entity.name"
|
|
4861
4863
|
}
|
|
4862
|
-
]
|
|
4863
|
-
"align": "center",
|
|
4864
|
-
"type": "stack",
|
|
4865
|
-
"direction": "horizontal"
|
|
4864
|
+
]
|
|
4866
4865
|
},
|
|
4867
4866
|
{
|
|
4868
4867
|
"type": "divider"
|
|
4869
4868
|
},
|
|
4870
4869
|
{
|
|
4871
|
-
"direction": "horizontal",
|
|
4872
4870
|
"children": [
|
|
4873
4871
|
{
|
|
4874
|
-
"variant": "caption",
|
|
4875
4872
|
"content": "Name",
|
|
4876
|
-
"type": "typography"
|
|
4873
|
+
"type": "typography",
|
|
4874
|
+
"variant": "caption"
|
|
4877
4875
|
},
|
|
4878
4876
|
{
|
|
4879
|
-
"content": "@entity.name",
|
|
4880
4877
|
"type": "typography",
|
|
4881
|
-
"variant": "body"
|
|
4878
|
+
"variant": "body",
|
|
4879
|
+
"content": "@entity.name"
|
|
4882
4880
|
}
|
|
4883
4881
|
],
|
|
4884
4882
|
"gap": "md",
|
|
4883
|
+
"direction": "horizontal",
|
|
4885
4884
|
"type": "stack"
|
|
4886
4885
|
},
|
|
4887
4886
|
{
|
|
4888
|
-
"type": "stack",
|
|
4889
|
-
"gap": "md",
|
|
4890
|
-
"direction": "horizontal",
|
|
4891
4887
|
"children": [
|
|
4892
4888
|
{
|
|
4893
|
-
"
|
|
4889
|
+
"variant": "caption",
|
|
4894
4890
|
"type": "typography",
|
|
4895
|
-
"
|
|
4891
|
+
"content": "Slug"
|
|
4896
4892
|
},
|
|
4897
4893
|
{
|
|
4898
4894
|
"variant": "body",
|
|
4899
|
-
"
|
|
4900
|
-
"
|
|
4895
|
+
"content": "@entity.slug",
|
|
4896
|
+
"type": "typography"
|
|
4901
4897
|
}
|
|
4902
|
-
]
|
|
4898
|
+
],
|
|
4899
|
+
"direction": "horizontal",
|
|
4900
|
+
"gap": "md",
|
|
4901
|
+
"type": "stack"
|
|
4903
4902
|
},
|
|
4904
4903
|
{
|
|
4904
|
+
"type": "stack",
|
|
4905
4905
|
"direction": "horizontal",
|
|
4906
|
+
"gap": "md",
|
|
4906
4907
|
"children": [
|
|
4907
4908
|
{
|
|
4908
|
-
"content": "Description",
|
|
4909
4909
|
"type": "typography",
|
|
4910
|
+
"content": "Description",
|
|
4910
4911
|
"variant": "caption"
|
|
4911
4912
|
},
|
|
4912
4913
|
{
|
|
4913
4914
|
"type": "typography",
|
|
4914
|
-
"
|
|
4915
|
-
"
|
|
4915
|
+
"variant": "body",
|
|
4916
|
+
"content": "@entity.description"
|
|
4916
4917
|
}
|
|
4917
|
-
]
|
|
4918
|
-
"type": "stack",
|
|
4919
|
-
"gap": "md"
|
|
4918
|
+
]
|
|
4920
4919
|
},
|
|
4921
4920
|
{
|
|
4922
|
-
"direction": "horizontal",
|
|
4923
|
-
"gap": "md",
|
|
4924
4921
|
"children": [
|
|
4925
4922
|
{
|
|
4926
4923
|
"variant": "caption",
|
|
@@ -4928,14 +4925,17 @@
|
|
|
4928
4925
|
"type": "typography"
|
|
4929
4926
|
},
|
|
4930
4927
|
{
|
|
4931
|
-
"content": "@entity.parentCategory",
|
|
4932
4928
|
"type": "typography",
|
|
4933
|
-
"variant": "body"
|
|
4929
|
+
"variant": "body",
|
|
4930
|
+
"content": "@entity.parentCategory"
|
|
4934
4931
|
}
|
|
4935
4932
|
],
|
|
4933
|
+
"direction": "horizontal",
|
|
4934
|
+
"gap": "md",
|
|
4936
4935
|
"type": "stack"
|
|
4937
4936
|
},
|
|
4938
4937
|
{
|
|
4938
|
+
"type": "stack",
|
|
4939
4939
|
"gap": "md",
|
|
4940
4940
|
"children": [
|
|
4941
4941
|
{
|
|
@@ -4944,41 +4944,41 @@
|
|
|
4944
4944
|
"type": "typography"
|
|
4945
4945
|
},
|
|
4946
4946
|
{
|
|
4947
|
-
"variant": "body",
|
|
4948
4947
|
"type": "typography",
|
|
4949
|
-
"content": "@entity.articleCount"
|
|
4948
|
+
"content": "@entity.articleCount",
|
|
4949
|
+
"variant": "body"
|
|
4950
4950
|
}
|
|
4951
4951
|
],
|
|
4952
|
-
"direction": "horizontal"
|
|
4953
|
-
"type": "stack"
|
|
4952
|
+
"direction": "horizontal"
|
|
4954
4953
|
},
|
|
4955
4954
|
{
|
|
4956
4955
|
"type": "divider"
|
|
4957
4956
|
},
|
|
4958
4957
|
{
|
|
4959
|
-
"
|
|
4958
|
+
"gap": "sm",
|
|
4960
4959
|
"children": [
|
|
4961
4960
|
{
|
|
4962
|
-
"label": "Edit",
|
|
4963
4961
|
"variant": "primary",
|
|
4964
4962
|
"icon": "edit",
|
|
4963
|
+
"label": "Edit",
|
|
4965
4964
|
"type": "button",
|
|
4966
4965
|
"action": "EDIT"
|
|
4967
4966
|
},
|
|
4968
4967
|
{
|
|
4969
|
-
"type": "button",
|
|
4970
|
-
"action": "CLOSE",
|
|
4971
4968
|
"label": "Close",
|
|
4972
|
-
"
|
|
4969
|
+
"action": "CLOSE",
|
|
4970
|
+
"variant": "ghost",
|
|
4971
|
+
"type": "button"
|
|
4973
4972
|
}
|
|
4974
4973
|
],
|
|
4975
|
-
"
|
|
4976
|
-
"
|
|
4977
|
-
"
|
|
4974
|
+
"type": "stack",
|
|
4975
|
+
"direction": "horizontal",
|
|
4976
|
+
"justify": "end"
|
|
4978
4977
|
}
|
|
4979
4978
|
],
|
|
4980
|
-
"
|
|
4981
|
-
"
|
|
4979
|
+
"direction": "vertical",
|
|
4980
|
+
"gap": "md",
|
|
4981
|
+
"type": "stack"
|
|
4982
4982
|
}
|
|
4983
4983
|
]
|
|
4984
4984
|
]
|
|
@@ -5200,8 +5200,8 @@
|
|
|
5200
5200
|
"Category",
|
|
5201
5201
|
{
|
|
5202
5202
|
"emit": {
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5203
|
+
"failure": "CategoryLoadFailed",
|
|
5204
|
+
"success": "CategoryLoaded"
|
|
5205
5205
|
}
|
|
5206
5206
|
}
|
|
5207
5207
|
]
|
|
@@ -5221,68 +5221,68 @@
|
|
|
5221
5221
|
"fetch",
|
|
5222
5222
|
"Category",
|
|
5223
5223
|
{
|
|
5224
|
+
"id": "@payload.id",
|
|
5224
5225
|
"emit": {
|
|
5225
|
-
"
|
|
5226
|
-
"
|
|
5227
|
-
}
|
|
5228
|
-
"id": "@payload.id"
|
|
5226
|
+
"success": "CategoryLoaded",
|
|
5227
|
+
"failure": "CategoryLoadFailed"
|
|
5228
|
+
}
|
|
5229
5229
|
}
|
|
5230
5230
|
],
|
|
5231
5231
|
[
|
|
5232
5232
|
"render-ui",
|
|
5233
5233
|
"modal",
|
|
5234
5234
|
{
|
|
5235
|
-
"type": "stack",
|
|
5236
|
-
"direction": "vertical",
|
|
5237
|
-
"gap": "md",
|
|
5238
5235
|
"children": [
|
|
5239
5236
|
{
|
|
5237
|
+
"align": "center",
|
|
5240
5238
|
"direction": "horizontal",
|
|
5241
|
-
"gap": "sm",
|
|
5242
5239
|
"type": "stack",
|
|
5240
|
+
"gap": "sm",
|
|
5243
5241
|
"children": [
|
|
5244
5242
|
{
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5243
|
+
"name": "alert-triangle",
|
|
5244
|
+
"type": "icon"
|
|
5247
5245
|
},
|
|
5248
5246
|
{
|
|
5249
|
-
"variant": "h3",
|
|
5250
5247
|
"content": "Delete Category",
|
|
5248
|
+
"variant": "h3",
|
|
5251
5249
|
"type": "typography"
|
|
5252
5250
|
}
|
|
5253
|
-
]
|
|
5254
|
-
"align": "center"
|
|
5251
|
+
]
|
|
5255
5252
|
},
|
|
5256
5253
|
{
|
|
5257
5254
|
"type": "divider"
|
|
5258
5255
|
},
|
|
5259
5256
|
{
|
|
5260
|
-
"
|
|
5257
|
+
"type": "alert",
|
|
5261
5258
|
"message": "This action cannot be undone.",
|
|
5262
|
-
"
|
|
5259
|
+
"variant": "error"
|
|
5263
5260
|
},
|
|
5264
5261
|
{
|
|
5265
5262
|
"justify": "end",
|
|
5266
|
-
"type": "stack",
|
|
5267
5263
|
"direction": "horizontal",
|
|
5268
|
-
"
|
|
5264
|
+
"type": "stack",
|
|
5269
5265
|
"children": [
|
|
5270
5266
|
{
|
|
5271
|
-
"
|
|
5272
|
-
"label": "Cancel",
|
|
5267
|
+
"variant": "ghost",
|
|
5273
5268
|
"type": "button",
|
|
5274
|
-
"
|
|
5269
|
+
"label": "Cancel",
|
|
5270
|
+
"action": "CANCEL"
|
|
5275
5271
|
},
|
|
5276
5272
|
{
|
|
5277
|
-
"action": "CONFIRM_DELETE",
|
|
5278
|
-
"icon": "check",
|
|
5279
|
-
"type": "button",
|
|
5280
5273
|
"variant": "danger",
|
|
5281
|
-
"
|
|
5274
|
+
"type": "button",
|
|
5275
|
+
"label": "Delete",
|
|
5276
|
+
"action": "CONFIRM_DELETE",
|
|
5277
|
+
"icon": "check"
|
|
5282
5278
|
}
|
|
5283
|
-
]
|
|
5279
|
+
],
|
|
5280
|
+
"gap": "sm"
|
|
5284
5281
|
}
|
|
5285
|
-
]
|
|
5282
|
+
],
|
|
5283
|
+
"type": "stack",
|
|
5284
|
+
"direction": "vertical",
|
|
5285
|
+
"gap": "md"
|
|
5286
5286
|
}
|
|
5287
5287
|
]
|
|
5288
5288
|
]
|
|
@@ -5299,8 +5299,8 @@
|
|
|
5299
5299
|
"@entity.pendingId",
|
|
5300
5300
|
{
|
|
5301
5301
|
"emit": {
|
|
5302
|
-
"
|
|
5303
|
-
"
|
|
5302
|
+
"success": "CategoryDeleted",
|
|
5303
|
+
"failure": "CategoryDeleteFailed"
|
|
5304
5304
|
}
|
|
5305
5305
|
}
|
|
5306
5306
|
],
|
|
@@ -5448,6 +5448,8 @@
|
|
|
5448
5448
|
"ref": "Tabs.traits.TabsItemTabs",
|
|
5449
5449
|
"name": "CmsHubTabs",
|
|
5450
5450
|
"config": {
|
|
5451
|
+
"defaultTab": "articles",
|
|
5452
|
+
"variant": "underline",
|
|
5451
5453
|
"tabs": [
|
|
5452
5454
|
{
|
|
5453
5455
|
"icon": "file-text",
|
|
@@ -5456,17 +5458,15 @@
|
|
|
5456
5458
|
},
|
|
5457
5459
|
{
|
|
5458
5460
|
"icon": "image",
|
|
5459
|
-
"
|
|
5460
|
-
"
|
|
5461
|
+
"label": "Media",
|
|
5462
|
+
"id": "media"
|
|
5461
5463
|
},
|
|
5462
5464
|
{
|
|
5463
5465
|
"icon": "folder",
|
|
5464
|
-
"
|
|
5465
|
-
"
|
|
5466
|
+
"label": "Categories",
|
|
5467
|
+
"id": "categories"
|
|
5466
5468
|
}
|
|
5467
|
-
]
|
|
5468
|
-
"defaultTab": "articles",
|
|
5469
|
-
"variant": "underline"
|
|
5469
|
+
]
|
|
5470
5470
|
}
|
|
5471
5471
|
},
|
|
5472
5472
|
{
|
|
@@ -5522,33 +5522,38 @@
|
|
|
5522
5522
|
"render-ui",
|
|
5523
5523
|
"main",
|
|
5524
5524
|
{
|
|
5525
|
+
"appName": "CmsApp",
|
|
5525
5526
|
"navItems": [
|
|
5526
5527
|
{
|
|
5527
|
-
"label": "CMS Hub",
|
|
5528
5528
|
"href": "/cms-hub",
|
|
5529
|
+
"label": "CMS Hub",
|
|
5529
5530
|
"icon": "layout-grid"
|
|
5530
5531
|
},
|
|
5531
5532
|
{
|
|
5532
|
-
"label": "Articles",
|
|
5533
5533
|
"icon": "file-text",
|
|
5534
|
+
"label": "Articles",
|
|
5534
5535
|
"href": "/articles"
|
|
5535
5536
|
},
|
|
5536
5537
|
{
|
|
5538
|
+
"label": "Media",
|
|
5537
5539
|
"icon": "image",
|
|
5538
|
-
"href": "/media"
|
|
5539
|
-
"label": "Media"
|
|
5540
|
+
"href": "/media"
|
|
5540
5541
|
},
|
|
5541
5542
|
{
|
|
5542
|
-
"label": "Categories",
|
|
5543
5543
|
"href": "/categories",
|
|
5544
|
-
"icon": "folder"
|
|
5544
|
+
"icon": "folder",
|
|
5545
|
+
"label": "Categories"
|
|
5545
5546
|
}
|
|
5546
5547
|
],
|
|
5548
|
+
"type": "dashboard-layout",
|
|
5547
5549
|
"children": [
|
|
5548
5550
|
{
|
|
5549
5551
|
"type": "stack",
|
|
5550
5552
|
"children": [
|
|
5551
5553
|
{
|
|
5554
|
+
"type": "stack",
|
|
5555
|
+
"gap": "sm",
|
|
5556
|
+
"align": "center",
|
|
5552
5557
|
"direction": "horizontal",
|
|
5553
5558
|
"children": [
|
|
5554
5559
|
{
|
|
@@ -5556,14 +5561,11 @@
|
|
|
5556
5561
|
"name": "layout-grid"
|
|
5557
5562
|
},
|
|
5558
5563
|
{
|
|
5559
|
-
"
|
|
5564
|
+
"type": "typography",
|
|
5560
5565
|
"variant": "h2",
|
|
5561
|
-
"
|
|
5566
|
+
"content": "CMS Hub"
|
|
5562
5567
|
}
|
|
5563
|
-
]
|
|
5564
|
-
"gap": "sm",
|
|
5565
|
-
"align": "center",
|
|
5566
|
-
"type": "stack"
|
|
5568
|
+
]
|
|
5567
5569
|
},
|
|
5568
5570
|
{
|
|
5569
5571
|
"type": "divider"
|
|
@@ -5572,30 +5574,28 @@
|
|
|
5572
5574
|
{
|
|
5573
5575
|
"gap": "sm",
|
|
5574
5576
|
"className": "p-4 border rounded-md",
|
|
5575
|
-
"type": "stack",
|
|
5576
|
-
"direction": "vertical",
|
|
5577
5577
|
"children": [
|
|
5578
5578
|
{
|
|
5579
|
-
"color": "secondary",
|
|
5580
|
-
"type": "typography",
|
|
5581
5579
|
"content": "Active section",
|
|
5582
|
-
"
|
|
5580
|
+
"color": "secondary",
|
|
5581
|
+
"variant": "overline",
|
|
5582
|
+
"type": "typography"
|
|
5583
5583
|
},
|
|
5584
5584
|
{
|
|
5585
5585
|
"variant": "h3",
|
|
5586
|
-
"
|
|
5587
|
-
"
|
|
5586
|
+
"content": "@entity.section",
|
|
5587
|
+
"type": "typography"
|
|
5588
5588
|
}
|
|
5589
|
-
]
|
|
5589
|
+
],
|
|
5590
|
+
"type": "stack",
|
|
5591
|
+
"direction": "vertical"
|
|
5590
5592
|
}
|
|
5591
5593
|
],
|
|
5594
|
+
"direction": "vertical",
|
|
5592
5595
|
"className": "max-w-5xl mx-auto w-full",
|
|
5593
|
-
"gap": "lg"
|
|
5594
|
-
"direction": "vertical"
|
|
5596
|
+
"gap": "lg"
|
|
5595
5597
|
}
|
|
5596
|
-
]
|
|
5597
|
-
"appName": "CmsApp",
|
|
5598
|
-
"type": "dashboard-layout"
|
|
5598
|
+
]
|
|
5599
5599
|
}
|
|
5600
5600
|
]
|
|
5601
5601
|
]
|
|
@@ -5614,51 +5614,30 @@
|
|
|
5614
5614
|
"render-ui",
|
|
5615
5615
|
"main",
|
|
5616
5616
|
{
|
|
5617
|
-
"appName": "CmsApp",
|
|
5618
5617
|
"type": "dashboard-layout",
|
|
5619
|
-
"
|
|
5620
|
-
{
|
|
5621
|
-
"icon": "layout-grid",
|
|
5622
|
-
"href": "/cms-hub",
|
|
5623
|
-
"label": "CMS Hub"
|
|
5624
|
-
},
|
|
5625
|
-
{
|
|
5626
|
-
"icon": "file-text",
|
|
5627
|
-
"label": "Articles",
|
|
5628
|
-
"href": "/articles"
|
|
5629
|
-
},
|
|
5630
|
-
{
|
|
5631
|
-
"label": "Media",
|
|
5632
|
-
"icon": "image",
|
|
5633
|
-
"href": "/media"
|
|
5634
|
-
},
|
|
5635
|
-
{
|
|
5636
|
-
"label": "Categories",
|
|
5637
|
-
"href": "/categories",
|
|
5638
|
-
"icon": "folder"
|
|
5639
|
-
}
|
|
5640
|
-
],
|
|
5618
|
+
"appName": "CmsApp",
|
|
5641
5619
|
"children": [
|
|
5642
5620
|
{
|
|
5643
|
-
"gap": "lg",
|
|
5644
5621
|
"className": "max-w-5xl mx-auto w-full",
|
|
5622
|
+
"type": "stack",
|
|
5623
|
+
"direction": "vertical",
|
|
5645
5624
|
"children": [
|
|
5646
5625
|
{
|
|
5647
|
-
"
|
|
5626
|
+
"type": "stack",
|
|
5627
|
+
"gap": "sm",
|
|
5648
5628
|
"direction": "horizontal",
|
|
5629
|
+
"align": "center",
|
|
5649
5630
|
"children": [
|
|
5650
5631
|
{
|
|
5651
5632
|
"type": "icon",
|
|
5652
5633
|
"name": "layout-grid"
|
|
5653
5634
|
},
|
|
5654
5635
|
{
|
|
5655
|
-
"
|
|
5636
|
+
"type": "typography",
|
|
5656
5637
|
"variant": "h2",
|
|
5657
|
-
"
|
|
5638
|
+
"content": "CMS Hub"
|
|
5658
5639
|
}
|
|
5659
|
-
]
|
|
5660
|
-
"gap": "sm",
|
|
5661
|
-
"type": "stack"
|
|
5640
|
+
]
|
|
5662
5641
|
},
|
|
5663
5642
|
{
|
|
5664
5643
|
"type": "divider"
|
|
@@ -5666,26 +5645,47 @@
|
|
|
5666
5645
|
"@trait.CmsHubTabs",
|
|
5667
5646
|
{
|
|
5668
5647
|
"className": "p-4 border rounded-md",
|
|
5648
|
+
"type": "stack",
|
|
5649
|
+
"direction": "vertical",
|
|
5650
|
+
"gap": "sm",
|
|
5669
5651
|
"children": [
|
|
5670
5652
|
{
|
|
5671
5653
|
"color": "secondary",
|
|
5672
|
-
"content": "Active section",
|
|
5673
5654
|
"type": "typography",
|
|
5674
|
-
"variant": "overline"
|
|
5655
|
+
"variant": "overline",
|
|
5656
|
+
"content": "Active section"
|
|
5675
5657
|
},
|
|
5676
5658
|
{
|
|
5677
|
-
"
|
|
5659
|
+
"type": "typography",
|
|
5678
5660
|
"variant": "h3",
|
|
5679
|
-
"
|
|
5661
|
+
"content": "@entity.section"
|
|
5680
5662
|
}
|
|
5681
|
-
]
|
|
5682
|
-
"type": "stack",
|
|
5683
|
-
"direction": "vertical",
|
|
5684
|
-
"gap": "sm"
|
|
5663
|
+
]
|
|
5685
5664
|
}
|
|
5686
5665
|
],
|
|
5687
|
-
"
|
|
5688
|
-
|
|
5666
|
+
"gap": "lg"
|
|
5667
|
+
}
|
|
5668
|
+
],
|
|
5669
|
+
"navItems": [
|
|
5670
|
+
{
|
|
5671
|
+
"icon": "layout-grid",
|
|
5672
|
+
"label": "CMS Hub",
|
|
5673
|
+
"href": "/cms-hub"
|
|
5674
|
+
},
|
|
5675
|
+
{
|
|
5676
|
+
"icon": "file-text",
|
|
5677
|
+
"label": "Articles",
|
|
5678
|
+
"href": "/articles"
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"label": "Media",
|
|
5682
|
+
"href": "/media",
|
|
5683
|
+
"icon": "image"
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"label": "Categories",
|
|
5687
|
+
"href": "/categories",
|
|
5688
|
+
"icon": "folder"
|
|
5689
5689
|
}
|
|
5690
5690
|
]
|
|
5691
5691
|
}
|