@almadar/std 3.2.1 → 3.2.2

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 (262) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +12 -5
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  5. package/behaviors/exports/atoms/std-collision.orb +278 -206
  6. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  7. package/behaviors/exports/atoms/std-combat.orb +6 -1
  8. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  9. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  10. package/behaviors/exports/atoms/std-display.orb +166 -21
  11. package/behaviors/exports/atoms/std-drawer.orb +208 -104
  12. package/behaviors/exports/atoms/std-filter.orb +211 -18
  13. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  14. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  15. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  16. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  19. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  20. package/behaviors/exports/atoms/std-input.orb +142 -137
  21. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  22. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  23. package/behaviors/exports/atoms/std-loading.orb +27 -76
  24. package/behaviors/exports/atoms/std-modal.orb +177 -93
  25. package/behaviors/exports/atoms/std-movement.orb +401 -31
  26. package/behaviors/exports/atoms/std-notification.orb +46 -95
  27. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  28. package/behaviors/exports/atoms/std-pagination.orb +26 -89
  29. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  30. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  31. package/behaviors/exports/atoms/std-quest.orb +309 -34
  32. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  33. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  34. package/behaviors/exports/atoms/std-score.orb +211 -11
  35. package/behaviors/exports/atoms/std-search.orb +28 -27
  36. package/behaviors/exports/atoms/std-selection.orb +160 -121
  37. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  38. package/behaviors/exports/atoms/std-sort.orb +134 -24
  39. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  40. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  41. package/behaviors/exports/atoms/std-timer.orb +483 -91
  42. package/behaviors/exports/atoms/std-undo.orb +211 -81
  43. package/behaviors/exports/atoms/std-wizard.orb +31 -34
  44. package/behaviors/exports/molecules/std-builder-game.orb +6 -1
  45. package/behaviors/exports/molecules/std-cart.orb +6 -1
  46. package/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  47. package/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  48. package/behaviors/exports/molecules/std-detail.orb +12 -5
  49. package/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  50. package/behaviors/exports/molecules/std-geospatial.orb +28 -9
  51. package/behaviors/exports/molecules/std-inventory.orb +28 -9
  52. package/behaviors/exports/molecules/std-list.orb +392 -5
  53. package/behaviors/exports/molecules/std-messaging.orb +12 -5
  54. package/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  55. package/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  56. package/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  57. package/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  58. package/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  59. package/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  60. package/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  61. package/behaviors/exports/organisms/std-arcade-game.orb +94 -4
  62. package/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  63. package/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  64. package/behaviors/exports/organisms/std-cms.orb +1713 -947
  65. package/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  66. package/behaviors/exports/organisms/std-crm.orb +1669 -1153
  67. package/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  68. package/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  69. package/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  70. package/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  71. package/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  72. package/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  73. package/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  74. package/behaviors/exports/organisms/std-lms.orb +658 -362
  75. package/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  76. package/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  77. package/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  78. package/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  79. package/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  80. package/behaviors/exports/organisms/std-social-feed.orb +12 -8
  81. package/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  82. package/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  83. package/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  84. package/behaviors/exports/validation-report.json +252 -252
  85. package/behaviors/exports/verify-results.json +13 -0
  86. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  87. package/dist/behaviors/exports/atoms/std-browse.orb +12 -5
  88. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  89. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  90. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  91. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  92. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  93. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  94. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  95. package/dist/behaviors/exports/atoms/std-display.orb +166 -21
  96. package/dist/behaviors/exports/atoms/std-drawer.orb +208 -104
  97. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  98. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  99. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  100. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  101. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  102. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  105. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  106. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  107. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  108. package/dist/behaviors/exports/atoms/std-loading.orb +27 -76
  109. package/dist/behaviors/exports/atoms/std-modal.orb +177 -93
  110. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  111. package/dist/behaviors/exports/atoms/std-notification.orb +46 -95
  112. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  113. package/dist/behaviors/exports/atoms/std-pagination.orb +26 -89
  114. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  117. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  118. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  119. package/dist/behaviors/exports/atoms/std-score.orb +211 -11
  120. package/dist/behaviors/exports/atoms/std-search.orb +28 -27
  121. package/dist/behaviors/exports/atoms/std-selection.orb +160 -121
  122. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  123. package/dist/behaviors/exports/atoms/std-sort.orb +134 -24
  124. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  125. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  126. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  127. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  128. package/dist/behaviors/exports/atoms/std-wizard.orb +31 -34
  129. package/dist/behaviors/exports/molecules/std-builder-game.orb +6 -1
  130. package/dist/behaviors/exports/molecules/std-cart.orb +6 -1
  131. package/dist/behaviors/exports/molecules/std-classifier-game.orb +6 -1
  132. package/dist/behaviors/exports/molecules/std-debugger-game.orb +6 -1
  133. package/dist/behaviors/exports/molecules/std-detail.orb +12 -5
  134. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +6 -1
  135. package/dist/behaviors/exports/molecules/std-geospatial.orb +28 -9
  136. package/dist/behaviors/exports/molecules/std-inventory.orb +28 -9
  137. package/dist/behaviors/exports/molecules/std-list.orb +392 -5
  138. package/dist/behaviors/exports/molecules/std-messaging.orb +12 -5
  139. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +6 -1
  140. package/dist/behaviors/exports/molecules/std-platformer-game.orb +40 -1
  141. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +26 -1
  142. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +6 -1
  143. package/dist/behaviors/exports/molecules/std-simulator-game.orb +6 -1
  144. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +40 -1
  145. package/dist/behaviors/exports/organisms/std-api-gateway.orb +1145 -403
  146. package/dist/behaviors/exports/organisms/std-arcade-game.orb +94 -4
  147. package/dist/behaviors/exports/organisms/std-booking-system.orb +2165 -1605
  148. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +581 -47
  149. package/dist/behaviors/exports/organisms/std-cms.orb +1713 -947
  150. package/dist/behaviors/exports/organisms/std-coding-academy.orb +180 -380
  151. package/dist/behaviors/exports/organisms/std-crm.orb +1669 -1153
  152. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +1430 -378
  153. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2361 -1601
  154. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +622 -438
  155. package/dist/behaviors/exports/organisms/std-healthcare.orb +1687 -1125
  156. package/dist/behaviors/exports/organisms/std-helpdesk.orb +626 -407
  157. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1309 -714
  158. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +1247 -335
  159. package/dist/behaviors/exports/organisms/std-lms.orb +658 -362
  160. package/dist/behaviors/exports/organisms/std-platformer-app.orb +56 -8
  161. package/dist/behaviors/exports/organisms/std-project-manager.orb +1697 -1183
  162. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +20 -0
  163. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +552 -28
  164. package/dist/behaviors/exports/organisms/std-rpg-game.orb +397 -56
  165. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -8
  166. package/dist/behaviors/exports/organisms/std-stem-lab.orb +175 -290
  167. package/dist/behaviors/exports/organisms/std-strategy-game.orb +252 -395
  168. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +718 -524
  169. package/dist/behaviors/exports/validation-report.json +252 -252
  170. package/dist/behaviors/exports/verify-results.json +13 -0
  171. package/dist/behaviors/functions/index.js +715 -593
  172. package/dist/behaviors/functions/index.js.map +1 -1
  173. package/dist/behaviors/index.js +715 -593
  174. package/dist/behaviors/index.js.map +1 -1
  175. package/dist/exports/atoms/std-async.orb +41 -24
  176. package/dist/exports/atoms/std-browse.orb +12 -5
  177. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  178. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  179. package/dist/exports/atoms/std-collision.orb +278 -206
  180. package/dist/exports/atoms/std-combat-log.orb +6 -1
  181. package/dist/exports/atoms/std-combat.orb +6 -1
  182. package/dist/exports/atoms/std-confirmation.orb +212 -7
  183. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  184. package/dist/exports/atoms/std-display.orb +166 -21
  185. package/dist/exports/atoms/std-drawer.orb +208 -104
  186. package/dist/exports/atoms/std-filter.orb +211 -18
  187. package/dist/exports/atoms/std-game-audio.orb +6 -1
  188. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  189. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  190. package/dist/exports/atoms/std-game-hud.orb +6 -1
  191. package/dist/exports/atoms/std-game-menu.orb +6 -1
  192. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  193. package/dist/exports/atoms/std-gameflow.orb +100 -5
  194. package/dist/exports/atoms/std-input.orb +142 -137
  195. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  196. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  197. package/dist/exports/atoms/std-loading.orb +27 -76
  198. package/dist/exports/atoms/std-modal.orb +177 -93
  199. package/dist/exports/atoms/std-movement.orb +401 -31
  200. package/dist/exports/atoms/std-notification.orb +46 -95
  201. package/dist/exports/atoms/std-overworld.orb +44 -16
  202. package/dist/exports/atoms/std-pagination.orb +26 -89
  203. package/dist/exports/atoms/std-physics2d.orb +6 -1
  204. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  205. package/dist/exports/atoms/std-quest.orb +309 -34
  206. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  207. package/dist/exports/atoms/std-score-board.orb +6 -1
  208. package/dist/exports/atoms/std-score.orb +211 -11
  209. package/dist/exports/atoms/std-search.orb +28 -27
  210. package/dist/exports/atoms/std-selection.orb +160 -121
  211. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  212. package/dist/exports/atoms/std-sort.orb +134 -24
  213. package/dist/exports/atoms/std-sprite.orb +6 -1
  214. package/dist/exports/atoms/std-tabs.orb +25 -15
  215. package/dist/exports/atoms/std-timer.orb +483 -91
  216. package/dist/exports/atoms/std-undo.orb +211 -81
  217. package/dist/exports/atoms/std-wizard.orb +31 -34
  218. package/dist/exports/molecules/std-builder-game.orb +6 -1
  219. package/dist/exports/molecules/std-cart.orb +6 -1
  220. package/dist/exports/molecules/std-classifier-game.orb +6 -1
  221. package/dist/exports/molecules/std-debugger-game.orb +6 -1
  222. package/dist/exports/molecules/std-detail.orb +12 -5
  223. package/dist/exports/molecules/std-event-handler-game.orb +6 -1
  224. package/dist/exports/molecules/std-geospatial.orb +28 -9
  225. package/dist/exports/molecules/std-inventory.orb +28 -9
  226. package/dist/exports/molecules/std-list.orb +392 -5
  227. package/dist/exports/molecules/std-messaging.orb +12 -5
  228. package/dist/exports/molecules/std-negotiator-game.orb +6 -1
  229. package/dist/exports/molecules/std-platformer-game.orb +40 -1
  230. package/dist/exports/molecules/std-puzzle-game.orb +26 -1
  231. package/dist/exports/molecules/std-sequencer-game.orb +6 -1
  232. package/dist/exports/molecules/std-simulator-game.orb +6 -1
  233. package/dist/exports/molecules/std-turn-based-battle.orb +40 -1
  234. package/dist/exports/organisms/std-api-gateway.orb +1145 -403
  235. package/dist/exports/organisms/std-arcade-game.orb +94 -4
  236. package/dist/exports/organisms/std-booking-system.orb +2165 -1605
  237. package/dist/exports/organisms/std-cicd-pipeline.orb +581 -47
  238. package/dist/exports/organisms/std-cms.orb +1713 -947
  239. package/dist/exports/organisms/std-coding-academy.orb +180 -380
  240. package/dist/exports/organisms/std-crm.orb +1669 -1153
  241. package/dist/exports/organisms/std-devops-dashboard.orb +1430 -378
  242. package/dist/exports/organisms/std-ecommerce.orb +2361 -1601
  243. package/dist/exports/organisms/std-finance-tracker.orb +622 -438
  244. package/dist/exports/organisms/std-healthcare.orb +1687 -1125
  245. package/dist/exports/organisms/std-helpdesk.orb +626 -407
  246. package/dist/exports/organisms/std-hr-portal.orb +1309 -714
  247. package/dist/exports/organisms/std-iot-dashboard.orb +1247 -335
  248. package/dist/exports/organisms/std-lms.orb +658 -362
  249. package/dist/exports/organisms/std-platformer-app.orb +56 -8
  250. package/dist/exports/organisms/std-project-manager.orb +1697 -1183
  251. package/dist/exports/organisms/std-puzzle-app.orb +20 -0
  252. package/dist/exports/organisms/std-realtime-chat.orb +552 -28
  253. package/dist/exports/organisms/std-rpg-game.orb +397 -56
  254. package/dist/exports/organisms/std-social-feed.orb +12 -8
  255. package/dist/exports/organisms/std-stem-lab.orb +175 -290
  256. package/dist/exports/organisms/std-strategy-game.orb +252 -395
  257. package/dist/exports/organisms/std-trading-dashboard.orb +718 -524
  258. package/dist/exports/validation-report.json +252 -252
  259. package/dist/exports/verify-results.json +13 -0
  260. package/dist/index.js +715 -593
  261. package/dist/index.js.map +1 -1
  262. package/package.json +1 -1
@@ -22,7 +22,12 @@
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",
@@ -116,27 +121,10 @@
116
121
  "type": "divider"
117
122
  },
118
123
  {
119
- "type": "stack",
120
- "direction": "vertical",
121
- "gap": "md",
122
- "align": "center",
123
- "children": [
124
- {
125
- "type": "icon",
126
- "name": "bell-off",
127
- "size": "lg"
128
- },
129
- {
130
- "type": "typography",
131
- "content": "No notifications",
132
- "variant": "body"
133
- },
134
- {
135
- "type": "typography",
136
- "content": "New notifications will appear here.",
137
- "variant": "caption"
138
- }
139
- ]
124
+ "type": "empty-state",
125
+ "icon": "bell-off",
126
+ "title": "No notifications",
127
+ "description": "New notifications will appear here."
140
128
  }
141
129
  ]
142
130
  }
@@ -204,32 +192,22 @@
204
192
  "type": "divider"
205
193
  },
206
194
  {
207
- "type": "stack",
208
- "direction": "horizontal",
209
- "gap": "md",
210
- "align": "center",
211
- "children": [
212
- {
213
- "type": "icon",
214
- "name": "bell",
215
- "size": "md"
216
- },
217
- {
218
- "type": "stack",
219
- "direction": "vertical",
220
- "gap": "xs",
221
- "children": [
222
- {
223
- "type": "typography",
224
- "content": "@entity.message",
225
- "variant": "body"
226
- },
227
- {
228
- "type": "badge",
229
- "label": "@entity.notificationType"
230
- }
231
- ]
232
- }
195
+ "type": "alert",
196
+ "variant": [
197
+ "object/get",
198
+ [
199
+ "array/first",
200
+ "@entity"
201
+ ],
202
+ "notificationType"
203
+ ],
204
+ "message": [
205
+ "object/get",
206
+ [
207
+ "array/first",
208
+ "@entity"
209
+ ],
210
+ "message"
233
211
  ]
234
212
  }
235
213
  ]
@@ -298,32 +276,22 @@
298
276
  "type": "divider"
299
277
  },
300
278
  {
301
- "type": "stack",
302
- "direction": "horizontal",
303
- "gap": "md",
304
- "align": "center",
305
- "children": [
306
- {
307
- "type": "icon",
308
- "name": "bell",
309
- "size": "md"
310
- },
311
- {
312
- "type": "stack",
313
- "direction": "vertical",
314
- "gap": "xs",
315
- "children": [
316
- {
317
- "type": "typography",
318
- "content": "@entity.message",
319
- "variant": "body"
320
- },
321
- {
322
- "type": "badge",
323
- "label": "@entity.notificationType"
324
- }
325
- ]
326
- }
279
+ "type": "alert",
280
+ "variant": [
281
+ "object/get",
282
+ [
283
+ "array/first",
284
+ "@entity"
285
+ ],
286
+ "notificationType"
287
+ ],
288
+ "message": [
289
+ "object/get",
290
+ [
291
+ "array/first",
292
+ "@entity"
293
+ ],
294
+ "message"
327
295
  ]
328
296
  }
329
297
  ]
@@ -371,27 +339,10 @@
371
339
  "type": "divider"
372
340
  },
373
341
  {
374
- "type": "stack",
375
- "direction": "vertical",
376
- "gap": "md",
377
- "align": "center",
378
- "children": [
379
- {
380
- "type": "icon",
381
- "name": "bell-off",
382
- "size": "lg"
383
- },
384
- {
385
- "type": "typography",
386
- "content": "No notifications",
387
- "variant": "body"
388
- },
389
- {
390
- "type": "typography",
391
- "content": "New notifications will appear here.",
392
- "variant": "caption"
393
- }
394
- ]
342
+ "type": "empty-state",
343
+ "icon": "bell-off",
344
+ "title": "No notifications",
345
+ "description": "New notifications will appear here."
395
346
  }
396
347
  ]
397
348
  }
@@ -22,7 +22,12 @@
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",
@@ -115,7 +120,9 @@
115
120
  ]
116
121
  },
117
122
  {
118
- "type": "badge",
123
+ "type": "status-dot",
124
+ "status": "active",
125
+ "pulse": false,
119
126
  "label": "Exploring"
120
127
  }
121
128
  ]
@@ -123,6 +130,12 @@
123
130
  {
124
131
  "type": "divider"
125
132
  },
133
+ {
134
+ "type": "map-view",
135
+ "markers": [],
136
+ "height": "200px",
137
+ "zoom": 10
138
+ },
126
139
  {
127
140
  "type": "data-grid",
128
141
  "entity": "WorldRegion",
@@ -135,7 +148,9 @@
135
148
  "event": "TRAVEL"
136
149
  }
137
150
  ],
138
- "children": [
151
+ "renderItem": [
152
+ "fn",
153
+ "item",
139
154
  {
140
155
  "type": "stack",
141
156
  "direction": "vertical",
@@ -161,20 +176,20 @@
161
176
  {
162
177
  "type": "typography",
163
178
  "variant": "h4",
164
- "content": "@entity.name"
179
+ "content": "@item.name"
165
180
  }
166
181
  ]
167
182
  },
168
183
  {
169
184
  "type": "badge",
170
- "label": "@entity.description"
185
+ "label": "@item.description"
171
186
  }
172
187
  ]
173
188
  },
174
189
  {
175
190
  "type": "typography",
176
191
  "variant": "caption",
177
- "content": "@entity.status"
192
+ "content": "@item.status"
178
193
  }
179
194
  ]
180
195
  }
@@ -270,7 +285,8 @@
270
285
  ]
271
286
  },
272
287
  {
273
- "type": "badge",
288
+ "type": "status-dot",
289
+ "status": "success",
274
290
  "label": "Entered"
275
291
  }
276
292
  ]
@@ -284,7 +300,9 @@
284
300
  "emptyIcon": "inbox",
285
301
  "emptyTitle": "Nothing here",
286
302
  "emptyDescription": "This zone is empty.",
287
- "children": [
303
+ "renderItem": [
304
+ "fn",
305
+ "item",
288
306
  {
289
307
  "type": "stack",
290
308
  "direction": "vertical",
@@ -310,20 +328,20 @@
310
328
  {
311
329
  "type": "typography",
312
330
  "variant": "h4",
313
- "content": "@entity.name"
331
+ "content": "@item.name"
314
332
  }
315
333
  ]
316
334
  },
317
335
  {
318
336
  "type": "badge",
319
- "label": "@entity.description"
337
+ "label": "@item.description"
320
338
  }
321
339
  ]
322
340
  },
323
341
  {
324
342
  "type": "typography",
325
343
  "variant": "caption",
326
- "content": "@entity.status"
344
+ "content": "@item.status"
327
345
  }
328
346
  ]
329
347
  }
@@ -393,7 +411,9 @@
393
411
  ]
394
412
  },
395
413
  {
396
- "type": "badge",
414
+ "type": "status-dot",
415
+ "status": "active",
416
+ "pulse": false,
397
417
  "label": "Exploring"
398
418
  }
399
419
  ]
@@ -401,6 +421,12 @@
401
421
  {
402
422
  "type": "divider"
403
423
  },
424
+ {
425
+ "type": "map-view",
426
+ "markers": [],
427
+ "height": "200px",
428
+ "zoom": 10
429
+ },
404
430
  {
405
431
  "type": "data-grid",
406
432
  "entity": "WorldRegion",
@@ -413,7 +439,9 @@
413
439
  "event": "TRAVEL"
414
440
  }
415
441
  ],
416
- "children": [
442
+ "renderItem": [
443
+ "fn",
444
+ "item",
417
445
  {
418
446
  "type": "stack",
419
447
  "direction": "vertical",
@@ -439,20 +467,20 @@
439
467
  {
440
468
  "type": "typography",
441
469
  "variant": "h4",
442
- "content": "@entity.name"
470
+ "content": "@item.name"
443
471
  }
444
472
  ]
445
473
  },
446
474
  {
447
475
  "type": "badge",
448
- "label": "@entity.description"
476
+ "label": "@item.description"
449
477
  }
450
478
  ]
451
479
  },
452
480
  {
453
481
  "type": "typography",
454
482
  "variant": "caption",
455
- "content": "@entity.status"
483
+ "content": "@item.status"
456
484
  }
457
485
  ]
458
486
  }
@@ -22,21 +22,16 @@
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"
30
- },
31
- {
32
- "name": "currentPage",
33
- "type": "number",
34
- "default": 1
35
- },
36
- {
37
- "name": "pageSize",
38
- "type": "number",
39
- "default": 10
40
35
  }
41
36
  ]
42
37
  },
@@ -129,7 +124,9 @@
129
124
  "emptyTitle": "No pageditems yet",
130
125
  "emptyDescription": "Add pageditems to see them here.",
131
126
  "className": "transition-shadow hover:shadow-md cursor-pointer",
132
- "children": [
127
+ "renderItem": [
128
+ "fn",
129
+ "item",
133
130
  {
134
131
  "type": "stack",
135
132
  "direction": "vertical",
@@ -138,50 +135,24 @@
138
135
  {
139
136
  "type": "typography",
140
137
  "variant": "h4",
141
- "content": "@entity.name"
138
+ "content": "@item.name"
142
139
  },
143
140
  {
144
141
  "type": "typography",
145
142
  "variant": "caption",
146
143
  "color": "muted",
147
- "content": "@entity.id"
144
+ "content": "@item.id"
148
145
  }
149
146
  ]
150
147
  }
151
148
  ]
152
149
  },
153
150
  {
154
- "type": "stack",
155
- "direction": "horizontal",
156
- "gap": "sm",
157
- "justify": "center",
158
- "align": "center",
159
- "children": [
160
- {
161
- "type": "button",
162
- "label": "Previous",
163
- "event": "PAGE",
164
- "variant": "ghost",
165
- "icon": "chevron-left"
166
- },
167
- {
168
- "type": "typography",
169
- "variant": "body",
170
- "color": "muted",
171
- "content": [
172
- "concat",
173
- "Page ",
174
- "@entity.currentPage"
175
- ]
176
- },
177
- {
178
- "type": "button",
179
- "label": "Next",
180
- "event": "PAGE",
181
- "variant": "ghost",
182
- "icon": "chevron-right"
183
- }
184
- ]
151
+ "type": "pagination",
152
+ "currentPage": 1,
153
+ "totalPages": 10,
154
+ "onPageChange": "PAGE",
155
+ "showPageSize": false
185
156
  }
186
157
  ]
187
158
  }
@@ -193,16 +164,6 @@
193
164
  "to": "idle",
194
165
  "event": "PAGE",
195
166
  "effects": [
196
- [
197
- "set",
198
- "@entity.currentPage",
199
- "@payload.page"
200
- ],
201
- [
202
- "set",
203
- "@entity.pageSize",
204
- "@payload.pageSize"
205
- ],
206
167
  [
207
168
  "fetch",
208
169
  "PagedItem"
@@ -252,7 +213,9 @@
252
213
  "emptyTitle": "No pageditems yet",
253
214
  "emptyDescription": "Add pageditems to see them here.",
254
215
  "className": "transition-shadow hover:shadow-md cursor-pointer",
255
- "children": [
216
+ "renderItem": [
217
+ "fn",
218
+ "item",
256
219
  {
257
220
  "type": "stack",
258
221
  "direction": "vertical",
@@ -261,50 +224,24 @@
261
224
  {
262
225
  "type": "typography",
263
226
  "variant": "h4",
264
- "content": "@entity.name"
227
+ "content": "@item.name"
265
228
  },
266
229
  {
267
230
  "type": "typography",
268
231
  "variant": "caption",
269
232
  "color": "muted",
270
- "content": "@entity.id"
233
+ "content": "@item.id"
271
234
  }
272
235
  ]
273
236
  }
274
237
  ]
275
238
  },
276
239
  {
277
- "type": "stack",
278
- "direction": "horizontal",
279
- "gap": "sm",
280
- "justify": "center",
281
- "align": "center",
282
- "children": [
283
- {
284
- "type": "button",
285
- "label": "Previous",
286
- "event": "PAGE",
287
- "variant": "ghost",
288
- "icon": "chevron-left"
289
- },
290
- {
291
- "type": "typography",
292
- "variant": "body",
293
- "color": "muted",
294
- "content": [
295
- "concat",
296
- "Page ",
297
- "@entity.currentPage"
298
- ]
299
- },
300
- {
301
- "type": "button",
302
- "label": "Next",
303
- "event": "PAGE",
304
- "variant": "ghost",
305
- "icon": "chevron-right"
306
- }
307
- ]
240
+ "type": "pagination",
241
+ "currentPage": "@payload.page",
242
+ "totalPages": 10,
243
+ "onPageChange": "PAGE",
244
+ "showPageSize": false
308
245
  }
309
246
  ]
310
247
  }
@@ -22,7 +22,12 @@
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",
@@ -22,7 +22,12 @@
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",