@almadar/std 8.2.0 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
- package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
- package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
- package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
- package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
- package/behaviors/registry/app/organisms/std-cms.orb +445 -445
- package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
- package/behaviors/registry/app/organisms/std-crm.orb +781 -781
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
- package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
- package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
- package/behaviors/registry/app/organisms/std-lms.orb +863 -863
- package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
- package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
- package/behaviors/registry/core/atoms/std-browse.orb +60 -60
- package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
- package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
- package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
- package/behaviors/registry/core/atoms/std-display.orb +371 -371
- package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/behaviors/registry/core/atoms/std-filter.orb +46 -46
- package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
- package/behaviors/registry/core/atoms/std-modal.orb +14 -32
- package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
- package/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
- package/behaviors/registry/core/atoms/std-related.orb +36 -36
- package/behaviors/registry/core/atoms/std-search.orb +71 -71
- package/behaviors/registry/core/atoms/std-selection.orb +89 -89
- package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
- package/behaviors/registry/core/molecules/std-cart.orb +54 -54
- package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
- package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
- package/behaviors/registry/core/molecules/std-list.orb +60 -60
- package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
- package/behaviors/registry/game/atoms/std-collision.orb +143 -143
- package/behaviors/registry/game/atoms/std-combat.orb +80 -80
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
- package/behaviors/registry/game/atoms/std-movement.orb +300 -300
- package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
- package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/behaviors/registry/game/atoms/std-timer.orb +251 -260
- package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
- package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
- package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
- package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
- package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
- package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
- package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
- package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
- package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
- package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
- package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
- package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
- package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
- package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
- package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
- package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
- package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
- package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
- package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
- package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
- package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
- package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
- package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
- package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
- package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
- package/package.json +1 -1
|
@@ -213,51 +213,51 @@
|
|
|
213
213
|
"render-ui",
|
|
214
214
|
"main",
|
|
215
215
|
{
|
|
216
|
+
"gap": "lg",
|
|
217
|
+
"direction": "vertical",
|
|
216
218
|
"children": [
|
|
217
219
|
{
|
|
218
|
-
"type": "stack",
|
|
219
220
|
"direction": "horizontal",
|
|
220
|
-
"justify": "between",
|
|
221
221
|
"children": [
|
|
222
222
|
{
|
|
223
|
+
"type": "stack",
|
|
224
|
+
"direction": "horizontal",
|
|
225
|
+
"gap": "md",
|
|
223
226
|
"children": [
|
|
224
227
|
{
|
|
225
228
|
"name": "database",
|
|
226
229
|
"type": "icon"
|
|
227
230
|
},
|
|
228
231
|
{
|
|
229
|
-
"variant": "h2",
|
|
230
232
|
"content": "Cache (empty)",
|
|
233
|
+
"variant": "h2",
|
|
231
234
|
"type": "typography"
|
|
232
235
|
}
|
|
233
|
-
]
|
|
234
|
-
"gap": "md",
|
|
235
|
-
"type": "stack",
|
|
236
|
-
"direction": "horizontal"
|
|
236
|
+
]
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
"
|
|
239
|
+
"action": "FETCH",
|
|
240
240
|
"label": "Fetch",
|
|
241
|
-
"
|
|
241
|
+
"type": "button",
|
|
242
242
|
"icon": "download",
|
|
243
|
-
"
|
|
243
|
+
"variant": "primary"
|
|
244
244
|
}
|
|
245
245
|
],
|
|
246
|
-
"
|
|
246
|
+
"type": "stack",
|
|
247
|
+
"gap": "md",
|
|
248
|
+
"justify": "between"
|
|
247
249
|
},
|
|
248
250
|
{
|
|
249
251
|
"type": "divider"
|
|
250
252
|
},
|
|
251
253
|
{
|
|
252
|
-
"description": "Fetch data to populate the cache.",
|
|
253
|
-
"type": "empty-state",
|
|
254
254
|
"title": "Cache is empty",
|
|
255
|
-
"icon": "inbox"
|
|
255
|
+
"icon": "inbox",
|
|
256
|
+
"description": "Fetch data to populate the cache.",
|
|
257
|
+
"type": "empty-state"
|
|
256
258
|
}
|
|
257
259
|
],
|
|
258
|
-
"
|
|
259
|
-
"type": "stack",
|
|
260
|
-
"gap": "lg"
|
|
260
|
+
"type": "stack"
|
|
261
261
|
}
|
|
262
262
|
]
|
|
263
263
|
]
|
|
@@ -272,8 +272,8 @@
|
|
|
272
272
|
"CacheEntry",
|
|
273
273
|
{
|
|
274
274
|
"emit": {
|
|
275
|
-
"
|
|
276
|
-
"
|
|
275
|
+
"failure": "CacheEntryLoadFailed",
|
|
276
|
+
"success": "CacheEntryLoaded"
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
],
|
|
@@ -292,11 +292,11 @@
|
|
|
292
292
|
"content": "Fetching cache…"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
|
+
"type": "stack",
|
|
295
296
|
"direction": "vertical",
|
|
296
|
-
"align": "center",
|
|
297
|
-
"gap": "md",
|
|
298
297
|
"className": "py-12",
|
|
299
|
-
"
|
|
298
|
+
"gap": "md",
|
|
299
|
+
"align": "center"
|
|
300
300
|
}
|
|
301
301
|
]
|
|
302
302
|
]
|
|
@@ -310,12 +310,16 @@
|
|
|
310
310
|
"render-ui",
|
|
311
311
|
"main",
|
|
312
312
|
{
|
|
313
|
+
"type": "stack",
|
|
314
|
+
"direction": "vertical",
|
|
313
315
|
"children": [
|
|
314
316
|
{
|
|
317
|
+
"gap": "md",
|
|
318
|
+
"type": "stack",
|
|
319
|
+
"justify": "between",
|
|
315
320
|
"children": [
|
|
316
321
|
{
|
|
317
|
-
"
|
|
318
|
-
"direction": "horizontal",
|
|
322
|
+
"type": "stack",
|
|
319
323
|
"children": [
|
|
320
324
|
{
|
|
321
325
|
"type": "icon",
|
|
@@ -323,65 +327,62 @@
|
|
|
323
327
|
},
|
|
324
328
|
{
|
|
325
329
|
"content": "Cache (hot)",
|
|
326
|
-
"
|
|
327
|
-
"
|
|
330
|
+
"variant": "h2",
|
|
331
|
+
"type": "typography"
|
|
328
332
|
}
|
|
329
333
|
],
|
|
330
|
-
"
|
|
334
|
+
"gap": "md",
|
|
335
|
+
"direction": "horizontal"
|
|
331
336
|
},
|
|
332
337
|
{
|
|
333
338
|
"children": [
|
|
334
339
|
{
|
|
335
|
-
"pulse": false,
|
|
336
340
|
"type": "status-dot",
|
|
337
|
-
"
|
|
338
|
-
"
|
|
341
|
+
"label": "Cached",
|
|
342
|
+
"pulse": false,
|
|
343
|
+
"status": "online"
|
|
339
344
|
},
|
|
340
345
|
{
|
|
341
|
-
"icon": "trash",
|
|
342
|
-
"label": "Invalidate",
|
|
343
|
-
"action": "INVALIDATE",
|
|
344
346
|
"variant": "ghost",
|
|
345
|
-
"type": "button"
|
|
347
|
+
"type": "button",
|
|
348
|
+
"action": "INVALIDATE",
|
|
349
|
+
"icon": "trash",
|
|
350
|
+
"label": "Invalidate"
|
|
346
351
|
}
|
|
347
352
|
],
|
|
348
|
-
"direction": "horizontal",
|
|
349
353
|
"type": "stack",
|
|
350
|
-
"
|
|
351
|
-
"
|
|
354
|
+
"align": "center",
|
|
355
|
+
"direction": "horizontal",
|
|
356
|
+
"gap": "sm"
|
|
352
357
|
}
|
|
353
358
|
],
|
|
354
|
-
"
|
|
355
|
-
"direction": "horizontal",
|
|
356
|
-
"justify": "between",
|
|
357
|
-
"gap": "md"
|
|
359
|
+
"direction": "horizontal"
|
|
358
360
|
},
|
|
359
361
|
{
|
|
360
362
|
"type": "divider"
|
|
361
363
|
},
|
|
362
364
|
{
|
|
363
|
-
"
|
|
365
|
+
"type": "data-grid",
|
|
364
366
|
"fields": [],
|
|
365
367
|
"renderItem": [
|
|
366
368
|
"fn",
|
|
367
369
|
"item",
|
|
368
370
|
{
|
|
369
|
-
"direction": "vertical",
|
|
370
|
-
"gap": "sm",
|
|
371
371
|
"type": "stack",
|
|
372
372
|
"children": [
|
|
373
373
|
{
|
|
374
|
-
"type": "stack",
|
|
375
|
-
"direction": "horizontal",
|
|
376
374
|
"justify": "between",
|
|
377
375
|
"align": "center",
|
|
376
|
+
"direction": "horizontal",
|
|
378
377
|
"children": [
|
|
379
378
|
{
|
|
379
|
+
"direction": "horizontal",
|
|
380
380
|
"align": "center",
|
|
381
|
+
"type": "stack",
|
|
381
382
|
"children": [
|
|
382
383
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
384
|
+
"name": "database",
|
|
385
|
+
"type": "icon"
|
|
385
386
|
},
|
|
386
387
|
{
|
|
387
388
|
"type": "typography",
|
|
@@ -389,30 +390,29 @@
|
|
|
389
390
|
"content": "@item.name"
|
|
390
391
|
}
|
|
391
392
|
],
|
|
392
|
-
"direction": "horizontal",
|
|
393
|
-
"type": "stack",
|
|
394
393
|
"gap": "sm"
|
|
395
394
|
},
|
|
396
395
|
{
|
|
397
396
|
"type": "badge",
|
|
398
397
|
"label": "@item.description"
|
|
399
398
|
}
|
|
400
|
-
]
|
|
399
|
+
],
|
|
400
|
+
"type": "stack"
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
|
-
"
|
|
403
|
+
"variant": "caption",
|
|
404
404
|
"content": "@item.status",
|
|
405
|
-
"
|
|
405
|
+
"type": "typography"
|
|
406
406
|
}
|
|
407
|
-
]
|
|
407
|
+
],
|
|
408
|
+
"direction": "vertical",
|
|
409
|
+
"gap": "sm"
|
|
408
410
|
}
|
|
409
411
|
],
|
|
410
|
-
"
|
|
412
|
+
"entity": "@payload.data"
|
|
411
413
|
}
|
|
412
414
|
],
|
|
413
|
-
"
|
|
414
|
-
"gap": "lg",
|
|
415
|
-
"direction": "vertical"
|
|
415
|
+
"gap": "lg"
|
|
416
416
|
}
|
|
417
417
|
]
|
|
418
418
|
]
|
|
@@ -427,34 +427,34 @@
|
|
|
427
427
|
"main",
|
|
428
428
|
{
|
|
429
429
|
"className": "py-12",
|
|
430
|
+
"direction": "vertical",
|
|
431
|
+
"align": "center",
|
|
430
432
|
"type": "stack",
|
|
431
433
|
"children": [
|
|
432
434
|
{
|
|
433
|
-
"color": "destructive",
|
|
434
435
|
"type": "icon",
|
|
435
|
-
"name": "alert-triangle"
|
|
436
|
+
"name": "alert-triangle",
|
|
437
|
+
"color": "destructive"
|
|
436
438
|
},
|
|
437
439
|
{
|
|
438
|
-
"content": "Failed to load",
|
|
439
440
|
"variant": "h3",
|
|
441
|
+
"content": "Failed to load",
|
|
440
442
|
"type": "typography"
|
|
441
443
|
},
|
|
442
444
|
{
|
|
443
|
-
"type": "typography",
|
|
444
|
-
"variant": "body",
|
|
445
445
|
"content": "@payload.error",
|
|
446
|
-
"
|
|
446
|
+
"type": "typography",
|
|
447
|
+
"color": "muted",
|
|
448
|
+
"variant": "body"
|
|
447
449
|
},
|
|
448
450
|
{
|
|
449
451
|
"type": "button",
|
|
452
|
+
"label": "Retry",
|
|
450
453
|
"icon": "rotate-ccw",
|
|
451
454
|
"action": "FETCH",
|
|
452
|
-
"variant": "primary"
|
|
453
|
-
"label": "Retry"
|
|
455
|
+
"variant": "primary"
|
|
454
456
|
}
|
|
455
457
|
],
|
|
456
|
-
"direction": "vertical",
|
|
457
|
-
"align": "center",
|
|
458
458
|
"gap": "md"
|
|
459
459
|
}
|
|
460
460
|
]
|
|
@@ -469,50 +469,53 @@
|
|
|
469
469
|
"render-ui",
|
|
470
470
|
"main",
|
|
471
471
|
{
|
|
472
|
+
"type": "stack",
|
|
473
|
+
"direction": "vertical",
|
|
474
|
+
"gap": "lg",
|
|
472
475
|
"children": [
|
|
473
476
|
{
|
|
474
477
|
"direction": "horizontal",
|
|
478
|
+
"gap": "md",
|
|
475
479
|
"justify": "between",
|
|
476
480
|
"children": [
|
|
477
481
|
{
|
|
482
|
+
"direction": "horizontal",
|
|
478
483
|
"gap": "md",
|
|
484
|
+
"type": "stack",
|
|
479
485
|
"children": [
|
|
480
486
|
{
|
|
481
487
|
"name": "database",
|
|
482
488
|
"type": "icon"
|
|
483
489
|
},
|
|
484
490
|
{
|
|
491
|
+
"content": "Cache (stale)",
|
|
485
492
|
"variant": "h2",
|
|
486
|
-
"type": "typography"
|
|
487
|
-
"content": "Cache (stale)"
|
|
493
|
+
"type": "typography"
|
|
488
494
|
}
|
|
489
|
-
]
|
|
490
|
-
"type": "stack",
|
|
491
|
-
"direction": "horizontal"
|
|
495
|
+
]
|
|
492
496
|
},
|
|
493
497
|
{
|
|
494
|
-
"direction": "horizontal",
|
|
495
|
-
"type": "stack",
|
|
496
498
|
"gap": "sm",
|
|
497
499
|
"align": "center",
|
|
500
|
+
"type": "stack",
|
|
498
501
|
"children": [
|
|
499
502
|
{
|
|
500
503
|
"pulse": true,
|
|
501
|
-
"type": "status-dot",
|
|
502
504
|
"status": "warning",
|
|
505
|
+
"type": "status-dot",
|
|
503
506
|
"label": "Stale"
|
|
504
507
|
},
|
|
505
508
|
{
|
|
509
|
+
"variant": "primary",
|
|
506
510
|
"action": "REFRESH",
|
|
507
511
|
"type": "button",
|
|
508
|
-
"variant": "primary",
|
|
509
512
|
"icon": "refresh-cw",
|
|
510
513
|
"label": "Refresh"
|
|
511
514
|
}
|
|
512
|
-
]
|
|
515
|
+
],
|
|
516
|
+
"direction": "horizontal"
|
|
513
517
|
}
|
|
514
518
|
],
|
|
515
|
-
"gap": "md",
|
|
516
519
|
"type": "stack"
|
|
517
520
|
},
|
|
518
521
|
{
|
|
@@ -523,10 +526,7 @@
|
|
|
523
526
|
"message": "Cache data is stale. Refresh to get the latest data.",
|
|
524
527
|
"type": "alert"
|
|
525
528
|
}
|
|
526
|
-
]
|
|
527
|
-
"gap": "lg",
|
|
528
|
-
"type": "stack",
|
|
529
|
-
"direction": "vertical"
|
|
529
|
+
]
|
|
530
530
|
}
|
|
531
531
|
]
|
|
532
532
|
]
|
|
@@ -543,8 +543,8 @@
|
|
|
543
543
|
"@payload.data",
|
|
544
544
|
{
|
|
545
545
|
"emit": {
|
|
546
|
-
"
|
|
547
|
-
"
|
|
546
|
+
"failure": "CacheEntryUpdateFailed",
|
|
547
|
+
"success": "CacheEntryUpdated"
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
],
|
|
@@ -553,8 +553,8 @@
|
|
|
553
553
|
"CacheEntry",
|
|
554
554
|
{
|
|
555
555
|
"emit": {
|
|
556
|
-
"
|
|
557
|
-
"
|
|
556
|
+
"failure": "CacheEntryLoadFailed",
|
|
557
|
+
"success": "CacheEntryLoaded"
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
],
|
|
@@ -624,10 +624,10 @@
|
|
|
624
624
|
"render-ui",
|
|
625
625
|
"main",
|
|
626
626
|
{
|
|
627
|
-
"type": "empty-state",
|
|
628
627
|
"icon": "inbox",
|
|
628
|
+
"description": "Fetch data to populate the cache.",
|
|
629
629
|
"title": "Cache is empty",
|
|
630
|
-
"
|
|
630
|
+
"type": "empty-state"
|
|
631
631
|
}
|
|
632
632
|
]
|
|
633
633
|
]
|
|
@@ -642,8 +642,8 @@
|
|
|
642
642
|
"CacheEntry",
|
|
643
643
|
{
|
|
644
644
|
"emit": {
|
|
645
|
-
"
|
|
646
|
-
"
|
|
645
|
+
"failure": "CacheEntryLoadFailed",
|
|
646
|
+
"success": "CacheEntryLoaded"
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
],
|
|
@@ -674,4 +674,4 @@
|
|
|
674
674
|
]
|
|
675
675
|
}
|
|
676
676
|
]
|
|
677
|
-
}
|
|
677
|
+
}
|
|
@@ -172,22 +172,22 @@
|
|
|
172
172
|
"render-ui",
|
|
173
173
|
"main",
|
|
174
174
|
{
|
|
175
|
-
"className": "py-12",
|
|
176
|
-
"type": "stack",
|
|
177
175
|
"children": [
|
|
178
176
|
{
|
|
179
177
|
"type": "spinner"
|
|
180
178
|
},
|
|
181
179
|
{
|
|
182
|
-
"type": "typography",
|
|
183
|
-
"content": "Loading calendar…",
|
|
184
180
|
"color": "muted",
|
|
185
|
-
"
|
|
181
|
+
"content": "Loading calendar…",
|
|
182
|
+
"variant": "caption",
|
|
183
|
+
"type": "typography"
|
|
186
184
|
}
|
|
187
185
|
],
|
|
188
|
-
"direction": "vertical",
|
|
189
186
|
"gap": "md",
|
|
190
|
-
"
|
|
187
|
+
"type": "stack",
|
|
188
|
+
"align": "center",
|
|
189
|
+
"direction": "vertical",
|
|
190
|
+
"className": "py-12"
|
|
191
191
|
}
|
|
192
192
|
]
|
|
193
193
|
]
|
|
@@ -201,24 +201,22 @@
|
|
|
201
201
|
"render-ui",
|
|
202
202
|
"main",
|
|
203
203
|
{
|
|
204
|
-
"type": "stack",
|
|
205
204
|
"children": [
|
|
206
205
|
{
|
|
207
|
-
"gap": "md",
|
|
208
206
|
"children": [
|
|
209
207
|
{
|
|
210
208
|
"direction": "horizontal",
|
|
211
|
-
"align": "center",
|
|
212
209
|
"gap": "sm",
|
|
210
|
+
"align": "center",
|
|
213
211
|
"children": [
|
|
214
212
|
{
|
|
215
|
-
"
|
|
216
|
-
"
|
|
213
|
+
"type": "icon",
|
|
214
|
+
"name": "calendar"
|
|
217
215
|
},
|
|
218
216
|
{
|
|
219
|
-
"type": "typography",
|
|
220
217
|
"content": "CalendarEvents Calendar",
|
|
221
|
-
"variant": "h2"
|
|
218
|
+
"variant": "h2",
|
|
219
|
+
"type": "typography"
|
|
222
220
|
}
|
|
223
221
|
],
|
|
224
222
|
"type": "stack"
|
|
@@ -228,9 +226,10 @@
|
|
|
228
226
|
"type": "date-range-selector"
|
|
229
227
|
}
|
|
230
228
|
],
|
|
231
|
-
"
|
|
232
|
-
"type": "stack",
|
|
229
|
+
"gap": "md",
|
|
233
230
|
"direction": "horizontal",
|
|
231
|
+
"type": "stack",
|
|
232
|
+
"justify": "between",
|
|
234
233
|
"align": "center"
|
|
235
234
|
},
|
|
236
235
|
{
|
|
@@ -248,43 +247,44 @@
|
|
|
248
247
|
"type": "typography"
|
|
249
248
|
},
|
|
250
249
|
{
|
|
251
|
-
"type": "data-list",
|
|
252
250
|
"entity": "@payload.data",
|
|
251
|
+
"itemActions": [
|
|
252
|
+
{
|
|
253
|
+
"event": "SELECT_DAY",
|
|
254
|
+
"icon": "eye",
|
|
255
|
+
"label": "View"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"type": "data-list",
|
|
253
259
|
"fields": [
|
|
254
260
|
{
|
|
261
|
+
"icon": "calendar",
|
|
255
262
|
"variant": "h4",
|
|
256
263
|
"name": "name",
|
|
257
|
-
"icon": "calendar",
|
|
258
264
|
"label": "Event"
|
|
259
265
|
},
|
|
260
266
|
{
|
|
261
|
-
"
|
|
267
|
+
"label": "Time",
|
|
262
268
|
"name": "time",
|
|
263
|
-
"
|
|
269
|
+
"variant": "badge"
|
|
264
270
|
},
|
|
265
271
|
{
|
|
266
|
-
"format": "date",
|
|
267
272
|
"variant": "caption",
|
|
268
|
-
"
|
|
269
|
-
"label": "Date"
|
|
273
|
+
"format": "date",
|
|
274
|
+
"label": "Date",
|
|
275
|
+
"name": "date"
|
|
270
276
|
},
|
|
271
277
|
{
|
|
272
278
|
"label": "Status",
|
|
273
279
|
"variant": "badge",
|
|
274
280
|
"name": "status"
|
|
275
281
|
}
|
|
276
|
-
],
|
|
277
|
-
"itemActions": [
|
|
278
|
-
{
|
|
279
|
-
"event": "SELECT_DAY",
|
|
280
|
-
"icon": "eye",
|
|
281
|
-
"label": "View"
|
|
282
|
-
}
|
|
283
282
|
]
|
|
284
283
|
}
|
|
285
284
|
],
|
|
285
|
+
"direction": "vertical",
|
|
286
286
|
"gap": "lg",
|
|
287
|
-
"
|
|
287
|
+
"type": "stack"
|
|
288
288
|
}
|
|
289
289
|
]
|
|
290
290
|
]
|
|
@@ -298,36 +298,36 @@
|
|
|
298
298
|
"render-ui",
|
|
299
299
|
"main",
|
|
300
300
|
{
|
|
301
|
+
"align": "center",
|
|
302
|
+
"className": "py-12",
|
|
303
|
+
"direction": "vertical",
|
|
304
|
+
"gap": "md",
|
|
301
305
|
"children": [
|
|
302
306
|
{
|
|
307
|
+
"color": "destructive",
|
|
303
308
|
"type": "icon",
|
|
304
|
-
"name": "alert-triangle"
|
|
305
|
-
"color": "destructive"
|
|
309
|
+
"name": "alert-triangle"
|
|
306
310
|
},
|
|
307
311
|
{
|
|
312
|
+
"variant": "h3",
|
|
308
313
|
"content": "Failed to load",
|
|
309
|
-
"type": "typography"
|
|
310
|
-
"variant": "h3"
|
|
314
|
+
"type": "typography"
|
|
311
315
|
},
|
|
312
316
|
{
|
|
313
|
-
"
|
|
317
|
+
"variant": "body",
|
|
314
318
|
"color": "muted",
|
|
315
|
-
"
|
|
316
|
-
"
|
|
319
|
+
"type": "typography",
|
|
320
|
+
"content": "@payload.error"
|
|
317
321
|
},
|
|
318
322
|
{
|
|
319
|
-
"
|
|
320
|
-
"type": "button",
|
|
323
|
+
"action": "INIT",
|
|
321
324
|
"variant": "primary",
|
|
322
|
-
"
|
|
323
|
-
"
|
|
325
|
+
"type": "button",
|
|
326
|
+
"label": "Retry",
|
|
327
|
+
"icon": "rotate-ccw"
|
|
324
328
|
}
|
|
325
329
|
],
|
|
326
|
-
"type": "stack"
|
|
327
|
-
"className": "py-12",
|
|
328
|
-
"gap": "md",
|
|
329
|
-
"direction": "vertical",
|
|
330
|
-
"align": "center"
|
|
330
|
+
"type": "stack"
|
|
331
331
|
}
|
|
332
332
|
]
|
|
333
333
|
]
|
|
@@ -341,15 +341,15 @@
|
|
|
341
341
|
"fetch",
|
|
342
342
|
"CalendarEvent",
|
|
343
343
|
{
|
|
344
|
-
"emit": {
|
|
345
|
-
"success": "CalendarEventLoaded",
|
|
346
|
-
"failure": "CalendarEventLoadFailed"
|
|
347
|
-
},
|
|
348
344
|
"filter": [
|
|
349
345
|
"=",
|
|
350
346
|
"@entity.date",
|
|
351
347
|
"@payload.date"
|
|
352
|
-
]
|
|
348
|
+
],
|
|
349
|
+
"emit": {
|
|
350
|
+
"success": "CalendarEventLoaded",
|
|
351
|
+
"failure": "CalendarEventLoadFailed"
|
|
352
|
+
}
|
|
353
353
|
}
|
|
354
354
|
],
|
|
355
355
|
[
|
|
@@ -371,8 +371,8 @@
|
|
|
371
371
|
"CalendarEvent",
|
|
372
372
|
{
|
|
373
373
|
"emit": {
|
|
374
|
-
"
|
|
375
|
-
"
|
|
374
|
+
"success": "CalendarEventLoaded",
|
|
375
|
+
"failure": "CalendarEventLoadFailed"
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
],
|
|
@@ -403,4 +403,4 @@
|
|
|
403
403
|
]
|
|
404
404
|
}
|
|
405
405
|
]
|
|
406
|
-
}
|
|
406
|
+
}
|