@almadar/std 7.4.7 → 7.4.8

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 (297) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
  4. package/behaviors/registry/atoms/std-agent-completion.orb +92 -92
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
  7. package/behaviors/registry/atoms/std-agent-memory.orb +72 -72
  8. package/behaviors/registry/atoms/std-agent-provider.orb +106 -106
  9. package/behaviors/registry/atoms/std-agent-search.orb +38 -38
  10. package/behaviors/registry/atoms/std-agent-session.orb +70 -70
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
  14. package/behaviors/registry/atoms/std-async.orb +224 -132
  15. package/behaviors/registry/atoms/std-autoregressive.orb +60 -60
  16. package/behaviors/registry/atoms/std-browse.orb +59 -59
  17. package/behaviors/registry/atoms/std-cache-aside.orb +322 -306
  18. package/behaviors/registry/atoms/std-calendar.orb +166 -166
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
  20. package/behaviors/registry/atoms/std-collision.orb +133 -133
  21. package/behaviors/registry/atoms/std-combat-log.orb +9 -9
  22. package/behaviors/registry/atoms/std-combat.orb +63 -63
  23. package/behaviors/registry/atoms/std-confirmation.orb +21 -21
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
  25. package/behaviors/registry/atoms/std-display.orb +366 -366
  26. package/behaviors/registry/atoms/std-drawer.orb +119 -119
  27. package/behaviors/registry/atoms/std-filter.orb +94 -94
  28. package/behaviors/registry/atoms/std-flip-card.orb +145 -145
  29. package/behaviors/registry/atoms/std-gallery.orb +51 -51
  30. package/behaviors/registry/atoms/std-game-audio.orb +88 -88
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
  33. package/behaviors/registry/atoms/std-game-hud.orb +15 -15
  34. package/behaviors/registry/atoms/std-game-menu.orb +21 -21
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
  36. package/behaviors/registry/atoms/std-gameflow.orb +44 -44
  37. package/behaviors/registry/atoms/std-input.orb +107 -107
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
  40. package/behaviors/registry/atoms/std-loading.orb +82 -82
  41. package/behaviors/registry/atoms/std-modal.orb +11 -11
  42. package/behaviors/registry/atoms/std-movement.orb +285 -285
  43. package/behaviors/registry/atoms/std-notification.orb +60 -60
  44. package/behaviors/registry/atoms/std-overworld.orb +111 -111
  45. package/behaviors/registry/atoms/std-pagination.orb +45 -45
  46. package/behaviors/registry/atoms/std-physics2d.orb +77 -77
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
  48. package/behaviors/registry/atoms/std-push.orb +44 -44
  49. package/behaviors/registry/atoms/std-quest.orb +314 -314
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
  51. package/behaviors/registry/atoms/std-rating.orb +45 -45
  52. package/behaviors/registry/atoms/std-related.orb +38 -38
  53. package/behaviors/registry/atoms/std-score-board.orb +11 -11
  54. package/behaviors/registry/atoms/std-score.orb +125 -125
  55. package/behaviors/registry/atoms/std-search.orb +77 -77
  56. package/behaviors/registry/atoms/std-selection.orb +184 -184
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
  61. package/behaviors/registry/atoms/std-service-email.orb +88 -88
  62. package/behaviors/registry/atoms/std-service-github.orb +88 -88
  63. package/behaviors/registry/atoms/std-service-llm.orb +110 -110
  64. package/behaviors/registry/atoms/std-service-oauth.orb +125 -125
  65. package/behaviors/registry/atoms/std-service-redis.orb +87 -87
  66. package/behaviors/registry/atoms/std-service-storage.orb +101 -101
  67. package/behaviors/registry/atoms/std-service-stripe.orb +99 -99
  68. package/behaviors/registry/atoms/std-service-twilio.orb +103 -103
  69. package/behaviors/registry/atoms/std-service-youtube.orb +111 -111
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
  71. package/behaviors/registry/atoms/std-sort.orb +198 -198
  72. package/behaviors/registry/atoms/std-sprite.orb +54 -54
  73. package/behaviors/registry/atoms/std-tabs.orb +47 -47
  74. package/behaviors/registry/atoms/std-text-effects.orb +125 -125
  75. package/behaviors/registry/atoms/std-theme.orb +114 -114
  76. package/behaviors/registry/atoms/std-timer.orb +298 -298
  77. package/behaviors/registry/atoms/std-undo.orb +186 -186
  78. package/behaviors/registry/atoms/std-upload.orb +88 -88
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
  80. package/behaviors/registry/atoms/std-wizard.orb +261 -261
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
  82. package/behaviors/registry/molecules/std-agent-learner.orb +180 -180
  83. package/behaviors/registry/molecules/std-agent-planner.orb +136 -136
  84. package/behaviors/registry/molecules/std-agent-rag.orb +106 -106
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
  87. package/behaviors/registry/molecules/std-builder-game.orb +20 -20
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
  89. package/behaviors/registry/molecules/std-cart.orb +47 -47
  90. package/behaviors/registry/molecules/std-classifier-game.orb +16 -16
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
  92. package/behaviors/registry/molecules/std-debugger-game.orb +13 -13
  93. package/behaviors/registry/molecules/std-detail.orb +78 -78
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
  96. package/behaviors/registry/molecules/std-filtered-list.orb +4 -4
  97. package/behaviors/registry/molecules/std-form-advanced.orb +134 -134
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
  99. package/behaviors/registry/molecules/std-geospatial.orb +81 -81
  100. package/behaviors/registry/molecules/std-inventory.orb +53 -53
  101. package/behaviors/registry/molecules/std-list.orb +57 -57
  102. package/behaviors/registry/molecules/std-messaging.orb +67 -67
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
  104. package/behaviors/registry/molecules/std-platformer-game.orb +67 -67
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
  107. package/behaviors/registry/molecules/std-quiz.orb +204 -204
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
  115. package/behaviors/registry/molecules/std-simulator-game.orb +18 -18
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
  117. package/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
  118. package/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
  119. package/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
  120. package/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
  121. package/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
  122. package/behaviors/registry/organisms/std-api-gateway.orb +808 -808
  123. package/behaviors/registry/organisms/std-arcade-game.orb +131 -131
  124. package/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
  125. package/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
  126. package/behaviors/registry/organisms/std-cms.orb +393 -393
  127. package/behaviors/registry/organisms/std-coding-academy.orb +397 -397
  128. package/behaviors/registry/organisms/std-crm.orb +751 -751
  129. package/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
  130. package/behaviors/registry/organisms/std-ecommerce.orb +858 -858
  131. package/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
  132. package/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
  133. package/behaviors/registry/organisms/std-helpdesk.orb +635 -635
  134. package/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
  135. package/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
  136. package/behaviors/registry/organisms/std-lms.orb +834 -834
  137. package/behaviors/registry/organisms/std-logic-training.orb +73 -73
  138. package/behaviors/registry/organisms/std-platformer-app.orb +209 -209
  139. package/behaviors/registry/organisms/std-project-manager.orb +661 -661
  140. package/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
  141. package/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
  142. package/behaviors/registry/organisms/std-rpg-game.orb +630 -630
  143. package/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
  144. package/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
  145. package/behaviors/registry/organisms/std-social-feed.orb +188 -188
  146. package/behaviors/registry/organisms/std-stem-lab.orb +374 -374
  147. package/behaviors/registry/organisms/std-strategy-game.orb +472 -472
  148. package/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
  149. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
  150. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
  151. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
  152. package/dist/behaviors/registry/atoms/std-agent-completion.orb +92 -92
  153. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
  154. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
  155. package/dist/behaviors/registry/atoms/std-agent-memory.orb +72 -72
  156. package/dist/behaviors/registry/atoms/std-agent-provider.orb +106 -106
  157. package/dist/behaviors/registry/atoms/std-agent-search.orb +38 -38
  158. package/dist/behaviors/registry/atoms/std-agent-session.orb +70 -70
  159. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
  160. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
  161. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
  162. package/dist/behaviors/registry/atoms/std-async.orb +224 -132
  163. package/dist/behaviors/registry/atoms/std-autoregressive.orb +60 -60
  164. package/dist/behaviors/registry/atoms/std-browse.orb +59 -59
  165. package/dist/behaviors/registry/atoms/std-cache-aside.orb +322 -306
  166. package/dist/behaviors/registry/atoms/std-calendar.orb +166 -166
  167. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
  168. package/dist/behaviors/registry/atoms/std-collision.orb +133 -133
  169. package/dist/behaviors/registry/atoms/std-combat-log.orb +9 -9
  170. package/dist/behaviors/registry/atoms/std-combat.orb +63 -63
  171. package/dist/behaviors/registry/atoms/std-confirmation.orb +21 -21
  172. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
  173. package/dist/behaviors/registry/atoms/std-display.orb +366 -366
  174. package/dist/behaviors/registry/atoms/std-drawer.orb +119 -119
  175. package/dist/behaviors/registry/atoms/std-filter.orb +94 -94
  176. package/dist/behaviors/registry/atoms/std-flip-card.orb +145 -145
  177. package/dist/behaviors/registry/atoms/std-gallery.orb +51 -51
  178. package/dist/behaviors/registry/atoms/std-game-audio.orb +88 -88
  179. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
  180. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
  181. package/dist/behaviors/registry/atoms/std-game-hud.orb +15 -15
  182. package/dist/behaviors/registry/atoms/std-game-menu.orb +21 -21
  183. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
  184. package/dist/behaviors/registry/atoms/std-gameflow.orb +44 -44
  185. package/dist/behaviors/registry/atoms/std-input.orb +107 -107
  186. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
  187. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
  188. package/dist/behaviors/registry/atoms/std-loading.orb +82 -82
  189. package/dist/behaviors/registry/atoms/std-modal.orb +11 -11
  190. package/dist/behaviors/registry/atoms/std-movement.orb +285 -285
  191. package/dist/behaviors/registry/atoms/std-notification.orb +60 -60
  192. package/dist/behaviors/registry/atoms/std-overworld.orb +111 -111
  193. package/dist/behaviors/registry/atoms/std-pagination.orb +45 -45
  194. package/dist/behaviors/registry/atoms/std-physics2d.orb +77 -77
  195. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
  196. package/dist/behaviors/registry/atoms/std-push.orb +44 -44
  197. package/dist/behaviors/registry/atoms/std-quest.orb +314 -314
  198. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
  199. package/dist/behaviors/registry/atoms/std-rating.orb +45 -45
  200. package/dist/behaviors/registry/atoms/std-related.orb +38 -38
  201. package/dist/behaviors/registry/atoms/std-score-board.orb +11 -11
  202. package/dist/behaviors/registry/atoms/std-score.orb +125 -125
  203. package/dist/behaviors/registry/atoms/std-search.orb +77 -77
  204. package/dist/behaviors/registry/atoms/std-selection.orb +184 -184
  205. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
  206. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
  207. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
  208. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
  209. package/dist/behaviors/registry/atoms/std-service-email.orb +88 -88
  210. package/dist/behaviors/registry/atoms/std-service-github.orb +88 -88
  211. package/dist/behaviors/registry/atoms/std-service-llm.orb +110 -110
  212. package/dist/behaviors/registry/atoms/std-service-oauth.orb +125 -125
  213. package/dist/behaviors/registry/atoms/std-service-redis.orb +87 -87
  214. package/dist/behaviors/registry/atoms/std-service-storage.orb +101 -101
  215. package/dist/behaviors/registry/atoms/std-service-stripe.orb +99 -99
  216. package/dist/behaviors/registry/atoms/std-service-twilio.orb +103 -103
  217. package/dist/behaviors/registry/atoms/std-service-youtube.orb +111 -111
  218. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
  219. package/dist/behaviors/registry/atoms/std-sort.orb +198 -198
  220. package/dist/behaviors/registry/atoms/std-sprite.orb +54 -54
  221. package/dist/behaviors/registry/atoms/std-tabs.orb +47 -47
  222. package/dist/behaviors/registry/atoms/std-text-effects.orb +125 -125
  223. package/dist/behaviors/registry/atoms/std-theme.orb +114 -114
  224. package/dist/behaviors/registry/atoms/std-timer.orb +298 -298
  225. package/dist/behaviors/registry/atoms/std-undo.orb +186 -186
  226. package/dist/behaviors/registry/atoms/std-upload.orb +88 -88
  227. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
  228. package/dist/behaviors/registry/atoms/std-wizard.orb +261 -261
  229. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
  230. package/dist/behaviors/registry/molecules/std-agent-learner.orb +180 -180
  231. package/dist/behaviors/registry/molecules/std-agent-planner.orb +136 -136
  232. package/dist/behaviors/registry/molecules/std-agent-rag.orb +106 -106
  233. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
  234. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
  235. package/dist/behaviors/registry/molecules/std-builder-game.orb +20 -20
  236. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
  237. package/dist/behaviors/registry/molecules/std-cart.orb +47 -47
  238. package/dist/behaviors/registry/molecules/std-classifier-game.orb +16 -16
  239. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
  240. package/dist/behaviors/registry/molecules/std-debugger-game.orb +13 -13
  241. package/dist/behaviors/registry/molecules/std-detail.orb +78 -78
  242. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
  243. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
  244. package/dist/behaviors/registry/molecules/std-filtered-list.orb +4 -4
  245. package/dist/behaviors/registry/molecules/std-form-advanced.orb +134 -134
  246. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
  247. package/dist/behaviors/registry/molecules/std-geospatial.orb +81 -81
  248. package/dist/behaviors/registry/molecules/std-inventory.orb +53 -53
  249. package/dist/behaviors/registry/molecules/std-list.orb +57 -57
  250. package/dist/behaviors/registry/molecules/std-messaging.orb +67 -67
  251. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
  252. package/dist/behaviors/registry/molecules/std-platformer-game.orb +67 -67
  253. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
  254. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
  255. package/dist/behaviors/registry/molecules/std-quiz.orb +204 -204
  256. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
  257. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
  258. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
  259. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
  260. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
  261. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
  262. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
  263. package/dist/behaviors/registry/molecules/std-simulator-game.orb +18 -18
  264. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
  265. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
  266. package/dist/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
  267. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
  268. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
  269. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
  270. package/dist/behaviors/registry/organisms/std-api-gateway.orb +808 -808
  271. package/dist/behaviors/registry/organisms/std-arcade-game.orb +131 -131
  272. package/dist/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
  273. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
  274. package/dist/behaviors/registry/organisms/std-cms.orb +393 -393
  275. package/dist/behaviors/registry/organisms/std-coding-academy.orb +397 -397
  276. package/dist/behaviors/registry/organisms/std-crm.orb +751 -751
  277. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
  278. package/dist/behaviors/registry/organisms/std-ecommerce.orb +858 -858
  279. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
  280. package/dist/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
  281. package/dist/behaviors/registry/organisms/std-helpdesk.orb +635 -635
  282. package/dist/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
  283. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
  284. package/dist/behaviors/registry/organisms/std-lms.orb +834 -834
  285. package/dist/behaviors/registry/organisms/std-logic-training.orb +73 -73
  286. package/dist/behaviors/registry/organisms/std-platformer-app.orb +209 -209
  287. package/dist/behaviors/registry/organisms/std-project-manager.orb +661 -661
  288. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
  289. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
  290. package/dist/behaviors/registry/organisms/std-rpg-game.orb +630 -630
  291. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
  292. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
  293. package/dist/behaviors/registry/organisms/std-social-feed.orb +188 -188
  294. package/dist/behaviors/registry/organisms/std-stem-lab.orb +374 -374
  295. package/dist/behaviors/registry/organisms/std-strategy-game.orb +472 -472
  296. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
  297. package/package.json +1 -1
@@ -263,79 +263,77 @@
263
263
  "render-ui",
264
264
  "main",
265
265
  {
266
+ "type": "dashboard-layout",
266
267
  "children": [
267
268
  {
268
- "gap": "lg",
269
- "direction": "vertical",
270
- "className": "max-w-5xl mx-auto w-full",
271
- "type": "stack",
272
269
  "children": [
273
270
  {
271
+ "align": "center",
274
272
  "children": [
275
273
  {
274
+ "direction": "horizontal",
275
+ "align": "center",
276
+ "type": "stack",
277
+ "gap": "sm",
276
278
  "children": [
277
279
  {
278
- "name": "users",
279
- "type": "icon"
280
+ "type": "icon",
281
+ "name": "users"
280
282
  },
281
283
  {
282
- "variant": "h2",
283
284
  "content": "Contacts",
284
- "type": "typography"
285
+ "type": "typography",
286
+ "variant": "h2"
285
287
  }
286
- ],
287
- "type": "stack",
288
- "direction": "horizontal",
289
- "gap": "sm",
290
- "align": "center"
288
+ ]
291
289
  },
292
290
  {
293
291
  "direction": "horizontal",
292
+ "gap": "sm",
293
+ "type": "stack",
294
294
  "children": [
295
295
  {
296
- "type": "button",
297
296
  "label": "Add Contact",
297
+ "type": "button",
298
298
  "variant": "primary",
299
299
  "icon": "plus",
300
300
  "action": "CREATE"
301
301
  }
302
- ],
303
- "gap": "sm",
304
- "type": "stack"
302
+ ]
305
303
  }
306
304
  ],
307
- "gap": "md",
308
- "direction": "horizontal",
309
305
  "justify": "between",
310
306
  "type": "stack",
311
- "align": "center"
307
+ "direction": "horizontal",
308
+ "gap": "md"
312
309
  },
313
310
  {
314
311
  "type": "divider"
315
312
  },
316
313
  {
317
314
  "type": "simple-grid",
315
+ "cols": 1.0,
318
316
  "children": [
319
317
  {
318
+ "icon": "users",
320
319
  "label": "Total Contacts",
321
320
  "type": "stat-display",
322
321
  "value": [
323
322
  "array/len",
324
323
  "@entity"
325
- ],
326
- "icon": "users"
324
+ ]
327
325
  }
328
- ],
329
- "cols": 1.0
326
+ ]
330
327
  },
331
328
  {
332
329
  "type": "divider"
333
330
  },
334
331
  {
332
+ "fields": [],
335
333
  "columns": [
336
334
  {
337
- "name": "name",
338
335
  "variant": "h3",
336
+ "name": "name",
339
337
  "icon": "user"
340
338
  },
341
339
  {
@@ -343,64 +341,66 @@
343
341
  "variant": "badge"
344
342
  },
345
343
  {
346
- "variant": "body",
347
- "name": "company"
344
+ "name": "company",
345
+ "variant": "body"
348
346
  },
349
347
  {
350
- "name": "email",
351
- "variant": "caption"
348
+ "variant": "caption",
349
+ "name": "email"
352
350
  },
353
351
  {
354
- "name": "phone",
355
- "variant": "caption"
352
+ "variant": "caption",
353
+ "name": "phone"
356
354
  }
357
355
  ],
358
- "variant": "card",
359
- "gap": "sm",
360
- "type": "data-list",
361
- "entity": "Contact",
362
- "fields": [],
363
356
  "itemActions": [
364
357
  {
365
- "event": "VIEW",
366
358
  "variant": "ghost",
359
+ "event": "VIEW",
367
360
  "label": "View"
368
361
  },
369
362
  {
363
+ "event": "EDIT",
370
364
  "variant": "ghost",
371
- "label": "Edit",
372
- "event": "EDIT"
365
+ "label": "Edit"
373
366
  },
374
367
  {
368
+ "variant": "danger",
375
369
  "label": "Delete",
376
- "event": "DELETE",
377
- "variant": "danger"
370
+ "event": "DELETE"
378
371
  }
379
- ]
372
+ ],
373
+ "variant": "card",
374
+ "entity": "Contact",
375
+ "gap": "sm",
376
+ "type": "data-list"
380
377
  }
381
- ]
378
+ ],
379
+ "direction": "vertical",
380
+ "gap": "lg",
381
+ "type": "stack",
382
+ "className": "max-w-5xl mx-auto w-full"
382
383
  }
383
384
  ],
384
- "type": "dashboard-layout",
385
385
  "navItems": [
386
386
  {
387
- "label": "Contacts",
387
+ "icon": "users",
388
388
  "href": "/contacts",
389
- "icon": "users"
389
+ "label": "Contacts"
390
390
  },
391
391
  {
392
+ "href": "/deals",
392
393
  "icon": "briefcase",
393
- "label": "Deals",
394
- "href": "/deals"
394
+ "label": "Deals"
395
395
  },
396
396
  {
397
- "href": "/pipeline",
397
+ "label": "Pipeline",
398
398
  "icon": "bar-chart-2",
399
- "label": "Pipeline"
399
+ "href": "/pipeline"
400
400
  },
401
401
  {
402
- "href": "/notes",
403
402
  "label": "Notes",
403
+ "href": "/notes",
404
404
  "icon": "file-text"
405
405
  }
406
406
  ],
@@ -582,8 +582,8 @@
582
582
  "Contact",
583
583
  {
584
584
  "emit": {
585
- "failure": "ContactLoadFailed",
586
- "success": "ContactLoaded"
585
+ "success": "ContactLoaded",
586
+ "failure": "ContactLoadFailed"
587
587
  }
588
588
  }
589
589
  ],
@@ -591,13 +591,10 @@
591
591
  "render-ui",
592
592
  "modal",
593
593
  {
594
- "direction": "vertical",
595
- "type": "stack",
596
594
  "gap": "md",
595
+ "direction": "vertical",
597
596
  "children": [
598
597
  {
599
- "direction": "horizontal",
600
- "gap": "sm",
601
598
  "type": "stack",
602
599
  "children": [
603
600
  {
@@ -605,19 +602,21 @@
605
602
  "name": "plus-circle"
606
603
  },
607
604
  {
605
+ "variant": "h3",
608
606
  "content": "New Contact",
609
- "type": "typography",
610
- "variant": "h3"
607
+ "type": "typography"
611
608
  }
612
- ]
609
+ ],
610
+ "direction": "horizontal",
611
+ "gap": "sm"
613
612
  },
614
613
  {
615
614
  "type": "divider"
616
615
  },
617
616
  {
618
617
  "type": "form-section",
618
+ "submitEvent": "SAVE",
619
619
  "cancelEvent": "CLOSE",
620
- "entity": "Contact",
621
620
  "fields": [
622
621
  "name",
623
622
  "company",
@@ -625,10 +624,11 @@
625
624
  "phone",
626
625
  "status"
627
626
  ],
628
- "mode": "create",
629
- "submitEvent": "SAVE"
627
+ "entity": "Contact",
628
+ "mode": "create"
630
629
  }
631
- ]
630
+ ],
631
+ "type": "stack"
632
632
  }
633
633
  ]
634
634
  ]
@@ -865,23 +865,23 @@
865
865
  "fetch",
866
866
  "Contact",
867
867
  {
868
- "id": "@payload.id",
869
868
  "emit": {
870
869
  "failure": "ContactLoadFailed",
871
870
  "success": "ContactLoaded"
872
- }
871
+ },
872
+ "id": "@payload.id"
873
873
  }
874
874
  ],
875
875
  [
876
876
  "render-ui",
877
877
  "modal",
878
878
  {
879
- "type": "stack",
879
+ "gap": "md",
880
880
  "children": [
881
881
  {
882
882
  "direction": "horizontal",
883
- "type": "stack",
884
883
  "gap": "sm",
884
+ "type": "stack",
885
885
  "children": [
886
886
  {
887
887
  "type": "icon",
@@ -898,11 +898,10 @@
898
898
  "type": "divider"
899
899
  },
900
900
  {
901
- "submitEvent": "SAVE",
902
901
  "type": "form-section",
903
- "entity": "Contact",
904
- "mode": "edit",
902
+ "submitEvent": "SAVE",
905
903
  "cancelEvent": "CLOSE",
904
+ "entityId": "@entity.id",
906
905
  "fields": [
907
906
  "name",
908
907
  "company",
@@ -910,11 +909,12 @@
910
909
  "phone",
911
910
  "status"
912
911
  ],
913
- "entityId": "@entity.id"
912
+ "mode": "edit",
913
+ "entity": "Contact"
914
914
  }
915
915
  ],
916
916
  "direction": "vertical",
917
- "gap": "md"
917
+ "type": "stack"
918
918
  }
919
919
  ]
920
920
  ]
@@ -1148,36 +1148,37 @@
1148
1148
  "render-ui",
1149
1149
  "modal",
1150
1150
  {
1151
- "type": "stack",
1152
1151
  "direction": "vertical",
1152
+ "gap": "md",
1153
+ "type": "stack",
1153
1154
  "children": [
1154
1155
  {
1155
- "gap": "sm",
1156
- "direction": "horizontal",
1157
1156
  "align": "center",
1158
- "type": "stack",
1159
1157
  "children": [
1160
1158
  {
1161
1159
  "type": "icon",
1162
1160
  "name": "eye"
1163
1161
  },
1164
1162
  {
1165
- "type": "typography",
1163
+ "variant": "h3",
1166
1164
  "content": "@entity.name",
1167
- "variant": "h3"
1165
+ "type": "typography"
1168
1166
  }
1169
- ]
1167
+ ],
1168
+ "type": "stack",
1169
+ "direction": "horizontal",
1170
+ "gap": "sm"
1170
1171
  },
1171
1172
  {
1172
1173
  "type": "divider"
1173
1174
  },
1174
1175
  {
1175
- "direction": "horizontal",
1176
+ "type": "stack",
1176
1177
  "children": [
1177
1178
  {
1178
- "content": "Name",
1179
1179
  "variant": "caption",
1180
- "type": "typography"
1180
+ "type": "typography",
1181
+ "content": "Name"
1181
1182
  },
1182
1183
  {
1183
1184
  "type": "typography",
@@ -1185,27 +1186,28 @@
1185
1186
  "content": "@entity.name"
1186
1187
  }
1187
1188
  ],
1188
- "gap": "md",
1189
- "type": "stack"
1189
+ "direction": "horizontal",
1190
+ "gap": "md"
1190
1191
  },
1191
1192
  {
1192
- "direction": "horizontal",
1193
- "type": "stack",
1194
1193
  "children": [
1195
1194
  {
1196
- "variant": "caption",
1197
1195
  "type": "typography",
1196
+ "variant": "caption",
1198
1197
  "content": "Company"
1199
1198
  },
1200
1199
  {
1201
- "type": "typography",
1202
1200
  "content": "@entity.company",
1201
+ "type": "typography",
1203
1202
  "variant": "body"
1204
1203
  }
1205
1204
  ],
1205
+ "type": "stack",
1206
+ "direction": "horizontal",
1206
1207
  "gap": "md"
1207
1208
  },
1208
1209
  {
1210
+ "direction": "horizontal",
1209
1211
  "children": [
1210
1212
  {
1211
1213
  "type": "typography",
@@ -1218,30 +1220,27 @@
1218
1220
  "type": "typography"
1219
1221
  }
1220
1222
  ],
1221
- "direction": "horizontal",
1222
1223
  "type": "stack",
1223
1224
  "gap": "md"
1224
1225
  },
1225
1226
  {
1227
+ "type": "stack",
1226
1228
  "children": [
1227
1229
  {
1230
+ "variant": "caption",
1228
1231
  "content": "Phone",
1229
- "type": "typography",
1230
- "variant": "caption"
1232
+ "type": "typography"
1231
1233
  },
1232
1234
  {
1233
- "type": "typography",
1235
+ "variant": "body",
1234
1236
  "content": "@entity.phone",
1235
- "variant": "body"
1237
+ "type": "typography"
1236
1238
  }
1237
1239
  ],
1238
- "type": "stack",
1239
1240
  "direction": "horizontal",
1240
1241
  "gap": "md"
1241
1242
  },
1242
1243
  {
1243
- "direction": "horizontal",
1244
- "type": "stack",
1245
1244
  "children": [
1246
1245
  {
1247
1246
  "type": "typography",
@@ -1254,7 +1253,9 @@
1254
1253
  "variant": "body"
1255
1254
  }
1256
1255
  ],
1257
- "gap": "md"
1256
+ "direction": "horizontal",
1257
+ "gap": "md",
1258
+ "type": "stack"
1258
1259
  },
1259
1260
  {
1260
1261
  "type": "divider"
@@ -1262,26 +1263,25 @@
1262
1263
  {
1263
1264
  "type": "stack",
1264
1265
  "justify": "end",
1265
- "direction": "horizontal",
1266
1266
  "children": [
1267
1267
  {
1268
- "action": "EDIT",
1269
- "icon": "edit",
1270
- "type": "button",
1268
+ "label": "Edit",
1271
1269
  "variant": "primary",
1272
- "label": "Edit"
1270
+ "icon": "edit",
1271
+ "action": "EDIT",
1272
+ "type": "button"
1273
1273
  },
1274
1274
  {
1275
- "variant": "ghost",
1276
1275
  "action": "CLOSE",
1276
+ "variant": "ghost",
1277
1277
  "type": "button",
1278
1278
  "label": "Close"
1279
1279
  }
1280
1280
  ],
1281
+ "direction": "horizontal",
1281
1282
  "gap": "sm"
1282
1283
  }
1283
- ],
1284
- "gap": "md"
1284
+ ]
1285
1285
  }
1286
1286
  ]
1287
1287
  ]
@@ -1521,14 +1521,15 @@
1521
1521
  "render-ui",
1522
1522
  "modal",
1523
1523
  {
1524
- "direction": "vertical",
1525
- "type": "stack",
1526
1524
  "gap": "md",
1525
+ "type": "stack",
1526
+ "direction": "vertical",
1527
1527
  "children": [
1528
1528
  {
1529
- "type": "stack",
1530
- "direction": "horizontal",
1531
1529
  "align": "center",
1530
+ "direction": "horizontal",
1531
+ "type": "stack",
1532
+ "gap": "sm",
1532
1533
  "children": [
1533
1534
  {
1534
1535
  "type": "icon",
@@ -1539,37 +1540,36 @@
1539
1540
  "type": "typography",
1540
1541
  "content": "Delete Contact"
1541
1542
  }
1542
- ],
1543
- "gap": "sm"
1543
+ ]
1544
1544
  },
1545
1545
  {
1546
1546
  "type": "divider"
1547
1547
  },
1548
1548
  {
1549
- "variant": "error",
1550
1549
  "message": "This action cannot be undone.",
1551
- "type": "alert"
1550
+ "type": "alert",
1551
+ "variant": "error"
1552
1552
  },
1553
1553
  {
1554
- "type": "stack",
1555
1554
  "children": [
1556
1555
  {
1557
1556
  "label": "Cancel",
1558
- "action": "CANCEL",
1557
+ "type": "button",
1559
1558
  "variant": "ghost",
1560
- "type": "button"
1559
+ "action": "CANCEL"
1561
1560
  },
1562
1561
  {
1563
- "type": "button",
1564
- "label": "Delete",
1565
1562
  "action": "CONFIRM_DELETE",
1563
+ "icon": "check",
1564
+ "type": "button",
1566
1565
  "variant": "danger",
1567
- "icon": "check"
1566
+ "label": "Delete"
1568
1567
  }
1569
1568
  ],
1570
- "direction": "horizontal",
1569
+ "type": "stack",
1571
1570
  "justify": "end",
1572
- "gap": "sm"
1571
+ "gap": "sm",
1572
+ "direction": "horizontal"
1573
1573
  }
1574
1574
  ]
1575
1575
  }
@@ -1895,20 +1895,44 @@
1895
1895
  "render-ui",
1896
1896
  "main",
1897
1897
  {
1898
+ "type": "dashboard-layout",
1899
+ "navItems": [
1900
+ {
1901
+ "icon": "users",
1902
+ "label": "Contacts",
1903
+ "href": "/contacts"
1904
+ },
1905
+ {
1906
+ "icon": "briefcase",
1907
+ "href": "/deals",
1908
+ "label": "Deals"
1909
+ },
1910
+ {
1911
+ "icon": "bar-chart-2",
1912
+ "label": "Pipeline",
1913
+ "href": "/pipeline"
1914
+ },
1915
+ {
1916
+ "icon": "file-text",
1917
+ "label": "Notes",
1918
+ "href": "/notes"
1919
+ }
1920
+ ],
1921
+ "appName": "CRM",
1898
1922
  "children": [
1899
1923
  {
1900
- "gap": "lg",
1924
+ "direction": "vertical",
1925
+ "className": "max-w-5xl mx-auto w-full",
1926
+ "type": "stack",
1901
1927
  "children": [
1902
1928
  {
1929
+ "justify": "between",
1903
1930
  "type": "stack",
1904
- "direction": "horizontal",
1905
1931
  "gap": "md",
1932
+ "direction": "horizontal",
1906
1933
  "align": "center",
1907
1934
  "children": [
1908
1935
  {
1909
- "gap": "sm",
1910
- "direction": "horizontal",
1911
- "type": "stack",
1912
1936
  "align": "center",
1913
1937
  "children": [
1914
1938
  {
@@ -1916,49 +1940,51 @@
1916
1940
  "name": "briefcase"
1917
1941
  },
1918
1942
  {
1919
- "content": "Deals",
1920
1943
  "type": "typography",
1944
+ "content": "Deals",
1921
1945
  "variant": "h2"
1922
1946
  }
1923
- ]
1947
+ ],
1948
+ "direction": "horizontal",
1949
+ "type": "stack",
1950
+ "gap": "sm"
1924
1951
  },
1925
1952
  {
1953
+ "gap": "sm",
1954
+ "direction": "horizontal",
1926
1955
  "children": [
1927
1956
  {
1928
- "variant": "primary",
1929
- "type": "button",
1930
1957
  "label": "New Deal",
1958
+ "icon": "plus",
1931
1959
  "action": "CREATE",
1932
- "icon": "plus"
1960
+ "variant": "primary",
1961
+ "type": "button"
1933
1962
  }
1934
1963
  ],
1935
- "direction": "horizontal",
1936
- "type": "stack",
1937
- "gap": "sm"
1964
+ "type": "stack"
1938
1965
  }
1939
- ],
1940
- "justify": "between"
1966
+ ]
1941
1967
  },
1942
1968
  {
1943
1969
  "type": "divider"
1944
1970
  },
1945
1971
  {
1946
- "cols": 2.0,
1972
+ "type": "data-grid",
1947
1973
  "entity": "Deal",
1948
1974
  "columns": [
1949
1975
  {
1976
+ "variant": "h3",
1950
1977
  "icon": "briefcase",
1951
- "name": "title",
1952
- "variant": "h3"
1978
+ "name": "title"
1953
1979
  },
1954
1980
  {
1955
1981
  "name": "stage",
1956
1982
  "variant": "badge"
1957
1983
  },
1958
1984
  {
1959
- "name": "value",
1960
1985
  "variant": "h4",
1961
- "format": "currency"
1986
+ "format": "currency",
1987
+ "name": "value"
1962
1988
  },
1963
1989
  {
1964
1990
  "label": "Contact",
@@ -1967,54 +1993,28 @@
1967
1993
  }
1968
1994
  ],
1969
1995
  "fields": [],
1996
+ "cols": 2.0,
1970
1997
  "itemActions": [
1971
1998
  {
1972
- "event": "VIEW",
1973
1999
  "label": "View",
2000
+ "event": "VIEW",
1974
2001
  "variant": "ghost"
1975
2002
  },
1976
2003
  {
2004
+ "variant": "ghost",
1977
2005
  "label": "Edit",
1978
- "event": "EDIT",
1979
- "variant": "ghost"
2006
+ "event": "EDIT"
1980
2007
  },
1981
2008
  {
1982
- "variant": "danger",
1983
2009
  "label": "Delete",
2010
+ "variant": "danger",
1984
2011
  "event": "DELETE"
1985
2012
  }
1986
2013
  ],
1987
- "type": "data-grid",
1988
2014
  "gap": "md"
1989
2015
  }
1990
2016
  ],
1991
- "className": "max-w-5xl mx-auto w-full",
1992
- "direction": "vertical",
1993
- "type": "stack"
1994
- }
1995
- ],
1996
- "appName": "CRM",
1997
- "type": "dashboard-layout",
1998
- "navItems": [
1999
- {
2000
- "href": "/contacts",
2001
- "icon": "users",
2002
- "label": "Contacts"
2003
- },
2004
- {
2005
- "label": "Deals",
2006
- "href": "/deals",
2007
- "icon": "briefcase"
2008
- },
2009
- {
2010
- "href": "/pipeline",
2011
- "label": "Pipeline",
2012
- "icon": "bar-chart-2"
2013
- },
2014
- {
2015
- "label": "Notes",
2016
- "icon": "file-text",
2017
- "href": "/notes"
2017
+ "gap": "lg"
2018
2018
  }
2019
2019
  ]
2020
2020
  }
@@ -2186,8 +2186,8 @@
2186
2186
  "Deal",
2187
2187
  {
2188
2188
  "emit": {
2189
- "failure": "DealLoadFailed",
2190
- "success": "DealLoaded"
2189
+ "success": "DealLoaded",
2190
+ "failure": "DealLoadFailed"
2191
2191
  }
2192
2192
  }
2193
2193
  ],
@@ -2195,30 +2195,31 @@
2195
2195
  "render-ui",
2196
2196
  "modal",
2197
2197
  {
2198
- "direction": "vertical",
2199
- "gap": "md",
2198
+ "type": "stack",
2200
2199
  "children": [
2201
2200
  {
2202
2201
  "direction": "horizontal",
2203
- "type": "stack",
2204
2202
  "children": [
2205
2203
  {
2206
2204
  "type": "icon",
2207
2205
  "name": "plus-circle"
2208
2206
  },
2209
2207
  {
2208
+ "variant": "h3",
2210
2209
  "type": "typography",
2211
- "content": "Create Deal",
2212
- "variant": "h3"
2210
+ "content": "Create Deal"
2213
2211
  }
2214
2212
  ],
2215
- "gap": "sm"
2213
+ "gap": "sm",
2214
+ "type": "stack"
2216
2215
  },
2217
2216
  {
2218
2217
  "type": "divider"
2219
2218
  },
2220
2219
  {
2220
+ "mode": "create",
2221
2221
  "submitEvent": "SAVE",
2222
+ "cancelEvent": "CLOSE",
2222
2223
  "fields": [
2223
2224
  "title",
2224
2225
  "contactId",
@@ -2226,13 +2227,12 @@
2226
2227
  "stage",
2227
2228
  "closedAt"
2228
2229
  ],
2229
- "cancelEvent": "CLOSE",
2230
- "type": "form-section",
2231
- "mode": "create",
2232
- "entity": "Deal"
2230
+ "entity": "Deal",
2231
+ "type": "form-section"
2233
2232
  }
2234
2233
  ],
2235
- "type": "stack"
2234
+ "direction": "vertical",
2235
+ "gap": "md"
2236
2236
  }
2237
2237
  ]
2238
2238
  ]
@@ -2471,9 +2471,9 @@
2471
2471
  "render-ui",
2472
2472
  "modal",
2473
2473
  {
2474
- "type": "stack",
2475
2474
  "children": [
2476
2475
  {
2476
+ "type": "stack",
2477
2477
  "gap": "sm",
2478
2478
  "children": [
2479
2479
  {
@@ -2481,33 +2481,33 @@
2481
2481
  "type": "icon"
2482
2482
  },
2483
2483
  {
2484
- "content": "Edit Deal",
2484
+ "variant": "h3",
2485
2485
  "type": "typography",
2486
- "variant": "h3"
2486
+ "content": "Edit Deal"
2487
2487
  }
2488
2488
  ],
2489
- "direction": "horizontal",
2490
- "type": "stack"
2489
+ "direction": "horizontal"
2491
2490
  },
2492
2491
  {
2493
2492
  "type": "divider"
2494
2493
  },
2495
2494
  {
2496
- "mode": "edit",
2497
2495
  "type": "form-section",
2498
2496
  "submitEvent": "SAVE",
2499
- "cancelEvent": "CLOSE",
2500
- "entity": "Deal",
2501
2497
  "entityId": "@entity.id",
2498
+ "cancelEvent": "CLOSE",
2499
+ "mode": "edit",
2502
2500
  "fields": [
2503
2501
  "title",
2504
2502
  "contactId",
2505
2503
  "value",
2506
2504
  "stage",
2507
2505
  "closedAt"
2508
- ]
2506
+ ],
2507
+ "entity": "Deal"
2509
2508
  }
2510
2509
  ],
2510
+ "type": "stack",
2511
2511
  "gap": "md",
2512
2512
  "direction": "vertical"
2513
2513
  }
@@ -2724,36 +2724,36 @@
2724
2724
  "fetch",
2725
2725
  "Deal",
2726
2726
  {
2727
- "id": "@payload.id",
2728
2727
  "emit": {
2729
- "success": "DealLoaded",
2730
- "failure": "DealLoadFailed"
2731
- }
2728
+ "failure": "DealLoadFailed",
2729
+ "success": "DealLoaded"
2730
+ },
2731
+ "id": "@payload.id"
2732
2732
  }
2733
2733
  ],
2734
2734
  [
2735
2735
  "render-ui",
2736
2736
  "modal",
2737
2737
  {
2738
- "gap": "md",
2739
- "direction": "vertical",
2740
2738
  "type": "stack",
2739
+ "direction": "vertical",
2740
+ "gap": "md",
2741
2741
  "children": [
2742
2742
  {
2743
+ "type": "stack",
2744
+ "direction": "horizontal",
2743
2745
  "children": [
2744
2746
  {
2745
2747
  "type": "icon",
2746
2748
  "name": "eye"
2747
2749
  },
2748
2750
  {
2749
- "content": "@entity.title",
2751
+ "type": "typography",
2750
2752
  "variant": "h3",
2751
- "type": "typography"
2753
+ "content": "@entity.title"
2752
2754
  }
2753
2755
  ],
2754
2756
  "align": "center",
2755
- "direction": "horizontal",
2756
- "type": "stack",
2757
2757
  "gap": "sm"
2758
2758
  },
2759
2759
  {
@@ -2761,6 +2761,7 @@
2761
2761
  },
2762
2762
  {
2763
2763
  "type": "stack",
2764
+ "direction": "horizontal",
2764
2765
  "gap": "md",
2765
2766
  "children": [
2766
2767
  {
@@ -2770,14 +2771,12 @@
2770
2771
  },
2771
2772
  {
2772
2773
  "content": "@entity.title",
2773
- "type": "typography",
2774
- "variant": "body"
2774
+ "variant": "body",
2775
+ "type": "typography"
2775
2776
  }
2776
- ],
2777
- "direction": "horizontal"
2777
+ ]
2778
2778
  },
2779
2779
  {
2780
- "direction": "horizontal",
2781
2780
  "children": [
2782
2781
  {
2783
2782
  "type": "typography",
@@ -2785,88 +2784,89 @@
2785
2784
  "content": "Contact ID"
2786
2785
  },
2787
2786
  {
2788
- "type": "typography",
2789
2787
  "variant": "body",
2790
- "content": "@entity.contactId"
2788
+ "content": "@entity.contactId",
2789
+ "type": "typography"
2791
2790
  }
2792
2791
  ],
2792
+ "gap": "md",
2793
2793
  "type": "stack",
2794
- "gap": "md"
2794
+ "direction": "horizontal"
2795
2795
  },
2796
2796
  {
2797
- "gap": "md",
2798
- "type": "stack",
2799
2797
  "direction": "horizontal",
2798
+ "type": "stack",
2799
+ "gap": "md",
2800
2800
  "children": [
2801
2801
  {
2802
+ "variant": "caption",
2802
2803
  "content": "Value",
2803
- "type": "typography",
2804
- "variant": "caption"
2804
+ "type": "typography"
2805
2805
  },
2806
2806
  {
2807
- "content": "@entity.value",
2808
2807
  "type": "typography",
2809
- "variant": "body"
2808
+ "variant": "body",
2809
+ "content": "@entity.value"
2810
2810
  }
2811
2811
  ]
2812
2812
  },
2813
2813
  {
2814
- "gap": "md",
2814
+ "direction": "horizontal",
2815
2815
  "type": "stack",
2816
+ "gap": "md",
2816
2817
  "children": [
2817
2818
  {
2818
- "variant": "caption",
2819
2819
  "content": "Stage",
2820
- "type": "typography"
2820
+ "type": "typography",
2821
+ "variant": "caption"
2821
2822
  },
2822
2823
  {
2823
2824
  "variant": "body",
2824
- "type": "typography",
2825
- "content": "@entity.stage"
2825
+ "content": "@entity.stage",
2826
+ "type": "typography"
2826
2827
  }
2827
- ],
2828
- "direction": "horizontal"
2828
+ ]
2829
2829
  },
2830
2830
  {
2831
+ "type": "stack",
2831
2832
  "gap": "md",
2833
+ "direction": "horizontal",
2832
2834
  "children": [
2833
2835
  {
2834
2836
  "variant": "caption",
2835
- "type": "typography",
2836
- "content": "Closed At"
2837
+ "content": "Closed At",
2838
+ "type": "typography"
2837
2839
  },
2838
2840
  {
2839
- "type": "typography",
2841
+ "content": "@entity.closedAt",
2840
2842
  "variant": "body",
2841
- "content": "@entity.closedAt"
2843
+ "type": "typography"
2842
2844
  }
2843
- ],
2844
- "type": "stack",
2845
- "direction": "horizontal"
2845
+ ]
2846
2846
  },
2847
2847
  {
2848
2848
  "type": "divider"
2849
2849
  },
2850
2850
  {
2851
- "direction": "horizontal",
2852
- "type": "stack",
2853
2851
  "gap": "sm",
2852
+ "type": "stack",
2854
2853
  "justify": "end",
2855
2854
  "children": [
2856
2855
  {
2857
2856
  "type": "button",
2857
+ "variant": "primary",
2858
2858
  "action": "EDIT",
2859
- "label": "Edit",
2860
2859
  "icon": "edit",
2861
- "variant": "primary"
2860
+ "label": "Edit"
2862
2861
  },
2863
2862
  {
2864
- "label": "Close",
2865
- "action": "CLOSE",
2866
2863
  "type": "button",
2864
+ "action": "CLOSE",
2865
+ "label": "Close",
2867
2866
  "variant": "ghost"
2868
2867
  }
2869
- ]
2868
+ ],
2869
+ "direction": "horizontal"
2870
2870
  }
2871
2871
  ]
2872
2872
  }
@@ -3090,8 +3090,8 @@
3090
3090
  "Deal",
3091
3091
  {
3092
3092
  "emit": {
3093
- "failure": "DealLoadFailed",
3094
- "success": "DealLoaded"
3093
+ "success": "DealLoaded",
3094
+ "failure": "DealLoadFailed"
3095
3095
  },
3096
3096
  "id": "@payload.id"
3097
3097
  }
@@ -3101,54 +3101,54 @@
3101
3101
  "modal",
3102
3102
  {
3103
3103
  "type": "stack",
3104
- "gap": "md",
3105
3104
  "direction": "vertical",
3105
+ "gap": "md",
3106
3106
  "children": [
3107
3107
  {
3108
3108
  "type": "stack",
3109
- "align": "center",
3110
- "gap": "sm",
3111
3109
  "children": [
3112
3110
  {
3113
- "type": "icon",
3114
- "name": "alert-triangle"
3111
+ "name": "alert-triangle",
3112
+ "type": "icon"
3115
3113
  },
3116
3114
  {
3117
- "type": "typography",
3115
+ "variant": "h3",
3118
3116
  "content": "Delete Deal",
3119
- "variant": "h3"
3117
+ "type": "typography"
3120
3118
  }
3121
3119
  ],
3122
- "direction": "horizontal"
3120
+ "direction": "horizontal",
3121
+ "gap": "sm",
3122
+ "align": "center"
3123
3123
  },
3124
3124
  {
3125
3125
  "type": "divider"
3126
3126
  },
3127
3127
  {
3128
- "variant": "error",
3129
3128
  "message": "This action cannot be undone.",
3129
+ "variant": "error",
3130
3130
  "type": "alert"
3131
3131
  },
3132
3132
  {
3133
+ "direction": "horizontal",
3133
3134
  "justify": "end",
3135
+ "gap": "sm",
3134
3136
  "children": [
3135
3137
  {
3136
- "type": "button",
3137
3138
  "label": "Cancel",
3138
- "action": "CANCEL",
3139
- "variant": "ghost"
3139
+ "type": "button",
3140
+ "variant": "ghost",
3141
+ "action": "CANCEL"
3140
3142
  },
3141
3143
  {
3142
3144
  "icon": "check",
3143
- "label": "Delete",
3144
- "type": "button",
3145
3145
  "variant": "danger",
3146
- "action": "CONFIRM_DELETE"
3146
+ "action": "CONFIRM_DELETE",
3147
+ "type": "button",
3148
+ "label": "Delete"
3147
3149
  }
3148
3150
  ],
3149
- "gap": "sm",
3150
- "type": "stack",
3151
- "direction": "horizontal"
3151
+ "type": "stack"
3152
3152
  }
3153
3153
  ]
3154
3154
  }
@@ -3438,8 +3438,8 @@
3438
3438
  "Pipeline",
3439
3439
  {
3440
3440
  "emit": {
3441
- "success": "PipelineLoaded",
3442
- "failure": "PipelineLoadFailed"
3441
+ "failure": "PipelineLoadFailed",
3442
+ "success": "PipelineLoaded"
3443
3443
  }
3444
3444
  }
3445
3445
  ],
@@ -3447,88 +3447,61 @@
3447
3447
  "render-ui",
3448
3448
  "main",
3449
3449
  {
3450
- "type": "dashboard-layout",
3451
- "appName": "CRM",
3452
- "navItems": [
3453
- {
3454
- "href": "/contacts",
3455
- "label": "Contacts",
3456
- "icon": "users"
3457
- },
3458
- {
3459
- "label": "Deals",
3460
- "icon": "briefcase",
3461
- "href": "/deals"
3462
- },
3463
- {
3464
- "href": "/pipeline",
3465
- "icon": "bar-chart-2",
3466
- "label": "Pipeline"
3467
- },
3468
- {
3469
- "href": "/notes",
3470
- "label": "Notes",
3471
- "icon": "file-text"
3472
- }
3473
- ],
3474
3450
  "children": [
3475
3451
  {
3476
- "type": "scaled-diagram",
3477
3452
  "children": [
3478
3453
  {
3479
3454
  "children": [
3480
3455
  {
3456
+ "type": "breadcrumb",
3481
3457
  "items": [
3482
3458
  {
3483
- "href": "/",
3484
- "label": "Home"
3459
+ "label": "Home",
3460
+ "href": "/"
3485
3461
  },
3486
3462
  {
3487
3463
  "label": "Pipeline"
3488
3464
  }
3489
- ],
3490
- "type": "breadcrumb"
3465
+ ]
3491
3466
  },
3492
3467
  {
3493
- "type": "stack",
3494
- "gap": "md",
3495
3468
  "justify": "between",
3469
+ "type": "stack",
3470
+ "direction": "horizontal",
3496
3471
  "children": [
3497
3472
  {
3498
- "direction": "horizontal",
3499
3473
  "type": "stack",
3500
- "gap": "md",
3501
3474
  "children": [
3502
3475
  {
3503
- "type": "icon",
3504
- "name": "bar-chart-2"
3476
+ "name": "bar-chart-2",
3477
+ "type": "icon"
3505
3478
  },
3506
3479
  {
3507
- "content": "Pipeline",
3480
+ "type": "typography",
3508
3481
  "variant": "h2",
3509
- "type": "typography"
3482
+ "content": "Pipeline"
3510
3483
  }
3511
- ]
3484
+ ],
3485
+ "gap": "md",
3486
+ "direction": "horizontal"
3512
3487
  },
3513
3488
  {
3514
3489
  "label": "Refresh",
3515
- "action": "REFRESH",
3516
3490
  "icon": "refresh-cw",
3517
- "variant": "secondary",
3518
- "type": "button"
3491
+ "type": "button",
3492
+ "action": "REFRESH",
3493
+ "variant": "secondary"
3519
3494
  }
3520
3495
  ],
3521
- "direction": "horizontal"
3496
+ "gap": "md"
3522
3497
  },
3523
3498
  {
3524
3499
  "type": "divider"
3525
3500
  },
3526
3501
  {
3527
- "type": "box",
3502
+ "padding": "md",
3528
3503
  "children": [
3529
3504
  {
3530
- "type": "simple-grid",
3531
- "cols": 3.0,
3532
3505
  "children": [
3533
3506
  {
3534
3507
  "type": "stat-display",
@@ -3543,6 +3516,7 @@
3543
3516
  "label": "TotalDeals"
3544
3517
  },
3545
3518
  {
3519
+ "label": "TotalValue",
3546
3520
  "value": [
3547
3521
  "object/get",
3548
3522
  [
@@ -3551,12 +3525,11 @@
3551
3525
  ],
3552
3526
  "totalValue"
3553
3527
  ],
3554
- "type": "stat-display",
3555
- "label": "TotalValue"
3528
+ "type": "stat-display"
3556
3529
  },
3557
3530
  {
3558
- "type": "stat-display",
3559
3531
  "label": "WonDeals",
3532
+ "type": "stat-display",
3560
3533
  "value": [
3561
3534
  "object/get",
3562
3535
  [
@@ -3568,6 +3541,7 @@
3568
3541
  },
3569
3542
  {
3570
3543
  "type": "stat-display",
3544
+ "label": "LostDeals",
3571
3545
  "value": [
3572
3546
  "object/get",
3573
3547
  [
@@ -3575,10 +3549,11 @@
3575
3549
  "@entity"
3576
3550
  ],
3577
3551
  "lostDeals"
3578
- ],
3579
- "label": "LostDeals"
3552
+ ]
3580
3553
  },
3581
3554
  {
3555
+ "type": "stat-display",
3556
+ "label": "ConversionRate",
3582
3557
  "value": [
3583
3558
  "object/get",
3584
3559
  [
@@ -3586,80 +3561,80 @@
3586
3561
  "@entity"
3587
3562
  ],
3588
3563
  "conversionRate"
3589
- ],
3590
- "type": "stat-display",
3591
- "label": "ConversionRate"
3564
+ ]
3592
3565
  }
3593
- ]
3566
+ ],
3567
+ "type": "simple-grid",
3568
+ "cols": 3.0
3594
3569
  }
3595
3570
  ],
3596
- "padding": "md"
3571
+ "type": "box"
3597
3572
  },
3598
3573
  {
3599
3574
  "type": "divider"
3600
3575
  },
3601
3576
  {
3602
- "gap": "md",
3603
3577
  "children": [
3604
3578
  {
3605
- "type": "card",
3606
3579
  "children": [
3607
3580
  {
3608
- "variant": "caption",
3609
3581
  "content": "Chart View",
3610
- "type": "typography"
3582
+ "type": "typography",
3583
+ "variant": "caption"
3611
3584
  }
3612
- ]
3585
+ ],
3586
+ "type": "card"
3613
3587
  },
3614
3588
  {
3615
3589
  "children": [
3616
3590
  {
3617
- "content": "Graph View",
3618
3591
  "variant": "caption",
3592
+ "content": "Graph View",
3619
3593
  "type": "typography"
3620
3594
  }
3621
3595
  ],
3622
3596
  "type": "card"
3623
3597
  }
3624
3598
  ],
3599
+ "cols": 2.0,
3625
3600
  "type": "grid",
3626
- "cols": 2.0
3601
+ "gap": "md"
3627
3602
  },
3628
3603
  {
3604
+ "type": "line-chart",
3629
3605
  "data": [
3630
3606
  {
3631
- "date": "Jan",
3632
- "value": 12.0
3607
+ "value": 12.0,
3608
+ "date": "Jan"
3633
3609
  },
3634
3610
  {
3635
- "date": "Feb",
3636
- "value": 19.0
3611
+ "value": 19.0,
3612
+ "date": "Feb"
3637
3613
  },
3638
3614
  {
3639
3615
  "date": "Mar",
3640
3616
  "value": 15.0
3641
3617
  },
3642
3618
  {
3643
- "value": 25.0,
3644
- "date": "Apr"
3619
+ "date": "Apr",
3620
+ "value": 25.0
3645
3621
  },
3646
3622
  {
3647
- "date": "May",
3648
- "value": 22.0
3623
+ "value": 22.0,
3624
+ "date": "May"
3649
3625
  },
3650
3626
  {
3651
3627
  "date": "Jun",
3652
3628
  "value": 30.0
3653
3629
  }
3654
- ],
3655
- "type": "line-chart"
3630
+ ]
3656
3631
  },
3657
3632
  {
3658
3633
  "type": "chart-legend",
3659
3634
  "items": [
3660
3635
  {
3661
- "label": "Current",
3662
- "color": "primary"
3636
+ "color": "primary",
3637
+ "label": "Current"
3663
3638
  },
3664
3639
  {
3665
3640
  "color": "muted",
@@ -3671,45 +3646,70 @@
3671
3646
  "height": 200.0,
3672
3647
  "edges": [
3673
3648
  {
3674
- "from": "a",
3675
- "to": "b"
3649
+ "to": "b",
3650
+ "from": "a"
3676
3651
  },
3677
3652
  {
3678
- "from": "b",
3679
- "to": "c"
3653
+ "to": "c",
3654
+ "from": "b"
3680
3655
  }
3681
3656
  ],
3682
- "width": 400.0,
3683
3657
  "type": "graph-view",
3684
3658
  "nodes": [
3685
3659
  {
3686
- "x": 50.0,
3687
3660
  "label": "Start",
3688
3661
  "id": "a",
3662
+ "x": 50.0,
3689
3663
  "y": 100.0
3690
3664
  },
3691
3665
  {
3692
- "x": 200.0,
3693
3666
  "id": "b",
3694
- "y": 50.0,
3695
- "label": "Process"
3667
+ "x": 200.0,
3668
+ "label": "Process",
3669
+ "y": 50.0
3696
3670
  },
3697
3671
  {
3672
+ "y": 100.0,
3698
3673
  "x": 350.0,
3699
- "id": "c",
3700
3674
  "label": "End",
3701
- "y": 100.0
3675
+ "id": "c"
3702
3676
  }
3703
- ]
3677
+ ],
3678
+ "width": 400.0
3704
3679
  }
3705
3680
  ],
3681
+ "type": "stack",
3706
3682
  "direction": "vertical",
3707
- "gap": "lg",
3708
- "type": "stack"
3683
+ "gap": "lg"
3709
3684
  }
3710
- ]
3685
+ ],
3686
+ "type": "scaled-diagram"
3711
3687
  }
3712
- ]
3688
+ ],
3689
+ "navItems": [
3690
+ {
3691
+ "icon": "users",
3692
+ "label": "Contacts",
3693
+ "href": "/contacts"
3694
+ },
3695
+ {
3696
+ "icon": "briefcase",
3697
+ "href": "/deals",
3698
+ "label": "Deals"
3699
+ },
3700
+ {
3701
+ "href": "/pipeline",
3702
+ "icon": "bar-chart-2",
3703
+ "label": "Pipeline"
3704
+ },
3705
+ {
3706
+ "icon": "file-text",
3707
+ "label": "Notes",
3708
+ "href": "/notes"
3709
+ }
3710
+ ],
3711
+ "appName": "CRM",
3712
+ "type": "dashboard-layout"
3713
3713
  }
3714
3714
  ]
3715
3715
  ]
@@ -3724,8 +3724,8 @@
3724
3724
  "Pipeline",
3725
3725
  {
3726
3726
  "emit": {
3727
- "success": "PipelineLoaded",
3728
- "failure": "PipelineLoadFailed"
3727
+ "failure": "PipelineLoadFailed",
3728
+ "success": "PipelineLoaded"
3729
3729
  }
3730
3730
  }
3731
3731
  ],
@@ -3734,6 +3734,7 @@
3734
3734
  "main",
3735
3735
  {
3736
3736
  "type": "dashboard-layout",
3737
+ "appName": "CRM",
3737
3738
  "navItems": [
3738
3739
  {
3739
3740
  "label": "Contacts",
@@ -3741,32 +3742,28 @@
3741
3742
  "href": "/contacts"
3742
3743
  },
3743
3744
  {
3744
- "label": "Deals",
3745
+ "href": "/deals",
3745
3746
  "icon": "briefcase",
3746
- "href": "/deals"
3747
+ "label": "Deals"
3747
3748
  },
3748
3749
  {
3749
3750
  "href": "/pipeline",
3750
- "icon": "bar-chart-2",
3751
- "label": "Pipeline"
3751
+ "label": "Pipeline",
3752
+ "icon": "bar-chart-2"
3752
3753
  },
3753
3754
  {
3754
- "icon": "file-text",
3755
3755
  "label": "Notes",
3756
+ "icon": "file-text",
3756
3757
  "href": "/notes"
3757
3758
  }
3758
3759
  ],
3759
- "appName": "CRM",
3760
3760
  "children": [
3761
3761
  {
3762
3762
  "type": "scaled-diagram",
3763
3763
  "children": [
3764
3764
  {
3765
- "type": "stack",
3766
- "direction": "vertical",
3767
3765
  "children": [
3768
3766
  {
3769
- "type": "breadcrumb",
3770
3767
  "items": [
3771
3768
  {
3772
3769
  "label": "Home",
@@ -3775,15 +3772,16 @@
3775
3772
  {
3776
3773
  "label": "Pipeline"
3777
3774
  }
3778
- ]
3775
+ ],
3776
+ "type": "breadcrumb"
3779
3777
  },
3780
3778
  {
3779
+ "justify": "between",
3781
3780
  "direction": "horizontal",
3782
3781
  "children": [
3783
3782
  {
3784
- "direction": "horizontal",
3785
3783
  "type": "stack",
3786
- "gap": "md",
3784
+ "direction": "horizontal",
3787
3785
  "children": [
3788
3786
  {
3789
3787
  "name": "bar-chart-2",
@@ -3791,10 +3789,11 @@
3791
3789
  },
3792
3790
  {
3793
3791
  "variant": "h2",
3794
- "type": "typography",
3795
- "content": "Pipeline"
3792
+ "content": "Pipeline",
3793
+ "type": "typography"
3796
3794
  }
3797
- ]
3795
+ ],
3796
+ "gap": "md"
3798
3797
  },
3799
3798
  {
3800
3799
  "action": "REFRESH",
@@ -3804,20 +3803,22 @@
3804
3803
  "type": "button"
3805
3804
  }
3806
3805
  ],
3807
- "gap": "md",
3808
- "justify": "between",
3809
- "type": "stack"
3806
+ "type": "stack",
3807
+ "gap": "md"
3810
3808
  },
3811
3809
  {
3812
3810
  "type": "divider"
3813
3811
  },
3814
3812
  {
3815
3813
  "padding": "md",
3814
+ "type": "box",
3816
3815
  "children": [
3817
3816
  {
3817
+ "cols": 3.0,
3818
+ "type": "simple-grid",
3818
3819
  "children": [
3819
3820
  {
3820
- "type": "stat-display",
3821
+ "label": "TotalDeals",
3821
3822
  "value": [
3822
3823
  "object/get",
3823
3824
  [
@@ -3826,10 +3827,9 @@
3826
3827
  ],
3827
3828
  "totalDeals"
3828
3829
  ],
3829
- "label": "TotalDeals"
3830
+ "type": "stat-display"
3830
3831
  },
3831
3832
  {
3832
- "label": "TotalValue",
3833
3833
  "value": [
3834
3834
  "object/get",
3835
3835
  [
@@ -3838,9 +3838,12 @@
3838
3838
  ],
3839
3839
  "totalValue"
3840
3840
  ],
3841
+ "label": "TotalValue",
3841
3842
  "type": "stat-display"
3842
3843
  },
3843
3844
  {
3845
+ "type": "stat-display",
3846
+ "label": "WonDeals",
3844
3847
  "value": [
3845
3848
  "object/get",
3846
3849
  [
@@ -3848,12 +3851,9 @@
3848
3851
  "@entity"
3849
3852
  ],
3850
3853
  "wonDeals"
3851
- ],
3852
- "label": "WonDeals",
3853
- "type": "stat-display"
3854
+ ]
3854
3855
  },
3855
3856
  {
3856
- "type": "stat-display",
3857
3857
  "label": "LostDeals",
3858
3858
  "value": [
3859
3859
  "object/get",
@@ -3862,7 +3862,8 @@
3862
3862
  "@entity"
3863
3863
  ],
3864
3864
  "lostDeals"
3865
- ]
3865
+ ],
3866
+ "type": "stat-display"
3866
3867
  },
3867
3868
  {
3868
3869
  "label": "ConversionRate",
@@ -3876,41 +3877,38 @@
3876
3877
  ],
3877
3878
  "type": "stat-display"
3878
3879
  }
3879
- ],
3880
- "type": "simple-grid",
3881
- "cols": 3.0
3880
+ ]
3882
3881
  }
3883
- ],
3884
- "type": "box"
3882
+ ]
3885
3883
  },
3886
3884
  {
3887
3885
  "type": "divider"
3888
3886
  },
3889
3887
  {
3890
3888
  "cols": 2.0,
3889
+ "gap": "md",
3891
3890
  "children": [
3892
3891
  {
3893
3892
  "type": "card",
3894
3893
  "children": [
3895
3894
  {
3896
- "variant": "caption",
3895
+ "type": "typography",
3897
3896
  "content": "Chart View",
3898
- "type": "typography"
3897
+ "variant": "caption"
3899
3898
  }
3900
3899
  ]
3901
3900
  },
3902
3901
  {
3902
+ "type": "card",
3903
3903
  "children": [
3904
3904
  {
3905
+ "type": "typography",
3905
3906
  "content": "Graph View",
3906
- "variant": "caption",
3907
- "type": "typography"
3907
+ "variant": "caption"
3908
3908
  }
3909
- ],
3910
- "type": "card"
3909
+ ]
3911
3910
  }
3912
3911
  ],
3913
- "gap": "md",
3914
3912
  "type": "grid"
3915
3913
  },
3916
3914
  {
@@ -3921,20 +3919,20 @@
3921
3919
  "date": "Jan"
3922
3920
  },
3923
3921
  {
3924
- "date": "Feb",
3925
- "value": 19.0
3922
+ "value": 19.0,
3923
+ "date": "Feb"
3926
3924
  },
3927
3925
  {
3928
3926
  "value": 15.0,
3929
3927
  "date": "Mar"
3930
3928
  },
3931
3929
  {
3932
- "date": "Apr",
3933
- "value": 25.0
3930
+ "value": 25.0,
3931
+ "date": "Apr"
3934
3932
  },
3935
3933
  {
3936
- "value": 22.0,
3937
- "date": "May"
3934
+ "date": "May",
3935
+ "value": 22.0
3938
3936
  },
3939
3937
  {
3940
3938
  "date": "Jun",
@@ -3946,52 +3944,54 @@
3946
3944
  "type": "chart-legend",
3947
3945
  "items": [
3948
3946
  {
3949
- "color": "primary",
3950
- "label": "Current"
3947
+ "label": "Current",
3948
+ "color": "primary"
3951
3949
  },
3952
3950
  {
3953
- "label": "Previous",
3954
- "color": "muted"
3951
+ "color": "muted",
3952
+ "label": "Previous"
3955
3953
  }
3956
3954
  ]
3957
3955
  },
3958
3956
  {
3959
- "width": 400.0,
3957
+ "height": 200.0,
3958
+ "edges": [
3959
+ {
3960
+ "from": "a",
3961
+ "to": "b"
3962
+ },
3963
+ {
3964
+ "from": "b",
3965
+ "to": "c"
3966
+ }
3967
+ ],
3960
3968
  "nodes": [
3961
3969
  {
3970
+ "x": 50.0,
3962
3971
  "y": 100.0,
3963
3972
  "label": "Start",
3964
- "id": "a",
3965
- "x": 50.0
3973
+ "id": "a"
3966
3974
  },
3967
3975
  {
3968
3976
  "x": 200.0,
3969
- "label": "Process",
3970
3977
  "id": "b",
3978
+ "label": "Process",
3971
3979
  "y": 50.0
3972
3980
  },
3973
3981
  {
3974
3982
  "id": "c",
3975
3983
  "y": 100.0,
3976
- "x": 350.0,
3977
- "label": "End"
3984
+ "label": "End",
3985
+ "x": 350.0
3978
3986
  }
3979
3987
  ],
3980
3988
  "type": "graph-view",
3981
- "height": 200.0,
3982
- "edges": [
3983
- {
3984
- "from": "a",
3985
- "to": "b"
3986
- },
3987
- {
3988
- "from": "b",
3989
- "to": "c"
3990
- }
3991
- ]
3989
+ "width": 400.0
3992
3990
  }
3993
3991
  ],
3994
- "gap": "lg"
3992
+ "gap": "lg",
3993
+ "type": "stack",
3994
+ "direction": "vertical"
3995
3995
  }
3996
3996
  ]
3997
3997
  }
@@ -4020,38 +4020,37 @@
4020
4020
  "main",
4021
4021
  {
4022
4022
  "type": "dashboard-layout",
4023
+ "appName": "CRM",
4023
4024
  "navItems": [
4024
4025
  {
4026
+ "icon": "users",
4025
4027
  "href": "/contacts",
4026
- "label": "Contacts",
4027
- "icon": "users"
4028
+ "label": "Contacts"
4028
4029
  },
4029
4030
  {
4030
4031
  "icon": "briefcase",
4031
- "href": "/deals",
4032
- "label": "Deals"
4032
+ "label": "Deals",
4033
+ "href": "/deals"
4033
4034
  },
4034
4035
  {
4036
+ "label": "Pipeline",
4035
4037
  "href": "/pipeline",
4036
- "icon": "bar-chart-2",
4037
- "label": "Pipeline"
4038
+ "icon": "bar-chart-2"
4038
4039
  },
4039
4040
  {
4040
- "href": "/notes",
4041
4041
  "icon": "file-text",
4042
- "label": "Notes"
4042
+ "label": "Notes",
4043
+ "href": "/notes"
4043
4044
  }
4044
4045
  ],
4045
4046
  "children": [
4046
4047
  {
4048
+ "type": "scaled-diagram",
4047
4049
  "children": [
4048
4050
  {
4049
4051
  "type": "stack",
4050
- "direction": "vertical",
4051
- "gap": "lg",
4052
4052
  "children": [
4053
4053
  {
4054
- "type": "breadcrumb",
4055
4054
  "items": [
4056
4055
  {
4057
4056
  "label": "Home",
@@ -4060,18 +4059,18 @@
4060
4059
  {
4061
4060
  "label": "Pipeline"
4062
4061
  }
4063
- ]
4062
+ ],
4063
+ "type": "breadcrumb"
4064
4064
  },
4065
4065
  {
4066
- "type": "stack",
4067
- "direction": "horizontal",
4068
4066
  "children": [
4069
4067
  {
4070
4068
  "type": "stack",
4069
+ "gap": "md",
4071
4070
  "children": [
4072
4071
  {
4073
- "type": "icon",
4074
- "name": "bar-chart-2"
4072
+ "name": "bar-chart-2",
4073
+ "type": "icon"
4075
4074
  },
4076
4075
  {
4077
4076
  "variant": "h2",
@@ -4079,24 +4078,26 @@
4079
4078
  "content": "Pipeline"
4080
4079
  }
4081
4080
  ],
4082
- "direction": "horizontal",
4083
- "gap": "md"
4081
+ "direction": "horizontal"
4084
4082
  },
4085
4083
  {
4086
4084
  "type": "button",
4087
- "label": "Refresh",
4088
4085
  "icon": "refresh-cw",
4089
- "variant": "secondary",
4090
- "action": "REFRESH"
4086
+ "label": "Refresh",
4087
+ "action": "REFRESH",
4088
+ "variant": "secondary"
4091
4089
  }
4092
4090
  ],
4093
- "gap": "md",
4094
- "justify": "between"
4091
+ "direction": "horizontal",
4092
+ "justify": "between",
4093
+ "type": "stack",
4094
+ "gap": "md"
4095
4095
  },
4096
4096
  {
4097
4097
  "type": "divider"
4098
4098
  },
4099
4099
  {
4100
+ "padding": "md",
4100
4101
  "children": [
4101
4102
  {
4102
4103
  "type": "simple-grid",
@@ -4114,6 +4115,8 @@
4114
4115
  ]
4115
4116
  },
4116
4117
  {
4118
+ "type": "stat-display",
4119
+ "label": "TotalValue",
4117
4120
  "value": [
4118
4121
  "object/get",
4119
4122
  [
@@ -4121,12 +4124,9 @@
4121
4124
  "@entity"
4122
4125
  ],
4123
4126
  "totalValue"
4124
- ],
4125
- "label": "TotalValue",
4126
- "type": "stat-display"
4127
+ ]
4127
4128
  },
4128
4129
  {
4129
- "type": "stat-display",
4130
4130
  "label": "WonDeals",
4131
4131
  "value": [
4132
4132
  "object/get",
@@ -4135,10 +4135,10 @@
4135
4135
  "@entity"
4136
4136
  ],
4137
4137
  "wonDeals"
4138
- ]
4138
+ ],
4139
+ "type": "stat-display"
4139
4140
  },
4140
4141
  {
4141
- "label": "LostDeals",
4142
4142
  "value": [
4143
4143
  "object/get",
4144
4144
  [
@@ -4147,11 +4147,12 @@
4147
4147
  ],
4148
4148
  "lostDeals"
4149
4149
  ],
4150
- "type": "stat-display"
4150
+ "type": "stat-display",
4151
+ "label": "LostDeals"
4151
4152
  },
4152
4153
  {
4153
- "label": "ConversionRate",
4154
4154
  "type": "stat-display",
4155
+ "label": "ConversionRate",
4155
4156
  "value": [
4156
4157
  "object/get",
4157
4158
  [
@@ -4165,38 +4166,37 @@
4165
4166
  "cols": 3.0
4166
4167
  }
4167
4168
  ],
4168
- "padding": "md",
4169
4169
  "type": "box"
4170
4170
  },
4171
4171
  {
4172
4172
  "type": "divider"
4173
4173
  },
4174
4174
  {
4175
- "type": "grid",
4176
- "cols": 2.0,
4177
4175
  "children": [
4178
4176
  {
4179
4177
  "type": "card",
4180
4178
  "children": [
4181
4179
  {
4182
- "variant": "caption",
4183
4180
  "type": "typography",
4184
- "content": "Chart View"
4181
+ "content": "Chart View",
4182
+ "variant": "caption"
4185
4183
  }
4186
4184
  ]
4187
4185
  },
4188
4186
  {
4187
+ "type": "card",
4189
4188
  "children": [
4190
4189
  {
4191
4190
  "type": "typography",
4192
- "variant": "caption",
4193
- "content": "Graph View"
4191
+ "content": "Graph View",
4192
+ "variant": "caption"
4194
4193
  }
4195
- ],
4196
- "type": "card"
4194
+ ]
4197
4195
  }
4198
4196
  ],
4199
- "gap": "md"
4197
+ "gap": "md",
4198
+ "type": "grid",
4199
+ "cols": 2.0
4200
4200
  },
4201
4201
  {
4202
4202
  "data": [
@@ -4209,8 +4209,8 @@
4209
4209
  "date": "Feb"
4210
4210
  },
4211
4211
  {
4212
- "date": "Mar",
4213
- "value": 15.0
4212
+ "value": 15.0,
4213
+ "date": "Mar"
4214
4214
  },
4215
4215
  {
4216
4216
  "date": "Apr",
@@ -4221,8 +4221,8 @@
4221
4221
  "value": 22.0
4222
4222
  },
4223
4223
  {
4224
- "date": "Jun",
4225
- "value": 30.0
4224
+ "value": 30.0,
4225
+ "date": "Jun"
4226
4226
  }
4227
4227
  ],
4228
4228
  "type": "line-chart"
@@ -4235,53 +4235,53 @@
4235
4235
  "label": "Current"
4236
4236
  },
4237
4237
  {
4238
- "label": "Previous",
4239
- "color": "muted"
4238
+ "color": "muted",
4239
+ "label": "Previous"
4240
4240
  }
4241
4241
  ]
4242
4242
  },
4243
4243
  {
4244
- "width": 400.0,
4245
4244
  "type": "graph-view",
4246
- "height": 200.0,
4245
+ "edges": [
4246
+ {
4247
+ "from": "a",
4248
+ "to": "b"
4249
+ },
4250
+ {
4251
+ "to": "c",
4252
+ "from": "b"
4253
+ }
4254
+ ],
4247
4255
  "nodes": [
4248
4256
  {
4249
- "label": "Start",
4250
- "x": 50.0,
4257
+ "id": "a",
4251
4258
  "y": 100.0,
4252
- "id": "a"
4259
+ "x": 50.0,
4260
+ "label": "Start"
4253
4261
  },
4254
4262
  {
4255
- "id": "b",
4263
+ "label": "Process",
4256
4264
  "y": 50.0,
4257
- "x": 200.0,
4258
- "label": "Process"
4265
+ "id": "b",
4266
+ "x": 200.0
4259
4267
  },
4260
4268
  {
4261
4269
  "x": 350.0,
4262
- "label": "End",
4263
4270
  "id": "c",
4271
+ "label": "End",
4264
4272
  "y": 100.0
4265
4273
  }
4266
4274
  ],
4267
- "edges": [
4268
- {
4269
- "to": "b",
4270
- "from": "a"
4271
- },
4272
- {
4273
- "to": "c",
4274
- "from": "b"
4275
- }
4276
- ]
4275
+ "width": 400.0,
4276
+ "height": 200.0
4277
4277
  }
4278
- ]
4278
+ ],
4279
+ "gap": "lg",
4280
+ "direction": "vertical"
4279
4281
  }
4280
- ],
4281
- "type": "scaled-diagram"
4282
+ ]
4282
4283
  }
4283
- ],
4284
- "appName": "CRM"
4284
+ ]
4285
4285
  }
4286
4286
  ]
4287
4287
  ]
@@ -4296,8 +4296,8 @@
4296
4296
  "Pipeline",
4297
4297
  {
4298
4298
  "emit": {
4299
- "success": "PipelineLoaded",
4300
- "failure": "PipelineLoadFailed"
4299
+ "failure": "PipelineLoadFailed",
4300
+ "success": "PipelineLoaded"
4301
4301
  }
4302
4302
  }
4303
4303
  ],
@@ -4306,22 +4306,42 @@
4306
4306
  "main",
4307
4307
  {
4308
4308
  "type": "dashboard-layout",
4309
- "appName": "CRM",
4309
+ "navItems": [
4310
+ {
4311
+ "label": "Contacts",
4312
+ "icon": "users",
4313
+ "href": "/contacts"
4314
+ },
4315
+ {
4316
+ "label": "Deals",
4317
+ "icon": "briefcase",
4318
+ "href": "/deals"
4319
+ },
4320
+ {
4321
+ "icon": "bar-chart-2",
4322
+ "label": "Pipeline",
4323
+ "href": "/pipeline"
4324
+ },
4325
+ {
4326
+ "icon": "file-text",
4327
+ "label": "Notes",
4328
+ "href": "/notes"
4329
+ }
4330
+ ],
4310
4331
  "children": [
4311
4332
  {
4312
4333
  "type": "scaled-diagram",
4313
4334
  "children": [
4314
4335
  {
4315
- "direction": "vertical",
4316
4336
  "type": "stack",
4317
- "gap": "lg",
4337
+ "direction": "vertical",
4318
4338
  "children": [
4319
4339
  {
4320
4340
  "type": "breadcrumb",
4321
4341
  "items": [
4322
4342
  {
4323
- "label": "Home",
4324
- "href": "/"
4343
+ "href": "/",
4344
+ "label": "Home"
4325
4345
  },
4326
4346
  {
4327
4347
  "label": "Pipeline"
@@ -4329,21 +4349,23 @@
4329
4349
  ]
4330
4350
  },
4331
4351
  {
4352
+ "direction": "horizontal",
4353
+ "justify": "between",
4332
4354
  "gap": "md",
4333
4355
  "type": "stack",
4334
4356
  "children": [
4335
4357
  {
4358
+ "type": "stack",
4336
4359
  "direction": "horizontal",
4337
4360
  "gap": "md",
4338
- "type": "stack",
4339
4361
  "children": [
4340
4362
  {
4341
4363
  "name": "bar-chart-2",
4342
4364
  "type": "icon"
4343
4365
  },
4344
4366
  {
4345
- "content": "Pipeline",
4346
4367
  "type": "typography",
4368
+ "content": "Pipeline",
4347
4369
  "variant": "h2"
4348
4370
  }
4349
4371
  ]
@@ -4355,20 +4377,22 @@
4355
4377
  "label": "Refresh",
4356
4378
  "icon": "refresh-cw"
4357
4379
  }
4358
- ],
4359
- "justify": "between",
4360
- "direction": "horizontal"
4380
+ ]
4361
4381
  },
4362
4382
  {
4363
4383
  "type": "divider"
4364
4384
  },
4365
4385
  {
4386
+ "padding": "md",
4366
4387
  "type": "box",
4367
4388
  "children": [
4368
4389
  {
4369
4390
  "cols": 3.0,
4391
+ "type": "simple-grid",
4370
4392
  "children": [
4371
4393
  {
4394
+ "label": "TotalDeals",
4395
+ "type": "stat-display",
4372
4396
  "value": [
4373
4397
  "object/get",
4374
4398
  [
@@ -4376,13 +4400,9 @@
4376
4400
  "@entity"
4377
4401
  ],
4378
4402
  "totalDeals"
4379
- ],
4380
- "type": "stat-display",
4381
- "label": "TotalDeals"
4403
+ ]
4382
4404
  },
4383
4405
  {
4384
- "type": "stat-display",
4385
- "label": "TotalValue",
4386
4406
  "value": [
4387
4407
  "object/get",
4388
4408
  [
@@ -4390,9 +4410,13 @@
4390
4410
  "@entity"
4391
4411
  ],
4392
4412
  "totalValue"
4393
- ]
4413
+ ],
4414
+ "type": "stat-display",
4415
+ "label": "TotalValue"
4394
4416
  },
4395
4417
  {
4418
+ "label": "WonDeals",
4419
+ "type": "stat-display",
4396
4420
  "value": [
4397
4421
  "object/get",
4398
4422
  [
@@ -4400,12 +4424,9 @@
4400
4424
  "@entity"
4401
4425
  ],
4402
4426
  "wonDeals"
4403
- ],
4404
- "type": "stat-display",
4405
- "label": "WonDeals"
4427
+ ]
4406
4428
  },
4407
4429
  {
4408
- "label": "LostDeals",
4409
4430
  "type": "stat-display",
4410
4431
  "value": [
4411
4432
  "object/get",
@@ -4414,10 +4435,12 @@
4414
4435
  "@entity"
4415
4436
  ],
4416
4437
  "lostDeals"
4417
- ]
4438
+ ],
4439
+ "label": "LostDeals"
4418
4440
  },
4419
4441
  {
4420
4442
  "label": "ConversionRate",
4443
+ "type": "stat-display",
4421
4444
  "value": [
4422
4445
  "object/get",
4423
4446
  [
@@ -4425,44 +4448,41 @@
4425
4448
  "@entity"
4426
4449
  ],
4427
4450
  "conversionRate"
4428
- ],
4429
- "type": "stat-display"
4451
+ ]
4430
4452
  }
4431
- ],
4432
- "type": "simple-grid"
4453
+ ]
4433
4454
  }
4434
- ],
4435
- "padding": "md"
4455
+ ]
4436
4456
  },
4437
4457
  {
4438
4458
  "type": "divider"
4439
4459
  },
4440
4460
  {
4441
- "type": "grid",
4442
- "gap": "md",
4461
+ "cols": 2.0,
4443
4462
  "children": [
4444
4463
  {
4445
4464
  "children": [
4446
4465
  {
4447
- "variant": "caption",
4448
4466
  "content": "Chart View",
4467
+ "variant": "caption",
4449
4468
  "type": "typography"
4450
4469
  }
4451
4470
  ],
4452
4471
  "type": "card"
4453
4472
  },
4454
4473
  {
4474
+ "type": "card",
4455
4475
  "children": [
4456
4476
  {
4457
- "content": "Graph View",
4458
4477
  "type": "typography",
4478
+ "content": "Graph View",
4459
4479
  "variant": "caption"
4460
4480
  }
4461
- ],
4462
- "type": "card"
4481
+ ]
4463
4482
  }
4464
4483
  ],
4465
- "cols": 2.0
4484
+ "type": "grid",
4485
+ "gap": "md"
4466
4486
  },
4467
4487
  {
4468
4488
  "type": "line-chart",
@@ -4472,8 +4492,8 @@
4472
4492
  "date": "Jan"
4473
4493
  },
4474
4494
  {
4475
- "value": 19.0,
4476
- "date": "Feb"
4495
+ "date": "Feb",
4496
+ "value": 19.0
4477
4497
  },
4478
4498
  {
4479
4499
  "date": "Mar",
@@ -4484,90 +4504,70 @@
4484
4504
  "value": 25.0
4485
4505
  },
4486
4506
  {
4487
- "date": "May",
4488
- "value": 22.0
4507
+ "value": 22.0,
4508
+ "date": "May"
4489
4509
  },
4490
4510
  {
4491
- "date": "Jun",
4492
- "value": 30.0
4511
+ "value": 30.0,
4512
+ "date": "Jun"
4493
4513
  }
4494
4514
  ]
4495
4515
  },
4496
4516
  {
4517
+ "type": "chart-legend",
4497
4518
  "items": [
4498
4519
  {
4499
- "color": "primary",
4500
- "label": "Current"
4520
+ "label": "Current",
4521
+ "color": "primary"
4501
4522
  },
4502
4523
  {
4503
- "label": "Previous",
4504
- "color": "muted"
4524
+ "color": "muted",
4525
+ "label": "Previous"
4505
4526
  }
4506
- ],
4507
- "type": "chart-legend"
4527
+ ]
4508
4528
  },
4509
4529
  {
4530
+ "edges": [
4531
+ {
4532
+ "from": "a",
4533
+ "to": "b"
4534
+ },
4535
+ {
4536
+ "to": "c",
4537
+ "from": "b"
4538
+ }
4539
+ ],
4510
4540
  "nodes": [
4511
4541
  {
4512
- "x": 50.0,
4513
- "label": "Start",
4514
4542
  "id": "a",
4543
+ "label": "Start",
4544
+ "x": 50.0,
4515
4545
  "y": 100.0
4516
4546
  },
4517
4547
  {
4548
+ "id": "b",
4518
4549
  "label": "Process",
4519
4550
  "y": 50.0,
4520
- "id": "b",
4521
4551
  "x": 200.0
4522
4552
  },
4523
4553
  {
4524
- "y": 100.0,
4525
- "label": "End",
4526
4554
  "id": "c",
4527
- "x": 350.0
4555
+ "x": 350.0,
4556
+ "y": 100.0,
4557
+ "label": "End"
4528
4558
  }
4529
4559
  ],
4530
- "width": 400.0,
4560
+ "height": 200.0,
4531
4561
  "type": "graph-view",
4532
- "edges": [
4533
- {
4534
- "from": "a",
4535
- "to": "b"
4536
- },
4537
- {
4538
- "to": "c",
4539
- "from": "b"
4540
- }
4541
- ],
4542
- "height": 200.0
4562
+ "width": 400.0
4543
4563
  }
4544
- ]
4564
+ ],
4565
+ "gap": "lg"
4545
4566
  }
4546
4567
  ]
4547
4568
  }
4548
4569
  ],
4549
- "navItems": [
4550
- {
4551
- "href": "/contacts",
4552
- "icon": "users",
4553
- "label": "Contacts"
4554
- },
4555
- {
4556
- "href": "/deals",
4557
- "icon": "briefcase",
4558
- "label": "Deals"
4559
- },
4560
- {
4561
- "icon": "bar-chart-2",
4562
- "href": "/pipeline",
4563
- "label": "Pipeline"
4564
- },
4565
- {
4566
- "href": "/notes",
4567
- "icon": "file-text",
4568
- "label": "Notes"
4569
- }
4570
- ]
4570
+ "appName": "CRM"
4571
4571
  }
4572
4572
  ]
4573
4573
  ]
@@ -4591,42 +4591,21 @@
4591
4591
  "render-ui",
4592
4592
  "main",
4593
4593
  {
4594
- "navItems": [
4595
- {
4596
- "icon": "users",
4597
- "label": "Contacts",
4598
- "href": "/contacts"
4599
- },
4600
- {
4601
- "icon": "briefcase",
4602
- "label": "Deals",
4603
- "href": "/deals"
4604
- },
4605
- {
4606
- "label": "Pipeline",
4607
- "icon": "bar-chart-2",
4608
- "href": "/pipeline"
4609
- },
4610
- {
4611
- "label": "Notes",
4612
- "icon": "file-text",
4613
- "href": "/notes"
4614
- }
4615
- ],
4594
+ "type": "dashboard-layout",
4616
4595
  "children": [
4617
4596
  {
4618
4597
  "type": "scaled-diagram",
4619
4598
  "children": [
4620
4599
  {
4621
- "type": "stack",
4622
4600
  "direction": "vertical",
4601
+ "type": "stack",
4623
4602
  "gap": "lg",
4624
4603
  "children": [
4625
4604
  {
4626
4605
  "items": [
4627
4606
  {
4628
- "label": "Home",
4629
- "href": "/"
4607
+ "href": "/",
4608
+ "label": "Home"
4630
4609
  },
4631
4610
  {
4632
4611
  "label": "Pipeline"
@@ -4635,35 +4614,35 @@
4635
4614
  "type": "breadcrumb"
4636
4615
  },
4637
4616
  {
4617
+ "type": "stack",
4618
+ "direction": "horizontal",
4619
+ "gap": "md",
4620
+ "justify": "between",
4638
4621
  "children": [
4639
4622
  {
4640
- "direction": "horizontal",
4641
4623
  "children": [
4642
4624
  {
4643
- "type": "icon",
4644
- "name": "bar-chart-2"
4625
+ "name": "bar-chart-2",
4626
+ "type": "icon"
4645
4627
  },
4646
4628
  {
4629
+ "variant": "h2",
4647
4630
  "type": "typography",
4648
- "content": "Pipeline",
4649
- "variant": "h2"
4631
+ "content": "Pipeline"
4650
4632
  }
4651
4633
  ],
4652
4634
  "type": "stack",
4653
- "gap": "md"
4635
+ "gap": "md",
4636
+ "direction": "horizontal"
4654
4637
  },
4655
4638
  {
4639
+ "action": "REFRESH",
4656
4640
  "type": "button",
4641
+ "icon": "refresh-cw",
4657
4642
  "label": "Refresh",
4658
- "action": "REFRESH",
4659
- "variant": "secondary",
4660
- "icon": "refresh-cw"
4643
+ "variant": "secondary"
4661
4644
  }
4662
- ],
4663
- "justify": "between",
4664
- "type": "stack",
4665
- "direction": "horizontal",
4666
- "gap": "md"
4645
+ ]
4667
4646
  },
4668
4647
  {
4669
4648
  "type": "divider"
@@ -4674,6 +4653,7 @@
4674
4653
  {
4675
4654
  "children": [
4676
4655
  {
4656
+ "label": "TotalDeals",
4677
4657
  "value": [
4678
4658
  "object/get",
4679
4659
  [
@@ -4682,10 +4662,11 @@
4682
4662
  ],
4683
4663
  "totalDeals"
4684
4664
  ],
4685
- "label": "TotalDeals",
4686
4665
  "type": "stat-display"
4687
4666
  },
4688
4667
  {
4668
+ "label": "TotalValue",
4669
+ "type": "stat-display",
4689
4670
  "value": [
4690
4671
  "object/get",
4691
4672
  [
@@ -4693,13 +4674,9 @@
4693
4674
  "@entity"
4694
4675
  ],
4695
4676
  "totalValue"
4696
- ],
4697
- "type": "stat-display",
4698
- "label": "TotalValue"
4677
+ ]
4699
4678
  },
4700
4679
  {
4701
- "type": "stat-display",
4702
- "label": "WonDeals",
4703
4680
  "value": [
4704
4681
  "object/get",
4705
4682
  [
@@ -4707,11 +4684,11 @@
4707
4684
  "@entity"
4708
4685
  ],
4709
4686
  "wonDeals"
4710
- ]
4687
+ ],
4688
+ "label": "WonDeals",
4689
+ "type": "stat-display"
4711
4690
  },
4712
4691
  {
4713
- "type": "stat-display",
4714
- "label": "LostDeals",
4715
4692
  "value": [
4716
4693
  "object/get",
4717
4694
  [
@@ -4719,9 +4696,12 @@
4719
4696
  "@entity"
4720
4697
  ],
4721
4698
  "lostDeals"
4722
- ]
4699
+ ],
4700
+ "type": "stat-display",
4701
+ "label": "LostDeals"
4723
4702
  },
4724
4703
  {
4704
+ "type": "stat-display",
4725
4705
  "value": [
4726
4706
  "object/get",
4727
4707
  [
@@ -4730,12 +4710,11 @@
4730
4710
  ],
4731
4711
  "conversionRate"
4732
4712
  ],
4733
- "type": "stat-display",
4734
4713
  "label": "ConversionRate"
4735
4714
  }
4736
4715
  ],
4737
- "type": "simple-grid",
4738
- "cols": 3.0
4716
+ "cols": 3.0,
4717
+ "type": "simple-grid"
4739
4718
  }
4740
4719
  ],
4741
4720
  "type": "box"
@@ -4744,19 +4723,18 @@
4744
4723
  "type": "divider"
4745
4724
  },
4746
4725
  {
4747
- "type": "grid",
4748
- "cols": 2.0,
4749
4726
  "gap": "md",
4727
+ "cols": 2.0,
4750
4728
  "children": [
4751
4729
  {
4730
+ "type": "card",
4752
4731
  "children": [
4753
4732
  {
4754
- "variant": "caption",
4755
4733
  "content": "Chart View",
4756
- "type": "typography"
4734
+ "type": "typography",
4735
+ "variant": "caption"
4757
4736
  }
4758
- ],
4759
- "type": "card"
4737
+ ]
4760
4738
  },
4761
4739
  {
4762
4740
  "type": "card",
@@ -4768,10 +4746,10 @@
4768
4746
  }
4769
4747
  ]
4770
4748
  }
4771
- ]
4749
+ ],
4750
+ "type": "grid"
4772
4751
  },
4773
4752
  {
4774
- "type": "line-chart",
4775
4753
  "data": [
4776
4754
  {
4777
4755
  "date": "Jan",
@@ -4786,53 +4764,52 @@
4786
4764
  "value": 15.0
4787
4765
  },
4788
4766
  {
4789
- "value": 25.0,
4790
- "date": "Apr"
4767
+ "date": "Apr",
4768
+ "value": 25.0
4791
4769
  },
4792
4770
  {
4793
4771
  "date": "May",
4794
4772
  "value": 22.0
4795
4773
  },
4796
4774
  {
4797
- "date": "Jun",
4798
- "value": 30.0
4775
+ "value": 30.0,
4776
+ "date": "Jun"
4799
4777
  }
4800
- ]
4778
+ ],
4779
+ "type": "line-chart"
4801
4780
  },
4802
4781
  {
4782
+ "type": "chart-legend",
4803
4783
  "items": [
4804
4784
  {
4805
- "label": "Current",
4806
- "color": "primary"
4785
+ "color": "primary",
4786
+ "label": "Current"
4807
4787
  },
4808
4788
  {
4809
- "label": "Previous",
4810
- "color": "muted"
4789
+ "color": "muted",
4790
+ "label": "Previous"
4811
4791
  }
4812
- ],
4813
- "type": "chart-legend"
4792
+ ]
4814
4793
  },
4815
4794
  {
4816
- "height": 200.0,
4817
- "type": "graph-view",
4818
4795
  "nodes": [
4819
4796
  {
4797
+ "label": "Start",
4820
4798
  "x": 50.0,
4821
- "id": "a",
4822
4799
  "y": 100.0,
4823
- "label": "Start"
4800
+ "id": "a"
4824
4801
  },
4825
4802
  {
4826
- "label": "Process",
4827
- "id": "b",
4803
+ "x": 200.0,
4828
4804
  "y": 50.0,
4829
- "x": 200.0
4805
+ "id": "b",
4806
+ "label": "Process"
4830
4807
  },
4831
4808
  {
4832
- "label": "End",
4833
4809
  "id": "c",
4834
- "y": 100.0,
4835
- "x": 350.0
4810
+ "label": "End",
4811
+ "x": 350.0,
4812
+ "y": 100.0
4836
4813
  }
4837
4814
  ],
4838
4815
  "edges": [
@@ -4841,10 +4818,12 @@
4841
4818
  "from": "a"
4842
4819
  },
4843
4820
  {
4844
- "from": "b",
4845
- "to": "c"
4821
+ "to": "c",
4822
+ "from": "b"
4846
4823
  }
4847
4824
  ],
4825
+ "height": 200.0,
4826
+ "type": "graph-view",
4848
4827
  "width": 400.0
4849
4828
  }
4850
4829
  ]
@@ -4852,8 +4831,29 @@
4852
4831
  ]
4853
4832
  }
4854
4833
  ],
4855
- "type": "dashboard-layout",
4856
- "appName": "CRM"
4834
+ "appName": "CRM",
4835
+ "navItems": [
4836
+ {
4837
+ "href": "/contacts",
4838
+ "icon": "users",
4839
+ "label": "Contacts"
4840
+ },
4841
+ {
4842
+ "href": "/deals",
4843
+ "label": "Deals",
4844
+ "icon": "briefcase"
4845
+ },
4846
+ {
4847
+ "label": "Pipeline",
4848
+ "href": "/pipeline",
4849
+ "icon": "bar-chart-2"
4850
+ },
4851
+ {
4852
+ "href": "/notes",
4853
+ "label": "Notes",
4854
+ "icon": "file-text"
4855
+ }
4856
+ ]
4857
4857
  }
4858
4858
  ]
4859
4859
  ]
@@ -5024,6 +5024,7 @@
5024
5024
  "render-ui",
5025
5025
  "main",
5026
5026
  {
5027
+ "appName": "CRM",
5027
5028
  "navItems": [
5028
5029
  {
5029
5030
  "href": "/contacts",
@@ -5031,89 +5032,92 @@
5031
5032
  "icon": "users"
5032
5033
  },
5033
5034
  {
5034
- "href": "/deals",
5035
5035
  "icon": "briefcase",
5036
+ "href": "/deals",
5036
5037
  "label": "Deals"
5037
5038
  },
5038
5039
  {
5039
- "icon": "bar-chart-2",
5040
5040
  "href": "/pipeline",
5041
- "label": "Pipeline"
5041
+ "label": "Pipeline",
5042
+ "icon": "bar-chart-2"
5042
5043
  },
5043
5044
  {
5044
- "href": "/notes",
5045
5045
  "icon": "file-text",
5046
+ "href": "/notes",
5046
5047
  "label": "Notes"
5047
5048
  }
5048
5049
  ],
5049
- "type": "dashboard-layout",
5050
5050
  "children": [
5051
5051
  {
5052
+ "type": "stack",
5053
+ "direction": "vertical",
5054
+ "gap": "lg",
5055
+ "className": "max-w-5xl mx-auto w-full",
5052
5056
  "children": [
5053
5057
  {
5054
- "type": "stack",
5058
+ "gap": "md",
5055
5059
  "direction": "horizontal",
5056
- "align": "center",
5057
5060
  "justify": "between",
5061
+ "align": "center",
5062
+ "type": "stack",
5058
5063
  "children": [
5059
5064
  {
5065
+ "gap": "sm",
5060
5066
  "children": [
5061
5067
  {
5062
- "type": "icon",
5063
- "name": "file-text"
5068
+ "name": "file-text",
5069
+ "type": "icon"
5064
5070
  },
5065
5071
  {
5066
- "variant": "h2",
5067
5072
  "type": "typography",
5068
- "content": "Notes"
5073
+ "content": "Notes",
5074
+ "variant": "h2"
5069
5075
  }
5070
5076
  ],
5071
- "direction": "horizontal",
5072
- "align": "center",
5073
5077
  "type": "stack",
5074
- "gap": "sm"
5078
+ "direction": "horizontal",
5079
+ "align": "center"
5075
5080
  },
5076
5081
  {
5077
- "gap": "sm",
5078
- "direction": "horizontal",
5079
- "type": "stack",
5080
5082
  "children": [
5081
5083
  {
5084
+ "variant": "primary",
5082
5085
  "icon": "edit",
5083
- "type": "button",
5084
5086
  "label": "Compose",
5085
- "variant": "primary",
5087
+ "type": "button",
5086
5088
  "action": "COMPOSE"
5087
5089
  }
5088
- ]
5090
+ ],
5091
+ "type": "stack",
5092
+ "gap": "sm",
5093
+ "direction": "horizontal"
5089
5094
  }
5090
- ],
5091
- "gap": "md"
5095
+ ]
5092
5096
  },
5093
5097
  {
5094
5098
  "type": "divider"
5095
5099
  },
5096
5100
  {
5097
- "fields": [],
5098
5101
  "entity": "Note",
5099
- "gap": "sm",
5100
5102
  "columns": [
5101
5103
  {
5102
- "icon": "file-text",
5103
5104
  "name": "subject",
5104
- "variant": "h4"
5105
+ "variant": "h4",
5106
+ "icon": "file-text"
5105
5107
  },
5106
5108
  {
5107
5109
  "name": "author",
5108
5110
  "variant": "caption"
5109
5111
  },
5110
5112
  {
5111
- "format": "date",
5113
+ "variant": "caption",
5112
5114
  "name": "createdAt",
5113
- "variant": "caption"
5115
+ "format": "date"
5114
5116
  }
5115
5117
  ],
5116
5118
  "type": "data-list",
5119
+ "gap": "sm",
5120
+ "fields": [],
5117
5121
  "itemActions": [
5118
5122
  {
5119
5123
  "event": "VIEW",
@@ -5123,14 +5127,10 @@
5123
5127
  ],
5124
5128
  "variant": "card"
5125
5129
  }
5126
- ],
5127
- "type": "stack",
5128
- "gap": "lg",
5129
- "direction": "vertical",
5130
- "className": "max-w-5xl mx-auto w-full"
5130
+ ]
5131
5131
  }
5132
5132
  ],
5133
- "appName": "CRM"
5133
+ "type": "dashboard-layout"
5134
5134
  }
5135
5135
  ]
5136
5136
  ]
@@ -5279,42 +5279,42 @@
5279
5279
  "render-ui",
5280
5280
  "modal",
5281
5281
  {
5282
+ "type": "stack",
5283
+ "direction": "vertical",
5284
+ "gap": "md",
5282
5285
  "children": [
5283
5286
  {
5287
+ "direction": "horizontal",
5288
+ "type": "stack",
5289
+ "gap": "sm",
5284
5290
  "children": [
5285
5291
  {
5286
5292
  "type": "icon",
5287
5293
  "name": "edit"
5288
5294
  },
5289
5295
  {
5290
- "variant": "h3",
5296
+ "content": "New Note",
5291
5297
  "type": "typography",
5292
- "content": "New Note"
5298
+ "variant": "h3"
5293
5299
  }
5294
- ],
5295
- "type": "stack",
5296
- "direction": "horizontal",
5297
- "gap": "sm"
5300
+ ]
5298
5301
  },
5299
5302
  {
5300
5303
  "type": "divider"
5301
5304
  },
5302
5305
  {
5303
- "mode": "create",
5304
- "entity": "Note",
5305
5306
  "fields": [
5306
5307
  "subject",
5307
5308
  "body",
5308
5309
  "author"
5309
5310
  ],
5310
- "cancelEvent": "CLOSE",
5311
+ "entity": "Note",
5312
+ "mode": "create",
5311
5313
  "type": "form-section",
5312
- "submitEvent": "SEND"
5314
+ "submitEvent": "SEND",
5315
+ "cancelEvent": "CLOSE"
5313
5316
  }
5314
- ],
5315
- "direction": "vertical",
5316
- "type": "stack",
5317
- "gap": "md"
5317
+ ]
5318
5318
  }
5319
5319
  ]
5320
5320
  ]
@@ -5509,61 +5509,64 @@
5509
5509
  "fetch",
5510
5510
  "Note",
5511
5511
  {
5512
- "id": "@payload.id",
5513
5512
  "emit": {
5514
5513
  "failure": "NoteLoadFailed",
5515
5514
  "success": "NoteLoaded"
5516
- }
5515
+ },
5516
+ "id": "@payload.id"
5517
5517
  }
5518
5518
  ],
5519
5519
  [
5520
5520
  "render-ui",
5521
5521
  "modal",
5522
5522
  {
5523
+ "gap": "md",
5523
5524
  "children": [
5524
5525
  {
5525
- "align": "center",
5526
+ "direction": "horizontal",
5527
+ "type": "stack",
5526
5528
  "gap": "sm",
5529
+ "align": "center",
5527
5530
  "children": [
5528
5531
  {
5529
- "name": "eye",
5530
- "type": "icon"
5532
+ "type": "icon",
5533
+ "name": "eye"
5531
5534
  },
5532
5535
  {
5533
5536
  "variant": "h3",
5534
- "type": "typography",
5535
- "content": "@entity.subject"
5537
+ "content": "@entity.subject",
5538
+ "type": "typography"
5536
5539
  }
5537
- ],
5538
- "type": "stack",
5539
- "direction": "horizontal"
5540
+ ]
5540
5541
  },
5541
5542
  {
5542
5543
  "type": "divider"
5543
5544
  },
5544
5545
  {
5545
- "gap": "md",
5546
- "type": "stack",
5547
- "direction": "horizontal",
5548
5546
  "children": [
5549
5547
  {
5550
- "type": "typography",
5551
5548
  "variant": "caption",
5549
+ "type": "typography",
5552
5550
  "content": "Subject"
5553
5551
  },
5554
5552
  {
5555
- "variant": "body",
5553
+ "content": "@entity.subject",
5556
5554
  "type": "typography",
5557
- "content": "@entity.subject"
5555
+ "variant": "body"
5558
5556
  }
5559
- ]
5557
+ ],
5558
+ "gap": "md",
5559
+ "type": "stack",
5560
+ "direction": "horizontal"
5560
5561
  },
5561
5562
  {
5563
+ "direction": "horizontal",
5564
+ "gap": "md",
5562
5565
  "children": [
5563
5566
  {
5564
- "variant": "caption",
5567
+ "content": "Body",
5565
5568
  "type": "typography",
5566
- "content": "Body"
5569
+ "variant": "caption"
5567
5570
  },
5568
5571
  {
5569
5572
  "content": "@entity.body",
@@ -5571,41 +5574,39 @@
5571
5574
  "variant": "body"
5572
5575
  }
5573
5576
  ],
5574
- "direction": "horizontal",
5575
- "gap": "md",
5576
5577
  "type": "stack"
5577
5578
  },
5578
5579
  {
5579
- "gap": "md",
5580
5580
  "children": [
5581
5581
  {
5582
5582
  "type": "typography",
5583
- "variant": "caption",
5584
- "content": "Author"
5583
+ "content": "Author",
5584
+ "variant": "caption"
5585
5585
  },
5586
5586
  {
5587
- "variant": "body",
5588
5587
  "type": "typography",
5588
+ "variant": "body",
5589
5589
  "content": "@entity.author"
5590
5590
  }
5591
5591
  ],
5592
5592
  "type": "stack",
5593
- "direction": "horizontal"
5593
+ "direction": "horizontal",
5594
+ "gap": "md"
5594
5595
  },
5595
5596
  {
5596
- "gap": "md",
5597
5597
  "children": [
5598
5598
  {
5599
- "variant": "caption",
5600
5599
  "content": "Created At",
5601
- "type": "typography"
5600
+ "type": "typography",
5601
+ "variant": "caption"
5602
5602
  },
5603
5603
  {
5604
- "content": "@entity.createdAt",
5604
+ "type": "typography",
5605
5605
  "variant": "body",
5606
- "type": "typography"
5606
+ "content": "@entity.createdAt"
5607
5607
  }
5608
5608
  ],
5609
+ "gap": "md",
5609
5610
  "type": "stack",
5610
5611
  "direction": "horizontal"
5611
5612
  },
@@ -5613,23 +5614,22 @@
5613
5614
  "type": "divider"
5614
5615
  },
5615
5616
  {
5616
- "justify": "end",
5617
5617
  "direction": "horizontal",
5618
5618
  "children": [
5619
5619
  {
5620
- "type": "button",
5621
- "variant": "ghost",
5622
5620
  "label": "Close",
5623
- "action": "CLOSE"
5621
+ "type": "button",
5622
+ "action": "CLOSE",
5623
+ "variant": "ghost"
5624
5624
  }
5625
5625
  ],
5626
5626
  "type": "stack",
5627
+ "justify": "end",
5627
5628
  "gap": "sm"
5628
5629
  }
5629
5630
  ],
5630
- "direction": "vertical",
5631
5631
  "type": "stack",
5632
- "gap": "md"
5632
+ "direction": "vertical"
5633
5633
  }
5634
5634
  ]
5635
5635
  ]