@almadar/std 3.2.1 → 3.2.3

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 (295) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +44 -44
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  6. package/behaviors/exports/atoms/std-collision.orb +278 -206
  7. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  8. package/behaviors/exports/atoms/std-combat.orb +6 -1
  9. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  10. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  11. package/behaviors/exports/atoms/std-display.orb +1186 -376
  12. package/behaviors/exports/atoms/std-drawer.orb +307 -101
  13. package/behaviors/exports/atoms/std-filter.orb +211 -18
  14. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  15. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  16. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  19. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  20. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  21. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  22. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  23. package/behaviors/exports/atoms/std-input.orb +142 -137
  24. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  25. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  26. package/behaviors/exports/atoms/std-loading.orb +149 -170
  27. package/behaviors/exports/atoms/std-modal.orb +159 -94
  28. package/behaviors/exports/atoms/std-movement.orb +401 -31
  29. package/behaviors/exports/atoms/std-notification.orb +117 -95
  30. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  31. package/behaviors/exports/atoms/std-pagination.orb +44 -115
  32. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  33. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  34. package/behaviors/exports/atoms/std-quest.orb +309 -34
  35. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  36. package/behaviors/exports/atoms/std-rating.orb +328 -0
  37. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  38. package/behaviors/exports/atoms/std-score.orb +252 -11
  39. package/behaviors/exports/atoms/std-search.orb +62 -47
  40. package/behaviors/exports/atoms/std-selection.orb +180 -149
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  42. package/behaviors/exports/atoms/std-sort.orb +192 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  44. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  45. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  46. package/behaviors/exports/atoms/std-theme.orb +573 -0
  47. package/behaviors/exports/atoms/std-timer.orb +483 -91
  48. package/behaviors/exports/atoms/std-undo.orb +211 -81
  49. package/behaviors/exports/atoms/std-upload.orb +535 -0
  50. package/behaviors/exports/atoms/std-wizard.orb +677 -240
  51. package/behaviors/exports/molecules/std-builder-game.orb +49 -4
  52. package/behaviors/exports/molecules/std-cart.orb +325 -102
  53. package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  54. package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  55. package/behaviors/exports/molecules/std-detail.orb +52 -48
  56. package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  57. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  58. package/behaviors/exports/molecules/std-geospatial.orb +70 -51
  59. package/behaviors/exports/molecules/std-inventory.orb +92 -53
  60. package/behaviors/exports/molecules/std-list.orb +416 -52
  61. package/behaviors/exports/molecules/std-messaging.orb +41 -49
  62. package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  63. package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  64. package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  65. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  66. package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  67. package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  68. package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  69. package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  70. package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  71. package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  72. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  73. package/behaviors/exports/organisms/std-cms.orb +1150 -277
  74. package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  75. package/behaviors/exports/organisms/std-crm.orb +2357 -821
  76. package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  77. package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  78. package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  79. package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  80. package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  81. package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  82. package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  83. package/behaviors/exports/organisms/std-lms.orb +2548 -1192
  84. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  85. package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  86. package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  87. package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  88. package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  89. package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  90. package/behaviors/exports/organisms/std-social-feed.orb +184 -168
  91. package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  92. package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  93. package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  94. package/behaviors/exports/validation-report.json +3 -750
  95. package/behaviors/exports/verify-results.json +13 -0
  96. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  97. package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
  98. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  99. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  100. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  101. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  102. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  105. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  106. package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
  107. package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
  108. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  109. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  110. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  111. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  112. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  113. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  114. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  117. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  118. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  119. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  120. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  121. package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
  122. package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
  123. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  124. package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
  125. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  126. package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
  127. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  128. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  129. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  130. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  131. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  132. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  133. package/dist/behaviors/exports/atoms/std-score.orb +252 -11
  134. package/dist/behaviors/exports/atoms/std-search.orb +62 -47
  135. package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
  136. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  137. package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
  138. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  139. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  140. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  141. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  142. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  143. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
  146. package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
  147. package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
  148. package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  149. package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  150. package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
  151. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  152. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  153. package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
  154. package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
  155. package/dist/behaviors/exports/molecules/std-list.orb +416 -52
  156. package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
  157. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  158. package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  159. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  160. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  161. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  162. package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  163. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  164. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  165. package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  166. package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  167. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  168. package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
  169. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  170. package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
  171. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  172. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  173. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  174. package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  175. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  176. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  177. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  178. package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
  179. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  180. package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  181. package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  182. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  183. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  184. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  185. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
  186. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  187. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  188. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  189. package/dist/behaviors/exports/validation-report.json +3 -750
  190. package/dist/behaviors/exports/verify-results.json +13 -0
  191. package/dist/behaviors/functions/index.d.ts +270 -1
  192. package/dist/behaviors/functions/index.js +3811 -1333
  193. package/dist/behaviors/functions/index.js.map +1 -1
  194. package/dist/behaviors/index.d.ts +1 -1
  195. package/dist/behaviors/index.js +3811 -1333
  196. package/dist/behaviors/index.js.map +1 -1
  197. package/dist/exports/atoms/std-async.orb +41 -24
  198. package/dist/exports/atoms/std-browse.orb +44 -44
  199. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  200. package/dist/exports/atoms/std-calendar.orb +770 -0
  201. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  202. package/dist/exports/atoms/std-collision.orb +278 -206
  203. package/dist/exports/atoms/std-combat-log.orb +6 -1
  204. package/dist/exports/atoms/std-combat.orb +6 -1
  205. package/dist/exports/atoms/std-confirmation.orb +212 -7
  206. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  207. package/dist/exports/atoms/std-display.orb +1186 -376
  208. package/dist/exports/atoms/std-drawer.orb +307 -101
  209. package/dist/exports/atoms/std-filter.orb +211 -18
  210. package/dist/exports/atoms/std-flip-card.orb +596 -0
  211. package/dist/exports/atoms/std-gallery.orb +382 -0
  212. package/dist/exports/atoms/std-game-audio.orb +6 -1
  213. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  214. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  215. package/dist/exports/atoms/std-game-hud.orb +6 -1
  216. package/dist/exports/atoms/std-game-menu.orb +6 -1
  217. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  218. package/dist/exports/atoms/std-gameflow.orb +100 -5
  219. package/dist/exports/atoms/std-input.orb +142 -137
  220. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  221. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  222. package/dist/exports/atoms/std-loading.orb +149 -170
  223. package/dist/exports/atoms/std-modal.orb +159 -94
  224. package/dist/exports/atoms/std-movement.orb +401 -31
  225. package/dist/exports/atoms/std-notification.orb +117 -95
  226. package/dist/exports/atoms/std-overworld.orb +44 -16
  227. package/dist/exports/atoms/std-pagination.orb +44 -115
  228. package/dist/exports/atoms/std-physics2d.orb +6 -1
  229. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  230. package/dist/exports/atoms/std-quest.orb +309 -34
  231. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  232. package/dist/exports/atoms/std-rating.orb +328 -0
  233. package/dist/exports/atoms/std-score-board.orb +6 -1
  234. package/dist/exports/atoms/std-score.orb +252 -11
  235. package/dist/exports/atoms/std-search.orb +62 -47
  236. package/dist/exports/atoms/std-selection.orb +180 -149
  237. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  238. package/dist/exports/atoms/std-sort.orb +192 -60
  239. package/dist/exports/atoms/std-sprite.orb +6 -1
  240. package/dist/exports/atoms/std-tabs.orb +25 -15
  241. package/dist/exports/atoms/std-text-effects.orb +658 -0
  242. package/dist/exports/atoms/std-theme.orb +573 -0
  243. package/dist/exports/atoms/std-timer.orb +483 -91
  244. package/dist/exports/atoms/std-undo.orb +211 -81
  245. package/dist/exports/atoms/std-upload.orb +535 -0
  246. package/dist/exports/atoms/std-wizard.orb +677 -240
  247. package/dist/exports/molecules/std-builder-game.orb +49 -4
  248. package/dist/exports/molecules/std-cart.orb +325 -102
  249. package/dist/exports/molecules/std-classifier-game.orb +49 -4
  250. package/dist/exports/molecules/std-debugger-game.orb +49 -4
  251. package/dist/exports/molecules/std-detail.orb +52 -48
  252. package/dist/exports/molecules/std-event-handler-game.orb +49 -4
  253. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  254. package/dist/exports/molecules/std-geospatial.orb +70 -51
  255. package/dist/exports/molecules/std-inventory.orb +92 -53
  256. package/dist/exports/molecules/std-list.orb +416 -52
  257. package/dist/exports/molecules/std-messaging.orb +41 -49
  258. package/dist/exports/molecules/std-negotiator-game.orb +49 -4
  259. package/dist/exports/molecules/std-platformer-game.orb +58 -3
  260. package/dist/exports/molecules/std-puzzle-game.orb +58 -7
  261. package/dist/exports/molecules/std-quiz.orb +1045 -0
  262. package/dist/exports/molecules/std-sequencer-game.orb +49 -4
  263. package/dist/exports/molecules/std-simulator-game.orb +49 -4
  264. package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
  265. package/dist/exports/organisms/std-api-gateway.orb +2615 -867
  266. package/dist/exports/organisms/std-arcade-game.orb +399 -197
  267. package/dist/exports/organisms/std-booking-system.orb +3154 -1305
  268. package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
  269. package/dist/exports/organisms/std-cms.orb +1150 -277
  270. package/dist/exports/organisms/std-coding-academy.orb +1222 -533
  271. package/dist/exports/organisms/std-crm.orb +2357 -821
  272. package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
  273. package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
  274. package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
  275. package/dist/exports/organisms/std-healthcare.orb +3593 -1478
  276. package/dist/exports/organisms/std-helpdesk.orb +1870 -738
  277. package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
  278. package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
  279. package/dist/exports/organisms/std-lms.orb +2548 -1192
  280. package/dist/exports/organisms/std-logic-training.orb +220 -66
  281. package/dist/exports/organisms/std-platformer-app.orb +373 -194
  282. package/dist/exports/organisms/std-project-manager.orb +2347 -806
  283. package/dist/exports/organisms/std-puzzle-app.orb +240 -95
  284. package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
  285. package/dist/exports/organisms/std-rpg-game.orb +1303 -740
  286. package/dist/exports/organisms/std-social-feed.orb +184 -168
  287. package/dist/exports/organisms/std-stem-lab.orb +1223 -512
  288. package/dist/exports/organisms/std-strategy-game.orb +1412 -731
  289. package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
  290. package/dist/exports/validation-report.json +3 -750
  291. package/dist/exports/verify-results.json +13 -0
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.js +3808 -1330
  294. package/dist/index.js.map +1 -1
  295. package/package.json +1 -1
@@ -22,11 +22,26 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
29
34
  "type": "string"
35
+ },
36
+ {
37
+ "name": "hitCount",
38
+ "type": "number",
39
+ "default": 0
40
+ },
41
+ {
42
+ "name": "cacheAge",
43
+ "type": "number",
44
+ "default": 0
30
45
  }
31
46
  ]
32
47
  },
@@ -105,25 +120,39 @@
105
120
  "type": "stack",
106
121
  "direction": "horizontal",
107
122
  "gap": "md",
123
+ "justify": "space-between",
108
124
  "children": [
109
125
  {
110
- "type": "icon",
111
- "name": "database",
112
- "size": "lg"
126
+ "type": "stack",
127
+ "direction": "horizontal",
128
+ "gap": "md",
129
+ "children": [
130
+ {
131
+ "type": "icon",
132
+ "name": "database",
133
+ "size": "lg"
134
+ },
135
+ {
136
+ "type": "typography",
137
+ "content": "CacheEntrys Cache",
138
+ "variant": "h2"
139
+ }
140
+ ]
113
141
  },
114
142
  {
115
- "type": "typography",
116
- "content": "CacheEntrys Cache",
117
- "variant": "h2"
143
+ "type": "button",
144
+ "label": "Fetch",
145
+ "event": "FETCH",
146
+ "variant": "primary",
147
+ "icon": "download"
118
148
  }
119
149
  ]
120
150
  },
121
151
  {
122
- "type": "button",
123
- "label": "Fetch",
124
- "event": "FETCH",
125
- "variant": "primary",
126
- "icon": "download"
152
+ "type": "status-dot",
153
+ "status": "inactive",
154
+ "pulse": false,
155
+ "label": "Empty"
127
156
  }
128
157
  ]
129
158
  },
@@ -185,9 +214,12 @@
185
214
  "type": "stack",
186
215
  "direction": "horizontal",
187
216
  "gap": "sm",
217
+ "align": "center",
188
218
  "children": [
189
219
  {
190
- "type": "badge",
220
+ "type": "status-dot",
221
+ "status": "success",
222
+ "pulse": false,
191
223
  "label": "Cached"
192
224
  },
193
225
  {
@@ -204,13 +236,45 @@
204
236
  {
205
237
  "type": "divider"
206
238
  },
239
+ {
240
+ "type": "simple-grid",
241
+ "columns": 2,
242
+ "children": [
243
+ {
244
+ "type": "stat-display",
245
+ "label": "Hit Count",
246
+ "value": [
247
+ "object/get",
248
+ [
249
+ "array/first",
250
+ "@entity"
251
+ ],
252
+ "hitCount"
253
+ ]
254
+ },
255
+ {
256
+ "type": "stat-display",
257
+ "label": "Cache Age",
258
+ "value": [
259
+ "object/get",
260
+ [
261
+ "array/first",
262
+ "@entity"
263
+ ],
264
+ "cacheAge"
265
+ ]
266
+ }
267
+ ]
268
+ },
207
269
  {
208
270
  "type": "data-grid",
209
271
  "entity": "CacheEntry",
210
272
  "emptyIcon": "inbox",
211
273
  "emptyTitle": "Cache is empty",
212
274
  "emptyDescription": "Fetch data to populate the cache.",
213
- "children": [
275
+ "renderItem": [
276
+ "fn",
277
+ "item",
214
278
  {
215
279
  "type": "stack",
216
280
  "direction": "vertical",
@@ -236,20 +300,20 @@
236
300
  {
237
301
  "type": "typography",
238
302
  "variant": "h4",
239
- "content": "@entity.name"
303
+ "content": "@item.name"
240
304
  }
241
305
  ]
242
306
  },
243
307
  {
244
308
  "type": "badge",
245
- "label": "@entity.description"
309
+ "label": "@item.description"
246
310
  }
247
311
  ]
248
312
  },
249
313
  {
250
314
  "type": "typography",
251
315
  "variant": "caption",
252
- "content": "@entity.status"
316
+ "content": "@item.status"
253
317
  }
254
318
  ]
255
319
  }
@@ -304,9 +368,12 @@
304
368
  "type": "stack",
305
369
  "direction": "horizontal",
306
370
  "gap": "sm",
371
+ "align": "center",
307
372
  "children": [
308
373
  {
309
- "type": "badge",
374
+ "type": "status-dot",
375
+ "status": "success",
376
+ "pulse": false,
310
377
  "label": "Cached"
311
378
  },
312
379
  {
@@ -323,13 +390,45 @@
323
390
  {
324
391
  "type": "divider"
325
392
  },
393
+ {
394
+ "type": "simple-grid",
395
+ "columns": 2,
396
+ "children": [
397
+ {
398
+ "type": "stat-display",
399
+ "label": "Hit Count",
400
+ "value": [
401
+ "object/get",
402
+ [
403
+ "array/first",
404
+ "@entity"
405
+ ],
406
+ "hitCount"
407
+ ]
408
+ },
409
+ {
410
+ "type": "stat-display",
411
+ "label": "Cache Age",
412
+ "value": [
413
+ "object/get",
414
+ [
415
+ "array/first",
416
+ "@entity"
417
+ ],
418
+ "cacheAge"
419
+ ]
420
+ }
421
+ ]
422
+ },
326
423
  {
327
424
  "type": "data-grid",
328
425
  "entity": "CacheEntry",
329
426
  "emptyIcon": "inbox",
330
427
  "emptyTitle": "Cache is empty",
331
428
  "emptyDescription": "Fetch data to populate the cache.",
332
- "children": [
429
+ "renderItem": [
430
+ "fn",
431
+ "item",
333
432
  {
334
433
  "type": "stack",
335
434
  "direction": "vertical",
@@ -355,20 +454,20 @@
355
454
  {
356
455
  "type": "typography",
357
456
  "variant": "h4",
358
- "content": "@entity.name"
457
+ "content": "@item.name"
359
458
  }
360
459
  ]
361
460
  },
362
461
  {
363
462
  "type": "badge",
364
- "label": "@entity.description"
463
+ "label": "@item.description"
365
464
  }
366
465
  ]
367
466
  },
368
467
  {
369
468
  "type": "typography",
370
469
  "variant": "caption",
371
- "content": "@entity.status"
470
+ "content": "@item.status"
372
471
  }
373
472
  ]
374
473
  }
@@ -429,9 +528,12 @@
429
528
  "type": "stack",
430
529
  "direction": "horizontal",
431
530
  "gap": "sm",
531
+ "align": "center",
432
532
  "children": [
433
533
  {
434
- "type": "badge",
534
+ "type": "status-dot",
535
+ "status": "success",
536
+ "pulse": false,
435
537
  "label": "Cached"
436
538
  },
437
539
  {
@@ -448,13 +550,45 @@
448
550
  {
449
551
  "type": "divider"
450
552
  },
553
+ {
554
+ "type": "simple-grid",
555
+ "columns": 2,
556
+ "children": [
557
+ {
558
+ "type": "stat-display",
559
+ "label": "Hit Count",
560
+ "value": [
561
+ "object/get",
562
+ [
563
+ "array/first",
564
+ "@entity"
565
+ ],
566
+ "hitCount"
567
+ ]
568
+ },
569
+ {
570
+ "type": "stat-display",
571
+ "label": "Cache Age",
572
+ "value": [
573
+ "object/get",
574
+ [
575
+ "array/first",
576
+ "@entity"
577
+ ],
578
+ "cacheAge"
579
+ ]
580
+ }
581
+ ]
582
+ },
451
583
  {
452
584
  "type": "data-grid",
453
585
  "entity": "CacheEntry",
454
586
  "emptyIcon": "inbox",
455
587
  "emptyTitle": "Cache is empty",
456
588
  "emptyDescription": "Fetch data to populate the cache.",
457
- "children": [
589
+ "renderItem": [
590
+ "fn",
591
+ "item",
458
592
  {
459
593
  "type": "stack",
460
594
  "direction": "vertical",
@@ -480,20 +614,20 @@
480
614
  {
481
615
  "type": "typography",
482
616
  "variant": "h4",
483
- "content": "@entity.name"
617
+ "content": "@item.name"
484
618
  }
485
619
  ]
486
620
  },
487
621
  {
488
622
  "type": "badge",
489
- "label": "@entity.description"
623
+ "label": "@item.description"
490
624
  }
491
625
  ]
492
626
  },
493
627
  {
494
628
  "type": "typography",
495
629
  "variant": "caption",
496
- "content": "@entity.status"
630
+ "content": "@item.status"
497
631
  }
498
632
  ]
499
633
  }
@@ -548,9 +682,12 @@
548
682
  "type": "stack",
549
683
  "direction": "horizontal",
550
684
  "gap": "sm",
685
+ "align": "center",
551
686
  "children": [
552
687
  {
553
- "type": "badge",
688
+ "type": "status-dot",
689
+ "status": "warning",
690
+ "pulse": true,
554
691
  "label": "Stale"
555
692
  },
556
693
  {
@@ -567,13 +704,20 @@
567
704
  {
568
705
  "type": "divider"
569
706
  },
707
+ {
708
+ "type": "alert",
709
+ "variant": "warning",
710
+ "message": "Cache data is stale. Refresh to get the latest data."
711
+ },
570
712
  {
571
713
  "type": "data-grid",
572
714
  "entity": "CacheEntry",
573
715
  "emptyIcon": "inbox",
574
716
  "emptyTitle": "Cache is empty",
575
717
  "emptyDescription": "Fetch data to populate the cache.",
576
- "children": [
718
+ "renderItem": [
719
+ "fn",
720
+ "item",
577
721
  {
578
722
  "type": "stack",
579
723
  "direction": "vertical",
@@ -599,20 +743,20 @@
599
743
  {
600
744
  "type": "typography",
601
745
  "variant": "h4",
602
- "content": "@entity.name"
746
+ "content": "@item.name"
603
747
  }
604
748
  ]
605
749
  },
606
750
  {
607
751
  "type": "badge",
608
- "label": "@entity.description"
752
+ "label": "@item.description"
609
753
  }
610
754
  ]
611
755
  },
612
756
  {
613
757
  "type": "typography",
614
758
  "variant": "caption",
615
- "content": "@entity.status"
759
+ "content": "@item.status"
616
760
  }
617
761
  ]
618
762
  }
@@ -667,9 +811,12 @@
667
811
  "type": "stack",
668
812
  "direction": "horizontal",
669
813
  "gap": "sm",
814
+ "align": "center",
670
815
  "children": [
671
816
  {
672
- "type": "badge",
817
+ "type": "status-dot",
818
+ "status": "success",
819
+ "pulse": false,
673
820
  "label": "Cached"
674
821
  },
675
822
  {
@@ -686,13 +833,45 @@
686
833
  {
687
834
  "type": "divider"
688
835
  },
836
+ {
837
+ "type": "simple-grid",
838
+ "columns": 2,
839
+ "children": [
840
+ {
841
+ "type": "stat-display",
842
+ "label": "Hit Count",
843
+ "value": [
844
+ "object/get",
845
+ [
846
+ "array/first",
847
+ "@entity"
848
+ ],
849
+ "hitCount"
850
+ ]
851
+ },
852
+ {
853
+ "type": "stat-display",
854
+ "label": "Cache Age",
855
+ "value": [
856
+ "object/get",
857
+ [
858
+ "array/first",
859
+ "@entity"
860
+ ],
861
+ "cacheAge"
862
+ ]
863
+ }
864
+ ]
865
+ },
689
866
  {
690
867
  "type": "data-grid",
691
868
  "entity": "CacheEntry",
692
869
  "emptyIcon": "inbox",
693
870
  "emptyTitle": "Cache is empty",
694
871
  "emptyDescription": "Fetch data to populate the cache.",
695
- "children": [
872
+ "renderItem": [
873
+ "fn",
874
+ "item",
696
875
  {
697
876
  "type": "stack",
698
877
  "direction": "vertical",
@@ -718,20 +897,20 @@
718
897
  {
719
898
  "type": "typography",
720
899
  "variant": "h4",
721
- "content": "@entity.name"
900
+ "content": "@item.name"
722
901
  }
723
902
  ]
724
903
  },
725
904
  {
726
905
  "type": "badge",
727
- "label": "@entity.description"
906
+ "label": "@item.description"
728
907
  }
729
908
  ]
730
909
  },
731
910
  {
732
911
  "type": "typography",
733
912
  "variant": "caption",
734
- "content": "@entity.status"
913
+ "content": "@item.status"
735
914
  }
736
915
  ]
737
916
  }
@@ -786,9 +965,12 @@
786
965
  "type": "stack",
787
966
  "direction": "horizontal",
788
967
  "gap": "sm",
968
+ "align": "center",
789
969
  "children": [
790
970
  {
791
- "type": "badge",
971
+ "type": "status-dot",
972
+ "status": "success",
973
+ "pulse": false,
792
974
  "label": "Cached"
793
975
  },
794
976
  {
@@ -805,13 +987,45 @@
805
987
  {
806
988
  "type": "divider"
807
989
  },
990
+ {
991
+ "type": "simple-grid",
992
+ "columns": 2,
993
+ "children": [
994
+ {
995
+ "type": "stat-display",
996
+ "label": "Hit Count",
997
+ "value": [
998
+ "object/get",
999
+ [
1000
+ "array/first",
1001
+ "@entity"
1002
+ ],
1003
+ "hitCount"
1004
+ ]
1005
+ },
1006
+ {
1007
+ "type": "stat-display",
1008
+ "label": "Cache Age",
1009
+ "value": [
1010
+ "object/get",
1011
+ [
1012
+ "array/first",
1013
+ "@entity"
1014
+ ],
1015
+ "cacheAge"
1016
+ ]
1017
+ }
1018
+ ]
1019
+ },
808
1020
  {
809
1021
  "type": "data-grid",
810
1022
  "entity": "CacheEntry",
811
1023
  "emptyIcon": "inbox",
812
1024
  "emptyTitle": "Cache is empty",
813
1025
  "emptyDescription": "Fetch data to populate the cache.",
814
- "children": [
1026
+ "renderItem": [
1027
+ "fn",
1028
+ "item",
815
1029
  {
816
1030
  "type": "stack",
817
1031
  "direction": "vertical",
@@ -837,20 +1051,20 @@
837
1051
  {
838
1052
  "type": "typography",
839
1053
  "variant": "h4",
840
- "content": "@entity.name"
1054
+ "content": "@item.name"
841
1055
  }
842
1056
  ]
843
1057
  },
844
1058
  {
845
1059
  "type": "badge",
846
- "label": "@entity.description"
1060
+ "label": "@item.description"
847
1061
  }
848
1062
  ]
849
1063
  },
850
1064
  {
851
1065
  "type": "typography",
852
1066
  "variant": "caption",
853
- "content": "@entity.status"
1067
+ "content": "@item.status"
854
1068
  }
855
1069
  ]
856
1070
  }