@almadar/std 7.4.7 → 7.4.8
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/atoms/std-agent-activity-log.orb +45 -45
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
- package/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
- package/behaviors/registry/atoms/std-agent-completion.orb +92 -92
- package/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
- package/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
- package/behaviors/registry/atoms/std-agent-memory.orb +72 -72
- package/behaviors/registry/atoms/std-agent-provider.orb +106 -106
- package/behaviors/registry/atoms/std-agent-search.orb +38 -38
- package/behaviors/registry/atoms/std-agent-session.orb +70 -70
- package/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
- package/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
- package/behaviors/registry/atoms/std-async.orb +224 -132
- package/behaviors/registry/atoms/std-autoregressive.orb +60 -60
- package/behaviors/registry/atoms/std-browse.orb +59 -59
- package/behaviors/registry/atoms/std-cache-aside.orb +322 -306
- package/behaviors/registry/atoms/std-calendar.orb +166 -166
- package/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
- package/behaviors/registry/atoms/std-collision.orb +133 -133
- package/behaviors/registry/atoms/std-combat-log.orb +9 -9
- package/behaviors/registry/atoms/std-combat.orb +63 -63
- package/behaviors/registry/atoms/std-confirmation.orb +21 -21
- package/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
- package/behaviors/registry/atoms/std-display.orb +366 -366
- package/behaviors/registry/atoms/std-drawer.orb +119 -119
- package/behaviors/registry/atoms/std-filter.orb +94 -94
- package/behaviors/registry/atoms/std-flip-card.orb +145 -145
- package/behaviors/registry/atoms/std-gallery.orb +51 -51
- package/behaviors/registry/atoms/std-game-audio.orb +88 -88
- package/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
- package/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
- package/behaviors/registry/atoms/std-game-hud.orb +15 -15
- package/behaviors/registry/atoms/std-game-menu.orb +21 -21
- package/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
- package/behaviors/registry/atoms/std-gameflow.orb +44 -44
- package/behaviors/registry/atoms/std-input.orb +107 -107
- package/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
- package/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
- package/behaviors/registry/atoms/std-loading.orb +82 -82
- package/behaviors/registry/atoms/std-modal.orb +11 -11
- package/behaviors/registry/atoms/std-movement.orb +285 -285
- package/behaviors/registry/atoms/std-notification.orb +60 -60
- package/behaviors/registry/atoms/std-overworld.orb +111 -111
- package/behaviors/registry/atoms/std-pagination.orb +45 -45
- package/behaviors/registry/atoms/std-physics2d.orb +77 -77
- package/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
- package/behaviors/registry/atoms/std-push.orb +44 -44
- package/behaviors/registry/atoms/std-quest.orb +314 -314
- package/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
- package/behaviors/registry/atoms/std-rating.orb +45 -45
- package/behaviors/registry/atoms/std-related.orb +38 -38
- package/behaviors/registry/atoms/std-score-board.orb +11 -11
- package/behaviors/registry/atoms/std-score.orb +125 -125
- package/behaviors/registry/atoms/std-search.orb +77 -77
- package/behaviors/registry/atoms/std-selection.orb +184 -184
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
- package/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
- package/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
- package/behaviors/registry/atoms/std-service-email.orb +88 -88
- package/behaviors/registry/atoms/std-service-github.orb +88 -88
- package/behaviors/registry/atoms/std-service-llm.orb +110 -110
- package/behaviors/registry/atoms/std-service-oauth.orb +125 -125
- package/behaviors/registry/atoms/std-service-redis.orb +87 -87
- package/behaviors/registry/atoms/std-service-storage.orb +101 -101
- package/behaviors/registry/atoms/std-service-stripe.orb +99 -99
- package/behaviors/registry/atoms/std-service-twilio.orb +103 -103
- package/behaviors/registry/atoms/std-service-youtube.orb +111 -111
- package/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
- package/behaviors/registry/atoms/std-sort.orb +198 -198
- package/behaviors/registry/atoms/std-sprite.orb +54 -54
- package/behaviors/registry/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/atoms/std-text-effects.orb +125 -125
- package/behaviors/registry/atoms/std-theme.orb +114 -114
- package/behaviors/registry/atoms/std-timer.orb +298 -298
- package/behaviors/registry/atoms/std-undo.orb +186 -186
- package/behaviors/registry/atoms/std-upload.orb +88 -88
- package/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
- package/behaviors/registry/atoms/std-wizard.orb +261 -261
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
- package/behaviors/registry/molecules/std-agent-learner.orb +180 -180
- package/behaviors/registry/molecules/std-agent-planner.orb +136 -136
- package/behaviors/registry/molecules/std-agent-rag.orb +106 -106
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
- package/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
- package/behaviors/registry/molecules/std-builder-game.orb +20 -20
- package/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
- package/behaviors/registry/molecules/std-cart.orb +47 -47
- package/behaviors/registry/molecules/std-classifier-game.orb +16 -16
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
- package/behaviors/registry/molecules/std-debugger-game.orb +13 -13
- package/behaviors/registry/molecules/std-detail.orb +78 -78
- package/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
- package/behaviors/registry/molecules/std-filtered-list.orb +4 -4
- package/behaviors/registry/molecules/std-form-advanced.orb +134 -134
- package/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
- package/behaviors/registry/molecules/std-geospatial.orb +81 -81
- package/behaviors/registry/molecules/std-inventory.orb +53 -53
- package/behaviors/registry/molecules/std-list.orb +57 -57
- package/behaviors/registry/molecules/std-messaging.orb +67 -67
- package/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
- package/behaviors/registry/molecules/std-platformer-game.orb +67 -67
- package/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
- package/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
- package/behaviors/registry/molecules/std-quiz.orb +204 -204
- package/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
- package/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
- package/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
- package/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
- package/behaviors/registry/molecules/std-simulator-game.orb +18 -18
- package/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
- package/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
- package/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
- package/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
- package/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
- package/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
- package/behaviors/registry/organisms/std-api-gateway.orb +808 -808
- package/behaviors/registry/organisms/std-arcade-game.orb +131 -131
- package/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
- package/behaviors/registry/organisms/std-cms.orb +393 -393
- package/behaviors/registry/organisms/std-coding-academy.orb +397 -397
- package/behaviors/registry/organisms/std-crm.orb +751 -751
- package/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
- package/behaviors/registry/organisms/std-ecommerce.orb +858 -858
- package/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
- package/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
- package/behaviors/registry/organisms/std-helpdesk.orb +635 -635
- package/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
- package/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
- package/behaviors/registry/organisms/std-lms.orb +834 -834
- package/behaviors/registry/organisms/std-logic-training.orb +73 -73
- package/behaviors/registry/organisms/std-platformer-app.orb +209 -209
- package/behaviors/registry/organisms/std-project-manager.orb +661 -661
- package/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
- package/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
- package/behaviors/registry/organisms/std-rpg-game.orb +630 -630
- package/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
- package/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
- package/behaviors/registry/organisms/std-social-feed.orb +188 -188
- package/behaviors/registry/organisms/std-stem-lab.orb +374 -374
- package/behaviors/registry/organisms/std-strategy-game.orb +472 -472
- package/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +92 -92
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +72 -72
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +106 -106
- package/dist/behaviors/registry/atoms/std-agent-search.orb +38 -38
- package/dist/behaviors/registry/atoms/std-agent-session.orb +70 -70
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
- package/dist/behaviors/registry/atoms/std-async.orb +224 -132
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +60 -60
- package/dist/behaviors/registry/atoms/std-browse.orb +59 -59
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +322 -306
- package/dist/behaviors/registry/atoms/std-calendar.orb +166 -166
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
- package/dist/behaviors/registry/atoms/std-collision.orb +133 -133
- package/dist/behaviors/registry/atoms/std-combat-log.orb +9 -9
- package/dist/behaviors/registry/atoms/std-combat.orb +63 -63
- package/dist/behaviors/registry/atoms/std-confirmation.orb +21 -21
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
- package/dist/behaviors/registry/atoms/std-display.orb +366 -366
- package/dist/behaviors/registry/atoms/std-drawer.orb +119 -119
- package/dist/behaviors/registry/atoms/std-filter.orb +94 -94
- package/dist/behaviors/registry/atoms/std-flip-card.orb +145 -145
- package/dist/behaviors/registry/atoms/std-gallery.orb +51 -51
- package/dist/behaviors/registry/atoms/std-game-audio.orb +88 -88
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
- package/dist/behaviors/registry/atoms/std-game-hud.orb +15 -15
- package/dist/behaviors/registry/atoms/std-game-menu.orb +21 -21
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
- package/dist/behaviors/registry/atoms/std-gameflow.orb +44 -44
- package/dist/behaviors/registry/atoms/std-input.orb +107 -107
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
- package/dist/behaviors/registry/atoms/std-loading.orb +82 -82
- package/dist/behaviors/registry/atoms/std-modal.orb +11 -11
- package/dist/behaviors/registry/atoms/std-movement.orb +285 -285
- package/dist/behaviors/registry/atoms/std-notification.orb +60 -60
- package/dist/behaviors/registry/atoms/std-overworld.orb +111 -111
- package/dist/behaviors/registry/atoms/std-pagination.orb +45 -45
- package/dist/behaviors/registry/atoms/std-physics2d.orb +77 -77
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
- package/dist/behaviors/registry/atoms/std-push.orb +44 -44
- package/dist/behaviors/registry/atoms/std-quest.orb +314 -314
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
- package/dist/behaviors/registry/atoms/std-rating.orb +45 -45
- package/dist/behaviors/registry/atoms/std-related.orb +38 -38
- package/dist/behaviors/registry/atoms/std-score-board.orb +11 -11
- package/dist/behaviors/registry/atoms/std-score.orb +125 -125
- package/dist/behaviors/registry/atoms/std-search.orb +77 -77
- package/dist/behaviors/registry/atoms/std-selection.orb +184 -184
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
- package/dist/behaviors/registry/atoms/std-service-email.orb +88 -88
- package/dist/behaviors/registry/atoms/std-service-github.orb +88 -88
- package/dist/behaviors/registry/atoms/std-service-llm.orb +110 -110
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +125 -125
- package/dist/behaviors/registry/atoms/std-service-redis.orb +87 -87
- package/dist/behaviors/registry/atoms/std-service-storage.orb +101 -101
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +99 -99
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +103 -103
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +111 -111
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
- package/dist/behaviors/registry/atoms/std-sort.orb +198 -198
- package/dist/behaviors/registry/atoms/std-sprite.orb +54 -54
- package/dist/behaviors/registry/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/atoms/std-text-effects.orb +125 -125
- package/dist/behaviors/registry/atoms/std-theme.orb +114 -114
- package/dist/behaviors/registry/atoms/std-timer.orb +298 -298
- package/dist/behaviors/registry/atoms/std-undo.orb +186 -186
- package/dist/behaviors/registry/atoms/std-upload.orb +88 -88
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
- package/dist/behaviors/registry/atoms/std-wizard.orb +261 -261
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +180 -180
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +136 -136
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +106 -106
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
- package/dist/behaviors/registry/molecules/std-builder-game.orb +20 -20
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
- package/dist/behaviors/registry/molecules/std-cart.orb +47 -47
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +16 -16
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +13 -13
- package/dist/behaviors/registry/molecules/std-detail.orb +78 -78
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +4 -4
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +134 -134
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
- package/dist/behaviors/registry/molecules/std-geospatial.orb +81 -81
- package/dist/behaviors/registry/molecules/std-inventory.orb +53 -53
- package/dist/behaviors/registry/molecules/std-list.orb +57 -57
- package/dist/behaviors/registry/molecules/std-messaging.orb +67 -67
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +67 -67
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
- package/dist/behaviors/registry/molecules/std-quiz.orb +204 -204
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +18 -18
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +808 -808
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +131 -131
- package/dist/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
- package/dist/behaviors/registry/organisms/std-cms.orb +393 -393
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +397 -397
- package/dist/behaviors/registry/organisms/std-crm.orb +751 -751
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +858 -858
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
- package/dist/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +635 -635
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
- package/dist/behaviors/registry/organisms/std-lms.orb +834 -834
- package/dist/behaviors/registry/organisms/std-logic-training.orb +73 -73
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +209 -209
- package/dist/behaviors/registry/organisms/std-project-manager.orb +661 -661
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +630 -630
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
- package/dist/behaviors/registry/organisms/std-social-feed.orb +188 -188
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +374 -374
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +472 -472
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
- package/package.json +1 -1
|
@@ -292,59 +292,94 @@
|
|
|
292
292
|
"render-ui",
|
|
293
293
|
"main",
|
|
294
294
|
{
|
|
295
|
+
"navItems": [
|
|
296
|
+
{
|
|
297
|
+
"href": "/articles",
|
|
298
|
+
"icon": "file-text",
|
|
299
|
+
"label": "Articles"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"label": "Media",
|
|
303
|
+
"href": "/media",
|
|
304
|
+
"icon": "image"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"href": "/categories",
|
|
308
|
+
"label": "Categories",
|
|
309
|
+
"icon": "folder"
|
|
310
|
+
}
|
|
311
|
+
],
|
|
295
312
|
"type": "dashboard-layout",
|
|
313
|
+
"appName": "CmsApp",
|
|
296
314
|
"children": [
|
|
297
315
|
{
|
|
298
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
299
316
|
"type": "stack",
|
|
300
|
-
"direction": "vertical",
|
|
301
317
|
"gap": "lg",
|
|
318
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
302
319
|
"children": [
|
|
303
320
|
{
|
|
321
|
+
"direction": "horizontal",
|
|
322
|
+
"type": "stack",
|
|
323
|
+
"gap": "md",
|
|
304
324
|
"children": [
|
|
305
325
|
{
|
|
306
|
-
"type": "stack",
|
|
307
326
|
"children": [
|
|
308
327
|
{
|
|
309
328
|
"type": "icon",
|
|
310
329
|
"name": "file-text"
|
|
311
330
|
},
|
|
312
331
|
{
|
|
313
|
-
"variant": "h2",
|
|
314
332
|
"type": "typography",
|
|
333
|
+
"variant": "h2",
|
|
315
334
|
"content": "Articles"
|
|
316
335
|
}
|
|
317
336
|
],
|
|
318
337
|
"direction": "horizontal",
|
|
319
338
|
"align": "center",
|
|
339
|
+
"type": "stack",
|
|
320
340
|
"gap": "sm"
|
|
321
341
|
},
|
|
322
342
|
{
|
|
323
|
-
"type": "stack",
|
|
324
343
|
"children": [
|
|
325
344
|
{
|
|
326
345
|
"type": "button",
|
|
346
|
+
"label": "Create Article",
|
|
327
347
|
"variant": "primary",
|
|
328
|
-
"icon": "plus",
|
|
329
348
|
"action": "CREATE",
|
|
330
|
-
"
|
|
349
|
+
"icon": "plus"
|
|
331
350
|
}
|
|
332
351
|
],
|
|
333
352
|
"gap": "sm",
|
|
353
|
+
"type": "stack",
|
|
334
354
|
"direction": "horizontal"
|
|
335
355
|
}
|
|
336
356
|
],
|
|
337
|
-
"type": "stack",
|
|
338
|
-
"direction": "horizontal",
|
|
339
357
|
"justify": "between",
|
|
340
|
-
"gap": "md",
|
|
341
358
|
"align": "center"
|
|
342
359
|
},
|
|
343
360
|
{
|
|
344
361
|
"type": "divider"
|
|
345
362
|
},
|
|
346
363
|
{
|
|
347
|
-
"
|
|
364
|
+
"entity": "Article",
|
|
365
|
+
"fields": [],
|
|
366
|
+
"itemActions": [
|
|
367
|
+
{
|
|
368
|
+
"event": "VIEW",
|
|
369
|
+
"variant": "ghost",
|
|
370
|
+
"label": "View"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"event": "EDIT",
|
|
374
|
+
"variant": "ghost",
|
|
375
|
+
"label": "Edit"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"event": "DELETE",
|
|
379
|
+
"label": "Delete",
|
|
380
|
+
"variant": "danger"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
348
383
|
"columns": [
|
|
349
384
|
{
|
|
350
385
|
"icon": "file-text",
|
|
@@ -364,53 +399,18 @@
|
|
|
364
399
|
"variant": "caption"
|
|
365
400
|
},
|
|
366
401
|
{
|
|
367
|
-
"variant": "caption",
|
|
368
402
|
"label": "Published",
|
|
369
|
-
"
|
|
370
|
-
"format": "date"
|
|
403
|
+
"variant": "caption",
|
|
404
|
+
"format": "date",
|
|
405
|
+
"name": "publishedAt"
|
|
371
406
|
}
|
|
372
407
|
],
|
|
373
408
|
"variant": "card",
|
|
374
|
-
"fields": [],
|
|
375
409
|
"gap": "sm",
|
|
376
|
-
"
|
|
377
|
-
{
|
|
378
|
-
"variant": "ghost",
|
|
379
|
-
"label": "View",
|
|
380
|
-
"event": "VIEW"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"label": "Edit",
|
|
384
|
-
"variant": "ghost",
|
|
385
|
-
"event": "EDIT"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"label": "Delete",
|
|
389
|
-
"event": "DELETE",
|
|
390
|
-
"variant": "danger"
|
|
391
|
-
}
|
|
392
|
-
],
|
|
393
|
-
"entity": "Article"
|
|
410
|
+
"type": "data-list"
|
|
394
411
|
}
|
|
395
|
-
]
|
|
396
|
-
|
|
397
|
-
],
|
|
398
|
-
"appName": "CmsApp",
|
|
399
|
-
"navItems": [
|
|
400
|
-
{
|
|
401
|
-
"icon": "file-text",
|
|
402
|
-
"href": "/articles",
|
|
403
|
-
"label": "Articles"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"icon": "image",
|
|
407
|
-
"href": "/media",
|
|
408
|
-
"label": "Media"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"href": "/categories",
|
|
412
|
-
"icon": "folder",
|
|
413
|
-
"label": "Categories"
|
|
412
|
+
],
|
|
413
|
+
"direction": "vertical"
|
|
414
414
|
}
|
|
415
415
|
]
|
|
416
416
|
}
|
|
@@ -602,8 +602,8 @@
|
|
|
602
602
|
"Article",
|
|
603
603
|
{
|
|
604
604
|
"emit": {
|
|
605
|
-
"
|
|
606
|
-
"
|
|
605
|
+
"failure": "ArticleLoadFailed",
|
|
606
|
+
"success": "ArticleLoaded"
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
],
|
|
@@ -611,12 +611,11 @@
|
|
|
611
611
|
"render-ui",
|
|
612
612
|
"modal",
|
|
613
613
|
{
|
|
614
|
-
"
|
|
614
|
+
"direction": "vertical",
|
|
615
615
|
"gap": "md",
|
|
616
|
+
"type": "stack",
|
|
616
617
|
"children": [
|
|
617
618
|
{
|
|
618
|
-
"gap": "sm",
|
|
619
|
-
"type": "stack",
|
|
620
619
|
"direction": "horizontal",
|
|
621
620
|
"children": [
|
|
622
621
|
{
|
|
@@ -624,20 +623,18 @@
|
|
|
624
623
|
"name": "plus-circle"
|
|
625
624
|
},
|
|
626
625
|
{
|
|
627
|
-
"
|
|
626
|
+
"variant": "h3",
|
|
628
627
|
"type": "typography",
|
|
629
|
-
"
|
|
628
|
+
"content": "Create Article"
|
|
630
629
|
}
|
|
631
|
-
]
|
|
630
|
+
],
|
|
631
|
+
"gap": "sm",
|
|
632
|
+
"type": "stack"
|
|
632
633
|
},
|
|
633
634
|
{
|
|
634
635
|
"type": "divider"
|
|
635
636
|
},
|
|
636
637
|
{
|
|
637
|
-
"entity": "Article",
|
|
638
|
-
"mode": "create",
|
|
639
|
-
"type": "form-section",
|
|
640
|
-
"submitEvent": "SAVE",
|
|
641
638
|
"fields": [
|
|
642
639
|
"title",
|
|
643
640
|
"slug",
|
|
@@ -646,10 +643,13 @@
|
|
|
646
643
|
"status",
|
|
647
644
|
"publishedAt"
|
|
648
645
|
],
|
|
649
|
-
"
|
|
646
|
+
"mode": "create",
|
|
647
|
+
"type": "form-section",
|
|
648
|
+
"entity": "Article",
|
|
649
|
+
"cancelEvent": "CLOSE",
|
|
650
|
+
"submitEvent": "SAVE"
|
|
650
651
|
}
|
|
651
|
-
]
|
|
652
|
-
"direction": "vertical"
|
|
652
|
+
]
|
|
653
653
|
}
|
|
654
654
|
]
|
|
655
655
|
]
|
|
@@ -898,11 +898,11 @@
|
|
|
898
898
|
"fetch",
|
|
899
899
|
"Article",
|
|
900
900
|
{
|
|
901
|
+
"id": "@payload.id",
|
|
901
902
|
"emit": {
|
|
902
|
-
"
|
|
903
|
-
"
|
|
904
|
-
}
|
|
905
|
-
"id": "@payload.id"
|
|
903
|
+
"failure": "ArticleLoadFailed",
|
|
904
|
+
"success": "ArticleLoaded"
|
|
905
|
+
}
|
|
906
906
|
}
|
|
907
907
|
],
|
|
908
908
|
[
|
|
@@ -910,33 +910,28 @@
|
|
|
910
910
|
"modal",
|
|
911
911
|
{
|
|
912
912
|
"direction": "vertical",
|
|
913
|
-
"type": "stack",
|
|
914
913
|
"gap": "md",
|
|
915
914
|
"children": [
|
|
916
915
|
{
|
|
917
916
|
"direction": "horizontal",
|
|
918
|
-
"gap": "sm",
|
|
919
917
|
"children": [
|
|
920
918
|
{
|
|
921
|
-
"
|
|
922
|
-
"
|
|
919
|
+
"name": "edit",
|
|
920
|
+
"type": "icon"
|
|
923
921
|
},
|
|
924
922
|
{
|
|
923
|
+
"variant": "h3",
|
|
925
924
|
"type": "typography",
|
|
926
|
-
"content": "Edit Article"
|
|
927
|
-
"variant": "h3"
|
|
925
|
+
"content": "Edit Article"
|
|
928
926
|
}
|
|
929
927
|
],
|
|
928
|
+
"gap": "sm",
|
|
930
929
|
"type": "stack"
|
|
931
930
|
},
|
|
932
931
|
{
|
|
933
932
|
"type": "divider"
|
|
934
933
|
},
|
|
935
934
|
{
|
|
936
|
-
"entityId": "@entity.id",
|
|
937
|
-
"mode": "edit",
|
|
938
|
-
"type": "form-section",
|
|
939
|
-
"entity": "Article",
|
|
940
935
|
"cancelEvent": "CLOSE",
|
|
941
936
|
"fields": [
|
|
942
937
|
"title",
|
|
@@ -946,9 +941,14 @@
|
|
|
946
941
|
"status",
|
|
947
942
|
"publishedAt"
|
|
948
943
|
],
|
|
944
|
+
"entity": "Article",
|
|
945
|
+
"entityId": "@entity.id",
|
|
946
|
+
"type": "form-section",
|
|
947
|
+
"mode": "edit",
|
|
949
948
|
"submitEvent": "SAVE"
|
|
950
949
|
}
|
|
951
|
-
]
|
|
950
|
+
],
|
|
951
|
+
"type": "stack"
|
|
952
952
|
}
|
|
953
953
|
]
|
|
954
954
|
]
|
|
@@ -1194,8 +1194,12 @@
|
|
|
1194
1194
|
"render-ui",
|
|
1195
1195
|
"modal",
|
|
1196
1196
|
{
|
|
1197
|
+
"direction": "vertical",
|
|
1197
1198
|
"children": [
|
|
1198
1199
|
{
|
|
1200
|
+
"align": "center",
|
|
1201
|
+
"gap": "sm",
|
|
1202
|
+
"type": "stack",
|
|
1199
1203
|
"direction": "horizontal",
|
|
1200
1204
|
"children": [
|
|
1201
1205
|
{
|
|
@@ -1204,58 +1208,55 @@
|
|
|
1204
1208
|
},
|
|
1205
1209
|
{
|
|
1206
1210
|
"content": "@entity.title",
|
|
1207
|
-
"
|
|
1208
|
-
"
|
|
1211
|
+
"variant": "h3",
|
|
1212
|
+
"type": "typography"
|
|
1209
1213
|
}
|
|
1210
|
-
]
|
|
1211
|
-
"type": "stack",
|
|
1212
|
-
"align": "center",
|
|
1213
|
-
"gap": "sm"
|
|
1214
|
+
]
|
|
1214
1215
|
},
|
|
1215
1216
|
{
|
|
1216
1217
|
"type": "divider"
|
|
1217
1218
|
},
|
|
1218
1219
|
{
|
|
1220
|
+
"gap": "md",
|
|
1219
1221
|
"direction": "horizontal",
|
|
1220
1222
|
"children": [
|
|
1221
1223
|
{
|
|
1222
1224
|
"content": "Title",
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
+
"type": "typography",
|
|
1226
|
+
"variant": "caption"
|
|
1225
1227
|
},
|
|
1226
1228
|
{
|
|
1227
|
-
"type": "typography",
|
|
1228
1229
|
"variant": "body",
|
|
1230
|
+
"type": "typography",
|
|
1229
1231
|
"content": "@entity.title"
|
|
1230
1232
|
}
|
|
1231
1233
|
],
|
|
1232
|
-
"type": "stack"
|
|
1233
|
-
"gap": "md"
|
|
1234
|
+
"type": "stack"
|
|
1234
1235
|
},
|
|
1235
1236
|
{
|
|
1236
|
-
"gap": "md",
|
|
1237
|
-
"direction": "horizontal",
|
|
1238
1237
|
"children": [
|
|
1239
1238
|
{
|
|
1240
|
-
"
|
|
1239
|
+
"content": "Slug",
|
|
1241
1240
|
"variant": "caption",
|
|
1242
|
-
"
|
|
1241
|
+
"type": "typography"
|
|
1243
1242
|
},
|
|
1244
1243
|
{
|
|
1244
|
+
"type": "typography",
|
|
1245
1245
|
"content": "@entity.slug",
|
|
1246
|
-
"variant": "body"
|
|
1247
|
-
"type": "typography"
|
|
1246
|
+
"variant": "body"
|
|
1248
1247
|
}
|
|
1249
1248
|
],
|
|
1250
|
-
"
|
|
1249
|
+
"direction": "horizontal",
|
|
1250
|
+
"type": "stack",
|
|
1251
|
+
"gap": "md"
|
|
1251
1252
|
},
|
|
1252
1253
|
{
|
|
1254
|
+
"direction": "horizontal",
|
|
1253
1255
|
"type": "stack",
|
|
1254
|
-
"gap": "md",
|
|
1255
1256
|
"children": [
|
|
1256
1257
|
{
|
|
1257
|
-
"content": "Content",
|
|
1258
1258
|
"variant": "caption",
|
|
1259
|
+
"content": "Content",
|
|
1259
1260
|
"type": "typography"
|
|
1260
1261
|
},
|
|
1261
1262
|
{
|
|
@@ -1264,22 +1265,22 @@
|
|
|
1264
1265
|
"type": "typography"
|
|
1265
1266
|
}
|
|
1266
1267
|
],
|
|
1267
|
-
"
|
|
1268
|
+
"gap": "md"
|
|
1268
1269
|
},
|
|
1269
1270
|
{
|
|
1271
|
+
"type": "stack",
|
|
1270
1272
|
"gap": "md",
|
|
1271
1273
|
"direction": "horizontal",
|
|
1272
|
-
"type": "stack",
|
|
1273
1274
|
"children": [
|
|
1274
1275
|
{
|
|
1275
1276
|
"variant": "caption",
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1277
|
+
"type": "typography",
|
|
1278
|
+
"content": "Author"
|
|
1278
1279
|
},
|
|
1279
1280
|
{
|
|
1280
|
-
"
|
|
1281
|
+
"variant": "body",
|
|
1281
1282
|
"type": "typography",
|
|
1282
|
-
"
|
|
1283
|
+
"content": "@entity.author"
|
|
1283
1284
|
}
|
|
1284
1285
|
]
|
|
1285
1286
|
},
|
|
@@ -1287,21 +1288,20 @@
|
|
|
1287
1288
|
"type": "stack",
|
|
1288
1289
|
"children": [
|
|
1289
1290
|
{
|
|
1290
|
-
"content": "Status",
|
|
1291
1291
|
"type": "typography",
|
|
1292
|
-
"variant": "caption"
|
|
1292
|
+
"variant": "caption",
|
|
1293
|
+
"content": "Status"
|
|
1293
1294
|
},
|
|
1294
1295
|
{
|
|
1296
|
+
"type": "typography",
|
|
1295
1297
|
"content": "@entity.status",
|
|
1296
|
-
"variant": "body"
|
|
1297
|
-
"type": "typography"
|
|
1298
|
+
"variant": "body"
|
|
1298
1299
|
}
|
|
1299
1300
|
],
|
|
1300
1301
|
"gap": "md",
|
|
1301
1302
|
"direction": "horizontal"
|
|
1302
1303
|
},
|
|
1303
1304
|
{
|
|
1304
|
-
"direction": "horizontal",
|
|
1305
1305
|
"gap": "md",
|
|
1306
1306
|
"children": [
|
|
1307
1307
|
{
|
|
@@ -1310,41 +1310,41 @@
|
|
|
1310
1310
|
"variant": "caption"
|
|
1311
1311
|
},
|
|
1312
1312
|
{
|
|
1313
|
-
"type": "typography",
|
|
1314
1313
|
"variant": "body",
|
|
1315
|
-
"content": "@entity.publishedAt"
|
|
1314
|
+
"content": "@entity.publishedAt",
|
|
1315
|
+
"type": "typography"
|
|
1316
1316
|
}
|
|
1317
1317
|
],
|
|
1318
|
+
"direction": "horizontal",
|
|
1318
1319
|
"type": "stack"
|
|
1319
1320
|
},
|
|
1320
1321
|
{
|
|
1321
1322
|
"type": "divider"
|
|
1322
1323
|
},
|
|
1323
1324
|
{
|
|
1325
|
+
"type": "stack",
|
|
1324
1326
|
"direction": "horizontal",
|
|
1325
|
-
"gap": "sm",
|
|
1326
|
-
"justify": "end",
|
|
1327
1327
|
"children": [
|
|
1328
1328
|
{
|
|
1329
|
-
"type": "button",
|
|
1330
1329
|
"variant": "primary",
|
|
1331
|
-
"icon": "edit",
|
|
1332
1330
|
"label": "Edit",
|
|
1331
|
+
"type": "button",
|
|
1332
|
+
"icon": "edit",
|
|
1333
1333
|
"action": "EDIT"
|
|
1334
1334
|
},
|
|
1335
1335
|
{
|
|
1336
|
-
"action": "CLOSE",
|
|
1337
|
-
"label": "Close",
|
|
1338
1336
|
"type": "button",
|
|
1337
|
+
"label": "Close",
|
|
1338
|
+
"action": "CLOSE",
|
|
1339
1339
|
"variant": "ghost"
|
|
1340
1340
|
}
|
|
1341
1341
|
],
|
|
1342
|
-
"
|
|
1342
|
+
"gap": "sm",
|
|
1343
|
+
"justify": "end"
|
|
1343
1344
|
}
|
|
1344
1345
|
],
|
|
1345
|
-
"gap": "md",
|
|
1346
1346
|
"type": "stack",
|
|
1347
|
-
"
|
|
1347
|
+
"gap": "md"
|
|
1348
1348
|
}
|
|
1349
1349
|
]
|
|
1350
1350
|
]
|
|
@@ -1587,8 +1587,8 @@
|
|
|
1587
1587
|
{
|
|
1588
1588
|
"id": "@payload.id",
|
|
1589
1589
|
"emit": {
|
|
1590
|
-
"
|
|
1591
|
-
"
|
|
1590
|
+
"success": "ArticleLoaded",
|
|
1591
|
+
"failure": "ArticleLoadFailed"
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
],
|
|
@@ -1596,57 +1596,57 @@
|
|
|
1596
1596
|
"render-ui",
|
|
1597
1597
|
"modal",
|
|
1598
1598
|
{
|
|
1599
|
-
"gap": "md",
|
|
1600
1599
|
"children": [
|
|
1601
1600
|
{
|
|
1602
|
-
"gap": "sm",
|
|
1603
|
-
"align": "center",
|
|
1604
1601
|
"direction": "horizontal",
|
|
1605
|
-
"
|
|
1602
|
+
"align": "center",
|
|
1603
|
+
"gap": "sm",
|
|
1606
1604
|
"children": [
|
|
1607
1605
|
{
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1606
|
+
"type": "icon",
|
|
1607
|
+
"name": "alert-triangle"
|
|
1610
1608
|
},
|
|
1611
1609
|
{
|
|
1612
1610
|
"content": "Delete Article",
|
|
1613
1611
|
"variant": "h3",
|
|
1614
1612
|
"type": "typography"
|
|
1615
1613
|
}
|
|
1616
|
-
]
|
|
1614
|
+
],
|
|
1615
|
+
"type": "stack"
|
|
1617
1616
|
},
|
|
1618
1617
|
{
|
|
1619
1618
|
"type": "divider"
|
|
1620
1619
|
},
|
|
1621
1620
|
{
|
|
1622
|
-
"
|
|
1621
|
+
"variant": "error",
|
|
1623
1622
|
"type": "alert",
|
|
1624
|
-
"
|
|
1623
|
+
"message": "This action cannot be undone."
|
|
1625
1624
|
},
|
|
1626
1625
|
{
|
|
1627
|
-
"justify": "end",
|
|
1628
|
-
"direction": "horizontal",
|
|
1629
|
-
"type": "stack",
|
|
1630
1626
|
"gap": "sm",
|
|
1627
|
+
"type": "stack",
|
|
1628
|
+
"direction": "horizontal",
|
|
1631
1629
|
"children": [
|
|
1632
1630
|
{
|
|
1633
|
-
"label": "Cancel",
|
|
1634
|
-
"action": "CANCEL",
|
|
1635
1631
|
"type": "button",
|
|
1636
|
-
"variant": "ghost"
|
|
1632
|
+
"variant": "ghost",
|
|
1633
|
+
"label": "Cancel",
|
|
1634
|
+
"action": "CANCEL"
|
|
1637
1635
|
},
|
|
1638
1636
|
{
|
|
1639
|
-
"
|
|
1637
|
+
"icon": "check",
|
|
1640
1638
|
"label": "Delete",
|
|
1641
1639
|
"type": "button",
|
|
1642
1640
|
"action": "CONFIRM_DELETE",
|
|
1643
|
-
"
|
|
1641
|
+
"variant": "danger"
|
|
1644
1642
|
}
|
|
1645
|
-
]
|
|
1643
|
+
],
|
|
1644
|
+
"justify": "end"
|
|
1646
1645
|
}
|
|
1647
1646
|
],
|
|
1647
|
+
"type": "stack",
|
|
1648
1648
|
"direction": "vertical",
|
|
1649
|
-
"
|
|
1649
|
+
"gap": "md"
|
|
1650
1650
|
}
|
|
1651
1651
|
]
|
|
1652
1652
|
]
|
|
@@ -1938,116 +1938,116 @@
|
|
|
1938
1938
|
"render-ui",
|
|
1939
1939
|
"main",
|
|
1940
1940
|
{
|
|
1941
|
-
"
|
|
1941
|
+
"type": "dashboard-layout",
|
|
1942
|
+
"navItems": [
|
|
1942
1943
|
{
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
1945
|
-
"
|
|
1944
|
+
"href": "/articles",
|
|
1945
|
+
"label": "Articles",
|
|
1946
|
+
"icon": "file-text"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"label": "Media",
|
|
1950
|
+
"href": "/media",
|
|
1951
|
+
"icon": "image"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"href": "/categories",
|
|
1955
|
+
"icon": "folder",
|
|
1956
|
+
"label": "Categories"
|
|
1957
|
+
}
|
|
1958
|
+
],
|
|
1959
|
+
"appName": "CmsApp",
|
|
1960
|
+
"children": [
|
|
1961
|
+
{
|
|
1962
|
+
"gap": "lg",
|
|
1963
|
+
"type": "stack",
|
|
1964
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
1965
|
+
"direction": "vertical",
|
|
1946
1966
|
"children": [
|
|
1947
1967
|
{
|
|
1968
|
+
"direction": "horizontal",
|
|
1948
1969
|
"children": [
|
|
1949
1970
|
{
|
|
1950
|
-
"gap": "sm",
|
|
1951
1971
|
"children": [
|
|
1952
1972
|
{
|
|
1953
|
-
"
|
|
1954
|
-
"
|
|
1973
|
+
"type": "icon",
|
|
1974
|
+
"name": "image"
|
|
1955
1975
|
},
|
|
1956
1976
|
{
|
|
1977
|
+
"type": "typography",
|
|
1957
1978
|
"content": "Media Library",
|
|
1958
|
-
"variant": "h2"
|
|
1959
|
-
"type": "typography"
|
|
1979
|
+
"variant": "h2"
|
|
1960
1980
|
}
|
|
1961
1981
|
],
|
|
1962
1982
|
"type": "stack",
|
|
1983
|
+
"gap": "sm",
|
|
1963
1984
|
"direction": "horizontal",
|
|
1964
1985
|
"align": "center"
|
|
1965
1986
|
},
|
|
1966
1987
|
{
|
|
1967
|
-
"
|
|
1968
|
-
"type": "stack",
|
|
1988
|
+
"direction": "horizontal",
|
|
1969
1989
|
"children": [
|
|
1970
1990
|
{
|
|
1971
|
-
"action": "CREATE",
|
|
1972
|
-
"variant": "primary",
|
|
1973
1991
|
"label": "Create MediaAsset",
|
|
1992
|
+
"icon": "plus",
|
|
1993
|
+
"action": "CREATE",
|
|
1974
1994
|
"type": "button",
|
|
1975
|
-
"
|
|
1995
|
+
"variant": "primary"
|
|
1976
1996
|
}
|
|
1977
1997
|
],
|
|
1978
|
-
"
|
|
1998
|
+
"type": "stack",
|
|
1999
|
+
"gap": "sm"
|
|
1979
2000
|
}
|
|
1980
2001
|
],
|
|
1981
|
-
"
|
|
2002
|
+
"align": "center",
|
|
1982
2003
|
"justify": "between",
|
|
1983
2004
|
"type": "stack",
|
|
1984
|
-
"gap": "md"
|
|
1985
|
-
"align": "center"
|
|
2005
|
+
"gap": "md"
|
|
1986
2006
|
},
|
|
1987
2007
|
{
|
|
1988
2008
|
"type": "divider"
|
|
1989
2009
|
},
|
|
1990
2010
|
{
|
|
1991
|
-
"fields": [],
|
|
1992
|
-
"type": "data-grid",
|
|
1993
|
-
"entity": "MediaAsset",
|
|
1994
|
-
"itemActions": [
|
|
1995
|
-
{
|
|
1996
|
-
"label": "View",
|
|
1997
|
-
"event": "VIEW",
|
|
1998
|
-
"variant": "ghost"
|
|
1999
|
-
}
|
|
2000
|
-
],
|
|
2001
2011
|
"columns": [
|
|
2002
2012
|
{
|
|
2003
|
-
"label": "File",
|
|
2004
2013
|
"variant": "h3",
|
|
2005
|
-
"
|
|
2006
|
-
"icon": "image"
|
|
2014
|
+
"label": "File",
|
|
2015
|
+
"icon": "image",
|
|
2016
|
+
"name": "fileName"
|
|
2007
2017
|
},
|
|
2008
2018
|
{
|
|
2009
|
-
"variant": "badge",
|
|
2010
2019
|
"name": "fileType",
|
|
2011
|
-
"label": "Type"
|
|
2020
|
+
"label": "Type",
|
|
2021
|
+
"variant": "badge"
|
|
2012
2022
|
},
|
|
2013
2023
|
{
|
|
2014
|
-
"format": "number",
|
|
2015
2024
|
"label": "Size",
|
|
2016
2025
|
"variant": "body",
|
|
2026
|
+
"format": "number",
|
|
2017
2027
|
"name": "fileSize"
|
|
2018
2028
|
},
|
|
2019
2029
|
{
|
|
2020
|
-
"name": "altText",
|
|
2021
2030
|
"label": "Alt Text",
|
|
2022
|
-
"variant": "caption"
|
|
2031
|
+
"variant": "caption",
|
|
2032
|
+
"name": "altText"
|
|
2023
2033
|
}
|
|
2024
2034
|
],
|
|
2025
|
-
"
|
|
2026
|
-
"
|
|
2035
|
+
"gap": "md",
|
|
2036
|
+
"type": "data-grid",
|
|
2037
|
+
"fields": [],
|
|
2038
|
+
"itemActions": [
|
|
2039
|
+
{
|
|
2040
|
+
"event": "VIEW",
|
|
2041
|
+
"label": "View",
|
|
2042
|
+
"variant": "ghost"
|
|
2043
|
+
}
|
|
2044
|
+
],
|
|
2045
|
+
"entity": "MediaAsset",
|
|
2046
|
+
"cols": 3.0
|
|
2027
2047
|
}
|
|
2028
|
-
]
|
|
2029
|
-
"gap": "lg"
|
|
2030
|
-
}
|
|
2031
|
-
],
|
|
2032
|
-
"navItems": [
|
|
2033
|
-
{
|
|
2034
|
-
"icon": "file-text",
|
|
2035
|
-
"label": "Articles",
|
|
2036
|
-
"href": "/articles"
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"icon": "image",
|
|
2040
|
-
"href": "/media",
|
|
2041
|
-
"label": "Media"
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
"icon": "folder",
|
|
2045
|
-
"label": "Categories",
|
|
2046
|
-
"href": "/categories"
|
|
2048
|
+
]
|
|
2047
2049
|
}
|
|
2048
|
-
]
|
|
2049
|
-
"type": "dashboard-layout",
|
|
2050
|
-
"appName": "CmsApp"
|
|
2050
|
+
]
|
|
2051
2051
|
}
|
|
2052
2052
|
]
|
|
2053
2053
|
]
|
|
@@ -2223,32 +2223,29 @@
|
|
|
2223
2223
|
"render-ui",
|
|
2224
2224
|
"modal",
|
|
2225
2225
|
{
|
|
2226
|
-
"type": "stack",
|
|
2227
2226
|
"direction": "vertical",
|
|
2228
2227
|
"children": [
|
|
2229
2228
|
{
|
|
2229
|
+
"direction": "horizontal",
|
|
2230
2230
|
"gap": "sm",
|
|
2231
|
+
"type": "stack",
|
|
2231
2232
|
"children": [
|
|
2232
2233
|
{
|
|
2233
2234
|
"type": "icon",
|
|
2234
2235
|
"name": "plus-circle"
|
|
2235
2236
|
},
|
|
2236
2237
|
{
|
|
2237
|
-
"
|
|
2238
|
+
"content": "New MediaAsset",
|
|
2238
2239
|
"variant": "h3",
|
|
2239
|
-
"
|
|
2240
|
+
"type": "typography"
|
|
2240
2241
|
}
|
|
2241
|
-
]
|
|
2242
|
-
"type": "stack",
|
|
2243
|
-
"direction": "horizontal"
|
|
2242
|
+
]
|
|
2244
2243
|
},
|
|
2245
2244
|
{
|
|
2246
2245
|
"type": "divider"
|
|
2247
2246
|
},
|
|
2248
2247
|
{
|
|
2249
2248
|
"type": "form-section",
|
|
2250
|
-
"mode": "create",
|
|
2251
|
-
"submitEvent": "SAVE",
|
|
2252
2249
|
"fields": [
|
|
2253
2250
|
"fileName",
|
|
2254
2251
|
"fileType",
|
|
@@ -2257,10 +2254,13 @@
|
|
|
2257
2254
|
"altText",
|
|
2258
2255
|
"uploadedAt"
|
|
2259
2256
|
],
|
|
2260
|
-
"
|
|
2261
|
-
"
|
|
2257
|
+
"entity": "MediaAsset",
|
|
2258
|
+
"mode": "create",
|
|
2259
|
+
"submitEvent": "SAVE",
|
|
2260
|
+
"cancelEvent": "CLOSE"
|
|
2262
2261
|
}
|
|
2263
2262
|
],
|
|
2263
|
+
"type": "stack",
|
|
2264
2264
|
"gap": "md"
|
|
2265
2265
|
}
|
|
2266
2266
|
]
|
|
@@ -2476,22 +2476,22 @@
|
|
|
2476
2476
|
"fetch",
|
|
2477
2477
|
"MediaAsset",
|
|
2478
2478
|
{
|
|
2479
|
+
"id": "@payload.id",
|
|
2479
2480
|
"emit": {
|
|
2480
2481
|
"failure": "MediaAssetLoadFailed",
|
|
2481
2482
|
"success": "MediaAssetLoaded"
|
|
2482
|
-
}
|
|
2483
|
-
"id": "@payload.id"
|
|
2483
|
+
}
|
|
2484
2484
|
}
|
|
2485
2485
|
],
|
|
2486
2486
|
[
|
|
2487
2487
|
"render-ui",
|
|
2488
2488
|
"modal",
|
|
2489
2489
|
{
|
|
2490
|
+
"direction": "vertical",
|
|
2491
|
+
"gap": "md",
|
|
2492
|
+
"type": "stack",
|
|
2490
2493
|
"children": [
|
|
2491
2494
|
{
|
|
2492
|
-
"gap": "sm",
|
|
2493
|
-
"type": "stack",
|
|
2494
|
-
"direction": "horizontal",
|
|
2495
2495
|
"align": "center",
|
|
2496
2496
|
"children": [
|
|
2497
2497
|
{
|
|
@@ -2499,18 +2499,22 @@
|
|
|
2499
2499
|
"name": "eye"
|
|
2500
2500
|
},
|
|
2501
2501
|
{
|
|
2502
|
-
"variant": "h3",
|
|
2503
2502
|
"type": "typography",
|
|
2503
|
+
"variant": "h3",
|
|
2504
2504
|
"content": "@entity.fileName"
|
|
2505
2505
|
}
|
|
2506
|
-
]
|
|
2506
|
+
],
|
|
2507
|
+
"type": "stack",
|
|
2508
|
+
"direction": "horizontal",
|
|
2509
|
+
"gap": "sm"
|
|
2507
2510
|
},
|
|
2508
2511
|
{
|
|
2509
2512
|
"type": "divider"
|
|
2510
2513
|
},
|
|
2511
2514
|
{
|
|
2512
|
-
"gap": "md",
|
|
2513
2515
|
"type": "stack",
|
|
2516
|
+
"direction": "horizontal",
|
|
2517
|
+
"gap": "md",
|
|
2514
2518
|
"children": [
|
|
2515
2519
|
{
|
|
2516
2520
|
"type": "typography",
|
|
@@ -2518,16 +2522,15 @@
|
|
|
2518
2522
|
"content": "File Name"
|
|
2519
2523
|
},
|
|
2520
2524
|
{
|
|
2521
|
-
"
|
|
2525
|
+
"variant": "body",
|
|
2522
2526
|
"type": "typography",
|
|
2523
|
-
"
|
|
2527
|
+
"content": "@entity.fileName"
|
|
2524
2528
|
}
|
|
2525
|
-
]
|
|
2526
|
-
"direction": "horizontal"
|
|
2529
|
+
]
|
|
2527
2530
|
},
|
|
2528
2531
|
{
|
|
2529
|
-
"direction": "horizontal",
|
|
2530
2532
|
"type": "stack",
|
|
2533
|
+
"direction": "horizontal",
|
|
2531
2534
|
"children": [
|
|
2532
2535
|
{
|
|
2533
2536
|
"variant": "caption",
|
|
@@ -2535,9 +2538,9 @@
|
|
|
2535
2538
|
"content": "File Type"
|
|
2536
2539
|
},
|
|
2537
2540
|
{
|
|
2541
|
+
"variant": "body",
|
|
2538
2542
|
"content": "@entity.fileType",
|
|
2539
|
-
"type": "typography"
|
|
2540
|
-
"variant": "body"
|
|
2543
|
+
"type": "typography"
|
|
2541
2544
|
}
|
|
2542
2545
|
],
|
|
2543
2546
|
"gap": "md"
|
|
@@ -2545,43 +2548,44 @@
|
|
|
2545
2548
|
{
|
|
2546
2549
|
"type": "stack",
|
|
2547
2550
|
"direction": "horizontal",
|
|
2548
|
-
"gap": "md",
|
|
2549
2551
|
"children": [
|
|
2550
2552
|
{
|
|
2553
|
+
"content": "File Size",
|
|
2551
2554
|
"type": "typography",
|
|
2552
|
-
"variant": "caption"
|
|
2553
|
-
"content": "File Size"
|
|
2555
|
+
"variant": "caption"
|
|
2554
2556
|
},
|
|
2555
2557
|
{
|
|
2556
2558
|
"content": "@entity.fileSize",
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2559
|
+
"type": "typography",
|
|
2560
|
+
"variant": "body"
|
|
2559
2561
|
}
|
|
2560
|
-
]
|
|
2562
|
+
],
|
|
2563
|
+
"gap": "md"
|
|
2561
2564
|
},
|
|
2562
2565
|
{
|
|
2563
2566
|
"direction": "horizontal",
|
|
2564
|
-
"
|
|
2567
|
+
"type": "stack",
|
|
2565
2568
|
"children": [
|
|
2566
2569
|
{
|
|
2567
|
-
"content": "Url",
|
|
2568
2570
|
"type": "typography",
|
|
2569
|
-
"variant": "caption"
|
|
2571
|
+
"variant": "caption",
|
|
2572
|
+
"content": "Url"
|
|
2570
2573
|
},
|
|
2571
2574
|
{
|
|
2572
|
-
"
|
|
2575
|
+
"variant": "body",
|
|
2573
2576
|
"type": "typography",
|
|
2574
|
-
"
|
|
2577
|
+
"content": "@entity.url"
|
|
2575
2578
|
}
|
|
2576
2579
|
],
|
|
2577
|
-
"
|
|
2580
|
+
"gap": "md"
|
|
2578
2581
|
},
|
|
2579
2582
|
{
|
|
2580
2583
|
"gap": "md",
|
|
2584
|
+
"type": "stack",
|
|
2581
2585
|
"children": [
|
|
2582
2586
|
{
|
|
2583
|
-
"content": "Alt Text",
|
|
2584
2587
|
"type": "typography",
|
|
2588
|
+
"content": "Alt Text",
|
|
2585
2589
|
"variant": "caption"
|
|
2586
2590
|
},
|
|
2587
2591
|
{
|
|
@@ -2590,47 +2594,43 @@
|
|
|
2590
2594
|
"type": "typography"
|
|
2591
2595
|
}
|
|
2592
2596
|
],
|
|
2593
|
-
"type": "stack",
|
|
2594
2597
|
"direction": "horizontal"
|
|
2595
2598
|
},
|
|
2596
2599
|
{
|
|
2600
|
+
"type": "stack",
|
|
2597
2601
|
"children": [
|
|
2598
2602
|
{
|
|
2599
2603
|
"variant": "caption",
|
|
2600
|
-
"
|
|
2601
|
-
"
|
|
2604
|
+
"content": "Uploaded At",
|
|
2605
|
+
"type": "typography"
|
|
2602
2606
|
},
|
|
2603
2607
|
{
|
|
2604
2608
|
"type": "typography",
|
|
2605
|
-
"
|
|
2606
|
-
"
|
|
2609
|
+
"content": "@entity.uploadedAt",
|
|
2610
|
+
"variant": "body"
|
|
2607
2611
|
}
|
|
2608
2612
|
],
|
|
2609
|
-
"
|
|
2610
|
-
"direction": "horizontal"
|
|
2611
|
-
"gap": "md"
|
|
2613
|
+
"gap": "md",
|
|
2614
|
+
"direction": "horizontal"
|
|
2612
2615
|
},
|
|
2613
2616
|
{
|
|
2614
2617
|
"type": "divider"
|
|
2615
2618
|
},
|
|
2616
2619
|
{
|
|
2617
|
-
"gap": "sm",
|
|
2618
|
-
"direction": "horizontal",
|
|
2619
|
-
"type": "stack",
|
|
2620
2620
|
"children": [
|
|
2621
2621
|
{
|
|
2622
|
-
"action": "CLOSE",
|
|
2623
2622
|
"variant": "ghost",
|
|
2624
|
-
"
|
|
2625
|
-
"
|
|
2623
|
+
"type": "button",
|
|
2624
|
+
"action": "CLOSE",
|
|
2625
|
+
"label": "Close"
|
|
2626
2626
|
}
|
|
2627
2627
|
],
|
|
2628
|
+
"type": "stack",
|
|
2629
|
+
"gap": "sm",
|
|
2630
|
+
"direction": "horizontal",
|
|
2628
2631
|
"justify": "end"
|
|
2629
2632
|
}
|
|
2630
|
-
]
|
|
2631
|
-
"direction": "vertical",
|
|
2632
|
-
"type": "stack",
|
|
2633
|
-
"gap": "md"
|
|
2633
|
+
]
|
|
2634
2634
|
}
|
|
2635
2635
|
]
|
|
2636
2636
|
]
|
|
@@ -2905,87 +2905,105 @@
|
|
|
2905
2905
|
"render-ui",
|
|
2906
2906
|
"main",
|
|
2907
2907
|
{
|
|
2908
|
+
"appName": "CmsApp",
|
|
2909
|
+
"navItems": [
|
|
2910
|
+
{
|
|
2911
|
+
"href": "/articles",
|
|
2912
|
+
"icon": "file-text",
|
|
2913
|
+
"label": "Articles"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"label": "Media",
|
|
2917
|
+
"href": "/media",
|
|
2918
|
+
"icon": "image"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"label": "Categories",
|
|
2922
|
+
"icon": "folder",
|
|
2923
|
+
"href": "/categories"
|
|
2924
|
+
}
|
|
2925
|
+
],
|
|
2926
|
+
"type": "dashboard-layout",
|
|
2908
2927
|
"children": [
|
|
2909
2928
|
{
|
|
2910
|
-
"gap": "lg",
|
|
2911
|
-
"type": "stack",
|
|
2912
2929
|
"direction": "vertical",
|
|
2913
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
2914
2930
|
"children": [
|
|
2915
2931
|
{
|
|
2916
|
-
"direction": "horizontal",
|
|
2917
2932
|
"justify": "between",
|
|
2918
|
-
"type": "stack",
|
|
2919
2933
|
"align": "center",
|
|
2920
2934
|
"gap": "md",
|
|
2921
2935
|
"children": [
|
|
2922
2936
|
{
|
|
2937
|
+
"type": "stack",
|
|
2923
2938
|
"direction": "horizontal",
|
|
2939
|
+
"gap": "sm",
|
|
2940
|
+
"align": "center",
|
|
2924
2941
|
"children": [
|
|
2925
2942
|
{
|
|
2926
2943
|
"name": "folder",
|
|
2927
2944
|
"type": "icon"
|
|
2928
2945
|
},
|
|
2929
2946
|
{
|
|
2930
|
-
"
|
|
2947
|
+
"type": "typography",
|
|
2931
2948
|
"content": "Categories",
|
|
2932
|
-
"
|
|
2949
|
+
"variant": "h2"
|
|
2933
2950
|
}
|
|
2934
|
-
]
|
|
2935
|
-
"type": "stack",
|
|
2936
|
-
"align": "center",
|
|
2937
|
-
"gap": "sm"
|
|
2951
|
+
]
|
|
2938
2952
|
},
|
|
2939
2953
|
{
|
|
2954
|
+
"type": "stack",
|
|
2955
|
+
"direction": "horizontal",
|
|
2956
|
+
"gap": "sm",
|
|
2940
2957
|
"children": [
|
|
2941
2958
|
{
|
|
2942
|
-
"label": "Create Category",
|
|
2943
2959
|
"type": "button",
|
|
2944
|
-
"action": "CREATE",
|
|
2945
2960
|
"icon": "plus",
|
|
2961
|
+
"action": "CREATE",
|
|
2962
|
+
"label": "Create Category",
|
|
2946
2963
|
"variant": "primary"
|
|
2947
2964
|
}
|
|
2948
|
-
]
|
|
2949
|
-
"direction": "horizontal",
|
|
2950
|
-
"gap": "sm",
|
|
2951
|
-
"type": "stack"
|
|
2965
|
+
]
|
|
2952
2966
|
}
|
|
2953
|
-
]
|
|
2967
|
+
],
|
|
2968
|
+
"direction": "horizontal",
|
|
2969
|
+
"type": "stack"
|
|
2954
2970
|
},
|
|
2955
2971
|
{
|
|
2956
2972
|
"type": "divider"
|
|
2957
2973
|
},
|
|
2958
2974
|
{
|
|
2959
|
-
"entity": "Category",
|
|
2960
|
-
"fields": [],
|
|
2961
|
-
"type": "data-list",
|
|
2962
2975
|
"itemActions": [
|
|
2963
2976
|
{
|
|
2964
2977
|
"event": "VIEW",
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
2978
|
+
"variant": "ghost",
|
|
2979
|
+
"label": "View"
|
|
2967
2980
|
},
|
|
2968
2981
|
{
|
|
2969
|
-
"variant": "ghost",
|
|
2970
2982
|
"label": "Edit",
|
|
2971
|
-
"event": "EDIT"
|
|
2983
|
+
"event": "EDIT",
|
|
2984
|
+
"variant": "ghost"
|
|
2972
2985
|
},
|
|
2973
2986
|
{
|
|
2987
|
+
"label": "Delete",
|
|
2974
2988
|
"event": "DELETE",
|
|
2975
|
-
"variant": "danger"
|
|
2976
|
-
"label": "Delete"
|
|
2989
|
+
"variant": "danger"
|
|
2977
2990
|
}
|
|
2978
2991
|
],
|
|
2992
|
+
"variant": "card",
|
|
2993
|
+
"gap": "sm",
|
|
2994
|
+
"entity": "Category",
|
|
2995
|
+
"fields": [],
|
|
2996
|
+
"type": "data-list",
|
|
2979
2997
|
"columns": [
|
|
2980
2998
|
{
|
|
2981
2999
|
"variant": "h3",
|
|
2982
|
-
"
|
|
2983
|
-
"
|
|
3000
|
+
"icon": "folder",
|
|
3001
|
+
"name": "name"
|
|
2984
3002
|
},
|
|
2985
3003
|
{
|
|
2986
3004
|
"name": "articleCount",
|
|
2987
|
-
"label": "Articles",
|
|
2988
3005
|
"variant": "badge",
|
|
3006
|
+
"label": "Articles",
|
|
2989
3007
|
"format": "number"
|
|
2990
3008
|
},
|
|
2991
3009
|
{
|
|
@@ -2993,35 +3011,17 @@
|
|
|
2993
3011
|
"variant": "body"
|
|
2994
3012
|
},
|
|
2995
3013
|
{
|
|
2996
|
-
"
|
|
2997
|
-
"
|
|
3014
|
+
"name": "slug",
|
|
3015
|
+
"variant": "caption"
|
|
2998
3016
|
}
|
|
2999
|
-
]
|
|
3000
|
-
"variant": "card",
|
|
3001
|
-
"gap": "sm"
|
|
3017
|
+
]
|
|
3002
3018
|
}
|
|
3003
|
-
]
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
"navItems": [
|
|
3008
|
-
{
|
|
3009
|
-
"icon": "file-text",
|
|
3010
|
-
"label": "Articles",
|
|
3011
|
-
"href": "/articles"
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"label": "Media",
|
|
3015
|
-
"icon": "image",
|
|
3016
|
-
"href": "/media"
|
|
3017
|
-
},
|
|
3018
|
-
{
|
|
3019
|
-
"icon": "folder",
|
|
3020
|
-
"href": "/categories",
|
|
3021
|
-
"label": "Categories"
|
|
3019
|
+
],
|
|
3020
|
+
"gap": "lg",
|
|
3021
|
+
"type": "stack",
|
|
3022
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
3022
3023
|
}
|
|
3023
|
-
]
|
|
3024
|
-
"appName": "CmsApp"
|
|
3024
|
+
]
|
|
3025
3025
|
}
|
|
3026
3026
|
]
|
|
3027
3027
|
]
|
|
@@ -3204,33 +3204,33 @@
|
|
|
3204
3204
|
"render-ui",
|
|
3205
3205
|
"modal",
|
|
3206
3206
|
{
|
|
3207
|
-
"type": "stack",
|
|
3208
3207
|
"gap": "md",
|
|
3208
|
+
"direction": "vertical",
|
|
3209
3209
|
"children": [
|
|
3210
3210
|
{
|
|
3211
|
+
"type": "stack",
|
|
3212
|
+
"direction": "horizontal",
|
|
3211
3213
|
"children": [
|
|
3212
3214
|
{
|
|
3213
|
-
"
|
|
3214
|
-
"
|
|
3215
|
+
"type": "icon",
|
|
3216
|
+
"name": "plus-circle"
|
|
3215
3217
|
},
|
|
3216
3218
|
{
|
|
3217
3219
|
"content": "Create Category",
|
|
3218
|
-
"
|
|
3219
|
-
"
|
|
3220
|
+
"variant": "h3",
|
|
3221
|
+
"type": "typography"
|
|
3220
3222
|
}
|
|
3221
3223
|
],
|
|
3222
|
-
"gap": "sm"
|
|
3223
|
-
"type": "stack",
|
|
3224
|
-
"direction": "horizontal"
|
|
3224
|
+
"gap": "sm"
|
|
3225
3225
|
},
|
|
3226
3226
|
{
|
|
3227
3227
|
"type": "divider"
|
|
3228
3228
|
},
|
|
3229
3229
|
{
|
|
3230
3230
|
"entity": "Category",
|
|
3231
|
+
"mode": "create",
|
|
3231
3232
|
"submitEvent": "SAVE",
|
|
3232
3233
|
"cancelEvent": "CLOSE",
|
|
3233
|
-
"type": "form-section",
|
|
3234
3234
|
"fields": [
|
|
3235
3235
|
"name",
|
|
3236
3236
|
"slug",
|
|
@@ -3238,10 +3238,10 @@
|
|
|
3238
3238
|
"parentCategory",
|
|
3239
3239
|
"articleCount"
|
|
3240
3240
|
],
|
|
3241
|
-
"
|
|
3241
|
+
"type": "form-section"
|
|
3242
3242
|
}
|
|
3243
3243
|
],
|
|
3244
|
-
"
|
|
3244
|
+
"type": "stack"
|
|
3245
3245
|
}
|
|
3246
3246
|
]
|
|
3247
3247
|
]
|
|
@@ -3484,8 +3484,12 @@
|
|
|
3484
3484
|
"render-ui",
|
|
3485
3485
|
"modal",
|
|
3486
3486
|
{
|
|
3487
|
+
"type": "stack",
|
|
3488
|
+
"direction": "vertical",
|
|
3489
|
+
"gap": "md",
|
|
3487
3490
|
"children": [
|
|
3488
3491
|
{
|
|
3492
|
+
"direction": "horizontal",
|
|
3489
3493
|
"gap": "sm",
|
|
3490
3494
|
"type": "stack",
|
|
3491
3495
|
"children": [
|
|
@@ -3498,13 +3502,13 @@
|
|
|
3498
3502
|
"content": "Edit Category",
|
|
3499
3503
|
"type": "typography"
|
|
3500
3504
|
}
|
|
3501
|
-
]
|
|
3502
|
-
"direction": "horizontal"
|
|
3505
|
+
]
|
|
3503
3506
|
},
|
|
3504
3507
|
{
|
|
3505
3508
|
"type": "divider"
|
|
3506
3509
|
},
|
|
3507
3510
|
{
|
|
3511
|
+
"entity": "Category",
|
|
3508
3512
|
"fields": [
|
|
3509
3513
|
"name",
|
|
3510
3514
|
"slug",
|
|
@@ -3512,17 +3516,13 @@
|
|
|
3512
3516
|
"parentCategory",
|
|
3513
3517
|
"articleCount"
|
|
3514
3518
|
],
|
|
3515
|
-
"
|
|
3516
|
-
"
|
|
3519
|
+
"cancelEvent": "CLOSE",
|
|
3520
|
+
"mode": "edit",
|
|
3517
3521
|
"submitEvent": "SAVE",
|
|
3518
3522
|
"type": "form-section",
|
|
3519
|
-
"
|
|
3520
|
-
"mode": "edit"
|
|
3523
|
+
"entityId": "@entity.id"
|
|
3521
3524
|
}
|
|
3522
|
-
]
|
|
3523
|
-
"gap": "md",
|
|
3524
|
-
"type": "stack",
|
|
3525
|
-
"direction": "vertical"
|
|
3525
|
+
]
|
|
3526
3526
|
}
|
|
3527
3527
|
]
|
|
3528
3528
|
]
|
|
@@ -3742,8 +3742,8 @@
|
|
|
3742
3742
|
"Category",
|
|
3743
3743
|
{
|
|
3744
3744
|
"emit": {
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3745
|
+
"success": "CategoryLoaded",
|
|
3746
|
+
"failure": "CategoryLoadFailed"
|
|
3747
3747
|
},
|
|
3748
3748
|
"id": "@payload.id"
|
|
3749
3749
|
}
|
|
@@ -3752,23 +3752,21 @@
|
|
|
3752
3752
|
"render-ui",
|
|
3753
3753
|
"modal",
|
|
3754
3754
|
{
|
|
3755
|
-
"gap": "md",
|
|
3756
|
-
"type": "stack",
|
|
3757
3755
|
"children": [
|
|
3758
3756
|
{
|
|
3757
|
+
"type": "stack",
|
|
3759
3758
|
"direction": "horizontal",
|
|
3760
|
-
"align": "center",
|
|
3761
3759
|
"gap": "sm",
|
|
3762
|
-
"
|
|
3760
|
+
"align": "center",
|
|
3763
3761
|
"children": [
|
|
3764
3762
|
{
|
|
3765
|
-
"
|
|
3766
|
-
"
|
|
3763
|
+
"name": "eye",
|
|
3764
|
+
"type": "icon"
|
|
3767
3765
|
},
|
|
3768
3766
|
{
|
|
3769
|
-
"variant": "h3",
|
|
3770
3767
|
"type": "typography",
|
|
3771
|
-
"content": "@entity.name"
|
|
3768
|
+
"content": "@entity.name",
|
|
3769
|
+
"variant": "h3"
|
|
3772
3770
|
}
|
|
3773
3771
|
]
|
|
3774
3772
|
},
|
|
@@ -3781,35 +3779,37 @@
|
|
|
3781
3779
|
"direction": "horizontal",
|
|
3782
3780
|
"children": [
|
|
3783
3781
|
{
|
|
3784
|
-
"content": "Name",
|
|
3785
3782
|
"variant": "caption",
|
|
3783
|
+
"content": "Name",
|
|
3786
3784
|
"type": "typography"
|
|
3787
3785
|
},
|
|
3788
3786
|
{
|
|
3787
|
+
"variant": "body",
|
|
3789
3788
|
"type": "typography",
|
|
3790
|
-
"content": "@entity.name"
|
|
3791
|
-
"variant": "body"
|
|
3789
|
+
"content": "@entity.name"
|
|
3792
3790
|
}
|
|
3793
3791
|
]
|
|
3794
3792
|
},
|
|
3795
3793
|
{
|
|
3796
3794
|
"children": [
|
|
3797
3795
|
{
|
|
3798
|
-
"
|
|
3796
|
+
"type": "typography",
|
|
3799
3797
|
"content": "Slug",
|
|
3800
|
-
"
|
|
3798
|
+
"variant": "caption"
|
|
3801
3799
|
},
|
|
3802
3800
|
{
|
|
3801
|
+
"variant": "body",
|
|
3803
3802
|
"type": "typography",
|
|
3804
|
-
"content": "@entity.slug"
|
|
3805
|
-
"variant": "body"
|
|
3803
|
+
"content": "@entity.slug"
|
|
3806
3804
|
}
|
|
3807
3805
|
],
|
|
3808
3806
|
"gap": "md",
|
|
3809
|
-
"
|
|
3810
|
-
"
|
|
3807
|
+
"direction": "horizontal",
|
|
3808
|
+
"type": "stack"
|
|
3811
3809
|
},
|
|
3812
3810
|
{
|
|
3811
|
+
"direction": "horizontal",
|
|
3812
|
+
"gap": "md",
|
|
3813
3813
|
"children": [
|
|
3814
3814
|
{
|
|
3815
3815
|
"content": "Description",
|
|
@@ -3822,30 +3822,29 @@
|
|
|
3822
3822
|
"content": "@entity.description"
|
|
3823
3823
|
}
|
|
3824
3824
|
],
|
|
3825
|
-
"gap": "md",
|
|
3826
|
-
"direction": "horizontal",
|
|
3827
3825
|
"type": "stack"
|
|
3828
3826
|
},
|
|
3829
3827
|
{
|
|
3830
|
-
"direction": "horizontal",
|
|
3831
|
-
"gap": "md",
|
|
3832
3828
|
"children": [
|
|
3833
3829
|
{
|
|
3834
|
-
"type": "typography",
|
|
3835
3830
|
"content": "Parent Category",
|
|
3831
|
+
"type": "typography",
|
|
3836
3832
|
"variant": "caption"
|
|
3837
3833
|
},
|
|
3838
3834
|
{
|
|
3839
3835
|
"content": "@entity.parentCategory",
|
|
3840
|
-
"
|
|
3841
|
-
"
|
|
3836
|
+
"variant": "body",
|
|
3837
|
+
"type": "typography"
|
|
3842
3838
|
}
|
|
3843
3839
|
],
|
|
3844
|
-
"
|
|
3840
|
+
"direction": "horizontal",
|
|
3841
|
+
"type": "stack",
|
|
3842
|
+
"gap": "md"
|
|
3845
3843
|
},
|
|
3846
3844
|
{
|
|
3847
|
-
"gap": "md",
|
|
3848
3845
|
"type": "stack",
|
|
3846
|
+
"direction": "horizontal",
|
|
3847
|
+
"gap": "md",
|
|
3849
3848
|
"children": [
|
|
3850
3849
|
{
|
|
3851
3850
|
"type": "typography",
|
|
@@ -3857,34 +3856,35 @@
|
|
|
3857
3856
|
"variant": "body",
|
|
3858
3857
|
"content": "@entity.articleCount"
|
|
3859
3858
|
}
|
|
3860
|
-
]
|
|
3861
|
-
"direction": "horizontal"
|
|
3859
|
+
]
|
|
3862
3860
|
},
|
|
3863
3861
|
{
|
|
3864
3862
|
"type": "divider"
|
|
3865
3863
|
},
|
|
3866
3864
|
{
|
|
3865
|
+
"justify": "end",
|
|
3866
|
+
"type": "stack",
|
|
3867
|
+
"gap": "sm",
|
|
3868
|
+
"direction": "horizontal",
|
|
3867
3869
|
"children": [
|
|
3868
3870
|
{
|
|
3869
|
-
"
|
|
3871
|
+
"type": "button",
|
|
3870
3872
|
"label": "Edit",
|
|
3871
3873
|
"variant": "primary",
|
|
3872
|
-
"
|
|
3874
|
+
"icon": "edit",
|
|
3873
3875
|
"action": "EDIT"
|
|
3874
3876
|
},
|
|
3875
3877
|
{
|
|
3876
3878
|
"action": "CLOSE",
|
|
3877
|
-
"
|
|
3879
|
+
"type": "button",
|
|
3878
3880
|
"label": "Close",
|
|
3879
|
-
"
|
|
3881
|
+
"variant": "ghost"
|
|
3880
3882
|
}
|
|
3881
|
-
]
|
|
3882
|
-
"type": "stack",
|
|
3883
|
-
"justify": "end",
|
|
3884
|
-
"direction": "horizontal",
|
|
3885
|
-
"gap": "sm"
|
|
3883
|
+
]
|
|
3886
3884
|
}
|
|
3887
3885
|
],
|
|
3886
|
+
"type": "stack",
|
|
3887
|
+
"gap": "md",
|
|
3888
3888
|
"direction": "vertical"
|
|
3889
3889
|
}
|
|
3890
3890
|
]
|
|
@@ -4110,11 +4110,11 @@
|
|
|
4110
4110
|
"fetch",
|
|
4111
4111
|
"Category",
|
|
4112
4112
|
{
|
|
4113
|
-
"id": "@payload.id",
|
|
4114
4113
|
"emit": {
|
|
4115
|
-
"
|
|
4116
|
-
"
|
|
4117
|
-
}
|
|
4114
|
+
"success": "CategoryLoaded",
|
|
4115
|
+
"failure": "CategoryLoadFailed"
|
|
4116
|
+
},
|
|
4117
|
+
"id": "@payload.id"
|
|
4118
4118
|
}
|
|
4119
4119
|
],
|
|
4120
4120
|
[
|
|
@@ -4122,7 +4122,6 @@
|
|
|
4122
4122
|
"modal",
|
|
4123
4123
|
{
|
|
4124
4124
|
"type": "stack",
|
|
4125
|
-
"direction": "vertical",
|
|
4126
4125
|
"children": [
|
|
4127
4126
|
{
|
|
4128
4127
|
"gap": "sm",
|
|
@@ -4130,13 +4129,13 @@
|
|
|
4130
4129
|
"align": "center",
|
|
4131
4130
|
"children": [
|
|
4132
4131
|
{
|
|
4133
|
-
"
|
|
4134
|
-
"
|
|
4132
|
+
"type": "icon",
|
|
4133
|
+
"name": "alert-triangle"
|
|
4135
4134
|
},
|
|
4136
4135
|
{
|
|
4137
|
-
"content": "Delete Category",
|
|
4138
4136
|
"type": "typography",
|
|
4139
|
-
"variant": "h3"
|
|
4137
|
+
"variant": "h3",
|
|
4138
|
+
"content": "Delete Category"
|
|
4140
4139
|
}
|
|
4141
4140
|
],
|
|
4142
4141
|
"direction": "horizontal"
|
|
@@ -4150,27 +4149,28 @@
|
|
|
4150
4149
|
"message": "This action cannot be undone."
|
|
4151
4150
|
},
|
|
4152
4151
|
{
|
|
4152
|
+
"type": "stack",
|
|
4153
4153
|
"gap": "sm",
|
|
4154
|
+
"justify": "end",
|
|
4155
|
+
"direction": "horizontal",
|
|
4154
4156
|
"children": [
|
|
4155
4157
|
{
|
|
4156
|
-
"label": "Cancel",
|
|
4157
4158
|
"action": "CANCEL",
|
|
4159
|
+
"label": "Cancel",
|
|
4158
4160
|
"variant": "ghost",
|
|
4159
4161
|
"type": "button"
|
|
4160
4162
|
},
|
|
4161
4163
|
{
|
|
4164
|
+
"label": "Delete",
|
|
4165
|
+
"action": "CONFIRM_DELETE",
|
|
4162
4166
|
"variant": "danger",
|
|
4163
4167
|
"type": "button",
|
|
4164
|
-
"action": "CONFIRM_DELETE",
|
|
4165
|
-
"label": "Delete",
|
|
4166
4168
|
"icon": "check"
|
|
4167
4169
|
}
|
|
4168
|
-
]
|
|
4169
|
-
"type": "stack",
|
|
4170
|
-
"direction": "horizontal",
|
|
4171
|
-
"justify": "end"
|
|
4170
|
+
]
|
|
4172
4171
|
}
|
|
4173
4172
|
],
|
|
4173
|
+
"direction": "vertical",
|
|
4174
4174
|
"gap": "md"
|
|
4175
4175
|
}
|
|
4176
4176
|
]
|