@almadar/std 6.5.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-service-youtube",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-service-youtube as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ServiceYoutubeOrbital",
|
|
@@ -71,8 +71,73 @@
|
|
|
71
71
|
"traits": [
|
|
72
72
|
{
|
|
73
73
|
"name": "ServiceYoutubeYoutube",
|
|
74
|
-
"linkedEntity": "ServiceYoutube",
|
|
75
74
|
"category": "interaction",
|
|
75
|
+
"linkedEntity": "ServiceYoutube",
|
|
76
|
+
"emits": [
|
|
77
|
+
{
|
|
78
|
+
"event": "ServiceYoutubeLoaded",
|
|
79
|
+
"description": "Fired when ServiceYoutube finishes loading",
|
|
80
|
+
"scope": "internal",
|
|
81
|
+
"payload": [
|
|
82
|
+
{
|
|
83
|
+
"name": "id",
|
|
84
|
+
"type": "string",
|
|
85
|
+
"required": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "query",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "selectedVideoId",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "videoTitle",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "videoDescription",
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "searchStatus",
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "error",
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "name",
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "description",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "status",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "createdAt",
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"event": "ServiceYoutubeLoadFailed",
|
|
131
|
+
"description": "Fired when ServiceYoutube fails to load",
|
|
132
|
+
"scope": "internal",
|
|
133
|
+
"payload": [
|
|
134
|
+
{
|
|
135
|
+
"name": "message",
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
],
|
|
76
141
|
"stateMachine": {
|
|
77
142
|
"states": [
|
|
78
143
|
{
|
|
@@ -99,7 +164,7 @@
|
|
|
99
164
|
},
|
|
100
165
|
{
|
|
101
166
|
"key": "SEARCH",
|
|
102
|
-
"name": "Search
|
|
167
|
+
"name": "Search"
|
|
103
168
|
},
|
|
104
169
|
{
|
|
105
170
|
"key": "SEARCH_COMPLETE",
|
|
@@ -112,6 +177,17 @@
|
|
|
112
177
|
}
|
|
113
178
|
]
|
|
114
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"key": "FAILED",
|
|
182
|
+
"name": "Failed",
|
|
183
|
+
"payload": [
|
|
184
|
+
{
|
|
185
|
+
"name": "error",
|
|
186
|
+
"type": "string",
|
|
187
|
+
"required": true
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
115
191
|
{
|
|
116
192
|
"key": "SELECT_VIDEO",
|
|
117
193
|
"name": "Select Video",
|
|
@@ -123,6 +199,10 @@
|
|
|
123
199
|
}
|
|
124
200
|
]
|
|
125
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"key": "RESET",
|
|
204
|
+
"name": "Reset"
|
|
205
|
+
},
|
|
126
206
|
{
|
|
127
207
|
"key": "VIDEO_LOADED",
|
|
128
208
|
"name": "Video Loaded",
|
|
@@ -141,22 +221,21 @@
|
|
|
141
221
|
},
|
|
142
222
|
{
|
|
143
223
|
"key": "BACK",
|
|
144
|
-
"name": "Back
|
|
224
|
+
"name": "Back"
|
|
145
225
|
},
|
|
146
226
|
{
|
|
147
|
-
"key": "
|
|
148
|
-
"name": "
|
|
227
|
+
"key": "ServiceYoutubeLoaded",
|
|
228
|
+
"name": "ServiceYoutube loaded"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"key": "ServiceYoutubeLoadFailed",
|
|
232
|
+
"name": "ServiceYoutube load failed",
|
|
149
233
|
"payload": [
|
|
150
234
|
{
|
|
151
|
-
"name": "
|
|
152
|
-
"type": "string"
|
|
153
|
-
"required": true
|
|
235
|
+
"name": "message",
|
|
236
|
+
"type": "string"
|
|
154
237
|
}
|
|
155
238
|
]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"key": "RESET",
|
|
159
|
-
"name": "Reset"
|
|
160
239
|
}
|
|
161
240
|
],
|
|
162
241
|
"transitions": [
|
|
@@ -167,22 +246,21 @@
|
|
|
167
246
|
"effects": [
|
|
168
247
|
[
|
|
169
248
|
"fetch",
|
|
170
|
-
"ServiceYoutube"
|
|
249
|
+
"ServiceYoutube",
|
|
250
|
+
{
|
|
251
|
+
"emit": {
|
|
252
|
+
"success": "ServiceYoutubeLoaded",
|
|
253
|
+
"failure": "ServiceYoutubeLoadFailed"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
171
256
|
],
|
|
172
257
|
[
|
|
173
258
|
"render-ui",
|
|
174
259
|
"main",
|
|
175
260
|
{
|
|
176
261
|
"type": "stack",
|
|
177
|
-
"direction": "vertical",
|
|
178
|
-
"gap": "lg",
|
|
179
|
-
"align": "stretch",
|
|
180
262
|
"children": [
|
|
181
263
|
{
|
|
182
|
-
"type": "stack",
|
|
183
|
-
"direction": "horizontal",
|
|
184
|
-
"gap": "md",
|
|
185
|
-
"align": "center",
|
|
186
264
|
"children": [
|
|
187
265
|
{
|
|
188
266
|
"type": "icon",
|
|
@@ -190,29 +268,36 @@
|
|
|
190
268
|
"size": "lg"
|
|
191
269
|
},
|
|
192
270
|
{
|
|
193
|
-
"type": "typography",
|
|
194
271
|
"content": "YouTube Search",
|
|
272
|
+
"type": "typography",
|
|
195
273
|
"variant": "h2"
|
|
196
274
|
}
|
|
197
|
-
]
|
|
275
|
+
],
|
|
276
|
+
"direction": "horizontal",
|
|
277
|
+
"type": "stack",
|
|
278
|
+
"gap": "md",
|
|
279
|
+
"align": "center"
|
|
198
280
|
},
|
|
199
281
|
{
|
|
200
282
|
"type": "divider"
|
|
201
283
|
},
|
|
202
284
|
{
|
|
285
|
+
"placeholder": "Search YouTube videos...",
|
|
203
286
|
"type": "input",
|
|
204
287
|
"label": "Search",
|
|
205
|
-
"bind": "@entity.query"
|
|
206
|
-
"placeholder": "Search YouTube videos..."
|
|
288
|
+
"bind": "@entity.query"
|
|
207
289
|
},
|
|
208
290
|
{
|
|
209
291
|
"type": "button",
|
|
292
|
+
"icon": "search",
|
|
210
293
|
"label": "Search",
|
|
211
|
-
"event": "SEARCH",
|
|
212
294
|
"variant": "primary",
|
|
213
|
-
"
|
|
295
|
+
"event": "SEARCH"
|
|
214
296
|
}
|
|
215
|
-
]
|
|
297
|
+
],
|
|
298
|
+
"direction": "vertical",
|
|
299
|
+
"gap": "lg",
|
|
300
|
+
"align": "stretch"
|
|
216
301
|
}
|
|
217
302
|
]
|
|
218
303
|
]
|
|
@@ -227,34 +312,8 @@
|
|
|
227
312
|
"main",
|
|
228
313
|
{
|
|
229
314
|
"type": "loading-state",
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
[
|
|
235
|
-
"call-service",
|
|
236
|
-
"youtube",
|
|
237
|
-
"search",
|
|
238
|
-
{
|
|
239
|
-
"query": "@entity.query",
|
|
240
|
-
"maxResults": 10,
|
|
241
|
-
"type": "video"
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
]
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"from": "results",
|
|
248
|
-
"to": "searching",
|
|
249
|
-
"event": "SEARCH",
|
|
250
|
-
"effects": [
|
|
251
|
-
[
|
|
252
|
-
"render-ui",
|
|
253
|
-
"main",
|
|
254
|
-
{
|
|
255
|
-
"type": "loading-state",
|
|
256
|
-
"title": "Searching...",
|
|
257
|
-
"message": "Searching YouTube for videos..."
|
|
315
|
+
"message": "Searching YouTube for videos...",
|
|
316
|
+
"title": "Searching..."
|
|
258
317
|
}
|
|
259
318
|
],
|
|
260
319
|
[
|
|
@@ -262,9 +321,9 @@
|
|
|
262
321
|
"youtube",
|
|
263
322
|
"search",
|
|
264
323
|
{
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
324
|
+
"maxResults": 10.0,
|
|
325
|
+
"type": "video",
|
|
326
|
+
"query": "@entity.query"
|
|
268
327
|
}
|
|
269
328
|
]
|
|
270
329
|
]
|
|
@@ -283,26 +342,25 @@
|
|
|
283
342
|
"render-ui",
|
|
284
343
|
"main",
|
|
285
344
|
{
|
|
286
|
-
"type": "stack",
|
|
287
|
-
"direction": "vertical",
|
|
288
345
|
"gap": "lg",
|
|
346
|
+
"type": "stack",
|
|
289
347
|
"align": "stretch",
|
|
290
348
|
"children": [
|
|
291
349
|
{
|
|
292
|
-
"type": "stack",
|
|
293
350
|
"direction": "horizontal",
|
|
294
|
-
"
|
|
351
|
+
"type": "stack",
|
|
295
352
|
"align": "center",
|
|
353
|
+
"gap": "md",
|
|
296
354
|
"children": [
|
|
297
355
|
{
|
|
356
|
+
"size": "lg",
|
|
298
357
|
"type": "icon",
|
|
299
|
-
"name": "video"
|
|
300
|
-
"size": "lg"
|
|
358
|
+
"name": "video"
|
|
301
359
|
},
|
|
302
360
|
{
|
|
361
|
+
"variant": "h2",
|
|
303
362
|
"type": "typography",
|
|
304
|
-
"content": "Search Results"
|
|
305
|
-
"variant": "h2"
|
|
363
|
+
"content": "Search Results"
|
|
306
364
|
}
|
|
307
365
|
]
|
|
308
366
|
},
|
|
@@ -310,33 +368,117 @@
|
|
|
310
368
|
"type": "divider"
|
|
311
369
|
},
|
|
312
370
|
{
|
|
313
|
-
"type": "typography",
|
|
314
371
|
"content": "Select a video to view details.",
|
|
372
|
+
"type": "typography",
|
|
315
373
|
"variant": "body"
|
|
316
374
|
},
|
|
317
375
|
{
|
|
318
|
-
"type": "stack",
|
|
319
376
|
"direction": "horizontal",
|
|
320
|
-
"gap": "sm",
|
|
321
|
-
"justify": "center",
|
|
322
377
|
"children": [
|
|
323
378
|
{
|
|
324
|
-
"type": "button",
|
|
325
|
-
"label": "New Search",
|
|
326
379
|
"event": "RESET",
|
|
380
|
+
"label": "New Search",
|
|
327
381
|
"variant": "ghost",
|
|
328
|
-
"icon": "rotate-ccw"
|
|
382
|
+
"icon": "rotate-ccw",
|
|
383
|
+
"type": "button"
|
|
329
384
|
},
|
|
330
385
|
{
|
|
331
|
-
"
|
|
332
|
-
"label": "Search Again",
|
|
333
|
-
"event": "SEARCH",
|
|
386
|
+
"icon": "search",
|
|
334
387
|
"variant": "outline",
|
|
335
|
-
"
|
|
388
|
+
"event": "SEARCH",
|
|
389
|
+
"type": "button",
|
|
390
|
+
"label": "Search Again"
|
|
336
391
|
}
|
|
337
|
-
]
|
|
392
|
+
],
|
|
393
|
+
"gap": "sm",
|
|
394
|
+
"justify": "center",
|
|
395
|
+
"type": "stack"
|
|
338
396
|
}
|
|
339
|
-
]
|
|
397
|
+
],
|
|
398
|
+
"direction": "vertical"
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"from": "searching",
|
|
405
|
+
"to": "error",
|
|
406
|
+
"event": "FAILED",
|
|
407
|
+
"effects": [
|
|
408
|
+
[
|
|
409
|
+
"set",
|
|
410
|
+
"@entity.error",
|
|
411
|
+
"@payload.error"
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
"set",
|
|
415
|
+
"@entity.searchStatus",
|
|
416
|
+
"error"
|
|
417
|
+
],
|
|
418
|
+
[
|
|
419
|
+
"render-ui",
|
|
420
|
+
"main",
|
|
421
|
+
{
|
|
422
|
+
"direction": "vertical",
|
|
423
|
+
"gap": "lg",
|
|
424
|
+
"children": [
|
|
425
|
+
{
|
|
426
|
+
"onRetry": "SEARCH",
|
|
427
|
+
"message": "@entity.error",
|
|
428
|
+
"type": "error-state",
|
|
429
|
+
"title": "Search Failed"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"children": [
|
|
433
|
+
{
|
|
434
|
+
"icon": "refresh-cw",
|
|
435
|
+
"type": "button",
|
|
436
|
+
"label": "Retry",
|
|
437
|
+
"variant": "primary",
|
|
438
|
+
"event": "SEARCH"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"label": "Reset",
|
|
442
|
+
"variant": "ghost",
|
|
443
|
+
"icon": "rotate-ccw",
|
|
444
|
+
"event": "RESET",
|
|
445
|
+
"type": "button"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"justify": "center",
|
|
449
|
+
"type": "stack",
|
|
450
|
+
"gap": "sm",
|
|
451
|
+
"direction": "horizontal"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"type": "stack",
|
|
455
|
+
"align": "center"
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"from": "results",
|
|
462
|
+
"to": "searching",
|
|
463
|
+
"event": "SEARCH",
|
|
464
|
+
"effects": [
|
|
465
|
+
[
|
|
466
|
+
"render-ui",
|
|
467
|
+
"main",
|
|
468
|
+
{
|
|
469
|
+
"message": "Searching YouTube for videos...",
|
|
470
|
+
"type": "loading-state",
|
|
471
|
+
"title": "Searching..."
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
[
|
|
475
|
+
"call-service",
|
|
476
|
+
"youtube",
|
|
477
|
+
"search",
|
|
478
|
+
{
|
|
479
|
+
"type": "video",
|
|
480
|
+
"maxResults": 10.0,
|
|
481
|
+
"query": "@entity.query"
|
|
340
482
|
}
|
|
341
483
|
]
|
|
342
484
|
]
|
|
@@ -371,86 +513,88 @@
|
|
|
371
513
|
]
|
|
372
514
|
},
|
|
373
515
|
{
|
|
374
|
-
"from": "
|
|
375
|
-
"to": "
|
|
376
|
-
"event": "
|
|
516
|
+
"from": "results",
|
|
517
|
+
"to": "idle",
|
|
518
|
+
"event": "RESET",
|
|
377
519
|
"effects": [
|
|
378
520
|
[
|
|
379
521
|
"set",
|
|
380
|
-
"@entity.
|
|
381
|
-
"
|
|
382
|
-
],
|
|
383
|
-
[
|
|
384
|
-
"set",
|
|
385
|
-
"@entity.videoDescription",
|
|
386
|
-
"@payload.description"
|
|
522
|
+
"@entity.searchStatus",
|
|
523
|
+
"idle"
|
|
387
524
|
],
|
|
388
525
|
[
|
|
389
526
|
"render-ui",
|
|
390
527
|
"main",
|
|
391
528
|
{
|
|
392
529
|
"type": "stack",
|
|
393
|
-
"direction": "vertical",
|
|
394
|
-
"gap": "lg",
|
|
395
530
|
"align": "stretch",
|
|
396
531
|
"children": [
|
|
397
532
|
{
|
|
398
|
-
"type": "stack",
|
|
399
533
|
"direction": "horizontal",
|
|
400
|
-
"gap": "md",
|
|
401
|
-
"align": "center",
|
|
402
534
|
"children": [
|
|
403
535
|
{
|
|
404
|
-
"type": "icon",
|
|
405
536
|
"name": "video",
|
|
406
|
-
"size": "lg"
|
|
537
|
+
"size": "lg",
|
|
538
|
+
"type": "icon"
|
|
407
539
|
},
|
|
408
540
|
{
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"
|
|
541
|
+
"content": "YouTube Search",
|
|
542
|
+
"variant": "h2",
|
|
543
|
+
"type": "typography"
|
|
412
544
|
}
|
|
413
|
-
]
|
|
545
|
+
],
|
|
546
|
+
"align": "center",
|
|
547
|
+
"gap": "md",
|
|
548
|
+
"type": "stack"
|
|
414
549
|
},
|
|
415
550
|
{
|
|
416
551
|
"type": "divider"
|
|
417
552
|
},
|
|
418
553
|
{
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"
|
|
554
|
+
"label": "Search",
|
|
555
|
+
"bind": "@entity.query",
|
|
556
|
+
"type": "input",
|
|
557
|
+
"placeholder": "Search YouTube videos..."
|
|
422
558
|
},
|
|
423
559
|
{
|
|
560
|
+
"variant": "primary",
|
|
561
|
+
"label": "Search",
|
|
562
|
+
"event": "SEARCH",
|
|
424
563
|
"type": "button",
|
|
425
|
-
"
|
|
426
|
-
"event": "BACK",
|
|
427
|
-
"variant": "ghost",
|
|
428
|
-
"icon": "arrow-left"
|
|
564
|
+
"icon": "search"
|
|
429
565
|
}
|
|
430
|
-
]
|
|
566
|
+
],
|
|
567
|
+
"direction": "vertical",
|
|
568
|
+
"gap": "lg"
|
|
431
569
|
}
|
|
432
570
|
]
|
|
433
571
|
]
|
|
434
572
|
},
|
|
435
573
|
{
|
|
436
574
|
"from": "viewingDetail",
|
|
437
|
-
"to": "
|
|
438
|
-
"event": "
|
|
575
|
+
"to": "viewingDetail",
|
|
576
|
+
"event": "VIDEO_LOADED",
|
|
439
577
|
"effects": [
|
|
578
|
+
[
|
|
579
|
+
"set",
|
|
580
|
+
"@entity.videoTitle",
|
|
581
|
+
"@payload.title"
|
|
582
|
+
],
|
|
583
|
+
[
|
|
584
|
+
"set",
|
|
585
|
+
"@entity.videoDescription",
|
|
586
|
+
"@payload.description"
|
|
587
|
+
],
|
|
440
588
|
[
|
|
441
589
|
"render-ui",
|
|
442
590
|
"main",
|
|
443
591
|
{
|
|
444
|
-
"type": "stack",
|
|
445
|
-
"direction": "vertical",
|
|
446
592
|
"gap": "lg",
|
|
447
593
|
"align": "stretch",
|
|
448
594
|
"children": [
|
|
449
595
|
{
|
|
450
|
-
"type": "stack",
|
|
451
|
-
"direction": "horizontal",
|
|
452
|
-
"gap": "md",
|
|
453
596
|
"align": "center",
|
|
597
|
+
"direction": "horizontal",
|
|
454
598
|
"children": [
|
|
455
599
|
{
|
|
456
600
|
"type": "icon",
|
|
@@ -459,157 +603,98 @@
|
|
|
459
603
|
},
|
|
460
604
|
{
|
|
461
605
|
"type": "typography",
|
|
462
|
-
"content": "
|
|
606
|
+
"content": "@entity.videoTitle",
|
|
463
607
|
"variant": "h2"
|
|
464
608
|
}
|
|
465
|
-
]
|
|
609
|
+
],
|
|
610
|
+
"gap": "md",
|
|
611
|
+
"type": "stack"
|
|
466
612
|
},
|
|
467
613
|
{
|
|
468
614
|
"type": "divider"
|
|
469
615
|
},
|
|
470
616
|
{
|
|
471
617
|
"type": "typography",
|
|
472
|
-
"content": "
|
|
618
|
+
"content": "@entity.videoDescription",
|
|
473
619
|
"variant": "body"
|
|
474
620
|
},
|
|
475
621
|
{
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
{
|
|
482
|
-
"type": "button",
|
|
483
|
-
"label": "New Search",
|
|
484
|
-
"event": "RESET",
|
|
485
|
-
"variant": "ghost",
|
|
486
|
-
"icon": "rotate-ccw"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"type": "button",
|
|
490
|
-
"label": "Search Again",
|
|
491
|
-
"event": "SEARCH",
|
|
492
|
-
"variant": "outline",
|
|
493
|
-
"icon": "search"
|
|
494
|
-
}
|
|
495
|
-
]
|
|
622
|
+
"event": "BACK",
|
|
623
|
+
"icon": "arrow-left",
|
|
624
|
+
"type": "button",
|
|
625
|
+
"variant": "ghost",
|
|
626
|
+
"label": "Back to Results"
|
|
496
627
|
}
|
|
497
|
-
]
|
|
498
|
-
}
|
|
499
|
-
]
|
|
500
|
-
]
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"from": "searching",
|
|
504
|
-
"to": "error",
|
|
505
|
-
"event": "FAILED",
|
|
506
|
-
"effects": [
|
|
507
|
-
[
|
|
508
|
-
"set",
|
|
509
|
-
"@entity.error",
|
|
510
|
-
"@payload.error"
|
|
511
|
-
],
|
|
512
|
-
[
|
|
513
|
-
"set",
|
|
514
|
-
"@entity.searchStatus",
|
|
515
|
-
"error"
|
|
516
|
-
],
|
|
517
|
-
[
|
|
518
|
-
"render-ui",
|
|
519
|
-
"main",
|
|
520
|
-
{
|
|
521
|
-
"type": "stack",
|
|
628
|
+
],
|
|
522
629
|
"direction": "vertical",
|
|
523
|
-
"
|
|
524
|
-
"align": "center",
|
|
525
|
-
"children": [
|
|
526
|
-
{
|
|
527
|
-
"type": "error-state",
|
|
528
|
-
"title": "Search Failed",
|
|
529
|
-
"message": "@entity.error",
|
|
530
|
-
"onRetry": "SEARCH"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"type": "stack",
|
|
534
|
-
"direction": "horizontal",
|
|
535
|
-
"gap": "sm",
|
|
536
|
-
"justify": "center",
|
|
537
|
-
"children": [
|
|
538
|
-
{
|
|
539
|
-
"type": "button",
|
|
540
|
-
"label": "Retry",
|
|
541
|
-
"event": "SEARCH",
|
|
542
|
-
"variant": "primary",
|
|
543
|
-
"icon": "refresh-cw"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"type": "button",
|
|
547
|
-
"label": "Reset",
|
|
548
|
-
"event": "RESET",
|
|
549
|
-
"variant": "ghost",
|
|
550
|
-
"icon": "rotate-ccw"
|
|
551
|
-
}
|
|
552
|
-
]
|
|
553
|
-
}
|
|
554
|
-
]
|
|
630
|
+
"type": "stack"
|
|
555
631
|
}
|
|
556
632
|
]
|
|
557
633
|
]
|
|
558
634
|
},
|
|
559
635
|
{
|
|
560
|
-
"from": "
|
|
561
|
-
"to": "
|
|
562
|
-
"event": "
|
|
636
|
+
"from": "viewingDetail",
|
|
637
|
+
"to": "results",
|
|
638
|
+
"event": "BACK",
|
|
563
639
|
"effects": [
|
|
564
|
-
[
|
|
565
|
-
"set",
|
|
566
|
-
"@entity.searchStatus",
|
|
567
|
-
"idle"
|
|
568
|
-
],
|
|
569
640
|
[
|
|
570
641
|
"render-ui",
|
|
571
642
|
"main",
|
|
572
643
|
{
|
|
573
|
-
"type": "stack",
|
|
574
|
-
"direction": "vertical",
|
|
575
|
-
"gap": "lg",
|
|
576
|
-
"align": "stretch",
|
|
577
644
|
"children": [
|
|
578
645
|
{
|
|
579
|
-
"type": "stack",
|
|
580
|
-
"direction": "horizontal",
|
|
581
|
-
"gap": "md",
|
|
582
|
-
"align": "center",
|
|
583
646
|
"children": [
|
|
584
647
|
{
|
|
585
648
|
"type": "icon",
|
|
586
|
-
"
|
|
587
|
-
"
|
|
649
|
+
"size": "lg",
|
|
650
|
+
"name": "video"
|
|
588
651
|
},
|
|
589
652
|
{
|
|
590
653
|
"type": "typography",
|
|
591
|
-
"content": "
|
|
654
|
+
"content": "Search Results",
|
|
592
655
|
"variant": "h2"
|
|
593
656
|
}
|
|
594
|
-
]
|
|
657
|
+
],
|
|
658
|
+
"gap": "md",
|
|
659
|
+
"direction": "horizontal",
|
|
660
|
+
"type": "stack",
|
|
661
|
+
"align": "center"
|
|
595
662
|
},
|
|
596
663
|
{
|
|
597
664
|
"type": "divider"
|
|
598
665
|
},
|
|
599
666
|
{
|
|
600
|
-
"
|
|
601
|
-
"
|
|
602
|
-
"
|
|
603
|
-
"placeholder": "Search YouTube videos..."
|
|
667
|
+
"variant": "body",
|
|
668
|
+
"type": "typography",
|
|
669
|
+
"content": "Select a video to view details."
|
|
604
670
|
},
|
|
605
671
|
{
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
672
|
+
"children": [
|
|
673
|
+
{
|
|
674
|
+
"type": "button",
|
|
675
|
+
"icon": "rotate-ccw",
|
|
676
|
+
"event": "RESET",
|
|
677
|
+
"label": "New Search",
|
|
678
|
+
"variant": "ghost"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"icon": "search",
|
|
682
|
+
"variant": "outline",
|
|
683
|
+
"label": "Search Again",
|
|
684
|
+
"event": "SEARCH",
|
|
685
|
+
"type": "button"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"justify": "center",
|
|
689
|
+
"direction": "horizontal",
|
|
690
|
+
"gap": "sm",
|
|
691
|
+
"type": "stack"
|
|
611
692
|
}
|
|
612
|
-
]
|
|
693
|
+
],
|
|
694
|
+
"type": "stack",
|
|
695
|
+
"align": "stretch",
|
|
696
|
+
"gap": "lg",
|
|
697
|
+
"direction": "vertical"
|
|
613
698
|
}
|
|
614
699
|
]
|
|
615
700
|
]
|
|
@@ -634,51 +719,52 @@
|
|
|
634
719
|
"main",
|
|
635
720
|
{
|
|
636
721
|
"type": "stack",
|
|
637
|
-
"direction": "vertical",
|
|
638
|
-
"gap": "lg",
|
|
639
722
|
"align": "stretch",
|
|
640
723
|
"children": [
|
|
641
724
|
{
|
|
642
|
-
"type": "stack",
|
|
643
725
|
"direction": "horizontal",
|
|
644
|
-
"gap": "md",
|
|
645
|
-
"align": "center",
|
|
646
726
|
"children": [
|
|
647
727
|
{
|
|
728
|
+
"size": "lg",
|
|
648
729
|
"type": "icon",
|
|
649
|
-
"name": "video"
|
|
650
|
-
"size": "lg"
|
|
730
|
+
"name": "video"
|
|
651
731
|
},
|
|
652
732
|
{
|
|
653
|
-
"type": "typography",
|
|
654
733
|
"content": "YouTube Search",
|
|
655
|
-
"variant": "h2"
|
|
734
|
+
"variant": "h2",
|
|
735
|
+
"type": "typography"
|
|
656
736
|
}
|
|
657
|
-
]
|
|
737
|
+
],
|
|
738
|
+
"type": "stack",
|
|
739
|
+
"gap": "md",
|
|
740
|
+
"align": "center"
|
|
658
741
|
},
|
|
659
742
|
{
|
|
660
743
|
"type": "divider"
|
|
661
744
|
},
|
|
662
745
|
{
|
|
663
|
-
"type": "input",
|
|
664
746
|
"label": "Search",
|
|
747
|
+
"type": "input",
|
|
665
748
|
"bind": "@entity.query",
|
|
666
749
|
"placeholder": "Search YouTube videos..."
|
|
667
750
|
},
|
|
668
751
|
{
|
|
752
|
+
"variant": "primary",
|
|
669
753
|
"type": "button",
|
|
670
754
|
"label": "Search",
|
|
671
755
|
"event": "SEARCH",
|
|
672
|
-
"variant": "primary",
|
|
673
756
|
"icon": "search"
|
|
674
757
|
}
|
|
675
|
-
]
|
|
758
|
+
],
|
|
759
|
+
"direction": "vertical",
|
|
760
|
+
"gap": "lg"
|
|
676
761
|
}
|
|
677
762
|
]
|
|
678
763
|
]
|
|
679
764
|
}
|
|
680
765
|
]
|
|
681
|
-
}
|
|
766
|
+
},
|
|
767
|
+
"scope": "instance"
|
|
682
768
|
}
|
|
683
769
|
],
|
|
684
770
|
"pages": [
|
|
@@ -694,4 +780,4 @@
|
|
|
694
780
|
]
|
|
695
781
|
}
|
|
696
782
|
]
|
|
697
|
-
}
|
|
783
|
+
}
|