@almadar/std 16.9.1 → 16.10.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 (252) hide show
  1. package/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  2. package/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  3. package/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  4. package/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  5. package/behaviors/registry/core/atoms/std-board.orb +289 -288
  6. package/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  7. package/behaviors/registry/core/atoms/std-browse.orb +118 -115
  8. package/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  9. package/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  10. package/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  11. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  12. package/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  13. package/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  14. package/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  15. package/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  16. package/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  17. package/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  18. package/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  19. package/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  20. package/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  21. package/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  22. package/behaviors/registry/core/atoms/std-export.orb +63 -63
  23. package/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  24. package/behaviors/registry/core/atoms/std-filter.orb +36 -36
  25. package/behaviors/registry/core/atoms/std-flag.orb +92 -92
  26. package/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  27. package/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  28. package/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  29. package/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  30. package/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  31. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  32. package/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  33. package/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  34. package/behaviors/registry/core/atoms/std-modal.orb +39 -36
  35. package/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  36. package/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  37. package/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  38. package/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  39. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  40. package/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  41. package/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  42. package/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  43. package/behaviors/registry/core/atoms/std-related.orb +34 -31
  44. package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  45. package/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  46. package/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  47. package/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  48. package/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  49. package/behaviors/registry/core/atoms/std-search.orb +11 -11
  50. package/behaviors/registry/core/atoms/std-selection.orb +103 -100
  51. package/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  52. package/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  53. package/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  54. package/behaviors/registry/core/atoms/std-stats.orb +326 -325
  55. package/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  56. package/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  57. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  58. package/behaviors/registry/core/atoms/std-thread.orb +64 -63
  59. package/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  60. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  61. package/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  62. package/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  63. package/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  64. package/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  65. package/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  66. package/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  67. package/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  68. package/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  69. package/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  70. package/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  71. package/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  72. package/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  73. package/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  74. package/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  75. package/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  76. package/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  77. package/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  78. package/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  79. package/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  80. package/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  81. package/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  82. package/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  83. package/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  84. package/dist/behaviors/behaviors-registry.json +3 -3
  85. package/dist/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
  86. package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
  87. package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
  88. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
  89. package/dist/behaviors/registry/core/atoms/std-board.orb +289 -288
  90. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
  91. package/dist/behaviors/registry/core/atoms/std-browse.orb +118 -115
  92. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
  93. package/dist/behaviors/registry/core/atoms/std-calendar.orb +119 -60
  94. package/dist/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  95. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
  96. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
  97. package/dist/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
  98. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  99. package/dist/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  100. package/dist/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
  101. package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
  102. package/dist/behaviors/registry/core/atoms/std-date-range.orb +24 -24
  103. package/dist/behaviors/registry/core/atoms/std-drawer.orb +12 -9
  104. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
  105. package/dist/behaviors/registry/core/atoms/std-event-log.orb +170 -170
  106. package/dist/behaviors/registry/core/atoms/std-export.orb +63 -63
  107. package/dist/behaviors/registry/core/atoms/std-file-store.orb +157 -157
  108. package/dist/behaviors/registry/core/atoms/std-filter.orb +36 -36
  109. package/dist/behaviors/registry/core/atoms/std-flag.orb +92 -92
  110. package/dist/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
  111. package/dist/behaviors/registry/core/atoms/std-gallery.orb +30 -29
  112. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
  113. package/dist/behaviors/registry/core/atoms/std-graphs.orb +180 -180
  114. package/dist/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
  115. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
  116. package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
  117. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
  118. package/dist/behaviors/registry/core/atoms/std-modal.orb +39 -36
  119. package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
  120. package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
  121. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
  122. package/dist/behaviors/registry/core/atoms/std-pagination.orb +11 -11
  123. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  124. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
  125. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
  126. package/dist/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
  127. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -31
  128. package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  129. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
  130. package/dist/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
  131. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
  132. package/dist/behaviors/registry/core/atoms/std-scatter.orb +85 -85
  133. package/dist/behaviors/registry/core/atoms/std-search.orb +11 -11
  134. package/dist/behaviors/registry/core/atoms/std-selection.orb +103 -100
  135. package/dist/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
  136. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
  137. package/dist/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
  138. package/dist/behaviors/registry/core/atoms/std-stats.orb +326 -325
  139. package/dist/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
  140. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -46
  141. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  142. package/dist/behaviors/registry/core/atoms/std-thread.orb +64 -63
  143. package/dist/behaviors/registry/core/atoms/std-version-history.orb +155 -155
  144. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  145. package/dist/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
  146. package/dist/behaviors/registry/core/atoms/std-wizard.orb +183 -183
  147. package/dist/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  148. package/dist/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  149. package/dist/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  150. package/dist/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  151. package/dist/behaviors/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  152. package/dist/behaviors/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  153. package/dist/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  154. package/dist/behaviors/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  155. package/dist/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  156. package/dist/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  157. package/dist/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  158. package/dist/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  159. package/dist/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  160. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  161. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  162. package/dist/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  163. package/dist/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  164. package/dist/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  165. package/dist/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  166. package/dist/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  167. package/dist/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  168. package/dist/behaviors-registry.json +3 -3
  169. package/dist/registry/core/atoms/std-app-layout.orb +81 -78
  170. package/dist/registry/core/atoms/std-approval-gate.orb +84 -83
  171. package/dist/registry/core/atoms/std-audit-capture.orb +16 -15
  172. package/dist/registry/core/atoms/std-billable-hour.orb +125 -125
  173. package/dist/registry/core/atoms/std-board.orb +289 -288
  174. package/dist/registry/core/atoms/std-branching-logic.orb +118 -118
  175. package/dist/registry/core/atoms/std-browse.orb +118 -115
  176. package/dist/registry/core/atoms/std-cache-aside.orb +120 -120
  177. package/dist/registry/core/atoms/std-calendar.orb +119 -60
  178. package/dist/registry/core/atoms/std-cascade-on-delete.orb +7 -7
  179. package/dist/registry/core/atoms/std-circuit-breaker.orb +210 -210
  180. package/dist/registry/core/atoms/std-confirmation.orb +33 -32
  181. package/dist/registry/core/atoms/std-cross-reference.orb +19 -19
  182. package/dist/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
  183. package/dist/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
  184. package/dist/registry/core/atoms/std-dashboard-summary.orb +84 -84
  185. package/dist/registry/core/atoms/std-data-erasure.orb +71 -71
  186. package/dist/registry/core/atoms/std-date-range.orb +24 -24
  187. package/dist/registry/core/atoms/std-drawer.orb +12 -9
  188. package/dist/registry/core/atoms/std-esign-request.orb +32 -32
  189. package/dist/registry/core/atoms/std-event-log.orb +170 -170
  190. package/dist/registry/core/atoms/std-export.orb +63 -63
  191. package/dist/registry/core/atoms/std-file-store.orb +157 -157
  192. package/dist/registry/core/atoms/std-filter.orb +36 -36
  193. package/dist/registry/core/atoms/std-flag.orb +92 -92
  194. package/dist/registry/core/atoms/std-form-advanced.orb +66 -66
  195. package/dist/registry/core/atoms/std-gallery.orb +30 -29
  196. package/dist/registry/core/atoms/std-geosearch.orb +27 -27
  197. package/dist/registry/core/atoms/std-graphs.orb +180 -180
  198. package/dist/registry/core/atoms/std-hero-banner.orb +22 -22
  199. package/dist/registry/core/atoms/std-image-upload-multi.orb +63 -63
  200. package/dist/registry/core/atoms/std-lifecycle.orb +28 -28
  201. package/dist/registry/core/atoms/std-mod-queue.orb +53 -53
  202. package/dist/registry/core/atoms/std-modal.orb +39 -36
  203. package/dist/registry/core/atoms/std-multi-party-flow.orb +598 -597
  204. package/dist/registry/core/atoms/std-notify-on-event.orb +37 -31
  205. package/dist/registry/core/atoms/std-page-tree.orb +132 -132
  206. package/dist/registry/core/atoms/std-pagination.orb +11 -11
  207. package/dist/registry/core/atoms/std-push.orb +43 -43
  208. package/dist/registry/core/atoms/std-rate-limiter.orb +216 -216
  209. package/dist/registry/core/atoms/std-rating-review.orb +647 -647
  210. package/dist/registry/core/atoms/std-recurrence.orb +169 -169
  211. package/dist/registry/core/atoms/std-related.orb +34 -31
  212. package/dist/registry/core/atoms/std-reminder-scheduler.orb +9 -9
  213. package/dist/registry/core/atoms/std-rich-editor.orb +113 -113
  214. package/dist/registry/core/atoms/std-row-access-control.orb +21 -20
  215. package/dist/registry/core/atoms/std-saved-search.orb +89 -89
  216. package/dist/registry/core/atoms/std-scatter.orb +85 -85
  217. package/dist/registry/core/atoms/std-search.orb +11 -11
  218. package/dist/registry/core/atoms/std-selection.orb +103 -100
  219. package/dist/registry/core/atoms/std-sidebar-meta.orb +77 -77
  220. package/dist/registry/core/atoms/std-signature-capture.orb +85 -85
  221. package/dist/registry/core/atoms/std-stack-layout.orb +17 -17
  222. package/dist/registry/core/atoms/std-stats.orb +326 -325
  223. package/dist/registry/core/atoms/std-step-flow.orb +150 -149
  224. package/dist/registry/core/atoms/std-tabs.orb +47 -46
  225. package/dist/registry/core/atoms/std-tag-taxonomy.orb +63 -63
  226. package/dist/registry/core/atoms/std-thread.orb +64 -63
  227. package/dist/registry/core/atoms/std-version-history.orb +155 -155
  228. package/dist/registry/core/atoms/std-vote.orb +39 -39
  229. package/dist/registry/core/atoms/std-wizard-form.orb +177 -177
  230. package/dist/registry/core/atoms/std-wizard.orb +183 -183
  231. package/dist/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
  232. package/dist/registry/core-variations/atoms/std-board-swim-lanes.orb +65 -65
  233. package/dist/registry/core-variations/atoms/std-board-timeline-roadmap.orb +79 -73
  234. package/dist/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
  235. package/dist/registry/core-variations/atoms/std-browse-dense.orb +52 -58
  236. package/dist/registry/core-variations/atoms/std-browse-feed.orb +48 -47
  237. package/dist/registry/core-variations/atoms/std-browse-gallery.orb +38 -38
  238. package/dist/registry/core-variations/atoms/std-browse-triage.orb +64 -84
  239. package/dist/registry/core-variations/atoms/std-calendar-agenda-list.orb +46 -46
  240. package/dist/registry/core-variations/atoms/std-calendar-week-timeline.orb +40 -40
  241. package/dist/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
  242. package/dist/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
  243. package/dist/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
  244. package/dist/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
  245. package/dist/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
  246. package/dist/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
  247. package/dist/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
  248. package/dist/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
  249. package/dist/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
  250. package/dist/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
  251. package/dist/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
  252. package/package.json +1 -1
@@ -21,24 +21,16 @@
21
21
  "items": {
22
22
  "type": "object",
23
23
  "properties": {
24
- "prefix": {
25
- "name": "prefix",
24
+ "label": {
25
+ "name": "label",
26
26
  "type": "string",
27
- "required": false
27
+ "required": true
28
28
  },
29
- "target": {
30
- "name": "target",
31
- "type": "number",
29
+ "icon": {
30
+ "name": "icon",
31
+ "type": "string",
32
32
  "required": false
33
33
  },
34
- "sparklineData": {
35
- "name": "sparklineData",
36
- "type": "array",
37
- "required": false,
38
- "items": {
39
- "type": "number"
40
- }
41
- },
42
34
  "variant": {
43
35
  "name": "variant",
44
36
  "type": "string",
@@ -52,8 +44,8 @@
52
44
  "info"
53
45
  ]
54
46
  },
55
- "max": {
56
- "name": "max",
47
+ "target": {
48
+ "name": "target",
57
49
  "type": "number",
58
50
  "required": false
59
51
  },
@@ -62,56 +54,64 @@
62
54
  "type": "number",
63
55
  "required": false
64
56
  },
65
- "format": {
66
- "name": "format",
57
+ "trendPolarity": {
58
+ "name": "trendPolarity",
67
59
  "type": "string",
68
60
  "required": false,
69
61
  "values": [
70
- "number",
71
- "currency",
62
+ "higher-is-better",
63
+ "lower-is-better"
64
+ ]
65
+ },
66
+ "trendFormat": {
67
+ "name": "trendFormat",
68
+ "type": "string",
69
+ "required": false,
70
+ "values": [
71
+ "absolute",
72
72
  "percent"
73
73
  ]
74
74
  },
75
- "label": {
76
- "name": "label",
75
+ "clickEvent": {
76
+ "name": "clickEvent",
77
77
  "type": "string",
78
- "required": true
78
+ "required": false
79
79
  },
80
- "icon": {
81
- "name": "icon",
80
+ "prefix": {
81
+ "name": "prefix",
82
82
  "type": "string",
83
83
  "required": false
84
84
  },
85
+ "sparklineData": {
86
+ "name": "sparklineData",
87
+ "type": "array",
88
+ "required": false,
89
+ "items": {
90
+ "type": "number"
91
+ }
92
+ },
85
93
  "value": {
86
94
  "name": "value",
87
95
  "type": "number",
88
96
  "required": false
89
97
  },
90
- "trendPolarity": {
91
- "name": "trendPolarity",
98
+ "format": {
99
+ "name": "format",
92
100
  "type": "string",
93
101
  "required": false,
94
102
  "values": [
95
- "higher-is-better",
96
- "lower-is-better"
103
+ "number",
104
+ "currency",
105
+ "percent"
97
106
  ]
98
107
  },
99
- "suffix": {
100
- "name": "suffix",
101
- "type": "string",
108
+ "max": {
109
+ "name": "max",
110
+ "type": "number",
102
111
  "required": false
103
112
  },
104
- "trendFormat": {
105
- "name": "trendFormat",
106
- "type": "string",
107
- "required": false,
108
- "values": [
109
- "absolute",
110
- "percent"
111
- ]
112
- },
113
- "clickEvent": {
114
- "name": "clickEvent",
113
+ "suffix": {
114
+ "name": "suffix",
115
115
  "type": "string",
116
116
  "required": false
117
117
  }
@@ -125,6 +125,7 @@
125
125
  "name": "StatsItemStats",
126
126
  "entityRebindable": true,
127
127
  "entityContract": {
128
+ "requires": [],
128
129
  "provides": [
129
130
  "cards"
130
131
  ]
@@ -174,34 +175,41 @@
174
175
  "fn",
175
176
  "metric",
176
177
  {
177
- "format": [
178
+ "target": [
178
179
  "object/get",
179
180
  "@metric",
180
- "format",
181
- "number"
181
+ "target",
182
+ 0.0
182
183
  ],
183
- "label": [
184
+ "trend": [
184
185
  "object/get",
185
186
  "@metric",
186
- "label"
187
+ "trend",
188
+ 0.0
187
189
  ],
188
- "suffix": [
190
+ "icon": [
189
191
  "object/get",
190
192
  "@metric",
191
- "suffix",
193
+ "icon",
192
194
  ""
193
195
  ],
194
- "trend": [
196
+ "sparklineData": [
195
197
  "object/get",
196
198
  "@metric",
197
- "trend",
199
+ "sparklineData",
200
+ []
201
+ ],
202
+ "value": [
203
+ "object/get",
204
+ "@metric",
205
+ "value",
198
206
  0.0
199
207
  ],
200
- "trendPolarity": [
208
+ "clickEvent": [
201
209
  "object/get",
202
210
  "@metric",
203
- "trendPolarity",
204
- "higher-is-better"
211
+ "clickEvent",
212
+ ""
205
213
  ],
206
214
  "trendFormat": [
207
215
  "object/get",
@@ -209,11 +217,11 @@
209
217
  "trendFormat",
210
218
  "absolute"
211
219
  ],
212
- "sparklineData": [
220
+ "variant": [
213
221
  "object/get",
214
222
  "@metric",
215
- "sparklineData",
216
- []
223
+ "variant",
224
+ "default"
217
225
  ],
218
226
  "max": [
219
227
  "object/get",
@@ -221,23 +229,23 @@
221
229
  "max",
222
230
  0.0
223
231
  ],
224
- "variant": [
232
+ "suffix": [
225
233
  "object/get",
226
234
  "@metric",
227
- "variant",
228
- "default"
235
+ "suffix",
236
+ ""
229
237
  ],
230
- "value": [
238
+ "trendPolarity": [
231
239
  "object/get",
232
240
  "@metric",
233
- "value",
234
- 0.0
241
+ "trendPolarity",
242
+ "higher-is-better"
235
243
  ],
236
- "target": [
244
+ "format": [
237
245
  "object/get",
238
246
  "@metric",
239
- "target",
240
- 0.0
247
+ "format",
248
+ "number"
241
249
  ],
242
250
  "prefix": [
243
251
  "object/get",
@@ -245,17 +253,10 @@
245
253
  "prefix",
246
254
  ""
247
255
  ],
248
- "clickEvent": [
249
- "object/get",
250
- "@metric",
251
- "clickEvent",
252
- ""
253
- ],
254
- "icon": [
256
+ "label": [
255
257
  "object/get",
256
258
  "@metric",
257
- "icon",
258
- ""
259
+ "label"
259
260
  ]
260
261
  }
261
262
  ]
@@ -283,7 +284,54 @@
283
284
  "fn",
284
285
  "metric",
285
286
  {
286
- "value": [
287
+ "trendPolarity": [
288
+ "object/get",
289
+ "@metric",
290
+ "trendPolarity",
291
+ "higher-is-better"
292
+ ],
293
+ "label": [
294
+ "object/get",
295
+ "@metric",
296
+ "label"
297
+ ],
298
+ "max": [
299
+ "object/get",
300
+ "@metric",
301
+ "max",
302
+ 0.0
303
+ ],
304
+ "variant": [
305
+ "object/get",
306
+ "@metric",
307
+ "variant",
308
+ "default"
309
+ ],
310
+ "icon": [
311
+ "object/get",
312
+ "@metric",
313
+ "icon",
314
+ ""
315
+ ],
316
+ "suffix": [
317
+ "object/get",
318
+ "@metric",
319
+ "suffix",
320
+ ""
321
+ ],
322
+ "target": [
323
+ "object/get",
324
+ "@metric",
325
+ "target",
326
+ 0.0
327
+ ],
328
+ "trendFormat": [
329
+ "object/get",
330
+ "@metric",
331
+ "trendFormat",
332
+ "absolute"
333
+ ],
334
+ "trend": [
287
335
  "if",
288
336
  [
289
337
  "=",
@@ -293,41 +341,12 @@
293
341
  "aggregation",
294
342
  "count"
295
343
  ],
296
- "sum"
297
- ],
298
- [
299
- "array/sum",
300
- [
301
- "array/filter",
302
- "@payload.data",
303
- [
304
- "object/get",
305
- "@metric",
306
- "filter",
307
- true
308
- ]
309
- ],
310
- [
311
- "object/get",
312
- "@metric",
313
- "field",
314
- ""
315
- ]
344
+ "variance"
316
345
  ],
317
346
  [
318
- "if",
319
- [
320
- "=",
321
- [
322
- "object/get",
323
- "@metric",
324
- "aggregation",
325
- "count"
326
- ],
327
- "avg"
328
- ],
347
+ "-",
329
348
  [
330
- "array/avg",
349
+ "array/sum",
331
350
  [
332
351
  "array/filter",
333
352
  "@payload.data",
@@ -346,26 +365,115 @@
346
365
  ]
347
366
  ],
348
367
  [
349
- "if",
368
+ "array/sum",
350
369
  [
351
- "=",
370
+ "array/filter",
371
+ "@payload.data",
352
372
  [
353
373
  "object/get",
354
374
  "@metric",
355
- "aggregation",
356
- "count"
357
- ],
358
- "min"
375
+ "baselineFilter",
376
+ true
377
+ ]
359
378
  ],
360
379
  [
361
- "array/min",
362
- [
363
- "array/filter",
364
- "@payload.data",
365
- [
366
- "object/get",
367
- "@metric",
368
- "filter",
380
+ "object/get",
381
+ "@metric",
382
+ "field",
383
+ ""
384
+ ]
385
+ ]
386
+ ],
387
+ [
388
+ "object/get",
389
+ "@metric",
390
+ "trend",
391
+ 0.0
392
+ ]
393
+ ],
394
+ "value": [
395
+ "if",
396
+ [
397
+ "=",
398
+ [
399
+ "object/get",
400
+ "@metric",
401
+ "aggregation",
402
+ "count"
403
+ ],
404
+ "sum"
405
+ ],
406
+ [
407
+ "array/sum",
408
+ [
409
+ "array/filter",
410
+ "@payload.data",
411
+ [
412
+ "object/get",
413
+ "@metric",
414
+ "filter",
415
+ true
416
+ ]
417
+ ],
418
+ [
419
+ "object/get",
420
+ "@metric",
421
+ "field",
422
+ ""
423
+ ]
424
+ ],
425
+ [
426
+ "if",
427
+ [
428
+ "=",
429
+ [
430
+ "object/get",
431
+ "@metric",
432
+ "aggregation",
433
+ "count"
434
+ ],
435
+ "avg"
436
+ ],
437
+ [
438
+ "array/avg",
439
+ [
440
+ "array/filter",
441
+ "@payload.data",
442
+ [
443
+ "object/get",
444
+ "@metric",
445
+ "filter",
446
+ true
447
+ ]
448
+ ],
449
+ [
450
+ "object/get",
451
+ "@metric",
452
+ "field",
453
+ ""
454
+ ]
455
+ ],
456
+ [
457
+ "if",
458
+ [
459
+ "=",
460
+ [
461
+ "object/get",
462
+ "@metric",
463
+ "aggregation",
464
+ "count"
465
+ ],
466
+ "min"
467
+ ],
468
+ [
469
+ "array/min",
470
+ [
471
+ "array/filter",
472
+ "@payload.data",
473
+ [
474
+ "object/get",
475
+ "@metric",
476
+ "filter",
369
477
  true
370
478
  ]
371
479
  ],
@@ -456,58 +564,17 @@
456
564
  ]
457
565
  ]
458
566
  ],
459
- "suffix": [
460
- "object/get",
461
- "@metric",
462
- "suffix",
463
- ""
464
- ],
465
- "variant": [
466
- "object/get",
467
- "@metric",
468
- "variant",
469
- "default"
470
- ],
471
- "icon": [
472
- "object/get",
473
- "@metric",
474
- "icon",
475
- ""
476
- ],
477
- "prefix": [
567
+ "clickEvent": [
478
568
  "object/get",
479
569
  "@metric",
480
- "prefix",
570
+ "clickEvent",
481
571
  ""
482
572
  ],
483
- "max": [
484
- "object/get",
485
- "@metric",
486
- "max",
487
- 0.0
488
- ],
489
- "target": [
490
- "object/get",
491
- "@metric",
492
- "target",
493
- 0.0
494
- ],
495
- "trendPolarity": [
496
- "object/get",
497
- "@metric",
498
- "trendPolarity",
499
- "higher-is-better"
500
- ],
501
- "label": [
502
- "object/get",
503
- "@metric",
504
- "label"
505
- ],
506
- "trendFormat": [
573
+ "format": [
507
574
  "object/get",
508
575
  "@metric",
509
- "trendFormat",
510
- "absolute"
576
+ "format",
577
+ "number"
511
578
  ],
512
579
  "sparklineData": [
513
580
  "object/get",
@@ -515,76 +582,10 @@
515
582
  "sparklineData",
516
583
  []
517
584
  ],
518
- "trend": [
519
- "if",
520
- [
521
- "=",
522
- [
523
- "object/get",
524
- "@metric",
525
- "aggregation",
526
- "count"
527
- ],
528
- "variance"
529
- ],
530
- [
531
- "-",
532
- [
533
- "array/sum",
534
- [
535
- "array/filter",
536
- "@payload.data",
537
- [
538
- "object/get",
539
- "@metric",
540
- "filter",
541
- true
542
- ]
543
- ],
544
- [
545
- "object/get",
546
- "@metric",
547
- "field",
548
- ""
549
- ]
550
- ],
551
- [
552
- "array/sum",
553
- [
554
- "array/filter",
555
- "@payload.data",
556
- [
557
- "object/get",
558
- "@metric",
559
- "baselineFilter",
560
- true
561
- ]
562
- ],
563
- [
564
- "object/get",
565
- "@metric",
566
- "field",
567
- ""
568
- ]
569
- ]
570
- ],
571
- [
572
- "object/get",
573
- "@metric",
574
- "trend",
575
- 0.0
576
- ]
577
- ],
578
- "format": [
579
- "object/get",
580
- "@metric",
581
- "format",
582
- "number"
583
- ],
584
- "clickEvent": [
585
+ "prefix": [
585
586
  "object/get",
586
587
  "@metric",
587
- "clickEvent",
588
+ "prefix",
588
589
  ""
589
590
  ]
590
591
  }
@@ -609,6 +610,39 @@
609
610
  "synonyms": "internal pattern selector. user prompts rarely target this directly",
610
611
  "tier": "internal"
611
612
  },
613
+ "bodyContent": {
614
+ "type": "render-ui",
615
+ "default": {
616
+ "type": "@config.viewPattern",
617
+ "entity": "@entity.cards",
618
+ "fields": [],
619
+ "renderItem": [
620
+ "fn",
621
+ "card",
622
+ {
623
+ "variant": "@card.variant",
624
+ "trendPolarity": "@card.trendPolarity",
625
+ "max": "@card.max",
626
+ "icon": "@card.icon",
627
+ "type": "stat-display",
628
+ "target": "@card.target",
629
+ "trendFormat": "@card.trendFormat",
630
+ "look": "@config.statLook",
631
+ "trend": "@card.trend",
632
+ "sparklineData": "@card.sparklineData",
633
+ "value": "@card.value",
634
+ "prefix": "@card.prefix",
635
+ "label": "@card.label",
636
+ "format": "@card.format",
637
+ "suffix": "@card.suffix",
638
+ "clickEvent": "@card.clickEvent"
639
+ }
640
+ ]
641
+ },
642
+ "label": "Body content tree",
643
+ "description": "Render-ui SExpr rendered after metrics aggregate. Default is the canonical data-grid call mapping @entity.cards through stat-display. Layer 3 variants override this with their own tree (hero numbers, sparkline rows, tile splashes) to deliver entirely different KPI UX while inheriting the same trait, state machine, aggregation pipeline, and listens.",
644
+ "tier": "internal"
645
+ },
612
646
  "statLook": {
613
647
  "type": "string",
614
648
  "default": "elevated",
@@ -627,26 +661,26 @@
627
661
  "type": "[MetricSpec]",
628
662
  "default": [
629
663
  {
630
- "variant": "primary",
631
664
  "label": "Total Items",
632
665
  "icon": "list",
666
+ "aggregation": "count",
633
667
  "format": "number",
634
- "aggregation": "count"
668
+ "variant": "primary"
635
669
  },
636
670
  {
637
- "label": "Active",
638
- "variant": "success",
639
671
  "aggregation": "count",
672
+ "format": "number",
640
673
  "icon": "check-circle",
641
- "format": "number"
674
+ "label": "Active",
675
+ "variant": "success"
642
676
  },
643
677
  {
644
- "aggregation": "avg",
645
- "format": "number",
646
678
  "label": "Avg Value",
647
- "icon": "trending-up",
679
+ "aggregation": "avg",
680
+ "variant": "info",
648
681
  "field": "value",
649
- "variant": "info"
682
+ "icon": "trending-up",
683
+ "format": "number"
650
684
  }
651
685
  ],
652
686
  "label": "Metrics",
@@ -656,8 +690,13 @@
656
690
  "items": {
657
691
  "type": "object",
658
692
  "properties": {
659
- "prefix": {
660
- "name": "prefix",
693
+ "max": {
694
+ "name": "max",
695
+ "type": "number",
696
+ "required": false
697
+ },
698
+ "suffix": {
699
+ "name": "suffix",
661
700
  "type": "string",
662
701
  "required": false
663
702
  },
@@ -679,45 +718,6 @@
679
718
  "info"
680
719
  ]
681
720
  },
682
- "suffix": {
683
- "name": "suffix",
684
- "type": "string",
685
- "required": false
686
- },
687
- "value": {
688
- "name": "value",
689
- "type": "number",
690
- "required": false
691
- },
692
- "format": {
693
- "name": "format",
694
- "type": "string",
695
- "required": false,
696
- "values": [
697
- "number",
698
- "currency",
699
- "percent"
700
- ]
701
- },
702
- "trendFormat": {
703
- "name": "trendFormat",
704
- "type": "string",
705
- "required": false,
706
- "values": [
707
- "absolute",
708
- "percent"
709
- ]
710
- },
711
- "trend": {
712
- "name": "trend",
713
- "type": "number",
714
- "required": false
715
- },
716
- "label": {
717
- "name": "label",
718
- "type": "string",
719
- "required": true
720
- },
721
721
  "field": {
722
722
  "name": "field",
723
723
  "type": "string",
@@ -736,11 +736,6 @@
736
736
  "variance"
737
737
  ]
738
738
  },
739
- "max": {
740
- "name": "max",
741
- "type": "number",
742
- "required": false
743
- },
744
739
  "sparklineData": {
745
740
  "name": "sparklineData",
746
741
  "type": "array",
@@ -749,11 +744,30 @@
749
744
  "type": "number"
750
745
  }
751
746
  },
747
+ "trendFormat": {
748
+ "name": "trendFormat",
749
+ "type": "string",
750
+ "required": false,
751
+ "values": [
752
+ "absolute",
753
+ "percent"
754
+ ]
755
+ },
752
756
  "clickEvent": {
753
757
  "name": "clickEvent",
754
758
  "type": "string",
755
759
  "required": false
756
760
  },
761
+ "format": {
762
+ "name": "format",
763
+ "type": "string",
764
+ "required": false,
765
+ "values": [
766
+ "number",
767
+ "currency",
768
+ "percent"
769
+ ]
770
+ },
757
771
  "trendPolarity": {
758
772
  "name": "trendPolarity",
759
773
  "type": "string",
@@ -763,47 +777,34 @@
763
777
  "lower-is-better"
764
778
  ]
765
779
  },
780
+ "value": {
781
+ "name": "value",
782
+ "type": "number",
783
+ "required": false
784
+ },
785
+ "trend": {
786
+ "name": "trend",
787
+ "type": "number",
788
+ "required": false
789
+ },
790
+ "prefix": {
791
+ "name": "prefix",
792
+ "type": "string",
793
+ "required": false
794
+ },
766
795
  "icon": {
767
796
  "name": "icon",
768
797
  "type": "string",
769
798
  "required": false
799
+ },
800
+ "label": {
801
+ "name": "label",
802
+ "type": "string",
803
+ "required": true
770
804
  }
771
805
  }
772
806
  }
773
807
  },
774
- "bodyContent": {
775
- "type": "render-ui",
776
- "default": {
777
- "fields": [],
778
- "entity": "@entity.cards",
779
- "renderItem": [
780
- "fn",
781
- "card",
782
- {
783
- "look": "@config.statLook",
784
- "format": "@card.format",
785
- "sparklineData": "@card.sparklineData",
786
- "prefix": "@card.prefix",
787
- "max": "@card.max",
788
- "target": "@card.target",
789
- "variant": "@card.variant",
790
- "trend": "@card.trend",
791
- "value": "@card.value",
792
- "icon": "@card.icon",
793
- "trendFormat": "@card.trendFormat",
794
- "type": "stat-display",
795
- "trendPolarity": "@card.trendPolarity",
796
- "clickEvent": "@card.clickEvent",
797
- "suffix": "@card.suffix",
798
- "label": "@card.label"
799
- }
800
- ],
801
- "type": "@config.viewPattern"
802
- },
803
- "label": "Body content tree",
804
- "description": "Render-ui SExpr rendered after metrics aggregate. Default is the canonical data-grid call mapping @entity.cards through stat-display. Layer 3 variants override this with their own tree (hero numbers, sparkline rows, tile splashes) to deliver entirely different KPI UX while inheriting the same trait, state machine, aggregation pipeline, and listens.",
805
- "tier": "internal"
806
- },
807
808
  "title": {
808
809
  "type": "string",
809
810
  "default": "Summary",