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