@almadar/std 14.51.0 → 14.52.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.
Files changed (43) hide show
  1. package/behaviors/registry/core/atoms/std-app-layout.orb +25 -20
  2. package/behaviors/registry/core/atoms/std-stats.orb +217 -217
  3. package/behaviors/registry/variations/chrome/std-app-layout-bottomnav.orb +1 -1
  4. package/behaviors/registry/variations/chrome/std-app-layout-minimal.orb +1 -1
  5. package/behaviors/registry/variations/chrome/std-app-layout-topnav.orb +1 -1
  6. package/behaviors/registry/variations/detail/std-detail-inline.orb +1 -1
  7. package/behaviors/registry/variations/views/std-browse-calendar.orb +1 -1
  8. package/behaviors/registry/variations/views/std-browse-feed.orb +1 -1
  9. package/behaviors/registry/variations/views/std-browse-kanban.orb +1 -1
  10. package/behaviors/registry/variations/views/std-browse-map.orb +1 -1
  11. package/behaviors/registry/variations/views/std-graphs-area.orb +1 -1
  12. package/behaviors/registry/variations/views/std-graphs-scatter.orb +1 -1
  13. package/behaviors/registry/variations/views/std-stats-bignumber.orb +1 -1
  14. package/behaviors/registry/variations/views/std-stats-sparkline.orb +1 -1
  15. package/dist/behaviors/registry/core/atoms/std-app-layout.orb +25 -20
  16. package/dist/behaviors/registry/core/atoms/std-stats.orb +217 -217
  17. package/dist/behaviors/registry/variations/chrome/std-app-layout-bottomnav.orb +1 -1
  18. package/dist/behaviors/registry/variations/chrome/std-app-layout-minimal.orb +1 -1
  19. package/dist/behaviors/registry/variations/chrome/std-app-layout-topnav.orb +1 -1
  20. package/dist/behaviors/registry/variations/detail/std-detail-inline.orb +1 -1
  21. package/dist/behaviors/registry/variations/views/std-browse-calendar.orb +1 -1
  22. package/dist/behaviors/registry/variations/views/std-browse-feed.orb +1 -1
  23. package/dist/behaviors/registry/variations/views/std-browse-kanban.orb +1 -1
  24. package/dist/behaviors/registry/variations/views/std-browse-map.orb +1 -1
  25. package/dist/behaviors/registry/variations/views/std-graphs-area.orb +1 -1
  26. package/dist/behaviors/registry/variations/views/std-graphs-scatter.orb +1 -1
  27. package/dist/behaviors/registry/variations/views/std-stats-bignumber.orb +1 -1
  28. package/dist/behaviors/registry/variations/views/std-stats-sparkline.orb +1 -1
  29. package/dist/registry/core/atoms/std-app-layout.orb +25 -20
  30. package/dist/registry/core/atoms/std-stats.orb +217 -217
  31. package/dist/registry/variations/chrome/std-app-layout-bottomnav.orb +1 -1
  32. package/dist/registry/variations/chrome/std-app-layout-minimal.orb +1 -1
  33. package/dist/registry/variations/chrome/std-app-layout-topnav.orb +1 -1
  34. package/dist/registry/variations/detail/std-detail-inline.orb +1 -1
  35. package/dist/registry/variations/views/std-browse-calendar.orb +1 -1
  36. package/dist/registry/variations/views/std-browse-feed.orb +1 -1
  37. package/dist/registry/variations/views/std-browse-kanban.orb +1 -1
  38. package/dist/registry/variations/views/std-browse-map.orb +1 -1
  39. package/dist/registry/variations/views/std-graphs-area.orb +1 -1
  40. package/dist/registry/variations/views/std-graphs-scatter.orb +1 -1
  41. package/dist/registry/variations/views/std-stats-bignumber.orb +1 -1
  42. package/dist/registry/variations/views/std-stats-sparkline.orb +1 -1
  43. package/package.json +1 -1
@@ -21,26 +21,6 @@
21
21
  "items": {
22
22
  "type": "object",
23
23
  "properties": {
24
- "clickEvent": {
25
- "name": "clickEvent",
26
- "type": "string"
27
- },
28
- "trendPolarity": {
29
- "name": "trendPolarity",
30
- "type": "string",
31
- "values": [
32
- "higher-is-better",
33
- "lower-is-better"
34
- ]
35
- },
36
- "prefix": {
37
- "name": "prefix",
38
- "type": "string"
39
- },
40
- "value": {
41
- "name": "value",
42
- "type": "number"
43
- },
44
24
  "format": {
45
25
  "name": "format",
46
26
  "type": "string",
@@ -50,18 +30,18 @@
50
30
  "percent"
51
31
  ]
52
32
  },
53
- "variant": {
54
- "name": "variant",
33
+ "trendPolarity": {
34
+ "name": "trendPolarity",
55
35
  "type": "string",
56
36
  "values": [
57
- "default",
58
- "primary",
59
- "success",
60
- "warning",
61
- "error",
62
- "info"
37
+ "higher-is-better",
38
+ "lower-is-better"
63
39
  ]
64
40
  },
41
+ "icon": {
42
+ "name": "icon",
43
+ "type": "string"
44
+ },
65
45
  "label": {
66
46
  "name": "label",
67
47
  "type": "string"
@@ -78,6 +58,22 @@
78
58
  "name": "trend",
79
59
  "type": "number"
80
60
  },
61
+ "prefix": {
62
+ "name": "prefix",
63
+ "type": "string"
64
+ },
65
+ "suffix": {
66
+ "name": "suffix",
67
+ "type": "string"
68
+ },
69
+ "trendFormat": {
70
+ "name": "trendFormat",
71
+ "type": "string",
72
+ "values": [
73
+ "absolute",
74
+ "percent"
75
+ ]
76
+ },
81
77
  "sparklineData": {
82
78
  "name": "sparklineData",
83
79
  "type": "array",
@@ -85,21 +81,25 @@
85
81
  "type": "number"
86
82
  }
87
83
  },
88
- "trendFormat": {
89
- "name": "trendFormat",
84
+ "variant": {
85
+ "name": "variant",
90
86
  "type": "string",
91
87
  "values": [
92
- "absolute",
93
- "percent"
88
+ "default",
89
+ "primary",
90
+ "success",
91
+ "warning",
92
+ "error",
93
+ "info"
94
94
  ]
95
95
  },
96
- "suffix": {
97
- "name": "suffix",
96
+ "clickEvent": {
97
+ "name": "clickEvent",
98
98
  "type": "string"
99
99
  },
100
- "icon": {
101
- "name": "icon",
102
- "type": "string"
100
+ "value": {
101
+ "name": "value",
102
+ "type": "number"
103
103
  }
104
104
  }
105
105
  }
@@ -160,40 +160,35 @@
160
160
  "icon",
161
161
  ""
162
162
  ],
163
- "variant": [
164
- "object/get",
165
- "@metric",
166
- "variant",
167
- "default"
168
- ],
169
163
  "value": [
170
164
  "object/get",
171
165
  "@metric",
172
166
  "value",
173
167
  0.0
174
168
  ],
175
- "trendFormat": [
169
+ "trendPolarity": [
176
170
  "object/get",
177
171
  "@metric",
178
- "trendFormat",
179
- "absolute"
172
+ "trendPolarity",
173
+ "higher-is-better"
180
174
  ],
181
- "sparklineData": [
175
+ "prefix": [
182
176
  "object/get",
183
177
  "@metric",
184
- "sparklineData",
185
- []
178
+ "prefix",
179
+ ""
186
180
  ],
187
- "label": [
181
+ "format": [
188
182
  "object/get",
189
183
  "@metric",
190
- "label"
184
+ "format",
185
+ "number"
191
186
  ],
192
- "max": [
187
+ "suffix": [
193
188
  "object/get",
194
189
  "@metric",
195
- "max",
196
- 0.0
190
+ "suffix",
191
+ ""
197
192
  ],
198
193
  "trend": [
199
194
  "object/get",
@@ -201,29 +196,28 @@
201
196
  "trend",
202
197
  0.0
203
198
  ],
204
- "target": [
199
+ "variant": [
205
200
  "object/get",
206
201
  "@metric",
207
- "target",
208
- 0.0
202
+ "variant",
203
+ "default"
209
204
  ],
210
- "format": [
205
+ "sparklineData": [
211
206
  "object/get",
212
207
  "@metric",
213
- "format",
214
- "number"
208
+ "sparklineData",
209
+ []
215
210
  ],
216
- "trendPolarity": [
211
+ "label": [
217
212
  "object/get",
218
213
  "@metric",
219
- "trendPolarity",
220
- "higher-is-better"
214
+ "label"
221
215
  ],
222
- "suffix": [
216
+ "trendFormat": [
223
217
  "object/get",
224
218
  "@metric",
225
- "suffix",
226
- ""
219
+ "trendFormat",
220
+ "absolute"
227
221
  ],
228
222
  "clickEvent": [
229
223
  "object/get",
@@ -231,11 +225,17 @@
231
225
  "clickEvent",
232
226
  ""
233
227
  ],
234
- "prefix": [
228
+ "target": [
235
229
  "object/get",
236
230
  "@metric",
237
- "prefix",
238
- ""
231
+ "target",
232
+ 0.0
233
+ ],
234
+ "max": [
235
+ "object/get",
236
+ "@metric",
237
+ "max",
238
+ 0.0
239
239
  ]
240
240
  }
241
241
  ]
@@ -245,26 +245,26 @@
245
245
  "render-ui",
246
246
  "main",
247
247
  {
248
- "entity": "@entity.cards",
248
+ "type": "@config.viewPattern",
249
249
  "fields": [],
250
250
  "renderItem": [
251
251
  "fn",
252
252
  "card",
253
253
  {
254
- "format": "@card.format",
255
- "value": "@card.value",
256
- "icon": "@card.icon",
257
- "type": "stat-display",
258
- "label": "@card.label",
259
- "variant": "@card.variant",
260
- "max": "@card.max",
261
254
  "trendPolarity": "@card.trendPolarity",
262
255
  "sparklineData": "@card.sparklineData",
263
256
  "clickEvent": "@card.clickEvent",
264
- "trendFormat": "@card.trendFormat"
257
+ "icon": "@card.icon",
258
+ "label": "@card.label",
259
+ "value": "@card.value",
260
+ "max": "@card.max",
261
+ "trendFormat": "@card.trendFormat",
262
+ "format": "@card.format",
263
+ "variant": "@card.variant",
264
+ "type": "stat-display"
265
265
  }
266
266
  ],
267
- "type": "@config.viewPattern"
267
+ "entity": "@entity.cards"
268
268
  }
269
269
  ]
270
270
  ]
@@ -284,114 +284,6 @@
284
284
  "fn",
285
285
  "metric",
286
286
  {
287
- "icon": [
288
- "object/get",
289
- "@metric",
290
- "icon",
291
- ""
292
- ],
293
- "variant": [
294
- "object/get",
295
- "@metric",
296
- "variant",
297
- "default"
298
- ],
299
- "format": [
300
- "object/get",
301
- "@metric",
302
- "format",
303
- "number"
304
- ],
305
- "trendPolarity": [
306
- "object/get",
307
- "@metric",
308
- "trendPolarity",
309
- "higher-is-better"
310
- ],
311
- "sparklineData": [
312
- "object/get",
313
- "@metric",
314
- "sparklineData",
315
- []
316
- ],
317
- "trend": [
318
- "if",
319
- [
320
- "=",
321
- [
322
- "object/get",
323
- "@metric",
324
- "aggregation",
325
- "count"
326
- ],
327
- "variance"
328
- ],
329
- [
330
- "-",
331
- [
332
- "array/sum",
333
- [
334
- "array/filter",
335
- "@payload.data",
336
- [
337
- "object/get",
338
- "@metric",
339
- "filter",
340
- true
341
- ]
342
- ],
343
- [
344
- "object/get",
345
- "@metric",
346
- "field",
347
- ""
348
- ]
349
- ],
350
- [
351
- "array/sum",
352
- [
353
- "array/filter",
354
- "@payload.data",
355
- [
356
- "object/get",
357
- "@metric",
358
- "baselineFilter",
359
- true
360
- ]
361
- ],
362
- [
363
- "object/get",
364
- "@metric",
365
- "field",
366
- ""
367
- ]
368
- ]
369
- ],
370
- [
371
- "object/get",
372
- "@metric",
373
- "trend",
374
- 0.0
375
- ]
376
- ],
377
- "trendFormat": [
378
- "object/get",
379
- "@metric",
380
- "trendFormat",
381
- "absolute"
382
- ],
383
- "target": [
384
- "object/get",
385
- "@metric",
386
- "target",
387
- 0.0
388
- ],
389
- "max": [
390
- "object/get",
391
- "@metric",
392
- "max",
393
- 0.0
394
- ],
395
287
  "value": [
396
288
  "if",
397
289
  [
@@ -565,16 +457,106 @@
565
457
  ]
566
458
  ]
567
459
  ],
460
+ "trendPolarity": [
461
+ "object/get",
462
+ "@metric",
463
+ "trendPolarity",
464
+ "higher-is-better"
465
+ ],
466
+ "format": [
467
+ "object/get",
468
+ "@metric",
469
+ "format",
470
+ "number"
471
+ ],
472
+ "icon": [
473
+ "object/get",
474
+ "@metric",
475
+ "icon",
476
+ ""
477
+ ],
568
478
  "label": [
569
479
  "object/get",
570
480
  "@metric",
571
481
  "label"
572
482
  ],
573
- "clickEvent": [
483
+ "trendFormat": [
574
484
  "object/get",
575
485
  "@metric",
576
- "clickEvent",
577
- ""
486
+ "trendFormat",
487
+ "absolute"
488
+ ],
489
+ "max": [
490
+ "object/get",
491
+ "@metric",
492
+ "max",
493
+ 0.0
494
+ ],
495
+ "sparklineData": [
496
+ "object/get",
497
+ "@metric",
498
+ "sparklineData",
499
+ []
500
+ ],
501
+ "trend": [
502
+ "if",
503
+ [
504
+ "=",
505
+ [
506
+ "object/get",
507
+ "@metric",
508
+ "aggregation",
509
+ "count"
510
+ ],
511
+ "variance"
512
+ ],
513
+ [
514
+ "-",
515
+ [
516
+ "array/sum",
517
+ [
518
+ "array/filter",
519
+ "@payload.data",
520
+ [
521
+ "object/get",
522
+ "@metric",
523
+ "filter",
524
+ true
525
+ ]
526
+ ],
527
+ [
528
+ "object/get",
529
+ "@metric",
530
+ "field",
531
+ ""
532
+ ]
533
+ ],
534
+ [
535
+ "array/sum",
536
+ [
537
+ "array/filter",
538
+ "@payload.data",
539
+ [
540
+ "object/get",
541
+ "@metric",
542
+ "baselineFilter",
543
+ true
544
+ ]
545
+ ],
546
+ [
547
+ "object/get",
548
+ "@metric",
549
+ "field",
550
+ ""
551
+ ]
552
+ ]
553
+ ],
554
+ [
555
+ "object/get",
556
+ "@metric",
557
+ "trend",
558
+ 0.0
559
+ ]
578
560
  ],
579
561
  "prefix": [
580
562
  "object/get",
@@ -582,11 +564,29 @@
582
564
  "prefix",
583
565
  ""
584
566
  ],
567
+ "variant": [
568
+ "object/get",
569
+ "@metric",
570
+ "variant",
571
+ "default"
572
+ ],
573
+ "target": [
574
+ "object/get",
575
+ "@metric",
576
+ "target",
577
+ 0.0
578
+ ],
585
579
  "suffix": [
586
580
  "object/get",
587
581
  "@metric",
588
582
  "suffix",
589
583
  ""
584
+ ],
585
+ "clickEvent": [
586
+ "object/get",
587
+ "@metric",
588
+ "clickEvent",
589
+ ""
590
590
  ]
591
591
  }
592
592
  ]
@@ -596,30 +596,30 @@
596
596
  "render-ui",
597
597
  "main",
598
598
  {
599
- "entity": "@entity.cards",
600
- "fields": [],
601
- "type": "data-list",
599
+ "type": "@config.viewPattern",
602
600
  "renderItem": [
603
601
  "fn",
604
602
  "card",
605
603
  {
606
- "trendPolarity": "@card.trendPolarity",
604
+ "icon": "@card.icon",
605
+ "clickEvent": "@card.clickEvent",
606
+ "max": "@card.max",
607
607
  "variant": "@card.variant",
608
608
  "trendFormat": "@card.trendFormat",
609
- "trend": "@card.trend",
610
- "target": "@card.target",
611
- "value": "@card.value",
612
- "format": "@card.format",
609
+ "trendPolarity": "@card.trendPolarity",
613
610
  "type": "stat-display",
614
- "icon": "@card.icon",
611
+ "value": "@card.value",
615
612
  "prefix": "@card.prefix",
616
- "sparklineData": "@card.sparklineData",
613
+ "format": "@card.format",
617
614
  "label": "@card.label",
618
- "clickEvent": "@card.clickEvent",
619
615
  "suffix": "@card.suffix",
620
- "max": "@card.max"
616
+ "target": "@card.target",
617
+ "trend": "@card.trend",
618
+ "sparklineData": "@card.sparklineData"
621
619
  }
622
- ]
620
+ ],
621
+ "entity": "@entity.cards",
622
+ "fields": []
623
623
  }
624
624
  ]
625
625
  ]
@@ -627,40 +627,40 @@
627
627
  ]
628
628
  },
629
629
  "config": {
630
+ "title": {
631
+ "type": "string",
632
+ "default": "Summary"
633
+ },
630
634
  "metrics": {
631
635
  "type": "[object]",
632
636
  "default": [
633
637
  {
634
- "aggregation": "count",
635
638
  "variant": "primary",
636
- "label": "Total Items",
639
+ "aggregation": "count",
640
+ "icon": "list",
637
641
  "format": "number",
638
- "icon": "list"
642
+ "label": "Total Items"
639
643
  },
640
644
  {
645
+ "icon": "check-circle",
646
+ "aggregation": "count",
641
647
  "format": "number",
642
648
  "label": "Active",
643
- "icon": "check-circle",
644
- "variant": "success",
645
- "aggregation": "count"
649
+ "variant": "success"
646
650
  },
647
651
  {
648
- "format": "number",
649
- "field": "value",
650
- "label": "Avg Value",
651
652
  "icon": "trending-up",
653
+ "field": "value",
652
654
  "aggregation": "avg",
653
- "variant": "info"
655
+ "format": "number",
656
+ "variant": "info",
657
+ "label": "Avg Value"
654
658
  }
655
659
  ]
656
660
  },
657
661
  "viewPattern": {
658
662
  "type": "pattern",
659
663
  "default": "data-grid"
660
- },
661
- "title": {
662
- "type": "string",
663
- "default": "Summary"
664
664
  }
665
665
  },
666
666
  "scope": "instance"
@@ -28,7 +28,7 @@
28
28
  "name": "BottomnavLayout",
29
29
  "linkedEntity": "BottomnavLayoutState",
30
30
  "config": {
31
- "layoutPattern": "bottomnav-layout"
31
+ "layoutMode": "bottomnav"
32
32
  }
33
33
  }
34
34
  ],
@@ -28,7 +28,7 @@
28
28
  "name": "MinimalLayout",
29
29
  "linkedEntity": "MinimalLayoutState",
30
30
  "config": {
31
- "layoutPattern": "minimal-layout"
31
+ "layoutMode": "minimal"
32
32
  }
33
33
  }
34
34
  ],
@@ -28,7 +28,7 @@
28
28
  "name": "TopnavLayout",
29
29
  "linkedEntity": "TopnavLayoutState",
30
30
  "config": {
31
- "layoutPattern": "topnav-layout"
31
+ "layoutMode": "topnav"
32
32
  }
33
33
  }
34
34
  ],
@@ -40,7 +40,7 @@
40
40
  "linkedEntity": "DetailInlineRecord",
41
41
  "config": {
42
42
  "detailSlot": "main",
43
- "detailPattern": "inline-form"
43
+ "detailPattern": "stack"
44
44
  }
45
45
  }
46
46
  ],
@@ -51,7 +51,7 @@
51
51
  "name": "CalendarBrowseItemBrowse",
52
52
  "linkedEntity": "CalendarBrowseItem",
53
53
  "config": {
54
- "viewPattern": "calendar"
54
+ "viewPattern": "calendar-grid"
55
55
  }
56
56
  }
57
57
  ],
@@ -51,7 +51,7 @@
51
51
  "name": "FeedBrowseItemBrowse",
52
52
  "linkedEntity": "FeedBrowseItem",
53
53
  "config": {
54
- "viewPattern": "feed"
54
+ "viewPattern": "data-list"
55
55
  }
56
56
  }
57
57
  ],