@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
@@ -273,20 +273,41 @@
273
273
  "render-ui",
274
274
  "main",
275
275
  {
276
+ "navItems": [
277
+ {
278
+ "icon": "user-check",
279
+ "href": "/providers",
280
+ "label": "Providers"
281
+ },
282
+ {
283
+ "icon": "calendar-plus",
284
+ "label": "Book",
285
+ "href": "/book"
286
+ },
287
+ {
288
+ "href": "/appointments",
289
+ "label": "Appointments",
290
+ "icon": "calendar"
291
+ },
292
+ {
293
+ "label": "Schedule",
294
+ "href": "/schedule",
295
+ "icon": "clock"
296
+ }
297
+ ],
276
298
  "type": "dashboard-layout",
277
299
  "children": [
278
300
  {
301
+ "gap": "lg",
302
+ "type": "stack",
279
303
  "children": [
280
304
  {
281
- "direction": "horizontal",
282
- "gap": "md",
283
- "justify": "between",
284
- "type": "stack",
285
- "align": "center",
286
305
  "children": [
287
306
  {
288
- "type": "stack",
289
307
  "gap": "sm",
308
+ "type": "stack",
309
+ "direction": "horizontal",
310
+ "align": "center",
290
311
  "children": [
291
312
  {
292
313
  "type": "icon",
@@ -294,48 +315,71 @@
294
315
  },
295
316
  {
296
317
  "type": "typography",
297
- "variant": "h2",
298
- "content": "Providers"
318
+ "content": "Providers",
319
+ "variant": "h2"
299
320
  }
300
- ],
301
- "direction": "horizontal",
302
- "align": "center"
321
+ ]
303
322
  },
304
323
  {
324
+ "direction": "horizontal",
325
+ "gap": "sm",
305
326
  "children": [
306
327
  {
307
- "variant": "primary",
308
328
  "type": "button",
309
- "icon": "plus",
310
329
  "action": "CREATE",
330
+ "variant": "primary",
331
+ "icon": "plus",
311
332
  "label": "Create Provider"
312
333
  }
313
334
  ],
314
- "direction": "horizontal",
315
- "type": "stack",
316
- "gap": "sm"
335
+ "type": "stack"
317
336
  }
318
- ]
337
+ ],
338
+ "justify": "between",
339
+ "type": "stack",
340
+ "direction": "horizontal",
341
+ "gap": "md",
342
+ "align": "center"
319
343
  },
320
344
  {
321
345
  "type": "divider"
322
346
  },
323
347
  {
348
+ "itemActions": [
349
+ {
350
+ "variant": "ghost",
351
+ "label": "View",
352
+ "event": "VIEW"
353
+ },
354
+ {
355
+ "label": "Edit",
356
+ "variant": "ghost",
357
+ "event": "EDIT"
358
+ },
359
+ {
360
+ "label": "Delete",
361
+ "variant": "danger",
362
+ "event": "DELETE"
363
+ }
364
+ ],
365
+ "gap": "md",
324
366
  "entity": "Provider",
367
+ "type": "data-grid",
368
+ "fields": [],
325
369
  "columns": [
326
370
  {
327
371
  "variant": "h3",
328
- "name": "name",
329
- "icon": "briefcase"
372
+ "icon": "briefcase",
373
+ "name": "name"
330
374
  },
331
375
  {
332
- "variant": "badge",
333
- "name": "specialty"
376
+ "name": "specialty",
377
+ "variant": "badge"
334
378
  },
335
379
  {
336
- "name": "rating",
337
380
  "variant": "body",
338
- "format": "number"
381
+ "format": "number",
382
+ "name": "rating"
339
383
  },
340
384
  {
341
385
  "name": "location",
@@ -346,55 +390,11 @@
346
390
  "variant": "caption"
347
391
  }
348
392
  ],
349
- "gap": "md",
350
- "type": "data-grid",
351
- "cols": 2.0,
352
- "itemActions": [
353
- {
354
- "variant": "ghost",
355
- "label": "View",
356
- "event": "VIEW"
357
- },
358
- {
359
- "label": "Edit",
360
- "event": "EDIT",
361
- "variant": "ghost"
362
- },
363
- {
364
- "label": "Delete",
365
- "variant": "danger",
366
- "event": "DELETE"
367
- }
368
- ],
369
- "fields": []
393
+ "cols": 2.0
370
394
  }
371
395
  ],
372
- "direction": "vertical",
373
- "gap": "lg",
374
- "type": "stack",
375
- "className": "max-w-5xl mx-auto w-full"
376
- }
377
- ],
378
- "navItems": [
379
- {
380
- "href": "/providers",
381
- "icon": "user-check",
382
- "label": "Providers"
383
- },
384
- {
385
- "icon": "calendar-plus",
386
- "label": "Book",
387
- "href": "/book"
388
- },
389
- {
390
- "label": "Appointments",
391
- "href": "/appointments",
392
- "icon": "calendar"
393
- },
394
- {
395
- "href": "/schedule",
396
- "icon": "clock",
397
- "label": "Schedule"
396
+ "className": "max-w-5xl mx-auto w-full",
397
+ "direction": "vertical"
398
398
  }
399
399
  ],
400
400
  "appName": "BookingSystemApp"
@@ -596,8 +596,11 @@
596
596
  "render-ui",
597
597
  "modal",
598
598
  {
599
+ "gap": "md",
600
+ "type": "stack",
599
601
  "children": [
600
602
  {
603
+ "gap": "sm",
601
604
  "children": [
602
605
  {
603
606
  "name": "plus-circle",
@@ -610,16 +613,12 @@
610
613
  }
611
614
  ],
612
615
  "type": "stack",
613
- "direction": "horizontal",
614
- "gap": "sm"
616
+ "direction": "horizontal"
615
617
  },
616
618
  {
617
619
  "type": "divider"
618
620
  },
619
621
  {
620
- "mode": "create",
621
- "entity": "Provider",
622
- "submitEvent": "SAVE",
623
622
  "fields": [
624
623
  "name",
625
624
  "specialty",
@@ -628,12 +627,13 @@
628
627
  "rating",
629
628
  "available"
630
629
  ],
630
+ "submitEvent": "SAVE",
631
+ "type": "form-section",
632
+ "mode": "create",
631
633
  "cancelEvent": "CLOSE",
632
- "type": "form-section"
634
+ "entity": "Provider"
633
635
  }
634
636
  ],
635
- "gap": "md",
636
- "type": "stack",
637
637
  "direction": "vertical"
638
638
  }
639
639
  ]
@@ -894,20 +894,21 @@
894
894
  "render-ui",
895
895
  "modal",
896
896
  {
897
+ "gap": "md",
897
898
  "children": [
898
899
  {
899
- "gap": "sm",
900
900
  "direction": "horizontal",
901
+ "gap": "sm",
901
902
  "type": "stack",
902
903
  "children": [
903
904
  {
904
- "type": "icon",
905
- "name": "edit"
905
+ "name": "edit",
906
+ "type": "icon"
906
907
  },
907
908
  {
909
+ "content": "Edit Provider",
908
910
  "type": "typography",
909
- "variant": "h3",
910
- "content": "Edit Provider"
911
+ "variant": "h3"
911
912
  }
912
913
  ]
913
914
  },
@@ -915,12 +916,10 @@
915
916
  "type": "divider"
916
917
  },
917
918
  {
918
- "entityId": "@entity.id",
919
- "type": "form-section",
920
- "entity": "Provider",
921
919
  "submitEvent": "SAVE",
922
- "cancelEvent": "CLOSE",
923
920
  "mode": "edit",
921
+ "entity": "Provider",
922
+ "cancelEvent": "CLOSE",
924
923
  "fields": [
925
924
  "name",
926
925
  "specialty",
@@ -928,12 +927,13 @@
928
927
  "phone",
929
928
  "rating",
930
929
  "available"
931
- ]
930
+ ],
931
+ "entityId": "@entity.id",
932
+ "type": "form-section"
932
933
  }
933
934
  ],
934
- "gap": "md",
935
- "type": "stack",
936
- "direction": "vertical"
935
+ "direction": "vertical",
936
+ "type": "stack"
937
937
  }
938
938
  ]
939
939
  ]
@@ -1169,8 +1169,8 @@
1169
1169
  "Provider",
1170
1170
  {
1171
1171
  "emit": {
1172
- "success": "ProviderLoaded",
1173
- "failure": "ProviderLoadFailed"
1172
+ "failure": "ProviderLoadFailed",
1173
+ "success": "ProviderLoaded"
1174
1174
  },
1175
1175
  "id": "@payload.id"
1176
1176
  }
@@ -1179,157 +1179,157 @@
1179
1179
  "render-ui",
1180
1180
  "modal",
1181
1181
  {
1182
- "direction": "vertical",
1183
1182
  "gap": "md",
1184
- "type": "stack",
1185
1183
  "children": [
1186
1184
  {
1187
- "gap": "sm",
1188
1185
  "type": "stack",
1186
+ "align": "center",
1187
+ "gap": "sm",
1188
+ "direction": "horizontal",
1189
1189
  "children": [
1190
1190
  {
1191
1191
  "type": "icon",
1192
1192
  "name": "eye"
1193
1193
  },
1194
1194
  {
1195
- "variant": "h3",
1196
1195
  "content": "@entity.name",
1197
- "type": "typography"
1196
+ "type": "typography",
1197
+ "variant": "h3"
1198
1198
  }
1199
- ],
1200
- "direction": "horizontal",
1201
- "align": "center"
1199
+ ]
1202
1200
  },
1203
1201
  {
1204
1202
  "type": "divider"
1205
1203
  },
1206
1204
  {
1205
+ "type": "stack",
1206
+ "direction": "horizontal",
1207
+ "gap": "md",
1207
1208
  "children": [
1208
1209
  {
1209
- "content": "Name",
1210
1210
  "variant": "caption",
1211
- "type": "typography"
1211
+ "type": "typography",
1212
+ "content": "Name"
1212
1213
  },
1213
1214
  {
1214
1215
  "variant": "body",
1215
- "content": "@entity.name",
1216
- "type": "typography"
1216
+ "type": "typography",
1217
+ "content": "@entity.name"
1217
1218
  }
1218
- ],
1219
- "direction": "horizontal",
1220
- "type": "stack",
1221
- "gap": "md"
1219
+ ]
1222
1220
  },
1223
1221
  {
1224
- "type": "stack",
1225
1222
  "direction": "horizontal",
1226
1223
  "gap": "md",
1227
1224
  "children": [
1228
1225
  {
1229
- "type": "typography",
1230
1226
  "variant": "caption",
1231
- "content": "Specialty"
1227
+ "content": "Specialty",
1228
+ "type": "typography"
1232
1229
  },
1233
1230
  {
1234
- "variant": "body",
1235
1231
  "type": "typography",
1232
+ "variant": "body",
1236
1233
  "content": "@entity.specialty"
1237
1234
  }
1238
- ]
1235
+ ],
1236
+ "type": "stack"
1239
1237
  },
1240
1238
  {
1241
1239
  "gap": "md",
1240
+ "type": "stack",
1242
1241
  "children": [
1243
1242
  {
1243
+ "type": "typography",
1244
1244
  "variant": "caption",
1245
- "content": "Location",
1246
- "type": "typography"
1245
+ "content": "Location"
1247
1246
  },
1248
1247
  {
1249
- "type": "typography",
1250
1248
  "content": "@entity.location",
1251
- "variant": "body"
1249
+ "variant": "body",
1250
+ "type": "typography"
1252
1251
  }
1253
1252
  ],
1254
- "type": "stack",
1255
1253
  "direction": "horizontal"
1256
1254
  },
1257
1255
  {
1258
- "type": "stack",
1256
+ "gap": "md",
1259
1257
  "direction": "horizontal",
1258
+ "type": "stack",
1260
1259
  "children": [
1261
1260
  {
1261
+ "type": "typography",
1262
1262
  "content": "Phone",
1263
- "variant": "caption",
1264
- "type": "typography"
1263
+ "variant": "caption"
1265
1264
  },
1266
1265
  {
1267
- "content": "@entity.phone",
1268
1266
  "variant": "body",
1269
- "type": "typography"
1267
+ "type": "typography",
1268
+ "content": "@entity.phone"
1270
1269
  }
1271
- ],
1272
- "gap": "md"
1270
+ ]
1273
1271
  },
1274
1272
  {
1275
- "direction": "horizontal",
1273
+ "type": "stack",
1276
1274
  "children": [
1277
1275
  {
1278
- "variant": "caption",
1279
1276
  "content": "Rating",
1280
- "type": "typography"
1277
+ "type": "typography",
1278
+ "variant": "caption"
1281
1279
  },
1282
1280
  {
1283
- "type": "typography",
1281
+ "content": "@entity.rating",
1284
1282
  "variant": "body",
1285
- "content": "@entity.rating"
1283
+ "type": "typography"
1286
1284
  }
1287
1285
  ],
1288
1286
  "gap": "md",
1289
- "type": "stack"
1287
+ "direction": "horizontal"
1290
1288
  },
1291
1289
  {
1290
+ "gap": "md",
1291
+ "direction": "horizontal",
1292
+ "type": "stack",
1292
1293
  "children": [
1293
1294
  {
1294
1295
  "variant": "caption",
1295
- "type": "typography",
1296
- "content": "Available"
1296
+ "content": "Available",
1297
+ "type": "typography"
1297
1298
  },
1298
1299
  {
1299
1300
  "type": "typography",
1300
1301
  "variant": "body",
1301
1302
  "content": "@entity.available"
1302
1303
  }
1303
- ],
1304
- "type": "stack",
1305
- "direction": "horizontal",
1306
- "gap": "md"
1304
+ ]
1307
1305
  },
1308
1306
  {
1309
1307
  "type": "divider"
1310
1308
  },
1311
1309
  {
1310
+ "direction": "horizontal",
1311
+ "gap": "sm",
1312
+ "type": "stack",
1312
1313
  "justify": "end",
1313
1314
  "children": [
1314
1315
  {
1315
- "icon": "edit",
1316
1316
  "label": "Edit",
1317
- "action": "EDIT",
1318
1317
  "type": "button",
1319
- "variant": "primary"
1318
+ "action": "EDIT",
1319
+ "variant": "primary",
1320
+ "icon": "edit"
1320
1321
  },
1321
1322
  {
1323
+ "label": "Close",
1322
1324
  "variant": "ghost",
1323
- "action": "CLOSE",
1324
1325
  "type": "button",
1325
- "label": "Close"
1326
+ "action": "CLOSE"
1326
1327
  }
1327
- ],
1328
- "type": "stack",
1329
- "gap": "sm",
1330
- "direction": "horizontal"
1328
+ ]
1331
1329
  }
1332
- ]
1330
+ ],
1331
+ "type": "stack",
1332
+ "direction": "vertical"
1333
1333
  }
1334
1334
  ]
1335
1335
  ]
@@ -1570,65 +1570,65 @@
1570
1570
  "fetch",
1571
1571
  "Provider",
1572
1572
  {
1573
+ "id": "@payload.id",
1573
1574
  "emit": {
1574
1575
  "success": "ProviderLoaded",
1575
1576
  "failure": "ProviderLoadFailed"
1576
- },
1577
- "id": "@payload.id"
1577
+ }
1578
1578
  }
1579
1579
  ],
1580
1580
  [
1581
1581
  "render-ui",
1582
1582
  "modal",
1583
1583
  {
1584
- "direction": "vertical",
1585
1584
  "gap": "md",
1585
+ "direction": "vertical",
1586
1586
  "type": "stack",
1587
1587
  "children": [
1588
1588
  {
1589
- "type": "stack",
1589
+ "align": "center",
1590
+ "direction": "horizontal",
1590
1591
  "gap": "sm",
1592
+ "type": "stack",
1591
1593
  "children": [
1592
1594
  {
1593
1595
  "type": "icon",
1594
1596
  "name": "alert-triangle"
1595
1597
  },
1596
1598
  {
1597
- "type": "typography",
1599
+ "content": "Delete Provider",
1598
1600
  "variant": "h3",
1599
- "content": "Delete Provider"
1601
+ "type": "typography"
1600
1602
  }
1601
- ],
1602
- "direction": "horizontal",
1603
- "align": "center"
1603
+ ]
1604
1604
  },
1605
1605
  {
1606
1606
  "type": "divider"
1607
1607
  },
1608
1608
  {
1609
1609
  "variant": "error",
1610
- "type": "alert",
1611
- "message": "This action cannot be undone."
1610
+ "message": "This action cannot be undone.",
1611
+ "type": "alert"
1612
1612
  },
1613
1613
  {
1614
- "gap": "sm",
1615
1614
  "children": [
1616
1615
  {
1617
- "action": "CANCEL",
1618
1616
  "variant": "ghost",
1619
- "label": "Cancel",
1620
- "type": "button"
1617
+ "type": "button",
1618
+ "action": "CANCEL",
1619
+ "label": "Cancel"
1621
1620
  },
1622
1621
  {
1623
- "label": "Delete",
1624
- "action": "CONFIRM_DELETE",
1625
1622
  "variant": "danger",
1623
+ "type": "button",
1626
1624
  "icon": "check",
1627
- "type": "button"
1625
+ "label": "Delete",
1626
+ "action": "CONFIRM_DELETE"
1628
1627
  }
1629
1628
  ],
1630
- "direction": "horizontal",
1629
+ "gap": "sm",
1631
1630
  "type": "stack",
1631
+ "direction": "horizontal",
1632
1632
  "justify": "end"
1633
1633
  }
1634
1634
  ]
@@ -1971,76 +1971,75 @@
1971
1971
  "render-ui",
1972
1972
  "main",
1973
1973
  {
1974
+ "type": "dashboard-layout",
1975
+ "appName": "BookingSystemApp",
1974
1976
  "navItems": [
1975
1977
  {
1976
1978
  "href": "/providers",
1977
- "icon": "user-check",
1978
- "label": "Providers"
1979
+ "label": "Providers",
1980
+ "icon": "user-check"
1979
1981
  },
1980
1982
  {
1981
- "href": "/book",
1982
1983
  "icon": "calendar-plus",
1984
+ "href": "/book",
1983
1985
  "label": "Book"
1984
1986
  },
1985
1987
  {
1986
1988
  "label": "Appointments",
1987
- "href": "/appointments",
1988
- "icon": "calendar"
1989
+ "icon": "calendar",
1990
+ "href": "/appointments"
1989
1991
  },
1990
1992
  {
1991
- "href": "/schedule",
1993
+ "label": "Schedule",
1992
1994
  "icon": "clock",
1993
- "label": "Schedule"
1995
+ "href": "/schedule"
1994
1996
  }
1995
1997
  ],
1996
- "type": "dashboard-layout",
1997
1998
  "children": [
1998
1999
  {
1999
- "maxWidth": "lg",
2000
- "padding": "lg",
2001
- "type": "container",
2002
2000
  "children": [
2003
2001
  {
2004
2002
  "direction": "vertical",
2003
+ "type": "stack",
2005
2004
  "gap": "lg",
2006
2005
  "children": [
2007
2006
  {
2008
- "gap": "sm",
2009
- "direction": "horizontal",
2010
- "align": "center",
2011
2007
  "children": [
2012
2008
  {
2013
2009
  "type": "icon",
2014
2010
  "name": "calendar"
2015
2011
  },
2016
2012
  {
2017
- "content": "Book Appointment",
2018
2013
  "type": "typography",
2014
+ "content": "Book Appointment",
2019
2015
  "variant": "h2"
2020
2016
  }
2021
2017
  ],
2022
- "type": "stack"
2018
+ "type": "stack",
2019
+ "direction": "horizontal",
2020
+ "align": "center",
2021
+ "gap": "sm"
2023
2022
  },
2024
2023
  {
2025
2024
  "type": "progress-dots",
2026
- "count": 3.0,
2027
- "currentIndex": 0.0
2025
+ "currentIndex": 0.0,
2026
+ "count": 3.0
2028
2027
  },
2029
2028
  {
2030
- "type": "wizard-progress",
2031
2029
  "steps": [
2032
2030
  "Provider Selection",
2033
2031
  "Your Details",
2034
2032
  "Date and Time"
2035
2033
  ],
2034
+ "type": "wizard-progress",
2036
2035
  "currentStep": 0.0
2037
2036
  },
2038
2037
  {
2039
2038
  "type": "divider"
2040
2039
  },
2041
2040
  {
2042
- "content": "Provider Selection",
2043
2041
  "variant": "h3",
2042
+ "content": "Provider Selection",
2044
2043
  "type": "typography"
2045
2044
  },
2046
2045
  {
@@ -2048,33 +2047,34 @@
2048
2047
  "providerName"
2049
2048
  ],
2050
2049
  "type": "form-section",
2051
- "mode": "create",
2052
- "entity": "Booking",
2053
2050
  "submitEvent": "NEXT",
2054
- "cancelEvent": "INIT"
2051
+ "mode": "create",
2052
+ "cancelEvent": "INIT",
2053
+ "entity": "Booking"
2055
2054
  },
2056
2055
  {
2056
+ "gap": "sm",
2057
+ "justify": "end",
2057
2058
  "children": [
2058
2059
  {
2059
- "variant": "primary",
2060
+ "label": "Next",
2060
2061
  "type": "button",
2062
+ "variant": "primary",
2061
2063
  "action": "NEXT",
2062
- "label": "Next",
2063
2064
  "icon": "arrow-right"
2064
2065
  }
2065
2066
  ],
2066
2067
  "type": "stack",
2067
- "direction": "horizontal",
2068
- "gap": "sm",
2069
- "justify": "end"
2068
+ "direction": "horizontal"
2070
2069
  }
2071
- ],
2072
- "type": "stack"
2070
+ ]
2073
2071
  }
2074
- ]
2072
+ ],
2073
+ "padding": "lg",
2074
+ "maxWidth": "lg",
2075
+ "type": "container"
2075
2076
  }
2076
- ],
2077
- "appName": "BookingSystemApp"
2077
+ ]
2078
2078
  }
2079
2079
  ]
2080
2080
  ]
@@ -2098,46 +2098,68 @@
2098
2098
  "render-ui",
2099
2099
  "main",
2100
2100
  {
2101
+ "appName": "BookingSystemApp",
2102
+ "navItems": [
2103
+ {
2104
+ "href": "/providers",
2105
+ "icon": "user-check",
2106
+ "label": "Providers"
2107
+ },
2108
+ {
2109
+ "href": "/book",
2110
+ "icon": "calendar-plus",
2111
+ "label": "Book"
2112
+ },
2113
+ {
2114
+ "label": "Appointments",
2115
+ "icon": "calendar",
2116
+ "href": "/appointments"
2117
+ },
2118
+ {
2119
+ "label": "Schedule",
2120
+ "icon": "clock",
2121
+ "href": "/schedule"
2122
+ }
2123
+ ],
2124
+ "type": "dashboard-layout",
2101
2125
  "children": [
2102
2126
  {
2103
- "type": "container",
2104
- "maxWidth": "lg",
2105
2127
  "padding": "lg",
2128
+ "type": "container",
2106
2129
  "children": [
2107
2130
  {
2108
2131
  "type": "stack",
2109
- "gap": "lg",
2110
2132
  "children": [
2111
2133
  {
2112
- "gap": "sm",
2134
+ "align": "center",
2135
+ "type": "stack",
2113
2136
  "children": [
2114
2137
  {
2115
- "type": "icon",
2116
- "name": "calendar"
2138
+ "name": "calendar",
2139
+ "type": "icon"
2117
2140
  },
2118
2141
  {
2119
- "type": "typography",
2142
+ "variant": "h2",
2120
2143
  "content": "Book Appointment",
2121
- "variant": "h2"
2144
+ "type": "typography"
2122
2145
  }
2123
2146
  ],
2124
- "align": "center",
2125
- "type": "stack",
2147
+ "gap": "sm",
2126
2148
  "direction": "horizontal"
2127
2149
  },
2128
2150
  {
2151
+ "type": "progress-dots",
2129
2152
  "count": 3.0,
2130
- "currentIndex": 1.0,
2131
- "type": "progress-dots"
2153
+ "currentIndex": 1.0
2132
2154
  },
2133
2155
  {
2134
- "currentStep": 1.0,
2135
2156
  "type": "wizard-progress",
2136
2157
  "steps": [
2137
2158
  "Provider Selection",
2138
2159
  "Your Details",
2139
2160
  "Date and Time"
2140
- ]
2161
+ ],
2162
+ "currentStep": 1.0
2141
2163
  },
2142
2164
  {
2143
2165
  "type": "divider"
@@ -2149,65 +2171,43 @@
2149
2171
  },
2150
2172
  {
2151
2173
  "cancelEvent": "PREV",
2152
- "submitEvent": "NEXT",
2174
+ "mode": "create",
2175
+ "type": "form-section",
2153
2176
  "entity": "Booking",
2154
2177
  "fields": [
2155
2178
  "customerName",
2156
2179
  "customerEmail"
2157
2180
  ],
2158
- "type": "form-section",
2159
- "mode": "create"
2181
+ "submitEvent": "NEXT"
2160
2182
  },
2161
2183
  {
2162
- "justify": "end",
2163
2184
  "type": "stack",
2185
+ "direction": "horizontal",
2186
+ "justify": "end",
2187
+ "gap": "sm",
2164
2188
  "children": [
2165
2189
  {
2166
- "label": "Back",
2167
- "variant": "ghost",
2168
2190
  "icon": "arrow-left",
2191
+ "type": "button",
2169
2192
  "action": "PREV",
2170
- "type": "button"
2193
+ "label": "Back",
2194
+ "variant": "ghost"
2171
2195
  },
2172
2196
  {
2197
+ "variant": "primary",
2198
+ "type": "button",
2173
2199
  "label": "Next",
2174
2200
  "icon": "arrow-right",
2175
- "action": "NEXT",
2176
- "type": "button",
2177
- "variant": "primary"
2201
+ "action": "NEXT"
2178
2202
  }
2179
- ],
2180
- "direction": "horizontal",
2181
- "gap": "sm"
2203
+ ]
2182
2204
  }
2183
2205
  ],
2184
- "direction": "vertical"
2206
+ "direction": "vertical",
2207
+ "gap": "lg"
2185
2208
  }
2186
- ]
2187
- }
2188
- ],
2189
- "appName": "BookingSystemApp",
2190
- "type": "dashboard-layout",
2191
- "navItems": [
2192
- {
2193
- "href": "/providers",
2194
- "label": "Providers",
2195
- "icon": "user-check"
2196
- },
2197
- {
2198
- "href": "/book",
2199
- "label": "Book",
2200
- "icon": "calendar-plus"
2201
- },
2202
- {
2203
- "label": "Appointments",
2204
- "href": "/appointments",
2205
- "icon": "calendar"
2206
- },
2207
- {
2208
- "href": "/schedule",
2209
- "icon": "clock",
2210
- "label": "Schedule"
2209
+ ],
2210
+ "maxWidth": "lg"
2211
2211
  }
2212
2212
  ]
2213
2213
  }
@@ -2224,8 +2224,8 @@
2224
2224
  "Booking",
2225
2225
  {
2226
2226
  "emit": {
2227
- "success": "BookingLoaded",
2228
- "failure": "BookingLoadFailed"
2227
+ "failure": "BookingLoadFailed",
2228
+ "success": "BookingLoaded"
2229
2229
  }
2230
2230
  }
2231
2231
  ],
@@ -2233,86 +2233,109 @@
2233
2233
  "render-ui",
2234
2234
  "main",
2235
2235
  {
2236
+ "navItems": [
2237
+ {
2238
+ "label": "Providers",
2239
+ "icon": "user-check",
2240
+ "href": "/providers"
2241
+ },
2242
+ {
2243
+ "href": "/book",
2244
+ "icon": "calendar-plus",
2245
+ "label": "Book"
2246
+ },
2247
+ {
2248
+ "href": "/appointments",
2249
+ "icon": "calendar",
2250
+ "label": "Appointments"
2251
+ },
2252
+ {
2253
+ "href": "/schedule",
2254
+ "icon": "clock",
2255
+ "label": "Schedule"
2256
+ }
2257
+ ],
2258
+ "appName": "BookingSystemApp",
2236
2259
  "children": [
2237
2260
  {
2238
- "type": "container",
2239
2261
  "padding": "lg",
2262
+ "type": "container",
2240
2263
  "maxWidth": "lg",
2241
2264
  "children": [
2242
2265
  {
2243
2266
  "children": [
2244
2267
  {
2268
+ "type": "stack",
2269
+ "gap": "sm",
2270
+ "align": "center",
2271
+ "direction": "horizontal",
2245
2272
  "children": [
2246
2273
  {
2247
- "name": "calendar",
2248
- "type": "icon"
2274
+ "type": "icon",
2275
+ "name": "calendar"
2249
2276
  },
2250
2277
  {
2251
2278
  "variant": "h2",
2252
- "type": "typography",
2253
- "content": "Book Appointment"
2279
+ "content": "Book Appointment",
2280
+ "type": "typography"
2254
2281
  }
2255
- ],
2256
- "type": "stack",
2257
- "gap": "sm",
2258
- "align": "center",
2259
- "direction": "horizontal"
2282
+ ]
2260
2283
  },
2261
2284
  {
2262
- "currentIndex": 2.0,
2263
2285
  "type": "progress-dots",
2264
- "count": 3.0
2286
+ "count": 3.0,
2287
+ "currentIndex": 2.0
2265
2288
  },
2266
2289
  {
2267
- "type": "wizard-progress",
2268
- "currentStep": 2.0,
2269
2290
  "steps": [
2270
2291
  "Provider Selection",
2271
2292
  "Your Details",
2272
2293
  "Date and Time"
2273
- ]
2274
- },
2294
+ ],
2295
+ "currentStep": 2.0,
2296
+ "type": "wizard-progress"
2297
+ },
2275
2298
  {
2276
2299
  "type": "divider"
2277
2300
  },
2278
2301
  {
2302
+ "content": "Date and Time",
2279
2303
  "variant": "h3",
2280
- "type": "typography",
2281
- "content": "Date and Time"
2304
+ "type": "typography"
2282
2305
  },
2283
2306
  {
2307
+ "type": "form-section",
2284
2308
  "entity": "Booking",
2285
2309
  "submitEvent": "NEXT",
2286
2310
  "cancelEvent": "PREV",
2287
- "type": "form-section",
2288
- "mode": "create",
2289
2311
  "fields": [
2290
2312
  "date",
2291
2313
  "time",
2292
2314
  "notes"
2293
- ]
2315
+ ],
2316
+ "mode": "create"
2294
2317
  },
2295
2318
  {
2296
- "type": "stack",
2297
2319
  "direction": "horizontal",
2298
- "justify": "end",
2299
2320
  "children": [
2300
2321
  {
2301
2322
  "type": "button",
2302
- "label": "Back",
2323
+ "variant": "ghost",
2303
2324
  "icon": "arrow-left",
2304
- "action": "PREV",
2305
- "variant": "ghost"
2325
+ "label": "Back",
2326
+ "action": "PREV"
2306
2327
  },
2307
2328
  {
2308
- "icon": "arrow-right",
2309
- "label": "Next",
2310
2329
  "type": "button",
2330
+ "variant": "primary",
2331
+ "icon": "arrow-right",
2311
2332
  "action": "NEXT",
2312
- "variant": "primary"
2333
+ "label": "Next"
2313
2334
  }
2314
2335
  ],
2315
- "gap": "sm"
2336
+ "gap": "sm",
2337
+ "type": "stack",
2338
+ "justify": "end"
2316
2339
  }
2317
2340
  ],
2318
2341
  "direction": "vertical",
@@ -2322,30 +2345,7 @@
2322
2345
  ]
2323
2346
  }
2324
2347
  ],
2325
- "appName": "BookingSystemApp",
2326
- "type": "dashboard-layout",
2327
- "navItems": [
2328
- {
2329
- "icon": "user-check",
2330
- "label": "Providers",
2331
- "href": "/providers"
2332
- },
2333
- {
2334
- "icon": "calendar-plus",
2335
- "href": "/book",
2336
- "label": "Book"
2337
- },
2338
- {
2339
- "icon": "calendar",
2340
- "label": "Appointments",
2341
- "href": "/appointments"
2342
- },
2343
- {
2344
- "icon": "clock",
2345
- "label": "Schedule",
2346
- "href": "/schedule"
2347
- }
2348
- ]
2348
+ "type": "dashboard-layout"
2349
2349
  }
2350
2350
  ]
2351
2351
  ]
@@ -2360,8 +2360,8 @@
2360
2360
  "Booking",
2361
2361
  {
2362
2362
  "emit": {
2363
- "success": "BookingLoaded",
2364
- "failure": "BookingLoadFailed"
2363
+ "failure": "BookingLoadFailed",
2364
+ "success": "BookingLoaded"
2365
2365
  }
2366
2366
  }
2367
2367
  ],
@@ -2369,7 +2369,6 @@
2369
2369
  "render-ui",
2370
2370
  "main",
2371
2371
  {
2372
- "appName": "BookingSystemApp",
2373
2372
  "navItems": [
2374
2373
  {
2375
2374
  "label": "Providers",
@@ -2377,52 +2376,54 @@
2377
2376
  "icon": "user-check"
2378
2377
  },
2379
2378
  {
2380
- "label": "Book",
2381
2379
  "icon": "calendar-plus",
2382
- "href": "/book"
2380
+ "href": "/book",
2381
+ "label": "Book"
2383
2382
  },
2384
2383
  {
2384
+ "icon": "calendar",
2385
2385
  "href": "/appointments",
2386
- "label": "Appointments",
2387
- "icon": "calendar"
2386
+ "label": "Appointments"
2388
2387
  },
2389
2388
  {
2390
- "label": "Schedule",
2389
+ "icon": "clock",
2391
2390
  "href": "/schedule",
2392
- "icon": "clock"
2391
+ "label": "Schedule"
2393
2392
  }
2394
2393
  ],
2394
+ "type": "dashboard-layout",
2395
+ "appName": "BookingSystemApp",
2395
2396
  "children": [
2396
2397
  {
2397
2398
  "type": "container",
2398
- "maxWidth": "lg",
2399
2399
  "padding": "lg",
2400
+ "maxWidth": "lg",
2400
2401
  "children": [
2401
2402
  {
2402
- "direction": "vertical",
2403
2403
  "type": "stack",
2404
2404
  "gap": "lg",
2405
+ "direction": "vertical",
2405
2406
  "children": [
2406
2407
  {
2408
+ "align": "center",
2407
2409
  "gap": "sm",
2408
- "direction": "horizontal",
2409
2410
  "type": "stack",
2410
- "align": "center",
2411
+ "direction": "horizontal",
2411
2412
  "children": [
2412
2413
  {
2413
2414
  "type": "icon",
2414
2415
  "name": "calendar"
2415
2416
  },
2416
2417
  {
2417
- "content": "Book Appointment",
2418
2418
  "type": "typography",
2419
+ "content": "Book Appointment",
2419
2420
  "variant": "h2"
2420
2421
  }
2421
2422
  ]
2422
2423
  },
2423
2424
  {
2424
- "currentIndex": 0.0,
2425
2425
  "count": 3.0,
2426
+ "currentIndex": 0.0,
2426
2427
  "type": "progress-dots"
2427
2428
  },
2428
2429
  {
@@ -2438,41 +2439,40 @@
2438
2439
  "type": "divider"
2439
2440
  },
2440
2441
  {
2441
- "content": "Provider Selection",
2442
2442
  "type": "typography",
2443
+ "content": "Provider Selection",
2443
2444
  "variant": "h3"
2444
2445
  },
2445
2446
  {
2446
- "mode": "create",
2447
2447
  "cancelEvent": "INIT",
2448
2448
  "fields": [
2449
2449
  "providerName"
2450
2450
  ],
2451
+ "mode": "create",
2451
2452
  "entity": "Booking",
2452
- "submitEvent": "NEXT",
2453
- "type": "form-section"
2453
+ "type": "form-section",
2454
+ "submitEvent": "NEXT"
2454
2455
  },
2455
2456
  {
2456
- "justify": "end",
2457
+ "gap": "sm",
2457
2458
  "children": [
2458
2459
  {
2459
- "action": "NEXT",
2460
- "label": "Next",
2461
2460
  "variant": "primary",
2462
2461
  "type": "button",
2462
+ "action": "NEXT",
2463
+ "label": "Next",
2463
2464
  "icon": "arrow-right"
2464
2465
  }
2465
2466
  ],
2466
- "type": "stack",
2467
2467
  "direction": "horizontal",
2468
- "gap": "sm"
2468
+ "type": "stack",
2469
+ "justify": "end"
2469
2470
  }
2470
2471
  ]
2471
2472
  }
2472
2473
  ]
2473
2474
  }
2474
- ],
2475
- "type": "dashboard-layout"
2475
+ ]
2476
2476
  }
2477
2477
  ]
2478
2478
  ]
@@ -2496,146 +2496,123 @@
2496
2496
  "render-ui",
2497
2497
  "main",
2498
2498
  {
2499
- "navItems": [
2500
- {
2501
- "icon": "user-check",
2502
- "label": "Providers",
2503
- "href": "/providers"
2504
- },
2505
- {
2506
- "label": "Book",
2507
- "href": "/book",
2508
- "icon": "calendar-plus"
2509
- },
2510
- {
2511
- "icon": "calendar",
2512
- "label": "Appointments",
2513
- "href": "/appointments"
2514
- },
2515
- {
2516
- "href": "/schedule",
2517
- "icon": "clock",
2518
- "label": "Schedule"
2519
- }
2520
- ],
2521
2499
  "children": [
2522
2500
  {
2523
2501
  "type": "stack",
2524
- "gap": "lg",
2525
- "direction": "vertical",
2526
2502
  "children": [
2527
2503
  {
2528
- "direction": "horizontal",
2529
- "type": "stack",
2530
- "gap": "sm",
2531
2504
  "children": [
2532
2505
  {
2533
- "type": "icon",
2534
- "name": "calendar"
2506
+ "name": "calendar",
2507
+ "type": "icon"
2535
2508
  },
2536
2509
  {
2537
- "variant": "h2",
2538
2510
  "content": "Book Appointment",
2539
- "type": "typography"
2511
+ "type": "typography",
2512
+ "variant": "h2"
2540
2513
  }
2541
2514
  ],
2542
- "align": "center"
2515
+ "align": "center",
2516
+ "direction": "horizontal",
2517
+ "type": "stack",
2518
+ "gap": "sm"
2543
2519
  },
2544
2520
  {
2545
- "label": "Review",
2546
- "type": "badge"
2521
+ "type": "badge",
2522
+ "label": "Review"
2547
2523
  },
2548
2524
  {
2525
+ "type": "wizard-progress",
2549
2526
  "steps": [
2550
2527
  "Provider Selection",
2551
2528
  "Your Details",
2552
2529
  "Date and Time"
2553
2530
  ],
2554
- "currentStep": 3.0,
2555
- "type": "wizard-progress"
2531
+ "currentStep": 3.0
2556
2532
  },
2557
2533
  {
2558
2534
  "type": "divider"
2559
2535
  },
2560
2536
  {
2561
- "gap": "sm",
2537
+ "type": "stack",
2538
+ "direction": "vertical",
2562
2539
  "children": [
2563
2540
  {
2564
2541
  "justify": "between",
2542
+ "type": "stack",
2543
+ "direction": "horizontal",
2544
+ "gap": "md",
2565
2545
  "children": [
2566
2546
  {
2547
+ "type": "typography",
2567
2548
  "variant": "caption",
2568
- "content": "Provider Name",
2569
- "type": "typography"
2549
+ "content": "Provider Name"
2570
2550
  },
2571
2551
  {
2572
- "variant": "body",
2552
+ "type": "typography",
2573
2553
  "content": "@entity.providerName",
2574
- "type": "typography"
2554
+ "variant": "body"
2575
2555
  }
2576
- ],
2577
- "type": "stack",
2578
- "gap": "md",
2579
- "direction": "horizontal"
2556
+ ]
2580
2557
  },
2581
2558
  {
2582
2559
  "direction": "horizontal",
2560
+ "gap": "md",
2561
+ "justify": "between",
2562
+ "type": "stack",
2583
2563
  "children": [
2584
2564
  {
2565
+ "content": "Customer Name",
2585
2566
  "variant": "caption",
2586
- "type": "typography",
2587
- "content": "Customer Name"
2567
+ "type": "typography"
2588
2568
  },
2589
2569
  {
2590
- "variant": "body",
2570
+ "content": "@entity.customerName",
2591
2571
  "type": "typography",
2592
- "content": "@entity.customerName"
2572
+ "variant": "body"
2593
2573
  }
2594
- ],
2595
- "gap": "md",
2596
- "type": "stack",
2597
- "justify": "between"
2574
+ ]
2598
2575
  },
2599
2576
  {
2600
- "gap": "md",
2601
- "direction": "horizontal",
2602
- "justify": "between",
2603
2577
  "type": "stack",
2578
+ "justify": "between",
2579
+ "direction": "horizontal",
2580
+ "gap": "md",
2604
2581
  "children": [
2605
2582
  {
2606
2583
  "variant": "caption",
2607
- "content": "Customer Email",
2608
- "type": "typography"
2584
+ "type": "typography",
2585
+ "content": "Customer Email"
2609
2586
  },
2610
2587
  {
2611
- "type": "typography",
2612
2588
  "variant": "body",
2589
+ "type": "typography",
2613
2590
  "content": "@entity.customerEmail"
2614
2591
  }
2615
2592
  ]
2616
2593
  },
2617
2594
  {
2618
- "justify": "between",
2619
- "direction": "horizontal",
2620
- "gap": "md",
2621
- "type": "stack",
2622
2595
  "children": [
2623
2596
  {
2624
2597
  "type": "typography",
2625
- "content": "Date",
2626
- "variant": "caption"
2598
+ "variant": "caption",
2599
+ "content": "Date"
2627
2600
  },
2628
2601
  {
2629
- "content": "@entity.date",
2630
2602
  "type": "typography",
2603
+ "content": "@entity.date",
2631
2604
  "variant": "body"
2632
2605
  }
2633
- ]
2606
+ ],
2607
+ "gap": "md",
2608
+ "type": "stack",
2609
+ "direction": "horizontal",
2610
+ "justify": "between"
2634
2611
  },
2635
2612
  {
2636
- "direction": "horizontal",
2637
- "type": "stack",
2638
2613
  "justify": "between",
2614
+ "direction": "horizontal",
2615
+ "gap": "md",
2639
2616
  "children": [
2640
2617
  {
2641
2618
  "content": "Time",
@@ -2643,44 +2620,67 @@
2643
2620
  "type": "typography"
2644
2621
  },
2645
2622
  {
2646
- "variant": "body",
2647
2623
  "content": "@entity.time",
2624
+ "variant": "body",
2648
2625
  "type": "typography"
2649
2626
  }
2650
2627
  ],
2651
- "gap": "md"
2628
+ "type": "stack"
2652
2629
  },
2653
2630
  {
2631
+ "type": "stack",
2632
+ "direction": "horizontal",
2654
2633
  "children": [
2655
2634
  {
2656
2635
  "type": "typography",
2657
- "variant": "caption",
2658
- "content": "Notes"
2636
+ "content": "Notes",
2637
+ "variant": "caption"
2659
2638
  },
2660
2639
  {
2661
2640
  "content": "@entity.notes",
2662
- "variant": "body",
2663
- "type": "typography"
2641
+ "type": "typography",
2642
+ "variant": "body"
2664
2643
  }
2665
2644
  ],
2666
- "gap": "md",
2667
- "type": "stack",
2668
- "direction": "horizontal",
2669
- "justify": "between"
2645
+ "justify": "between",
2646
+ "gap": "md"
2670
2647
  }
2671
2648
  ],
2672
- "type": "stack",
2673
- "direction": "vertical"
2649
+ "gap": "sm"
2674
2650
  },
2675
2651
  {
2676
2652
  "showNext": false,
2677
- "currentStep": 3.0,
2678
2653
  "totalSteps": 4.0,
2679
2654
  "showBack": true,
2655
+ "type": "wizard-navigation",
2680
2656
  "showComplete": true,
2681
- "type": "wizard-navigation"
2657
+ "currentStep": 3.0
2682
2658
  }
2683
- ]
2659
+ ],
2660
+ "gap": "lg",
2661
+ "direction": "vertical"
2662
+ }
2663
+ ],
2664
+ "navItems": [
2665
+ {
2666
+ "href": "/providers",
2667
+ "icon": "user-check",
2668
+ "label": "Providers"
2669
+ },
2670
+ {
2671
+ "href": "/book",
2672
+ "icon": "calendar-plus",
2673
+ "label": "Book"
2674
+ },
2675
+ {
2676
+ "label": "Appointments",
2677
+ "href": "/appointments",
2678
+ "icon": "calendar"
2679
+ },
2680
+ {
2681
+ "label": "Schedule",
2682
+ "href": "/schedule",
2683
+ "icon": "clock"
2684
2684
  }
2685
2685
  ],
2686
2686
  "appName": "BookingSystemApp",
@@ -2708,56 +2708,34 @@
2708
2708
  "render-ui",
2709
2709
  "main",
2710
2710
  {
2711
- "type": "dashboard-layout",
2712
- "appName": "BookingSystemApp",
2713
- "navItems": [
2714
- {
2715
- "label": "Providers",
2716
- "icon": "user-check",
2717
- "href": "/providers"
2718
- },
2719
- {
2720
- "icon": "calendar-plus",
2721
- "label": "Book",
2722
- "href": "/book"
2723
- },
2724
- {
2725
- "href": "/appointments",
2726
- "icon": "calendar",
2727
- "label": "Appointments"
2728
- },
2729
- {
2730
- "icon": "clock",
2731
- "label": "Schedule",
2732
- "href": "/schedule"
2733
- }
2734
- ],
2735
- "children": [
2711
+ "children": [
2736
2712
  {
2713
+ "maxWidth": "lg",
2737
2714
  "children": [
2738
2715
  {
2739
- "direction": "vertical",
2716
+ "type": "stack",
2717
+ "gap": "lg",
2740
2718
  "children": [
2741
2719
  {
2720
+ "gap": "sm",
2721
+ "align": "center",
2722
+ "direction": "horizontal",
2723
+ "type": "stack",
2742
2724
  "children": [
2743
2725
  {
2744
- "name": "calendar",
2745
- "type": "icon"
2726
+ "type": "icon",
2727
+ "name": "calendar"
2746
2728
  },
2747
2729
  {
2748
- "content": "Book Appointment",
2730
+ "variant": "h2",
2749
2731
  "type": "typography",
2750
- "variant": "h2"
2732
+ "content": "Book Appointment"
2751
2733
  }
2752
- ],
2753
- "gap": "sm",
2754
- "direction": "horizontal",
2755
- "align": "center",
2756
- "type": "stack"
2734
+ ]
2757
2735
  },
2758
2736
  {
2759
- "currentIndex": 1.0,
2760
2737
  "count": 3.0,
2738
+ "currentIndex": 1.0,
2761
2739
  "type": "progress-dots"
2762
2740
  },
2763
2741
  {
@@ -2766,60 +2744,82 @@
2766
2744
  "Your Details",
2767
2745
  "Date and Time"
2768
2746
  ],
2769
- "type": "wizard-progress",
2770
- "currentStep": 1.0
2747
+ "currentStep": 1.0,
2748
+ "type": "wizard-progress"
2771
2749
  },
2772
2750
  {
2773
2751
  "type": "divider"
2774
2752
  },
2775
2753
  {
2776
- "content": "Your Details",
2777
2754
  "variant": "h3",
2755
+ "content": "Your Details",
2778
2756
  "type": "typography"
2779
2757
  },
2780
2758
  {
2781
- "type": "form-section",
2782
- "submitEvent": "NEXT",
2783
2759
  "entity": "Booking",
2784
2760
  "fields": [
2785
2761
  "customerName",
2786
2762
  "customerEmail"
2787
2763
  ],
2764
+ "type": "form-section",
2788
2765
  "mode": "create",
2766
+ "submitEvent": "NEXT",
2789
2767
  "cancelEvent": "PREV"
2790
2768
  },
2791
2769
  {
2792
- "direction": "horizontal",
2793
2770
  "justify": "end",
2794
- "gap": "sm",
2795
2771
  "type": "stack",
2772
+ "gap": "sm",
2796
2773
  "children": [
2797
2774
  {
2798
- "type": "button",
2799
- "variant": "ghost",
2800
2775
  "icon": "arrow-left",
2776
+ "label": "Back",
2801
2777
  "action": "PREV",
2802
- "label": "Back"
2778
+ "variant": "ghost",
2779
+ "type": "button"
2803
2780
  },
2804
2781
  {
2805
- "variant": "primary",
2782
+ "label": "Next",
2806
2783
  "icon": "arrow-right",
2807
2784
  "type": "button",
2808
- "label": "Next",
2809
- "action": "NEXT"
2785
+ "action": "NEXT",
2786
+ "variant": "primary"
2810
2787
  }
2811
- ]
2788
+ ],
2789
+ "direction": "horizontal"
2812
2790
  }
2813
2791
  ],
2814
- "type": "stack",
2815
- "gap": "lg"
2792
+ "direction": "vertical"
2816
2793
  }
2817
2794
  ],
2818
- "type": "container",
2819
- "maxWidth": "lg",
2820
- "padding": "lg"
2795
+ "padding": "lg",
2796
+ "type": "container"
2821
2797
  }
2822
- ]
2798
+ ],
2799
+ "type": "dashboard-layout",
2800
+ "navItems": [
2801
+ {
2802
+ "label": "Providers",
2803
+ "href": "/providers",
2804
+ "icon": "user-check"
2805
+ },
2806
+ {
2807
+ "label": "Book",
2808
+ "href": "/book",
2809
+ "icon": "calendar-plus"
2810
+ },
2811
+ {
2812
+ "icon": "calendar",
2813
+ "label": "Appointments",
2814
+ "href": "/appointments"
2815
+ },
2816
+ {
2817
+ "icon": "clock",
2818
+ "label": "Schedule",
2819
+ "href": "/schedule"
2820
+ }
2821
+ ],
2822
+ "appName": "BookingSystemApp"
2823
2823
  }
2824
2824
  ]
2825
2825
  ]
@@ -2843,7 +2843,6 @@
2843
2843
  "render-ui",
2844
2844
  "main",
2845
2845
  {
2846
- "type": "dashboard-layout",
2847
2846
  "navItems": [
2848
2847
  {
2849
2848
  "icon": "user-check",
@@ -2851,32 +2850,37 @@
2851
2850
  "href": "/providers"
2852
2851
  },
2853
2852
  {
2853
+ "icon": "calendar-plus",
2854
2854
  "label": "Book",
2855
- "href": "/book",
2856
- "icon": "calendar-plus"
2855
+ "href": "/book"
2857
2856
  },
2858
2857
  {
2859
- "icon": "calendar",
2860
2858
  "href": "/appointments",
2859
+ "icon": "calendar",
2861
2860
  "label": "Appointments"
2862
2861
  },
2863
2862
  {
2864
2863
  "href": "/schedule",
2865
- "icon": "clock",
2866
- "label": "Schedule"
2864
+ "label": "Schedule",
2865
+ "icon": "clock"
2867
2866
  }
2868
2867
  ],
2868
+ "type": "dashboard-layout",
2869
+ "appName": "BookingSystemApp",
2869
2870
  "children": [
2870
2871
  {
2871
2872
  "maxWidth": "lg",
2872
2873
  "padding": "lg",
2873
- "type": "container",
2874
2874
  "children": [
2875
2875
  {
2876
+ "type": "stack",
2876
2877
  "direction": "vertical",
2878
+ "gap": "lg",
2877
2879
  "children": [
2878
2880
  {
2879
2881
  "align": "center",
2882
+ "direction": "horizontal",
2883
+ "type": "stack",
2880
2884
  "gap": "sm",
2881
2885
  "children": [
2882
2886
  {
@@ -2884,37 +2888,36 @@
2884
2888
  "name": "calendar"
2885
2889
  },
2886
2890
  {
2887
- "content": "Book Appointment",
2891
+ "variant": "h2",
2888
2892
  "type": "typography",
2889
- "variant": "h2"
2893
+ "content": "Book Appointment"
2890
2894
  }
2891
- ],
2892
- "type": "stack",
2893
- "direction": "horizontal"
2895
+ ]
2894
2896
  },
2895
2897
  {
2898
+ "count": 3.0,
2896
2899
  "currentIndex": 2.0,
2897
- "type": "progress-dots",
2898
- "count": 3.0
2900
+ "type": "progress-dots"
2899
2901
  },
2900
2902
  {
2901
- "type": "wizard-progress",
2902
- "currentStep": 2.0,
2903
2903
  "steps": [
2904
2904
  "Provider Selection",
2905
2905
  "Your Details",
2906
2906
  "Date and Time"
2907
- ]
2907
+ ],
2908
+ "type": "wizard-progress",
2909
+ "currentStep": 2.0
2908
2910
  },
2909
2911
  {
2910
2912
  "type": "divider"
2911
2913
  },
2912
2914
  {
2913
2915
  "variant": "h3",
2914
- "content": "Date and Time",
2915
- "type": "typography"
2916
+ "type": "typography",
2917
+ "content": "Date and Time"
2916
2918
  },
2917
2919
  {
2920
+ "submitEvent": "NEXT",
2918
2921
  "cancelEvent": "PREV",
2919
2922
  "fields": [
2920
2923
  "date",
@@ -2922,40 +2925,37 @@
2922
2925
  "notes"
2923
2926
  ],
2924
2927
  "type": "form-section",
2925
- "mode": "create",
2926
2928
  "entity": "Booking",
2927
- "submitEvent": "NEXT"
2929
+ "mode": "create"
2928
2930
  },
2929
2931
  {
2930
2932
  "direction": "horizontal",
2931
2933
  "type": "stack",
2932
- "gap": "sm",
2933
2934
  "justify": "end",
2934
2935
  "children": [
2935
2936
  {
2936
2937
  "variant": "ghost",
2937
2938
  "label": "Back",
2938
- "type": "button",
2939
2939
  "action": "PREV",
2940
+ "type": "button",
2940
2941
  "icon": "arrow-left"
2941
2942
  },
2942
2943
  {
2943
- "action": "NEXT",
2944
2944
  "type": "button",
2945
- "label": "Next",
2946
2945
  "variant": "primary",
2946
+ "action": "NEXT",
2947
+ "label": "Next",
2947
2948
  "icon": "arrow-right"
2948
2949
  }
2949
- ]
2950
+ ],
2951
+ "gap": "sm"
2950
2952
  }
2951
- ],
2952
- "type": "stack",
2953
- "gap": "lg"
2953
+ ]
2954
2954
  }
2955
- ]
2955
+ ],
2956
+ "type": "container"
2956
2957
  }
2957
- ],
2958
- "appName": "BookingSystemApp"
2958
+ ]
2959
2959
  }
2960
2960
  ]
2961
2961
  ]
@@ -2980,61 +2980,61 @@
2980
2980
  "render-ui",
2981
2981
  "main",
2982
2982
  {
2983
- "appName": "BookingSystemApp",
2984
- "navItems": [
2985
- {
2986
- "href": "/providers",
2987
- "label": "Providers",
2988
- "icon": "user-check"
2989
- },
2990
- {
2991
- "href": "/book",
2992
- "icon": "calendar-plus",
2993
- "label": "Book"
2994
- },
2995
- {
2996
- "label": "Appointments",
2997
- "href": "/appointments",
2998
- "icon": "calendar"
2999
- },
3000
- {
3001
- "icon": "clock",
3002
- "label": "Schedule",
3003
- "href": "/schedule"
3004
- }
3005
- ],
3006
2983
  "children": [
3007
2984
  {
3008
- "align": "center",
2985
+ "gap": "lg",
2986
+ "type": "stack",
2987
+ "direction": "vertical",
3009
2988
  "children": [
3010
2989
  {
3011
- "type": "icon",
3012
- "name": "check-circle"
2990
+ "name": "check-circle",
2991
+ "type": "icon"
3013
2992
  },
3014
2993
  {
3015
- "type": "typography",
3016
2994
  "content": "Booking Confirmed",
3017
- "variant": "h2"
2995
+ "variant": "h2",
2996
+ "type": "typography"
3018
2997
  },
3019
2998
  {
3020
- "variant": "body",
3021
2999
  "content": "Your appointment has been booked successfully.",
3000
+ "variant": "body",
3022
3001
  "type": "typography"
3023
3002
  },
3024
3003
  {
3025
- "label": "Start New",
3026
- "action": "RESTART",
3004
+ "type": "button",
3027
3005
  "variant": "primary",
3028
3006
  "icon": "refresh-cw",
3029
- "type": "button"
3007
+ "action": "RESTART",
3008
+ "label": "Start New"
3030
3009
  }
3031
3010
  ],
3032
- "direction": "vertical",
3033
- "type": "stack",
3034
- "gap": "lg"
3011
+ "align": "center"
3035
3012
  }
3036
3013
  ],
3037
- "type": "dashboard-layout"
3014
+ "appName": "BookingSystemApp",
3015
+ "type": "dashboard-layout",
3016
+ "navItems": [
3017
+ {
3018
+ "icon": "user-check",
3019
+ "label": "Providers",
3020
+ "href": "/providers"
3021
+ },
3022
+ {
3023
+ "label": "Book",
3024
+ "icon": "calendar-plus",
3025
+ "href": "/book"
3026
+ },
3027
+ {
3028
+ "label": "Appointments",
3029
+ "href": "/appointments",
3030
+ "icon": "calendar"
3031
+ },
3032
+ {
3033
+ "icon": "clock",
3034
+ "label": "Schedule",
3035
+ "href": "/schedule"
3036
+ }
3037
+ ]
3038
3038
  }
3039
3039
  ]
3040
3040
  ]
@@ -3049,8 +3049,8 @@
3049
3049
  "Booking",
3050
3050
  {
3051
3051
  "emit": {
3052
- "failure": "BookingLoadFailed",
3053
- "success": "BookingLoaded"
3052
+ "success": "BookingLoaded",
3053
+ "failure": "BookingLoadFailed"
3054
3054
  }
3055
3055
  }
3056
3056
  ],
@@ -3058,11 +3058,12 @@
3058
3058
  "render-ui",
3059
3059
  "main",
3060
3060
  {
3061
+ "type": "dashboard-layout",
3061
3062
  "navItems": [
3062
3063
  {
3063
- "href": "/providers",
3064
3064
  "icon": "user-check",
3065
- "label": "Providers"
3065
+ "label": "Providers",
3066
+ "href": "/providers"
3066
3067
  },
3067
3068
  {
3068
3069
  "icon": "calendar-plus",
@@ -3071,26 +3072,32 @@
3071
3072
  },
3072
3073
  {
3073
3074
  "icon": "calendar",
3074
- "href": "/appointments",
3075
- "label": "Appointments"
3075
+ "label": "Appointments",
3076
+ "href": "/appointments"
3076
3077
  },
3077
3078
  {
3078
- "icon": "clock",
3079
+ "href": "/schedule",
3079
3080
  "label": "Schedule",
3080
- "href": "/schedule"
3081
+ "icon": "clock"
3081
3082
  }
3082
3083
  ],
3083
- "type": "dashboard-layout",
3084
+ "appName": "BookingSystemApp",
3084
3085
  "children": [
3085
3086
  {
3087
+ "maxWidth": "lg",
3088
+ "type": "container",
3089
+ "padding": "lg",
3086
3090
  "children": [
3087
3091
  {
3092
+ "gap": "lg",
3093
+ "direction": "vertical",
3088
3094
  "children": [
3089
3095
  {
3096
+ "align": "center",
3090
3097
  "children": [
3091
3098
  {
3092
- "type": "icon",
3093
- "name": "calendar"
3099
+ "name": "calendar",
3100
+ "type": "icon"
3094
3101
  },
3095
3102
  {
3096
3103
  "variant": "h2",
@@ -3098,70 +3105,63 @@
3098
3105
  "content": "Book Appointment"
3099
3106
  }
3100
3107
  ],
3101
- "align": "center",
3102
3108
  "type": "stack",
3103
3109
  "direction": "horizontal",
3104
3110
  "gap": "sm"
3105
3111
  },
3106
3112
  {
3107
- "currentIndex": 0.0,
3108
3113
  "type": "progress-dots",
3109
- "count": 3.0
3114
+ "count": 3.0,
3115
+ "currentIndex": 0.0
3110
3116
  },
3111
3117
  {
3112
3118
  "type": "wizard-progress",
3113
- "currentStep": 0.0,
3114
3119
  "steps": [
3115
3120
  "Provider Selection",
3116
3121
  "Your Details",
3117
3122
  "Date and Time"
3118
- ]
3123
+ ],
3124
+ "currentStep": 0.0
3119
3125
  },
3120
3126
  {
3121
3127
  "type": "divider"
3122
3128
  },
3123
3129
  {
3124
- "content": "Provider Selection",
3125
3130
  "type": "typography",
3131
+ "content": "Provider Selection",
3126
3132
  "variant": "h3"
3127
3133
  },
3128
3134
  {
3129
- "type": "form-section",
3135
+ "cancelEvent": "INIT",
3136
+ "entity": "Booking",
3130
3137
  "mode": "create",
3131
3138
  "submitEvent": "NEXT",
3132
- "entity": "Booking",
3133
- "cancelEvent": "INIT",
3134
3139
  "fields": [
3135
3140
  "providerName"
3136
- ]
3141
+ ],
3142
+ "type": "form-section"
3137
3143
  },
3138
3144
  {
3139
- "type": "stack",
3140
- "gap": "sm",
3141
3145
  "direction": "horizontal",
3142
3146
  "justify": "end",
3147
+ "gap": "sm",
3148
+ "type": "stack",
3143
3149
  "children": [
3144
3150
  {
3145
- "label": "Next",
3146
- "type": "button",
3147
3151
  "icon": "arrow-right",
3148
3152
  "variant": "primary",
3149
- "action": "NEXT"
3153
+ "action": "NEXT",
3154
+ "type": "button",
3155
+ "label": "Next"
3150
3156
  }
3151
3157
  ]
3152
3158
  }
3153
3159
  ],
3154
- "direction": "vertical",
3155
- "gap": "lg",
3156
3160
  "type": "stack"
3157
3161
  }
3158
- ],
3159
- "type": "container",
3160
- "padding": "lg",
3161
- "maxWidth": "lg"
3162
+ ]
3162
3163
  }
3163
- ],
3164
- "appName": "BookingSystemApp"
3164
+ ]
3165
3165
  }
3166
3166
  ]
3167
3167
  ]
@@ -3185,29 +3185,51 @@
3185
3185
  "render-ui",
3186
3186
  "main",
3187
3187
  {
3188
+ "navItems": [
3189
+ {
3190
+ "label": "Providers",
3191
+ "href": "/providers",
3192
+ "icon": "user-check"
3193
+ },
3194
+ {
3195
+ "label": "Book",
3196
+ "href": "/book",
3197
+ "icon": "calendar-plus"
3198
+ },
3199
+ {
3200
+ "href": "/appointments",
3201
+ "icon": "calendar",
3202
+ "label": "Appointments"
3203
+ },
3204
+ {
3205
+ "label": "Schedule",
3206
+ "href": "/schedule",
3207
+ "icon": "clock"
3208
+ }
3209
+ ],
3188
3210
  "type": "dashboard-layout",
3189
3211
  "children": [
3190
3212
  {
3213
+ "padding": "lg",
3214
+ "maxWidth": "lg",
3191
3215
  "children": [
3192
3216
  {
3193
- "direction": "vertical",
3194
- "gap": "lg",
3195
3217
  "children": [
3196
3218
  {
3219
+ "direction": "horizontal",
3197
3220
  "gap": "sm",
3221
+ "type": "stack",
3198
3222
  "children": [
3199
3223
  {
3200
- "type": "icon",
3201
- "name": "calendar"
3224
+ "name": "calendar",
3225
+ "type": "icon"
3202
3226
  },
3203
3227
  {
3204
3228
  "type": "typography",
3205
- "content": "Book Appointment",
3206
- "variant": "h2"
3229
+ "variant": "h2",
3230
+ "content": "Book Appointment"
3207
3231
  }
3208
3232
  ],
3209
- "direction": "horizontal",
3210
- "type": "stack",
3211
3233
  "align": "center"
3212
3234
  },
3213
3235
  {
@@ -3221,71 +3243,49 @@
3221
3243
  "Your Details",
3222
3244
  "Date and Time"
3223
3245
  ],
3224
- "type": "wizard-progress",
3225
- "currentStep": 0.0
3246
+ "currentStep": 0.0,
3247
+ "type": "wizard-progress"
3226
3248
  },
3227
3249
  {
3228
3250
  "type": "divider"
3229
3251
  },
3230
3252
  {
3231
- "type": "typography",
3253
+ "variant": "h3",
3232
3254
  "content": "Provider Selection",
3233
- "variant": "h3"
3255
+ "type": "typography"
3234
3256
  },
3235
3257
  {
3236
3258
  "cancelEvent": "INIT",
3237
3259
  "mode": "create",
3260
+ "submitEvent": "NEXT",
3238
3261
  "entity": "Booking",
3239
- "type": "form-section",
3240
3262
  "fields": [
3241
3263
  "providerName"
3242
3264
  ],
3243
- "submitEvent": "NEXT"
3265
+ "type": "form-section"
3244
3266
  },
3245
3267
  {
3246
- "gap": "sm",
3268
+ "type": "stack",
3269
+ "justify": "end",
3247
3270
  "children": [
3248
3271
  {
3249
- "action": "NEXT",
3250
- "type": "button",
3251
3272
  "label": "Next",
3252
3273
  "icon": "arrow-right",
3253
- "variant": "primary"
3274
+ "action": "NEXT",
3275
+ "variant": "primary",
3276
+ "type": "button"
3254
3277
  }
3255
3278
  ],
3256
- "type": "stack",
3257
- "justify": "end",
3279
+ "gap": "sm",
3258
3280
  "direction": "horizontal"
3259
3281
  }
3260
3282
  ],
3261
- "type": "stack"
3283
+ "type": "stack",
3284
+ "direction": "vertical",
3285
+ "gap": "lg"
3262
3286
  }
3263
3287
  ],
3264
- "maxWidth": "lg",
3265
- "type": "container",
3266
- "padding": "lg"
3267
- }
3268
- ],
3269
- "navItems": [
3270
- {
3271
- "label": "Providers",
3272
- "href": "/providers",
3273
- "icon": "user-check"
3274
- },
3275
- {
3276
- "icon": "calendar-plus",
3277
- "label": "Book",
3278
- "href": "/book"
3279
- },
3280
- {
3281
- "icon": "calendar",
3282
- "label": "Appointments",
3283
- "href": "/appointments"
3284
- },
3285
- {
3286
- "href": "/schedule",
3287
- "icon": "clock",
3288
- "label": "Schedule"
3288
+ "type": "container"
3289
3289
  }
3290
3290
  ],
3291
3291
  "appName": "BookingSystemApp"
@@ -3525,45 +3525,41 @@
3525
3525
  "render-ui",
3526
3526
  "main",
3527
3527
  {
3528
- "type": "dashboard-layout",
3528
+ "appName": "BookingSystemApp",
3529
3529
  "navItems": [
3530
3530
  {
3531
3531
  "label": "Providers",
3532
- "href": "/providers",
3533
- "icon": "user-check"
3532
+ "icon": "user-check",
3533
+ "href": "/providers"
3534
3534
  },
3535
3535
  {
3536
3536
  "icon": "calendar-plus",
3537
- "href": "/book",
3538
- "label": "Book"
3537
+ "label": "Book",
3538
+ "href": "/book"
3539
3539
  },
3540
3540
  {
3541
- "icon": "calendar",
3542
3541
  "label": "Appointments",
3543
- "href": "/appointments"
3542
+ "href": "/appointments",
3543
+ "icon": "calendar"
3544
3544
  },
3545
3545
  {
3546
+ "href": "/schedule",
3546
3547
  "icon": "clock",
3547
- "label": "Schedule",
3548
- "href": "/schedule"
3548
+ "label": "Schedule"
3549
3549
  }
3550
3550
  ],
3551
- "appName": "BookingSystemApp",
3552
3551
  "children": [
3553
3552
  {
3554
3553
  "type": "stack",
3555
3554
  "gap": "lg",
3556
3555
  "className": "max-w-5xl mx-auto w-full",
3556
+ "direction": "vertical",
3557
3557
  "children": [
3558
3558
  {
3559
- "direction": "horizontal",
3560
- "type": "stack",
3561
- "justify": "between",
3562
3559
  "gap": "md",
3563
3560
  "children": [
3564
3561
  {
3565
- "type": "stack",
3566
- "align": "center",
3562
+ "gap": "sm",
3567
3563
  "children": [
3568
3564
  {
3569
3565
  "name": "clock",
@@ -3575,25 +3571,29 @@
3575
3571
  "type": "typography"
3576
3572
  }
3577
3573
  ],
3574
+ "align": "center",
3578
3575
  "direction": "horizontal",
3579
- "gap": "sm"
3576
+ "type": "stack"
3580
3577
  },
3581
3578
  {
3579
+ "type": "stack",
3580
+ "gap": "sm",
3582
3581
  "direction": "horizontal",
3583
3582
  "children": [
3584
3583
  {
3584
+ "icon": "plus",
3585
3585
  "variant": "primary",
3586
- "label": "Create Appointment",
3587
3586
  "type": "button",
3588
3587
  "action": "CREATE",
3589
- "icon": "plus"
3588
+ "label": "Create Appointment"
3590
3589
  }
3591
- ],
3592
- "gap": "sm",
3593
- "type": "stack"
3590
+ ]
3594
3591
  }
3595
3592
  ],
3596
- "align": "center"
3593
+ "align": "center",
3594
+ "type": "stack",
3595
+ "justify": "between",
3596
+ "direction": "horizontal"
3597
3597
  },
3598
3598
  {
3599
3599
  "type": "divider"
@@ -3601,40 +3601,40 @@
3601
3601
  {
3602
3602
  "itemActions": [
3603
3603
  {
3604
- "event": "VIEW",
3604
+ "variant": "ghost",
3605
3605
  "label": "View",
3606
- "variant": "ghost"
3606
+ "event": "VIEW"
3607
3607
  },
3608
3608
  {
3609
+ "variant": "ghost",
3609
3610
  "label": "Edit",
3610
- "event": "EDIT",
3611
- "variant": "ghost"
3611
+ "event": "EDIT"
3612
3612
  },
3613
3613
  {
3614
3614
  "label": "Delete",
3615
- "event": "DELETE",
3616
- "variant": "danger"
3615
+ "variant": "danger",
3616
+ "event": "DELETE"
3617
3617
  }
3618
3618
  ],
3619
3619
  "columns": [
3620
3620
  {
3621
- "label": "Customer",
3622
3621
  "name": "customerName",
3623
- "icon": "clock",
3624
- "variant": "h3"
3622
+ "variant": "h3",
3623
+ "label": "Customer",
3624
+ "icon": "clock"
3625
3625
  },
3626
3626
  {
3627
- "name": "status",
3628
- "variant": "badge"
3627
+ "variant": "badge",
3628
+ "name": "status"
3629
3629
  },
3630
3630
  {
3631
3631
  "name": "providerName",
3632
- "label": "Provider",
3633
- "variant": "body"
3632
+ "variant": "body",
3633
+ "label": "Provider"
3634
3634
  },
3635
3635
  {
3636
- "variant": "body",
3637
3636
  "name": "date",
3637
+ "variant": "body",
3638
3638
  "format": "date"
3639
3639
  },
3640
3640
  {
@@ -3643,15 +3643,15 @@
3643
3643
  }
3644
3644
  ],
3645
3645
  "entity": "Appointment",
3646
- "variant": "card",
3647
3646
  "fields": [],
3648
- "gap": "sm",
3649
- "type": "data-list"
3647
+ "type": "data-list",
3648
+ "variant": "card",
3649
+ "gap": "sm"
3650
3650
  }
3651
- ],
3652
- "direction": "vertical"
3651
+ ]
3653
3652
  }
3654
- ]
3653
+ ],
3654
+ "type": "dashboard-layout"
3655
3655
  }
3656
3656
  ]
3657
3657
  ]
@@ -3846,29 +3846,33 @@
3846
3846
  "render-ui",
3847
3847
  "modal",
3848
3848
  {
3849
- "type": "stack",
3850
3849
  "gap": "md",
3850
+ "direction": "vertical",
3851
+ "type": "stack",
3851
3852
  "children": [
3852
3853
  {
3853
- "type": "stack",
3854
3854
  "direction": "horizontal",
3855
3855
  "children": [
3856
3856
  {
3857
- "name": "plus-circle",
3858
- "type": "icon"
3857
+ "type": "icon",
3858
+ "name": "plus-circle"
3859
3859
  },
3860
3860
  {
3861
- "type": "typography",
3862
3861
  "variant": "h3",
3863
- "content": "Create Appointment"
3862
+ "content": "Create Appointment",
3863
+ "type": "typography"
3864
3864
  }
3865
3865
  ],
3866
- "gap": "sm"
3866
+ "gap": "sm",
3867
+ "type": "stack"
3867
3868
  },
3868
3869
  {
3869
3870
  "type": "divider"
3870
3871
  },
3871
3872
  {
3873
+ "entity": "Appointment",
3874
+ "mode": "create",
3875
+ "cancelEvent": "CLOSE",
3872
3876
  "fields": [
3873
3877
  "providerName",
3874
3878
  "customerName",
@@ -3877,14 +3881,10 @@
3877
3881
  "status",
3878
3882
  "notes"
3879
3883
  ],
3880
- "submitEvent": "SAVE",
3881
- "entity": "Appointment",
3882
3884
  "type": "form-section",
3883
- "mode": "create",
3884
- "cancelEvent": "CLOSE"
3885
+ "submitEvent": "SAVE"
3885
3886
  }
3886
- ],
3887
- "direction": "vertical"
3887
+ ]
3888
3888
  }
3889
3889
  ]
3890
3890
  ]
@@ -4128,35 +4128,34 @@
4128
4128
  "fetch",
4129
4129
  "Appointment",
4130
4130
  {
4131
+ "id": "@payload.id",
4131
4132
  "emit": {
4132
4133
  "failure": "AppointmentLoadFailed",
4133
4134
  "success": "AppointmentLoaded"
4134
- },
4135
- "id": "@payload.id"
4135
+ }
4136
4136
  }
4137
4137
  ],
4138
4138
  [
4139
4139
  "render-ui",
4140
4140
  "modal",
4141
4141
  {
4142
- "type": "stack",
4143
- "direction": "vertical",
4144
4142
  "gap": "md",
4143
+ "type": "stack",
4145
4144
  "children": [
4146
4145
  {
4147
- "gap": "sm",
4148
- "direction": "horizontal",
4149
4146
  "children": [
4150
4147
  {
4151
4148
  "name": "edit",
4152
4149
  "type": "icon"
4153
4150
  },
4154
4151
  {
4155
- "content": "Edit Appointment",
4152
+ "variant": "h3",
4156
4153
  "type": "typography",
4157
- "variant": "h3"
4154
+ "content": "Edit Appointment"
4158
4155
  }
4159
4156
  ],
4157
+ "direction": "horizontal",
4158
+ "gap": "sm",
4160
4159
  "type": "stack"
4161
4160
  },
4162
4161
  {
@@ -4164,8 +4163,11 @@
4164
4163
  },
4165
4164
  {
4166
4165
  "mode": "edit",
4167
- "entity": "Appointment",
4168
4166
  "submitEvent": "SAVE",
4167
+ "entityId": "@entity.id",
4168
+ "type": "form-section",
4169
+ "entity": "Appointment",
4170
+ "cancelEvent": "CLOSE",
4169
4171
  "fields": [
4170
4172
  "providerName",
4171
4173
  "customerName",
@@ -4173,12 +4175,10 @@
4173
4175
  "time",
4174
4176
  "status",
4175
4177
  "notes"
4176
- ],
4177
- "entityId": "@entity.id",
4178
- "type": "form-section",
4179
- "cancelEvent": "CLOSE"
4178
+ ]
4180
4179
  }
4181
- ]
4180
+ ],
4181
+ "direction": "vertical"
4182
4182
  }
4183
4183
  ]
4184
4184
  ]
@@ -4411,8 +4411,8 @@
4411
4411
  {
4412
4412
  "id": "@payload.id",
4413
4413
  "emit": {
4414
- "failure": "AppointmentLoadFailed",
4415
- "success": "AppointmentLoaded"
4414
+ "success": "AppointmentLoaded",
4415
+ "failure": "AppointmentLoadFailed"
4416
4416
  }
4417
4417
  }
4418
4418
  ],
@@ -4422,47 +4422,48 @@
4422
4422
  {
4423
4423
  "gap": "md",
4424
4424
  "type": "stack",
4425
+ "direction": "vertical",
4425
4426
  "children": [
4426
4427
  {
4428
+ "direction": "horizontal",
4427
4429
  "gap": "sm",
4428
4430
  "children": [
4429
4431
  {
4430
- "type": "icon",
4431
- "name": "eye"
4432
+ "name": "eye",
4433
+ "type": "icon"
4432
4434
  },
4433
4435
  {
4434
- "content": "@entity.providerName",
4435
4436
  "variant": "h3",
4436
- "type": "typography"
4437
+ "type": "typography",
4438
+ "content": "@entity.providerName"
4437
4439
  }
4438
4440
  ],
4439
- "align": "center",
4440
4441
  "type": "stack",
4441
- "direction": "horizontal"
4442
+ "align": "center"
4442
4443
  },
4443
4444
  {
4444
4445
  "type": "divider"
4445
4446
  },
4446
4447
  {
4447
4448
  "gap": "md",
4449
+ "type": "stack",
4448
4450
  "direction": "horizontal",
4449
4451
  "children": [
4450
4452
  {
4451
- "type": "typography",
4453
+ "content": "Provider Name",
4452
4454
  "variant": "caption",
4453
- "content": "Provider Name"
4455
+ "type": "typography"
4454
4456
  },
4455
4457
  {
4456
- "content": "@entity.providerName",
4457
4458
  "type": "typography",
4458
- "variant": "body"
4459
+ "variant": "body",
4460
+ "content": "@entity.providerName"
4459
4461
  }
4460
- ],
4461
- "type": "stack"
4462
+ ]
4462
4463
  },
4463
4464
  {
4464
- "type": "stack",
4465
4465
  "direction": "horizontal",
4466
+ "type": "stack",
4466
4467
  "children": [
4467
4468
  {
4468
4469
  "type": "typography",
@@ -4471,66 +4472,65 @@
4471
4472
  },
4472
4473
  {
4473
4474
  "type": "typography",
4474
- "content": "@entity.customerName",
4475
- "variant": "body"
4475
+ "variant": "body",
4476
+ "content": "@entity.customerName"
4476
4477
  }
4477
4478
  ],
4478
4479
  "gap": "md"
4479
4480
  },
4480
4481
  {
4481
- "direction": "horizontal",
4482
- "gap": "md",
4483
4482
  "type": "stack",
4484
4483
  "children": [
4485
4484
  {
4486
- "type": "typography",
4485
+ "content": "Date",
4487
4486
  "variant": "caption",
4488
- "content": "Date"
4487
+ "type": "typography"
4489
4488
  },
4490
4489
  {
4491
- "content": "@entity.date",
4492
4490
  "type": "typography",
4493
- "variant": "body"
4491
+ "variant": "body",
4492
+ "content": "@entity.date"
4494
4493
  }
4495
- ]
4494
+ ],
4495
+ "direction": "horizontal",
4496
+ "gap": "md"
4496
4497
  },
4497
4498
  {
4498
4499
  "type": "stack",
4499
- "direction": "horizontal",
4500
4500
  "gap": "md",
4501
+ "direction": "horizontal",
4501
4502
  "children": [
4502
4503
  {
4503
- "content": "Time",
4504
+ "type": "typography",
4504
4505
  "variant": "caption",
4505
- "type": "typography"
4506
+ "content": "Time"
4506
4507
  },
4507
4508
  {
4508
- "variant": "body",
4509
4509
  "type": "typography",
4510
+ "variant": "body",
4510
4511
  "content": "@entity.time"
4511
4512
  }
4512
4513
  ]
4513
4514
  },
4514
4515
  {
4516
+ "direction": "horizontal",
4515
4517
  "children": [
4516
4518
  {
4519
+ "content": "Status",
4517
4520
  "variant": "caption",
4518
- "type": "typography",
4519
- "content": "Status"
4521
+ "type": "typography"
4520
4522
  },
4521
4523
  {
4522
- "variant": "body",
4523
4524
  "content": "@entity.status",
4524
- "type": "typography"
4525
+ "type": "typography",
4526
+ "variant": "body"
4525
4527
  }
4526
4528
  ],
4527
4529
  "type": "stack",
4528
- "gap": "md",
4529
- "direction": "horizontal"
4530
+ "gap": "md"
4530
4531
  },
4531
4532
  {
4532
4533
  "direction": "horizontal",
4533
- "gap": "md",
4534
4534
  "children": [
4535
4535
  {
4536
4536
  "type": "typography",
@@ -4538,39 +4538,39 @@
4538
4538
  "variant": "caption"
4539
4539
  },
4540
4540
  {
4541
- "content": "@entity.notes",
4542
4541
  "type": "typography",
4542
+ "content": "@entity.notes",
4543
4543
  "variant": "body"
4544
4544
  }
4545
4545
  ],
4546
- "type": "stack"
4546
+ "type": "stack",
4547
+ "gap": "md"
4547
4548
  },
4548
4549
  {
4549
4550
  "type": "divider"
4550
4551
  },
4551
4552
  {
4553
+ "type": "stack",
4554
+ "direction": "horizontal",
4552
4555
  "justify": "end",
4553
4556
  "children": [
4554
4557
  {
4558
+ "type": "button",
4555
4559
  "action": "EDIT",
4556
4560
  "variant": "primary",
4557
- "label": "Edit",
4558
4561
  "icon": "edit",
4559
- "type": "button"
4562
+ "label": "Edit"
4560
4563
  },
4561
4564
  {
4562
- "variant": "ghost",
4563
4565
  "action": "CLOSE",
4564
4566
  "type": "button",
4565
- "label": "Close"
4567
+ "label": "Close",
4568
+ "variant": "ghost"
4566
4569
  }
4567
4570
  ],
4568
- "gap": "sm",
4569
- "direction": "horizontal",
4570
- "type": "stack"
4571
+ "gap": "sm"
4571
4572
  }
4572
- ],
4573
- "direction": "vertical"
4573
+ ]
4574
4574
  }
4575
4575
  ]
4576
4576
  ]
@@ -4809,8 +4809,8 @@
4809
4809
  {
4810
4810
  "id": "@payload.id",
4811
4811
  "emit": {
4812
- "failure": "AppointmentLoadFailed",
4813
- "success": "AppointmentLoaded"
4812
+ "success": "AppointmentLoaded",
4813
+ "failure": "AppointmentLoadFailed"
4814
4814
  }
4815
4815
  }
4816
4816
  ],
@@ -4818,57 +4818,57 @@
4818
4818
  "render-ui",
4819
4819
  "modal",
4820
4820
  {
4821
+ "direction": "vertical",
4822
+ "type": "stack",
4821
4823
  "gap": "md",
4822
4824
  "children": [
4823
4825
  {
4824
- "align": "center",
4825
- "gap": "sm",
4826
- "direction": "horizontal",
4826
+ "type": "stack",
4827
4827
  "children": [
4828
4828
  {
4829
4829
  "type": "icon",
4830
4830
  "name": "alert-triangle"
4831
4831
  },
4832
4832
  {
4833
- "variant": "h3",
4833
+ "content": "Delete Appointment",
4834
4834
  "type": "typography",
4835
- "content": "Delete Appointment"
4835
+ "variant": "h3"
4836
4836
  }
4837
4837
  ],
4838
- "type": "stack"
4838
+ "gap": "sm",
4839
+ "align": "center",
4840
+ "direction": "horizontal"
4839
4841
  },
4840
4842
  {
4841
4843
  "type": "divider"
4842
4844
  },
4843
4845
  {
4844
4846
  "variant": "error",
4845
- "message": "This action cannot be undone.",
4846
- "type": "alert"
4847
+ "type": "alert",
4848
+ "message": "This action cannot be undone."
4847
4849
  },
4848
4850
  {
4851
+ "justify": "end",
4849
4852
  "direction": "horizontal",
4850
- "type": "stack",
4851
4853
  "children": [
4852
4854
  {
4853
4855
  "action": "CANCEL",
4854
- "type": "button",
4856
+ "label": "Cancel",
4855
4857
  "variant": "ghost",
4856
- "label": "Cancel"
4858
+ "type": "button"
4857
4859
  },
4858
4860
  {
4859
- "label": "Delete",
4860
- "action": "CONFIRM_DELETE",
4861
4861
  "type": "button",
4862
4862
  "variant": "danger",
4863
- "icon": "check"
4863
+ "action": "CONFIRM_DELETE",
4864
+ "icon": "check",
4865
+ "label": "Delete"
4864
4866
  }
4865
4867
  ],
4866
- "gap": "sm",
4867
- "justify": "end"
4868
+ "type": "stack",
4869
+ "gap": "sm"
4868
4870
  }
4869
- ],
4870
- "direction": "vertical",
4871
- "type": "stack"
4871
+ ]
4872
4872
  }
4873
4873
  ]
4874
4874
  ]
@@ -5129,53 +5129,28 @@
5129
5129
  "from": "loading",
5130
5130
  "to": "displaying",
5131
5131
  "event": "INIT",
5132
- "effects": [
5133
- [
5134
- "fetch",
5135
- "Schedule",
5136
- {
5137
- "emit": {
5138
- "failure": "ScheduleLoadFailed",
5139
- "success": "ScheduleLoaded"
5140
- }
5141
- }
5142
- ],
5143
- [
5144
- "render-ui",
5145
- "main",
5146
- {
5147
- "navItems": [
5148
- {
5149
- "label": "Providers",
5150
- "icon": "user-check",
5151
- "href": "/providers"
5152
- },
5153
- {
5154
- "label": "Book",
5155
- "href": "/book",
5156
- "icon": "calendar-plus"
5157
- },
5158
- {
5159
- "icon": "calendar",
5160
- "label": "Appointments",
5161
- "href": "/appointments"
5162
- },
5163
- {
5164
- "label": "Schedule",
5165
- "href": "/schedule",
5166
- "icon": "clock"
5167
- }
5168
- ],
5169
- "appName": "BookingSystemApp",
5132
+ "effects": [
5133
+ [
5134
+ "fetch",
5135
+ "Schedule",
5136
+ {
5137
+ "emit": {
5138
+ "failure": "ScheduleLoadFailed",
5139
+ "success": "ScheduleLoaded"
5140
+ }
5141
+ }
5142
+ ],
5143
+ [
5144
+ "render-ui",
5145
+ "main",
5146
+ {
5170
5147
  "type": "dashboard-layout",
5171
5148
  "children": [
5172
5149
  {
5173
- "type": "scaled-diagram",
5174
5150
  "children": [
5175
5151
  {
5176
5152
  "children": [
5177
5153
  {
5178
- "type": "breadcrumb",
5179
5154
  "items": [
5180
5155
  {
5181
5156
  "href": "/",
@@ -5184,11 +5159,10 @@
5184
5159
  {
5185
5160
  "label": "Schedule Overview"
5186
5161
  }
5187
- ]
5162
+ ],
5163
+ "type": "breadcrumb"
5188
5164
  },
5189
5165
  {
5190
- "type": "stack",
5191
- "justify": "between",
5192
5166
  "children": [
5193
5167
  {
5194
5168
  "type": "stack",
@@ -5198,8 +5172,8 @@
5198
5172
  "type": "icon"
5199
5173
  },
5200
5174
  {
5201
- "type": "typography",
5202
5175
  "content": "Schedule Overview",
5176
+ "type": "typography",
5203
5177
  "variant": "h2"
5204
5178
  }
5205
5179
  ],
@@ -5208,28 +5182,28 @@
5208
5182
  },
5209
5183
  {
5210
5184
  "variant": "secondary",
5185
+ "action": "REFRESH",
5211
5186
  "label": "Refresh",
5212
5187
  "icon": "refresh-cw",
5213
- "type": "button",
5214
- "action": "REFRESH"
5188
+ "type": "button"
5215
5189
  }
5216
5190
  ],
5217
- "gap": "md",
5218
- "direction": "horizontal"
5191
+ "direction": "horizontal",
5192
+ "type": "stack",
5193
+ "justify": "between",
5194
+ "gap": "md"
5219
5195
  },
5220
5196
  {
5221
5197
  "type": "divider"
5222
5198
  },
5223
5199
  {
5224
5200
  "type": "box",
5225
- "padding": "md",
5226
5201
  "children": [
5227
5202
  {
5228
- "type": "simple-grid",
5229
5203
  "cols": 4.0,
5204
+ "type": "simple-grid",
5230
5205
  "children": [
5231
5206
  {
5232
- "label": "TotalBookings",
5233
5207
  "value": [
5234
5208
  "object/get",
5235
5209
  [
@@ -5238,10 +5212,12 @@
5238
5212
  ],
5239
5213
  "totalBookings"
5240
5214
  ],
5241
- "type": "stat-display"
5215
+ "type": "stat-display",
5216
+ "label": "TotalBookings"
5242
5217
  },
5243
5218
  {
5244
5219
  "type": "stat-display",
5220
+ "label": "ConfirmedToday",
5245
5221
  "value": [
5246
5222
  "object/get",
5247
5223
  [
@@ -5249,12 +5225,11 @@
5249
5225
  "@entity"
5250
5226
  ],
5251
5227
  "confirmedToday"
5252
- ],
5253
- "label": "ConfirmedToday"
5228
+ ]
5254
5229
  },
5255
5230
  {
5256
- "label": "PendingBookings",
5257
5231
  "type": "stat-display",
5232
+ "label": "PendingBookings",
5258
5233
  "value": [
5259
5234
  "object/get",
5260
5235
  [
@@ -5266,6 +5241,7 @@
5266
5241
  },
5267
5242
  {
5268
5243
  "type": "stat-display",
5244
+ "label": "AvailableSlots",
5269
5245
  "value": [
5270
5246
  "object/get",
5271
5247
  [
@@ -5273,18 +5249,17 @@
5273
5249
  "@entity"
5274
5250
  ],
5275
5251
  "availableSlots"
5276
- ],
5277
- "label": "AvailableSlots"
5252
+ ]
5278
5253
  }
5279
5254
  ]
5280
5255
  }
5281
- ]
5256
+ ],
5257
+ "padding": "md"
5282
5258
  },
5283
5259
  {
5284
5260
  "type": "divider"
5285
5261
  },
5286
5262
  {
5287
- "gap": "md",
5288
5263
  "type": "grid",
5289
5264
  "cols": 2.0,
5290
5265
  "children": [
@@ -5299,39 +5274,40 @@
5299
5274
  ]
5300
5275
  },
5301
5276
  {
5302
- "type": "card",
5303
5277
  "children": [
5304
5278
  {
5305
- "content": "Graph View",
5306
5279
  "type": "typography",
5307
- "variant": "caption"
5280
+ "variant": "caption",
5281
+ "content": "Graph View"
5308
5282
  }
5309
- ]
5283
+ ],
5284
+ "type": "card"
5310
5285
  }
5311
- ]
5286
+ ],
5287
+ "gap": "md"
5312
5288
  },
5313
5289
  {
5314
5290
  "type": "line-chart",
5315
5291
  "data": [
5316
5292
  {
5317
- "date": "Jan",
5318
- "value": 12.0
5293
+ "value": 12.0,
5294
+ "date": "Jan"
5319
5295
  },
5320
5296
  {
5321
5297
  "date": "Feb",
5322
5298
  "value": 19.0
5323
5299
  },
5324
5300
  {
5325
- "value": 15.0,
5326
- "date": "Mar"
5301
+ "date": "Mar",
5302
+ "value": 15.0
5327
5303
  },
5328
5304
  {
5329
5305
  "date": "Apr",
5330
5306
  "value": 25.0
5331
5307
  },
5332
5308
  {
5333
- "value": 22.0,
5334
- "date": "May"
5309
+ "date": "May",
5310
+ "value": 22.0
5335
5311
  },
5336
5312
  {
5337
5313
  "date": "Jun",
@@ -5347,54 +5323,78 @@
5347
5323
  "color": "primary"
5348
5324
  },
5349
5325
  {
5350
- "label": "Previous",
5351
- "color": "muted"
5326
+ "color": "muted",
5327
+ "label": "Previous"
5352
5328
  }
5353
5329
  ]
5354
5330
  },
5355
5331
  {
5356
- "type": "graph-view",
5332
+ "height": 200.0,
5333
+ "edges": [
5334
+ {
5335
+ "from": "a",
5336
+ "to": "b"
5337
+ },
5338
+ {
5339
+ "from": "b",
5340
+ "to": "c"
5341
+ }
5342
+ ],
5357
5343
  "width": 400.0,
5358
5344
  "nodes": [
5359
5345
  {
5360
- "label": "Start",
5361
- "y": 100.0,
5362
5346
  "id": "a",
5363
- "x": 50.0
5347
+ "y": 100.0,
5348
+ "x": 50.0,
5349
+ "label": "Start"
5364
5350
  },
5365
5351
  {
5366
5352
  "id": "b",
5367
- "label": "Process",
5353
+ "y": 50.0,
5368
5354
  "x": 200.0,
5369
- "y": 50.0
5355
+ "label": "Process"
5370
5356
  },
5371
5357
  {
5372
5358
  "id": "c",
5373
- "x": 350.0,
5374
5359
  "y": 100.0,
5360
+ "x": 350.0,
5375
5361
  "label": "End"
5376
5362
  }
5377
5363
  ],
5378
- "height": 200.0,
5379
- "edges": [
5380
- {
5381
- "from": "a",
5382
- "to": "b"
5383
- },
5384
- {
5385
- "from": "b",
5386
- "to": "c"
5387
- }
5388
- ]
5364
+ "type": "graph-view"
5389
5365
  }
5390
5366
  ],
5391
5367
  "gap": "lg",
5392
- "direction": "vertical",
5393
- "type": "stack"
5368
+ "type": "stack",
5369
+ "direction": "vertical"
5394
5370
  }
5395
- ]
5371
+ ],
5372
+ "type": "scaled-diagram"
5396
5373
  }
5397
- ]
5374
+ ],
5375
+ "navItems": [
5376
+ {
5377
+ "icon": "user-check",
5378
+ "href": "/providers",
5379
+ "label": "Providers"
5380
+ },
5381
+ {
5382
+ "label": "Book",
5383
+ "href": "/book",
5384
+ "icon": "calendar-plus"
5385
+ },
5386
+ {
5387
+ "label": "Appointments",
5388
+ "icon": "calendar",
5389
+ "href": "/appointments"
5390
+ },
5391
+ {
5392
+ "href": "/schedule",
5393
+ "icon": "clock",
5394
+ "label": "Schedule"
5395
+ }
5396
+ ],
5397
+ "appName": "BookingSystemApp"
5398
5398
  }
5399
5399
  ]
5400
5400
  ]
@@ -5419,11 +5419,35 @@
5419
5419
  "main",
5420
5420
  {
5421
5421
  "type": "dashboard-layout",
5422
+ "navItems": [
5423
+ {
5424
+ "href": "/providers",
5425
+ "icon": "user-check",
5426
+ "label": "Providers"
5427
+ },
5428
+ {
5429
+ "label": "Book",
5430
+ "href": "/book",
5431
+ "icon": "calendar-plus"
5432
+ },
5433
+ {
5434
+ "icon": "calendar",
5435
+ "label": "Appointments",
5436
+ "href": "/appointments"
5437
+ },
5438
+ {
5439
+ "icon": "clock",
5440
+ "label": "Schedule",
5441
+ "href": "/schedule"
5442
+ }
5443
+ ],
5444
+ "appName": "BookingSystemApp",
5422
5445
  "children": [
5423
5446
  {
5447
+ "type": "scaled-diagram",
5424
5448
  "children": [
5425
5449
  {
5426
- "direction": "vertical",
5450
+ "gap": "lg",
5427
5451
  "children": [
5428
5452
  {
5429
5453
  "type": "breadcrumb",
@@ -5438,47 +5462,46 @@
5438
5462
  ]
5439
5463
  },
5440
5464
  {
5441
- "type": "stack",
5442
- "gap": "md",
5465
+ "justify": "between",
5443
5466
  "children": [
5444
5467
  {
5445
- "gap": "md",
5468
+ "type": "stack",
5469
+ "direction": "horizontal",
5446
5470
  "children": [
5447
5471
  {
5448
5472
  "name": "bar-chart-2",
5449
5473
  "type": "icon"
5450
5474
  },
5451
5475
  {
5452
- "content": "Schedule Overview",
5453
5476
  "variant": "h2",
5454
- "type": "typography"
5477
+ "type": "typography",
5478
+ "content": "Schedule Overview"
5455
5479
  }
5456
5480
  ],
5457
- "type": "stack",
5458
- "direction": "horizontal"
5481
+ "gap": "md"
5459
5482
  },
5460
5483
  {
5461
- "variant": "secondary",
5462
- "type": "button",
5463
5484
  "action": "REFRESH",
5485
+ "icon": "refresh-cw",
5486
+ "type": "button",
5464
5487
  "label": "Refresh",
5465
- "icon": "refresh-cw"
5488
+ "variant": "secondary"
5466
5489
  }
5467
5490
  ],
5468
- "justify": "between",
5469
- "direction": "horizontal"
5491
+ "direction": "horizontal",
5492
+ "type": "stack",
5493
+ "gap": "md"
5470
5494
  },
5471
5495
  {
5472
5496
  "type": "divider"
5473
5497
  },
5474
5498
  {
5499
+ "type": "box",
5475
5500
  "children": [
5476
5501
  {
5477
5502
  "cols": 4.0,
5478
5503
  "children": [
5479
5504
  {
5480
- "type": "stat-display",
5481
- "label": "TotalBookings",
5482
5505
  "value": [
5483
5506
  "object/get",
5484
5507
  [
@@ -5486,9 +5509,13 @@
5486
5509
  "@entity"
5487
5510
  ],
5488
5511
  "totalBookings"
5489
- ]
5512
+ ],
5513
+ "label": "TotalBookings",
5514
+ "type": "stat-display"
5490
5515
  },
5491
5516
  {
5517
+ "type": "stat-display",
5518
+ "label": "ConfirmedToday",
5492
5519
  "value": [
5493
5520
  "object/get",
5494
5521
  [
@@ -5496,11 +5523,10 @@
5496
5523
  "@entity"
5497
5524
  ],
5498
5525
  "confirmedToday"
5499
- ],
5500
- "type": "stat-display",
5501
- "label": "ConfirmedToday"
5526
+ ]
5502
5527
  },
5503
5528
  {
5529
+ "type": "stat-display",
5504
5530
  "label": "PendingBookings",
5505
5531
  "value": [
5506
5532
  "object/get",
@@ -5509,11 +5535,9 @@
5509
5535
  "@entity"
5510
5536
  ],
5511
5537
  "pendingBookings"
5512
- ],
5513
- "type": "stat-display"
5538
+ ]
5514
5539
  },
5515
5540
  {
5516
- "label": "AvailableSlots",
5517
5541
  "value": [
5518
5542
  "object/get",
5519
5543
  [
@@ -5522,46 +5546,47 @@
5522
5546
  ],
5523
5547
  "availableSlots"
5524
5548
  ],
5525
- "type": "stat-display"
5549
+ "type": "stat-display",
5550
+ "label": "AvailableSlots"
5526
5551
  }
5527
5552
  ],
5528
5553
  "type": "simple-grid"
5529
5554
  }
5530
5555
  ],
5531
- "padding": "md",
5532
- "type": "box"
5556
+ "padding": "md"
5533
5557
  },
5534
5558
  {
5535
5559
  "type": "divider"
5536
5560
  },
5537
5561
  {
5538
- "type": "grid",
5539
5562
  "children": [
5540
5563
  {
5541
5564
  "type": "card",
5542
5565
  "children": [
5543
5566
  {
5544
- "type": "typography",
5545
5567
  "variant": "caption",
5546
- "content": "Chart View"
5568
+ "content": "Chart View",
5569
+ "type": "typography"
5547
5570
  }
5548
5571
  ]
5549
5572
  },
5550
5573
  {
5551
5574
  "children": [
5552
5575
  {
5553
- "variant": "caption",
5576
+ "type": "typography",
5554
5577
  "content": "Graph View",
5555
- "type": "typography"
5578
+ "variant": "caption"
5556
5579
  }
5557
5580
  ],
5558
5581
  "type": "card"
5559
5582
  }
5560
5583
  ],
5584
+ "type": "grid",
5561
5585
  "cols": 2.0,
5562
5586
  "gap": "md"
5563
5587
  },
5564
5588
  {
5589
+ "type": "line-chart",
5565
5590
  "data": [
5566
5591
  {
5567
5592
  "date": "Jan",
@@ -5572,103 +5597,78 @@
5572
5597
  "value": 19.0
5573
5598
  },
5574
5599
  {
5575
- "value": 15.0,
5576
- "date": "Mar"
5600
+ "date": "Mar",
5601
+ "value": 15.0
5577
5602
  },
5578
5603
  {
5579
5604
  "date": "Apr",
5580
5605
  "value": 25.0
5581
5606
  },
5582
5607
  {
5583
- "date": "May",
5584
- "value": 22.0
5608
+ "value": 22.0,
5609
+ "date": "May"
5585
5610
  },
5586
5611
  {
5587
- "value": 30.0,
5588
- "date": "Jun"
5612
+ "date": "Jun",
5613
+ "value": 30.0
5589
5614
  }
5590
- ],
5591
- "type": "line-chart"
5615
+ ]
5592
5616
  },
5593
5617
  {
5594
- "type": "chart-legend",
5595
5618
  "items": [
5596
5619
  {
5597
5620
  "color": "primary",
5598
5621
  "label": "Current"
5599
5622
  },
5600
5623
  {
5601
- "label": "Previous",
5602
- "color": "muted"
5624
+ "color": "muted",
5625
+ "label": "Previous"
5603
5626
  }
5604
- ]
5627
+ ],
5628
+ "type": "chart-legend"
5605
5629
  },
5606
5630
  {
5607
5631
  "type": "graph-view",
5632
+ "height": 200.0,
5608
5633
  "edges": [
5609
5634
  {
5610
- "to": "b",
5611
- "from": "a"
5635
+ "from": "a",
5636
+ "to": "b"
5612
5637
  },
5613
5638
  {
5614
5639
  "from": "b",
5615
5640
  "to": "c"
5616
5641
  }
5617
5642
  ],
5643
+ "width": 400.0,
5618
5644
  "nodes": [
5619
5645
  {
5620
5646
  "label": "Start",
5621
- "id": "a",
5622
5647
  "y": 100.0,
5623
- "x": 50.0
5648
+ "x": 50.0,
5649
+ "id": "a"
5624
5650
  },
5625
5651
  {
5626
- "id": "b",
5627
- "x": 200.0,
5628
5652
  "y": 50.0,
5629
- "label": "Process"
5653
+ "label": "Process",
5654
+ "id": "b",
5655
+ "x": 200.0
5630
5656
  },
5631
5657
  {
5658
+ "y": 100.0,
5632
5659
  "x": 350.0,
5633
5660
  "id": "c",
5634
- "label": "End",
5635
- "y": 100.0
5661
+ "label": "End"
5636
5662
  }
5637
- ],
5638
- "height": 200.0,
5639
- "width": 400.0
5663
+ ]
5640
5664
  }
5641
5665
  ],
5642
- "gap": "lg",
5643
- "type": "stack"
5666
+ "type": "stack",
5667
+ "direction": "vertical"
5644
5668
  }
5645
- ],
5646
- "type": "scaled-diagram"
5647
- }
5648
- ],
5649
- "navItems": [
5650
- {
5651
- "label": "Providers",
5652
- "icon": "user-check",
5653
- "href": "/providers"
5654
- },
5655
- {
5656
- "label": "Book",
5657
- "href": "/book",
5658
- "icon": "calendar-plus"
5659
- },
5660
- {
5661
- "label": "Appointments",
5662
- "href": "/appointments",
5663
- "icon": "calendar"
5664
- },
5665
- {
5666
- "icon": "clock",
5667
- "label": "Schedule",
5668
- "href": "/schedule"
5669
+ ]
5669
5670
  }
5670
- ],
5671
- "appName": "BookingSystemApp"
5671
+ ]
5672
5672
  }
5673
5673
  ]
5674
5674
  ]
@@ -5692,88 +5692,70 @@
5692
5692
  "render-ui",
5693
5693
  "main",
5694
5694
  {
5695
- "navItems": [
5696
- {
5697
- "icon": "user-check",
5698
- "href": "/providers",
5699
- "label": "Providers"
5700
- },
5701
- {
5702
- "label": "Book",
5703
- "href": "/book",
5704
- "icon": "calendar-plus"
5705
- },
5706
- {
5707
- "label": "Appointments",
5708
- "href": "/appointments",
5709
- "icon": "calendar"
5710
- },
5711
- {
5712
- "label": "Schedule",
5713
- "href": "/schedule",
5714
- "icon": "clock"
5715
- }
5716
- ],
5717
5695
  "type": "dashboard-layout",
5696
+ "appName": "BookingSystemApp",
5718
5697
  "children": [
5719
5698
  {
5720
- "type": "scaled-diagram",
5721
5699
  "children": [
5722
5700
  {
5701
+ "type": "stack",
5723
5702
  "children": [
5724
5703
  {
5704
+ "type": "breadcrumb",
5725
5705
  "items": [
5726
5706
  {
5727
- "label": "Home",
5728
- "href": "/"
5707
+ "href": "/",
5708
+ "label": "Home"
5729
5709
  },
5730
5710
  {
5731
5711
  "label": "Schedule Overview"
5732
5712
  }
5733
- ],
5734
- "type": "breadcrumb"
5713
+ ]
5735
5714
  },
5736
5715
  {
5716
+ "gap": "md",
5717
+ "justify": "between",
5718
+ "type": "stack",
5719
+ "direction": "horizontal",
5737
5720
  "children": [
5738
5721
  {
5739
- "type": "stack",
5740
- "gap": "md",
5741
5722
  "children": [
5742
5723
  {
5743
5724
  "name": "bar-chart-2",
5744
5725
  "type": "icon"
5745
5726
  },
5746
5727
  {
5728
+ "variant": "h2",
5747
5729
  "content": "Schedule Overview",
5748
- "type": "typography",
5749
- "variant": "h2"
5730
+ "type": "typography"
5750
5731
  }
5751
5732
  ],
5752
- "direction": "horizontal"
5733
+ "gap": "md",
5734
+ "direction": "horizontal",
5735
+ "type": "stack"
5753
5736
  },
5754
5737
  {
5755
- "label": "Refresh",
5738
+ "action": "REFRESH",
5756
5739
  "type": "button",
5757
5740
  "variant": "secondary",
5758
5741
  "icon": "refresh-cw",
5759
- "action": "REFRESH"
5742
+ "label": "Refresh"
5760
5743
  }
5761
- ],
5762
- "type": "stack",
5763
- "gap": "md",
5764
- "justify": "between",
5765
- "direction": "horizontal"
5744
+ ]
5766
5745
  },
5767
5746
  {
5768
5747
  "type": "divider"
5769
5748
  },
5770
5749
  {
5771
- "padding": "md",
5750
+ "type": "box",
5772
5751
  "children": [
5773
5752
  {
5753
+ "type": "simple-grid",
5754
+ "cols": 4.0,
5774
5755
  "children": [
5775
5756
  {
5776
5757
  "label": "TotalBookings",
5758
+ "type": "stat-display",
5777
5759
  "value": [
5778
5760
  "object/get",
5779
5761
  [
@@ -5781,11 +5763,11 @@
5781
5763
  "@entity"
5782
5764
  ],
5783
5765
  "totalBookings"
5784
- ],
5785
- "type": "stat-display"
5766
+ ]
5786
5767
  },
5787
5768
  {
5788
5769
  "type": "stat-display",
5770
+ "label": "ConfirmedToday",
5789
5771
  "value": [
5790
5772
  "object/get",
5791
5773
  [
@@ -5793,11 +5775,9 @@
5793
5775
  "@entity"
5794
5776
  ],
5795
5777
  "confirmedToday"
5796
- ],
5797
- "label": "ConfirmedToday"
5778
+ ]
5798
5779
  },
5799
5780
  {
5800
- "type": "stat-display",
5801
5781
  "value": [
5802
5782
  "object/get",
5803
5783
  [
@@ -5806,7 +5786,8 @@
5806
5786
  ],
5807
5787
  "pendingBookings"
5808
5788
  ],
5809
- "label": "PendingBookings"
5789
+ "label": "PendingBookings",
5790
+ "type": "stat-display"
5810
5791
  },
5811
5792
  {
5812
5793
  "type": "stat-display",
@@ -5820,129 +5801,148 @@
5820
5801
  "availableSlots"
5821
5802
  ]
5822
5803
  }
5823
- ],
5824
- "type": "simple-grid",
5825
- "cols": 4.0
5804
+ ]
5826
5805
  }
5827
5806
  ],
5828
- "type": "box"
5807
+ "padding": "md"
5829
5808
  },
5830
5809
  {
5831
5810
  "type": "divider"
5832
5811
  },
5833
5812
  {
5834
- "type": "grid",
5835
5813
  "gap": "md",
5836
5814
  "cols": 2.0,
5815
+ "type": "grid",
5837
5816
  "children": [
5838
5817
  {
5839
- "type": "card",
5840
5818
  "children": [
5841
5819
  {
5842
- "content": "Chart View",
5843
5820
  "variant": "caption",
5821
+ "content": "Chart View",
5844
5822
  "type": "typography"
5845
5823
  }
5846
- ]
5824
+ ],
5825
+ "type": "card"
5847
5826
  },
5848
5827
  {
5849
5828
  "type": "card",
5850
5829
  "children": [
5851
5830
  {
5852
- "type": "typography",
5853
5831
  "variant": "caption",
5854
- "content": "Graph View"
5832
+ "content": "Graph View",
5833
+ "type": "typography"
5855
5834
  }
5856
5835
  ]
5857
5836
  }
5858
5837
  ]
5859
5838
  },
5860
5839
  {
5840
+ "type": "line-chart",
5861
5841
  "data": [
5862
5842
  {
5863
5843
  "date": "Jan",
5864
5844
  "value": 12.0
5865
5845
  },
5866
5846
  {
5867
- "date": "Feb",
5868
- "value": 19.0
5847
+ "value": 19.0,
5848
+ "date": "Feb"
5869
5849
  },
5870
5850
  {
5871
- "value": 15.0,
5872
- "date": "Mar"
5851
+ "date": "Mar",
5852
+ "value": 15.0
5873
5853
  },
5874
5854
  {
5875
- "date": "Apr",
5876
- "value": 25.0
5855
+ "value": 25.0,
5856
+ "date": "Apr"
5877
5857
  },
5878
5858
  {
5879
5859
  "date": "May",
5880
5860
  "value": 22.0
5881
5861
  },
5882
5862
  {
5883
- "date": "Jun",
5884
- "value": 30.0
5863
+ "value": 30.0,
5864
+ "date": "Jun"
5885
5865
  }
5886
- ],
5887
- "type": "line-chart"
5866
+ ]
5888
5867
  },
5889
5868
  {
5890
- "type": "chart-legend",
5891
5869
  "items": [
5892
5870
  {
5893
- "color": "primary",
5894
- "label": "Current"
5871
+ "label": "Current",
5872
+ "color": "primary"
5895
5873
  },
5896
5874
  {
5897
5875
  "label": "Previous",
5898
5876
  "color": "muted"
5899
5877
  }
5900
- ]
5878
+ ],
5879
+ "type": "chart-legend"
5901
5880
  },
5902
5881
  {
5903
5882
  "type": "graph-view",
5904
5883
  "width": 400.0,
5905
5884
  "nodes": [
5906
5885
  {
5886
+ "id": "a",
5907
5887
  "label": "Start",
5908
5888
  "y": 100.0,
5909
- "id": "a",
5910
5889
  "x": 50.0
5911
5890
  },
5912
5891
  {
5892
+ "y": 50.0,
5913
5893
  "id": "b",
5914
5894
  "label": "Process",
5915
- "x": 200.0,
5916
- "y": 50.0
5895
+ "x": 200.0
5917
5896
  },
5918
5897
  {
5919
- "label": "End",
5920
- "y": 100.0,
5898
+ "id": "c",
5921
5899
  "x": 350.0,
5922
- "id": "c"
5900
+ "label": "End",
5901
+ "y": 100.0
5923
5902
  }
5924
5903
  ],
5904
+ "height": 200.0,
5925
5905
  "edges": [
5926
5906
  {
5927
- "from": "a",
5928
- "to": "b"
5907
+ "to": "b",
5908
+ "from": "a"
5929
5909
  },
5930
5910
  {
5931
5911
  "from": "b",
5932
5912
  "to": "c"
5933
5913
  }
5934
- ],
5935
- "height": 200.0
5914
+ ]
5936
5915
  }
5937
5916
  ],
5938
- "type": "stack",
5939
- "gap": "lg",
5940
- "direction": "vertical"
5917
+ "direction": "vertical",
5918
+ "gap": "lg"
5941
5919
  }
5942
- ]
5920
+ ],
5921
+ "type": "scaled-diagram"
5943
5922
  }
5944
5923
  ],
5945
- "appName": "BookingSystemApp"
5924
+ "navItems": [
5925
+ {
5926
+ "label": "Providers",
5927
+ "href": "/providers",
5928
+ "icon": "user-check"
5929
+ },
5930
+ {
5931
+ "icon": "calendar-plus",
5932
+ "href": "/book",
5933
+ "label": "Book"
5934
+ },
5935
+ {
5936
+ "label": "Appointments",
5937
+ "href": "/appointments",
5938
+ "icon": "calendar"
5939
+ },
5940
+ {
5941
+ "label": "Schedule",
5942
+ "href": "/schedule",
5943
+ "icon": "clock"
5944
+ }
5945
+ ]
5946
5946
  }
5947
5947
  ]
5948
5948
  ]
@@ -5968,37 +5968,32 @@
5968
5968
  {
5969
5969
  "navItems": [
5970
5970
  {
5971
+ "href": "/providers",
5971
5972
  "label": "Providers",
5972
- "icon": "user-check",
5973
- "href": "/providers"
5973
+ "icon": "user-check"
5974
5974
  },
5975
5975
  {
5976
- "icon": "calendar-plus",
5977
5976
  "label": "Book",
5978
- "href": "/book"
5977
+ "href": "/book",
5978
+ "icon": "calendar-plus"
5979
5979
  },
5980
5980
  {
5981
5981
  "label": "Appointments",
5982
- "icon": "calendar",
5983
- "href": "/appointments"
5982
+ "href": "/appointments",
5983
+ "icon": "calendar"
5984
5984
  },
5985
5985
  {
5986
- "label": "Schedule",
5986
+ "icon": "clock",
5987
5987
  "href": "/schedule",
5988
- "icon": "clock"
5988
+ "label": "Schedule"
5989
5989
  }
5990
5990
  ],
5991
- "type": "dashboard-layout",
5992
5991
  "children": [
5993
5992
  {
5994
5993
  "children": [
5995
5994
  {
5996
- "type": "stack",
5997
- "direction": "vertical",
5998
- "gap": "lg",
5999
5995
  "children": [
6000
5996
  {
6001
- "type": "breadcrumb",
6002
5997
  "items": [
6003
5998
  {
6004
5999
  "href": "/",
@@ -6007,17 +6002,14 @@
6007
6002
  {
6008
6003
  "label": "Schedule Overview"
6009
6004
  }
6010
- ]
6005
+ ],
6006
+ "type": "breadcrumb"
6011
6007
  },
6012
6008
  {
6013
- "direction": "horizontal",
6014
- "gap": "md",
6015
6009
  "type": "stack",
6016
- "justify": "between",
6017
6010
  "children": [
6018
6011
  {
6019
6012
  "direction": "horizontal",
6020
- "gap": "md",
6021
6013
  "type": "stack",
6022
6014
  "children": [
6023
6015
  {
@@ -6026,30 +6018,33 @@
6026
6018
  },
6027
6019
  {
6028
6020
  "type": "typography",
6029
- "content": "Schedule Overview",
6030
- "variant": "h2"
6021
+ "variant": "h2",
6022
+ "content": "Schedule Overview"
6031
6023
  }
6032
- ]
6024
+ ],
6025
+ "gap": "md"
6033
6026
  },
6034
6027
  {
6035
- "variant": "secondary",
6036
6028
  "type": "button",
6029
+ "variant": "secondary",
6037
6030
  "label": "Refresh",
6038
- "icon": "refresh-cw",
6039
- "action": "REFRESH"
6031
+ "action": "REFRESH",
6032
+ "icon": "refresh-cw"
6040
6033
  }
6041
- ]
6034
+ ],
6035
+ "gap": "md",
6036
+ "justify": "between",
6037
+ "direction": "horizontal"
6042
6038
  },
6043
6039
  {
6044
6040
  "type": "divider"
6045
6041
  },
6046
6042
  {
6047
- "type": "box",
6048
6043
  "children": [
6049
6044
  {
6050
- "cols": 4.0,
6051
6045
  "children": [
6052
6046
  {
6047
+ "type": "stat-display",
6053
6048
  "value": [
6054
6049
  "object/get",
6055
6050
  [
@@ -6058,7 +6053,6 @@
6058
6053
  ],
6059
6054
  "totalBookings"
6060
6055
  ],
6061
- "type": "stat-display",
6062
6056
  "label": "TotalBookings"
6063
6057
  },
6064
6058
  {
@@ -6074,8 +6068,6 @@
6074
6068
  ]
6075
6069
  },
6076
6070
  {
6077
- "type": "stat-display",
6078
- "label": "PendingBookings",
6079
6071
  "value": [
6080
6072
  "object/get",
6081
6073
  [
@@ -6083,9 +6075,12 @@
6083
6075
  "@entity"
6084
6076
  ],
6085
6077
  "pendingBookings"
6086
- ]
6078
+ ],
6079
+ "type": "stat-display",
6080
+ "label": "PendingBookings"
6087
6081
  },
6088
6082
  {
6083
+ "label": "AvailableSlots",
6089
6084
  "type": "stat-display",
6090
6085
  "value": [
6091
6086
  "object/get",
@@ -6094,47 +6089,47 @@
6094
6089
  "@entity"
6095
6090
  ],
6096
6091
  "availableSlots"
6097
- ],
6098
- "label": "AvailableSlots"
6092
+ ]
6099
6093
  }
6100
6094
  ],
6101
- "type": "simple-grid"
6095
+ "type": "simple-grid",
6096
+ "cols": 4.0
6102
6097
  }
6103
6098
  ],
6104
- "padding": "md"
6099
+ "padding": "md",
6100
+ "type": "box"
6105
6101
  },
6106
6102
  {
6107
6103
  "type": "divider"
6108
6104
  },
6109
6105
  {
6110
- "type": "grid",
6106
+ "cols": 2.0,
6111
6107
  "children": [
6112
6108
  {
6113
- "type": "card",
6114
6109
  "children": [
6115
6110
  {
6116
6111
  "content": "Chart View",
6117
- "type": "typography",
6118
- "variant": "caption"
6112
+ "variant": "caption",
6113
+ "type": "typography"
6119
6114
  }
6120
- ]
6115
+ ],
6116
+ "type": "card"
6121
6117
  },
6122
6118
  {
6119
+ "type": "card",
6123
6120
  "children": [
6124
6121
  {
6125
- "content": "Graph View",
6126
6122
  "type": "typography",
6127
- "variant": "caption"
6123
+ "variant": "caption",
6124
+ "content": "Graph View"
6128
6125
  }
6129
- ],
6130
- "type": "card"
6126
+ ]
6131
6127
  }
6132
6128
  ],
6133
- "gap": "md",
6134
- "cols": 2.0
6129
+ "type": "grid",
6130
+ "gap": "md"
6135
6131
  },
6136
6132
  {
6137
- "type": "line-chart",
6138
6133
  "data": [
6139
6134
  {
6140
6135
  "date": "Jan",
@@ -6145,78 +6140,83 @@
6145
6140
  "date": "Feb"
6146
6141
  },
6147
6142
  {
6148
- "date": "Mar",
6149
- "value": 15.0
6143
+ "value": 15.0,
6144
+ "date": "Mar"
6150
6145
  },
6151
6146
  {
6152
- "date": "Apr",
6153
- "value": 25.0
6147
+ "value": 25.0,
6148
+ "date": "Apr"
6154
6149
  },
6155
6150
  {
6156
- "value": 22.0,
6157
- "date": "May"
6151
+ "date": "May",
6152
+ "value": 22.0
6158
6153
  },
6159
6154
  {
6160
- "date": "Jun",
6161
- "value": 30.0
6155
+ "value": 30.0,
6156
+ "date": "Jun"
6162
6157
  }
6163
- ]
6158
+ ],
6159
+ "type": "line-chart"
6164
6160
  },
6165
6161
  {
6166
- "type": "chart-legend",
6167
6162
  "items": [
6168
6163
  {
6169
- "color": "primary",
6170
- "label": "Current"
6164
+ "label": "Current",
6165
+ "color": "primary"
6171
6166
  },
6172
6167
  {
6173
6168
  "color": "muted",
6174
6169
  "label": "Previous"
6175
6170
  }
6176
- ]
6171
+ ],
6172
+ "type": "chart-legend"
6177
6173
  },
6178
6174
  {
6175
+ "edges": [
6176
+ {
6177
+ "to": "b",
6178
+ "from": "a"
6179
+ },
6180
+ {
6181
+ "to": "c",
6182
+ "from": "b"
6183
+ }
6184
+ ],
6179
6185
  "nodes": [
6180
6186
  {
6181
- "y": 100.0,
6182
- "x": 50.0,
6187
+ "label": "Start",
6183
6188
  "id": "a",
6184
- "label": "Start"
6189
+ "x": 50.0,
6190
+ "y": 100.0
6185
6191
  },
6186
6192
  {
6187
- "label": "Process",
6188
- "x": 200.0,
6189
6193
  "id": "b",
6190
- "y": 50.0
6194
+ "y": 50.0,
6195
+ "label": "Process",
6196
+ "x": 200.0
6191
6197
  },
6192
6198
  {
6193
6199
  "id": "c",
6200
+ "y": 100.0,
6194
6201
  "label": "End",
6195
- "x": 350.0,
6196
- "y": 100.0
6202
+ "x": 350.0
6197
6203
  }
6198
6204
  ],
6199
- "width": 400.0,
6200
6205
  "type": "graph-view",
6201
- "edges": [
6202
- {
6203
- "from": "a",
6204
- "to": "b"
6205
- },
6206
- {
6207
- "from": "b",
6208
- "to": "c"
6209
- }
6210
- ],
6206
+ "width": 400.0,
6211
6207
  "height": 200.0
6212
6208
  }
6213
- ]
6209
+ ],
6210
+ "direction": "vertical",
6211
+ "type": "stack",
6212
+ "gap": "lg"
6214
6213
  }
6215
6214
  ],
6216
6215
  "type": "scaled-diagram"
6217
6216
  }
6218
6217
  ],
6219
- "appName": "BookingSystemApp"
6218
+ "appName": "BookingSystemApp",
6219
+ "type": "dashboard-layout"
6220
6220
  }
6221
6221
  ]
6222
6222
  ]
@@ -6231,8 +6231,8 @@
6231
6231
  "Schedule",
6232
6232
  {
6233
6233
  "emit": {
6234
- "failure": "ScheduleLoadFailed",
6235
- "success": "ScheduleLoaded"
6234
+ "success": "ScheduleLoaded",
6235
+ "failure": "ScheduleLoadFailed"
6236
6236
  }
6237
6237
  }
6238
6238
  ],
@@ -6240,57 +6240,32 @@
6240
6240
  "render-ui",
6241
6241
  "main",
6242
6242
  {
6243
- "navItems": [
6244
- {
6245
- "href": "/providers",
6246
- "label": "Providers",
6247
- "icon": "user-check"
6248
- },
6249
- {
6250
- "label": "Book",
6251
- "icon": "calendar-plus",
6252
- "href": "/book"
6253
- },
6254
- {
6255
- "label": "Appointments",
6256
- "icon": "calendar",
6257
- "href": "/appointments"
6258
- },
6259
- {
6260
- "href": "/schedule",
6261
- "icon": "clock",
6262
- "label": "Schedule"
6263
- }
6264
- ],
6265
- "appName": "BookingSystemApp",
6266
6243
  "children": [
6267
6244
  {
6268
6245
  "type": "scaled-diagram",
6269
6246
  "children": [
6270
6247
  {
6271
- "type": "stack",
6272
- "direction": "vertical",
6273
- "gap": "lg",
6274
6248
  "children": [
6275
6249
  {
6250
+ "type": "breadcrumb",
6276
6251
  "items": [
6277
6252
  {
6278
- "label": "Home",
6279
- "href": "/"
6253
+ "href": "/",
6254
+ "label": "Home"
6280
6255
  },
6281
6256
  {
6282
6257
  "label": "Schedule Overview"
6283
6258
  }
6284
- ],
6285
- "type": "breadcrumb"
6259
+ ]
6286
6260
  },
6287
6261
  {
6288
6262
  "justify": "between",
6289
6263
  "direction": "horizontal",
6264
+ "gap": "md",
6290
6265
  "children": [
6291
6266
  {
6292
- "direction": "horizontal",
6293
6267
  "type": "stack",
6268
+ "direction": "horizontal",
6294
6269
  "gap": "md",
6295
6270
  "children": [
6296
6271
  {
@@ -6299,32 +6274,31 @@
6299
6274
  },
6300
6275
  {
6301
6276
  "type": "typography",
6302
- "variant": "h2",
6303
- "content": "Schedule Overview"
6277
+ "content": "Schedule Overview",
6278
+ "variant": "h2"
6304
6279
  }
6305
6280
  ]
6306
6281
  },
6307
6282
  {
6283
+ "type": "button",
6308
6284
  "variant": "secondary",
6309
- "label": "Refresh",
6310
6285
  "icon": "refresh-cw",
6311
6286
  "action": "REFRESH",
6312
- "type": "button"
6287
+ "label": "Refresh"
6313
6288
  }
6314
6289
  ],
6315
- "type": "stack",
6316
- "gap": "md"
6290
+ "type": "stack"
6317
6291
  },
6318
6292
  {
6319
6293
  "type": "divider"
6320
6294
  },
6321
6295
  {
6322
- "type": "box",
6323
6296
  "children": [
6324
6297
  {
6325
- "type": "simple-grid",
6298
+ "cols": 4.0,
6326
6299
  "children": [
6327
6300
  {
6301
+ "type": "stat-display",
6328
6302
  "value": [
6329
6303
  "object/get",
6330
6304
  [
@@ -6333,11 +6307,9 @@
6333
6307
  ],
6334
6308
  "totalBookings"
6335
6309
  ],
6336
- "type": "stat-display",
6337
6310
  "label": "TotalBookings"
6338
6311
  },
6339
6312
  {
6340
- "type": "stat-display",
6341
6313
  "value": [
6342
6314
  "object/get",
6343
6315
  [
@@ -6346,11 +6318,12 @@
6346
6318
  ],
6347
6319
  "confirmedToday"
6348
6320
  ],
6321
+ "type": "stat-display",
6349
6322
  "label": "ConfirmedToday"
6350
6323
  },
6351
6324
  {
6352
- "label": "PendingBookings",
6353
6325
  "type": "stat-display",
6326
+ "label": "PendingBookings",
6354
6327
  "value": [
6355
6328
  "object/get",
6356
6329
  [
@@ -6361,6 +6334,7 @@
6361
6334
  ]
6362
6335
  },
6363
6336
  {
6337
+ "type": "stat-display",
6364
6338
  "label": "AvailableSlots",
6365
6339
  "value": [
6366
6340
  "object/get",
@@ -6369,79 +6343,79 @@
6369
6343
  "@entity"
6370
6344
  ],
6371
6345
  "availableSlots"
6372
- ],
6373
- "type": "stat-display"
6346
+ ]
6374
6347
  }
6375
6348
  ],
6376
- "cols": 4.0
6349
+ "type": "simple-grid"
6377
6350
  }
6378
6351
  ],
6352
+ "type": "box",
6379
6353
  "padding": "md"
6380
6354
  },
6381
6355
  {
6382
6356
  "type": "divider"
6383
6357
  },
6384
6358
  {
6359
+ "type": "grid",
6385
6360
  "cols": 2.0,
6386
- "gap": "md",
6387
6361
  "children": [
6388
6362
  {
6389
6363
  "type": "card",
6390
6364
  "children": [
6391
6365
  {
6392
- "variant": "caption",
6393
6366
  "type": "typography",
6367
+ "variant": "caption",
6394
6368
  "content": "Chart View"
6395
6369
  }
6396
6370
  ]
6397
6371
  },
6398
6372
  {
6399
- "type": "card",
6400
6373
  "children": [
6401
6374
  {
6402
- "variant": "caption",
6403
6375
  "content": "Graph View",
6404
- "type": "typography"
6376
+ "type": "typography",
6377
+ "variant": "caption"
6405
6378
  }
6406
- ]
6379
+ ],
6380
+ "type": "card"
6407
6381
  }
6408
6382
  ],
6409
- "type": "grid"
6383
+ "gap": "md"
6410
6384
  },
6411
6385
  {
6412
- "type": "line-chart",
6413
6386
  "data": [
6414
6387
  {
6415
6388
  "date": "Jan",
6416
6389
  "value": 12.0
6417
6390
  },
6418
6391
  {
6419
- "date": "Feb",
6420
- "value": 19.0
6392
+ "value": 19.0,
6393
+ "date": "Feb"
6421
6394
  },
6422
6395
  {
6423
6396
  "date": "Mar",
6424
6397
  "value": 15.0
6425
6398
  },
6426
6399
  {
6427
- "date": "Apr",
6428
- "value": 25.0
6400
+ "value": 25.0,
6401
+ "date": "Apr"
6429
6402
  },
6430
6403
  {
6431
- "value": 22.0,
6432
- "date": "May"
6404
+ "date": "May",
6405
+ "value": 22.0
6433
6406
  },
6434
6407
  {
6435
6408
  "value": 30.0,
6436
6409
  "date": "Jun"
6437
6410
  }
6438
- ]
6411
+ ],
6412
+ "type": "line-chart"
6439
6413
  },
6440
6414
  {
6441
6415
  "items": [
6442
6416
  {
6443
- "color": "primary",
6444
- "label": "Current"
6417
+ "label": "Current",
6418
+ "color": "primary"
6445
6419
  },
6446
6420
  {
6447
6421
  "label": "Previous",
@@ -6451,46 +6425,72 @@
6451
6425
  "type": "chart-legend"
6452
6426
  },
6453
6427
  {
6428
+ "width": 400.0,
6429
+ "height": 200.0,
6454
6430
  "type": "graph-view",
6455
6431
  "nodes": [
6456
6432
  {
6457
6433
  "id": "a",
6458
- "label": "Start",
6459
6434
  "y": 100.0,
6435
+ "label": "Start",
6460
6436
  "x": 50.0
6461
6437
  },
6462
6438
  {
6439
+ "label": "Process",
6463
6440
  "id": "b",
6464
6441
  "x": 200.0,
6465
- "label": "Process",
6466
6442
  "y": 50.0
6467
6443
  },
6468
6444
  {
6469
- "id": "c",
6470
- "label": "End",
6471
6445
  "x": 350.0,
6446
+ "label": "End",
6447
+ "id": "c",
6472
6448
  "y": 100.0
6473
6449
  }
6474
6450
  ],
6475
6451
  "edges": [
6476
6452
  {
6477
- "to": "b",
6478
- "from": "a"
6453
+ "from": "a",
6454
+ "to": "b"
6479
6455
  },
6480
6456
  {
6481
- "to": "c",
6482
- "from": "b"
6457
+ "from": "b",
6458
+ "to": "c"
6483
6459
  }
6484
- ],
6485
- "height": 200.0,
6486
- "width": 400.0
6460
+ ]
6487
6461
  }
6488
- ]
6462
+ ],
6463
+ "type": "stack",
6464
+ "direction": "vertical",
6465
+ "gap": "lg"
6489
6466
  }
6490
6467
  ]
6491
6468
  }
6492
6469
  ],
6493
- "type": "dashboard-layout"
6470
+ "type": "dashboard-layout",
6471
+ "navItems": [
6472
+ {
6473
+ "href": "/providers",
6474
+ "label": "Providers",
6475
+ "icon": "user-check"
6476
+ },
6477
+ {
6478
+ "icon": "calendar-plus",
6479
+ "href": "/book",
6480
+ "label": "Book"
6481
+ },
6482
+ {
6483
+ "href": "/appointments",
6484
+ "label": "Appointments",
6485
+ "icon": "calendar"
6486
+ },
6487
+ {
6488
+ "label": "Schedule",
6489
+ "href": "/schedule",
6490
+ "icon": "clock"
6491
+ }
6492
+ ],
6493
+ "appName": "BookingSystemApp"
6494
6494
  }
6495
6495
  ]
6496
6496
  ]