@almadar/std 10.0.0 → 11.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/agent/atoms/std-agent-activity-log.orb +80 -80
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/behaviors/registry/core/atoms/std-confirmation.orb +20 -19
- package/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/behaviors/registry/core/atoms/std-modal.orb +19 -10
- package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/behaviors/registry/core/molecules/std-cart.orb +47 -47
- package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/behaviors/registry/core/molecules/std-list.orb +72 -76
- package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +20 -19
- package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -10
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/dist/behaviors/registry/core/molecules/std-cart.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/dist/behaviors/registry/core/molecules/std-list.orb +72 -76
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/package.json +1 -1
|
@@ -286,32 +286,16 @@
|
|
|
286
286
|
"render-ui",
|
|
287
287
|
"main",
|
|
288
288
|
{
|
|
289
|
-
"navItems": [
|
|
290
|
-
{
|
|
291
|
-
"label": "Sensors",
|
|
292
|
-
"href": "/sensors",
|
|
293
|
-
"icon": "layout-list"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"icon": "cpu",
|
|
297
|
-
"label": "Devices",
|
|
298
|
-
"href": "/devices"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"icon": "bell",
|
|
302
|
-
"label": "Alerts",
|
|
303
|
-
"href": "/alerts"
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
289
|
"appName": "IoT Dashboard",
|
|
307
290
|
"children": [
|
|
308
291
|
{
|
|
292
|
+
"type": "scaled-diagram",
|
|
309
293
|
"children": [
|
|
310
294
|
{
|
|
311
295
|
"gap": "lg",
|
|
312
|
-
"direction": "vertical",
|
|
313
296
|
"children": [
|
|
314
297
|
{
|
|
298
|
+
"type": "breadcrumb",
|
|
315
299
|
"items": [
|
|
316
300
|
{
|
|
317
301
|
"href": "/",
|
|
@@ -320,16 +304,17 @@
|
|
|
320
304
|
{
|
|
321
305
|
"label": "Sensor Readings"
|
|
322
306
|
}
|
|
323
|
-
]
|
|
324
|
-
"type": "breadcrumb"
|
|
307
|
+
]
|
|
325
308
|
},
|
|
326
309
|
{
|
|
327
|
-
"direction": "horizontal",
|
|
328
310
|
"type": "stack",
|
|
329
|
-
"justify": "between",
|
|
330
311
|
"gap": "md",
|
|
312
|
+
"direction": "horizontal",
|
|
313
|
+
"justify": "between",
|
|
331
314
|
"children": [
|
|
332
315
|
{
|
|
316
|
+
"gap": "md",
|
|
317
|
+
"direction": "horizontal",
|
|
333
318
|
"type": "stack",
|
|
334
319
|
"children": [
|
|
335
320
|
{
|
|
@@ -337,20 +322,18 @@
|
|
|
337
322
|
"name": "thermometer"
|
|
338
323
|
},
|
|
339
324
|
{
|
|
325
|
+
"content": "Sensor Readings",
|
|
340
326
|
"type": "typography",
|
|
341
|
-
"variant": "h2"
|
|
342
|
-
"content": "Sensor Readings"
|
|
327
|
+
"variant": "h2"
|
|
343
328
|
}
|
|
344
|
-
]
|
|
345
|
-
"gap": "md",
|
|
346
|
-
"direction": "horizontal"
|
|
329
|
+
]
|
|
347
330
|
},
|
|
348
331
|
{
|
|
349
332
|
"variant": "secondary",
|
|
350
|
-
"icon": "refresh-cw",
|
|
351
333
|
"type": "button",
|
|
352
|
-
"
|
|
353
|
-
"
|
|
334
|
+
"action": "REFRESH",
|
|
335
|
+
"icon": "refresh-cw",
|
|
336
|
+
"label": "Refresh"
|
|
354
337
|
}
|
|
355
338
|
]
|
|
356
339
|
},
|
|
@@ -358,15 +341,17 @@
|
|
|
358
341
|
"type": "divider"
|
|
359
342
|
},
|
|
360
343
|
{
|
|
344
|
+
"type": "box",
|
|
345
|
+
"padding": "md",
|
|
361
346
|
"children": [
|
|
362
347
|
{
|
|
363
|
-
"
|
|
348
|
+
"cols": 3.0,
|
|
364
349
|
"children": [
|
|
365
350
|
{
|
|
366
351
|
"children": [
|
|
367
352
|
{
|
|
368
353
|
"direction": "vertical",
|
|
369
|
-
"
|
|
354
|
+
"gap": "sm",
|
|
370
355
|
"children": [
|
|
371
356
|
{
|
|
372
357
|
"variant": "caption",
|
|
@@ -375,119 +360,117 @@
|
|
|
375
360
|
},
|
|
376
361
|
{
|
|
377
362
|
"variant": "h3",
|
|
378
|
-
"
|
|
379
|
-
"
|
|
363
|
+
"content": "@entity.sensorId",
|
|
364
|
+
"type": "typography"
|
|
380
365
|
}
|
|
381
366
|
],
|
|
382
|
-
"
|
|
367
|
+
"type": "stack"
|
|
383
368
|
}
|
|
384
369
|
],
|
|
385
370
|
"type": "card"
|
|
386
371
|
},
|
|
387
372
|
{
|
|
388
|
-
"
|
|
373
|
+
"type": "stat-display",
|
|
389
374
|
"label": "Value",
|
|
390
|
-
"
|
|
375
|
+
"value": "@entity.value"
|
|
391
376
|
},
|
|
392
377
|
{
|
|
393
378
|
"type": "card",
|
|
394
379
|
"children": [
|
|
395
380
|
{
|
|
381
|
+
"type": "stack",
|
|
382
|
+
"gap": "sm",
|
|
383
|
+
"direction": "vertical",
|
|
396
384
|
"children": [
|
|
397
385
|
{
|
|
386
|
+
"variant": "caption",
|
|
398
387
|
"type": "typography",
|
|
399
|
-
"content": "Unit"
|
|
400
|
-
"variant": "caption"
|
|
388
|
+
"content": "Unit"
|
|
401
389
|
},
|
|
402
390
|
{
|
|
403
391
|
"type": "typography",
|
|
404
392
|
"content": "@entity.unit",
|
|
405
393
|
"variant": "h3"
|
|
406
394
|
}
|
|
407
|
-
]
|
|
408
|
-
"direction": "vertical",
|
|
409
|
-
"type": "stack",
|
|
410
|
-
"gap": "sm"
|
|
395
|
+
]
|
|
411
396
|
}
|
|
412
397
|
]
|
|
413
398
|
},
|
|
414
399
|
{
|
|
415
|
-
"type": "card",
|
|
416
400
|
"children": [
|
|
417
401
|
{
|
|
418
|
-
"gap": "sm",
|
|
419
402
|
"children": [
|
|
420
403
|
{
|
|
421
404
|
"variant": "caption",
|
|
422
|
-
"
|
|
423
|
-
"
|
|
405
|
+
"content": "Timestamp",
|
|
406
|
+
"type": "typography"
|
|
424
407
|
},
|
|
425
408
|
{
|
|
426
|
-
"variant": "h3",
|
|
427
409
|
"type": "typography",
|
|
428
|
-
"content": "@entity.timestamp"
|
|
410
|
+
"content": "@entity.timestamp",
|
|
411
|
+
"variant": "h3"
|
|
429
412
|
}
|
|
430
413
|
],
|
|
431
|
-
"
|
|
432
|
-
"
|
|
414
|
+
"type": "stack",
|
|
415
|
+
"gap": "sm",
|
|
416
|
+
"direction": "vertical"
|
|
433
417
|
}
|
|
434
|
-
]
|
|
418
|
+
],
|
|
419
|
+
"type": "card"
|
|
435
420
|
}
|
|
436
421
|
],
|
|
437
|
-
"
|
|
422
|
+
"type": "simple-grid"
|
|
438
423
|
}
|
|
439
|
-
]
|
|
440
|
-
"padding": "md",
|
|
441
|
-
"type": "box"
|
|
424
|
+
]
|
|
442
425
|
},
|
|
443
426
|
{
|
|
444
427
|
"type": "divider"
|
|
445
428
|
},
|
|
446
429
|
{
|
|
447
|
-
"cols": 2.0,
|
|
448
|
-
"gap": "md",
|
|
449
|
-
"type": "grid",
|
|
450
430
|
"children": [
|
|
451
431
|
{
|
|
452
432
|
"type": "card",
|
|
453
433
|
"children": [
|
|
454
434
|
{
|
|
435
|
+
"variant": "caption",
|
|
455
436
|
"content": "Chart View",
|
|
456
|
-
"type": "typography"
|
|
457
|
-
"variant": "caption"
|
|
437
|
+
"type": "typography"
|
|
458
438
|
}
|
|
459
439
|
]
|
|
460
440
|
},
|
|
461
441
|
{
|
|
442
|
+
"type": "card",
|
|
462
443
|
"children": [
|
|
463
444
|
{
|
|
464
445
|
"type": "typography",
|
|
465
|
-
"
|
|
466
|
-
"
|
|
446
|
+
"variant": "caption",
|
|
447
|
+
"content": "Graph View"
|
|
467
448
|
}
|
|
468
|
-
]
|
|
469
|
-
"type": "card"
|
|
449
|
+
]
|
|
470
450
|
}
|
|
471
|
-
]
|
|
451
|
+
],
|
|
452
|
+
"type": "grid",
|
|
453
|
+
"gap": "md",
|
|
454
|
+
"cols": 2.0
|
|
472
455
|
},
|
|
473
456
|
{
|
|
474
457
|
"type": "line-chart",
|
|
475
458
|
"data": [
|
|
476
459
|
{
|
|
477
|
-
"
|
|
478
|
-
"
|
|
460
|
+
"date": "Jan",
|
|
461
|
+
"value": 12.0
|
|
479
462
|
},
|
|
480
463
|
{
|
|
481
|
-
"
|
|
482
|
-
"
|
|
464
|
+
"date": "Feb",
|
|
465
|
+
"value": 19.0
|
|
483
466
|
},
|
|
484
467
|
{
|
|
485
|
-
"
|
|
486
|
-
"
|
|
468
|
+
"date": "Mar",
|
|
469
|
+
"value": 15.0
|
|
487
470
|
},
|
|
488
471
|
{
|
|
489
|
-
"
|
|
490
|
-
"
|
|
472
|
+
"date": "Apr",
|
|
473
|
+
"value": 25.0
|
|
491
474
|
},
|
|
492
475
|
{
|
|
493
476
|
"value": 22.0,
|
|
@@ -503,8 +486,8 @@
|
|
|
503
486
|
"type": "chart-legend",
|
|
504
487
|
"items": [
|
|
505
488
|
{
|
|
506
|
-
"
|
|
507
|
-
"
|
|
489
|
+
"color": "primary",
|
|
490
|
+
"label": "Current"
|
|
508
491
|
},
|
|
509
492
|
{
|
|
510
493
|
"label": "Previous",
|
|
@@ -513,7 +496,6 @@
|
|
|
513
496
|
]
|
|
514
497
|
},
|
|
515
498
|
{
|
|
516
|
-
"type": "graph-view",
|
|
517
499
|
"height": 200.0,
|
|
518
500
|
"nodes": [
|
|
519
501
|
{
|
|
@@ -521,12 +503,12 @@
|
|
|
521
503
|
"id": "a"
|
|
522
504
|
},
|
|
523
505
|
{
|
|
524
|
-
"
|
|
525
|
-
"
|
|
506
|
+
"label": "Process",
|
|
507
|
+
"id": "b"
|
|
526
508
|
},
|
|
527
509
|
{
|
|
528
|
-
"
|
|
529
|
-
"
|
|
510
|
+
"label": "End",
|
|
511
|
+
"id": "c"
|
|
530
512
|
}
|
|
531
513
|
],
|
|
532
514
|
"width": 400.0,
|
|
@@ -539,13 +521,31 @@
|
|
|
539
521
|
"source": "b",
|
|
540
522
|
"target": "c"
|
|
541
523
|
}
|
|
542
|
-
]
|
|
524
|
+
],
|
|
525
|
+
"type": "graph-view"
|
|
543
526
|
}
|
|
544
527
|
],
|
|
528
|
+
"direction": "vertical",
|
|
545
529
|
"type": "stack"
|
|
546
530
|
}
|
|
547
|
-
]
|
|
548
|
-
|
|
531
|
+
]
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"navItems": [
|
|
535
|
+
{
|
|
536
|
+
"href": "/sensors",
|
|
537
|
+
"label": "Sensors",
|
|
538
|
+
"icon": "layout-list"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"href": "/devices",
|
|
542
|
+
"icon": "cpu",
|
|
543
|
+
"label": "Devices"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"icon": "bell",
|
|
547
|
+
"label": "Alerts",
|
|
548
|
+
"href": "/alerts"
|
|
549
549
|
}
|
|
550
550
|
],
|
|
551
551
|
"type": "dashboard-layout"
|
|
@@ -563,8 +563,8 @@
|
|
|
563
563
|
"SensorReading",
|
|
564
564
|
{
|
|
565
565
|
"emit": {
|
|
566
|
-
"
|
|
567
|
-
"
|
|
566
|
+
"success": "SensorReadingLoaded",
|
|
567
|
+
"failure": "SensorReadingLoadFailed"
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
],
|
|
@@ -579,22 +579,22 @@
|
|
|
579
579
|
"icon": "layout-list"
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
|
-
"label": "Devices",
|
|
583
582
|
"href": "/devices",
|
|
584
|
-
"icon": "cpu"
|
|
583
|
+
"icon": "cpu",
|
|
584
|
+
"label": "Devices"
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
|
-
"label": "Alerts",
|
|
588
587
|
"href": "/alerts",
|
|
589
|
-
"icon": "bell"
|
|
588
|
+
"icon": "bell",
|
|
589
|
+
"label": "Alerts"
|
|
590
590
|
}
|
|
591
591
|
],
|
|
592
592
|
"children": [
|
|
593
593
|
{
|
|
594
|
-
"type": "scaled-diagram",
|
|
595
594
|
"children": [
|
|
596
595
|
{
|
|
597
596
|
"type": "stack",
|
|
597
|
+
"gap": "lg",
|
|
598
598
|
"children": [
|
|
599
599
|
{
|
|
600
600
|
"items": [
|
|
@@ -609,10 +609,9 @@
|
|
|
609
609
|
"type": "breadcrumb"
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
|
+
"gap": "md",
|
|
612
613
|
"children": [
|
|
613
614
|
{
|
|
614
|
-
"direction": "horizontal",
|
|
615
|
-
"gap": "md",
|
|
616
615
|
"children": [
|
|
617
616
|
{
|
|
618
617
|
"type": "icon",
|
|
@@ -624,17 +623,18 @@
|
|
|
624
623
|
"content": "Sensor Readings"
|
|
625
624
|
}
|
|
626
625
|
],
|
|
626
|
+
"direction": "horizontal",
|
|
627
|
+
"gap": "md",
|
|
627
628
|
"type": "stack"
|
|
628
629
|
},
|
|
629
630
|
{
|
|
630
|
-
"label": "Refresh",
|
|
631
631
|
"variant": "secondary",
|
|
632
632
|
"type": "button",
|
|
633
|
+
"label": "Refresh",
|
|
633
634
|
"icon": "refresh-cw",
|
|
634
635
|
"action": "REFRESH"
|
|
635
636
|
}
|
|
636
637
|
],
|
|
637
|
-
"gap": "md",
|
|
638
638
|
"direction": "horizontal",
|
|
639
639
|
"type": "stack",
|
|
640
640
|
"justify": "between"
|
|
@@ -644,6 +644,7 @@
|
|
|
644
644
|
},
|
|
645
645
|
{
|
|
646
646
|
"type": "box",
|
|
647
|
+
"padding": "md",
|
|
647
648
|
"children": [
|
|
648
649
|
{
|
|
649
650
|
"cols": 3.0,
|
|
@@ -651,115 +652,115 @@
|
|
|
651
652
|
{
|
|
652
653
|
"children": [
|
|
653
654
|
{
|
|
655
|
+
"type": "stack",
|
|
654
656
|
"direction": "vertical",
|
|
655
657
|
"gap": "sm",
|
|
656
658
|
"children": [
|
|
657
659
|
{
|
|
658
|
-
"
|
|
660
|
+
"type": "typography",
|
|
659
661
|
"variant": "caption",
|
|
660
|
-
"
|
|
662
|
+
"content": "SensorId"
|
|
661
663
|
},
|
|
662
664
|
{
|
|
663
665
|
"type": "typography",
|
|
664
666
|
"variant": "h3",
|
|
665
667
|
"content": "@entity.sensorId"
|
|
666
668
|
}
|
|
667
|
-
]
|
|
668
|
-
"type": "stack"
|
|
669
|
+
]
|
|
669
670
|
}
|
|
670
671
|
],
|
|
671
672
|
"type": "card"
|
|
672
673
|
},
|
|
673
674
|
{
|
|
674
675
|
"type": "stat-display",
|
|
675
|
-
"
|
|
676
|
-
"
|
|
676
|
+
"value": "@entity.value",
|
|
677
|
+
"label": "Value"
|
|
677
678
|
},
|
|
678
679
|
{
|
|
680
|
+
"type": "card",
|
|
679
681
|
"children": [
|
|
680
682
|
{
|
|
681
|
-
"gap": "sm",
|
|
682
|
-
"direction": "vertical",
|
|
683
683
|
"children": [
|
|
684
684
|
{
|
|
685
|
-
"type": "typography",
|
|
686
685
|
"variant": "caption",
|
|
686
|
+
"type": "typography",
|
|
687
687
|
"content": "Unit"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
690
|
"type": "typography",
|
|
691
|
-
"
|
|
692
|
-
"
|
|
691
|
+
"content": "@entity.unit",
|
|
692
|
+
"variant": "h3"
|
|
693
693
|
}
|
|
694
694
|
],
|
|
695
|
-
"type": "stack"
|
|
695
|
+
"type": "stack",
|
|
696
|
+
"direction": "vertical",
|
|
697
|
+
"gap": "sm"
|
|
696
698
|
}
|
|
697
|
-
]
|
|
698
|
-
"type": "card"
|
|
699
|
+
]
|
|
699
700
|
},
|
|
700
701
|
{
|
|
702
|
+
"type": "card",
|
|
701
703
|
"children": [
|
|
702
704
|
{
|
|
705
|
+
"gap": "sm",
|
|
703
706
|
"children": [
|
|
704
707
|
{
|
|
705
|
-
"content": "Timestamp",
|
|
706
708
|
"type": "typography",
|
|
709
|
+
"content": "Timestamp",
|
|
707
710
|
"variant": "caption"
|
|
708
711
|
},
|
|
709
712
|
{
|
|
710
|
-
"type": "typography",
|
|
711
713
|
"content": "@entity.timestamp",
|
|
714
|
+
"type": "typography",
|
|
712
715
|
"variant": "h3"
|
|
713
716
|
}
|
|
714
717
|
],
|
|
715
718
|
"type": "stack",
|
|
716
|
-
"gap": "sm",
|
|
717
719
|
"direction": "vertical"
|
|
718
720
|
}
|
|
719
|
-
]
|
|
720
|
-
"type": "card"
|
|
721
|
+
]
|
|
721
722
|
}
|
|
722
723
|
],
|
|
723
724
|
"type": "simple-grid"
|
|
724
725
|
}
|
|
725
|
-
]
|
|
726
|
-
"padding": "md"
|
|
726
|
+
]
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
729
|
"type": "divider"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
+
"cols": 2.0,
|
|
733
|
+
"type": "grid",
|
|
734
|
+
"gap": "md",
|
|
732
735
|
"children": [
|
|
733
736
|
{
|
|
737
|
+
"type": "card",
|
|
734
738
|
"children": [
|
|
735
739
|
{
|
|
740
|
+
"variant": "caption",
|
|
736
741
|
"content": "Chart View",
|
|
737
|
-
"type": "typography"
|
|
738
|
-
"variant": "caption"
|
|
742
|
+
"type": "typography"
|
|
739
743
|
}
|
|
740
|
-
]
|
|
741
|
-
"type": "card"
|
|
744
|
+
]
|
|
742
745
|
},
|
|
743
746
|
{
|
|
744
|
-
"type": "card",
|
|
745
747
|
"children": [
|
|
746
748
|
{
|
|
749
|
+
"type": "typography",
|
|
747
750
|
"variant": "caption",
|
|
748
|
-
"content": "Graph View"
|
|
749
|
-
"type": "typography"
|
|
751
|
+
"content": "Graph View"
|
|
750
752
|
}
|
|
751
|
-
]
|
|
753
|
+
],
|
|
754
|
+
"type": "card"
|
|
752
755
|
}
|
|
753
|
-
]
|
|
754
|
-
"type": "grid",
|
|
755
|
-
"gap": "md",
|
|
756
|
-
"cols": 2.0
|
|
756
|
+
]
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
+
"type": "line-chart",
|
|
759
760
|
"data": [
|
|
760
761
|
{
|
|
761
|
-
"
|
|
762
|
-
"
|
|
762
|
+
"date": "Jan",
|
|
763
|
+
"value": 12.0
|
|
763
764
|
},
|
|
764
765
|
{
|
|
765
766
|
"date": "Feb",
|
|
@@ -778,13 +779,13 @@
|
|
|
778
779
|
"value": 22.0
|
|
779
780
|
},
|
|
780
781
|
{
|
|
781
|
-
"
|
|
782
|
-
"
|
|
782
|
+
"value": 30.0,
|
|
783
|
+
"date": "Jun"
|
|
783
784
|
}
|
|
784
|
-
]
|
|
785
|
-
"type": "line-chart"
|
|
785
|
+
]
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
|
+
"type": "chart-legend",
|
|
788
789
|
"items": [
|
|
789
790
|
{
|
|
790
791
|
"color": "primary",
|
|
@@ -794,43 +795,42 @@
|
|
|
794
795
|
"label": "Previous",
|
|
795
796
|
"color": "muted"
|
|
796
797
|
}
|
|
797
|
-
]
|
|
798
|
-
"type": "chart-legend"
|
|
798
|
+
]
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
|
-
"
|
|
802
|
-
"height": 200.0,
|
|
801
|
+
"type": "graph-view",
|
|
803
802
|
"edges": [
|
|
804
803
|
{
|
|
805
|
-
"
|
|
806
|
-
"
|
|
804
|
+
"target": "b",
|
|
805
|
+
"source": "a"
|
|
807
806
|
},
|
|
808
807
|
{
|
|
809
|
-
"
|
|
810
|
-
"
|
|
808
|
+
"source": "b",
|
|
809
|
+
"target": "c"
|
|
811
810
|
}
|
|
812
811
|
],
|
|
813
812
|
"nodes": [
|
|
814
813
|
{
|
|
815
|
-
"
|
|
816
|
-
"
|
|
814
|
+
"id": "a",
|
|
815
|
+
"label": "Start"
|
|
817
816
|
},
|
|
818
817
|
{
|
|
819
818
|
"id": "b",
|
|
820
819
|
"label": "Process"
|
|
821
820
|
},
|
|
822
821
|
{
|
|
823
|
-
"
|
|
824
|
-
"
|
|
822
|
+
"label": "End",
|
|
823
|
+
"id": "c"
|
|
825
824
|
}
|
|
826
825
|
],
|
|
827
|
-
"
|
|
826
|
+
"width": 400.0,
|
|
827
|
+
"height": 200.0
|
|
828
828
|
}
|
|
829
829
|
],
|
|
830
|
-
"gap": "lg",
|
|
831
830
|
"direction": "vertical"
|
|
832
831
|
}
|
|
833
|
-
]
|
|
832
|
+
],
|
|
833
|
+
"type": "scaled-diagram"
|
|
834
834
|
}
|
|
835
835
|
],
|
|
836
836
|
"type": "dashboard-layout",
|
|
@@ -858,28 +858,9 @@
|
|
|
858
858
|
"render-ui",
|
|
859
859
|
"main",
|
|
860
860
|
{
|
|
861
|
-
"navItems": [
|
|
862
|
-
{
|
|
863
|
-
"href": "/sensors",
|
|
864
|
-
"icon": "layout-list",
|
|
865
|
-
"label": "Sensors"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"label": "Devices",
|
|
869
|
-
"icon": "cpu",
|
|
870
|
-
"href": "/devices"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"href": "/alerts",
|
|
874
|
-
"label": "Alerts",
|
|
875
|
-
"icon": "bell"
|
|
876
|
-
}
|
|
877
|
-
],
|
|
878
|
-
"appName": "IoT Dashboard",
|
|
879
861
|
"type": "dashboard-layout",
|
|
880
862
|
"children": [
|
|
881
863
|
{
|
|
882
|
-
"type": "scaled-diagram",
|
|
883
864
|
"children": [
|
|
884
865
|
{
|
|
885
866
|
"type": "stack",
|
|
@@ -887,45 +868,45 @@
|
|
|
887
868
|
"direction": "vertical",
|
|
888
869
|
"children": [
|
|
889
870
|
{
|
|
871
|
+
"type": "breadcrumb",
|
|
890
872
|
"items": [
|
|
891
873
|
{
|
|
892
|
-
"
|
|
893
|
-
"
|
|
874
|
+
"label": "Home",
|
|
875
|
+
"href": "/"
|
|
894
876
|
},
|
|
895
877
|
{
|
|
896
878
|
"label": "Sensor Readings"
|
|
897
879
|
}
|
|
898
|
-
]
|
|
899
|
-
"type": "breadcrumb"
|
|
880
|
+
]
|
|
900
881
|
},
|
|
901
882
|
{
|
|
902
883
|
"direction": "horizontal",
|
|
903
|
-
"justify": "between",
|
|
904
884
|
"gap": "md",
|
|
905
885
|
"type": "stack",
|
|
886
|
+
"justify": "between",
|
|
906
887
|
"children": [
|
|
907
888
|
{
|
|
908
|
-
"
|
|
889
|
+
"gap": "md",
|
|
909
890
|
"children": [
|
|
910
891
|
{
|
|
911
|
-
"
|
|
912
|
-
"
|
|
892
|
+
"type": "icon",
|
|
893
|
+
"name": "thermometer"
|
|
913
894
|
},
|
|
914
895
|
{
|
|
896
|
+
"content": "Sensor Readings",
|
|
915
897
|
"type": "typography",
|
|
916
|
-
"variant": "h2"
|
|
917
|
-
"content": "Sensor Readings"
|
|
898
|
+
"variant": "h2"
|
|
918
899
|
}
|
|
919
900
|
],
|
|
920
|
-
"
|
|
901
|
+
"type": "stack",
|
|
921
902
|
"direction": "horizontal"
|
|
922
903
|
},
|
|
923
904
|
{
|
|
924
|
-
"action": "REFRESH",
|
|
925
905
|
"type": "button",
|
|
926
|
-
"
|
|
906
|
+
"action": "REFRESH",
|
|
907
|
+
"icon": "refresh-cw",
|
|
927
908
|
"variant": "secondary",
|
|
928
|
-
"
|
|
909
|
+
"label": "Refresh"
|
|
929
910
|
}
|
|
930
911
|
]
|
|
931
912
|
},
|
|
@@ -933,45 +914,43 @@
|
|
|
933
914
|
"type": "divider"
|
|
934
915
|
},
|
|
935
916
|
{
|
|
917
|
+
"type": "box",
|
|
936
918
|
"children": [
|
|
937
919
|
{
|
|
938
920
|
"cols": 3.0,
|
|
939
|
-
"type": "simple-grid",
|
|
940
921
|
"children": [
|
|
941
922
|
{
|
|
942
|
-
"type": "card",
|
|
943
923
|
"children": [
|
|
944
924
|
{
|
|
945
|
-
"gap": "sm",
|
|
946
|
-
"direction": "vertical",
|
|
947
|
-
"type": "stack",
|
|
948
925
|
"children": [
|
|
949
926
|
{
|
|
950
|
-
"content": "SensorId",
|
|
951
927
|
"type": "typography",
|
|
928
|
+
"content": "SensorId",
|
|
952
929
|
"variant": "caption"
|
|
953
930
|
},
|
|
954
931
|
{
|
|
955
|
-
"type": "typography",
|
|
956
932
|
"content": "@entity.sensorId",
|
|
933
|
+
"type": "typography",
|
|
957
934
|
"variant": "h3"
|
|
958
935
|
}
|
|
959
|
-
]
|
|
936
|
+
],
|
|
937
|
+
"direction": "vertical",
|
|
938
|
+
"gap": "sm",
|
|
939
|
+
"type": "stack"
|
|
960
940
|
}
|
|
961
|
-
]
|
|
941
|
+
],
|
|
942
|
+
"type": "card"
|
|
962
943
|
},
|
|
963
944
|
{
|
|
964
|
-
"
|
|
945
|
+
"label": "Value",
|
|
965
946
|
"type": "stat-display",
|
|
966
|
-
"
|
|
947
|
+
"value": "@entity.value"
|
|
967
948
|
},
|
|
968
949
|
{
|
|
969
|
-
"type": "card",
|
|
970
950
|
"children": [
|
|
971
951
|
{
|
|
972
|
-
"gap": "sm",
|
|
973
952
|
"type": "stack",
|
|
974
|
-
"
|
|
953
|
+
"gap": "sm",
|
|
975
954
|
"children": [
|
|
976
955
|
{
|
|
977
956
|
"variant": "caption",
|
|
@@ -979,13 +958,15 @@
|
|
|
979
958
|
"content": "Unit"
|
|
980
959
|
},
|
|
981
960
|
{
|
|
961
|
+
"variant": "h3",
|
|
982
962
|
"content": "@entity.unit",
|
|
983
|
-
"type": "typography"
|
|
984
|
-
"variant": "h3"
|
|
963
|
+
"type": "typography"
|
|
985
964
|
}
|
|
986
|
-
]
|
|
965
|
+
],
|
|
966
|
+
"direction": "vertical"
|
|
987
967
|
}
|
|
988
|
-
]
|
|
968
|
+
],
|
|
969
|
+
"type": "card"
|
|
989
970
|
},
|
|
990
971
|
{
|
|
991
972
|
"type": "card",
|
|
@@ -993,7 +974,6 @@
|
|
|
993
974
|
{
|
|
994
975
|
"type": "stack",
|
|
995
976
|
"direction": "vertical",
|
|
996
|
-
"gap": "sm",
|
|
997
977
|
"children": [
|
|
998
978
|
{
|
|
999
979
|
"type": "typography",
|
|
@@ -1001,49 +981,50 @@
|
|
|
1001
981
|
"variant": "caption"
|
|
1002
982
|
},
|
|
1003
983
|
{
|
|
1004
|
-
"variant": "h3",
|
|
1005
984
|
"content": "@entity.timestamp",
|
|
985
|
+
"variant": "h3",
|
|
1006
986
|
"type": "typography"
|
|
1007
987
|
}
|
|
1008
|
-
]
|
|
988
|
+
],
|
|
989
|
+
"gap": "sm"
|
|
1009
990
|
}
|
|
1010
991
|
]
|
|
1011
992
|
}
|
|
1012
|
-
]
|
|
993
|
+
],
|
|
994
|
+
"type": "simple-grid"
|
|
1013
995
|
}
|
|
1014
996
|
],
|
|
1015
|
-
"type": "box",
|
|
1016
997
|
"padding": "md"
|
|
1017
998
|
},
|
|
1018
999
|
{
|
|
1019
1000
|
"type": "divider"
|
|
1020
1001
|
},
|
|
1021
1002
|
{
|
|
1022
|
-
"cols": 2.0,
|
|
1023
|
-
"type": "grid",
|
|
1024
1003
|
"gap": "md",
|
|
1004
|
+
"type": "grid",
|
|
1025
1005
|
"children": [
|
|
1026
1006
|
{
|
|
1027
|
-
"type": "card",
|
|
1028
1007
|
"children": [
|
|
1029
1008
|
{
|
|
1030
|
-
"content": "Chart View",
|
|
1031
1009
|
"type": "typography",
|
|
1010
|
+
"content": "Chart View",
|
|
1032
1011
|
"variant": "caption"
|
|
1033
1012
|
}
|
|
1034
|
-
]
|
|
1013
|
+
],
|
|
1014
|
+
"type": "card"
|
|
1035
1015
|
},
|
|
1036
1016
|
{
|
|
1037
|
-
"type": "card",
|
|
1038
1017
|
"children": [
|
|
1039
1018
|
{
|
|
1040
|
-
"variant": "caption",
|
|
1041
1019
|
"type": "typography",
|
|
1020
|
+
"variant": "caption",
|
|
1042
1021
|
"content": "Graph View"
|
|
1043
1022
|
}
|
|
1044
|
-
]
|
|
1023
|
+
],
|
|
1024
|
+
"type": "card"
|
|
1045
1025
|
}
|
|
1046
|
-
]
|
|
1026
|
+
],
|
|
1027
|
+
"cols": 2.0
|
|
1047
1028
|
},
|
|
1048
1029
|
{
|
|
1049
1030
|
"type": "line-chart",
|
|
@@ -1053,24 +1034,24 @@
|
|
|
1053
1034
|
"date": "Jan"
|
|
1054
1035
|
},
|
|
1055
1036
|
{
|
|
1056
|
-
"
|
|
1057
|
-
"
|
|
1037
|
+
"value": 19.0,
|
|
1038
|
+
"date": "Feb"
|
|
1058
1039
|
},
|
|
1059
1040
|
{
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
1041
|
+
"value": 15.0,
|
|
1042
|
+
"date": "Mar"
|
|
1062
1043
|
},
|
|
1063
1044
|
{
|
|
1064
1045
|
"date": "Apr",
|
|
1065
1046
|
"value": 25.0
|
|
1066
1047
|
},
|
|
1067
1048
|
{
|
|
1068
|
-
"
|
|
1069
|
-
"
|
|
1049
|
+
"date": "May",
|
|
1050
|
+
"value": 22.0
|
|
1070
1051
|
},
|
|
1071
1052
|
{
|
|
1072
|
-
"
|
|
1073
|
-
"
|
|
1053
|
+
"value": 30.0,
|
|
1054
|
+
"date": "Jun"
|
|
1074
1055
|
}
|
|
1075
1056
|
]
|
|
1076
1057
|
},
|
|
@@ -1088,39 +1069,58 @@
|
|
|
1088
1069
|
"type": "chart-legend"
|
|
1089
1070
|
},
|
|
1090
1071
|
{
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
|
|
1094
|
-
"id": "a",
|
|
1095
|
-
"label": "Start"
|
|
1096
|
-
},
|
|
1072
|
+
"height": 200.0,
|
|
1073
|
+
"type": "graph-view",
|
|
1074
|
+
"edges": [
|
|
1097
1075
|
{
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1076
|
+
"target": "b",
|
|
1077
|
+
"source": "a"
|
|
1100
1078
|
},
|
|
1101
1079
|
{
|
|
1102
|
-
"
|
|
1103
|
-
"
|
|
1080
|
+
"source": "b",
|
|
1081
|
+
"target": "c"
|
|
1104
1082
|
}
|
|
1105
1083
|
],
|
|
1106
|
-
"
|
|
1084
|
+
"nodes": [
|
|
1107
1085
|
{
|
|
1108
|
-
"
|
|
1109
|
-
"
|
|
1086
|
+
"label": "Start",
|
|
1087
|
+
"id": "a"
|
|
1110
1088
|
},
|
|
1111
1089
|
{
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1090
|
+
"id": "b",
|
|
1091
|
+
"label": "Process"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"label": "End",
|
|
1095
|
+
"id": "c"
|
|
1114
1096
|
}
|
|
1115
1097
|
],
|
|
1116
|
-
"
|
|
1117
|
-
"height": 200.0
|
|
1098
|
+
"width": 400.0
|
|
1118
1099
|
}
|
|
1119
1100
|
]
|
|
1120
1101
|
}
|
|
1121
|
-
]
|
|
1102
|
+
],
|
|
1103
|
+
"type": "scaled-diagram"
|
|
1122
1104
|
}
|
|
1123
|
-
]
|
|
1105
|
+
],
|
|
1106
|
+
"navItems": [
|
|
1107
|
+
{
|
|
1108
|
+
"icon": "layout-list",
|
|
1109
|
+
"href": "/sensors",
|
|
1110
|
+
"label": "Sensors"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"label": "Devices",
|
|
1114
|
+
"href": "/devices",
|
|
1115
|
+
"icon": "cpu"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"href": "/alerts",
|
|
1119
|
+
"label": "Alerts",
|
|
1120
|
+
"icon": "bell"
|
|
1121
|
+
}
|
|
1122
|
+
],
|
|
1123
|
+
"appName": "IoT Dashboard"
|
|
1124
1124
|
}
|
|
1125
1125
|
]
|
|
1126
1126
|
]
|
|
@@ -1144,29 +1144,11 @@
|
|
|
1144
1144
|
"render-ui",
|
|
1145
1145
|
"main",
|
|
1146
1146
|
{
|
|
1147
|
-
"appName": "IoT Dashboard",
|
|
1148
|
-
"navItems": [
|
|
1149
|
-
{
|
|
1150
|
-
"label": "Sensors",
|
|
1151
|
-
"icon": "layout-list",
|
|
1152
|
-
"href": "/sensors"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"icon": "cpu",
|
|
1156
|
-
"href": "/devices",
|
|
1157
|
-
"label": "Devices"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"href": "/alerts",
|
|
1161
|
-
"label": "Alerts",
|
|
1162
|
-
"icon": "bell"
|
|
1163
|
-
}
|
|
1164
|
-
],
|
|
1165
1147
|
"children": [
|
|
1166
1148
|
{
|
|
1167
1149
|
"children": [
|
|
1168
1150
|
{
|
|
1169
|
-
"
|
|
1151
|
+
"type": "stack",
|
|
1170
1152
|
"children": [
|
|
1171
1153
|
{
|
|
1172
1154
|
"items": [
|
|
@@ -1181,55 +1163,54 @@
|
|
|
1181
1163
|
"type": "breadcrumb"
|
|
1182
1164
|
},
|
|
1183
1165
|
{
|
|
1184
|
-
"
|
|
1185
|
-
"gap": "md",
|
|
1166
|
+
"justify": "between",
|
|
1186
1167
|
"children": [
|
|
1187
1168
|
{
|
|
1188
|
-
"
|
|
1169
|
+
"gap": "md",
|
|
1189
1170
|
"children": [
|
|
1190
1171
|
{
|
|
1191
1172
|
"type": "icon",
|
|
1192
1173
|
"name": "thermometer"
|
|
1193
1174
|
},
|
|
1194
1175
|
{
|
|
1195
|
-
"type": "typography",
|
|
1196
1176
|
"content": "Sensor Readings",
|
|
1197
|
-
"variant": "h2"
|
|
1177
|
+
"variant": "h2",
|
|
1178
|
+
"type": "typography"
|
|
1198
1179
|
}
|
|
1199
1180
|
],
|
|
1200
1181
|
"type": "stack",
|
|
1201
|
-
"
|
|
1182
|
+
"direction": "horizontal"
|
|
1202
1183
|
},
|
|
1203
1184
|
{
|
|
1204
|
-
"type": "button",
|
|
1205
|
-
"label": "Refresh",
|
|
1206
1185
|
"variant": "secondary",
|
|
1207
|
-
"
|
|
1208
|
-
"
|
|
1186
|
+
"label": "Refresh",
|
|
1187
|
+
"type": "button",
|
|
1188
|
+
"action": "REFRESH",
|
|
1189
|
+
"icon": "refresh-cw"
|
|
1209
1190
|
}
|
|
1210
1191
|
],
|
|
1211
1192
|
"direction": "horizontal",
|
|
1212
|
-
"
|
|
1193
|
+
"type": "stack",
|
|
1194
|
+
"gap": "md"
|
|
1213
1195
|
},
|
|
1214
1196
|
{
|
|
1215
1197
|
"type": "divider"
|
|
1216
1198
|
},
|
|
1217
1199
|
{
|
|
1218
1200
|
"padding": "md",
|
|
1219
|
-
"type": "box",
|
|
1220
1201
|
"children": [
|
|
1221
1202
|
{
|
|
1222
1203
|
"type": "simple-grid",
|
|
1204
|
+
"cols": 3.0,
|
|
1223
1205
|
"children": [
|
|
1224
1206
|
{
|
|
1225
1207
|
"children": [
|
|
1226
1208
|
{
|
|
1227
|
-
"type": "stack",
|
|
1228
1209
|
"children": [
|
|
1229
1210
|
{
|
|
1230
|
-
"
|
|
1211
|
+
"content": "SensorId",
|
|
1231
1212
|
"variant": "caption",
|
|
1232
|
-
"
|
|
1213
|
+
"type": "typography"
|
|
1233
1214
|
},
|
|
1234
1215
|
{
|
|
1235
1216
|
"type": "typography",
|
|
@@ -1237,28 +1218,27 @@
|
|
|
1237
1218
|
"content": "@entity.sensorId"
|
|
1238
1219
|
}
|
|
1239
1220
|
],
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1221
|
+
"gap": "sm",
|
|
1222
|
+
"type": "stack",
|
|
1223
|
+
"direction": "vertical"
|
|
1242
1224
|
}
|
|
1243
1225
|
],
|
|
1244
1226
|
"type": "card"
|
|
1245
1227
|
},
|
|
1246
1228
|
{
|
|
1247
1229
|
"label": "Value",
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1230
|
+
"value": "@entity.value",
|
|
1231
|
+
"type": "stat-display"
|
|
1250
1232
|
},
|
|
1251
1233
|
{
|
|
1252
|
-
"type": "card",
|
|
1253
1234
|
"children": [
|
|
1254
1235
|
{
|
|
1255
1236
|
"gap": "sm",
|
|
1256
|
-
"type": "stack",
|
|
1257
1237
|
"children": [
|
|
1258
1238
|
{
|
|
1259
|
-
"
|
|
1239
|
+
"content": "Unit",
|
|
1260
1240
|
"variant": "caption",
|
|
1261
|
-
"
|
|
1241
|
+
"type": "typography"
|
|
1262
1242
|
},
|
|
1263
1243
|
{
|
|
1264
1244
|
"type": "typography",
|
|
@@ -1266,9 +1246,11 @@
|
|
|
1266
1246
|
"content": "@entity.unit"
|
|
1267
1247
|
}
|
|
1268
1248
|
],
|
|
1249
|
+
"type": "stack",
|
|
1269
1250
|
"direction": "vertical"
|
|
1270
1251
|
}
|
|
1271
|
-
]
|
|
1252
|
+
],
|
|
1253
|
+
"type": "card"
|
|
1272
1254
|
},
|
|
1273
1255
|
{
|
|
1274
1256
|
"type": "card",
|
|
@@ -1276,66 +1258,67 @@
|
|
|
1276
1258
|
{
|
|
1277
1259
|
"children": [
|
|
1278
1260
|
{
|
|
1279
|
-
"
|
|
1261
|
+
"type": "typography",
|
|
1280
1262
|
"variant": "caption",
|
|
1281
|
-
"
|
|
1263
|
+
"content": "Timestamp"
|
|
1282
1264
|
},
|
|
1283
1265
|
{
|
|
1284
|
-
"variant": "h3",
|
|
1285
1266
|
"type": "typography",
|
|
1286
|
-
"content": "@entity.timestamp"
|
|
1267
|
+
"content": "@entity.timestamp",
|
|
1268
|
+
"variant": "h3"
|
|
1287
1269
|
}
|
|
1288
1270
|
],
|
|
1289
1271
|
"type": "stack",
|
|
1290
|
-
"
|
|
1291
|
-
"
|
|
1272
|
+
"gap": "sm",
|
|
1273
|
+
"direction": "vertical"
|
|
1292
1274
|
}
|
|
1293
1275
|
]
|
|
1294
1276
|
}
|
|
1295
|
-
]
|
|
1296
|
-
"cols": 3.0
|
|
1277
|
+
]
|
|
1297
1278
|
}
|
|
1298
|
-
]
|
|
1279
|
+
],
|
|
1280
|
+
"type": "box"
|
|
1299
1281
|
},
|
|
1300
1282
|
{
|
|
1301
1283
|
"type": "divider"
|
|
1302
1284
|
},
|
|
1303
1285
|
{
|
|
1304
|
-
"cols": 2.0,
|
|
1305
1286
|
"gap": "md",
|
|
1287
|
+
"cols": 2.0,
|
|
1288
|
+
"type": "grid",
|
|
1306
1289
|
"children": [
|
|
1307
1290
|
{
|
|
1291
|
+
"type": "card",
|
|
1308
1292
|
"children": [
|
|
1309
1293
|
{
|
|
1310
1294
|
"content": "Chart View",
|
|
1311
|
-
"
|
|
1312
|
-
"
|
|
1295
|
+
"variant": "caption",
|
|
1296
|
+
"type": "typography"
|
|
1313
1297
|
}
|
|
1314
|
-
]
|
|
1315
|
-
"type": "card"
|
|
1298
|
+
]
|
|
1316
1299
|
},
|
|
1317
1300
|
{
|
|
1318
1301
|
"type": "card",
|
|
1319
1302
|
"children": [
|
|
1320
1303
|
{
|
|
1304
|
+
"content": "Graph View",
|
|
1321
1305
|
"type": "typography",
|
|
1322
|
-
"variant": "caption"
|
|
1323
|
-
"content": "Graph View"
|
|
1306
|
+
"variant": "caption"
|
|
1324
1307
|
}
|
|
1325
1308
|
]
|
|
1326
1309
|
}
|
|
1327
|
-
]
|
|
1328
|
-
"type": "grid"
|
|
1310
|
+
]
|
|
1329
1311
|
},
|
|
1330
1312
|
{
|
|
1313
|
+
"type": "line-chart",
|
|
1331
1314
|
"data": [
|
|
1332
1315
|
{
|
|
1333
1316
|
"date": "Jan",
|
|
1334
1317
|
"value": 12.0
|
|
1335
1318
|
},
|
|
1336
1319
|
{
|
|
1337
|
-
"
|
|
1338
|
-
"
|
|
1320
|
+
"value": 19.0,
|
|
1321
|
+
"date": "Feb"
|
|
1339
1322
|
},
|
|
1340
1323
|
{
|
|
1341
1324
|
"date": "Mar",
|
|
@@ -1350,11 +1333,10 @@
|
|
|
1350
1333
|
"date": "May"
|
|
1351
1334
|
},
|
|
1352
1335
|
{
|
|
1353
|
-
"
|
|
1354
|
-
"
|
|
1336
|
+
"date": "Jun",
|
|
1337
|
+
"value": 30.0
|
|
1355
1338
|
}
|
|
1356
|
-
]
|
|
1357
|
-
"type": "line-chart"
|
|
1339
|
+
]
|
|
1358
1340
|
},
|
|
1359
1341
|
{
|
|
1360
1342
|
"type": "chart-legend",
|
|
@@ -1364,26 +1346,25 @@
|
|
|
1364
1346
|
"color": "primary"
|
|
1365
1347
|
},
|
|
1366
1348
|
{
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1349
|
+
"label": "Previous",
|
|
1350
|
+
"color": "muted"
|
|
1369
1351
|
}
|
|
1370
1352
|
]
|
|
1371
1353
|
},
|
|
1372
1354
|
{
|
|
1373
|
-
"height": 200.0,
|
|
1374
1355
|
"type": "graph-view",
|
|
1375
1356
|
"nodes": [
|
|
1376
1357
|
{
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1358
|
+
"id": "a",
|
|
1359
|
+
"label": "Start"
|
|
1379
1360
|
},
|
|
1380
1361
|
{
|
|
1381
1362
|
"id": "b",
|
|
1382
1363
|
"label": "Process"
|
|
1383
1364
|
},
|
|
1384
1365
|
{
|
|
1385
|
-
"
|
|
1386
|
-
"
|
|
1366
|
+
"id": "c",
|
|
1367
|
+
"label": "End"
|
|
1387
1368
|
}
|
|
1388
1369
|
],
|
|
1389
1370
|
"width": 400.0,
|
|
@@ -1396,16 +1377,35 @@
|
|
|
1396
1377
|
"source": "b",
|
|
1397
1378
|
"target": "c"
|
|
1398
1379
|
}
|
|
1399
|
-
]
|
|
1380
|
+
],
|
|
1381
|
+
"height": 200.0
|
|
1400
1382
|
}
|
|
1401
1383
|
],
|
|
1402
|
-
"
|
|
1403
|
-
"
|
|
1384
|
+
"direction": "vertical",
|
|
1385
|
+
"gap": "lg"
|
|
1404
1386
|
}
|
|
1405
1387
|
],
|
|
1406
1388
|
"type": "scaled-diagram"
|
|
1407
1389
|
}
|
|
1408
1390
|
],
|
|
1391
|
+
"appName": "IoT Dashboard",
|
|
1392
|
+
"navItems": [
|
|
1393
|
+
{
|
|
1394
|
+
"href": "/sensors",
|
|
1395
|
+
"label": "Sensors",
|
|
1396
|
+
"icon": "layout-list"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"href": "/devices",
|
|
1400
|
+
"label": "Devices",
|
|
1401
|
+
"icon": "cpu"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"label": "Alerts",
|
|
1405
|
+
"icon": "bell",
|
|
1406
|
+
"href": "/alerts"
|
|
1407
|
+
}
|
|
1408
|
+
],
|
|
1409
1409
|
"type": "dashboard-layout"
|
|
1410
1410
|
}
|
|
1411
1411
|
]
|
|
@@ -1431,12 +1431,11 @@
|
|
|
1431
1431
|
"main",
|
|
1432
1432
|
{
|
|
1433
1433
|
"type": "dashboard-layout",
|
|
1434
|
-
"appName": "IoT Dashboard",
|
|
1435
1434
|
"navItems": [
|
|
1436
1435
|
{
|
|
1437
|
-
"
|
|
1436
|
+
"href": "/sensors",
|
|
1438
1437
|
"icon": "layout-list",
|
|
1439
|
-
"
|
|
1438
|
+
"label": "Sensors"
|
|
1440
1439
|
},
|
|
1441
1440
|
{
|
|
1442
1441
|
"icon": "cpu",
|
|
@@ -1444,16 +1443,19 @@
|
|
|
1444
1443
|
"label": "Devices"
|
|
1445
1444
|
},
|
|
1446
1445
|
{
|
|
1447
|
-
"href": "/alerts",
|
|
1448
1446
|
"icon": "bell",
|
|
1449
|
-
"label": "Alerts"
|
|
1447
|
+
"label": "Alerts",
|
|
1448
|
+
"href": "/alerts"
|
|
1450
1449
|
}
|
|
1451
1450
|
],
|
|
1451
|
+
"appName": "IoT Dashboard",
|
|
1452
1452
|
"children": [
|
|
1453
1453
|
{
|
|
1454
|
+
"type": "scaled-diagram",
|
|
1454
1455
|
"children": [
|
|
1455
1456
|
{
|
|
1456
|
-
"
|
|
1457
|
+
"type": "stack",
|
|
1458
|
+
"gap": "lg",
|
|
1457
1459
|
"children": [
|
|
1458
1460
|
{
|
|
1459
1461
|
"type": "breadcrumb",
|
|
@@ -1468,64 +1470,64 @@
|
|
|
1468
1470
|
]
|
|
1469
1471
|
},
|
|
1470
1472
|
{
|
|
1471
|
-
"gap": "md",
|
|
1472
|
-
"justify": "between",
|
|
1473
1473
|
"children": [
|
|
1474
1474
|
{
|
|
1475
|
-
"type": "stack",
|
|
1476
1475
|
"direction": "horizontal",
|
|
1477
|
-
"gap": "md",
|
|
1478
1476
|
"children": [
|
|
1479
1477
|
{
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1478
|
+
"name": "thermometer",
|
|
1479
|
+
"type": "icon"
|
|
1482
1480
|
},
|
|
1483
1481
|
{
|
|
1484
1482
|
"type": "typography",
|
|
1485
1483
|
"variant": "h2",
|
|
1486
1484
|
"content": "Sensor Readings"
|
|
1487
1485
|
}
|
|
1488
|
-
]
|
|
1486
|
+
],
|
|
1487
|
+
"gap": "md",
|
|
1488
|
+
"type": "stack"
|
|
1489
1489
|
},
|
|
1490
1490
|
{
|
|
1491
|
-
"label": "Refresh",
|
|
1492
|
-
"icon": "refresh-cw",
|
|
1493
1491
|
"variant": "secondary",
|
|
1492
|
+
"action": "REFRESH",
|
|
1493
|
+
"label": "Refresh",
|
|
1494
1494
|
"type": "button",
|
|
1495
|
-
"
|
|
1495
|
+
"icon": "refresh-cw"
|
|
1496
1496
|
}
|
|
1497
1497
|
],
|
|
1498
|
+
"direction": "horizontal",
|
|
1498
1499
|
"type": "stack",
|
|
1499
|
-
"
|
|
1500
|
+
"gap": "md",
|
|
1501
|
+
"justify": "between"
|
|
1500
1502
|
},
|
|
1501
1503
|
{
|
|
1502
1504
|
"type": "divider"
|
|
1503
1505
|
},
|
|
1504
1506
|
{
|
|
1505
|
-
"padding": "md",
|
|
1506
1507
|
"children": [
|
|
1507
1508
|
{
|
|
1508
1509
|
"cols": 3.0,
|
|
1510
|
+
"type": "simple-grid",
|
|
1509
1511
|
"children": [
|
|
1510
1512
|
{
|
|
1511
1513
|
"type": "card",
|
|
1512
1514
|
"children": [
|
|
1513
1515
|
{
|
|
1514
1516
|
"direction": "vertical",
|
|
1517
|
+
"gap": "sm",
|
|
1518
|
+
"type": "stack",
|
|
1515
1519
|
"children": [
|
|
1516
1520
|
{
|
|
1517
|
-
"
|
|
1521
|
+
"type": "typography",
|
|
1518
1522
|
"variant": "caption",
|
|
1519
|
-
"
|
|
1523
|
+
"content": "SensorId"
|
|
1520
1524
|
},
|
|
1521
1525
|
{
|
|
1522
1526
|
"type": "typography",
|
|
1523
|
-
"
|
|
1524
|
-
"
|
|
1527
|
+
"content": "@entity.sensorId",
|
|
1528
|
+
"variant": "h3"
|
|
1525
1529
|
}
|
|
1526
|
-
]
|
|
1527
|
-
"type": "stack",
|
|
1528
|
-
"gap": "sm"
|
|
1530
|
+
]
|
|
1529
1531
|
}
|
|
1530
1532
|
]
|
|
1531
1533
|
},
|
|
@@ -1538,6 +1540,7 @@
|
|
|
1538
1540
|
"type": "card",
|
|
1539
1541
|
"children": [
|
|
1540
1542
|
{
|
|
1543
|
+
"type": "stack",
|
|
1541
1544
|
"direction": "vertical",
|
|
1542
1545
|
"children": [
|
|
1543
1546
|
{
|
|
@@ -1546,21 +1549,19 @@
|
|
|
1546
1549
|
"content": "Unit"
|
|
1547
1550
|
},
|
|
1548
1551
|
{
|
|
1549
|
-
"variant": "h3",
|
|
1550
1552
|
"type": "typography",
|
|
1551
|
-
"content": "@entity.unit"
|
|
1553
|
+
"content": "@entity.unit",
|
|
1554
|
+
"variant": "h3"
|
|
1552
1555
|
}
|
|
1553
1556
|
],
|
|
1554
|
-
"type": "stack",
|
|
1555
1557
|
"gap": "sm"
|
|
1556
1558
|
}
|
|
1557
1559
|
]
|
|
1558
1560
|
},
|
|
1559
1561
|
{
|
|
1562
|
+
"type": "card",
|
|
1560
1563
|
"children": [
|
|
1561
1564
|
{
|
|
1562
|
-
"type": "stack",
|
|
1563
|
-
"gap": "sm",
|
|
1564
1565
|
"children": [
|
|
1565
1566
|
{
|
|
1566
1567
|
"type": "typography",
|
|
@@ -1569,69 +1570,69 @@
|
|
|
1569
1570
|
},
|
|
1570
1571
|
{
|
|
1571
1572
|
"type": "typography",
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1573
|
+
"content": "@entity.timestamp",
|
|
1574
|
+
"variant": "h3"
|
|
1574
1575
|
}
|
|
1575
1576
|
],
|
|
1576
|
-
"
|
|
1577
|
+
"type": "stack",
|
|
1578
|
+
"direction": "vertical",
|
|
1579
|
+
"gap": "sm"
|
|
1577
1580
|
}
|
|
1578
|
-
]
|
|
1579
|
-
"type": "card"
|
|
1581
|
+
]
|
|
1580
1582
|
}
|
|
1581
|
-
]
|
|
1582
|
-
"type": "simple-grid"
|
|
1583
|
+
]
|
|
1583
1584
|
}
|
|
1584
1585
|
],
|
|
1585
|
-
"type": "box"
|
|
1586
|
+
"type": "box",
|
|
1587
|
+
"padding": "md"
|
|
1586
1588
|
},
|
|
1587
1589
|
{
|
|
1588
1590
|
"type": "divider"
|
|
1589
1591
|
},
|
|
1590
1592
|
{
|
|
1591
|
-
"cols": 2.0,
|
|
1592
1593
|
"children": [
|
|
1593
1594
|
{
|
|
1594
|
-
"type": "card",
|
|
1595
1595
|
"children": [
|
|
1596
1596
|
{
|
|
1597
|
+
"type": "typography",
|
|
1597
1598
|
"content": "Chart View",
|
|
1598
|
-
"variant": "caption"
|
|
1599
|
-
"type": "typography"
|
|
1599
|
+
"variant": "caption"
|
|
1600
1600
|
}
|
|
1601
|
-
]
|
|
1601
|
+
],
|
|
1602
|
+
"type": "card"
|
|
1602
1603
|
},
|
|
1603
1604
|
{
|
|
1605
|
+
"type": "card",
|
|
1604
1606
|
"children": [
|
|
1605
1607
|
{
|
|
1608
|
+
"content": "Graph View",
|
|
1606
1609
|
"type": "typography",
|
|
1607
|
-
"variant": "caption"
|
|
1608
|
-
"content": "Graph View"
|
|
1610
|
+
"variant": "caption"
|
|
1609
1611
|
}
|
|
1610
|
-
]
|
|
1611
|
-
"type": "card"
|
|
1612
|
+
]
|
|
1612
1613
|
}
|
|
1613
1614
|
],
|
|
1614
1615
|
"gap": "md",
|
|
1615
|
-
"type": "grid"
|
|
1616
|
+
"type": "grid",
|
|
1617
|
+
"cols": 2.0
|
|
1616
1618
|
},
|
|
1617
1619
|
{
|
|
1618
|
-
"type": "line-chart",
|
|
1619
1620
|
"data": [
|
|
1620
1621
|
{
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1622
|
+
"date": "Jan",
|
|
1623
|
+
"value": 12.0
|
|
1623
1624
|
},
|
|
1624
1625
|
{
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1626
|
+
"value": 19.0,
|
|
1627
|
+
"date": "Feb"
|
|
1627
1628
|
},
|
|
1628
1629
|
{
|
|
1629
1630
|
"value": 15.0,
|
|
1630
1631
|
"date": "Mar"
|
|
1631
1632
|
},
|
|
1632
1633
|
{
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1634
|
+
"date": "Apr",
|
|
1635
|
+
"value": 25.0
|
|
1635
1636
|
},
|
|
1636
1637
|
{
|
|
1637
1638
|
"date": "May",
|
|
@@ -1641,14 +1642,15 @@
|
|
|
1641
1642
|
"date": "Jun",
|
|
1642
1643
|
"value": 30.0
|
|
1643
1644
|
}
|
|
1644
|
-
]
|
|
1645
|
+
],
|
|
1646
|
+
"type": "line-chart"
|
|
1645
1647
|
},
|
|
1646
1648
|
{
|
|
1647
1649
|
"type": "chart-legend",
|
|
1648
1650
|
"items": [
|
|
1649
1651
|
{
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1652
|
+
"label": "Current",
|
|
1653
|
+
"color": "primary"
|
|
1652
1654
|
},
|
|
1653
1655
|
{
|
|
1654
1656
|
"label": "Previous",
|
|
@@ -1657,11 +1659,23 @@
|
|
|
1657
1659
|
]
|
|
1658
1660
|
},
|
|
1659
1661
|
{
|
|
1662
|
+
"edges": [
|
|
1663
|
+
{
|
|
1664
|
+
"target": "b",
|
|
1665
|
+
"source": "a"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"source": "b",
|
|
1669
|
+
"target": "c"
|
|
1670
|
+
}
|
|
1671
|
+
],
|
|
1660
1672
|
"type": "graph-view",
|
|
1673
|
+
"width": 400.0,
|
|
1674
|
+
"height": 200.0,
|
|
1661
1675
|
"nodes": [
|
|
1662
1676
|
{
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1677
|
+
"id": "a",
|
|
1678
|
+
"label": "Start"
|
|
1665
1679
|
},
|
|
1666
1680
|
{
|
|
1667
1681
|
"id": "b",
|
|
@@ -1671,26 +1685,12 @@
|
|
|
1671
1685
|
"id": "c",
|
|
1672
1686
|
"label": "End"
|
|
1673
1687
|
}
|
|
1674
|
-
],
|
|
1675
|
-
"width": 400.0,
|
|
1676
|
-
"height": 200.0,
|
|
1677
|
-
"edges": [
|
|
1678
|
-
{
|
|
1679
|
-
"source": "a",
|
|
1680
|
-
"target": "b"
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
"source": "b",
|
|
1684
|
-
"target": "c"
|
|
1685
|
-
}
|
|
1686
1688
|
]
|
|
1687
1689
|
}
|
|
1688
1690
|
],
|
|
1689
|
-
"
|
|
1690
|
-
"gap": "lg"
|
|
1691
|
+
"direction": "vertical"
|
|
1691
1692
|
}
|
|
1692
|
-
]
|
|
1693
|
-
"type": "scaled-diagram"
|
|
1693
|
+
]
|
|
1694
1694
|
}
|
|
1695
1695
|
]
|
|
1696
1696
|
}
|
|
@@ -1868,6 +1868,7 @@
|
|
|
1868
1868
|
"main",
|
|
1869
1869
|
{
|
|
1870
1870
|
"direction": "vertical",
|
|
1871
|
+
"type": "stack",
|
|
1871
1872
|
"gap": "md",
|
|
1872
1873
|
"align": "center",
|
|
1873
1874
|
"className": "py-12",
|
|
@@ -1877,12 +1878,11 @@
|
|
|
1877
1878
|
},
|
|
1878
1879
|
{
|
|
1879
1880
|
"variant": "caption",
|
|
1880
|
-
"content": "Loading…",
|
|
1881
1881
|
"type": "typography",
|
|
1882
|
-
"color": "muted"
|
|
1882
|
+
"color": "muted",
|
|
1883
|
+
"content": "Loading…"
|
|
1883
1884
|
}
|
|
1884
|
-
]
|
|
1885
|
-
"type": "stack"
|
|
1885
|
+
]
|
|
1886
1886
|
}
|
|
1887
1887
|
]
|
|
1888
1888
|
]
|
|
@@ -1898,75 +1898,76 @@
|
|
|
1898
1898
|
{
|
|
1899
1899
|
"children": [
|
|
1900
1900
|
{
|
|
1901
|
-
"type": "stack",
|
|
1902
1901
|
"direction": "vertical",
|
|
1902
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
1903
|
+
"type": "stack",
|
|
1904
|
+
"gap": "lg",
|
|
1903
1905
|
"children": [
|
|
1904
1906
|
{
|
|
1905
|
-
"
|
|
1907
|
+
"align": "center",
|
|
1906
1908
|
"type": "stack",
|
|
1907
|
-
"justify": "between",
|
|
1908
|
-
"gap": "md",
|
|
1909
|
-
"align": "center",
|
|
1910
1909
|
"children": [
|
|
1911
1910
|
{
|
|
1912
|
-
"type": "stack",
|
|
1913
1911
|
"direction": "horizontal",
|
|
1914
|
-
"
|
|
1915
|
-
"align": "center",
|
|
1912
|
+
"type": "stack",
|
|
1916
1913
|
"children": [
|
|
1917
1914
|
{
|
|
1918
|
-
"
|
|
1919
|
-
"
|
|
1915
|
+
"type": "icon",
|
|
1916
|
+
"name": "cpu"
|
|
1920
1917
|
},
|
|
1921
1918
|
{
|
|
1922
|
-
"content": "Devices",
|
|
1923
1919
|
"type": "typography",
|
|
1920
|
+
"content": "Devices",
|
|
1924
1921
|
"variant": "h2"
|
|
1925
1922
|
}
|
|
1926
|
-
]
|
|
1923
|
+
],
|
|
1924
|
+
"gap": "sm",
|
|
1925
|
+
"align": "center"
|
|
1927
1926
|
},
|
|
1928
1927
|
{
|
|
1929
|
-
"type": "stack",
|
|
1930
|
-
"direction": "horizontal",
|
|
1931
1928
|
"children": [
|
|
1932
1929
|
{
|
|
1933
1930
|
"action": "CREATE",
|
|
1931
|
+
"icon": "plus",
|
|
1934
1932
|
"label": "Create Device",
|
|
1935
1933
|
"variant": "primary",
|
|
1936
|
-
"icon": "plus",
|
|
1937
1934
|
"type": "button"
|
|
1938
1935
|
}
|
|
1939
1936
|
],
|
|
1940
|
-
"
|
|
1937
|
+
"type": "stack",
|
|
1938
|
+
"gap": "sm",
|
|
1939
|
+
"direction": "horizontal"
|
|
1941
1940
|
}
|
|
1942
|
-
]
|
|
1941
|
+
],
|
|
1942
|
+
"gap": "md",
|
|
1943
|
+
"justify": "between",
|
|
1944
|
+
"direction": "horizontal"
|
|
1943
1945
|
},
|
|
1944
1946
|
{
|
|
1945
1947
|
"type": "divider"
|
|
1946
1948
|
},
|
|
1947
1949
|
{
|
|
1948
|
-
"cols": 3.0,
|
|
1949
|
-
"gap": "md",
|
|
1950
|
-
"type": "data-grid",
|
|
1951
|
-
"entity": "@payload.data",
|
|
1952
|
-
"fields": [],
|
|
1953
1950
|
"itemActions": [
|
|
1954
1951
|
{
|
|
1955
|
-
"
|
|
1952
|
+
"event": "VIEW",
|
|
1956
1953
|
"label": "View",
|
|
1957
|
-
"
|
|
1954
|
+
"variant": "ghost"
|
|
1958
1955
|
},
|
|
1959
1956
|
{
|
|
1960
|
-
"event": "EDIT",
|
|
1961
1957
|
"variant": "ghost",
|
|
1962
|
-
"label": "Edit"
|
|
1958
|
+
"label": "Edit",
|
|
1959
|
+
"event": "EDIT"
|
|
1963
1960
|
},
|
|
1964
1961
|
{
|
|
1962
|
+
"variant": "danger",
|
|
1965
1963
|
"label": "Delete",
|
|
1966
|
-
"event": "DELETE"
|
|
1967
|
-
"variant": "danger"
|
|
1964
|
+
"event": "DELETE"
|
|
1968
1965
|
}
|
|
1969
1966
|
],
|
|
1967
|
+
"type": "data-grid",
|
|
1968
|
+
"entity": "@payload.data",
|
|
1969
|
+
"cols": 3.0,
|
|
1970
|
+
"gap": "md",
|
|
1970
1971
|
"columns": [
|
|
1971
1972
|
{
|
|
1972
1973
|
"variant": "h3",
|
|
@@ -1974,31 +1975,32 @@
|
|
|
1974
1975
|
"name": "name"
|
|
1975
1976
|
},
|
|
1976
1977
|
{
|
|
1977
|
-
"
|
|
1978
|
-
"
|
|
1978
|
+
"name": "status",
|
|
1979
|
+
"variant": "badge"
|
|
1979
1980
|
},
|
|
1980
1981
|
{
|
|
1981
1982
|
"name": "type",
|
|
1982
1983
|
"variant": "body"
|
|
1983
1984
|
},
|
|
1984
1985
|
{
|
|
1985
|
-
"label": "Last Seen",
|
|
1986
1986
|
"variant": "caption",
|
|
1987
|
-
"
|
|
1988
|
-
"
|
|
1987
|
+
"name": "lastSeen",
|
|
1988
|
+
"label": "Last Seen",
|
|
1989
|
+
"format": "date"
|
|
1989
1990
|
}
|
|
1990
|
-
]
|
|
1991
|
+
],
|
|
1992
|
+
"fields": []
|
|
1991
1993
|
}
|
|
1992
|
-
]
|
|
1993
|
-
"gap": "lg",
|
|
1994
|
-
"className": "max-w-5xl mx-auto w-full"
|
|
1994
|
+
]
|
|
1995
1995
|
}
|
|
1996
1996
|
],
|
|
1997
|
+
"appName": "IoT Dashboard",
|
|
1998
|
+
"type": "dashboard-layout",
|
|
1997
1999
|
"navItems": [
|
|
1998
2000
|
{
|
|
1999
|
-
"icon": "layout-list",
|
|
2000
2001
|
"href": "/sensors",
|
|
2001
|
-
"label": "Sensors"
|
|
2002
|
+
"label": "Sensors",
|
|
2003
|
+
"icon": "layout-list"
|
|
2002
2004
|
},
|
|
2003
2005
|
{
|
|
2004
2006
|
"icon": "cpu",
|
|
@@ -2010,9 +2012,7 @@
|
|
|
2010
2012
|
"href": "/alerts",
|
|
2011
2013
|
"icon": "bell"
|
|
2012
2014
|
}
|
|
2013
|
-
]
|
|
2014
|
-
"type": "dashboard-layout",
|
|
2015
|
-
"appName": "IoT Dashboard"
|
|
2015
|
+
]
|
|
2016
2016
|
}
|
|
2017
2017
|
]
|
|
2018
2018
|
]
|
|
@@ -2026,13 +2026,12 @@
|
|
|
2026
2026
|
"render-ui",
|
|
2027
2027
|
"main",
|
|
2028
2028
|
{
|
|
2029
|
-
"
|
|
2030
|
-
"type": "stack",
|
|
2029
|
+
"align": "center",
|
|
2031
2030
|
"children": [
|
|
2032
2031
|
{
|
|
2033
|
-
"
|
|
2032
|
+
"name": "alert-triangle",
|
|
2034
2033
|
"type": "icon",
|
|
2035
|
-
"
|
|
2034
|
+
"color": "destructive"
|
|
2036
2035
|
},
|
|
2037
2036
|
{
|
|
2038
2037
|
"type": "typography",
|
|
@@ -2040,22 +2039,23 @@
|
|
|
2040
2039
|
"content": "Failed to load device"
|
|
2041
2040
|
},
|
|
2042
2041
|
{
|
|
2043
|
-
"variant": "body",
|
|
2044
2042
|
"color": "muted",
|
|
2045
|
-
"
|
|
2046
|
-
"content": "@payload.error"
|
|
2043
|
+
"variant": "body",
|
|
2044
|
+
"content": "@payload.error",
|
|
2045
|
+
"type": "typography"
|
|
2047
2046
|
},
|
|
2048
2047
|
{
|
|
2049
|
-
"
|
|
2048
|
+
"variant": "primary",
|
|
2050
2049
|
"type": "button",
|
|
2051
|
-
"action": "INIT",
|
|
2052
2050
|
"label": "Retry",
|
|
2053
|
-
"
|
|
2051
|
+
"action": "INIT",
|
|
2052
|
+
"icon": "rotate-ccw"
|
|
2054
2053
|
}
|
|
2055
2054
|
],
|
|
2056
|
-
"
|
|
2055
|
+
"type": "stack",
|
|
2056
|
+
"className": "py-12",
|
|
2057
2057
|
"direction": "vertical",
|
|
2058
|
-
"
|
|
2058
|
+
"gap": "md"
|
|
2059
2059
|
}
|
|
2060
2060
|
]
|
|
2061
2061
|
]
|
|
@@ -2216,8 +2216,14 @@
|
|
|
2216
2216
|
"event": "INIT",
|
|
2217
2217
|
"effects": [
|
|
2218
2218
|
[
|
|
2219
|
-
"
|
|
2220
|
-
"Device"
|
|
2219
|
+
"fetch",
|
|
2220
|
+
"Device",
|
|
2221
|
+
{
|
|
2222
|
+
"emit": {
|
|
2223
|
+
"failure": "DeviceLoadFailed",
|
|
2224
|
+
"success": "DeviceLoaded"
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2221
2227
|
]
|
|
2222
2228
|
]
|
|
2223
2229
|
},
|
|
@@ -2231,8 +2237,8 @@
|
|
|
2231
2237
|
"Device",
|
|
2232
2238
|
{
|
|
2233
2239
|
"emit": {
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2240
|
+
"success": "DeviceLoaded",
|
|
2241
|
+
"failure": "DeviceLoadFailed"
|
|
2236
2242
|
}
|
|
2237
2243
|
}
|
|
2238
2244
|
],
|
|
@@ -2240,42 +2246,42 @@
|
|
|
2240
2246
|
"render-ui",
|
|
2241
2247
|
"modal",
|
|
2242
2248
|
{
|
|
2249
|
+
"type": "stack",
|
|
2250
|
+
"direction": "vertical",
|
|
2243
2251
|
"children": [
|
|
2244
2252
|
{
|
|
2245
|
-
"type": "stack",
|
|
2246
2253
|
"gap": "sm",
|
|
2254
|
+
"type": "stack",
|
|
2255
|
+
"direction": "horizontal",
|
|
2247
2256
|
"children": [
|
|
2248
2257
|
{
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2258
|
+
"type": "icon",
|
|
2259
|
+
"name": "plus-circle"
|
|
2251
2260
|
},
|
|
2252
2261
|
{
|
|
2253
2262
|
"variant": "h3",
|
|
2254
2263
|
"type": "typography",
|
|
2255
2264
|
"content": "Create Device"
|
|
2256
2265
|
}
|
|
2257
|
-
]
|
|
2258
|
-
"direction": "horizontal"
|
|
2266
|
+
]
|
|
2259
2267
|
},
|
|
2260
2268
|
{
|
|
2261
2269
|
"type": "divider"
|
|
2262
2270
|
},
|
|
2263
2271
|
{
|
|
2272
|
+
"cancelEvent": "CLOSE",
|
|
2273
|
+
"mode": "create",
|
|
2264
2274
|
"fields": [
|
|
2265
2275
|
"name",
|
|
2266
2276
|
"type",
|
|
2267
2277
|
"status",
|
|
2268
2278
|
"lastSeen"
|
|
2269
2279
|
],
|
|
2270
|
-
"
|
|
2271
|
-
"
|
|
2272
|
-
"type": "form-section",
|
|
2273
|
-
"submitEvent": "SAVE"
|
|
2280
|
+
"submitEvent": "SAVE",
|
|
2281
|
+
"type": "form-section"
|
|
2274
2282
|
}
|
|
2275
2283
|
],
|
|
2276
|
-
"
|
|
2277
|
-
"gap": "md",
|
|
2278
|
-
"direction": "vertical"
|
|
2284
|
+
"gap": "md"
|
|
2279
2285
|
}
|
|
2280
2286
|
]
|
|
2281
2287
|
]
|
|
@@ -2505,8 +2511,14 @@
|
|
|
2505
2511
|
"event": "INIT",
|
|
2506
2512
|
"effects": [
|
|
2507
2513
|
[
|
|
2508
|
-
"
|
|
2509
|
-
"Device"
|
|
2514
|
+
"fetch",
|
|
2515
|
+
"Device",
|
|
2516
|
+
{
|
|
2517
|
+
"emit": {
|
|
2518
|
+
"failure": "DeviceLoadFailed",
|
|
2519
|
+
"success": "DeviceLoaded"
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2510
2522
|
]
|
|
2511
2523
|
]
|
|
2512
2524
|
},
|
|
@@ -2530,9 +2542,8 @@
|
|
|
2530
2542
|
"render-ui",
|
|
2531
2543
|
"modal",
|
|
2532
2544
|
{
|
|
2533
|
-
"type": "stack",
|
|
2534
|
-
"direction": "vertical",
|
|
2535
2545
|
"gap": "md",
|
|
2546
|
+
"direction": "vertical",
|
|
2536
2547
|
"children": [
|
|
2537
2548
|
{
|
|
2538
2549
|
"children": [
|
|
@@ -2541,32 +2552,33 @@
|
|
|
2541
2552
|
"name": "edit"
|
|
2542
2553
|
},
|
|
2543
2554
|
{
|
|
2544
|
-
"
|
|
2555
|
+
"content": "Edit Device",
|
|
2545
2556
|
"variant": "h3",
|
|
2546
|
-
"
|
|
2557
|
+
"type": "typography"
|
|
2547
2558
|
}
|
|
2548
2559
|
],
|
|
2549
|
-
"gap": "sm",
|
|
2550
2560
|
"direction": "horizontal",
|
|
2561
|
+
"gap": "sm",
|
|
2551
2562
|
"type": "stack"
|
|
2552
2563
|
},
|
|
2553
2564
|
{
|
|
2554
2565
|
"type": "divider"
|
|
2555
2566
|
},
|
|
2556
2567
|
{
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2568
|
+
"submitEvent": "SAVE",
|
|
2569
|
+
"entity": "@payload.row",
|
|
2559
2570
|
"fields": [
|
|
2560
2571
|
"name",
|
|
2561
2572
|
"type",
|
|
2562
2573
|
"status",
|
|
2563
2574
|
"lastSeen"
|
|
2564
2575
|
],
|
|
2565
|
-
"
|
|
2566
|
-
"
|
|
2567
|
-
"
|
|
2576
|
+
"cancelEvent": "CLOSE",
|
|
2577
|
+
"mode": "edit",
|
|
2578
|
+
"type": "form-section"
|
|
2568
2579
|
}
|
|
2569
|
-
]
|
|
2580
|
+
],
|
|
2581
|
+
"type": "stack"
|
|
2570
2582
|
}
|
|
2571
2583
|
]
|
|
2572
2584
|
]
|
|
@@ -2731,8 +2743,14 @@
|
|
|
2731
2743
|
"event": "INIT",
|
|
2732
2744
|
"effects": [
|
|
2733
2745
|
[
|
|
2734
|
-
"
|
|
2735
|
-
"Device"
|
|
2746
|
+
"fetch",
|
|
2747
|
+
"Device",
|
|
2748
|
+
{
|
|
2749
|
+
"emit": {
|
|
2750
|
+
"failure": "DeviceLoadFailed",
|
|
2751
|
+
"success": "DeviceLoaded"
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2736
2754
|
]
|
|
2737
2755
|
]
|
|
2738
2756
|
},
|
|
@@ -2747,8 +2765,8 @@
|
|
|
2747
2765
|
{
|
|
2748
2766
|
"id": "@payload.id",
|
|
2749
2767
|
"emit": {
|
|
2750
|
-
"
|
|
2751
|
-
"
|
|
2768
|
+
"success": "DeviceLoaded",
|
|
2769
|
+
"failure": "DeviceLoadFailed"
|
|
2752
2770
|
}
|
|
2753
2771
|
}
|
|
2754
2772
|
],
|
|
@@ -2756,95 +2774,92 @@
|
|
|
2756
2774
|
"render-ui",
|
|
2757
2775
|
"modal",
|
|
2758
2776
|
{
|
|
2759
|
-
"direction": "vertical",
|
|
2760
|
-
"gap": "md",
|
|
2761
|
-
"type": "stack",
|
|
2762
2777
|
"children": [
|
|
2763
2778
|
{
|
|
2764
|
-
"direction": "horizontal",
|
|
2765
2779
|
"gap": "sm",
|
|
2766
|
-
"align": "center",
|
|
2767
|
-
"type": "stack",
|
|
2768
2780
|
"children": [
|
|
2769
2781
|
{
|
|
2770
2782
|
"type": "icon",
|
|
2771
2783
|
"name": "eye"
|
|
2772
2784
|
},
|
|
2773
2785
|
{
|
|
2774
|
-
"type": "typography",
|
|
2775
2786
|
"variant": "h3",
|
|
2776
|
-
"content": "@entity.name"
|
|
2787
|
+
"content": "@entity.name",
|
|
2788
|
+
"type": "typography"
|
|
2777
2789
|
}
|
|
2778
|
-
]
|
|
2790
|
+
],
|
|
2791
|
+
"direction": "horizontal",
|
|
2792
|
+
"type": "stack",
|
|
2793
|
+
"align": "center"
|
|
2779
2794
|
},
|
|
2780
2795
|
{
|
|
2781
2796
|
"type": "divider"
|
|
2782
2797
|
},
|
|
2783
2798
|
{
|
|
2784
|
-
"type": "stack",
|
|
2785
|
-
"direction": "horizontal",
|
|
2786
|
-
"gap": "md",
|
|
2787
2799
|
"children": [
|
|
2788
2800
|
{
|
|
2789
|
-
"
|
|
2801
|
+
"content": "Name",
|
|
2790
2802
|
"variant": "caption",
|
|
2791
|
-
"
|
|
2803
|
+
"type": "typography"
|
|
2792
2804
|
},
|
|
2793
2805
|
{
|
|
2794
2806
|
"type": "typography",
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2807
|
+
"content": "@entity.name",
|
|
2808
|
+
"variant": "body"
|
|
2797
2809
|
}
|
|
2798
|
-
]
|
|
2810
|
+
],
|
|
2811
|
+
"direction": "horizontal",
|
|
2812
|
+
"type": "stack",
|
|
2813
|
+
"gap": "md"
|
|
2799
2814
|
},
|
|
2800
2815
|
{
|
|
2801
|
-
"direction": "horizontal",
|
|
2802
2816
|
"gap": "md",
|
|
2803
2817
|
"children": [
|
|
2804
2818
|
{
|
|
2805
|
-
"content": "Type",
|
|
2806
2819
|
"variant": "caption",
|
|
2820
|
+
"content": "Type",
|
|
2807
2821
|
"type": "typography"
|
|
2808
2822
|
},
|
|
2809
2823
|
{
|
|
2810
2824
|
"type": "typography",
|
|
2811
|
-
"
|
|
2812
|
-
"
|
|
2825
|
+
"variant": "body",
|
|
2826
|
+
"content": "@entity.type"
|
|
2813
2827
|
}
|
|
2814
2828
|
],
|
|
2829
|
+
"direction": "horizontal",
|
|
2815
2830
|
"type": "stack"
|
|
2816
2831
|
},
|
|
2817
2832
|
{
|
|
2818
|
-
"
|
|
2833
|
+
"direction": "horizontal",
|
|
2834
|
+
"gap": "md",
|
|
2819
2835
|
"children": [
|
|
2820
2836
|
{
|
|
2821
|
-
"type": "typography",
|
|
2822
2837
|
"variant": "caption",
|
|
2823
|
-
"content": "Status"
|
|
2838
|
+
"content": "Status",
|
|
2839
|
+
"type": "typography"
|
|
2824
2840
|
},
|
|
2825
2841
|
{
|
|
2826
2842
|
"type": "typography",
|
|
2827
|
-
"
|
|
2828
|
-
"
|
|
2843
|
+
"variant": "body",
|
|
2844
|
+
"content": "@entity.status"
|
|
2829
2845
|
}
|
|
2830
2846
|
],
|
|
2831
|
-
"
|
|
2832
|
-
"gap": "md"
|
|
2847
|
+
"type": "stack"
|
|
2833
2848
|
},
|
|
2834
2849
|
{
|
|
2835
|
-
"gap": "md",
|
|
2836
2850
|
"type": "stack",
|
|
2851
|
+
"gap": "md",
|
|
2837
2852
|
"direction": "horizontal",
|
|
2838
2853
|
"children": [
|
|
2839
2854
|
{
|
|
2840
|
-
"
|
|
2855
|
+
"content": "Last Seen",
|
|
2841
2856
|
"type": "typography",
|
|
2842
|
-
"
|
|
2857
|
+
"variant": "caption"
|
|
2843
2858
|
},
|
|
2844
2859
|
{
|
|
2845
|
-
"variant": "body",
|
|
2846
2860
|
"content": "@entity.lastSeen",
|
|
2847
|
-
"type": "typography"
|
|
2861
|
+
"type": "typography",
|
|
2862
|
+
"variant": "body"
|
|
2848
2863
|
}
|
|
2849
2864
|
]
|
|
2850
2865
|
},
|
|
@@ -2852,27 +2867,30 @@
|
|
|
2852
2867
|
"type": "divider"
|
|
2853
2868
|
},
|
|
2854
2869
|
{
|
|
2870
|
+
"direction": "horizontal",
|
|
2871
|
+
"justify": "end",
|
|
2872
|
+
"type": "stack",
|
|
2855
2873
|
"children": [
|
|
2856
2874
|
{
|
|
2857
|
-
"
|
|
2858
|
-
"action": "EDIT",
|
|
2859
|
-
"type": "button",
|
|
2875
|
+
"icon": "edit",
|
|
2860
2876
|
"variant": "primary",
|
|
2861
|
-
"
|
|
2877
|
+
"type": "button",
|
|
2878
|
+
"action": "EDIT",
|
|
2879
|
+
"label": "Edit"
|
|
2862
2880
|
},
|
|
2863
2881
|
{
|
|
2864
|
-
"variant": "ghost",
|
|
2865
|
-
"type": "button",
|
|
2866
2882
|
"action": "CLOSE",
|
|
2867
|
-
"label": "Close"
|
|
2883
|
+
"label": "Close",
|
|
2884
|
+
"variant": "ghost",
|
|
2885
|
+
"type": "button"
|
|
2868
2886
|
}
|
|
2869
2887
|
],
|
|
2870
|
-
"
|
|
2871
|
-
"gap": "sm",
|
|
2872
|
-
"type": "stack",
|
|
2873
|
-
"justify": "end"
|
|
2888
|
+
"gap": "sm"
|
|
2874
2889
|
}
|
|
2875
|
-
]
|
|
2890
|
+
],
|
|
2891
|
+
"type": "stack",
|
|
2892
|
+
"direction": "vertical",
|
|
2893
|
+
"gap": "md"
|
|
2876
2894
|
}
|
|
2877
2895
|
]
|
|
2878
2896
|
]
|
|
@@ -3080,8 +3098,14 @@
|
|
|
3080
3098
|
"event": "INIT",
|
|
3081
3099
|
"effects": [
|
|
3082
3100
|
[
|
|
3083
|
-
"
|
|
3084
|
-
"Device"
|
|
3101
|
+
"fetch",
|
|
3102
|
+
"Device",
|
|
3103
|
+
{
|
|
3104
|
+
"emit": {
|
|
3105
|
+
"success": "DeviceLoaded",
|
|
3106
|
+
"failure": "DeviceLoadFailed"
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3085
3109
|
]
|
|
3086
3110
|
]
|
|
3087
3111
|
},
|
|
@@ -3099,68 +3123,68 @@
|
|
|
3099
3123
|
"fetch",
|
|
3100
3124
|
"Device",
|
|
3101
3125
|
{
|
|
3102
|
-
"id": "@payload.id",
|
|
3103
3126
|
"emit": {
|
|
3104
3127
|
"failure": "DeviceLoadFailed",
|
|
3105
3128
|
"success": "DeviceLoaded"
|
|
3106
|
-
}
|
|
3129
|
+
},
|
|
3130
|
+
"id": "@payload.id"
|
|
3107
3131
|
}
|
|
3108
3132
|
],
|
|
3109
3133
|
[
|
|
3110
3134
|
"render-ui",
|
|
3111
3135
|
"modal",
|
|
3112
3136
|
{
|
|
3113
|
-
"type": "stack",
|
|
3114
|
-
"gap": "md",
|
|
3115
|
-
"direction": "vertical",
|
|
3116
3137
|
"children": [
|
|
3117
3138
|
{
|
|
3118
3139
|
"gap": "sm",
|
|
3119
|
-
"align": "center",
|
|
3120
3140
|
"type": "stack",
|
|
3141
|
+
"direction": "horizontal",
|
|
3142
|
+
"align": "center",
|
|
3121
3143
|
"children": [
|
|
3122
3144
|
{
|
|
3123
|
-
"
|
|
3124
|
-
"
|
|
3145
|
+
"name": "alert-triangle",
|
|
3146
|
+
"type": "icon"
|
|
3125
3147
|
},
|
|
3126
3148
|
{
|
|
3127
|
-
"type": "typography",
|
|
3128
3149
|
"content": "Delete Device",
|
|
3150
|
+
"type": "typography",
|
|
3129
3151
|
"variant": "h3"
|
|
3130
3152
|
}
|
|
3131
|
-
]
|
|
3132
|
-
"direction": "horizontal"
|
|
3153
|
+
]
|
|
3133
3154
|
},
|
|
3134
3155
|
{
|
|
3135
3156
|
"type": "divider"
|
|
3136
3157
|
},
|
|
3137
3158
|
{
|
|
3159
|
+
"type": "alert",
|
|
3138
3160
|
"variant": "error",
|
|
3139
|
-
"message": "This action cannot be undone."
|
|
3140
|
-
"type": "alert"
|
|
3161
|
+
"message": "This action cannot be undone."
|
|
3141
3162
|
},
|
|
3142
3163
|
{
|
|
3143
|
-
"gap": "sm",
|
|
3144
3164
|
"children": [
|
|
3145
3165
|
{
|
|
3146
3166
|
"variant": "ghost",
|
|
3147
|
-
"
|
|
3167
|
+
"action": "CANCEL",
|
|
3148
3168
|
"label": "Cancel",
|
|
3149
|
-
"
|
|
3169
|
+
"type": "button"
|
|
3150
3170
|
},
|
|
3151
3171
|
{
|
|
3152
|
-
"icon": "check",
|
|
3153
|
-
"action": "CONFIRM_DELETE",
|
|
3154
3172
|
"type": "button",
|
|
3155
|
-
"
|
|
3156
|
-
"label": "Delete"
|
|
3173
|
+
"action": "CONFIRM_DELETE",
|
|
3174
|
+
"label": "Delete",
|
|
3175
|
+
"icon": "check",
|
|
3176
|
+
"variant": "danger"
|
|
3157
3177
|
}
|
|
3158
3178
|
],
|
|
3179
|
+
"gap": "sm",
|
|
3180
|
+
"direction": "horizontal",
|
|
3159
3181
|
"type": "stack",
|
|
3160
|
-
"justify": "end"
|
|
3161
|
-
"direction": "horizontal"
|
|
3182
|
+
"justify": "end"
|
|
3162
3183
|
}
|
|
3163
|
-
]
|
|
3184
|
+
],
|
|
3185
|
+
"type": "stack",
|
|
3186
|
+
"direction": "vertical",
|
|
3187
|
+
"gap": "md"
|
|
3164
3188
|
}
|
|
3165
3189
|
]
|
|
3166
3190
|
]
|
|
@@ -3177,8 +3201,8 @@
|
|
|
3177
3201
|
"@entity.pendingId",
|
|
3178
3202
|
{
|
|
3179
3203
|
"emit": {
|
|
3180
|
-
"
|
|
3181
|
-
"
|
|
3204
|
+
"success": "DeviceDeleted",
|
|
3205
|
+
"failure": "DeviceDeleteFailed"
|
|
3182
3206
|
}
|
|
3183
3207
|
}
|
|
3184
3208
|
],
|
|
@@ -3195,8 +3219,14 @@
|
|
|
3195
3219
|
}
|
|
3196
3220
|
],
|
|
3197
3221
|
[
|
|
3198
|
-
"
|
|
3199
|
-
"Device"
|
|
3222
|
+
"fetch",
|
|
3223
|
+
"Device",
|
|
3224
|
+
{
|
|
3225
|
+
"emit": {
|
|
3226
|
+
"failure": "DeviceLoadFailed",
|
|
3227
|
+
"success": "DeviceLoaded"
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3200
3230
|
],
|
|
3201
3231
|
[
|
|
3202
3232
|
"emit",
|
|
@@ -3222,8 +3252,14 @@
|
|
|
3222
3252
|
}
|
|
3223
3253
|
],
|
|
3224
3254
|
[
|
|
3225
|
-
"
|
|
3226
|
-
"Device"
|
|
3255
|
+
"fetch",
|
|
3256
|
+
"Device",
|
|
3257
|
+
{
|
|
3258
|
+
"emit": {
|
|
3259
|
+
"success": "DeviceLoaded",
|
|
3260
|
+
"failure": "DeviceLoadFailed"
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3227
3263
|
]
|
|
3228
3264
|
]
|
|
3229
3265
|
},
|
|
@@ -3245,8 +3281,14 @@
|
|
|
3245
3281
|
}
|
|
3246
3282
|
],
|
|
3247
3283
|
[
|
|
3248
|
-
"
|
|
3249
|
-
"Device"
|
|
3284
|
+
"fetch",
|
|
3285
|
+
"Device",
|
|
3286
|
+
{
|
|
3287
|
+
"emit": {
|
|
3288
|
+
"failure": "DeviceLoadFailed",
|
|
3289
|
+
"success": "DeviceLoaded"
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3250
3292
|
]
|
|
3251
3293
|
]
|
|
3252
3294
|
}
|
|
@@ -3425,8 +3467,8 @@
|
|
|
3425
3467
|
"DeviceAlert",
|
|
3426
3468
|
{
|
|
3427
3469
|
"emit": {
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3470
|
+
"success": "DeviceAlertLoaded",
|
|
3471
|
+
"failure": "DeviceAlertLoadFailed"
|
|
3430
3472
|
}
|
|
3431
3473
|
}
|
|
3432
3474
|
],
|
|
@@ -3434,41 +3476,58 @@
|
|
|
3434
3476
|
"render-ui",
|
|
3435
3477
|
"main",
|
|
3436
3478
|
{
|
|
3437
|
-
"
|
|
3479
|
+
"navItems": [
|
|
3438
3480
|
{
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3441
|
-
"
|
|
3442
|
-
|
|
3481
|
+
"icon": "layout-list",
|
|
3482
|
+
"href": "/sensors",
|
|
3483
|
+
"label": "Sensors"
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"label": "Devices",
|
|
3487
|
+
"icon": "cpu",
|
|
3488
|
+
"href": "/devices"
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
"icon": "bell",
|
|
3492
|
+
"label": "Alerts",
|
|
3493
|
+
"href": "/alerts"
|
|
3494
|
+
}
|
|
3495
|
+
],
|
|
3496
|
+
"children": [
|
|
3497
|
+
{
|
|
3498
|
+
"gap": "lg",
|
|
3499
|
+
"type": "stack",
|
|
3500
|
+
"children": [
|
|
3501
|
+
{
|
|
3443
3502
|
"align": "center",
|
|
3503
|
+
"justify": "between",
|
|
3444
3504
|
"children": [
|
|
3445
3505
|
{
|
|
3446
|
-
"
|
|
3506
|
+
"type": "stack",
|
|
3447
3507
|
"direction": "horizontal",
|
|
3508
|
+
"align": "center",
|
|
3448
3509
|
"gap": "md",
|
|
3449
3510
|
"children": [
|
|
3450
3511
|
{
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3512
|
+
"type": "icon",
|
|
3513
|
+
"name": "bell"
|
|
3453
3514
|
},
|
|
3454
3515
|
{
|
|
3516
|
+
"variant": "h2",
|
|
3455
3517
|
"type": "typography",
|
|
3456
|
-
"content": "DeviceAlert"
|
|
3457
|
-
"variant": "h2"
|
|
3518
|
+
"content": "DeviceAlert"
|
|
3458
3519
|
}
|
|
3459
|
-
]
|
|
3460
|
-
"type": "stack"
|
|
3520
|
+
]
|
|
3461
3521
|
},
|
|
3462
3522
|
{
|
|
3463
|
-
"label": "Circuit Closed",
|
|
3464
|
-
"type": "status-dot",
|
|
3465
3523
|
"status": "online",
|
|
3466
|
-
"
|
|
3524
|
+
"label": "Circuit Closed",
|
|
3525
|
+
"pulse": false,
|
|
3526
|
+
"type": "status-dot"
|
|
3467
3527
|
}
|
|
3468
3528
|
],
|
|
3469
|
-
"justify": "between",
|
|
3470
|
-
"type": "stack",
|
|
3471
3529
|
"direction": "horizontal",
|
|
3530
|
+
"type": "stack",
|
|
3472
3531
|
"gap": "md"
|
|
3473
3532
|
},
|
|
3474
3533
|
{
|
|
@@ -3480,50 +3539,33 @@
|
|
|
3480
3539
|
"variant": "success"
|
|
3481
3540
|
},
|
|
3482
3541
|
{
|
|
3542
|
+
"type": "simple-grid",
|
|
3543
|
+
"cols": 2.0,
|
|
3483
3544
|
"children": [
|
|
3484
3545
|
{
|
|
3485
|
-
"value": "@entity.failureCount",
|
|
3486
3546
|
"type": "stat-display",
|
|
3547
|
+
"value": "@entity.failureCount",
|
|
3487
3548
|
"label": "Failures"
|
|
3488
3549
|
},
|
|
3489
3550
|
{
|
|
3490
|
-
"
|
|
3551
|
+
"value": "@entity.successCount",
|
|
3491
3552
|
"type": "stat-display",
|
|
3492
|
-
"
|
|
3553
|
+
"label": "Successes"
|
|
3493
3554
|
}
|
|
3494
|
-
]
|
|
3495
|
-
"cols": 2.0,
|
|
3496
|
-
"type": "simple-grid"
|
|
3555
|
+
]
|
|
3497
3556
|
},
|
|
3498
3557
|
{
|
|
3558
|
+
"type": "meter",
|
|
3499
3559
|
"min": 0.0,
|
|
3500
|
-
"max": "@entity.threshold",
|
|
3501
3560
|
"value": "@entity.failureCount",
|
|
3502
|
-
"
|
|
3561
|
+
"max": "@entity.threshold"
|
|
3503
3562
|
}
|
|
3504
3563
|
],
|
|
3505
|
-
"
|
|
3564
|
+
"direction": "vertical"
|
|
3506
3565
|
}
|
|
3507
3566
|
],
|
|
3508
3567
|
"type": "dashboard-layout",
|
|
3509
|
-
"appName": "IoT Dashboard"
|
|
3510
|
-
"navItems": [
|
|
3511
|
-
{
|
|
3512
|
-
"icon": "layout-list",
|
|
3513
|
-
"href": "/sensors",
|
|
3514
|
-
"label": "Sensors"
|
|
3515
|
-
},
|
|
3516
|
-
{
|
|
3517
|
-
"href": "/devices",
|
|
3518
|
-
"label": "Devices",
|
|
3519
|
-
"icon": "cpu"
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
"href": "/alerts",
|
|
3523
|
-
"icon": "bell",
|
|
3524
|
-
"label": "Alerts"
|
|
3525
|
-
}
|
|
3526
|
-
]
|
|
3568
|
+
"appName": "IoT Dashboard"
|
|
3527
3569
|
}
|
|
3528
3570
|
]
|
|
3529
3571
|
]
|
|
@@ -3537,103 +3579,103 @@
|
|
|
3537
3579
|
"render-ui",
|
|
3538
3580
|
"main",
|
|
3539
3581
|
{
|
|
3582
|
+
"type": "dashboard-layout",
|
|
3540
3583
|
"navItems": [
|
|
3541
3584
|
{
|
|
3542
3585
|
"href": "/sensors",
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3586
|
+
"icon": "layout-list",
|
|
3587
|
+
"label": "Sensors"
|
|
3545
3588
|
},
|
|
3546
3589
|
{
|
|
3547
|
-
"
|
|
3590
|
+
"icon": "cpu",
|
|
3548
3591
|
"label": "Devices",
|
|
3549
|
-
"
|
|
3592
|
+
"href": "/devices"
|
|
3550
3593
|
},
|
|
3551
3594
|
{
|
|
3552
|
-
"
|
|
3595
|
+
"label": "Alerts",
|
|
3553
3596
|
"href": "/alerts",
|
|
3554
|
-
"
|
|
3597
|
+
"icon": "bell"
|
|
3555
3598
|
}
|
|
3556
3599
|
],
|
|
3557
|
-
"
|
|
3600
|
+
"appName": "IoT Dashboard",
|
|
3558
3601
|
"children": [
|
|
3559
3602
|
{
|
|
3603
|
+
"gap": "lg",
|
|
3560
3604
|
"type": "stack",
|
|
3561
3605
|
"direction": "vertical",
|
|
3562
|
-
"gap": "lg",
|
|
3563
3606
|
"children": [
|
|
3564
3607
|
{
|
|
3608
|
+
"type": "stack",
|
|
3565
3609
|
"children": [
|
|
3566
3610
|
{
|
|
3567
|
-
"align": "center",
|
|
3568
3611
|
"direction": "horizontal",
|
|
3569
|
-
"gap": "md",
|
|
3570
3612
|
"type": "stack",
|
|
3613
|
+
"gap": "md",
|
|
3571
3614
|
"children": [
|
|
3572
3615
|
{
|
|
3573
3616
|
"type": "icon",
|
|
3574
3617
|
"name": "alert-triangle"
|
|
3575
3618
|
},
|
|
3576
3619
|
{
|
|
3577
|
-
"variant": "h2",
|
|
3578
3620
|
"type": "typography",
|
|
3621
|
+
"variant": "h2",
|
|
3579
3622
|
"content": "DeviceAlert"
|
|
3580
3623
|
}
|
|
3581
|
-
]
|
|
3624
|
+
],
|
|
3625
|
+
"align": "center"
|
|
3582
3626
|
},
|
|
3583
3627
|
{
|
|
3584
|
-
"
|
|
3628
|
+
"status": "critical",
|
|
3585
3629
|
"pulse": true,
|
|
3586
|
-
"
|
|
3587
|
-
"
|
|
3630
|
+
"type": "status-dot",
|
|
3631
|
+
"label": "Circuit Open"
|
|
3588
3632
|
}
|
|
3589
3633
|
],
|
|
3590
3634
|
"gap": "md",
|
|
3591
|
-
"type": "stack",
|
|
3592
3635
|
"justify": "between",
|
|
3593
|
-
"
|
|
3594
|
-
"
|
|
3636
|
+
"align": "center",
|
|
3637
|
+
"direction": "horizontal"
|
|
3595
3638
|
},
|
|
3596
3639
|
{
|
|
3597
3640
|
"type": "divider"
|
|
3598
3641
|
},
|
|
3599
3642
|
{
|
|
3643
|
+
"type": "alert",
|
|
3600
3644
|
"variant": "error",
|
|
3601
|
-
"message": "Circuit is open. Requests are being rejected to prevent cascading failures."
|
|
3602
|
-
"type": "alert"
|
|
3645
|
+
"message": "Circuit is open. Requests are being rejected to prevent cascading failures."
|
|
3603
3646
|
},
|
|
3604
3647
|
{
|
|
3605
|
-
"cols": 2.0,
|
|
3606
3648
|
"type": "simple-grid",
|
|
3649
|
+
"cols": 2.0,
|
|
3607
3650
|
"children": [
|
|
3608
3651
|
{
|
|
3609
|
-
"type": "stat-display",
|
|
3610
3652
|
"label": "Failures",
|
|
3611
|
-
"value": "@entity.failureCount"
|
|
3653
|
+
"value": "@entity.failureCount",
|
|
3654
|
+
"type": "stat-display"
|
|
3612
3655
|
},
|
|
3613
3656
|
{
|
|
3614
|
-
"label": "Successes",
|
|
3615
3657
|
"type": "stat-display",
|
|
3616
|
-
"value": "@entity.successCount"
|
|
3658
|
+
"value": "@entity.successCount",
|
|
3659
|
+
"label": "Successes"
|
|
3617
3660
|
}
|
|
3618
3661
|
]
|
|
3619
3662
|
},
|
|
3620
3663
|
{
|
|
3621
|
-
"
|
|
3622
|
-
"type": "meter",
|
|
3664
|
+
"max": "@entity.threshold",
|
|
3623
3665
|
"min": 0.0,
|
|
3624
|
-
"
|
|
3666
|
+
"value": "@entity.failureCount",
|
|
3667
|
+
"type": "meter"
|
|
3625
3668
|
},
|
|
3626
3669
|
{
|
|
3627
3670
|
"action": "RESET",
|
|
3628
3671
|
"variant": "ghost",
|
|
3672
|
+
"icon": "rotate-ccw",
|
|
3629
3673
|
"type": "button",
|
|
3630
|
-
"label": "Reset"
|
|
3631
|
-
"icon": "rotate-ccw"
|
|
3674
|
+
"label": "Reset"
|
|
3632
3675
|
}
|
|
3633
3676
|
]
|
|
3634
3677
|
}
|
|
3635
|
-
]
|
|
3636
|
-
"appName": "IoT Dashboard"
|
|
3678
|
+
]
|
|
3637
3679
|
}
|
|
3638
3680
|
]
|
|
3639
3681
|
]
|
|
@@ -3647,36 +3689,21 @@
|
|
|
3647
3689
|
"render-ui",
|
|
3648
3690
|
"main",
|
|
3649
3691
|
{
|
|
3650
|
-
"appName": "IoT Dashboard",
|
|
3651
3692
|
"type": "dashboard-layout",
|
|
3652
|
-
"navItems": [
|
|
3653
|
-
{
|
|
3654
|
-
"icon": "layout-list",
|
|
3655
|
-
"label": "Sensors",
|
|
3656
|
-
"href": "/sensors"
|
|
3657
|
-
},
|
|
3658
|
-
{
|
|
3659
|
-
"icon": "cpu",
|
|
3660
|
-
"label": "Devices",
|
|
3661
|
-
"href": "/devices"
|
|
3662
|
-
},
|
|
3663
|
-
{
|
|
3664
|
-
"label": "Alerts",
|
|
3665
|
-
"href": "/alerts",
|
|
3666
|
-
"icon": "bell"
|
|
3667
|
-
}
|
|
3668
|
-
],
|
|
3669
3693
|
"children": [
|
|
3670
3694
|
{
|
|
3695
|
+
"type": "stack",
|
|
3696
|
+
"gap": "lg",
|
|
3697
|
+
"direction": "vertical",
|
|
3671
3698
|
"children": [
|
|
3672
3699
|
{
|
|
3700
|
+
"direction": "horizontal",
|
|
3673
3701
|
"align": "center",
|
|
3674
3702
|
"justify": "between",
|
|
3675
3703
|
"children": [
|
|
3676
3704
|
{
|
|
3677
3705
|
"type": "stack",
|
|
3678
|
-
"
|
|
3679
|
-
"align": "center",
|
|
3706
|
+
"gap": "md",
|
|
3680
3707
|
"children": [
|
|
3681
3708
|
{
|
|
3682
3709
|
"name": "bell",
|
|
@@ -3684,11 +3711,12 @@
|
|
|
3684
3711
|
},
|
|
3685
3712
|
{
|
|
3686
3713
|
"content": "DeviceAlert",
|
|
3687
|
-
"
|
|
3688
|
-
"
|
|
3714
|
+
"variant": "h2",
|
|
3715
|
+
"type": "typography"
|
|
3689
3716
|
}
|
|
3690
3717
|
],
|
|
3691
|
-
"
|
|
3718
|
+
"direction": "horizontal",
|
|
3719
|
+
"align": "center"
|
|
3692
3720
|
},
|
|
3693
3721
|
{
|
|
3694
3722
|
"status": "online",
|
|
@@ -3698,24 +3726,23 @@
|
|
|
3698
3726
|
}
|
|
3699
3727
|
],
|
|
3700
3728
|
"gap": "md",
|
|
3701
|
-
"direction": "horizontal",
|
|
3702
3729
|
"type": "stack"
|
|
3703
3730
|
},
|
|
3704
3731
|
{
|
|
3705
3732
|
"type": "divider"
|
|
3706
3733
|
},
|
|
3707
3734
|
{
|
|
3708
|
-
"variant": "success",
|
|
3709
3735
|
"type": "alert",
|
|
3736
|
+
"variant": "success",
|
|
3710
3737
|
"message": "Service is healthy. All requests are being processed."
|
|
3711
3738
|
},
|
|
3712
3739
|
{
|
|
3713
|
-
"
|
|
3740
|
+
"cols": 2.0,
|
|
3714
3741
|
"children": [
|
|
3715
3742
|
{
|
|
3716
|
-
"type": "stat-display",
|
|
3717
3743
|
"label": "Failures",
|
|
3718
|
-
"value": "@entity.failureCount"
|
|
3744
|
+
"value": "@entity.failureCount",
|
|
3745
|
+
"type": "stat-display"
|
|
3719
3746
|
},
|
|
3720
3747
|
{
|
|
3721
3748
|
"type": "stat-display",
|
|
@@ -3723,39 +3750,22 @@
|
|
|
3723
3750
|
"value": "@entity.successCount"
|
|
3724
3751
|
}
|
|
3725
3752
|
],
|
|
3726
|
-
"
|
|
3753
|
+
"type": "simple-grid"
|
|
3727
3754
|
},
|
|
3728
3755
|
{
|
|
3729
|
-
"min": 0.0,
|
|
3730
|
-
"max": "@entity.threshold",
|
|
3731
3756
|
"value": "@entity.failureCount",
|
|
3732
|
-
"
|
|
3757
|
+
"max": "@entity.threshold",
|
|
3758
|
+
"type": "meter",
|
|
3759
|
+
"min": 0.0
|
|
3733
3760
|
}
|
|
3734
|
-
]
|
|
3735
|
-
"direction": "vertical",
|
|
3736
|
-
"gap": "lg",
|
|
3737
|
-
"type": "stack"
|
|
3761
|
+
]
|
|
3738
3762
|
}
|
|
3739
|
-
]
|
|
3740
|
-
}
|
|
3741
|
-
]
|
|
3742
|
-
]
|
|
3743
|
-
},
|
|
3744
|
-
{
|
|
3745
|
-
"from": "open",
|
|
3746
|
-
"to": "halfOpen",
|
|
3747
|
-
"event": "TIMEOUT",
|
|
3748
|
-
"effects": [
|
|
3749
|
-
[
|
|
3750
|
-
"render-ui",
|
|
3751
|
-
"main",
|
|
3752
|
-
{
|
|
3753
|
-
"appName": "IoT Dashboard",
|
|
3763
|
+
],
|
|
3754
3764
|
"navItems": [
|
|
3755
3765
|
{
|
|
3756
|
-
"label": "Sensors",
|
|
3757
3766
|
"href": "/sensors",
|
|
3758
|
-
"icon": "layout-list"
|
|
3767
|
+
"icon": "layout-list",
|
|
3768
|
+
"label": "Sensors"
|
|
3759
3769
|
},
|
|
3760
3770
|
{
|
|
3761
3771
|
"label": "Devices",
|
|
@@ -3763,40 +3773,54 @@
|
|
|
3763
3773
|
"icon": "cpu"
|
|
3764
3774
|
},
|
|
3765
3775
|
{
|
|
3776
|
+
"label": "Alerts",
|
|
3766
3777
|
"icon": "bell",
|
|
3767
|
-
"href": "/alerts"
|
|
3768
|
-
"label": "Alerts"
|
|
3778
|
+
"href": "/alerts"
|
|
3769
3779
|
}
|
|
3770
3780
|
],
|
|
3781
|
+
"appName": "IoT Dashboard"
|
|
3782
|
+
}
|
|
3783
|
+
]
|
|
3784
|
+
]
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"from": "open",
|
|
3788
|
+
"to": "halfOpen",
|
|
3789
|
+
"event": "TIMEOUT",
|
|
3790
|
+
"effects": [
|
|
3791
|
+
[
|
|
3792
|
+
"render-ui",
|
|
3793
|
+
"main",
|
|
3794
|
+
{
|
|
3771
3795
|
"type": "dashboard-layout",
|
|
3772
3796
|
"children": [
|
|
3773
3797
|
{
|
|
3774
3798
|
"gap": "lg",
|
|
3775
|
-
"
|
|
3799
|
+
"type": "stack",
|
|
3776
3800
|
"children": [
|
|
3777
3801
|
{
|
|
3778
|
-
"
|
|
3779
|
-
"type": "stack",
|
|
3802
|
+
"align": "center",
|
|
3780
3803
|
"gap": "md",
|
|
3804
|
+
"type": "stack",
|
|
3781
3805
|
"direction": "horizontal",
|
|
3782
|
-
"
|
|
3806
|
+
"justify": "between",
|
|
3783
3807
|
"children": [
|
|
3784
3808
|
{
|
|
3809
|
+
"direction": "horizontal",
|
|
3810
|
+
"type": "stack",
|
|
3811
|
+
"align": "center",
|
|
3785
3812
|
"children": [
|
|
3786
3813
|
{
|
|
3787
3814
|
"type": "icon",
|
|
3788
3815
|
"name": "activity"
|
|
3789
3816
|
},
|
|
3790
3817
|
{
|
|
3818
|
+
"variant": "h2",
|
|
3791
3819
|
"type": "typography",
|
|
3792
|
-
"content": "DeviceAlert"
|
|
3793
|
-
"variant": "h2"
|
|
3820
|
+
"content": "DeviceAlert"
|
|
3794
3821
|
}
|
|
3795
3822
|
],
|
|
3796
|
-
"gap": "md"
|
|
3797
|
-
"align": "center",
|
|
3798
|
-
"direction": "horizontal",
|
|
3799
|
-
"type": "stack"
|
|
3823
|
+
"gap": "md"
|
|
3800
3824
|
},
|
|
3801
3825
|
{
|
|
3802
3826
|
"type": "status-dot",
|
|
@@ -3810,30 +3834,48 @@
|
|
|
3810
3834
|
"type": "divider"
|
|
3811
3835
|
},
|
|
3812
3836
|
{
|
|
3813
|
-
"type": "alert",
|
|
3814
3837
|
"variant": "warning",
|
|
3838
|
+
"type": "alert",
|
|
3815
3839
|
"message": "Testing recovery. Limited requests are being allowed through."
|
|
3816
3840
|
},
|
|
3817
3841
|
{
|
|
3818
|
-
"
|
|
3842
|
+
"type": "simple-grid",
|
|
3819
3843
|
"children": [
|
|
3820
3844
|
{
|
|
3821
3845
|
"type": "stat-display",
|
|
3822
|
-
"
|
|
3823
|
-
"
|
|
3846
|
+
"label": "Failures",
|
|
3847
|
+
"value": "@entity.failureCount"
|
|
3824
3848
|
},
|
|
3825
3849
|
{
|
|
3850
|
+
"type": "stat-display",
|
|
3826
3851
|
"label": "Successes",
|
|
3827
|
-
"value": "@entity.successCount"
|
|
3828
|
-
"type": "stat-display"
|
|
3852
|
+
"value": "@entity.successCount"
|
|
3829
3853
|
}
|
|
3830
3854
|
],
|
|
3831
|
-
"
|
|
3855
|
+
"cols": 2.0
|
|
3832
3856
|
}
|
|
3833
3857
|
],
|
|
3834
|
-
"
|
|
3858
|
+
"direction": "vertical"
|
|
3835
3859
|
}
|
|
3836
|
-
]
|
|
3860
|
+
],
|
|
3861
|
+
"navItems": [
|
|
3862
|
+
{
|
|
3863
|
+
"label": "Sensors",
|
|
3864
|
+
"icon": "layout-list",
|
|
3865
|
+
"href": "/sensors"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"href": "/devices",
|
|
3869
|
+
"label": "Devices",
|
|
3870
|
+
"icon": "cpu"
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"label": "Alerts",
|
|
3874
|
+
"href": "/alerts",
|
|
3875
|
+
"icon": "bell"
|
|
3876
|
+
}
|
|
3877
|
+
],
|
|
3878
|
+
"appName": "IoT Dashboard"
|
|
3837
3879
|
}
|
|
3838
3880
|
]
|
|
3839
3881
|
]
|
|
@@ -3847,65 +3889,48 @@
|
|
|
3847
3889
|
"render-ui",
|
|
3848
3890
|
"main",
|
|
3849
3891
|
{
|
|
3850
|
-
"type": "dashboard-layout",
|
|
3851
|
-
"navItems": [
|
|
3852
|
-
{
|
|
3853
|
-
"icon": "layout-list",
|
|
3854
|
-
"label": "Sensors",
|
|
3855
|
-
"href": "/sensors"
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"href": "/devices",
|
|
3859
|
-
"icon": "cpu",
|
|
3860
|
-
"label": "Devices"
|
|
3861
|
-
},
|
|
3862
|
-
{
|
|
3863
|
-
"icon": "bell",
|
|
3864
|
-
"label": "Alerts",
|
|
3865
|
-
"href": "/alerts"
|
|
3866
|
-
}
|
|
3867
|
-
],
|
|
3868
3892
|
"children": [
|
|
3869
3893
|
{
|
|
3894
|
+
"type": "stack",
|
|
3870
3895
|
"children": [
|
|
3871
3896
|
{
|
|
3872
|
-
"gap": "md",
|
|
3873
|
-
"justify": "between",
|
|
3874
3897
|
"type": "stack",
|
|
3875
|
-
"
|
|
3898
|
+
"align": "center",
|
|
3899
|
+
"justify": "between",
|
|
3900
|
+
"gap": "md",
|
|
3876
3901
|
"children": [
|
|
3877
3902
|
{
|
|
3878
|
-
"direction": "horizontal",
|
|
3879
|
-
"align": "center",
|
|
3880
|
-
"gap": "md",
|
|
3881
|
-
"type": "stack",
|
|
3882
3903
|
"children": [
|
|
3883
3904
|
{
|
|
3884
3905
|
"type": "icon",
|
|
3885
3906
|
"name": "bell"
|
|
3886
3907
|
},
|
|
3887
3908
|
{
|
|
3888
|
-
"content": "DeviceAlert",
|
|
3889
3909
|
"variant": "h2",
|
|
3890
|
-
"type": "typography"
|
|
3910
|
+
"type": "typography",
|
|
3911
|
+
"content": "DeviceAlert"
|
|
3891
3912
|
}
|
|
3892
|
-
]
|
|
3913
|
+
],
|
|
3914
|
+
"gap": "md",
|
|
3915
|
+
"direction": "horizontal",
|
|
3916
|
+
"align": "center",
|
|
3917
|
+
"type": "stack"
|
|
3893
3918
|
},
|
|
3894
3919
|
{
|
|
3895
3920
|
"status": "online",
|
|
3921
|
+
"pulse": false,
|
|
3896
3922
|
"type": "status-dot",
|
|
3897
|
-
"label": "Circuit Closed"
|
|
3898
|
-
"pulse": false
|
|
3923
|
+
"label": "Circuit Closed"
|
|
3899
3924
|
}
|
|
3900
3925
|
],
|
|
3901
|
-
"
|
|
3926
|
+
"direction": "horizontal"
|
|
3902
3927
|
},
|
|
3903
3928
|
{
|
|
3904
3929
|
"type": "divider"
|
|
3905
3930
|
},
|
|
3906
3931
|
{
|
|
3907
|
-
"type": "alert",
|
|
3908
3932
|
"message": "Service is healthy. All requests are being processed.",
|
|
3933
|
+
"type": "alert",
|
|
3909
3934
|
"variant": "success"
|
|
3910
3935
|
},
|
|
3911
3936
|
{
|
|
@@ -3917,23 +3942,40 @@
|
|
|
3917
3942
|
},
|
|
3918
3943
|
{
|
|
3919
3944
|
"label": "Successes",
|
|
3920
|
-
"
|
|
3921
|
-
"
|
|
3945
|
+
"value": "@entity.successCount",
|
|
3946
|
+
"type": "stat-display"
|
|
3922
3947
|
}
|
|
3923
3948
|
],
|
|
3924
|
-
"
|
|
3925
|
-
"
|
|
3949
|
+
"type": "simple-grid",
|
|
3950
|
+
"cols": 2.0
|
|
3926
3951
|
},
|
|
3927
3952
|
{
|
|
3928
3953
|
"value": "@entity.failureCount",
|
|
3929
|
-
"
|
|
3954
|
+
"type": "meter",
|
|
3930
3955
|
"min": 0.0,
|
|
3931
|
-
"
|
|
3956
|
+
"max": "@entity.threshold"
|
|
3932
3957
|
}
|
|
3933
3958
|
],
|
|
3934
3959
|
"direction": "vertical",
|
|
3935
|
-
"gap": "lg"
|
|
3936
|
-
|
|
3960
|
+
"gap": "lg"
|
|
3961
|
+
}
|
|
3962
|
+
],
|
|
3963
|
+
"type": "dashboard-layout",
|
|
3964
|
+
"navItems": [
|
|
3965
|
+
{
|
|
3966
|
+
"href": "/sensors",
|
|
3967
|
+
"icon": "layout-list",
|
|
3968
|
+
"label": "Sensors"
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
"icon": "cpu",
|
|
3972
|
+
"href": "/devices",
|
|
3973
|
+
"label": "Devices"
|
|
3974
|
+
},
|
|
3975
|
+
{
|
|
3976
|
+
"icon": "bell",
|
|
3977
|
+
"label": "Alerts",
|
|
3978
|
+
"href": "/alerts"
|
|
3937
3979
|
}
|
|
3938
3980
|
],
|
|
3939
3981
|
"appName": "IoT Dashboard"
|
|
@@ -3951,93 +3993,93 @@
|
|
|
3951
3993
|
"main",
|
|
3952
3994
|
{
|
|
3953
3995
|
"appName": "IoT Dashboard",
|
|
3954
|
-
"type": "dashboard-layout",
|
|
3955
|
-
"navItems": [
|
|
3956
|
-
{
|
|
3957
|
-
"href": "/sensors",
|
|
3958
|
-
"icon": "layout-list",
|
|
3959
|
-
"label": "Sensors"
|
|
3960
|
-
},
|
|
3961
|
-
{
|
|
3962
|
-
"href": "/devices",
|
|
3963
|
-
"label": "Devices",
|
|
3964
|
-
"icon": "cpu"
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
"label": "Alerts",
|
|
3968
|
-
"href": "/alerts",
|
|
3969
|
-
"icon": "bell"
|
|
3970
|
-
}
|
|
3971
|
-
],
|
|
3972
3996
|
"children": [
|
|
3973
3997
|
{
|
|
3974
|
-
"
|
|
3998
|
+
"type": "stack",
|
|
3975
3999
|
"children": [
|
|
3976
4000
|
{
|
|
3977
|
-
"align": "center",
|
|
3978
|
-
"justify": "between",
|
|
3979
4001
|
"children": [
|
|
3980
4002
|
{
|
|
3981
4003
|
"type": "stack",
|
|
3982
|
-
"
|
|
4004
|
+
"align": "center",
|
|
3983
4005
|
"children": [
|
|
3984
4006
|
{
|
|
3985
4007
|
"name": "bell",
|
|
3986
4008
|
"type": "icon"
|
|
3987
4009
|
},
|
|
3988
4010
|
{
|
|
3989
|
-
"content": "DeviceAlert",
|
|
3990
4011
|
"variant": "h2",
|
|
3991
|
-
"type": "typography"
|
|
4012
|
+
"type": "typography",
|
|
4013
|
+
"content": "DeviceAlert"
|
|
3992
4014
|
}
|
|
3993
4015
|
],
|
|
3994
|
-
"
|
|
4016
|
+
"gap": "md",
|
|
3995
4017
|
"direction": "horizontal"
|
|
3996
4018
|
},
|
|
3997
4019
|
{
|
|
3998
|
-
"pulse": false,
|
|
3999
4020
|
"status": "online",
|
|
4000
|
-
"
|
|
4001
|
-
"type": "status-dot"
|
|
4021
|
+
"pulse": false,
|
|
4022
|
+
"type": "status-dot",
|
|
4023
|
+
"label": "Circuit Closed"
|
|
4002
4024
|
}
|
|
4003
4025
|
],
|
|
4026
|
+
"align": "center",
|
|
4004
4027
|
"gap": "md",
|
|
4005
|
-
"
|
|
4006
|
-
"
|
|
4028
|
+
"type": "stack",
|
|
4029
|
+
"justify": "between",
|
|
4030
|
+
"direction": "horizontal"
|
|
4007
4031
|
},
|
|
4008
4032
|
{
|
|
4009
4033
|
"type": "divider"
|
|
4010
4034
|
},
|
|
4011
4035
|
{
|
|
4012
|
-
"message": "Service is healthy. All requests are being processed.",
|
|
4013
4036
|
"type": "alert",
|
|
4014
|
-
"variant": "success"
|
|
4037
|
+
"variant": "success",
|
|
4038
|
+
"message": "Service is healthy. All requests are being processed."
|
|
4015
4039
|
},
|
|
4016
4040
|
{
|
|
4017
|
-
"type": "simple-grid",
|
|
4018
4041
|
"cols": 2.0,
|
|
4019
4042
|
"children": [
|
|
4020
4043
|
{
|
|
4044
|
+
"value": "@entity.failureCount",
|
|
4021
4045
|
"type": "stat-display",
|
|
4022
|
-
"label": "Failures"
|
|
4023
|
-
"value": "@entity.failureCount"
|
|
4046
|
+
"label": "Failures"
|
|
4024
4047
|
},
|
|
4025
4048
|
{
|
|
4026
4049
|
"value": "@entity.successCount",
|
|
4027
4050
|
"type": "stat-display",
|
|
4028
4051
|
"label": "Successes"
|
|
4029
4052
|
}
|
|
4030
|
-
]
|
|
4053
|
+
],
|
|
4054
|
+
"type": "simple-grid"
|
|
4031
4055
|
},
|
|
4032
4056
|
{
|
|
4033
|
-
"min": 0.0,
|
|
4034
|
-
"max": "@entity.threshold",
|
|
4035
4057
|
"type": "meter",
|
|
4036
|
-
"value": "@entity.failureCount"
|
|
4058
|
+
"value": "@entity.failureCount",
|
|
4059
|
+
"min": 0.0,
|
|
4060
|
+
"max": "@entity.threshold"
|
|
4037
4061
|
}
|
|
4038
4062
|
],
|
|
4039
|
-
"
|
|
4040
|
-
"
|
|
4063
|
+
"direction": "vertical",
|
|
4064
|
+
"gap": "lg"
|
|
4065
|
+
}
|
|
4066
|
+
],
|
|
4067
|
+
"type": "dashboard-layout",
|
|
4068
|
+
"navItems": [
|
|
4069
|
+
{
|
|
4070
|
+
"label": "Sensors",
|
|
4071
|
+
"href": "/sensors",
|
|
4072
|
+
"icon": "layout-list"
|
|
4073
|
+
},
|
|
4074
|
+
{
|
|
4075
|
+
"icon": "cpu",
|
|
4076
|
+
"href": "/devices",
|
|
4077
|
+
"label": "Devices"
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"label": "Alerts",
|
|
4081
|
+
"href": "/alerts",
|
|
4082
|
+
"icon": "bell"
|
|
4041
4083
|
}
|
|
4042
4084
|
]
|
|
4043
4085
|
}
|
|
@@ -4054,50 +4096,69 @@
|
|
|
4054
4096
|
"main",
|
|
4055
4097
|
{
|
|
4056
4098
|
"type": "dashboard-layout",
|
|
4099
|
+
"appName": "IoT Dashboard",
|
|
4100
|
+
"navItems": [
|
|
4101
|
+
{
|
|
4102
|
+
"label": "Sensors",
|
|
4103
|
+
"href": "/sensors",
|
|
4104
|
+
"icon": "layout-list"
|
|
4105
|
+
},
|
|
4106
|
+
{
|
|
4107
|
+
"label": "Devices",
|
|
4108
|
+
"icon": "cpu",
|
|
4109
|
+
"href": "/devices"
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
"icon": "bell",
|
|
4113
|
+
"href": "/alerts",
|
|
4114
|
+
"label": "Alerts"
|
|
4115
|
+
}
|
|
4116
|
+
],
|
|
4057
4117
|
"children": [
|
|
4058
4118
|
{
|
|
4059
|
-
"direction": "vertical",
|
|
4060
4119
|
"type": "stack",
|
|
4120
|
+
"direction": "vertical",
|
|
4121
|
+
"gap": "lg",
|
|
4061
4122
|
"children": [
|
|
4062
4123
|
{
|
|
4063
4124
|
"justify": "between",
|
|
4125
|
+
"gap": "md",
|
|
4064
4126
|
"type": "stack",
|
|
4127
|
+
"align": "center",
|
|
4128
|
+
"direction": "horizontal",
|
|
4065
4129
|
"children": [
|
|
4066
4130
|
{
|
|
4131
|
+
"type": "stack",
|
|
4132
|
+
"direction": "horizontal",
|
|
4133
|
+
"align": "center",
|
|
4134
|
+
"gap": "md",
|
|
4067
4135
|
"children": [
|
|
4068
4136
|
{
|
|
4069
|
-
"
|
|
4070
|
-
"
|
|
4137
|
+
"name": "alert-triangle",
|
|
4138
|
+
"type": "icon"
|
|
4071
4139
|
},
|
|
4072
4140
|
{
|
|
4141
|
+
"content": "DeviceAlert",
|
|
4073
4142
|
"variant": "h2",
|
|
4074
|
-
"type": "typography"
|
|
4075
|
-
"content": "DeviceAlert"
|
|
4143
|
+
"type": "typography"
|
|
4076
4144
|
}
|
|
4077
|
-
]
|
|
4078
|
-
"type": "stack",
|
|
4079
|
-
"gap": "md",
|
|
4080
|
-
"align": "center",
|
|
4081
|
-
"direction": "horizontal"
|
|
4145
|
+
]
|
|
4082
4146
|
},
|
|
4083
4147
|
{
|
|
4084
|
-
"status": "critical",
|
|
4085
4148
|
"pulse": true,
|
|
4149
|
+
"status": "critical",
|
|
4086
4150
|
"type": "status-dot",
|
|
4087
4151
|
"label": "Circuit Open"
|
|
4088
4152
|
}
|
|
4089
|
-
]
|
|
4090
|
-
"direction": "horizontal",
|
|
4091
|
-
"align": "center",
|
|
4092
|
-
"gap": "md"
|
|
4153
|
+
]
|
|
4093
4154
|
},
|
|
4094
4155
|
{
|
|
4095
4156
|
"type": "divider"
|
|
4096
4157
|
},
|
|
4097
4158
|
{
|
|
4098
|
-
"
|
|
4159
|
+
"variant": "error",
|
|
4099
4160
|
"type": "alert",
|
|
4100
|
-
"
|
|
4161
|
+
"message": "Circuit is open. Requests are being rejected to prevent cascading failures."
|
|
4101
4162
|
},
|
|
4102
4163
|
{
|
|
4103
4164
|
"type": "simple-grid",
|
|
@@ -4105,51 +4166,32 @@
|
|
|
4105
4166
|
"children": [
|
|
4106
4167
|
{
|
|
4107
4168
|
"type": "stat-display",
|
|
4108
|
-
"
|
|
4109
|
-
"
|
|
4169
|
+
"label": "Failures",
|
|
4170
|
+
"value": "@entity.failureCount"
|
|
4110
4171
|
},
|
|
4111
4172
|
{
|
|
4112
|
-
"label": "Successes",
|
|
4113
4173
|
"value": "@entity.successCount",
|
|
4174
|
+
"label": "Successes",
|
|
4114
4175
|
"type": "stat-display"
|
|
4115
4176
|
}
|
|
4116
4177
|
]
|
|
4117
4178
|
},
|
|
4118
4179
|
{
|
|
4119
4180
|
"max": "@entity.threshold",
|
|
4120
|
-
"
|
|
4181
|
+
"min": 0.0,
|
|
4121
4182
|
"type": "meter",
|
|
4122
|
-
"
|
|
4183
|
+
"value": "@entity.failureCount"
|
|
4123
4184
|
},
|
|
4124
4185
|
{
|
|
4125
|
-
"type": "button",
|
|
4126
|
-
"action": "RESET",
|
|
4127
4186
|
"icon": "rotate-ccw",
|
|
4128
4187
|
"label": "Reset",
|
|
4129
|
-
"variant": "ghost"
|
|
4188
|
+
"variant": "ghost",
|
|
4189
|
+
"type": "button",
|
|
4190
|
+
"action": "RESET"
|
|
4130
4191
|
}
|
|
4131
|
-
]
|
|
4132
|
-
"gap": "lg"
|
|
4133
|
-
}
|
|
4134
|
-
],
|
|
4135
|
-
"navItems": [
|
|
4136
|
-
{
|
|
4137
|
-
"icon": "layout-list",
|
|
4138
|
-
"href": "/sensors",
|
|
4139
|
-
"label": "Sensors"
|
|
4140
|
-
},
|
|
4141
|
-
{
|
|
4142
|
-
"icon": "cpu",
|
|
4143
|
-
"href": "/devices",
|
|
4144
|
-
"label": "Devices"
|
|
4145
|
-
},
|
|
4146
|
-
{
|
|
4147
|
-
"href": "/alerts",
|
|
4148
|
-
"label": "Alerts",
|
|
4149
|
-
"icon": "bell"
|
|
4192
|
+
]
|
|
4150
4193
|
}
|
|
4151
|
-
]
|
|
4152
|
-
"appName": "IoT Dashboard"
|
|
4194
|
+
]
|
|
4153
4195
|
}
|
|
4154
4196
|
]
|
|
4155
4197
|
]
|
|
@@ -4164,18 +4206,34 @@
|
|
|
4164
4206
|
"main",
|
|
4165
4207
|
{
|
|
4166
4208
|
"type": "dashboard-layout",
|
|
4209
|
+
"navItems": [
|
|
4210
|
+
{
|
|
4211
|
+
"label": "Sensors",
|
|
4212
|
+
"href": "/sensors",
|
|
4213
|
+
"icon": "layout-list"
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"href": "/devices",
|
|
4217
|
+
"label": "Devices",
|
|
4218
|
+
"icon": "cpu"
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"icon": "bell",
|
|
4222
|
+
"label": "Alerts",
|
|
4223
|
+
"href": "/alerts"
|
|
4224
|
+
}
|
|
4225
|
+
],
|
|
4167
4226
|
"children": [
|
|
4168
4227
|
{
|
|
4169
|
-
"
|
|
4228
|
+
"gap": "lg",
|
|
4170
4229
|
"children": [
|
|
4171
4230
|
{
|
|
4172
|
-
"gap": "md",
|
|
4173
|
-
"align": "center",
|
|
4174
|
-
"justify": "between",
|
|
4175
|
-
"direction": "horizontal",
|
|
4176
4231
|
"children": [
|
|
4177
4232
|
{
|
|
4178
4233
|
"direction": "horizontal",
|
|
4234
|
+
"type": "stack",
|
|
4235
|
+
"align": "center",
|
|
4236
|
+
"gap": "md",
|
|
4179
4237
|
"children": [
|
|
4180
4238
|
{
|
|
4181
4239
|
"name": "bell",
|
|
@@ -4186,73 +4244,57 @@
|
|
|
4186
4244
|
"variant": "h2",
|
|
4187
4245
|
"type": "typography"
|
|
4188
4246
|
}
|
|
4189
|
-
]
|
|
4190
|
-
"gap": "md",
|
|
4191
|
-
"type": "stack",
|
|
4192
|
-
"align": "center"
|
|
4247
|
+
]
|
|
4193
4248
|
},
|
|
4194
4249
|
{
|
|
4195
4250
|
"type": "status-dot",
|
|
4196
|
-
"
|
|
4251
|
+
"status": "online",
|
|
4197
4252
|
"pulse": false,
|
|
4198
|
-
"
|
|
4253
|
+
"label": "Circuit Closed"
|
|
4199
4254
|
}
|
|
4200
4255
|
],
|
|
4201
|
-
"
|
|
4256
|
+
"align": "center",
|
|
4257
|
+
"justify": "between",
|
|
4258
|
+
"direction": "horizontal",
|
|
4259
|
+
"type": "stack",
|
|
4260
|
+
"gap": "md"
|
|
4202
4261
|
},
|
|
4203
4262
|
{
|
|
4204
4263
|
"type": "divider"
|
|
4205
4264
|
},
|
|
4206
4265
|
{
|
|
4207
4266
|
"type": "alert",
|
|
4208
|
-
"
|
|
4209
|
-
"
|
|
4267
|
+
"message": "Service is healthy. All requests are being processed.",
|
|
4268
|
+
"variant": "success"
|
|
4210
4269
|
},
|
|
4211
4270
|
{
|
|
4212
4271
|
"type": "simple-grid",
|
|
4213
|
-
"cols": 2.0,
|
|
4214
4272
|
"children": [
|
|
4215
4273
|
{
|
|
4216
4274
|
"label": "Failures",
|
|
4217
|
-
"
|
|
4218
|
-
"
|
|
4275
|
+
"type": "stat-display",
|
|
4276
|
+
"value": "@entity.failureCount"
|
|
4219
4277
|
},
|
|
4220
4278
|
{
|
|
4221
|
-
"
|
|
4279
|
+
"label": "Successes",
|
|
4222
4280
|
"value": "@entity.successCount",
|
|
4223
|
-
"
|
|
4281
|
+
"type": "stat-display"
|
|
4224
4282
|
}
|
|
4225
|
-
]
|
|
4283
|
+
],
|
|
4284
|
+
"cols": 2.0
|
|
4226
4285
|
},
|
|
4227
4286
|
{
|
|
4287
|
+
"type": "meter",
|
|
4228
4288
|
"value": "@entity.failureCount",
|
|
4229
4289
|
"min": 0.0,
|
|
4230
|
-
"max": "@entity.threshold"
|
|
4231
|
-
"type": "meter"
|
|
4290
|
+
"max": "@entity.threshold"
|
|
4232
4291
|
}
|
|
4233
4292
|
],
|
|
4234
|
-
"
|
|
4293
|
+
"type": "stack",
|
|
4235
4294
|
"direction": "vertical"
|
|
4236
4295
|
}
|
|
4237
4296
|
],
|
|
4238
|
-
"appName": "IoT Dashboard"
|
|
4239
|
-
"navItems": [
|
|
4240
|
-
{
|
|
4241
|
-
"href": "/sensors",
|
|
4242
|
-
"icon": "layout-list",
|
|
4243
|
-
"label": "Sensors"
|
|
4244
|
-
},
|
|
4245
|
-
{
|
|
4246
|
-
"icon": "cpu",
|
|
4247
|
-
"label": "Devices",
|
|
4248
|
-
"href": "/devices"
|
|
4249
|
-
},
|
|
4250
|
-
{
|
|
4251
|
-
"icon": "bell",
|
|
4252
|
-
"label": "Alerts",
|
|
4253
|
-
"href": "/alerts"
|
|
4254
|
-
}
|
|
4255
|
-
]
|
|
4297
|
+
"appName": "IoT Dashboard"
|
|
4256
4298
|
}
|
|
4257
4299
|
]
|
|
4258
4300
|
]
|