@almadar/std 8.3.0 → 8.4.1

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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +119 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +413 -404
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +146 -141
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  27. package/behaviors/registry/app/organisms/std-cms.orb +469 -469
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  29. package/behaviors/registry/app/organisms/std-crm.orb +832 -832
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  37. package/behaviors/registry/app/organisms/std-lms.orb +839 -839
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  42. package/behaviors/registry/core/atoms/std-browse.orb +53 -53
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  44. package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  47. package/behaviors/registry/core/atoms/std-display.orb +383 -383
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +42 -42
  50. package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  55. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  59. package/behaviors/registry/core/molecules/std-cart.orb +45 -45
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  62. package/behaviors/registry/core/molecules/std-list.orb +46 -46
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  64. package/behaviors/registry/game/atoms/std-collision.orb +121 -121
  65. package/behaviors/registry/game/atoms/std-combat.orb +68 -68
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +306 -306
  70. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +274 -274
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  83. package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  84. package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +119 -114
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +413 -404
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +146 -141
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +274 -274
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  187. package/package.json +1 -1
@@ -643,8 +643,8 @@
643
643
  "Product",
644
644
  {
645
645
  "emit": {
646
- "failure": "ProductLoadFailed",
647
- "success": "ProductLoaded"
646
+ "success": "ProductLoaded",
647
+ "failure": "ProductLoadFailed"
648
648
  }
649
649
  }
650
650
  ],
@@ -652,22 +652,22 @@
652
652
  "render-ui",
653
653
  "main",
654
654
  {
655
+ "direction": "vertical",
656
+ "className": "py-12",
655
657
  "gap": "md",
656
- "type": "stack",
657
658
  "children": [
658
659
  {
659
660
  "type": "spinner"
660
661
  },
661
662
  {
662
- "color": "muted",
663
- "type": "typography",
664
663
  "content": "Loading…",
665
- "variant": "caption"
664
+ "variant": "caption",
665
+ "type": "typography",
666
+ "color": "muted"
666
667
  }
667
668
  ],
668
- "direction": "vertical",
669
- "align": "center",
670
- "className": "py-12"
669
+ "type": "stack",
670
+ "align": "center"
671
671
  }
672
672
  ]
673
673
  ]
@@ -683,75 +683,74 @@
683
683
  {
684
684
  "children": [
685
685
  {
686
+ "type": "stack",
686
687
  "direction": "vertical",
687
688
  "className": "max-w-5xl mx-auto w-full",
688
- "type": "stack",
689
- "gap": "lg",
690
689
  "children": [
691
690
  {
692
- "type": "stack",
693
- "direction": "horizontal",
694
- "align": "center",
695
- "justify": "between",
696
691
  "children": [
697
692
  {
698
- "type": "stack",
699
693
  "align": "center",
700
694
  "direction": "horizontal",
701
695
  "children": [
702
696
  {
703
- "type": "icon",
704
- "name": "shopping-bag"
697
+ "name": "shopping-bag",
698
+ "type": "icon"
705
699
  },
706
700
  {
707
- "content": "Products",
708
701
  "type": "typography",
702
+ "content": "Products",
709
703
  "variant": "h2"
710
704
  }
711
705
  ],
706
+ "type": "stack",
712
707
  "gap": "sm"
713
708
  },
714
709
  {
715
- "direction": "horizontal",
716
- "type": "stack",
717
710
  "children": [
718
711
  {
712
+ "type": "button",
713
+ "label": "Create Product",
719
714
  "action": "CREATE",
720
715
  "icon": "plus",
721
- "variant": "primary",
722
- "label": "Create Product",
723
- "type": "button"
716
+ "variant": "primary"
724
717
  }
725
718
  ],
719
+ "type": "stack",
720
+ "direction": "horizontal",
726
721
  "gap": "sm"
727
722
  }
728
723
  ],
729
- "gap": "md"
724
+ "type": "stack",
725
+ "gap": "md",
726
+ "direction": "horizontal",
727
+ "align": "center",
728
+ "justify": "between"
730
729
  },
731
730
  {
732
731
  "type": "divider"
733
732
  },
734
733
  {
734
+ "entity": "@payload.data",
735
+ "type": "data-grid",
735
736
  "itemActions": [
736
737
  {
737
738
  "event": "VIEW",
738
- "variant": "ghost",
739
- "label": "View"
739
+ "label": "View",
740
+ "variant": "ghost"
740
741
  },
741
742
  {
742
- "event": "EDIT",
743
+ "label": "Edit",
743
744
  "variant": "ghost",
744
- "label": "Edit"
745
+ "event": "EDIT"
745
746
  },
746
747
  {
747
- "label": "Delete",
748
+ "variant": "danger",
748
749
  "event": "DELETE",
749
- "variant": "danger"
750
+ "label": "Delete"
750
751
  }
751
752
  ],
752
- "entity": "@payload.data",
753
753
  "fields": [],
754
- "type": "data-grid",
755
754
  "columns": [
756
755
  {
757
756
  "variant": "h4",
@@ -764,51 +763,52 @@
764
763
  "name": "description",
765
764
  "variant": "badge",
766
765
  "colorMap": {
767
- "active": "success",
768
- "pending": "warning",
769
- "disabled": "neutral",
770
766
  "archived": "neutral",
771
- "failed": "destructive",
772
- "draft": "warning",
773
767
  "done": "success",
768
+ "pending": "warning",
774
769
  "error": "destructive",
775
- "inactive": "neutral",
776
770
  "cancelled": "destructive",
777
771
  "scheduled": "warning",
778
- "completed": "success"
772
+ "completed": "success",
773
+ "disabled": "neutral",
774
+ "inactive": "neutral",
775
+ "active": "success",
776
+ "failed": "destructive",
777
+ "draft": "warning"
779
778
  }
780
779
  },
781
780
  {
781
+ "variant": "caption",
782
782
  "label": "Price",
783
- "name": "price",
784
- "variant": "caption"
783
+ "name": "price"
785
784
  }
786
785
  ]
787
786
  }
788
- ]
787
+ ],
788
+ "gap": "lg"
789
789
  }
790
790
  ],
791
791
  "appName": "ServiceMarketplace",
792
792
  "navItems": [
793
793
  {
794
794
  "label": "Products",
795
- "href": "/products",
796
- "icon": "package"
795
+ "icon": "package",
796
+ "href": "/products"
797
797
  },
798
798
  {
799
- "href": "/login",
799
+ "icon": "layout-list",
800
800
  "label": "Login",
801
- "icon": "layout-list"
801
+ "href": "/login"
802
802
  },
803
803
  {
804
+ "href": "/checkout",
804
805
  "icon": "credit-card",
805
- "label": "Checkout",
806
- "href": "/checkout"
806
+ "label": "Checkout"
807
807
  },
808
808
  {
809
- "icon": "clipboard-list",
810
809
  "label": "Orders",
811
- "href": "/orders"
810
+ "href": "/orders",
811
+ "icon": "clipboard-list"
812
812
  }
813
813
  ],
814
814
  "type": "dashboard-layout"
@@ -825,36 +825,36 @@
825
825
  "render-ui",
826
826
  "main",
827
827
  {
828
- "type": "stack",
829
828
  "gap": "md",
830
- "align": "center",
831
829
  "className": "py-12",
830
+ "direction": "vertical",
832
831
  "children": [
833
832
  {
834
- "color": "destructive",
835
833
  "type": "icon",
836
- "name": "alert-triangle"
834
+ "name": "alert-triangle",
835
+ "color": "destructive"
837
836
  },
838
837
  {
839
- "variant": "h3",
840
838
  "content": "Failed to load product",
839
+ "variant": "h3",
841
840
  "type": "typography"
842
841
  },
843
842
  {
844
- "content": "@payload.error",
845
843
  "variant": "body",
846
844
  "color": "muted",
845
+ "content": "@payload.error",
847
846
  "type": "typography"
848
847
  },
849
848
  {
850
- "action": "INIT",
851
- "icon": "rotate-ccw",
852
849
  "label": "Retry",
853
850
  "variant": "primary",
854
- "type": "button"
851
+ "type": "button",
852
+ "icon": "rotate-ccw",
853
+ "action": "INIT"
855
854
  }
856
855
  ],
857
- "direction": "vertical"
856
+ "type": "stack",
857
+ "align": "center"
858
858
  }
859
859
  ]
860
860
  ]
@@ -1047,23 +1047,24 @@
1047
1047
  "render-ui",
1048
1048
  "modal",
1049
1049
  {
1050
+ "type": "stack",
1050
1051
  "direction": "vertical",
1051
1052
  "children": [
1052
1053
  {
1053
- "type": "stack",
1054
1054
  "direction": "horizontal",
1055
+ "type": "stack",
1056
+ "gap": "sm",
1055
1057
  "children": [
1056
1058
  {
1057
- "name": "plus-circle",
1058
- "type": "icon"
1059
+ "type": "icon",
1060
+ "name": "plus-circle"
1059
1061
  },
1060
1062
  {
1061
- "variant": "h3",
1062
1063
  "type": "typography",
1063
- "content": "Create Product"
1064
+ "content": "Create Product",
1065
+ "variant": "h3"
1064
1066
  }
1065
- ],
1066
- "gap": "sm"
1067
+ ]
1067
1068
  },
1068
1069
  {
1069
1070
  "type": "divider"
@@ -1071,6 +1072,7 @@
1071
1072
  {
1072
1073
  "type": "form-section",
1073
1074
  "mode": "create",
1075
+ "cancelEvent": "CLOSE",
1074
1076
  "fields": [
1075
1077
  "name",
1076
1078
  "description",
@@ -1078,12 +1080,10 @@
1078
1080
  "category",
1079
1081
  "inStock"
1080
1082
  ],
1081
- "submitEvent": "SAVE",
1082
- "cancelEvent": "CLOSE"
1083
+ "submitEvent": "SAVE"
1083
1084
  }
1084
1085
  ],
1085
- "gap": "md",
1086
- "type": "stack"
1086
+ "gap": "md"
1087
1087
  }
1088
1088
  ]
1089
1089
  ]
@@ -1336,24 +1336,25 @@
1336
1336
  "fetch",
1337
1337
  "Product",
1338
1338
  {
1339
+ "id": "@payload.id",
1339
1340
  "emit": {
1340
1341
  "failure": "ProductLoadFailed",
1341
1342
  "success": "ProductLoaded"
1342
- },
1343
- "id": "@payload.id"
1343
+ }
1344
1344
  }
1345
1345
  ],
1346
1346
  [
1347
1347
  "render-ui",
1348
1348
  "modal",
1349
1349
  {
1350
+ "direction": "vertical",
1350
1351
  "children": [
1351
1352
  {
1352
- "type": "stack",
1353
+ "gap": "sm",
1353
1354
  "children": [
1354
1355
  {
1355
- "name": "edit",
1356
- "type": "icon"
1356
+ "type": "icon",
1357
+ "name": "edit"
1357
1358
  },
1358
1359
  {
1359
1360
  "content": "Edit Product",
@@ -1361,13 +1362,15 @@
1361
1362
  "variant": "h3"
1362
1363
  }
1363
1364
  ],
1364
- "direction": "horizontal",
1365
- "gap": "sm"
1365
+ "type": "stack",
1366
+ "direction": "horizontal"
1366
1367
  },
1367
1368
  {
1368
1369
  "type": "divider"
1369
1370
  },
1370
1371
  {
1372
+ "submitEvent": "SAVE",
1373
+ "type": "form-section",
1371
1374
  "mode": "edit",
1372
1375
  "cancelEvent": "CLOSE",
1373
1376
  "fields": [
@@ -1377,14 +1380,11 @@
1377
1380
  "category",
1378
1381
  "inStock"
1379
1382
  ],
1380
- "type": "form-section",
1381
- "submitEvent": "SAVE",
1382
1383
  "entity": "@payload.row"
1383
1384
  }
1384
1385
  ],
1385
- "type": "stack",
1386
- "direction": "vertical",
1387
- "gap": "md"
1386
+ "gap": "md",
1387
+ "type": "stack"
1388
1388
  }
1389
1389
  ]
1390
1390
  ]
@@ -1573,8 +1573,8 @@
1573
1573
  {
1574
1574
  "id": "@payload.id",
1575
1575
  "emit": {
1576
- "success": "ProductLoaded",
1577
- "failure": "ProductLoadFailed"
1576
+ "failure": "ProductLoadFailed",
1577
+ "success": "ProductLoaded"
1578
1578
  }
1579
1579
  }
1580
1580
  ],
@@ -1582,8 +1582,11 @@
1582
1582
  "render-ui",
1583
1583
  "modal",
1584
1584
  {
1585
+ "gap": "md",
1585
1586
  "children": [
1586
1587
  {
1588
+ "gap": "sm",
1589
+ "type": "stack",
1587
1590
  "align": "center",
1588
1591
  "children": [
1589
1592
  {
@@ -1591,131 +1594,128 @@
1591
1594
  "type": "icon"
1592
1595
  },
1593
1596
  {
1594
- "content": "@entity.name",
1595
1597
  "type": "typography",
1596
- "variant": "h3"
1598
+ "variant": "h3",
1599
+ "content": "@entity.name"
1597
1600
  }
1598
1601
  ],
1599
- "direction": "horizontal",
1600
- "type": "stack",
1601
- "gap": "sm"
1602
+ "direction": "horizontal"
1602
1603
  },
1603
1604
  {
1604
1605
  "type": "divider"
1605
1606
  },
1606
1607
  {
1608
+ "direction": "horizontal",
1607
1609
  "gap": "md",
1610
+ "type": "stack",
1608
1611
  "children": [
1609
1612
  {
1610
- "content": "Name",
1611
1613
  "type": "typography",
1614
+ "content": "Name",
1612
1615
  "variant": "caption"
1613
1616
  },
1614
1617
  {
1615
- "variant": "body",
1616
1618
  "content": "@entity.name",
1619
+ "variant": "body",
1617
1620
  "type": "typography"
1618
1621
  }
1619
- ],
1620
- "type": "stack",
1621
- "direction": "horizontal"
1622
+ ]
1622
1623
  },
1623
1624
  {
1625
+ "gap": "md",
1626
+ "type": "stack",
1627
+ "direction": "horizontal",
1624
1628
  "children": [
1625
1629
  {
1626
- "content": "Description",
1630
+ "type": "typography",
1627
1631
  "variant": "caption",
1628
- "type": "typography"
1632
+ "content": "Description"
1629
1633
  },
1630
1634
  {
1631
- "variant": "body",
1635
+ "type": "typography",
1632
1636
  "content": "@entity.description",
1633
- "type": "typography"
1637
+ "variant": "body"
1634
1638
  }
1635
- ],
1636
- "type": "stack",
1637
- "direction": "horizontal",
1638
- "gap": "md"
1639
+ ]
1639
1640
  },
1640
1641
  {
1642
+ "type": "stack",
1643
+ "direction": "horizontal",
1641
1644
  "children": [
1642
1645
  {
1643
1646
  "variant": "caption",
1644
- "content": "Price",
1645
- "type": "typography"
1647
+ "type": "typography",
1648
+ "content": "Price"
1646
1649
  },
1647
1650
  {
1648
1651
  "type": "typography",
1649
- "variant": "body",
1650
- "content": "@entity.price"
1652
+ "content": "@entity.price",
1653
+ "variant": "body"
1651
1654
  }
1652
1655
  ],
1653
- "type": "stack",
1654
- "direction": "horizontal",
1655
1656
  "gap": "md"
1656
1657
  },
1657
1658
  {
1659
+ "direction": "horizontal",
1660
+ "gap": "md",
1658
1661
  "children": [
1659
1662
  {
1660
- "type": "typography",
1661
1663
  "variant": "caption",
1664
+ "type": "typography",
1662
1665
  "content": "Category"
1663
1666
  },
1664
1667
  {
1665
- "type": "typography",
1666
1668
  "variant": "body",
1669
+ "type": "typography",
1667
1670
  "content": "@entity.category"
1668
1671
  }
1669
1672
  ],
1670
- "type": "stack",
1671
- "gap": "md",
1672
- "direction": "horizontal"
1673
+ "type": "stack"
1673
1674
  },
1674
1675
  {
1676
+ "gap": "md",
1675
1677
  "direction": "horizontal",
1676
1678
  "children": [
1677
1679
  {
1678
- "type": "typography",
1679
1680
  "variant": "caption",
1681
+ "type": "typography",
1680
1682
  "content": "In Stock"
1681
1683
  },
1682
1684
  {
1683
- "variant": "body",
1684
1685
  "content": "@entity.inStock",
1685
- "type": "typography"
1686
+ "type": "typography",
1687
+ "variant": "body"
1686
1688
  }
1687
1689
  ],
1688
- "type": "stack",
1689
- "gap": "md"
1690
+ "type": "stack"
1690
1691
  },
1691
1692
  {
1692
1693
  "type": "divider"
1693
1694
  },
1694
1695
  {
1696
+ "type": "stack",
1697
+ "justify": "end",
1698
+ "direction": "horizontal",
1699
+ "gap": "sm",
1695
1700
  "children": [
1696
1701
  {
1697
- "action": "EDIT",
1698
- "label": "Edit",
1699
- "icon": "edit",
1700
1702
  "type": "button",
1701
- "variant": "primary"
1703
+ "icon": "edit",
1704
+ "variant": "primary",
1705
+ "action": "EDIT",
1706
+ "label": "Edit"
1702
1707
  },
1703
1708
  {
1704
- "label": "Close",
1705
- "variant": "ghost",
1706
1709
  "type": "button",
1707
- "action": "CLOSE"
1710
+ "label": "Close",
1711
+ "action": "CLOSE",
1712
+ "variant": "ghost"
1708
1713
  }
1709
- ],
1710
- "justify": "end",
1711
- "type": "stack",
1712
- "direction": "horizontal",
1713
- "gap": "sm"
1714
+ ]
1714
1715
  }
1715
1716
  ],
1716
- "type": "stack",
1717
1717
  "direction": "vertical",
1718
- "gap": "md"
1718
+ "type": "stack"
1719
1719
  }
1720
1720
  ]
1721
1721
  ]
@@ -1950,68 +1950,68 @@
1950
1950
  "fetch",
1951
1951
  "Product",
1952
1952
  {
1953
- "id": "@payload.id",
1954
1953
  "emit": {
1955
1954
  "failure": "ProductLoadFailed",
1956
1955
  "success": "ProductLoaded"
1957
- }
1956
+ },
1957
+ "id": "@payload.id"
1958
1958
  }
1959
1959
  ],
1960
1960
  [
1961
1961
  "render-ui",
1962
1962
  "modal",
1963
1963
  {
1964
- "type": "stack",
1965
- "gap": "md",
1966
- "direction": "vertical",
1967
1964
  "children": [
1968
1965
  {
1969
1966
  "type": "stack",
1970
- "gap": "sm",
1971
- "direction": "horizontal",
1972
- "align": "center",
1973
1967
  "children": [
1974
1968
  {
1975
- "name": "alert-triangle",
1976
- "type": "icon"
1969
+ "type": "icon",
1970
+ "name": "alert-triangle"
1977
1971
  },
1978
1972
  {
1979
- "type": "typography",
1980
1973
  "content": "Delete Product",
1974
+ "type": "typography",
1981
1975
  "variant": "h3"
1982
1976
  }
1983
- ]
1977
+ ],
1978
+ "gap": "sm",
1979
+ "align": "center",
1980
+ "direction": "horizontal"
1984
1981
  },
1985
1982
  {
1986
1983
  "type": "divider"
1987
1984
  },
1988
1985
  {
1989
- "message": "This action cannot be undone.",
1986
+ "variant": "error",
1990
1987
  "type": "alert",
1991
- "variant": "error"
1988
+ "message": "This action cannot be undone."
1992
1989
  },
1993
1990
  {
1991
+ "direction": "horizontal",
1992
+ "gap": "sm",
1993
+ "type": "stack",
1994
1994
  "children": [
1995
1995
  {
1996
- "action": "CANCEL",
1996
+ "label": "Cancel",
1997
1997
  "variant": "ghost",
1998
1998
  "type": "button",
1999
- "label": "Cancel"
1999
+ "action": "CANCEL"
2000
2000
  },
2001
2001
  {
2002
- "variant": "danger",
2002
+ "label": "Delete",
2003
+ "action": "CONFIRM_DELETE",
2003
2004
  "icon": "check",
2004
2005
  "type": "button",
2005
- "label": "Delete",
2006
- "action": "CONFIRM_DELETE"
2006
+ "variant": "danger"
2007
2007
  }
2008
2008
  ],
2009
- "type": "stack",
2010
- "gap": "sm",
2011
- "direction": "horizontal",
2012
2009
  "justify": "end"
2013
2010
  }
2014
- ]
2011
+ ],
2012
+ "type": "stack",
2013
+ "direction": "vertical",
2014
+ "gap": "md"
2015
2015
  }
2016
2016
  ]
2017
2017
  ]
@@ -2028,8 +2028,8 @@
2028
2028
  "@entity.pendingId",
2029
2029
  {
2030
2030
  "emit": {
2031
- "success": "ProductDeleted",
2032
- "failure": "ProductDeleteFailed"
2031
+ "failure": "ProductDeleteFailed",
2032
+ "success": "ProductDeleted"
2033
2033
  }
2034
2034
  }
2035
2035
  ],
@@ -2378,8 +2378,8 @@
2378
2378
  "AuthSession",
2379
2379
  {
2380
2380
  "emit": {
2381
- "failure": "AuthSessionLoadFailed",
2382
- "success": "AuthSessionLoaded"
2381
+ "success": "AuthSessionLoaded",
2382
+ "failure": "AuthSessionLoadFailed"
2383
2383
  }
2384
2384
  }
2385
2385
  ],
@@ -2387,52 +2387,28 @@
2387
2387
  "render-ui",
2388
2388
  "main",
2389
2389
  {
2390
- "navItems": [
2391
- {
2392
- "href": "/products",
2393
- "icon": "package",
2394
- "label": "Products"
2395
- },
2396
- {
2397
- "href": "/login",
2398
- "label": "Login",
2399
- "icon": "layout-list"
2400
- },
2401
- {
2402
- "href": "/checkout",
2403
- "label": "Checkout",
2404
- "icon": "credit-card"
2405
- },
2406
- {
2407
- "label": "Orders",
2408
- "href": "/orders",
2409
- "icon": "clipboard-list"
2410
- }
2411
- ],
2412
- "appName": "ServiceMarketplace",
2413
- "type": "dashboard-layout",
2414
2390
  "children": [
2415
2391
  {
2416
- "gap": "lg",
2392
+ "align": "center",
2417
2393
  "type": "stack",
2418
2394
  "direction": "vertical",
2419
- "align": "center",
2395
+ "gap": "lg",
2420
2396
  "children": [
2421
2397
  {
2422
- "align": "center",
2423
2398
  "gap": "md",
2424
- "direction": "horizontal",
2399
+ "align": "center",
2425
2400
  "children": [
2426
2401
  {
2427
- "name": "lock",
2428
- "type": "icon"
2402
+ "type": "icon",
2403
+ "name": "lock"
2429
2404
  },
2430
2405
  {
2431
- "content": "Sign In",
2406
+ "variant": "h2",
2432
2407
  "type": "typography",
2433
- "variant": "h2"
2408
+ "content": "Sign In"
2434
2409
  }
2435
2410
  ],
2411
+ "direction": "horizontal",
2436
2412
  "type": "stack"
2437
2413
  },
2438
2414
  {
@@ -2446,8 +2422,8 @@
2446
2422
  "label": "Google"
2447
2423
  },
2448
2424
  {
2449
- "value": "github",
2450
- "label": "GitHub"
2425
+ "label": "GitHub",
2426
+ "value": "github"
2451
2427
  },
2452
2428
  {
2453
2429
  "label": "Microsoft",
@@ -2456,15 +2432,39 @@
2456
2432
  ]
2457
2433
  },
2458
2434
  {
2459
- "icon": "log-in",
2460
- "label": "Login",
2461
2435
  "type": "button",
2436
+ "icon": "log-in",
2462
2437
  "variant": "primary",
2463
- "action": "LOGIN"
2438
+ "action": "LOGIN",
2439
+ "label": "Login"
2464
2440
  }
2465
2441
  ]
2466
2442
  }
2467
- ]
2443
+ ],
2444
+ "navItems": [
2445
+ {
2446
+ "href": "/products",
2447
+ "label": "Products",
2448
+ "icon": "package"
2449
+ },
2450
+ {
2451
+ "icon": "layout-list",
2452
+ "label": "Login",
2453
+ "href": "/login"
2454
+ },
2455
+ {
2456
+ "href": "/checkout",
2457
+ "icon": "credit-card",
2458
+ "label": "Checkout"
2459
+ },
2460
+ {
2461
+ "href": "/orders",
2462
+ "label": "Orders",
2463
+ "icon": "clipboard-list"
2464
+ }
2465
+ ],
2466
+ "appName": "ServiceMarketplace",
2467
+ "type": "dashboard-layout"
2468
2468
  }
2469
2469
  ]
2470
2470
  ]
@@ -2478,13 +2478,13 @@
2478
2478
  "render-ui",
2479
2479
  "main",
2480
2480
  {
2481
- "type": "dashboard-layout",
2482
2481
  "appName": "ServiceMarketplace",
2482
+ "type": "dashboard-layout",
2483
2483
  "children": [
2484
2484
  {
2485
- "type": "loading-state",
2486
2485
  "title": "Authorizing...",
2487
- "message": "Redirecting to provider for authorization."
2486
+ "message": "Redirecting to provider for authorization.",
2487
+ "type": "loading-state"
2488
2488
  }
2489
2489
  ],
2490
2490
  "navItems": [
@@ -2499,13 +2499,13 @@
2499
2499
  "href": "/login"
2500
2500
  },
2501
2501
  {
2502
- "icon": "credit-card",
2503
2502
  "label": "Checkout",
2504
- "href": "/checkout"
2503
+ "href": "/checkout",
2504
+ "icon": "credit-card"
2505
2505
  },
2506
2506
  {
2507
- "href": "/orders",
2508
2507
  "icon": "clipboard-list",
2508
+ "href": "/orders",
2509
2509
  "label": "Orders"
2510
2510
  }
2511
2511
  ]
@@ -2516,11 +2516,11 @@
2516
2516
  "oauth",
2517
2517
  "authorize",
2518
2518
  {
2519
+ "provider": "@entity.provider",
2519
2520
  "scopes": [
2520
2521
  "openid",
2521
2522
  "email"
2522
- ],
2523
- "provider": "@entity.provider"
2523
+ ]
2524
2524
  },
2525
2525
  {
2526
2526
  "emit": {
@@ -2545,23 +2545,23 @@
2545
2545
  "render-ui",
2546
2546
  "main",
2547
2547
  {
2548
- "type": "dashboard-layout",
2549
2548
  "appName": "ServiceMarketplace",
2549
+ "type": "dashboard-layout",
2550
2550
  "navItems": [
2551
2551
  {
2552
2552
  "label": "Products",
2553
- "icon": "package",
2554
- "href": "/products"
2553
+ "href": "/products",
2554
+ "icon": "package"
2555
2555
  },
2556
2556
  {
2557
- "icon": "layout-list",
2558
2557
  "label": "Login",
2559
- "href": "/login"
2558
+ "href": "/login",
2559
+ "icon": "layout-list"
2560
2560
  },
2561
2561
  {
2562
2562
  "href": "/checkout",
2563
- "icon": "credit-card",
2564
- "label": "Checkout"
2563
+ "label": "Checkout",
2564
+ "icon": "credit-card"
2565
2565
  },
2566
2566
  {
2567
2567
  "label": "Orders",
@@ -2571,38 +2571,38 @@
2571
2571
  ],
2572
2572
  "children": [
2573
2573
  {
2574
+ "gap": "lg",
2574
2575
  "align": "center",
2575
- "type": "stack",
2576
- "direction": "vertical",
2577
2576
  "children": [
2578
2577
  {
2579
- "type": "icon",
2580
- "name": "external-link"
2578
+ "name": "external-link",
2579
+ "type": "icon"
2581
2580
  },
2582
2581
  {
2583
- "content": "Authorization Required",
2584
2582
  "variant": "h2",
2583
+ "content": "Authorization Required",
2585
2584
  "type": "typography"
2586
2585
  },
2587
2586
  {
2588
2587
  "type": "typography",
2589
- "color": "muted",
2588
+ "content": "@entity.authUrl",
2590
2589
  "variant": "body",
2591
- "content": "@entity.authUrl"
2590
+ "color": "muted"
2592
2591
  },
2593
2592
  {
2594
- "type": "input",
2595
- "placeholder": "Paste authorization code here"
2593
+ "placeholder": "Paste authorization code here",
2594
+ "type": "input"
2596
2595
  },
2597
2596
  {
2598
- "icon": "check",
2597
+ "type": "button",
2598
+ "action": "CALLBACK",
2599
2599
  "variant": "primary",
2600
2600
  "label": "Submit",
2601
- "action": "CALLBACK",
2602
- "type": "button"
2601
+ "icon": "check"
2603
2602
  }
2604
2603
  ],
2605
- "gap": "lg"
2604
+ "type": "stack",
2605
+ "direction": "vertical"
2606
2606
  }
2607
2607
  ]
2608
2608
  }
@@ -2632,71 +2632,71 @@
2632
2632
  "render-ui",
2633
2633
  "main",
2634
2634
  {
2635
+ "appName": "ServiceMarketplace",
2636
+ "type": "dashboard-layout",
2635
2637
  "navItems": [
2636
2638
  {
2639
+ "label": "Products",
2637
2640
  "href": "/products",
2638
- "icon": "package",
2639
- "label": "Products"
2641
+ "icon": "package"
2640
2642
  },
2641
2643
  {
2642
2644
  "href": "/login",
2643
- "label": "Login",
2644
- "icon": "layout-list"
2645
+ "icon": "layout-list",
2646
+ "label": "Login"
2645
2647
  },
2646
2648
  {
2647
- "label": "Checkout",
2649
+ "href": "/checkout",
2648
2650
  "icon": "credit-card",
2649
- "href": "/checkout"
2651
+ "label": "Checkout"
2650
2652
  },
2651
2653
  {
2652
- "icon": "clipboard-list",
2653
2654
  "href": "/orders",
2655
+ "icon": "clipboard-list",
2654
2656
  "label": "Orders"
2655
2657
  }
2656
2658
  ],
2657
2659
  "children": [
2658
2660
  {
2661
+ "direction": "vertical",
2662
+ "type": "stack",
2663
+ "gap": "lg",
2659
2664
  "align": "center",
2660
2665
  "children": [
2661
2666
  {
2662
- "name": "check-circle",
2663
- "type": "icon"
2667
+ "type": "icon",
2668
+ "name": "check-circle"
2664
2669
  },
2665
2670
  {
2666
2671
  "variant": "success",
2667
- "type": "alert",
2668
- "message": "Authenticated successfully"
2672
+ "message": "Authenticated successfully",
2673
+ "type": "alert"
2669
2674
  },
2670
2675
  {
2671
- "gap": "sm",
2672
- "direction": "horizontal",
2673
2676
  "children": [
2674
2677
  {
2675
- "label": "Refresh Token",
2676
- "icon": "refresh-cw",
2677
2678
  "type": "button",
2679
+ "label": "Refresh Token",
2680
+ "variant": "ghost",
2678
2681
  "action": "REFRESH",
2679
- "variant": "ghost"
2682
+ "icon": "refresh-cw"
2680
2683
  },
2681
2684
  {
2682
- "label": "Logout",
2683
2685
  "icon": "log-out",
2684
2686
  "action": "LOGOUT",
2685
- "variant": "ghost",
2686
- "type": "button"
2687
+ "label": "Logout",
2688
+ "type": "button",
2689
+ "variant": "ghost"
2687
2690
  }
2688
2691
  ],
2689
- "type": "stack",
2690
- "justify": "center"
2692
+ "justify": "center",
2693
+ "direction": "horizontal",
2694
+ "gap": "sm",
2695
+ "type": "stack"
2691
2696
  }
2692
- ],
2693
- "gap": "lg",
2694
- "type": "stack",
2695
- "direction": "vertical"
2697
+ ]
2696
2698
  }
2697
- ],
2698
- "appName": "ServiceMarketplace",
2699
- "type": "dashboard-layout"
2699
+ ]
2700
2700
  }
2701
2701
  ]
2702
2702
  ]
@@ -2715,53 +2715,53 @@
2715
2715
  "render-ui",
2716
2716
  "main",
2717
2717
  {
2718
- "type": "dashboard-layout",
2719
- "appName": "ServiceMarketplace",
2720
- "navItems": [
2721
- {
2722
- "label": "Products",
2723
- "href": "/products",
2724
- "icon": "package"
2725
- },
2726
- {
2727
- "href": "/login",
2728
- "label": "Login",
2729
- "icon": "layout-list"
2730
- },
2731
- {
2732
- "label": "Checkout",
2733
- "icon": "credit-card",
2734
- "href": "/checkout"
2735
- },
2736
- {
2737
- "label": "Orders",
2738
- "icon": "clipboard-list",
2739
- "href": "/orders"
2740
- }
2741
- ],
2742
2718
  "children": [
2743
2719
  {
2720
+ "direction": "vertical",
2744
2721
  "gap": "lg",
2745
- "align": "center",
2746
2722
  "children": [
2747
2723
  {
2724
+ "onRetry": "RETRY",
2748
2725
  "type": "error-state",
2749
2726
  "title": "Authentication Failed",
2750
- "onRetry": "RETRY",
2751
2727
  "message": "@entity.error"
2752
2728
  },
2753
2729
  {
2754
- "variant": "primary",
2730
+ "type": "button",
2755
2731
  "label": "Try Again",
2756
2732
  "action": "RETRY",
2757
- "icon": "rotate-ccw",
2758
- "type": "button"
2733
+ "variant": "primary",
2734
+ "icon": "rotate-ccw"
2759
2735
  }
2760
2736
  ],
2761
- "type": "stack",
2762
- "direction": "vertical"
2737
+ "align": "center",
2738
+ "type": "stack"
2763
2739
  }
2764
- ]
2740
+ ],
2741
+ "navItems": [
2742
+ {
2743
+ "href": "/products",
2744
+ "icon": "package",
2745
+ "label": "Products"
2746
+ },
2747
+ {
2748
+ "label": "Login",
2749
+ "icon": "layout-list",
2750
+ "href": "/login"
2751
+ },
2752
+ {
2753
+ "href": "/checkout",
2754
+ "icon": "credit-card",
2755
+ "label": "Checkout"
2756
+ },
2757
+ {
2758
+ "href": "/orders",
2759
+ "icon": "clipboard-list",
2760
+ "label": "Orders"
2761
+ }
2762
+ ],
2763
+ "appName": "ServiceMarketplace",
2764
+ "type": "dashboard-layout"
2765
2765
  }
2766
2766
  ]
2767
2767
  ]
@@ -2790,71 +2790,71 @@
2790
2790
  "render-ui",
2791
2791
  "main",
2792
2792
  {
2793
- "navItems": [
2794
- {
2795
- "icon": "package",
2796
- "label": "Products",
2797
- "href": "/products"
2798
- },
2799
- {
2800
- "href": "/login",
2801
- "label": "Login",
2802
- "icon": "layout-list"
2803
- },
2793
+ "children": [
2804
2794
  {
2805
- "href": "/checkout",
2806
- "icon": "credit-card",
2807
- "label": "Checkout"
2808
- },
2809
- {
2810
- "label": "Orders",
2811
- "href": "/orders",
2812
- "icon": "clipboard-list"
2813
- }
2814
- ],
2815
- "children": [
2816
- {
2817
- "type": "stack",
2818
- "gap": "lg",
2819
2795
  "children": [
2820
2796
  {
2821
2797
  "name": "check-circle",
2822
2798
  "type": "icon"
2823
2799
  },
2824
2800
  {
2801
+ "type": "alert",
2825
2802
  "variant": "success",
2826
- "message": "Authenticated successfully",
2827
- "type": "alert"
2803
+ "message": "Authenticated successfully"
2828
2804
  },
2829
2805
  {
2830
2806
  "gap": "sm",
2831
- "type": "stack",
2832
2807
  "direction": "horizontal",
2808
+ "type": "stack",
2833
2809
  "justify": "center",
2834
2810
  "children": [
2835
2811
  {
2836
- "action": "REFRESH",
2837
- "icon": "refresh-cw",
2812
+ "variant": "ghost",
2838
2813
  "type": "button",
2814
+ "icon": "refresh-cw",
2839
2815
  "label": "Refresh Token",
2840
- "variant": "ghost"
2816
+ "action": "REFRESH"
2841
2817
  },
2842
2818
  {
2843
- "label": "Logout",
2844
- "type": "button",
2845
2819
  "variant": "ghost",
2820
+ "type": "button",
2846
2821
  "icon": "log-out",
2822
+ "label": "Logout",
2847
2823
  "action": "LOGOUT"
2848
2824
  }
2849
2825
  ]
2850
2826
  }
2851
2827
  ],
2828
+ "direction": "vertical",
2852
2829
  "align": "center",
2853
- "direction": "vertical"
2830
+ "type": "stack",
2831
+ "gap": "lg"
2854
2832
  }
2855
2833
  ],
2856
2834
  "type": "dashboard-layout",
2857
- "appName": "ServiceMarketplace"
2835
+ "appName": "ServiceMarketplace",
2836
+ "navItems": [
2837
+ {
2838
+ "icon": "package",
2839
+ "label": "Products",
2840
+ "href": "/products"
2841
+ },
2842
+ {
2843
+ "icon": "layout-list",
2844
+ "href": "/login",
2845
+ "label": "Login"
2846
+ },
2847
+ {
2848
+ "href": "/checkout",
2849
+ "icon": "credit-card",
2850
+ "label": "Checkout"
2851
+ },
2852
+ {
2853
+ "href": "/orders",
2854
+ "label": "Orders",
2855
+ "icon": "clipboard-list"
2856
+ }
2857
+ ]
2858
2858
  }
2859
2859
  ]
2860
2860
  ]
@@ -2868,18 +2868,18 @@
2868
2868
  "render-ui",
2869
2869
  "main",
2870
2870
  {
2871
- "appName": "ServiceMarketplace",
2872
2871
  "type": "dashboard-layout",
2872
+ "appName": "ServiceMarketplace",
2873
2873
  "navItems": [
2874
2874
  {
2875
- "label": "Products",
2876
2875
  "href": "/products",
2877
- "icon": "package"
2876
+ "icon": "package",
2877
+ "label": "Products"
2878
2878
  },
2879
2879
  {
2880
+ "href": "/login",
2880
2881
  "label": "Login",
2881
- "icon": "layout-list",
2882
- "href": "/login"
2882
+ "icon": "layout-list"
2883
2883
  },
2884
2884
  {
2885
2885
  "label": "Checkout",
@@ -2887,16 +2887,16 @@
2887
2887
  "icon": "credit-card"
2888
2888
  },
2889
2889
  {
2890
- "href": "/orders",
2891
2890
  "label": "Orders",
2892
- "icon": "clipboard-list"
2891
+ "icon": "clipboard-list",
2892
+ "href": "/orders"
2893
2893
  }
2894
2894
  ],
2895
2895
  "children": [
2896
2896
  {
2897
- "message": "Obtaining a new access token.",
2898
2897
  "type": "loading-state",
2899
- "title": "Refreshing token..."
2898
+ "title": "Refreshing token...",
2899
+ "message": "Obtaining a new access token."
2900
2900
  }
2901
2901
  ]
2902
2902
  }
@@ -2910,8 +2910,8 @@
2910
2910
  },
2911
2911
  {
2912
2912
  "emit": {
2913
- "failure": "ProductOauthFailed",
2914
- "success": "ProductOauthCompleted"
2913
+ "success": "ProductOauthCompleted",
2914
+ "failure": "ProductOauthFailed"
2915
2915
  }
2916
2916
  }
2917
2917
  ]
@@ -2933,8 +2933,8 @@
2933
2933
  {
2934
2934
  "navItems": [
2935
2935
  {
2936
- "label": "Products",
2937
2936
  "href": "/products",
2937
+ "label": "Products",
2938
2938
  "icon": "package"
2939
2939
  },
2940
2940
  {
@@ -2943,14 +2943,14 @@
2943
2943
  "icon": "layout-list"
2944
2944
  },
2945
2945
  {
2946
- "icon": "credit-card",
2946
+ "label": "Checkout",
2947
2947
  "href": "/checkout",
2948
- "label": "Checkout"
2948
+ "icon": "credit-card"
2949
2949
  },
2950
2950
  {
2951
- "href": "/orders",
2951
+ "label": "Orders",
2952
2952
  "icon": "clipboard-list",
2953
- "label": "Orders"
2953
+ "href": "/orders"
2954
2954
  }
2955
2955
  ],
2956
2956
  "type": "dashboard-layout",
@@ -2959,10 +2959,11 @@
2959
2959
  {
2960
2960
  "type": "stack",
2961
2961
  "align": "center",
2962
+ "direction": "vertical",
2962
2963
  "children": [
2963
2964
  {
2964
- "type": "stack",
2965
2965
  "align": "center",
2966
+ "type": "stack",
2966
2967
  "direction": "horizontal",
2967
2968
  "gap": "md",
2968
2969
  "children": [
@@ -2981,7 +2982,6 @@
2981
2982
  "type": "divider"
2982
2983
  },
2983
2984
  {
2984
- "type": "select",
2985
2985
  "options": [
2986
2986
  {
2987
2987
  "value": "google",
@@ -2995,17 +2995,17 @@
2995
2995
  "label": "Microsoft",
2996
2996
  "value": "microsoft"
2997
2997
  }
2998
- ]
2998
+ ],
2999
+ "type": "select"
2999
3000
  },
3000
3001
  {
3001
- "action": "LOGIN",
3002
3002
  "variant": "primary",
3003
3003
  "icon": "log-in",
3004
+ "label": "Login",
3004
3005
  "type": "button",
3005
- "label": "Login"
3006
+ "action": "LOGIN"
3006
3007
  }
3007
3008
  ],
3008
- "direction": "vertical",
3009
3009
  "gap": "lg"
3010
3010
  }
3011
3011
  ]
@@ -3031,65 +3031,65 @@
3031
3031
  "type": "dashboard-layout",
3032
3032
  "navItems": [
3033
3033
  {
3034
- "icon": "package",
3034
+ "label": "Products",
3035
3035
  "href": "/products",
3036
- "label": "Products"
3036
+ "icon": "package"
3037
3037
  },
3038
3038
  {
3039
3039
  "label": "Login",
3040
- "href": "/login",
3041
- "icon": "layout-list"
3040
+ "icon": "layout-list",
3041
+ "href": "/login"
3042
3042
  },
3043
3043
  {
3044
- "label": "Checkout",
3045
3044
  "href": "/checkout",
3046
- "icon": "credit-card"
3045
+ "icon": "credit-card",
3046
+ "label": "Checkout"
3047
3047
  },
3048
3048
  {
3049
3049
  "icon": "clipboard-list",
3050
- "href": "/orders",
3051
- "label": "Orders"
3050
+ "label": "Orders",
3051
+ "href": "/orders"
3052
3052
  }
3053
3053
  ],
3054
3054
  "children": [
3055
3055
  {
3056
- "align": "center",
3057
- "gap": "lg",
3058
3056
  "direction": "vertical",
3057
+ "gap": "lg",
3058
+ "align": "center",
3059
+ "type": "stack",
3059
3060
  "children": [
3060
3061
  {
3061
- "name": "check-circle",
3062
- "type": "icon"
3062
+ "type": "icon",
3063
+ "name": "check-circle"
3063
3064
  },
3064
3065
  {
3065
3066
  "variant": "success",
3066
- "message": "Authenticated successfully",
3067
- "type": "alert"
3067
+ "type": "alert",
3068
+ "message": "Authenticated successfully"
3068
3069
  },
3069
3070
  {
3070
- "gap": "sm",
3071
- "type": "stack",
3072
3071
  "direction": "horizontal",
3073
3072
  "justify": "center",
3074
3073
  "children": [
3075
3074
  {
3076
3075
  "type": "button",
3077
- "label": "Refresh Token",
3078
- "variant": "ghost",
3079
3076
  "action": "REFRESH",
3077
+ "variant": "ghost",
3078
+ "label": "Refresh Token",
3080
3079
  "icon": "refresh-cw"
3081
3080
  },
3082
3081
  {
3082
+ "variant": "ghost",
3083
3083
  "icon": "log-out",
3084
- "label": "Logout",
3084
+ "type": "button",
3085
3085
  "action": "LOGOUT",
3086
- "variant": "ghost",
3087
- "type": "button"
3086
+ "label": "Logout"
3088
3087
  }
3089
- ]
3088
+ ],
3089
+ "gap": "sm",
3090
+ "type": "stack"
3090
3091
  }
3091
- ],
3092
- "type": "stack"
3092
+ ]
3093
3093
  }
3094
3094
  ]
3095
3095
  }
@@ -3110,46 +3110,46 @@
3110
3110
  "render-ui",
3111
3111
  "main",
3112
3112
  {
3113
+ "type": "dashboard-layout",
3114
+ "appName": "ServiceMarketplace",
3113
3115
  "children": [
3114
3116
  {
3117
+ "gap": "lg",
3118
+ "type": "stack",
3119
+ "direction": "vertical",
3120
+ "align": "center",
3115
3121
  "children": [
3116
3122
  {
3117
- "onRetry": "RETRY",
3123
+ "message": "@entity.error",
3118
3124
  "title": "Authentication Failed",
3119
3125
  "type": "error-state",
3120
- "message": "@entity.error"
3126
+ "onRetry": "RETRY"
3121
3127
  },
3122
3128
  {
3123
- "variant": "primary",
3124
- "icon": "rotate-ccw",
3125
- "label": "Try Again",
3126
3129
  "type": "button",
3127
- "action": "RETRY"
3130
+ "label": "Try Again",
3131
+ "variant": "primary",
3132
+ "action": "RETRY",
3133
+ "icon": "rotate-ccw"
3128
3134
  }
3129
- ],
3130
- "type": "stack",
3131
- "align": "center",
3132
- "gap": "lg",
3133
- "direction": "vertical"
3135
+ ]
3134
3136
  }
3135
3137
  ],
3136
- "type": "dashboard-layout",
3137
- "appName": "ServiceMarketplace",
3138
3138
  "navItems": [
3139
3139
  {
3140
- "label": "Products",
3141
3140
  "icon": "package",
3141
+ "label": "Products",
3142
3142
  "href": "/products"
3143
3143
  },
3144
3144
  {
3145
- "href": "/login",
3146
3145
  "label": "Login",
3147
- "icon": "layout-list"
3146
+ "icon": "layout-list",
3147
+ "href": "/login"
3148
3148
  },
3149
3149
  {
3150
3150
  "href": "/checkout",
3151
- "label": "Checkout",
3152
- "icon": "credit-card"
3151
+ "icon": "credit-card",
3152
+ "label": "Checkout"
3153
3153
  },
3154
3154
  {
3155
3155
  "icon": "clipboard-list",
@@ -3170,16 +3170,17 @@
3170
3170
  "render-ui",
3171
3171
  "main",
3172
3172
  {
3173
- "type": "dashboard-layout",
3174
- "appName": "ServiceMarketplace",
3175
3173
  "children": [
3176
3174
  {
3175
+ "type": "stack",
3176
+ "gap": "lg",
3177
+ "align": "center",
3177
3178
  "children": [
3178
3179
  {
3180
+ "gap": "md",
3179
3181
  "type": "stack",
3180
3182
  "direction": "horizontal",
3181
3183
  "align": "center",
3182
- "gap": "md",
3183
3184
  "children": [
3184
3185
  {
3185
3186
  "type": "icon",
@@ -3187,8 +3188,8 @@
3187
3188
  },
3188
3189
  {
3189
3190
  "variant": "h2",
3190
- "content": "Sign In",
3191
- "type": "typography"
3191
+ "type": "typography",
3192
+ "content": "Sign In"
3192
3193
  }
3193
3194
  ]
3194
3195
  },
@@ -3196,58 +3197,57 @@
3196
3197
  "type": "divider"
3197
3198
  },
3198
3199
  {
3200
+ "type": "select",
3199
3201
  "options": [
3200
3202
  {
3201
3203
  "label": "Google",
3202
3204
  "value": "google"
3203
3205
  },
3204
3206
  {
3205
- "label": "GitHub",
3206
- "value": "github"
3207
+ "value": "github",
3208
+ "label": "GitHub"
3207
3209
  },
3208
3210
  {
3209
- "value": "microsoft",
3210
- "label": "Microsoft"
3211
+ "label": "Microsoft",
3212
+ "value": "microsoft"
3211
3213
  }
3212
- ],
3213
- "type": "select"
3214
+ ]
3214
3215
  },
3215
3216
  {
3217
+ "variant": "primary",
3216
3218
  "icon": "log-in",
3217
- "action": "LOGIN",
3218
3219
  "label": "Login",
3219
- "variant": "primary",
3220
- "type": "button"
3220
+ "type": "button",
3221
+ "action": "LOGIN"
3221
3222
  }
3222
3223
  ],
3223
- "align": "center",
3224
- "type": "stack",
3225
- "gap": "lg",
3226
3224
  "direction": "vertical"
3227
3225
  }
3228
3226
  ],
3227
+ "appName": "ServiceMarketplace",
3229
3228
  "navItems": [
3230
3229
  {
3230
+ "icon": "package",
3231
3231
  "href": "/products",
3232
- "label": "Products",
3233
- "icon": "package"
3232
+ "label": "Products"
3234
3233
  },
3235
3234
  {
3235
+ "icon": "layout-list",
3236
3236
  "href": "/login",
3237
- "label": "Login",
3238
- "icon": "layout-list"
3237
+ "label": "Login"
3239
3238
  },
3240
3239
  {
3241
- "href": "/checkout",
3242
3240
  "label": "Checkout",
3243
- "icon": "credit-card"
3241
+ "icon": "credit-card",
3242
+ "href": "/checkout"
3244
3243
  },
3245
3244
  {
3245
+ "label": "Orders",
3246
3246
  "href": "/orders",
3247
- "icon": "clipboard-list",
3248
- "label": "Orders"
3247
+ "icon": "clipboard-list"
3249
3248
  }
3250
- ]
3249
+ ],
3250
+ "type": "dashboard-layout"
3251
3251
  }
3252
3252
  ]
3253
3253
  ]
@@ -3519,8 +3519,8 @@
3519
3519
  "OrderPayment",
3520
3520
  {
3521
3521
  "emit": {
3522
- "success": "OrderPaymentLoaded",
3523
- "failure": "OrderPaymentLoadFailed"
3522
+ "failure": "OrderPaymentLoadFailed",
3523
+ "success": "OrderPaymentLoaded"
3524
3524
  }
3525
3525
  }
3526
3526
  ],
@@ -3528,42 +3528,65 @@
3528
3528
  "render-ui",
3529
3529
  "main",
3530
3530
  {
3531
+ "navItems": [
3532
+ {
3533
+ "label": "Products",
3534
+ "href": "/products",
3535
+ "icon": "package"
3536
+ },
3537
+ {
3538
+ "label": "Login",
3539
+ "href": "/login",
3540
+ "icon": "layout-list"
3541
+ },
3542
+ {
3543
+ "label": "Checkout",
3544
+ "href": "/checkout",
3545
+ "icon": "credit-card"
3546
+ },
3547
+ {
3548
+ "icon": "clipboard-list",
3549
+ "label": "Orders",
3550
+ "href": "/orders"
3551
+ }
3552
+ ],
3531
3553
  "children": [
3532
3554
  {
3533
- "align": "center",
3534
- "gap": "lg",
3535
3555
  "type": "stack",
3536
- "direction": "vertical",
3556
+ "gap": "lg",
3537
3557
  "children": [
3538
3558
  {
3539
- "type": "stack",
3540
3559
  "direction": "horizontal",
3541
- "align": "center",
3542
- "gap": "md",
3543
3560
  "children": [
3544
3561
  {
3545
3562
  "type": "icon",
3546
3563
  "name": "credit-card"
3547
3564
  },
3548
3565
  {
3566
+ "type": "typography",
3549
3567
  "variant": "h2",
3550
- "content": "Payment",
3551
- "type": "typography"
3568
+ "content": "Payment"
3552
3569
  }
3553
- ]
3570
+ ],
3571
+ "align": "center",
3572
+ "type": "stack",
3573
+ "gap": "md"
3554
3574
  },
3555
3575
  {
3556
3576
  "type": "divider"
3557
3577
  },
3558
3578
  {
3579
+ "gap": "md",
3580
+ "type": "stack",
3559
3581
  "direction": "vertical",
3560
3582
  "children": [
3561
3583
  {
3584
+ "placeholder": "0.00",
3562
3585
  "inputType": "number",
3563
- "type": "input",
3564
- "placeholder": "0.00"
3586
+ "type": "input"
3565
3587
  },
3566
3588
  {
3589
+ "type": "select",
3567
3590
  "options": [
3568
3591
  {
3569
3592
  "value": "usd",
@@ -3577,47 +3600,24 @@
3577
3600
  "value": "gbp",
3578
3601
  "label": "GBP"
3579
3602
  }
3580
- ],
3581
- "type": "select"
3603
+ ]
3582
3604
  }
3583
- ],
3584
- "type": "stack",
3585
- "gap": "md"
3605
+ ]
3586
3606
  },
3587
3607
  {
3608
+ "icon": "credit-card",
3588
3609
  "action": "CREATE_PAYMENT",
3589
- "type": "button",
3590
3610
  "variant": "primary",
3591
- "icon": "credit-card",
3611
+ "type": "button",
3592
3612
  "label": "Pay"
3593
3613
  }
3594
- ]
3614
+ ],
3615
+ "direction": "vertical",
3616
+ "align": "center"
3595
3617
  }
3596
3618
  ],
3597
3619
  "type": "dashboard-layout",
3598
- "appName": "ServiceMarketplace",
3599
- "navItems": [
3600
- {
3601
- "label": "Products",
3602
- "icon": "package",
3603
- "href": "/products"
3604
- },
3605
- {
3606
- "label": "Login",
3607
- "href": "/login",
3608
- "icon": "layout-list"
3609
- },
3610
- {
3611
- "label": "Checkout",
3612
- "href": "/checkout",
3613
- "icon": "credit-card"
3614
- },
3615
- {
3616
- "icon": "clipboard-list",
3617
- "label": "Orders",
3618
- "href": "/orders"
3619
- }
3620
- ]
3620
+ "appName": "ServiceMarketplace"
3621
3621
  }
3622
3622
  ]
3623
3623
  ]
@@ -3631,7 +3631,7 @@
3631
3631
  "render-ui",
3632
3632
  "main",
3633
3633
  {
3634
- "appName": "ServiceMarketplace",
3634
+ "type": "dashboard-layout",
3635
3635
  "children": [
3636
3636
  {
3637
3637
  "title": "Creating payment...",
@@ -3639,11 +3639,12 @@
3639
3639
  "type": "loading-state"
3640
3640
  }
3641
3641
  ],
3642
+ "appName": "ServiceMarketplace",
3642
3643
  "navItems": [
3643
3644
  {
3644
3645
  "label": "Products",
3645
- "icon": "package",
3646
- "href": "/products"
3646
+ "href": "/products",
3647
+ "icon": "package"
3647
3648
  },
3648
3649
  {
3649
3650
  "href": "/login",
@@ -3651,17 +3652,16 @@
3651
3652
  "icon": "layout-list"
3652
3653
  },
3653
3654
  {
3654
- "icon": "credit-card",
3655
3655
  "label": "Checkout",
3656
- "href": "/checkout"
3656
+ "href": "/checkout",
3657
+ "icon": "credit-card"
3657
3658
  },
3658
3659
  {
3659
- "icon": "clipboard-list",
3660
+ "href": "/orders",
3660
3661
  "label": "Orders",
3661
- "href": "/orders"
3662
+ "icon": "clipboard-list"
3662
3663
  }
3663
- ],
3664
- "type": "dashboard-layout"
3664
+ ]
3665
3665
  }
3666
3666
  ],
3667
3667
  [
@@ -3700,24 +3700,18 @@
3700
3700
  "render-ui",
3701
3701
  "main",
3702
3702
  {
3703
+ "type": "dashboard-layout",
3703
3704
  "appName": "ServiceMarketplace",
3704
- "children": [
3705
- {
3706
- "message": "Processing your payment.",
3707
- "type": "loading-state",
3708
- "title": "Confirming payment..."
3709
- }
3710
- ],
3711
3705
  "navItems": [
3712
3706
  {
3713
- "icon": "package",
3707
+ "label": "Products",
3714
3708
  "href": "/products",
3715
- "label": "Products"
3709
+ "icon": "package"
3716
3710
  },
3717
3711
  {
3712
+ "href": "/login",
3718
3713
  "icon": "layout-list",
3719
- "label": "Login",
3720
- "href": "/login"
3714
+ "label": "Login"
3721
3715
  },
3722
3716
  {
3723
3717
  "href": "/checkout",
@@ -3726,11 +3720,17 @@
3726
3720
  },
3727
3721
  {
3728
3722
  "href": "/orders",
3729
- "label": "Orders",
3730
- "icon": "clipboard-list"
3723
+ "icon": "clipboard-list",
3724
+ "label": "Orders"
3731
3725
  }
3732
3726
  ],
3733
- "type": "dashboard-layout"
3727
+ "children": [
3728
+ {
3729
+ "type": "loading-state",
3730
+ "message": "Processing your payment.",
3731
+ "title": "Confirming payment..."
3732
+ }
3733
+ ]
3734
3734
  }
3735
3735
  ],
3736
3736
  [
@@ -3742,8 +3742,8 @@
3742
3742
  },
3743
3743
  {
3744
3744
  "emit": {
3745
- "success": "ProductStripeCompleted",
3746
- "failure": "ProductStripeFailed"
3745
+ "failure": "ProductStripeFailed",
3746
+ "success": "ProductStripeCompleted"
3747
3747
  }
3748
3748
  }
3749
3749
  ]
@@ -3763,17 +3763,26 @@
3763
3763
  "render-ui",
3764
3764
  "main",
3765
3765
  {
3766
+ "type": "dashboard-layout",
3766
3767
  "appName": "ServiceMarketplace",
3768
+ "children": [
3769
+ {
3770
+ "type": "error-state",
3771
+ "title": "Payment Failed",
3772
+ "message": "@entity.error",
3773
+ "onRetry": "RETRY"
3774
+ }
3775
+ ],
3767
3776
  "navItems": [
3768
3777
  {
3778
+ "icon": "package",
3769
3779
  "href": "/products",
3770
- "label": "Products",
3771
- "icon": "package"
3780
+ "label": "Products"
3772
3781
  },
3773
3782
  {
3774
- "href": "/login",
3775
3783
  "icon": "layout-list",
3776
- "label": "Login"
3784
+ "label": "Login",
3785
+ "href": "/login"
3777
3786
  },
3778
3787
  {
3779
3788
  "href": "/checkout",
@@ -3781,18 +3790,9 @@
3781
3790
  "icon": "credit-card"
3782
3791
  },
3783
3792
  {
3784
- "icon": "clipboard-list",
3785
3793
  "label": "Orders",
3786
- "href": "/orders"
3787
- }
3788
- ],
3789
- "type": "dashboard-layout",
3790
- "children": [
3791
- {
3792
- "type": "error-state",
3793
- "message": "@entity.error",
3794
- "title": "Payment Failed",
3795
- "onRetry": "RETRY"
3794
+ "href": "/orders",
3795
+ "icon": "clipboard-list"
3796
3796
  }
3797
3797
  ]
3798
3798
  }
@@ -3817,11 +3817,35 @@
3817
3817
  "render-ui",
3818
3818
  "main",
3819
3819
  {
3820
+ "navItems": [
3821
+ {
3822
+ "href": "/products",
3823
+ "icon": "package",
3824
+ "label": "Products"
3825
+ },
3826
+ {
3827
+ "label": "Login",
3828
+ "href": "/login",
3829
+ "icon": "layout-list"
3830
+ },
3831
+ {
3832
+ "href": "/checkout",
3833
+ "label": "Checkout",
3834
+ "icon": "credit-card"
3835
+ },
3836
+ {
3837
+ "label": "Orders",
3838
+ "icon": "clipboard-list",
3839
+ "href": "/orders"
3840
+ }
3841
+ ],
3820
3842
  "appName": "ServiceMarketplace",
3821
3843
  "type": "dashboard-layout",
3822
3844
  "children": [
3823
3845
  {
3824
3846
  "type": "stack",
3847
+ "gap": "lg",
3848
+ "align": "center",
3825
3849
  "children": [
3826
3850
  {
3827
3851
  "name": "check-circle",
@@ -3829,8 +3853,8 @@
3829
3853
  },
3830
3854
  {
3831
3855
  "message": "Payment successful! Sending receipt...",
3832
- "type": "alert",
3833
- "variant": "success"
3856
+ "variant": "success",
3857
+ "type": "alert"
3834
3858
  },
3835
3859
  {
3836
3860
  "type": "typography",
@@ -3839,38 +3863,14 @@
3839
3863
  "variant": "body"
3840
3864
  },
3841
3865
  {
3842
- "type": "button",
3866
+ "icon": "rotate-ccw",
3843
3867
  "action": "RESET",
3844
- "label": "New Payment",
3868
+ "type": "button",
3845
3869
  "variant": "ghost",
3846
- "icon": "rotate-ccw"
3870
+ "label": "New Payment"
3847
3871
  }
3848
3872
  ],
3849
- "align": "center",
3850
- "direction": "vertical",
3851
- "gap": "lg"
3852
- }
3853
- ],
3854
- "navItems": [
3855
- {
3856
- "label": "Products",
3857
- "href": "/products",
3858
- "icon": "package"
3859
- },
3860
- {
3861
- "href": "/login",
3862
- "label": "Login",
3863
- "icon": "layout-list"
3864
- },
3865
- {
3866
- "icon": "credit-card",
3867
- "label": "Checkout",
3868
- "href": "/checkout"
3869
- },
3870
- {
3871
- "href": "/orders",
3872
- "icon": "clipboard-list",
3873
- "label": "Orders"
3873
+ "direction": "vertical"
3874
3874
  }
3875
3875
  ]
3876
3876
  }
@@ -3891,8 +3891,6 @@
3891
3891
  "render-ui",
3892
3892
  "main",
3893
3893
  {
3894
- "type": "dashboard-layout",
3895
- "appName": "ServiceMarketplace",
3896
3894
  "navItems": [
3897
3895
  {
3898
3896
  "icon": "package",
@@ -3900,27 +3898,29 @@
3900
3898
  "href": "/products"
3901
3899
  },
3902
3900
  {
3901
+ "icon": "layout-list",
3903
3902
  "href": "/login",
3904
- "label": "Login",
3905
- "icon": "layout-list"
3903
+ "label": "Login"
3906
3904
  },
3907
3905
  {
3908
- "href": "/checkout",
3909
3906
  "label": "Checkout",
3910
- "icon": "credit-card"
3907
+ "icon": "credit-card",
3908
+ "href": "/checkout"
3911
3909
  },
3912
3910
  {
3913
3911
  "href": "/orders",
3914
- "icon": "clipboard-list",
3915
- "label": "Orders"
3912
+ "label": "Orders",
3913
+ "icon": "clipboard-list"
3916
3914
  }
3917
3915
  ],
3916
+ "type": "dashboard-layout",
3917
+ "appName": "ServiceMarketplace",
3918
3918
  "children": [
3919
3919
  {
3920
3920
  "title": "Payment Failed",
3921
+ "message": "@entity.error",
3921
3922
  "onRetry": "RETRY",
3922
- "type": "error-state",
3923
- "message": "@entity.error"
3923
+ "type": "error-state"
3924
3924
  }
3925
3925
  ]
3926
3926
  }
@@ -3937,115 +3937,78 @@
3937
3937
  "main",
3938
3938
  {
3939
3939
  "type": "dashboard-layout",
3940
- "navItems": [
3941
- {
3942
- "label": "Products",
3943
- "href": "/products",
3944
- "icon": "package"
3945
- },
3946
- {
3947
- "icon": "layout-list",
3948
- "href": "/login",
3949
- "label": "Login"
3950
- },
3951
- {
3952
- "icon": "credit-card",
3953
- "label": "Checkout",
3954
- "href": "/checkout"
3955
- },
3956
- {
3957
- "href": "/orders",
3958
- "label": "Orders",
3959
- "icon": "clipboard-list"
3960
- }
3961
- ],
3962
3940
  "appName": "ServiceMarketplace",
3963
3941
  "children": [
3964
3942
  {
3965
- "type": "stack",
3966
- "direction": "vertical",
3967
3943
  "align": "center",
3944
+ "direction": "vertical",
3945
+ "gap": "lg",
3946
+ "type": "stack",
3968
3947
  "children": [
3969
3948
  {
3970
3949
  "type": "stack",
3971
- "align": "center",
3972
3950
  "direction": "horizontal",
3973
- "gap": "md",
3951
+ "align": "center",
3974
3952
  "children": [
3975
3953
  {
3976
- "type": "icon",
3977
- "name": "credit-card"
3954
+ "name": "credit-card",
3955
+ "type": "icon"
3978
3956
  },
3979
3957
  {
3958
+ "variant": "h2",
3980
3959
  "content": "Payment",
3981
- "type": "typography",
3982
- "variant": "h2"
3960
+ "type": "typography"
3983
3961
  }
3984
- ]
3962
+ ],
3963
+ "gap": "md"
3985
3964
  },
3986
3965
  {
3987
3966
  "type": "divider"
3988
3967
  },
3989
3968
  {
3990
- "gap": "md",
3991
- "direction": "vertical",
3969
+ "type": "stack",
3992
3970
  "children": [
3993
3971
  {
3994
- "placeholder": "0.00",
3995
3972
  "inputType": "number",
3973
+ "placeholder": "0.00",
3996
3974
  "type": "input"
3997
3975
  },
3998
3976
  {
3999
- "type": "select",
4000
3977
  "options": [
4001
3978
  {
4002
- "label": "USD",
4003
- "value": "usd"
3979
+ "value": "usd",
3980
+ "label": "USD"
4004
3981
  },
4005
3982
  {
4006
3983
  "label": "EUR",
4007
3984
  "value": "eur"
4008
3985
  },
4009
3986
  {
4010
- "value": "gbp",
4011
- "label": "GBP"
3987
+ "label": "GBP",
3988
+ "value": "gbp"
4012
3989
  }
4013
- ]
3990
+ ],
3991
+ "type": "select"
4014
3992
  }
4015
3993
  ],
4016
- "type": "stack"
3994
+ "direction": "vertical",
3995
+ "gap": "md"
4017
3996
  },
4018
3997
  {
4019
- "type": "button",
4020
3998
  "action": "CREATE_PAYMENT",
4021
3999
  "variant": "primary",
4022
- "icon": "credit-card",
4023
- "label": "Pay"
4000
+ "type": "button",
4001
+ "label": "Pay",
4002
+ "icon": "credit-card"
4024
4003
  }
4025
- ],
4026
- "gap": "lg"
4004
+ ]
4027
4005
  }
4028
- ]
4029
- }
4030
- ]
4031
- ]
4032
- },
4033
- {
4034
- "from": "error",
4035
- "to": "idle",
4036
- "event": "RETRY",
4037
- "effects": [
4038
- [
4039
- "render-ui",
4040
- "main",
4041
- {
4042
- "appName": "ServiceMarketplace",
4043
- "type": "dashboard-layout",
4006
+ ],
4044
4007
  "navItems": [
4045
4008
  {
4046
- "icon": "package",
4009
+ "label": "Products",
4047
4010
  "href": "/products",
4048
- "label": "Products"
4011
+ "icon": "package"
4049
4012
  },
4050
4013
  {
4051
4014
  "href": "/login",
@@ -4054,36 +4017,51 @@
4054
4017
  },
4055
4018
  {
4056
4019
  "href": "/checkout",
4057
- "icon": "credit-card",
4058
- "label": "Checkout"
4020
+ "label": "Checkout",
4021
+ "icon": "credit-card"
4059
4022
  },
4060
4023
  {
4061
- "href": "/orders",
4062
4024
  "icon": "clipboard-list",
4063
- "label": "Orders"
4025
+ "label": "Orders",
4026
+ "href": "/orders"
4064
4027
  }
4065
- ],
4028
+ ]
4029
+ }
4030
+ ]
4031
+ ]
4032
+ },
4033
+ {
4034
+ "from": "error",
4035
+ "to": "idle",
4036
+ "event": "RETRY",
4037
+ "effects": [
4038
+ [
4039
+ "render-ui",
4040
+ "main",
4041
+ {
4042
+ "appName": "ServiceMarketplace",
4066
4043
  "children": [
4067
4044
  {
4068
- "direction": "vertical",
4069
- "type": "stack",
4070
4045
  "align": "center",
4046
+ "type": "stack",
4047
+ "gap": "lg",
4048
+ "direction": "vertical",
4071
4049
  "children": [
4072
4050
  {
4073
- "align": "center",
4051
+ "direction": "horizontal",
4052
+ "type": "stack",
4074
4053
  "children": [
4075
4054
  {
4076
- "name": "credit-card",
4077
- "type": "icon"
4055
+ "type": "icon",
4056
+ "name": "credit-card"
4078
4057
  },
4079
4058
  {
4059
+ "content": "Payment",
4080
4060
  "variant": "h2",
4081
- "type": "typography",
4082
- "content": "Payment"
4061
+ "type": "typography"
4083
4062
  }
4084
4063
  ],
4085
- "type": "stack",
4086
- "direction": "horizontal",
4064
+ "align": "center",
4087
4065
  "gap": "md"
4088
4066
  },
4089
4067
  {
@@ -4091,12 +4069,12 @@
4091
4069
  },
4092
4070
  {
4093
4071
  "gap": "md",
4094
- "type": "stack",
4095
4072
  "direction": "vertical",
4073
+ "type": "stack",
4096
4074
  "children": [
4097
4075
  {
4098
- "type": "input",
4099
4076
  "inputType": "number",
4077
+ "type": "input",
4100
4078
  "placeholder": "0.00"
4101
4079
  },
4102
4080
  {
@@ -4110,8 +4088,8 @@
4110
4088
  "value": "eur"
4111
4089
  },
4112
4090
  {
4113
- "value": "gbp",
4114
- "label": "GBP"
4091
+ "label": "GBP",
4092
+ "value": "gbp"
4115
4093
  }
4116
4094
  ],
4117
4095
  "type": "select"
@@ -4119,93 +4097,93 @@
4119
4097
  ]
4120
4098
  },
4121
4099
  {
4122
- "type": "button",
4123
- "action": "CREATE_PAYMENT",
4124
4100
  "icon": "credit-card",
4101
+ "variant": "primary",
4102
+ "type": "button",
4125
4103
  "label": "Pay",
4126
- "variant": "primary"
4104
+ "action": "CREATE_PAYMENT"
4127
4105
  }
4128
- ],
4129
- "gap": "lg"
4106
+ ]
4130
4107
  }
4131
- ]
4132
- }
4133
- ]
4134
- ]
4135
- },
4136
- {
4137
- "from": "error",
4138
- "to": "idle",
4139
- "event": "RESET",
4140
- "effects": [
4141
- [
4142
- "render-ui",
4143
- "main",
4144
- {
4108
+ ],
4145
4109
  "type": "dashboard-layout",
4146
- "appName": "ServiceMarketplace",
4147
4110
  "navItems": [
4148
4111
  {
4149
- "label": "Products",
4150
4112
  "icon": "package",
4113
+ "label": "Products",
4151
4114
  "href": "/products"
4152
4115
  },
4153
4116
  {
4154
- "icon": "layout-list",
4155
4117
  "label": "Login",
4156
- "href": "/login"
4118
+ "href": "/login",
4119
+ "icon": "layout-list"
4157
4120
  },
4158
4121
  {
4159
- "href": "/checkout",
4160
4122
  "label": "Checkout",
4161
- "icon": "credit-card"
4123
+ "icon": "credit-card",
4124
+ "href": "/checkout"
4162
4125
  },
4163
4126
  {
4164
4127
  "label": "Orders",
4165
- "icon": "clipboard-list",
4166
- "href": "/orders"
4128
+ "href": "/orders",
4129
+ "icon": "clipboard-list"
4167
4130
  }
4168
- ],
4131
+ ]
4132
+ }
4133
+ ]
4134
+ ]
4135
+ },
4136
+ {
4137
+ "from": "error",
4138
+ "to": "idle",
4139
+ "event": "RESET",
4140
+ "effects": [
4141
+ [
4142
+ "render-ui",
4143
+ "main",
4144
+ {
4145
+ "type": "dashboard-layout",
4169
4146
  "children": [
4170
4147
  {
4171
4148
  "type": "stack",
4172
4149
  "direction": "vertical",
4150
+ "gap": "lg",
4151
+ "align": "center",
4173
4152
  "children": [
4174
4153
  {
4175
4154
  "direction": "horizontal",
4176
- "type": "stack",
4177
4155
  "children": [
4178
4156
  {
4179
4157
  "type": "icon",
4180
4158
  "name": "credit-card"
4181
4159
  },
4182
4160
  {
4161
+ "content": "Payment",
4183
4162
  "variant": "h2",
4184
- "type": "typography",
4185
- "content": "Payment"
4163
+ "type": "typography"
4186
4164
  }
4187
4165
  ],
4188
4166
  "gap": "md",
4189
- "align": "center"
4167
+ "align": "center",
4168
+ "type": "stack"
4190
4169
  },
4191
4170
  {
4192
4171
  "type": "divider"
4193
4172
  },
4194
4173
  {
4174
+ "type": "stack",
4195
4175
  "gap": "md",
4196
- "direction": "vertical",
4197
4176
  "children": [
4198
4177
  {
4199
- "inputType": "number",
4200
4178
  "placeholder": "0.00",
4201
- "type": "input"
4179
+ "type": "input",
4180
+ "inputType": "number"
4202
4181
  },
4203
4182
  {
4204
- "type": "select",
4205
4183
  "options": [
4206
4184
  {
4207
- "label": "USD",
4208
- "value": "usd"
4185
+ "value": "usd",
4186
+ "label": "USD"
4209
4187
  },
4210
4188
  {
4211
4189
  "value": "eur",
@@ -4215,21 +4193,43 @@
4215
4193
  "value": "gbp",
4216
4194
  "label": "GBP"
4217
4195
  }
4218
- ]
4196
+ ],
4197
+ "type": "select"
4219
4198
  }
4220
4199
  ],
4221
- "type": "stack"
4200
+ "direction": "vertical"
4222
4201
  },
4223
4202
  {
4224
- "variant": "primary",
4225
- "action": "CREATE_PAYMENT",
4203
+ "icon": "credit-card",
4226
4204
  "type": "button",
4227
4205
  "label": "Pay",
4228
- "icon": "credit-card"
4206
+ "action": "CREATE_PAYMENT",
4207
+ "variant": "primary"
4229
4208
  }
4230
- ],
4231
- "align": "center",
4232
- "gap": "lg"
4209
+ ]
4210
+ }
4211
+ ],
4212
+ "appName": "ServiceMarketplace",
4213
+ "navItems": [
4214
+ {
4215
+ "href": "/products",
4216
+ "icon": "package",
4217
+ "label": "Products"
4218
+ },
4219
+ {
4220
+ "href": "/login",
4221
+ "icon": "layout-list",
4222
+ "label": "Login"
4223
+ },
4224
+ {
4225
+ "label": "Checkout",
4226
+ "icon": "credit-card",
4227
+ "href": "/checkout"
4228
+ },
4229
+ {
4230
+ "href": "/orders",
4231
+ "icon": "clipboard-list",
4232
+ "label": "Orders"
4233
4233
  }
4234
4234
  ]
4235
4235
  }
@@ -4352,49 +4352,49 @@
4352
4352
  "render-ui",
4353
4353
  "main",
4354
4354
  {
4355
- "type": "dashboard-layout",
4356
- "children": [
4357
- {
4358
- "direction": "vertical",
4359
- "children": [
4360
- {
4361
- "type": "icon",
4362
- "name": "mail"
4363
- },
4364
- {
4365
- "color": "muted",
4366
- "variant": "body",
4367
- "content": "Receipt will be sent after payment.",
4368
- "type": "typography"
4369
- }
4370
- ],
4371
- "type": "stack",
4372
- "gap": "md",
4373
- "align": "center"
4374
- }
4375
- ],
4376
4355
  "appName": "ServiceMarketplace",
4356
+ "type": "dashboard-layout",
4377
4357
  "navItems": [
4378
4358
  {
4379
- "icon": "package",
4380
4359
  "label": "Products",
4360
+ "icon": "package",
4381
4361
  "href": "/products"
4382
4362
  },
4383
4363
  {
4364
+ "href": "/login",
4384
4365
  "label": "Login",
4385
- "icon": "layout-list",
4386
- "href": "/login"
4366
+ "icon": "layout-list"
4387
4367
  },
4388
4368
  {
4389
- "label": "Checkout",
4369
+ "icon": "credit-card",
4390
4370
  "href": "/checkout",
4391
- "icon": "credit-card"
4371
+ "label": "Checkout"
4392
4372
  },
4393
4373
  {
4394
- "href": "/orders",
4395
4374
  "icon": "clipboard-list",
4375
+ "href": "/orders",
4396
4376
  "label": "Orders"
4397
4377
  }
4378
+ ],
4379
+ "children": [
4380
+ {
4381
+ "gap": "md",
4382
+ "type": "stack",
4383
+ "direction": "vertical",
4384
+ "align": "center",
4385
+ "children": [
4386
+ {
4387
+ "type": "icon",
4388
+ "name": "mail"
4389
+ },
4390
+ {
4391
+ "variant": "body",
4392
+ "type": "typography",
4393
+ "content": "Receipt will be sent after payment.",
4394
+ "color": "muted"
4395
+ }
4396
+ ]
4397
+ }
4398
4398
  ]
4399
4399
  }
4400
4400
  ]
@@ -4413,16 +4413,16 @@
4413
4413
  "appName": "ServiceMarketplace",
4414
4414
  "children": [
4415
4415
  {
4416
+ "type": "loading-state",
4416
4417
  "title": "Sending receipt...",
4417
- "message": "Delivering your payment receipt.",
4418
- "type": "loading-state"
4418
+ "message": "Delivering your payment receipt."
4419
4419
  }
4420
4420
  ],
4421
4421
  "navItems": [
4422
4422
  {
4423
+ "icon": "package",
4423
4424
  "label": "Products",
4424
- "href": "/products",
4425
- "icon": "package"
4425
+ "href": "/products"
4426
4426
  },
4427
4427
  {
4428
4428
  "icon": "layout-list",
@@ -4435,8 +4435,8 @@
4435
4435
  "label": "Checkout"
4436
4436
  },
4437
4437
  {
4438
- "href": "/orders",
4439
4438
  "label": "Orders",
4439
+ "href": "/orders",
4440
4440
  "icon": "clipboard-list"
4441
4441
  }
4442
4442
  ]
@@ -4447,14 +4447,14 @@
4447
4447
  "email",
4448
4448
  "send",
4449
4449
  {
4450
- "body": "@entity.body",
4450
+ "to": "@entity.to",
4451
4451
  "subject": "@entity.subject",
4452
- "to": "@entity.to"
4452
+ "body": "@entity.body"
4453
4453
  },
4454
4454
  {
4455
4455
  "emit": {
4456
- "success": "ProductEmailCompleted",
4457
- "failure": "ProductEmailFailed"
4456
+ "failure": "ProductEmailFailed",
4457
+ "success": "ProductEmailCompleted"
4458
4458
  }
4459
4459
  }
4460
4460
  ]
@@ -4475,6 +4475,26 @@
4475
4475
  "main",
4476
4476
  {
4477
4477
  "appName": "ServiceMarketplace",
4478
+ "type": "dashboard-layout",
4479
+ "children": [
4480
+ {
4481
+ "align": "center",
4482
+ "gap": "md",
4483
+ "children": [
4484
+ {
4485
+ "type": "icon",
4486
+ "name": "check-circle"
4487
+ },
4488
+ {
4489
+ "message": "Receipt sent successfully",
4490
+ "type": "alert",
4491
+ "variant": "success"
4492
+ }
4493
+ ],
4494
+ "type": "stack",
4495
+ "direction": "vertical"
4496
+ }
4497
+ ],
4478
4498
  "navItems": [
4479
4499
  {
4480
4500
  "icon": "package",
@@ -4482,9 +4502,9 @@
4482
4502
  "href": "/products"
4483
4503
  },
4484
4504
  {
4485
- "label": "Login",
4505
+ "href": "/login",
4486
4506
  "icon": "layout-list",
4487
- "href": "/login"
4507
+ "label": "Login"
4488
4508
  },
4489
4509
  {
4490
4510
  "icon": "credit-card",
@@ -4492,31 +4512,11 @@
4492
4512
  "label": "Checkout"
4493
4513
  },
4494
4514
  {
4515
+ "icon": "clipboard-list",
4495
4516
  "label": "Orders",
4496
- "href": "/orders",
4497
- "icon": "clipboard-list"
4498
- }
4499
- ],
4500
- "children": [
4501
- {
4502
- "type": "stack",
4503
- "gap": "md",
4504
- "align": "center",
4505
- "direction": "vertical",
4506
- "children": [
4507
- {
4508
- "name": "check-circle",
4509
- "type": "icon"
4510
- },
4511
- {
4512
- "type": "alert",
4513
- "message": "Receipt sent successfully",
4514
- "variant": "success"
4515
- }
4516
- ]
4517
+ "href": "/orders"
4517
4518
  }
4518
- ],
4519
- "type": "dashboard-layout"
4519
+ ]
4520
4520
  }
4521
4521
  ]
4522
4522
  ]
@@ -4535,13 +4535,35 @@
4535
4535
  "render-ui",
4536
4536
  "main",
4537
4537
  {
4538
- "type": "dashboard-layout",
4539
4538
  "appName": "ServiceMarketplace",
4539
+ "children": [
4540
+ {
4541
+ "type": "stack",
4542
+ "gap": "md",
4543
+ "align": "center",
4544
+ "direction": "vertical",
4545
+ "children": [
4546
+ {
4547
+ "type": "error-state",
4548
+ "onRetry": "RETRY_RECEIPT",
4549
+ "message": "Could not send receipt email.",
4550
+ "title": "Receipt Failed"
4551
+ },
4552
+ {
4553
+ "icon": "refresh-cw",
4554
+ "action": "RETRY_RECEIPT",
4555
+ "label": "Retry",
4556
+ "variant": "primary",
4557
+ "type": "button"
4558
+ }
4559
+ ]
4560
+ }
4561
+ ],
4540
4562
  "navItems": [
4541
4563
  {
4542
- "label": "Products",
4543
4564
  "href": "/products",
4544
- "icon": "package"
4565
+ "icon": "package",
4566
+ "label": "Products"
4545
4567
  },
4546
4568
  {
4547
4569
  "label": "Login",
@@ -4549,39 +4571,17 @@
4549
4571
  "icon": "layout-list"
4550
4572
  },
4551
4573
  {
4552
- "icon": "credit-card",
4553
4574
  "label": "Checkout",
4554
- "href": "/checkout"
4575
+ "href": "/checkout",
4576
+ "icon": "credit-card"
4555
4577
  },
4556
4578
  {
4557
- "label": "Orders",
4579
+ "href": "/orders",
4558
4580
  "icon": "clipboard-list",
4559
- "href": "/orders"
4581
+ "label": "Orders"
4560
4582
  }
4561
4583
  ],
4562
- "children": [
4563
- {
4564
- "type": "stack",
4565
- "children": [
4566
- {
4567
- "type": "error-state",
4568
- "message": "Could not send receipt email.",
4569
- "onRetry": "RETRY_RECEIPT",
4570
- "title": "Receipt Failed"
4571
- },
4572
- {
4573
- "type": "button",
4574
- "label": "Retry",
4575
- "action": "RETRY_RECEIPT",
4576
- "variant": "primary",
4577
- "icon": "refresh-cw"
4578
- }
4579
- ],
4580
- "direction": "vertical",
4581
- "gap": "md",
4582
- "align": "center"
4583
- }
4584
- ]
4584
+ "type": "dashboard-layout"
4585
4585
  }
4586
4586
  ]
4587
4587
  ]
@@ -4604,8 +4604,8 @@
4604
4604
  "email",
4605
4605
  "send",
4606
4606
  {
4607
- "subject": "@entity.subject",
4608
4607
  "body": "@entity.body",
4608
+ "subject": "@entity.subject",
4609
4609
  "to": "@entity.to"
4610
4610
  },
4611
4611
  {
@@ -4626,37 +4626,37 @@
4626
4626
  "render-ui",
4627
4627
  "main",
4628
4628
  {
4629
- "children": [
4630
- {
4631
- "title": "Sending receipt...",
4632
- "message": "Delivering your payment receipt.",
4633
- "type": "loading-state"
4634
- }
4635
- ],
4636
4629
  "type": "dashboard-layout",
4637
4630
  "navItems": [
4638
4631
  {
4639
- "label": "Products",
4640
4632
  "href": "/products",
4641
- "icon": "package"
4633
+ "icon": "package",
4634
+ "label": "Products"
4642
4635
  },
4643
4636
  {
4644
- "href": "/login",
4645
4637
  "icon": "layout-list",
4646
- "label": "Login"
4638
+ "label": "Login",
4639
+ "href": "/login"
4647
4640
  },
4648
4641
  {
4642
+ "label": "Checkout",
4649
4643
  "href": "/checkout",
4650
- "icon": "credit-card",
4651
- "label": "Checkout"
4644
+ "icon": "credit-card"
4652
4645
  },
4653
4646
  {
4647
+ "href": "/orders",
4654
4648
  "icon": "clipboard-list",
4655
- "label": "Orders",
4656
- "href": "/orders"
4649
+ "label": "Orders"
4657
4650
  }
4658
4651
  ],
4659
- "appName": "ServiceMarketplace"
4652
+ "appName": "ServiceMarketplace",
4653
+ "children": [
4654
+ {
4655
+ "type": "loading-state",
4656
+ "title": "Sending receipt...",
4657
+ "message": "Delivering your payment receipt."
4658
+ }
4659
+ ]
4660
4660
  }
4661
4661
  ],
4662
4662
  [
@@ -4664,9 +4664,9 @@
4664
4664
  "email",
4665
4665
  "send",
4666
4666
  {
4667
- "body": "@entity.body",
4668
4667
  "to": "@entity.to",
4669
- "subject": "@entity.subject"
4668
+ "subject": "@entity.subject",
4669
+ "body": "@entity.body"
4670
4670
  },
4671
4671
  {
4672
4672
  "emit": {
@@ -4841,8 +4841,8 @@
4841
4841
  "Order",
4842
4842
  {
4843
4843
  "emit": {
4844
- "failure": "OrderLoadFailed",
4845
- "success": "OrderLoaded"
4844
+ "success": "OrderLoaded",
4845
+ "failure": "OrderLoadFailed"
4846
4846
  }
4847
4847
  }
4848
4848
  ],
@@ -4850,22 +4850,22 @@
4850
4850
  "render-ui",
4851
4851
  "main",
4852
4852
  {
4853
+ "type": "stack",
4853
4854
  "align": "center",
4854
- "gap": "md",
4855
+ "className": "py-12",
4855
4856
  "children": [
4856
4857
  {
4857
4858
  "type": "spinner"
4858
4859
  },
4859
4860
  {
4860
- "color": "muted",
4861
- "variant": "caption",
4862
4861
  "type": "typography",
4863
- "content": "Loading…"
4862
+ "variant": "caption",
4863
+ "content": "Loading…",
4864
+ "color": "muted"
4864
4865
  }
4865
4866
  ],
4866
- "type": "stack",
4867
- "direction": "vertical",
4868
- "className": "py-12"
4867
+ "gap": "md",
4868
+ "direction": "vertical"
4869
4869
  }
4870
4870
  ]
4871
4871
  ]
@@ -4879,135 +4879,135 @@
4879
4879
  "render-ui",
4880
4880
  "main",
4881
4881
  {
4882
+ "type": "dashboard-layout",
4883
+ "navItems": [
4884
+ {
4885
+ "label": "Products",
4886
+ "href": "/products",
4887
+ "icon": "package"
4888
+ },
4889
+ {
4890
+ "label": "Login",
4891
+ "href": "/login",
4892
+ "icon": "layout-list"
4893
+ },
4894
+ {
4895
+ "icon": "credit-card",
4896
+ "href": "/checkout",
4897
+ "label": "Checkout"
4898
+ },
4899
+ {
4900
+ "label": "Orders",
4901
+ "icon": "clipboard-list",
4902
+ "href": "/orders"
4903
+ }
4904
+ ],
4905
+ "appName": "ServiceMarketplace",
4882
4906
  "children": [
4883
4907
  {
4908
+ "type": "stack",
4909
+ "className": "max-w-5xl mx-auto w-full",
4884
4910
  "children": [
4885
4911
  {
4886
4912
  "justify": "between",
4887
4913
  "gap": "md",
4914
+ "direction": "horizontal",
4888
4915
  "type": "stack",
4889
4916
  "align": "center",
4890
4917
  "children": [
4891
4918
  {
4919
+ "type": "stack",
4920
+ "gap": "sm",
4892
4921
  "align": "center",
4922
+ "direction": "horizontal",
4893
4923
  "children": [
4894
4924
  {
4895
4925
  "name": "list",
4896
4926
  "type": "icon"
4897
4927
  },
4898
4928
  {
4899
- "content": "Orders",
4900
4929
  "variant": "h2",
4930
+ "content": "Orders",
4901
4931
  "type": "typography"
4902
4932
  }
4903
- ],
4904
- "gap": "sm",
4905
- "direction": "horizontal",
4906
- "type": "stack"
4933
+ ]
4907
4934
  },
4908
4935
  {
4909
- "direction": "horizontal",
4910
- "gap": "sm",
4911
4936
  "children": [
4912
4937
  {
4913
- "type": "button",
4938
+ "icon": "plus",
4914
4939
  "action": "CREATE",
4915
4940
  "variant": "primary",
4916
- "icon": "plus",
4917
- "label": "Create Order"
4941
+ "label": "Create Order",
4942
+ "type": "button"
4918
4943
  }
4919
4944
  ],
4920
- "type": "stack"
4945
+ "gap": "sm",
4946
+ "type": "stack",
4947
+ "direction": "horizontal"
4948
+ }
4949
+ ]
4950
+ },
4951
+ {
4952
+ "type": "divider"
4953
+ },
4954
+ {
4955
+ "entity": "@payload.data",
4956
+ "fields": [],
4957
+ "itemActions": [
4958
+ {
4959
+ "event": "VIEW",
4960
+ "variant": "ghost",
4961
+ "label": "View"
4962
+ },
4963
+ {
4964
+ "variant": "ghost",
4965
+ "event": "EDIT",
4966
+ "label": "Edit"
4967
+ },
4968
+ {
4969
+ "variant": "danger",
4970
+ "event": "DELETE",
4971
+ "label": "Delete"
4921
4972
  }
4922
4973
  ],
4923
- "direction": "horizontal"
4924
- },
4925
- {
4926
- "type": "divider"
4927
- },
4928
- {
4929
4974
  "columns": [
4930
4975
  {
4931
- "variant": "h4",
4932
4976
  "icon": "list",
4933
- "label": "Product Name",
4934
- "name": "productName"
4977
+ "variant": "h4",
4978
+ "name": "productName",
4979
+ "label": "Product Name"
4935
4980
  },
4936
4981
  {
4982
+ "variant": "badge",
4937
4983
  "name": "amount",
4984
+ "label": "Amount",
4938
4985
  "colorMap": {
4986
+ "active": "success",
4987
+ "draft": "warning",
4988
+ "failed": "destructive",
4989
+ "disabled": "neutral",
4939
4990
  "cancelled": "destructive",
4991
+ "scheduled": "warning",
4940
4992
  "archived": "neutral",
4941
- "pending": "warning",
4942
- "inactive": "neutral",
4943
- "disabled": "neutral",
4944
- "draft": "warning",
4945
4993
  "done": "success",
4946
- "active": "success",
4947
- "scheduled": "warning",
4948
4994
  "error": "destructive",
4949
- "failed": "destructive",
4950
- "completed": "success"
4951
- },
4952
- "label": "Amount",
4953
- "variant": "badge"
4995
+ "completed": "success",
4996
+ "inactive": "neutral",
4997
+ "pending": "warning"
4998
+ }
4954
4999
  },
4955
5000
  {
5001
+ "variant": "caption",
4956
5002
  "label": "Payment Status",
4957
- "name": "paymentStatus",
4958
- "variant": "caption"
5003
+ "name": "paymentStatus"
4959
5004
  }
4960
5005
  ],
4961
- "entity": "@payload.data",
4962
- "type": "data-grid",
4963
- "fields": [],
4964
- "itemActions": [
4965
- {
4966
- "event": "VIEW",
4967
- "variant": "ghost",
4968
- "label": "View"
4969
- },
4970
- {
4971
- "label": "Edit",
4972
- "variant": "ghost",
4973
- "event": "EDIT"
4974
- },
4975
- {
4976
- "label": "Delete",
4977
- "event": "DELETE",
4978
- "variant": "danger"
4979
- }
4980
- ]
5006
+ "type": "data-grid"
4981
5007
  }
4982
5008
  ],
4983
- "className": "max-w-5xl mx-auto w-full",
4984
- "direction": "vertical",
4985
5009
  "gap": "lg",
4986
- "type": "stack"
4987
- }
4988
- ],
4989
- "type": "dashboard-layout",
4990
- "appName": "ServiceMarketplace",
4991
- "navItems": [
4992
- {
4993
- "href": "/products",
4994
- "label": "Products",
4995
- "icon": "package"
4996
- },
4997
- {
4998
- "icon": "layout-list",
4999
- "href": "/login",
5000
- "label": "Login"
5001
- },
5002
- {
5003
- "icon": "credit-card",
5004
- "href": "/checkout",
5005
- "label": "Checkout"
5006
- },
5007
- {
5008
- "label": "Orders",
5009
- "href": "/orders",
5010
- "icon": "clipboard-list"
5010
+ "direction": "vertical"
5011
5011
  }
5012
5012
  ]
5013
5013
  }
@@ -5023,11 +5023,15 @@
5023
5023
  "render-ui",
5024
5024
  "main",
5025
5025
  {
5026
+ "type": "stack",
5027
+ "align": "center",
5028
+ "className": "py-12",
5029
+ "gap": "md",
5026
5030
  "children": [
5027
5031
  {
5028
5032
  "type": "icon",
5029
- "color": "destructive",
5030
- "name": "alert-triangle"
5033
+ "name": "alert-triangle",
5034
+ "color": "destructive"
5031
5035
  },
5032
5036
  {
5033
5037
  "variant": "h3",
@@ -5035,24 +5039,20 @@
5035
5039
  "type": "typography"
5036
5040
  },
5037
5041
  {
5038
- "type": "typography",
5039
5042
  "color": "muted",
5043
+ "type": "typography",
5040
5044
  "content": "@payload.error",
5041
5045
  "variant": "body"
5042
5046
  },
5043
5047
  {
5048
+ "label": "Retry",
5049
+ "action": "INIT",
5044
5050
  "variant": "primary",
5045
5051
  "icon": "rotate-ccw",
5046
- "action": "INIT",
5047
- "type": "button",
5048
- "label": "Retry"
5052
+ "type": "button"
5049
5053
  }
5050
5054
  ],
5051
- "type": "stack",
5052
- "gap": "md",
5053
- "direction": "vertical",
5054
- "align": "center",
5055
- "className": "py-12"
5055
+ "direction": "vertical"
5056
5056
  }
5057
5057
  ]
5058
5058
  ]
@@ -5237,10 +5237,14 @@
5237
5237
  "render-ui",
5238
5238
  "modal",
5239
5239
  {
5240
+ "type": "stack",
5240
5241
  "gap": "md",
5242
+ "direction": "vertical",
5241
5243
  "children": [
5242
5244
  {
5245
+ "type": "stack",
5243
5246
  "direction": "horizontal",
5247
+ "gap": "sm",
5244
5248
  "children": [
5245
5249
  {
5246
5250
  "type": "icon",
@@ -5251,28 +5255,24 @@
5251
5255
  "type": "typography",
5252
5256
  "content": "Create Order"
5253
5257
  }
5254
- ],
5255
- "type": "stack",
5256
- "gap": "sm"
5258
+ ]
5257
5259
  },
5258
5260
  {
5259
5261
  "type": "divider"
5260
5262
  },
5261
5263
  {
5262
- "submitEvent": "SAVE",
5263
- "cancelEvent": "CLOSE",
5264
+ "mode": "create",
5264
5265
  "fields": [
5265
5266
  "productName",
5266
5267
  "amount",
5267
5268
  "paymentStatus",
5268
5269
  "orderDate"
5269
5270
  ],
5270
- "mode": "create",
5271
+ "submitEvent": "SAVE",
5272
+ "cancelEvent": "CLOSE",
5271
5273
  "type": "form-section"
5272
5274
  }
5273
- ],
5274
- "direction": "vertical",
5275
- "type": "stack"
5275
+ ]
5276
5276
  }
5277
5277
  ]
5278
5278
  ]
@@ -5517,8 +5517,8 @@
5517
5517
  "Order",
5518
5518
  {
5519
5519
  "emit": {
5520
- "failure": "OrderLoadFailed",
5521
- "success": "OrderLoaded"
5520
+ "success": "OrderLoaded",
5521
+ "failure": "OrderLoadFailed"
5522
5522
  },
5523
5523
  "id": "@payload.id"
5524
5524
  }
@@ -5527,8 +5527,13 @@
5527
5527
  "render-ui",
5528
5528
  "modal",
5529
5529
  {
5530
+ "gap": "md",
5531
+ "type": "stack",
5532
+ "direction": "vertical",
5530
5533
  "children": [
5531
5534
  {
5535
+ "type": "stack",
5536
+ "gap": "sm",
5532
5537
  "children": [
5533
5538
  {
5534
5539
  "type": "icon",
@@ -5536,34 +5541,29 @@
5536
5541
  },
5537
5542
  {
5538
5543
  "type": "typography",
5539
- "content": "Edit Order",
5540
- "variant": "h3"
5544
+ "variant": "h3",
5545
+ "content": "Edit Order"
5541
5546
  }
5542
5547
  ],
5543
- "direction": "horizontal",
5544
- "gap": "sm",
5545
- "type": "stack"
5548
+ "direction": "horizontal"
5546
5549
  },
5547
5550
  {
5548
5551
  "type": "divider"
5549
5552
  },
5550
5553
  {
5551
5554
  "entity": "@payload.row",
5552
- "submitEvent": "SAVE",
5553
5555
  "fields": [
5554
5556
  "productName",
5555
5557
  "amount",
5556
5558
  "paymentStatus",
5557
5559
  "orderDate"
5558
5560
  ],
5559
- "cancelEvent": "CLOSE",
5561
+ "submitEvent": "SAVE",
5562
+ "type": "form-section",
5560
5563
  "mode": "edit",
5561
- "type": "form-section"
5564
+ "cancelEvent": "CLOSE"
5562
5565
  }
5563
- ],
5564
- "gap": "md",
5565
- "type": "stack",
5566
- "direction": "vertical"
5566
+ ]
5567
5567
  }
5568
5568
  ]
5569
5569
  ]
@@ -5604,8 +5604,8 @@
5604
5604
  "@payload.data",
5605
5605
  {
5606
5606
  "emit": {
5607
- "failure": "OrderUpdateFailed",
5608
- "success": "OrderUpdated"
5607
+ "success": "OrderUpdated",
5608
+ "failure": "OrderUpdateFailed"
5609
5609
  }
5610
5610
  }
5611
5611
  ],
@@ -5742,11 +5742,11 @@
5742
5742
  "fetch",
5743
5743
  "Order",
5744
5744
  {
5745
+ "id": "@payload.id",
5745
5746
  "emit": {
5746
5747
  "failure": "OrderLoadFailed",
5747
5748
  "success": "OrderLoaded"
5748
- },
5749
- "id": "@payload.id"
5749
+ }
5750
5750
  }
5751
5751
  ],
5752
5752
  [
@@ -5754,94 +5754,92 @@
5754
5754
  "modal",
5755
5755
  {
5756
5756
  "gap": "md",
5757
- "direction": "vertical",
5758
- "type": "stack",
5759
5757
  "children": [
5760
5758
  {
5759
+ "direction": "horizontal",
5761
5760
  "align": "center",
5761
+ "type": "stack",
5762
+ "gap": "sm",
5762
5763
  "children": [
5763
5764
  {
5764
- "type": "icon",
5765
- "name": "eye"
5765
+ "name": "eye",
5766
+ "type": "icon"
5766
5767
  },
5767
5768
  {
5769
+ "type": "typography",
5768
5770
  "variant": "h3",
5769
- "content": "@entity.productName",
5770
- "type": "typography"
5771
+ "content": "@entity.productName"
5771
5772
  }
5772
- ],
5773
- "type": "stack",
5774
- "direction": "horizontal",
5775
- "gap": "sm"
5773
+ ]
5776
5774
  },
5777
5775
  {
5778
5776
  "type": "divider"
5779
5777
  },
5780
5778
  {
5781
- "type": "stack",
5782
- "gap": "md",
5783
- "direction": "horizontal",
5784
5779
  "children": [
5785
5780
  {
5786
- "type": "typography",
5787
5781
  "content": "Product Name",
5788
- "variant": "caption"
5782
+ "variant": "caption",
5783
+ "type": "typography"
5789
5784
  },
5790
5785
  {
5791
- "content": "@entity.productName",
5792
5786
  "type": "typography",
5787
+ "content": "@entity.productName",
5793
5788
  "variant": "body"
5794
5789
  }
5795
- ]
5790
+ ],
5791
+ "direction": "horizontal",
5792
+ "type": "stack",
5793
+ "gap": "md"
5796
5794
  },
5797
5795
  {
5798
5796
  "direction": "horizontal",
5799
- "type": "stack",
5800
5797
  "gap": "md",
5801
5798
  "children": [
5802
5799
  {
5803
- "type": "typography",
5804
5800
  "content": "Amount",
5805
- "variant": "caption"
5801
+ "variant": "caption",
5802
+ "type": "typography"
5806
5803
  },
5807
5804
  {
5808
- "content": "@entity.amount",
5809
5805
  "variant": "body",
5810
- "type": "typography"
5806
+ "type": "typography",
5807
+ "content": "@entity.amount"
5811
5808
  }
5812
- ]
5809
+ ],
5810
+ "type": "stack"
5813
5811
  },
5814
5812
  {
5815
5813
  "children": [
5816
5814
  {
5817
- "variant": "caption",
5818
5815
  "content": "Payment Status",
5819
- "type": "typography"
5816
+ "type": "typography",
5817
+ "variant": "caption"
5820
5818
  },
5821
5819
  {
5822
- "content": "@entity.paymentStatus",
5823
5820
  "type": "typography",
5824
- "variant": "body"
5821
+ "variant": "body",
5822
+ "content": "@entity.paymentStatus"
5825
5823
  }
5826
5824
  ],
5827
- "type": "stack",
5825
+ "gap": "md",
5828
5826
  "direction": "horizontal",
5829
- "gap": "md"
5827
+ "type": "stack"
5830
5828
  },
5831
5829
  {
5832
- "type": "stack",
5833
- "gap": "md",
5834
5830
  "direction": "horizontal",
5831
+ "gap": "md",
5832
+ "type": "stack",
5835
5833
  "children": [
5836
5834
  {
5837
- "content": "Order Date",
5838
5835
  "type": "typography",
5839
- "variant": "caption"
5836
+ "variant": "caption",
5837
+ "content": "Order Date"
5840
5838
  },
5841
5839
  {
5840
+ "variant": "body",
5842
5841
  "content": "@entity.orderDate",
5843
- "type": "typography",
5844
- "variant": "body"
5842
+ "type": "typography"
5845
5843
  }
5846
5844
  ]
5847
5845
  },
@@ -5849,27 +5847,29 @@
5849
5847
  "type": "divider"
5850
5848
  },
5851
5849
  {
5852
- "gap": "sm",
5853
- "type": "stack",
5854
5850
  "justify": "end",
5855
5851
  "children": [
5856
5852
  {
5857
- "icon": "edit",
5858
- "action": "EDIT",
5859
- "type": "button",
5860
5853
  "label": "Edit",
5861
- "variant": "primary"
5854
+ "type": "button",
5855
+ "variant": "primary",
5856
+ "icon": "edit",
5857
+ "action": "EDIT"
5862
5858
  },
5863
5859
  {
5864
5860
  "type": "button",
5861
+ "label": "Close",
5865
5862
  "variant": "ghost",
5866
- "action": "CLOSE",
5867
- "label": "Close"
5863
+ "action": "CLOSE"
5868
5864
  }
5869
5865
  ],
5866
+ "type": "stack",
5867
+ "gap": "sm",
5870
5868
  "direction": "horizontal"
5871
5869
  }
5872
- ]
5870
+ ],
5871
+ "type": "stack",
5872
+ "direction": "vertical"
5873
5873
  }
5874
5874
  ]
5875
5875
  ]
@@ -6096,66 +6096,66 @@
6096
6096
  "fetch",
6097
6097
  "Order",
6098
6098
  {
6099
+ "id": "@payload.id",
6099
6100
  "emit": {
6100
6101
  "success": "OrderLoaded",
6101
6102
  "failure": "OrderLoadFailed"
6102
- },
6103
- "id": "@payload.id"
6103
+ }
6104
6104
  }
6105
6105
  ],
6106
6106
  [
6107
6107
  "render-ui",
6108
6108
  "modal",
6109
6109
  {
6110
- "direction": "vertical",
6111
- "type": "stack",
6112
6110
  "gap": "md",
6111
+ "type": "stack",
6112
+ "direction": "vertical",
6113
6113
  "children": [
6114
6114
  {
6115
+ "align": "center",
6115
6116
  "children": [
6116
6117
  {
6117
- "type": "icon",
6118
- "name": "alert-triangle"
6118
+ "name": "alert-triangle",
6119
+ "type": "icon"
6119
6120
  },
6120
6121
  {
6121
- "type": "typography",
6122
6122
  "content": "Delete Order",
6123
- "variant": "h3"
6123
+ "variant": "h3",
6124
+ "type": "typography"
6124
6125
  }
6125
6126
  ],
6126
- "type": "stack",
6127
6127
  "gap": "sm",
6128
6128
  "direction": "horizontal",
6129
- "align": "center"
6129
+ "type": "stack"
6130
6130
  },
6131
6131
  {
6132
6132
  "type": "divider"
6133
6133
  },
6134
6134
  {
6135
- "variant": "error",
6136
6135
  "message": "This action cannot be undone.",
6137
- "type": "alert"
6136
+ "type": "alert",
6137
+ "variant": "error"
6138
6138
  },
6139
6139
  {
6140
- "gap": "sm",
6141
- "type": "stack",
6142
6140
  "direction": "horizontal",
6141
+ "justify": "end",
6143
6142
  "children": [
6144
6143
  {
6145
- "type": "button",
6146
6144
  "action": "CANCEL",
6147
6145
  "variant": "ghost",
6148
- "label": "Cancel"
6146
+ "label": "Cancel",
6147
+ "type": "button"
6149
6148
  },
6150
6149
  {
6151
6150
  "label": "Delete",
6152
6151
  "action": "CONFIRM_DELETE",
6153
6152
  "variant": "danger",
6154
- "icon": "check",
6155
- "type": "button"
6153
+ "type": "button",
6154
+ "icon": "check"
6156
6155
  }
6157
6156
  ],
6158
- "justify": "end"
6157
+ "type": "stack",
6158
+ "gap": "sm"
6159
6159
  }
6160
6160
  ]
6161
6161
  }
@@ -6174,8 +6174,8 @@
6174
6174
  "@entity.pendingId",
6175
6175
  {
6176
6176
  "emit": {
6177
- "failure": "OrderDeleteFailed",
6178
- "success": "OrderDeleted"
6177
+ "success": "OrderDeleted",
6178
+ "failure": "OrderDeleteFailed"
6179
6179
  }
6180
6180
  }
6181
6181
  ],