@almadar/std 8.3.0 → 8.4.1
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/atoms/std-agent-activity-log.orb +62 -62
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +119 -114
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +413 -404
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +146 -141
- package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
- package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
- package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
- package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
- package/behaviors/registry/app/organisms/std-cms.orb +469 -469
- package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
- package/behaviors/registry/app/organisms/std-crm.orb +832 -832
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
- package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
- package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
- package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
- package/behaviors/registry/app/organisms/std-lms.orb +839 -839
- package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
- package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
- package/behaviors/registry/core/atoms/std-browse.orb +53 -53
- package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
- package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
- package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
- package/behaviors/registry/core/atoms/std-display.orb +383 -383
- package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/behaviors/registry/core/atoms/std-filter.orb +42 -42
- package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
- package/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
- package/behaviors/registry/core/atoms/std-related.orb +34 -34
- package/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/behaviors/registry/core/atoms/std-tabs.orb +52 -52
- package/behaviors/registry/core/molecules/std-cart.orb +45 -45
- package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
- package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
- package/behaviors/registry/core/molecules/std-list.orb +46 -46
- package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
- package/behaviors/registry/game/atoms/std-collision.orb +121 -121
- package/behaviors/registry/game/atoms/std-combat.orb +68 -68
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
- package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/behaviors/registry/game/atoms/std-movement.orb +306 -306
- package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
- package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/behaviors/registry/game/atoms/std-timer.orb +274 -274
- package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
- package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
- package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
- package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
- package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
- package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
- package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
- package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
- package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
- package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
- package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
- package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
- package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
- package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +119 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +413 -404
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +146 -141
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
- package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
- package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
- package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
- package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
- package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +52 -52
- package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
- package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
- package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
- package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/dist/behaviors/registry/game/atoms/std-timer.orb +274 -274
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
- package/package.json +1 -1
|
@@ -571,8 +571,8 @@
|
|
|
571
571
|
"Article",
|
|
572
572
|
{
|
|
573
573
|
"emit": {
|
|
574
|
-
"
|
|
575
|
-
"
|
|
574
|
+
"failure": "ArticleLoadFailed",
|
|
575
|
+
"success": "ArticleLoaded"
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
],
|
|
@@ -580,6 +580,10 @@
|
|
|
580
580
|
"render-ui",
|
|
581
581
|
"main",
|
|
582
582
|
{
|
|
583
|
+
"direction": "vertical",
|
|
584
|
+
"className": "py-12",
|
|
585
|
+
"gap": "md",
|
|
586
|
+
"type": "stack",
|
|
583
587
|
"align": "center",
|
|
584
588
|
"children": [
|
|
585
589
|
{
|
|
@@ -591,11 +595,7 @@
|
|
|
591
595
|
"content": "Loading…",
|
|
592
596
|
"variant": "caption"
|
|
593
597
|
}
|
|
594
|
-
]
|
|
595
|
-
"type": "stack",
|
|
596
|
-
"direction": "vertical",
|
|
597
|
-
"className": "py-12",
|
|
598
|
-
"gap": "md"
|
|
598
|
+
]
|
|
599
599
|
}
|
|
600
600
|
]
|
|
601
601
|
]
|
|
@@ -609,99 +609,81 @@
|
|
|
609
609
|
"render-ui",
|
|
610
610
|
"main",
|
|
611
611
|
{
|
|
612
|
-
"navItems": [
|
|
613
|
-
{
|
|
614
|
-
"label": "Articles",
|
|
615
|
-
"icon": "file-text",
|
|
616
|
-
"href": "/articles"
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"href": "/media",
|
|
620
|
-
"icon": "image",
|
|
621
|
-
"label": "Media"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"icon": "folder",
|
|
625
|
-
"href": "/categories",
|
|
626
|
-
"label": "Categories"
|
|
627
|
-
}
|
|
628
|
-
],
|
|
629
|
-
"type": "dashboard-layout",
|
|
630
|
-
"appName": "CmsApp",
|
|
631
612
|
"children": [
|
|
632
613
|
{
|
|
614
|
+
"gap": "lg",
|
|
615
|
+
"direction": "vertical",
|
|
616
|
+
"type": "stack",
|
|
633
617
|
"className": "max-w-5xl mx-auto w-full",
|
|
634
618
|
"children": [
|
|
635
619
|
{
|
|
636
620
|
"align": "center",
|
|
621
|
+
"type": "stack",
|
|
637
622
|
"children": [
|
|
638
623
|
{
|
|
639
624
|
"gap": "sm",
|
|
625
|
+
"direction": "horizontal",
|
|
640
626
|
"type": "stack",
|
|
627
|
+
"align": "center",
|
|
641
628
|
"children": [
|
|
642
629
|
{
|
|
643
|
-
"
|
|
644
|
-
"
|
|
630
|
+
"type": "icon",
|
|
631
|
+
"name": "file-text"
|
|
645
632
|
},
|
|
646
633
|
{
|
|
647
|
-
"variant": "h2",
|
|
648
634
|
"content": "Articles",
|
|
635
|
+
"variant": "h2",
|
|
649
636
|
"type": "typography"
|
|
650
637
|
}
|
|
651
|
-
]
|
|
652
|
-
"align": "center",
|
|
653
|
-
"direction": "horizontal"
|
|
638
|
+
]
|
|
654
639
|
},
|
|
655
640
|
{
|
|
641
|
+
"type": "stack",
|
|
642
|
+
"gap": "sm",
|
|
656
643
|
"direction": "horizontal",
|
|
657
644
|
"children": [
|
|
658
645
|
{
|
|
659
646
|
"type": "button",
|
|
660
647
|
"variant": "primary",
|
|
661
|
-
"label": "Create Article",
|
|
662
648
|
"icon": "plus",
|
|
663
|
-
"action": "CREATE"
|
|
649
|
+
"action": "CREATE",
|
|
650
|
+
"label": "Create Article"
|
|
664
651
|
}
|
|
665
|
-
]
|
|
666
|
-
"type": "stack",
|
|
667
|
-
"gap": "sm"
|
|
652
|
+
]
|
|
668
653
|
}
|
|
669
654
|
],
|
|
670
655
|
"gap": "md",
|
|
671
|
-
"
|
|
672
|
-
"
|
|
673
|
-
"direction": "horizontal"
|
|
656
|
+
"direction": "horizontal",
|
|
657
|
+
"justify": "between"
|
|
674
658
|
},
|
|
675
659
|
{
|
|
676
660
|
"type": "divider"
|
|
677
661
|
},
|
|
678
662
|
{
|
|
663
|
+
"gap": "sm",
|
|
664
|
+
"fields": [],
|
|
679
665
|
"itemActions": [
|
|
680
666
|
{
|
|
681
|
-
"label": "View",
|
|
682
667
|
"event": "VIEW",
|
|
683
|
-
"variant": "ghost"
|
|
668
|
+
"variant": "ghost",
|
|
669
|
+
"label": "View"
|
|
684
670
|
},
|
|
685
671
|
{
|
|
672
|
+
"variant": "ghost",
|
|
686
673
|
"label": "Edit",
|
|
687
|
-
"event": "EDIT"
|
|
688
|
-
"variant": "ghost"
|
|
674
|
+
"event": "EDIT"
|
|
689
675
|
},
|
|
690
676
|
{
|
|
677
|
+
"label": "Delete",
|
|
691
678
|
"event": "DELETE",
|
|
692
|
-
"variant": "danger"
|
|
693
|
-
"label": "Delete"
|
|
679
|
+
"variant": "danger"
|
|
694
680
|
}
|
|
695
681
|
],
|
|
696
|
-
"type": "data-list",
|
|
697
|
-
"entity": "@payload.data",
|
|
698
|
-
"variant": "card",
|
|
699
|
-
"gap": "sm",
|
|
700
682
|
"columns": [
|
|
701
683
|
{
|
|
702
684
|
"variant": "h3",
|
|
703
|
-
"
|
|
704
|
-
"
|
|
685
|
+
"icon": "file-text",
|
|
686
|
+
"name": "title"
|
|
705
687
|
},
|
|
706
688
|
{
|
|
707
689
|
"name": "status",
|
|
@@ -716,20 +698,38 @@
|
|
|
716
698
|
"name": "slug"
|
|
717
699
|
},
|
|
718
700
|
{
|
|
719
|
-
"label": "Published",
|
|
720
|
-
"format": "date",
|
|
721
701
|
"variant": "caption",
|
|
722
|
-
"name": "publishedAt"
|
|
702
|
+
"name": "publishedAt",
|
|
703
|
+
"format": "date",
|
|
704
|
+
"label": "Published"
|
|
723
705
|
}
|
|
724
706
|
],
|
|
725
|
-
"
|
|
707
|
+
"variant": "card",
|
|
708
|
+
"type": "data-list",
|
|
709
|
+
"entity": "@payload.data"
|
|
726
710
|
}
|
|
727
|
-
]
|
|
728
|
-
"type": "stack",
|
|
729
|
-
"direction": "vertical",
|
|
730
|
-
"gap": "lg"
|
|
711
|
+
]
|
|
731
712
|
}
|
|
732
|
-
]
|
|
713
|
+
],
|
|
714
|
+
"type": "dashboard-layout",
|
|
715
|
+
"navItems": [
|
|
716
|
+
{
|
|
717
|
+
"href": "/articles",
|
|
718
|
+
"icon": "file-text",
|
|
719
|
+
"label": "Articles"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"label": "Media",
|
|
723
|
+
"href": "/media",
|
|
724
|
+
"icon": "image"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"icon": "folder",
|
|
728
|
+
"href": "/categories",
|
|
729
|
+
"label": "Categories"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
"appName": "CmsApp"
|
|
733
733
|
}
|
|
734
734
|
]
|
|
735
735
|
]
|
|
@@ -743,36 +743,36 @@
|
|
|
743
743
|
"render-ui",
|
|
744
744
|
"main",
|
|
745
745
|
{
|
|
746
|
-
"type": "stack",
|
|
747
|
-
"className": "py-12",
|
|
748
746
|
"direction": "vertical",
|
|
747
|
+
"type": "stack",
|
|
749
748
|
"gap": "md",
|
|
749
|
+
"className": "py-12",
|
|
750
|
+
"align": "center",
|
|
750
751
|
"children": [
|
|
751
752
|
{
|
|
753
|
+
"type": "icon",
|
|
752
754
|
"name": "alert-triangle",
|
|
753
|
-
"color": "destructive"
|
|
754
|
-
"type": "icon"
|
|
755
|
+
"color": "destructive"
|
|
755
756
|
},
|
|
756
757
|
{
|
|
757
|
-
"
|
|
758
|
+
"content": "Failed to load article",
|
|
758
759
|
"type": "typography",
|
|
759
|
-
"
|
|
760
|
+
"variant": "h3"
|
|
760
761
|
},
|
|
761
762
|
{
|
|
762
|
-
"color": "muted",
|
|
763
|
-
"type": "typography",
|
|
764
763
|
"content": "@payload.error",
|
|
765
|
-
"variant": "body"
|
|
764
|
+
"variant": "body",
|
|
765
|
+
"type": "typography",
|
|
766
|
+
"color": "muted"
|
|
766
767
|
},
|
|
767
768
|
{
|
|
768
769
|
"type": "button",
|
|
769
|
-
"
|
|
770
|
-
"variant": "primary",
|
|
770
|
+
"icon": "rotate-ccw",
|
|
771
771
|
"action": "INIT",
|
|
772
|
-
"
|
|
772
|
+
"label": "Retry",
|
|
773
|
+
"variant": "primary"
|
|
773
774
|
}
|
|
774
|
-
]
|
|
775
|
-
"align": "center"
|
|
775
|
+
]
|
|
776
776
|
}
|
|
777
777
|
]
|
|
778
778
|
]
|
|
@@ -965,31 +965,32 @@
|
|
|
965
965
|
"render-ui",
|
|
966
966
|
"modal",
|
|
967
967
|
{
|
|
968
|
-
"type": "stack",
|
|
969
|
-
"direction": "vertical",
|
|
970
968
|
"gap": "md",
|
|
969
|
+
"type": "stack",
|
|
971
970
|
"children": [
|
|
972
971
|
{
|
|
972
|
+
"gap": "sm",
|
|
973
|
+
"type": "stack",
|
|
973
974
|
"children": [
|
|
974
975
|
{
|
|
975
|
-
"
|
|
976
|
-
"
|
|
976
|
+
"name": "plus-circle",
|
|
977
|
+
"type": "icon"
|
|
977
978
|
},
|
|
978
979
|
{
|
|
980
|
+
"type": "typography",
|
|
979
981
|
"content": "Create Article",
|
|
980
|
-
"variant": "h3"
|
|
981
|
-
"type": "typography"
|
|
982
|
+
"variant": "h3"
|
|
982
983
|
}
|
|
983
984
|
],
|
|
984
|
-
"gap": "sm",
|
|
985
|
-
"type": "stack",
|
|
986
985
|
"direction": "horizontal"
|
|
987
986
|
},
|
|
988
987
|
{
|
|
989
988
|
"type": "divider"
|
|
990
989
|
},
|
|
991
990
|
{
|
|
991
|
+
"mode": "create",
|
|
992
992
|
"type": "form-section",
|
|
993
|
+
"submitEvent": "SAVE",
|
|
993
994
|
"cancelEvent": "CLOSE",
|
|
994
995
|
"fields": [
|
|
995
996
|
"title",
|
|
@@ -998,11 +999,10 @@
|
|
|
998
999
|
"author",
|
|
999
1000
|
"status",
|
|
1000
1001
|
"publishedAt"
|
|
1001
|
-
]
|
|
1002
|
-
"mode": "create",
|
|
1003
|
-
"submitEvent": "SAVE"
|
|
1002
|
+
]
|
|
1004
1003
|
}
|
|
1005
|
-
]
|
|
1004
|
+
],
|
|
1005
|
+
"direction": "vertical"
|
|
1006
1006
|
}
|
|
1007
1007
|
]
|
|
1008
1008
|
]
|
|
@@ -1256,8 +1256,8 @@
|
|
|
1256
1256
|
"Article",
|
|
1257
1257
|
{
|
|
1258
1258
|
"emit": {
|
|
1259
|
-
"
|
|
1260
|
-
"
|
|
1259
|
+
"success": "ArticleLoaded",
|
|
1260
|
+
"failure": "ArticleLoadFailed"
|
|
1261
1261
|
},
|
|
1262
1262
|
"id": "@payload.id"
|
|
1263
1263
|
}
|
|
@@ -1266,13 +1266,12 @@
|
|
|
1266
1266
|
"render-ui",
|
|
1267
1267
|
"modal",
|
|
1268
1268
|
{
|
|
1269
|
-
"gap": "md",
|
|
1270
|
-
"type": "stack",
|
|
1271
1269
|
"direction": "vertical",
|
|
1270
|
+
"type": "stack",
|
|
1271
|
+
"gap": "md",
|
|
1272
1272
|
"children": [
|
|
1273
1273
|
{
|
|
1274
1274
|
"type": "stack",
|
|
1275
|
-
"gap": "sm",
|
|
1276
1275
|
"children": [
|
|
1277
1276
|
{
|
|
1278
1277
|
"name": "edit",
|
|
@@ -1284,13 +1283,14 @@
|
|
|
1284
1283
|
"content": "Edit Article"
|
|
1285
1284
|
}
|
|
1286
1285
|
],
|
|
1286
|
+
"gap": "sm",
|
|
1287
1287
|
"direction": "horizontal"
|
|
1288
1288
|
},
|
|
1289
1289
|
{
|
|
1290
1290
|
"type": "divider"
|
|
1291
1291
|
},
|
|
1292
1292
|
{
|
|
1293
|
-
"
|
|
1293
|
+
"cancelEvent": "CLOSE",
|
|
1294
1294
|
"fields": [
|
|
1295
1295
|
"title",
|
|
1296
1296
|
"slug",
|
|
@@ -1300,9 +1300,9 @@
|
|
|
1300
1300
|
"publishedAt"
|
|
1301
1301
|
],
|
|
1302
1302
|
"entity": "@payload.row",
|
|
1303
|
-
"
|
|
1303
|
+
"type": "form-section",
|
|
1304
1304
|
"submitEvent": "SAVE",
|
|
1305
|
-
"
|
|
1305
|
+
"mode": "edit"
|
|
1306
1306
|
}
|
|
1307
1307
|
]
|
|
1308
1308
|
}
|
|
@@ -1345,8 +1345,8 @@
|
|
|
1345
1345
|
"@payload.data",
|
|
1346
1346
|
{
|
|
1347
1347
|
"emit": {
|
|
1348
|
-
"
|
|
1349
|
-
"
|
|
1348
|
+
"success": "ArticleUpdated",
|
|
1349
|
+
"failure": "ArticleUpdateFailed"
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
],
|
|
@@ -1491,35 +1491,35 @@
|
|
|
1491
1491
|
"fetch",
|
|
1492
1492
|
"Article",
|
|
1493
1493
|
{
|
|
1494
|
-
"id": "@payload.id",
|
|
1495
1494
|
"emit": {
|
|
1496
1495
|
"success": "ArticleLoaded",
|
|
1497
1496
|
"failure": "ArticleLoadFailed"
|
|
1498
|
-
}
|
|
1497
|
+
},
|
|
1498
|
+
"id": "@payload.id"
|
|
1499
1499
|
}
|
|
1500
1500
|
],
|
|
1501
1501
|
[
|
|
1502
1502
|
"render-ui",
|
|
1503
1503
|
"modal",
|
|
1504
1504
|
{
|
|
1505
|
-
"type": "stack",
|
|
1506
1505
|
"direction": "vertical",
|
|
1507
1506
|
"gap": "md",
|
|
1507
|
+
"type": "stack",
|
|
1508
1508
|
"children": [
|
|
1509
1509
|
{
|
|
1510
1510
|
"type": "stack",
|
|
1511
1511
|
"direction": "horizontal",
|
|
1512
|
-
"align": "center",
|
|
1513
1512
|
"gap": "sm",
|
|
1513
|
+
"align": "center",
|
|
1514
1514
|
"children": [
|
|
1515
1515
|
{
|
|
1516
|
-
"
|
|
1517
|
-
"
|
|
1516
|
+
"name": "eye",
|
|
1517
|
+
"type": "icon"
|
|
1518
1518
|
},
|
|
1519
1519
|
{
|
|
1520
|
+
"content": "@entity.title",
|
|
1520
1521
|
"variant": "h3",
|
|
1521
|
-
"type": "typography"
|
|
1522
|
-
"content": "@entity.title"
|
|
1522
|
+
"type": "typography"
|
|
1523
1523
|
}
|
|
1524
1524
|
]
|
|
1525
1525
|
},
|
|
@@ -1529,128 +1529,128 @@
|
|
|
1529
1529
|
{
|
|
1530
1530
|
"type": "stack",
|
|
1531
1531
|
"gap": "md",
|
|
1532
|
-
"direction": "horizontal",
|
|
1533
1532
|
"children": [
|
|
1534
1533
|
{
|
|
1535
|
-
"type": "typography",
|
|
1536
1534
|
"content": "Title",
|
|
1537
|
-
"variant": "caption"
|
|
1535
|
+
"variant": "caption",
|
|
1536
|
+
"type": "typography"
|
|
1538
1537
|
},
|
|
1539
1538
|
{
|
|
1540
|
-
"content": "@entity.title",
|
|
1541
1539
|
"type": "typography",
|
|
1542
|
-
"variant": "body"
|
|
1540
|
+
"variant": "body",
|
|
1541
|
+
"content": "@entity.title"
|
|
1543
1542
|
}
|
|
1544
|
-
]
|
|
1543
|
+
],
|
|
1544
|
+
"direction": "horizontal"
|
|
1545
1545
|
},
|
|
1546
1546
|
{
|
|
1547
|
-
"type": "stack",
|
|
1548
|
-
"gap": "md",
|
|
1549
|
-
"direction": "horizontal",
|
|
1550
1547
|
"children": [
|
|
1551
1548
|
{
|
|
1552
|
-
"content": "Slug",
|
|
1553
1549
|
"type": "typography",
|
|
1554
|
-
"variant": "caption"
|
|
1550
|
+
"variant": "caption",
|
|
1551
|
+
"content": "Slug"
|
|
1555
1552
|
},
|
|
1556
1553
|
{
|
|
1557
|
-
"content": "@entity.slug",
|
|
1558
1554
|
"variant": "body",
|
|
1559
|
-
"type": "typography"
|
|
1555
|
+
"type": "typography",
|
|
1556
|
+
"content": "@entity.slug"
|
|
1560
1557
|
}
|
|
1561
|
-
]
|
|
1558
|
+
],
|
|
1559
|
+
"type": "stack",
|
|
1560
|
+
"direction": "horizontal",
|
|
1561
|
+
"gap": "md"
|
|
1562
1562
|
},
|
|
1563
1563
|
{
|
|
1564
|
-
"gap": "md",
|
|
1565
1564
|
"type": "stack",
|
|
1565
|
+
"gap": "md",
|
|
1566
1566
|
"direction": "horizontal",
|
|
1567
1567
|
"children": [
|
|
1568
1568
|
{
|
|
1569
1569
|
"content": "Content",
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1570
|
+
"variant": "caption",
|
|
1571
|
+
"type": "typography"
|
|
1572
1572
|
},
|
|
1573
1573
|
{
|
|
1574
|
-
"type": "typography",
|
|
1575
1574
|
"variant": "body",
|
|
1576
|
-
"content": "@entity.content"
|
|
1575
|
+
"content": "@entity.content",
|
|
1576
|
+
"type": "typography"
|
|
1577
1577
|
}
|
|
1578
1578
|
]
|
|
1579
1579
|
},
|
|
1580
1580
|
{
|
|
1581
|
+
"direction": "horizontal",
|
|
1582
|
+
"type": "stack",
|
|
1581
1583
|
"gap": "md",
|
|
1582
1584
|
"children": [
|
|
1583
1585
|
{
|
|
1584
|
-
"content": "Author",
|
|
1585
1586
|
"type": "typography",
|
|
1586
|
-
"variant": "caption"
|
|
1587
|
+
"variant": "caption",
|
|
1588
|
+
"content": "Author"
|
|
1587
1589
|
},
|
|
1588
1590
|
{
|
|
1589
|
-
"type": "typography",
|
|
1590
1591
|
"variant": "body",
|
|
1591
|
-
"content": "@entity.author"
|
|
1592
|
+
"content": "@entity.author",
|
|
1593
|
+
"type": "typography"
|
|
1592
1594
|
}
|
|
1593
|
-
]
|
|
1594
|
-
"type": "stack",
|
|
1595
|
-
"direction": "horizontal"
|
|
1595
|
+
]
|
|
1596
1596
|
},
|
|
1597
1597
|
{
|
|
1598
|
+
"direction": "horizontal",
|
|
1599
|
+
"type": "stack",
|
|
1598
1600
|
"children": [
|
|
1599
1601
|
{
|
|
1600
|
-
"variant": "caption",
|
|
1601
1602
|
"content": "Status",
|
|
1602
|
-
"type": "typography"
|
|
1603
|
+
"type": "typography",
|
|
1604
|
+
"variant": "caption"
|
|
1603
1605
|
},
|
|
1604
1606
|
{
|
|
1607
|
+
"type": "typography",
|
|
1605
1608
|
"variant": "body",
|
|
1606
|
-
"content": "@entity.status"
|
|
1607
|
-
"type": "typography"
|
|
1609
|
+
"content": "@entity.status"
|
|
1608
1610
|
}
|
|
1609
1611
|
],
|
|
1610
|
-
"
|
|
1611
|
-
"gap": "md",
|
|
1612
|
-
"direction": "horizontal"
|
|
1612
|
+
"gap": "md"
|
|
1613
1613
|
},
|
|
1614
1614
|
{
|
|
1615
|
-
"
|
|
1615
|
+
"direction": "horizontal",
|
|
1616
1616
|
"type": "stack",
|
|
1617
|
+
"gap": "md",
|
|
1617
1618
|
"children": [
|
|
1618
1619
|
{
|
|
1619
|
-
"
|
|
1620
|
+
"type": "typography",
|
|
1620
1621
|
"content": "Published At",
|
|
1621
|
-
"
|
|
1622
|
+
"variant": "caption"
|
|
1622
1623
|
},
|
|
1623
1624
|
{
|
|
1624
|
-
"variant": "body",
|
|
1625
1625
|
"type": "typography",
|
|
1626
|
+
"variant": "body",
|
|
1626
1627
|
"content": "@entity.publishedAt"
|
|
1627
1628
|
}
|
|
1628
|
-
]
|
|
1629
|
-
"direction": "horizontal"
|
|
1629
|
+
]
|
|
1630
1630
|
},
|
|
1631
1631
|
{
|
|
1632
1632
|
"type": "divider"
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
|
-
"
|
|
1635
|
+
"direction": "horizontal",
|
|
1636
|
+
"gap": "sm",
|
|
1637
|
+
"type": "stack",
|
|
1636
1638
|
"children": [
|
|
1637
1639
|
{
|
|
1638
|
-
"type": "button",
|
|
1639
|
-
"variant": "primary",
|
|
1640
|
-
"action": "EDIT",
|
|
1641
1640
|
"label": "Edit",
|
|
1642
|
-
"
|
|
1641
|
+
"variant": "primary",
|
|
1642
|
+
"type": "button",
|
|
1643
|
+
"icon": "edit",
|
|
1644
|
+
"action": "EDIT"
|
|
1643
1645
|
},
|
|
1644
1646
|
{
|
|
1645
|
-
"label": "Close",
|
|
1646
1647
|
"variant": "ghost",
|
|
1647
1648
|
"type": "button",
|
|
1649
|
+
"label": "Close",
|
|
1648
1650
|
"action": "CLOSE"
|
|
1649
1651
|
}
|
|
1650
1652
|
],
|
|
1651
|
-
"
|
|
1652
|
-
"gap": "sm",
|
|
1653
|
-
"direction": "horizontal"
|
|
1653
|
+
"justify": "end"
|
|
1654
1654
|
}
|
|
1655
1655
|
]
|
|
1656
1656
|
}
|
|
@@ -1887,68 +1887,68 @@
|
|
|
1887
1887
|
"fetch",
|
|
1888
1888
|
"Article",
|
|
1889
1889
|
{
|
|
1890
|
+
"id": "@payload.id",
|
|
1890
1891
|
"emit": {
|
|
1891
|
-
"
|
|
1892
|
-
"
|
|
1893
|
-
}
|
|
1894
|
-
"id": "@payload.id"
|
|
1892
|
+
"failure": "ArticleLoadFailed",
|
|
1893
|
+
"success": "ArticleLoaded"
|
|
1894
|
+
}
|
|
1895
1895
|
}
|
|
1896
1896
|
],
|
|
1897
1897
|
[
|
|
1898
1898
|
"render-ui",
|
|
1899
1899
|
"modal",
|
|
1900
1900
|
{
|
|
1901
|
-
"direction": "vertical",
|
|
1902
1901
|
"type": "stack",
|
|
1903
1902
|
"gap": "md",
|
|
1904
1903
|
"children": [
|
|
1905
1904
|
{
|
|
1906
|
-
"gap": "sm",
|
|
1907
|
-
"direction": "horizontal",
|
|
1908
|
-
"align": "center",
|
|
1909
1905
|
"type": "stack",
|
|
1906
|
+
"align": "center",
|
|
1910
1907
|
"children": [
|
|
1911
1908
|
{
|
|
1912
1909
|
"name": "alert-triangle",
|
|
1913
1910
|
"type": "icon"
|
|
1914
1911
|
},
|
|
1915
1912
|
{
|
|
1916
|
-
"
|
|
1913
|
+
"content": "Delete Article",
|
|
1917
1914
|
"variant": "h3",
|
|
1918
|
-
"
|
|
1915
|
+
"type": "typography"
|
|
1919
1916
|
}
|
|
1920
|
-
]
|
|
1917
|
+
],
|
|
1918
|
+
"direction": "horizontal",
|
|
1919
|
+
"gap": "sm"
|
|
1921
1920
|
},
|
|
1922
1921
|
{
|
|
1923
1922
|
"type": "divider"
|
|
1924
1923
|
},
|
|
1925
1924
|
{
|
|
1926
|
-
"message": "This action cannot be undone.",
|
|
1927
1925
|
"type": "alert",
|
|
1926
|
+
"message": "This action cannot be undone.",
|
|
1928
1927
|
"variant": "error"
|
|
1929
1928
|
},
|
|
1930
1929
|
{
|
|
1931
1930
|
"gap": "sm",
|
|
1932
|
-
"direction": "horizontal",
|
|
1933
1931
|
"justify": "end",
|
|
1934
1932
|
"type": "stack",
|
|
1935
1933
|
"children": [
|
|
1936
1934
|
{
|
|
1935
|
+
"action": "CANCEL",
|
|
1937
1936
|
"label": "Cancel",
|
|
1938
|
-
"variant": "ghost",
|
|
1939
1937
|
"type": "button",
|
|
1940
|
-
"
|
|
1938
|
+
"variant": "ghost"
|
|
1941
1939
|
},
|
|
1942
1940
|
{
|
|
1943
|
-
"
|
|
1941
|
+
"icon": "check",
|
|
1944
1942
|
"action": "CONFIRM_DELETE",
|
|
1945
|
-
"type": "button",
|
|
1946
1943
|
"label": "Delete",
|
|
1947
|
-
"
|
|
1944
|
+
"type": "button",
|
|
1945
|
+
"variant": "danger"
|
|
1948
1946
|
}
|
|
1949
|
-
]
|
|
1947
|
+
],
|
|
1948
|
+
"direction": "horizontal"
|
|
1950
1949
|
}
|
|
1951
|
-
]
|
|
1950
|
+
],
|
|
1951
|
+
"direction": "vertical"
|
|
1952
1952
|
}
|
|
1953
1953
|
]
|
|
1954
1954
|
]
|
|
@@ -1965,8 +1965,8 @@
|
|
|
1965
1965
|
"@entity.pendingId",
|
|
1966
1966
|
{
|
|
1967
1967
|
"emit": {
|
|
1968
|
-
"
|
|
1969
|
-
"
|
|
1968
|
+
"success": "ArticleDeleted",
|
|
1969
|
+
"failure": "ArticleDeleteFailed"
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
1972
|
],
|
|
@@ -2206,22 +2206,22 @@
|
|
|
2206
2206
|
"render-ui",
|
|
2207
2207
|
"main",
|
|
2208
2208
|
{
|
|
2209
|
-
"
|
|
2210
|
-
"align": "center",
|
|
2209
|
+
"className": "py-12",
|
|
2211
2210
|
"children": [
|
|
2212
2211
|
{
|
|
2213
2212
|
"type": "spinner"
|
|
2214
2213
|
},
|
|
2215
2214
|
{
|
|
2215
|
+
"content": "Loading…",
|
|
2216
2216
|
"variant": "caption",
|
|
2217
2217
|
"type": "typography",
|
|
2218
|
-
"content": "Loading…",
|
|
2219
2218
|
"color": "muted"
|
|
2220
2219
|
}
|
|
2221
2220
|
],
|
|
2222
2221
|
"type": "stack",
|
|
2223
|
-
"
|
|
2224
|
-
"
|
|
2222
|
+
"direction": "vertical",
|
|
2223
|
+
"gap": "md",
|
|
2224
|
+
"align": "center"
|
|
2225
2225
|
}
|
|
2226
2226
|
]
|
|
2227
2227
|
]
|
|
@@ -2235,15 +2235,16 @@
|
|
|
2235
2235
|
"render-ui",
|
|
2236
2236
|
"main",
|
|
2237
2237
|
{
|
|
2238
|
+
"type": "dashboard-layout",
|
|
2238
2239
|
"navItems": [
|
|
2239
2240
|
{
|
|
2241
|
+
"icon": "file-text",
|
|
2240
2242
|
"href": "/articles",
|
|
2241
|
-
"label": "Articles"
|
|
2242
|
-
"icon": "file-text"
|
|
2243
|
+
"label": "Articles"
|
|
2243
2244
|
},
|
|
2244
2245
|
{
|
|
2245
|
-
"href": "/media",
|
|
2246
2246
|
"label": "Media",
|
|
2247
|
+
"href": "/media",
|
|
2247
2248
|
"icon": "image"
|
|
2248
2249
|
},
|
|
2249
2250
|
{
|
|
@@ -2252,99 +2253,98 @@
|
|
|
2252
2253
|
"href": "/categories"
|
|
2253
2254
|
}
|
|
2254
2255
|
],
|
|
2256
|
+
"appName": "CmsApp",
|
|
2255
2257
|
"children": [
|
|
2256
2258
|
{
|
|
2257
|
-
"gap": "lg",
|
|
2258
|
-
"type": "stack",
|
|
2259
|
-
"direction": "vertical",
|
|
2260
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
2261
2259
|
"children": [
|
|
2262
2260
|
{
|
|
2261
|
+
"direction": "horizontal",
|
|
2262
|
+
"justify": "between",
|
|
2263
|
+
"align": "center",
|
|
2264
|
+
"gap": "md",
|
|
2265
|
+
"type": "stack",
|
|
2263
2266
|
"children": [
|
|
2264
2267
|
{
|
|
2265
|
-
"gap": "sm",
|
|
2266
|
-
"type": "stack",
|
|
2267
|
-
"direction": "horizontal",
|
|
2268
|
-
"align": "center",
|
|
2269
2268
|
"children": [
|
|
2270
2269
|
{
|
|
2271
|
-
"
|
|
2272
|
-
"
|
|
2270
|
+
"name": "image",
|
|
2271
|
+
"type": "icon"
|
|
2273
2272
|
},
|
|
2274
2273
|
{
|
|
2274
|
+
"type": "typography",
|
|
2275
2275
|
"variant": "h2",
|
|
2276
|
-
"content": "Media Library"
|
|
2277
|
-
"type": "typography"
|
|
2276
|
+
"content": "Media Library"
|
|
2278
2277
|
}
|
|
2279
|
-
]
|
|
2278
|
+
],
|
|
2279
|
+
"direction": "horizontal",
|
|
2280
|
+
"align": "center",
|
|
2281
|
+
"type": "stack",
|
|
2282
|
+
"gap": "sm"
|
|
2280
2283
|
},
|
|
2281
2284
|
{
|
|
2285
|
+
"type": "stack",
|
|
2286
|
+
"direction": "horizontal",
|
|
2282
2287
|
"children": [
|
|
2283
2288
|
{
|
|
2284
|
-
"
|
|
2289
|
+
"action": "CREATE",
|
|
2285
2290
|
"type": "button",
|
|
2286
2291
|
"variant": "primary",
|
|
2287
|
-
"
|
|
2292
|
+
"icon": "plus",
|
|
2288
2293
|
"label": "Create MediaAsset"
|
|
2289
2294
|
}
|
|
2290
2295
|
],
|
|
2291
|
-
"gap": "sm"
|
|
2292
|
-
"type": "stack",
|
|
2293
|
-
"direction": "horizontal"
|
|
2296
|
+
"gap": "sm"
|
|
2294
2297
|
}
|
|
2295
|
-
]
|
|
2296
|
-
"justify": "between",
|
|
2297
|
-
"type": "stack",
|
|
2298
|
-
"direction": "horizontal",
|
|
2299
|
-
"gap": "md",
|
|
2300
|
-
"align": "center"
|
|
2298
|
+
]
|
|
2301
2299
|
},
|
|
2302
2300
|
{
|
|
2303
2301
|
"type": "divider"
|
|
2304
2302
|
},
|
|
2305
2303
|
{
|
|
2306
|
-
"type": "data-grid",
|
|
2307
|
-
"entity": "@payload.data",
|
|
2308
|
-
"fields": [],
|
|
2309
|
-
"itemActions": [
|
|
2310
|
-
{
|
|
2311
|
-
"label": "View",
|
|
2312
|
-
"variant": "ghost",
|
|
2313
|
-
"event": "VIEW"
|
|
2314
|
-
}
|
|
2315
|
-
],
|
|
2316
2304
|
"columns": [
|
|
2317
2305
|
{
|
|
2318
|
-
"name": "fileName",
|
|
2319
2306
|
"label": "File",
|
|
2320
2307
|
"variant": "h3",
|
|
2308
|
+
"name": "fileName",
|
|
2321
2309
|
"icon": "image"
|
|
2322
2310
|
},
|
|
2323
2311
|
{
|
|
2324
2312
|
"label": "Type",
|
|
2325
|
-
"
|
|
2326
|
-
"
|
|
2313
|
+
"name": "fileType",
|
|
2314
|
+
"variant": "badge"
|
|
2327
2315
|
},
|
|
2328
2316
|
{
|
|
2329
2317
|
"format": "number",
|
|
2330
2318
|
"variant": "body",
|
|
2331
|
-
"
|
|
2332
|
-
"
|
|
2319
|
+
"name": "fileSize",
|
|
2320
|
+
"label": "Size"
|
|
2333
2321
|
},
|
|
2334
2322
|
{
|
|
2335
|
-
"variant": "caption",
|
|
2336
2323
|
"name": "altText",
|
|
2324
|
+
"variant": "caption",
|
|
2337
2325
|
"label": "Alt Text"
|
|
2338
2326
|
}
|
|
2339
2327
|
],
|
|
2340
2328
|
"cols": 3.0,
|
|
2341
|
-
"
|
|
2329
|
+
"entity": "@payload.data",
|
|
2330
|
+
"gap": "md",
|
|
2331
|
+
"type": "data-grid",
|
|
2332
|
+
"fields": [],
|
|
2333
|
+
"itemActions": [
|
|
2334
|
+
{
|
|
2335
|
+
"variant": "ghost",
|
|
2336
|
+
"event": "VIEW",
|
|
2337
|
+
"label": "View"
|
|
2338
|
+
}
|
|
2339
|
+
]
|
|
2342
2340
|
}
|
|
2343
|
-
]
|
|
2341
|
+
],
|
|
2342
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
2343
|
+
"direction": "vertical",
|
|
2344
|
+
"type": "stack",
|
|
2345
|
+
"gap": "lg"
|
|
2344
2346
|
}
|
|
2345
|
-
]
|
|
2346
|
-
"type": "dashboard-layout",
|
|
2347
|
-
"appName": "CmsApp"
|
|
2347
|
+
]
|
|
2348
2348
|
}
|
|
2349
2349
|
]
|
|
2350
2350
|
]
|
|
@@ -2358,36 +2358,36 @@
|
|
|
2358
2358
|
"render-ui",
|
|
2359
2359
|
"main",
|
|
2360
2360
|
{
|
|
2361
|
-
"
|
|
2361
|
+
"type": "stack",
|
|
2362
2362
|
"className": "py-12",
|
|
2363
|
+
"gap": "md",
|
|
2363
2364
|
"direction": "vertical",
|
|
2364
2365
|
"align": "center",
|
|
2365
2366
|
"children": [
|
|
2366
2367
|
{
|
|
2368
|
+
"color": "destructive",
|
|
2367
2369
|
"name": "alert-triangle",
|
|
2368
|
-
"type": "icon"
|
|
2369
|
-
"color": "destructive"
|
|
2370
|
+
"type": "icon"
|
|
2370
2371
|
},
|
|
2371
2372
|
{
|
|
2372
|
-
"type": "typography",
|
|
2373
2373
|
"variant": "h3",
|
|
2374
|
-
"content": "Failed to load mediaasset"
|
|
2374
|
+
"content": "Failed to load mediaasset",
|
|
2375
|
+
"type": "typography"
|
|
2375
2376
|
},
|
|
2376
2377
|
{
|
|
2378
|
+
"type": "typography",
|
|
2377
2379
|
"color": "muted",
|
|
2378
2380
|
"content": "@payload.error",
|
|
2379
|
-
"type": "typography",
|
|
2380
2381
|
"variant": "body"
|
|
2381
2382
|
},
|
|
2382
2383
|
{
|
|
2383
|
-
"variant": "primary",
|
|
2384
|
-
"icon": "rotate-ccw",
|
|
2385
2384
|
"action": "INIT",
|
|
2385
|
+
"icon": "rotate-ccw",
|
|
2386
2386
|
"type": "button",
|
|
2387
|
-
"label": "Retry"
|
|
2387
|
+
"label": "Retry",
|
|
2388
|
+
"variant": "primary"
|
|
2388
2389
|
}
|
|
2389
|
-
]
|
|
2390
|
-
"type": "stack"
|
|
2390
|
+
]
|
|
2391
2391
|
}
|
|
2392
2392
|
]
|
|
2393
2393
|
]
|
|
@@ -2556,8 +2556,8 @@
|
|
|
2556
2556
|
"MediaAsset",
|
|
2557
2557
|
{
|
|
2558
2558
|
"emit": {
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2559
|
+
"success": "MediaAssetLoaded",
|
|
2560
|
+
"failure": "MediaAssetLoadFailed"
|
|
2561
2561
|
}
|
|
2562
2562
|
}
|
|
2563
2563
|
],
|
|
@@ -2565,29 +2565,31 @@
|
|
|
2565
2565
|
"render-ui",
|
|
2566
2566
|
"modal",
|
|
2567
2567
|
{
|
|
2568
|
-
"
|
|
2568
|
+
"direction": "vertical",
|
|
2569
2569
|
"gap": "md",
|
|
2570
|
+
"type": "stack",
|
|
2570
2571
|
"children": [
|
|
2571
2572
|
{
|
|
2572
|
-
"type": "stack",
|
|
2573
2573
|
"gap": "sm",
|
|
2574
|
-
"
|
|
2574
|
+
"type": "stack",
|
|
2575
2575
|
"children": [
|
|
2576
2576
|
{
|
|
2577
|
-
"
|
|
2578
|
-
"
|
|
2577
|
+
"name": "plus-circle",
|
|
2578
|
+
"type": "icon"
|
|
2579
2579
|
},
|
|
2580
2580
|
{
|
|
2581
|
-
"
|
|
2581
|
+
"type": "typography",
|
|
2582
2582
|
"variant": "h3",
|
|
2583
|
-
"
|
|
2583
|
+
"content": "New MediaAsset"
|
|
2584
2584
|
}
|
|
2585
|
-
]
|
|
2585
|
+
],
|
|
2586
|
+
"direction": "horizontal"
|
|
2586
2587
|
},
|
|
2587
2588
|
{
|
|
2588
2589
|
"type": "divider"
|
|
2589
2590
|
},
|
|
2590
2591
|
{
|
|
2592
|
+
"cancelEvent": "CLOSE",
|
|
2591
2593
|
"fields": [
|
|
2592
2594
|
"fileName",
|
|
2593
2595
|
"fileType",
|
|
@@ -2596,13 +2598,11 @@
|
|
|
2596
2598
|
"altText",
|
|
2597
2599
|
"uploadedAt"
|
|
2598
2600
|
],
|
|
2599
|
-
"submitEvent": "SAVE",
|
|
2600
2601
|
"type": "form-section",
|
|
2601
2602
|
"mode": "create",
|
|
2602
|
-
"
|
|
2603
|
+
"submitEvent": "SAVE"
|
|
2603
2604
|
}
|
|
2604
|
-
]
|
|
2605
|
-
"direction": "vertical"
|
|
2605
|
+
]
|
|
2606
2606
|
}
|
|
2607
2607
|
]
|
|
2608
2608
|
]
|
|
@@ -2778,8 +2778,8 @@
|
|
|
2778
2778
|
"MediaAsset",
|
|
2779
2779
|
{
|
|
2780
2780
|
"emit": {
|
|
2781
|
-
"
|
|
2782
|
-
"
|
|
2781
|
+
"success": "MediaAssetLoaded",
|
|
2782
|
+
"failure": "MediaAssetLoadFailed"
|
|
2783
2783
|
},
|
|
2784
2784
|
"id": "@payload.id"
|
|
2785
2785
|
}
|
|
@@ -2788,70 +2788,70 @@
|
|
|
2788
2788
|
"render-ui",
|
|
2789
2789
|
"modal",
|
|
2790
2790
|
{
|
|
2791
|
-
"
|
|
2791
|
+
"gap": "md",
|
|
2792
2792
|
"children": [
|
|
2793
2793
|
{
|
|
2794
2794
|
"direction": "horizontal",
|
|
2795
2795
|
"type": "stack",
|
|
2796
2796
|
"gap": "sm",
|
|
2797
|
+
"align": "center",
|
|
2797
2798
|
"children": [
|
|
2798
2799
|
{
|
|
2799
2800
|
"type": "icon",
|
|
2800
2801
|
"name": "eye"
|
|
2801
2802
|
},
|
|
2802
2803
|
{
|
|
2803
|
-
"content": "@entity.fileName",
|
|
2804
2804
|
"type": "typography",
|
|
2805
|
+
"content": "@entity.fileName",
|
|
2805
2806
|
"variant": "h3"
|
|
2806
2807
|
}
|
|
2807
|
-
]
|
|
2808
|
-
"align": "center"
|
|
2808
|
+
]
|
|
2809
2809
|
},
|
|
2810
2810
|
{
|
|
2811
2811
|
"type": "divider"
|
|
2812
2812
|
},
|
|
2813
2813
|
{
|
|
2814
|
-
"gap": "md",
|
|
2815
2814
|
"children": [
|
|
2816
2815
|
{
|
|
2816
|
+
"content": "File Name",
|
|
2817
2817
|
"type": "typography",
|
|
2818
|
-
"variant": "caption"
|
|
2819
|
-
"content": "File Name"
|
|
2818
|
+
"variant": "caption"
|
|
2820
2819
|
},
|
|
2821
2820
|
{
|
|
2822
|
-
"type": "typography",
|
|
2823
2821
|
"content": "@entity.fileName",
|
|
2824
|
-
"variant": "body"
|
|
2822
|
+
"variant": "body",
|
|
2823
|
+
"type": "typography"
|
|
2825
2824
|
}
|
|
2826
2825
|
],
|
|
2827
2826
|
"type": "stack",
|
|
2827
|
+
"gap": "md",
|
|
2828
2828
|
"direction": "horizontal"
|
|
2829
2829
|
},
|
|
2830
2830
|
{
|
|
2831
|
+
"type": "stack",
|
|
2832
|
+
"gap": "md",
|
|
2833
|
+
"direction": "horizontal",
|
|
2831
2834
|
"children": [
|
|
2832
2835
|
{
|
|
2833
|
-
"content": "File Type",
|
|
2834
2836
|
"type": "typography",
|
|
2837
|
+
"content": "File Type",
|
|
2835
2838
|
"variant": "caption"
|
|
2836
2839
|
},
|
|
2837
2840
|
{
|
|
2838
2841
|
"variant": "body",
|
|
2839
|
-
"
|
|
2840
|
-
"
|
|
2842
|
+
"content": "@entity.fileType",
|
|
2843
|
+
"type": "typography"
|
|
2841
2844
|
}
|
|
2842
|
-
]
|
|
2843
|
-
"gap": "md",
|
|
2844
|
-
"direction": "horizontal",
|
|
2845
|
-
"type": "stack"
|
|
2845
|
+
]
|
|
2846
2846
|
},
|
|
2847
2847
|
{
|
|
2848
|
-
"
|
|
2848
|
+
"gap": "md",
|
|
2849
2849
|
"direction": "horizontal",
|
|
2850
2850
|
"children": [
|
|
2851
2851
|
{
|
|
2852
|
+
"type": "typography",
|
|
2852
2853
|
"variant": "caption",
|
|
2853
|
-
"content": "File Size"
|
|
2854
|
-
"type": "typography"
|
|
2854
|
+
"content": "File Size"
|
|
2855
2855
|
},
|
|
2856
2856
|
{
|
|
2857
2857
|
"type": "typography",
|
|
@@ -2859,11 +2859,12 @@
|
|
|
2859
2859
|
"content": "@entity.fileSize"
|
|
2860
2860
|
}
|
|
2861
2861
|
],
|
|
2862
|
-
"
|
|
2862
|
+
"type": "stack"
|
|
2863
2863
|
},
|
|
2864
2864
|
{
|
|
2865
|
-
"direction": "horizontal",
|
|
2866
2865
|
"gap": "md",
|
|
2866
|
+
"type": "stack",
|
|
2867
|
+
"direction": "horizontal",
|
|
2867
2868
|
"children": [
|
|
2868
2869
|
{
|
|
2869
2870
|
"content": "Url",
|
|
@@ -2871,33 +2872,31 @@
|
|
|
2871
2872
|
"variant": "caption"
|
|
2872
2873
|
},
|
|
2873
2874
|
{
|
|
2874
|
-
"content": "@entity.url",
|
|
2875
2875
|
"variant": "body",
|
|
2876
|
+
"content": "@entity.url",
|
|
2876
2877
|
"type": "typography"
|
|
2877
2878
|
}
|
|
2878
|
-
]
|
|
2879
|
-
"type": "stack"
|
|
2879
|
+
]
|
|
2880
2880
|
},
|
|
2881
2881
|
{
|
|
2882
|
+
"type": "stack",
|
|
2883
|
+
"gap": "md",
|
|
2882
2884
|
"children": [
|
|
2883
2885
|
{
|
|
2884
|
-
"content": "Alt Text",
|
|
2885
2886
|
"type": "typography",
|
|
2886
|
-
"variant": "caption"
|
|
2887
|
+
"variant": "caption",
|
|
2888
|
+
"content": "Alt Text"
|
|
2887
2889
|
},
|
|
2888
2890
|
{
|
|
2891
|
+
"content": "@entity.altText",
|
|
2889
2892
|
"variant": "body",
|
|
2890
|
-
"type": "typography"
|
|
2891
|
-
"content": "@entity.altText"
|
|
2893
|
+
"type": "typography"
|
|
2892
2894
|
}
|
|
2893
2895
|
],
|
|
2894
|
-
"direction": "horizontal"
|
|
2895
|
-
"type": "stack",
|
|
2896
|
-
"gap": "md"
|
|
2896
|
+
"direction": "horizontal"
|
|
2897
2897
|
},
|
|
2898
2898
|
{
|
|
2899
2899
|
"type": "stack",
|
|
2900
|
-
"gap": "md",
|
|
2901
2900
|
"direction": "horizontal",
|
|
2902
2901
|
"children": [
|
|
2903
2902
|
{
|
|
@@ -2906,32 +2905,33 @@
|
|
|
2906
2905
|
"type": "typography"
|
|
2907
2906
|
},
|
|
2908
2907
|
{
|
|
2909
|
-
"
|
|
2908
|
+
"type": "typography",
|
|
2910
2909
|
"variant": "body",
|
|
2911
|
-
"
|
|
2910
|
+
"content": "@entity.uploadedAt"
|
|
2912
2911
|
}
|
|
2913
|
-
]
|
|
2912
|
+
],
|
|
2913
|
+
"gap": "md"
|
|
2914
2914
|
},
|
|
2915
2915
|
{
|
|
2916
2916
|
"type": "divider"
|
|
2917
2917
|
},
|
|
2918
2918
|
{
|
|
2919
|
-
"
|
|
2920
|
-
"
|
|
2919
|
+
"justify": "end",
|
|
2920
|
+
"gap": "sm",
|
|
2921
2921
|
"children": [
|
|
2922
2922
|
{
|
|
2923
|
-
"type": "button",
|
|
2924
|
-
"label": "Close",
|
|
2925
2923
|
"action": "CLOSE",
|
|
2924
|
+
"label": "Close",
|
|
2925
|
+
"type": "button",
|
|
2926
2926
|
"variant": "ghost"
|
|
2927
2927
|
}
|
|
2928
2928
|
],
|
|
2929
|
-
"
|
|
2930
|
-
"
|
|
2929
|
+
"direction": "horizontal",
|
|
2930
|
+
"type": "stack"
|
|
2931
2931
|
}
|
|
2932
2932
|
],
|
|
2933
|
-
"
|
|
2934
|
-
"
|
|
2933
|
+
"type": "stack",
|
|
2934
|
+
"direction": "vertical"
|
|
2935
2935
|
}
|
|
2936
2936
|
]
|
|
2937
2937
|
]
|
|
@@ -3157,8 +3157,8 @@
|
|
|
3157
3157
|
"Category",
|
|
3158
3158
|
{
|
|
3159
3159
|
"emit": {
|
|
3160
|
-
"
|
|
3161
|
-
"
|
|
3160
|
+
"success": "CategoryLoaded",
|
|
3161
|
+
"failure": "CategoryLoadFailed"
|
|
3162
3162
|
}
|
|
3163
3163
|
}
|
|
3164
3164
|
],
|
|
@@ -3166,6 +3166,7 @@
|
|
|
3166
3166
|
"render-ui",
|
|
3167
3167
|
"main",
|
|
3168
3168
|
{
|
|
3169
|
+
"gap": "md",
|
|
3169
3170
|
"className": "py-12",
|
|
3170
3171
|
"children": [
|
|
3171
3172
|
{
|
|
@@ -3174,12 +3175,11 @@
|
|
|
3174
3175
|
{
|
|
3175
3176
|
"color": "muted",
|
|
3176
3177
|
"type": "typography",
|
|
3177
|
-
"
|
|
3178
|
-
"
|
|
3178
|
+
"variant": "caption",
|
|
3179
|
+
"content": "Loading…"
|
|
3179
3180
|
}
|
|
3180
3181
|
],
|
|
3181
3182
|
"direction": "vertical",
|
|
3182
|
-
"gap": "md",
|
|
3183
3183
|
"type": "stack",
|
|
3184
3184
|
"align": "center"
|
|
3185
3185
|
}
|
|
@@ -3195,17 +3195,16 @@
|
|
|
3195
3195
|
"render-ui",
|
|
3196
3196
|
"main",
|
|
3197
3197
|
{
|
|
3198
|
-
"appName": "CmsApp",
|
|
3199
3198
|
"navItems": [
|
|
3200
3199
|
{
|
|
3201
|
-
"icon": "file-text",
|
|
3202
3200
|
"label": "Articles",
|
|
3203
|
-
"href": "/articles"
|
|
3201
|
+
"href": "/articles",
|
|
3202
|
+
"icon": "file-text"
|
|
3204
3203
|
},
|
|
3205
3204
|
{
|
|
3205
|
+
"icon": "image",
|
|
3206
3206
|
"label": "Media",
|
|
3207
|
-
"href": "/media"
|
|
3208
|
-
"icon": "image"
|
|
3207
|
+
"href": "/media"
|
|
3209
3208
|
},
|
|
3210
3209
|
{
|
|
3211
3210
|
"label": "Categories",
|
|
@@ -3218,52 +3217,74 @@
|
|
|
3218
3217
|
"type": "stack",
|
|
3219
3218
|
"direction": "vertical",
|
|
3220
3219
|
"gap": "lg",
|
|
3221
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
3222
3220
|
"children": [
|
|
3223
3221
|
{
|
|
3224
|
-
"type": "stack",
|
|
3225
3222
|
"gap": "md",
|
|
3226
|
-
"justify": "between",
|
|
3227
3223
|
"align": "center",
|
|
3224
|
+
"direction": "horizontal",
|
|
3228
3225
|
"children": [
|
|
3229
3226
|
{
|
|
3227
|
+
"gap": "sm",
|
|
3228
|
+
"direction": "horizontal",
|
|
3229
|
+
"type": "stack",
|
|
3230
|
+
"align": "center",
|
|
3230
3231
|
"children": [
|
|
3231
3232
|
{
|
|
3232
|
-
"
|
|
3233
|
-
"
|
|
3233
|
+
"type": "icon",
|
|
3234
|
+
"name": "folder"
|
|
3234
3235
|
},
|
|
3235
3236
|
{
|
|
3237
|
+
"variant": "h2",
|
|
3236
3238
|
"type": "typography",
|
|
3237
|
-
"content": "Categories"
|
|
3238
|
-
"variant": "h2"
|
|
3239
|
+
"content": "Categories"
|
|
3239
3240
|
}
|
|
3240
|
-
]
|
|
3241
|
-
"direction": "horizontal",
|
|
3242
|
-
"type": "stack",
|
|
3243
|
-
"gap": "sm",
|
|
3244
|
-
"align": "center"
|
|
3241
|
+
]
|
|
3245
3242
|
},
|
|
3246
3243
|
{
|
|
3247
|
-
"type": "stack",
|
|
3248
|
-
"gap": "sm",
|
|
3249
|
-
"direction": "horizontal",
|
|
3250
3244
|
"children": [
|
|
3251
3245
|
{
|
|
3252
|
-
"variant": "primary",
|
|
3253
|
-
"label": "Create Category",
|
|
3254
|
-
"icon": "plus",
|
|
3255
3246
|
"action": "CREATE",
|
|
3256
|
-
"type": "button"
|
|
3247
|
+
"type": "button",
|
|
3248
|
+
"icon": "plus",
|
|
3249
|
+
"label": "Create Category",
|
|
3250
|
+
"variant": "primary"
|
|
3257
3251
|
}
|
|
3258
|
-
]
|
|
3252
|
+
],
|
|
3253
|
+
"type": "stack",
|
|
3254
|
+
"direction": "horizontal",
|
|
3255
|
+
"gap": "sm"
|
|
3259
3256
|
}
|
|
3260
3257
|
],
|
|
3261
|
-
"
|
|
3258
|
+
"type": "stack",
|
|
3259
|
+
"justify": "between"
|
|
3262
3260
|
},
|
|
3263
3261
|
{
|
|
3264
3262
|
"type": "divider"
|
|
3265
3263
|
},
|
|
3266
3264
|
{
|
|
3265
|
+
"variant": "card",
|
|
3266
|
+
"type": "data-list",
|
|
3267
|
+
"columns": [
|
|
3268
|
+
{
|
|
3269
|
+
"name": "name",
|
|
3270
|
+
"variant": "h3",
|
|
3271
|
+
"icon": "folder"
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
"name": "articleCount",
|
|
3275
|
+
"label": "Articles",
|
|
3276
|
+
"variant": "badge",
|
|
3277
|
+
"format": "number"
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"variant": "body",
|
|
3281
|
+
"name": "description"
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"variant": "caption",
|
|
3285
|
+
"name": "slug"
|
|
3286
|
+
}
|
|
3287
|
+
],
|
|
3267
3288
|
"itemActions": [
|
|
3268
3289
|
{
|
|
3269
3290
|
"variant": "ghost",
|
|
@@ -3272,45 +3293,24 @@
|
|
|
3272
3293
|
},
|
|
3273
3294
|
{
|
|
3274
3295
|
"label": "Edit",
|
|
3275
|
-
"
|
|
3276
|
-
"
|
|
3296
|
+
"event": "EDIT",
|
|
3297
|
+
"variant": "ghost"
|
|
3277
3298
|
},
|
|
3278
3299
|
{
|
|
3279
|
-
"
|
|
3300
|
+
"variant": "danger",
|
|
3280
3301
|
"event": "DELETE",
|
|
3281
|
-
"
|
|
3302
|
+
"label": "Delete"
|
|
3282
3303
|
}
|
|
3283
3304
|
],
|
|
3284
|
-
"gap": "sm",
|
|
3285
|
-
"type": "data-list",
|
|
3286
|
-
"variant": "card",
|
|
3287
|
-
"fields": [],
|
|
3288
3305
|
"entity": "@payload.data",
|
|
3289
|
-
"
|
|
3290
|
-
|
|
3291
|
-
"icon": "folder",
|
|
3292
|
-
"name": "name",
|
|
3293
|
-
"variant": "h3"
|
|
3294
|
-
},
|
|
3295
|
-
{
|
|
3296
|
-
"format": "number",
|
|
3297
|
-
"name": "articleCount",
|
|
3298
|
-
"label": "Articles",
|
|
3299
|
-
"variant": "badge"
|
|
3300
|
-
},
|
|
3301
|
-
{
|
|
3302
|
-
"name": "description",
|
|
3303
|
-
"variant": "body"
|
|
3304
|
-
},
|
|
3305
|
-
{
|
|
3306
|
-
"name": "slug",
|
|
3307
|
-
"variant": "caption"
|
|
3308
|
-
}
|
|
3309
|
-
]
|
|
3306
|
+
"gap": "sm",
|
|
3307
|
+
"fields": []
|
|
3310
3308
|
}
|
|
3311
|
-
]
|
|
3309
|
+
],
|
|
3310
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
3312
3311
|
}
|
|
3313
3312
|
],
|
|
3313
|
+
"appName": "CmsApp",
|
|
3314
3314
|
"type": "dashboard-layout"
|
|
3315
3315
|
}
|
|
3316
3316
|
]
|
|
@@ -3325,36 +3325,36 @@
|
|
|
3325
3325
|
"render-ui",
|
|
3326
3326
|
"main",
|
|
3327
3327
|
{
|
|
3328
|
+
"direction": "vertical",
|
|
3328
3329
|
"type": "stack",
|
|
3329
3330
|
"align": "center",
|
|
3331
|
+
"className": "py-12",
|
|
3330
3332
|
"children": [
|
|
3331
3333
|
{
|
|
3332
|
-
"type": "icon",
|
|
3333
3334
|
"color": "destructive",
|
|
3335
|
+
"type": "icon",
|
|
3334
3336
|
"name": "alert-triangle"
|
|
3335
3337
|
},
|
|
3336
3338
|
{
|
|
3337
|
-
"variant": "h3",
|
|
3338
3339
|
"type": "typography",
|
|
3340
|
+
"variant": "h3",
|
|
3339
3341
|
"content": "Failed to load category"
|
|
3340
3342
|
},
|
|
3341
3343
|
{
|
|
3342
|
-
"color": "muted",
|
|
3343
|
-
"content": "@payload.error",
|
|
3344
3344
|
"type": "typography",
|
|
3345
|
-
"variant": "body"
|
|
3345
|
+
"variant": "body",
|
|
3346
|
+
"color": "muted",
|
|
3347
|
+
"content": "@payload.error"
|
|
3346
3348
|
},
|
|
3347
3349
|
{
|
|
3348
3350
|
"label": "Retry",
|
|
3351
|
+
"type": "button",
|
|
3349
3352
|
"variant": "primary",
|
|
3350
3353
|
"icon": "rotate-ccw",
|
|
3351
|
-
"type": "button",
|
|
3352
3354
|
"action": "INIT"
|
|
3353
3355
|
}
|
|
3354
3356
|
],
|
|
3355
|
-
"
|
|
3356
|
-
"gap": "md",
|
|
3357
|
-
"className": "py-12"
|
|
3357
|
+
"gap": "md"
|
|
3358
3358
|
}
|
|
3359
3359
|
]
|
|
3360
3360
|
]
|
|
@@ -3539,43 +3539,43 @@
|
|
|
3539
3539
|
"render-ui",
|
|
3540
3540
|
"modal",
|
|
3541
3541
|
{
|
|
3542
|
-
"type": "stack",
|
|
3543
|
-
"direction": "vertical",
|
|
3544
|
-
"gap": "md",
|
|
3545
3542
|
"children": [
|
|
3546
3543
|
{
|
|
3547
|
-
"type": "stack",
|
|
3548
|
-
"direction": "horizontal",
|
|
3549
|
-
"gap": "sm",
|
|
3550
3544
|
"children": [
|
|
3551
3545
|
{
|
|
3552
3546
|
"type": "icon",
|
|
3553
3547
|
"name": "plus-circle"
|
|
3554
3548
|
},
|
|
3555
3549
|
{
|
|
3550
|
+
"type": "typography",
|
|
3556
3551
|
"content": "Create Category",
|
|
3557
|
-
"variant": "h3"
|
|
3558
|
-
"type": "typography"
|
|
3552
|
+
"variant": "h3"
|
|
3559
3553
|
}
|
|
3560
|
-
]
|
|
3554
|
+
],
|
|
3555
|
+
"gap": "sm",
|
|
3556
|
+
"type": "stack",
|
|
3557
|
+
"direction": "horizontal"
|
|
3561
3558
|
},
|
|
3562
3559
|
{
|
|
3563
3560
|
"type": "divider"
|
|
3564
3561
|
},
|
|
3565
3562
|
{
|
|
3566
|
-
"mode": "create",
|
|
3567
|
-
"submitEvent": "SAVE",
|
|
3568
3563
|
"cancelEvent": "CLOSE",
|
|
3569
|
-
"type": "form-section",
|
|
3570
3564
|
"fields": [
|
|
3571
3565
|
"name",
|
|
3572
3566
|
"slug",
|
|
3573
3567
|
"description",
|
|
3574
3568
|
"parentCategory",
|
|
3575
3569
|
"articleCount"
|
|
3576
|
-
]
|
|
3570
|
+
],
|
|
3571
|
+
"mode": "create",
|
|
3572
|
+
"submitEvent": "SAVE",
|
|
3573
|
+
"type": "form-section"
|
|
3577
3574
|
}
|
|
3578
|
-
]
|
|
3575
|
+
],
|
|
3576
|
+
"type": "stack",
|
|
3577
|
+
"direction": "vertical",
|
|
3578
|
+
"gap": "md"
|
|
3579
3579
|
}
|
|
3580
3580
|
]
|
|
3581
3581
|
]
|
|
@@ -3819,11 +3819,11 @@
|
|
|
3819
3819
|
"fetch",
|
|
3820
3820
|
"Category",
|
|
3821
3821
|
{
|
|
3822
|
-
"id": "@payload.id",
|
|
3823
3822
|
"emit": {
|
|
3824
|
-
"
|
|
3825
|
-
"
|
|
3826
|
-
}
|
|
3823
|
+
"success": "CategoryLoaded",
|
|
3824
|
+
"failure": "CategoryLoadFailed"
|
|
3825
|
+
},
|
|
3826
|
+
"id": "@payload.id"
|
|
3827
3827
|
}
|
|
3828
3828
|
],
|
|
3829
3829
|
[
|
|
@@ -3831,32 +3831,27 @@
|
|
|
3831
3831
|
"modal",
|
|
3832
3832
|
{
|
|
3833
3833
|
"direction": "vertical",
|
|
3834
|
-
"type": "stack",
|
|
3835
|
-
"gap": "md",
|
|
3836
3834
|
"children": [
|
|
3837
3835
|
{
|
|
3838
|
-
"type": "stack",
|
|
3839
3836
|
"direction": "horizontal",
|
|
3840
3837
|
"gap": "sm",
|
|
3841
3838
|
"children": [
|
|
3842
3839
|
{
|
|
3843
|
-
"
|
|
3844
|
-
"
|
|
3840
|
+
"type": "icon",
|
|
3841
|
+
"name": "edit"
|
|
3845
3842
|
},
|
|
3846
3843
|
{
|
|
3847
3844
|
"variant": "h3",
|
|
3848
|
-
"
|
|
3849
|
-
"
|
|
3845
|
+
"content": "Edit Category",
|
|
3846
|
+
"type": "typography"
|
|
3850
3847
|
}
|
|
3851
|
-
]
|
|
3848
|
+
],
|
|
3849
|
+
"type": "stack"
|
|
3852
3850
|
},
|
|
3853
3851
|
{
|
|
3854
3852
|
"type": "divider"
|
|
3855
3853
|
},
|
|
3856
3854
|
{
|
|
3857
|
-
"mode": "edit",
|
|
3858
|
-
"submitEvent": "SAVE",
|
|
3859
|
-
"type": "form-section",
|
|
3860
3855
|
"cancelEvent": "CLOSE",
|
|
3861
3856
|
"fields": [
|
|
3862
3857
|
"name",
|
|
@@ -3865,9 +3860,14 @@
|
|
|
3865
3860
|
"parentCategory",
|
|
3866
3861
|
"articleCount"
|
|
3867
3862
|
],
|
|
3863
|
+
"mode": "edit",
|
|
3864
|
+
"type": "form-section",
|
|
3865
|
+
"submitEvent": "SAVE",
|
|
3868
3866
|
"entity": "@payload.row"
|
|
3869
3867
|
}
|
|
3870
|
-
]
|
|
3868
|
+
],
|
|
3869
|
+
"type": "stack",
|
|
3870
|
+
"gap": "md"
|
|
3871
3871
|
}
|
|
3872
3872
|
]
|
|
3873
3873
|
]
|
|
@@ -4046,43 +4046,41 @@
|
|
|
4046
4046
|
"fetch",
|
|
4047
4047
|
"Category",
|
|
4048
4048
|
{
|
|
4049
|
+
"id": "@payload.id",
|
|
4049
4050
|
"emit": {
|
|
4050
|
-
"
|
|
4051
|
-
"
|
|
4052
|
-
}
|
|
4053
|
-
"id": "@payload.id"
|
|
4051
|
+
"failure": "CategoryLoadFailed",
|
|
4052
|
+
"success": "CategoryLoaded"
|
|
4053
|
+
}
|
|
4054
4054
|
}
|
|
4055
4055
|
],
|
|
4056
4056
|
[
|
|
4057
4057
|
"render-ui",
|
|
4058
4058
|
"modal",
|
|
4059
4059
|
{
|
|
4060
|
+
"gap": "md",
|
|
4060
4061
|
"direction": "vertical",
|
|
4061
4062
|
"children": [
|
|
4062
4063
|
{
|
|
4063
|
-
"
|
|
4064
|
+
"direction": "horizontal",
|
|
4065
|
+
"gap": "sm",
|
|
4066
|
+
"align": "center",
|
|
4064
4067
|
"children": [
|
|
4065
4068
|
{
|
|
4066
4069
|
"type": "icon",
|
|
4067
4070
|
"name": "eye"
|
|
4068
4071
|
},
|
|
4069
4072
|
{
|
|
4070
|
-
"content": "@entity.name",
|
|
4071
4073
|
"type": "typography",
|
|
4072
|
-
"variant": "h3"
|
|
4074
|
+
"variant": "h3",
|
|
4075
|
+
"content": "@entity.name"
|
|
4073
4076
|
}
|
|
4074
4077
|
],
|
|
4075
|
-
"
|
|
4076
|
-
"gap": "sm",
|
|
4077
|
-
"align": "center"
|
|
4078
|
+
"type": "stack"
|
|
4078
4079
|
},
|
|
4079
4080
|
{
|
|
4080
4081
|
"type": "divider"
|
|
4081
4082
|
},
|
|
4082
4083
|
{
|
|
4083
|
-
"gap": "md",
|
|
4084
|
-
"type": "stack",
|
|
4085
|
-
"direction": "horizontal",
|
|
4086
4084
|
"children": [
|
|
4087
4085
|
{
|
|
4088
4086
|
"content": "Name",
|
|
@@ -4090,47 +4088,51 @@
|
|
|
4090
4088
|
"variant": "caption"
|
|
4091
4089
|
},
|
|
4092
4090
|
{
|
|
4093
|
-
"
|
|
4091
|
+
"content": "@entity.name",
|
|
4094
4092
|
"type": "typography",
|
|
4095
|
-
"
|
|
4093
|
+
"variant": "body"
|
|
4096
4094
|
}
|
|
4097
|
-
]
|
|
4095
|
+
],
|
|
4096
|
+
"gap": "md",
|
|
4097
|
+
"type": "stack",
|
|
4098
|
+
"direction": "horizontal"
|
|
4098
4099
|
},
|
|
4099
4100
|
{
|
|
4100
|
-
"type": "stack",
|
|
4101
|
-
"direction": "horizontal",
|
|
4102
4101
|
"children": [
|
|
4103
4102
|
{
|
|
4104
|
-
"content": "Slug",
|
|
4105
4103
|
"variant": "caption",
|
|
4104
|
+
"content": "Slug",
|
|
4106
4105
|
"type": "typography"
|
|
4107
4106
|
},
|
|
4108
4107
|
{
|
|
4109
|
-
"content": "@entity.slug",
|
|
4110
4108
|
"variant": "body",
|
|
4109
|
+
"content": "@entity.slug",
|
|
4111
4110
|
"type": "typography"
|
|
4112
4111
|
}
|
|
4113
4112
|
],
|
|
4114
|
-
"
|
|
4113
|
+
"type": "stack",
|
|
4114
|
+
"gap": "md",
|
|
4115
|
+
"direction": "horizontal"
|
|
4115
4116
|
},
|
|
4116
4117
|
{
|
|
4117
|
-
"
|
|
4118
|
+
"gap": "md",
|
|
4118
4119
|
"children": [
|
|
4119
4120
|
{
|
|
4121
|
+
"type": "typography",
|
|
4120
4122
|
"variant": "caption",
|
|
4121
|
-
"content": "Description"
|
|
4122
|
-
"type": "typography"
|
|
4123
|
+
"content": "Description"
|
|
4123
4124
|
},
|
|
4124
4125
|
{
|
|
4125
|
-
"content": "@entity.description",
|
|
4126
4126
|
"variant": "body",
|
|
4127
|
-
"type": "typography"
|
|
4127
|
+
"type": "typography",
|
|
4128
|
+
"content": "@entity.description"
|
|
4128
4129
|
}
|
|
4129
4130
|
],
|
|
4130
|
-
"
|
|
4131
|
-
"
|
|
4131
|
+
"type": "stack",
|
|
4132
|
+
"direction": "horizontal"
|
|
4132
4133
|
},
|
|
4133
4134
|
{
|
|
4135
|
+
"direction": "horizontal",
|
|
4134
4136
|
"children": [
|
|
4135
4137
|
{
|
|
4136
4138
|
"variant": "caption",
|
|
@@ -4138,59 +4140,57 @@
|
|
|
4138
4140
|
"type": "typography"
|
|
4139
4141
|
},
|
|
4140
4142
|
{
|
|
4141
|
-
"variant": "body",
|
|
4142
4143
|
"content": "@entity.parentCategory",
|
|
4143
|
-
"type": "typography"
|
|
4144
|
+
"type": "typography",
|
|
4145
|
+
"variant": "body"
|
|
4144
4146
|
}
|
|
4145
4147
|
],
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4148
|
-
"type": "stack"
|
|
4148
|
+
"type": "stack",
|
|
4149
|
+
"gap": "md"
|
|
4149
4150
|
},
|
|
4150
4151
|
{
|
|
4151
4152
|
"type": "stack",
|
|
4152
|
-
"direction": "horizontal",
|
|
4153
4153
|
"gap": "md",
|
|
4154
4154
|
"children": [
|
|
4155
4155
|
{
|
|
4156
4156
|
"type": "typography",
|
|
4157
|
-
"
|
|
4158
|
-
"
|
|
4157
|
+
"variant": "caption",
|
|
4158
|
+
"content": "Article Count"
|
|
4159
4159
|
},
|
|
4160
4160
|
{
|
|
4161
|
-
"
|
|
4161
|
+
"variant": "body",
|
|
4162
4162
|
"content": "@entity.articleCount",
|
|
4163
|
-
"
|
|
4163
|
+
"type": "typography"
|
|
4164
4164
|
}
|
|
4165
|
-
]
|
|
4165
|
+
],
|
|
4166
|
+
"direction": "horizontal"
|
|
4166
4167
|
},
|
|
4167
4168
|
{
|
|
4168
4169
|
"type": "divider"
|
|
4169
4170
|
},
|
|
4170
4171
|
{
|
|
4172
|
+
"type": "stack",
|
|
4173
|
+
"gap": "sm",
|
|
4171
4174
|
"justify": "end",
|
|
4175
|
+
"direction": "horizontal",
|
|
4172
4176
|
"children": [
|
|
4173
4177
|
{
|
|
4174
|
-
"
|
|
4178
|
+
"variant": "primary",
|
|
4175
4179
|
"label": "Edit",
|
|
4176
4180
|
"action": "EDIT",
|
|
4177
|
-
"
|
|
4181
|
+
"type": "button",
|
|
4178
4182
|
"icon": "edit"
|
|
4179
4183
|
},
|
|
4180
4184
|
{
|
|
4181
|
-
"label": "Close",
|
|
4182
|
-
"action": "CLOSE",
|
|
4183
4185
|
"type": "button",
|
|
4184
|
-
"variant": "ghost"
|
|
4186
|
+
"variant": "ghost",
|
|
4187
|
+
"label": "Close",
|
|
4188
|
+
"action": "CLOSE"
|
|
4185
4189
|
}
|
|
4186
|
-
]
|
|
4187
|
-
"type": "stack",
|
|
4188
|
-
"direction": "horizontal",
|
|
4189
|
-
"gap": "sm"
|
|
4190
|
+
]
|
|
4190
4191
|
}
|
|
4191
4192
|
],
|
|
4192
|
-
"type": "stack"
|
|
4193
|
-
"gap": "md"
|
|
4193
|
+
"type": "stack"
|
|
4194
4194
|
}
|
|
4195
4195
|
]
|
|
4196
4196
|
]
|
|
@@ -4417,67 +4417,67 @@
|
|
|
4417
4417
|
"fetch",
|
|
4418
4418
|
"Category",
|
|
4419
4419
|
{
|
|
4420
|
-
"id": "@payload.id",
|
|
4421
4420
|
"emit": {
|
|
4422
|
-
"
|
|
4423
|
-
"
|
|
4424
|
-
}
|
|
4421
|
+
"failure": "CategoryLoadFailed",
|
|
4422
|
+
"success": "CategoryLoaded"
|
|
4423
|
+
},
|
|
4424
|
+
"id": "@payload.id"
|
|
4425
4425
|
}
|
|
4426
4426
|
],
|
|
4427
4427
|
[
|
|
4428
4428
|
"render-ui",
|
|
4429
4429
|
"modal",
|
|
4430
4430
|
{
|
|
4431
|
+
"type": "stack",
|
|
4432
|
+
"direction": "vertical",
|
|
4431
4433
|
"children": [
|
|
4432
4434
|
{
|
|
4433
|
-
"
|
|
4435
|
+
"gap": "sm",
|
|
4434
4436
|
"type": "stack",
|
|
4435
4437
|
"direction": "horizontal",
|
|
4436
|
-
"gap": "sm",
|
|
4437
4438
|
"children": [
|
|
4438
4439
|
{
|
|
4439
4440
|
"type": "icon",
|
|
4440
4441
|
"name": "alert-triangle"
|
|
4441
4442
|
},
|
|
4442
4443
|
{
|
|
4443
|
-
"content": "Delete Category",
|
|
4444
4444
|
"variant": "h3",
|
|
4445
|
-
"type": "typography"
|
|
4445
|
+
"type": "typography",
|
|
4446
|
+
"content": "Delete Category"
|
|
4446
4447
|
}
|
|
4447
|
-
]
|
|
4448
|
+
],
|
|
4449
|
+
"align": "center"
|
|
4448
4450
|
},
|
|
4449
4451
|
{
|
|
4450
4452
|
"type": "divider"
|
|
4451
4453
|
},
|
|
4452
4454
|
{
|
|
4453
4455
|
"type": "alert",
|
|
4454
|
-
"
|
|
4455
|
-
"
|
|
4456
|
+
"variant": "error",
|
|
4457
|
+
"message": "This action cannot be undone."
|
|
4456
4458
|
},
|
|
4457
4459
|
{
|
|
4458
4460
|
"direction": "horizontal",
|
|
4459
|
-
"gap": "sm",
|
|
4460
4461
|
"justify": "end",
|
|
4461
4462
|
"type": "stack",
|
|
4462
4463
|
"children": [
|
|
4463
4464
|
{
|
|
4464
4465
|
"label": "Cancel",
|
|
4466
|
+
"action": "CANCEL",
|
|
4465
4467
|
"type": "button",
|
|
4466
|
-
"variant": "ghost"
|
|
4467
|
-
"action": "CANCEL"
|
|
4468
|
+
"variant": "ghost"
|
|
4468
4469
|
},
|
|
4469
4470
|
{
|
|
4470
|
-
"
|
|
4471
|
-
"variant": "danger",
|
|
4472
|
-
"type": "button",
|
|
4471
|
+
"action": "CONFIRM_DELETE",
|
|
4473
4472
|
"label": "Delete",
|
|
4474
|
-
"
|
|
4473
|
+
"type": "button",
|
|
4474
|
+
"icon": "check",
|
|
4475
|
+
"variant": "danger"
|
|
4475
4476
|
}
|
|
4476
|
-
]
|
|
4477
|
+
],
|
|
4478
|
+
"gap": "sm"
|
|
4477
4479
|
}
|
|
4478
4480
|
],
|
|
4479
|
-
"type": "stack",
|
|
4480
|
-
"direction": "vertical",
|
|
4481
4481
|
"gap": "md"
|
|
4482
4482
|
}
|
|
4483
4483
|
]
|