@almadar/std 14.26.0 → 14.27.0

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 (151) hide show
  1. package/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  2. package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  3. package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  4. package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  5. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  6. package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  7. package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  8. package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  9. package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  10. package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  11. package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  12. package/behaviors/registry/app/atoms/std-donor.orb +445 -135
  13. package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  14. package/behaviors/registry/app/atoms/std-driver.orb +465 -480
  15. package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  16. package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  17. package/behaviors/registry/app/atoms/std-event.orb +465 -667
  18. package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  19. package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  20. package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  21. package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  22. package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  23. package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  24. package/behaviors/registry/app/atoms/std-lease.orb +506 -190
  25. package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  26. package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  27. package/behaviors/registry/app/atoms/std-matter.orb +486 -318
  28. package/behaviors/registry/app/atoms/std-membership.orb +512 -102
  29. package/behaviors/registry/app/atoms/std-menu.orb +775 -183
  30. package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  31. package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  32. package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  33. package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  34. package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  35. package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  36. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  37. package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  38. package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  39. package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  40. package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  41. package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  42. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  43. package/behaviors/registry/app/atoms/std-segment.orb +360 -98
  44. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  45. package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  46. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  47. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  48. package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  49. package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  50. package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  51. package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  52. package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  53. package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  54. package/behaviors/registry/app/atoms/std-trial.orb +410 -317
  55. package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  56. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  57. package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  58. package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  59. package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  60. package/behaviors/registry/app/molecules/std-application.orb +178 -263
  61. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  62. package/behaviors/registry/app/molecules/std-cart.orb +78 -72
  63. package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  64. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  65. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  66. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  67. package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  68. package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  69. package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  70. package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  71. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  72. package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  73. package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  74. package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  75. package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  76. package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
  77. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
  78. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
  79. package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
  80. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
  81. package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
  82. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
  83. package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
  84. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
  85. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
  86. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
  87. package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
  88. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
  89. package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
  90. package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
  91. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
  92. package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
  93. package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
  94. package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
  95. package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
  96. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
  97. package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
  98. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
  99. package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
  100. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
  101. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
  102. package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
  103. package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
  104. package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
  105. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
  106. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
  107. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
  108. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
  109. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
  110. package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
  111. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
  112. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
  113. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
  114. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
  115. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
  116. package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
  117. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  118. package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
  119. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  120. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
  121. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  122. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
  123. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
  124. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
  125. package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
  126. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
  127. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
  128. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
  129. package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
  130. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
  131. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  132. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
  133. package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
  134. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
  135. package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
  136. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
  137. package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
  138. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
  139. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
  140. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
  141. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
  142. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
  143. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
  144. package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
  145. package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
  146. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
  147. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
  148. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
  149. package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
  150. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
  151. package/package.json +1 -1
@@ -429,16 +429,6 @@
429
429
  {
430
430
  "event": "CANCEL_EDIT"
431
431
  },
432
- {
433
- "event": "UPLOAD",
434
- "payloadSchema": [
435
- {
436
- "name": "files",
437
- "type": "object",
438
- "required": true
439
- }
440
- ]
441
- },
442
432
  {
443
433
  "event": "ApplicationLoaded",
444
434
  "description": "Fired when the Application collection finishes loading; payload.data holds the list",
@@ -678,17 +668,6 @@
678
668
  }
679
669
  ]
680
670
  },
681
- {
682
- "key": "UPLOAD",
683
- "name": "Upload",
684
- "payloadSchema": [
685
- {
686
- "name": "files",
687
- "type": "object",
688
- "required": true
689
- }
690
- ]
691
- },
692
671
  {
693
672
  "key": "CANCEL_EDIT",
694
673
  "name": "Cancel Edit"
@@ -764,21 +743,21 @@
764
743
  "render-ui",
765
744
  "main",
766
745
  {
767
- "gap": "md",
768
- "align": "center",
769
- "direction": "vertical",
770
- "type": "stack",
771
746
  "children": [
772
747
  {
773
748
  "type": "spinner"
774
749
  },
775
750
  {
776
- "type": "typography",
777
751
  "color": "muted",
778
- "variant": "caption",
779
- "content": "Loading applications…"
752
+ "content": "Loading applications…",
753
+ "type": "typography",
754
+ "variant": "caption"
780
755
  }
781
756
  ],
757
+ "gap": "md",
758
+ "type": "stack",
759
+ "direction": "vertical",
760
+ "align": "center",
782
761
  "className": "py-12"
783
762
  }
784
763
  ]
@@ -793,100 +772,132 @@
793
772
  "render-ui",
794
773
  "main",
795
774
  {
796
- "gap": "lg",
797
- "className": "max-w-5xl mx-auto w-full",
798
- "direction": "vertical",
799
- "type": "stack",
775
+ "gap": "md",
800
776
  "children": [
801
777
  {
778
+ "gap": "md",
779
+ "direction": "horizontal",
780
+ "justify": "between",
802
781
  "children": [
803
782
  {
804
- "direction": "horizontal",
805
- "gap": "md",
806
- "type": "stack",
807
783
  "children": [
808
784
  {
809
785
  "type": "icon",
810
786
  "name": "file-text"
811
787
  },
812
788
  {
813
- "content": "Applications",
814
- "variant": "h2",
815
- "type": "typography"
789
+ "type": "typography",
790
+ "variant": "h3",
791
+ "content": "Applications"
816
792
  }
817
- ]
793
+ ],
794
+ "gap": "sm",
795
+ "direction": "horizontal",
796
+ "align": "center",
797
+ "type": "stack"
818
798
  },
819
799
  {
820
- "action": "CREATE",
821
800
  "variant": "primary",
822
- "icon": "plus",
823
801
  "label": "New Application",
824
- "type": "button"
802
+ "action": "CREATE",
803
+ "type": "button",
804
+ "icon": "plus"
825
805
  }
826
806
  ],
827
- "type": "stack",
828
- "direction": "horizontal",
829
- "justify": "between",
830
- "gap": "md"
831
- },
832
- {
833
- "type": "divider"
807
+ "type": "stack"
834
808
  },
835
809
  {
836
- "itemActions": [
810
+ "cols": 4.0,
811
+ "children": [
837
812
  {
838
- "event": "EDIT",
839
- "variant": "ghost",
840
- "label": "Edit"
813
+ "type": "stat-display",
814
+ "value": "@payload.data.length",
815
+ "icon": "file-text",
816
+ "label": "Total applications"
841
817
  },
842
818
  {
843
- "variant": "primary",
844
- "label": "Submit",
845
- "event": "SUBMIT"
819
+ "value": "21",
820
+ "type": "stat-display",
821
+ "label": "Submitted",
822
+ "icon": "send"
846
823
  },
847
824
  {
848
- "event": "ACCEPT",
849
- "variant": "success",
850
- "label": "Accept"
825
+ "label": "Under review",
826
+ "value": "8",
827
+ "type": "stat-display",
828
+ "icon": "search"
851
829
  },
852
830
  {
853
- "event": "REJECT",
854
- "label": "Reject",
855
- "variant": "danger"
831
+ "type": "stat-display",
832
+ "value": "12",
833
+ "icon": "check-circle",
834
+ "label": "Accepted"
856
835
  }
857
836
  ],
837
+ "type": "simple-grid"
838
+ },
839
+ {
840
+ "type": "divider"
841
+ },
842
+ {
843
+ "cols": 1.0,
844
+ "entity": "@payload.data",
845
+ "type": "data-grid",
846
+ "gap": "sm",
858
847
  "fields": [
859
848
  {
849
+ "label": "Applicant",
850
+ "variant": "caption",
860
851
  "name": "applicantName",
861
- "icon": "user",
862
- "variant": "h4",
863
- "label": "Applicant"
852
+ "icon": "user"
864
853
  },
865
854
  {
866
- "label": "Email",
867
855
  "name": "applicantEmail",
856
+ "label": "Email",
868
857
  "variant": "caption"
869
858
  },
870
859
  {
871
- "name": "targetType",
872
860
  "label": "Target",
861
+ "name": "targetType",
873
862
  "variant": "caption"
874
863
  },
875
864
  {
865
+ "name": "status",
876
866
  "variant": "badge",
877
- "label": "Status",
878
- "name": "status"
867
+ "label": "Status"
879
868
  },
880
869
  {
881
- "name": "submittedAt",
870
+ "label": "Submitted",
882
871
  "variant": "caption",
883
- "label": "Submitted"
872
+ "name": "submittedAt"
884
873
  }
885
874
  ],
886
- "entity": "@payload.data",
887
- "type": "data-grid"
875
+ "itemActions": [
876
+ {
877
+ "label": "Edit",
878
+ "variant": "ghost",
879
+ "event": "EDIT"
880
+ },
881
+ {
882
+ "variant": "primary",
883
+ "label": "Submit",
884
+ "event": "SUBMIT"
885
+ },
886
+ {
887
+ "label": "Accept",
888
+ "variant": "primary",
889
+ "event": "ACCEPT"
890
+ },
891
+ {
892
+ "event": "REJECT",
893
+ "variant": "danger",
894
+ "label": "Reject"
895
+ }
896
+ ]
888
897
  }
889
- ]
898
+ ],
899
+ "type": "stack",
900
+ "direction": "vertical"
890
901
  }
891
902
  ]
892
903
  ]
@@ -900,36 +911,9 @@
900
911
  "render-ui",
901
912
  "main",
902
913
  {
903
- "children": [
904
- {
905
- "type": "icon",
906
- "name": "alert-triangle",
907
- "color": "destructive"
908
- },
909
- {
910
- "type": "typography",
911
- "variant": "h3",
912
- "content": "Failed to load applications"
913
- },
914
- {
915
- "color": "muted",
916
- "content": "@payload.error",
917
- "type": "typography",
918
- "variant": "body"
919
- },
920
- {
921
- "action": "INIT",
922
- "icon": "rotate-ccw",
923
- "type": "button",
924
- "label": "Retry",
925
- "variant": "primary"
926
- }
927
- ],
928
- "className": "py-12",
929
- "gap": "md",
930
- "type": "stack",
931
- "align": "center",
932
- "direction": "vertical"
914
+ "variant": "error",
915
+ "type": "alert",
916
+ "message": "@payload.error"
933
917
  }
934
918
  ]
935
919
  ]
@@ -983,19 +967,33 @@
983
967
  "render-ui",
984
968
  "main",
985
969
  {
986
- "gap": "lg",
987
- "className": "max-w-3xl mx-auto w-full",
970
+ "type": "stack",
988
971
  "children": [
989
972
  {
990
- "content": "New Application",
991
- "type": "typography",
992
- "variant": "h2"
973
+ "align": "center",
974
+ "direction": "horizontal",
975
+ "children": [
976
+ {
977
+ "type": "icon",
978
+ "name": "file-text"
979
+ },
980
+ {
981
+ "content": "New Application",
982
+ "type": "typography",
983
+ "variant": "h3"
984
+ }
985
+ ],
986
+ "gap": "sm",
987
+ "type": "stack"
988
+ },
989
+ {
990
+ "type": "divider"
993
991
  },
994
992
  {
995
993
  "type": "form-section",
996
994
  "entity": "@entity",
997
- "mode": "create",
998
995
  "cancelEvent": "CANCEL_EDIT",
996
+ "mode": "create",
999
997
  "fields": [
1000
998
  "applicantName",
1001
999
  "applicantEmail",
@@ -1004,27 +1002,9 @@
1004
1002
  "coverLetter"
1005
1003
  ],
1006
1004
  "submitEvent": "CREATE_SUBMIT"
1007
- },
1008
- {
1009
- "type": "divider"
1010
- },
1011
- {
1012
- "type": "typography",
1013
- "content": "Attachments",
1014
- "variant": "h3"
1015
- },
1016
- {
1017
- "maxFiles": 10.0,
1018
- "label": "Drop attachments here",
1019
- "type": "upload-drop-zone",
1020
- "action": "UPLOAD",
1021
- "maxSize": 10485760.0,
1022
- "accept": "*/*",
1023
- "description": "Resume, portfolio, references",
1024
- "icon": "paperclip"
1025
1005
  }
1026
1006
  ],
1027
- "type": "stack",
1007
+ "gap": "md",
1028
1008
  "direction": "vertical"
1029
1009
  }
1030
1010
  ]
@@ -1079,19 +1059,29 @@
1079
1059
  "render-ui",
1080
1060
  "main",
1081
1061
  {
1082
- "gap": "lg",
1083
1062
  "direction": "vertical",
1084
1063
  "children": [
1085
1064
  {
1086
- "type": "typography",
1087
- "variant": "h2",
1088
- "content": "Edit Application"
1065
+ "type": "stack",
1066
+ "children": [
1067
+ {
1068
+ "type": "icon",
1069
+ "name": "pencil"
1070
+ },
1071
+ {
1072
+ "content": "Edit Application",
1073
+ "variant": "h3",
1074
+ "type": "typography"
1075
+ }
1076
+ ],
1077
+ "align": "center",
1078
+ "direction": "horizontal",
1079
+ "gap": "sm"
1080
+ },
1081
+ {
1082
+ "type": "divider"
1089
1083
  },
1090
1084
  {
1091
- "mode": "edit",
1092
- "type": "form-section",
1093
- "entity": "@entity",
1094
- "submitEvent": "UPDATE_SUBMIT",
1095
1085
  "cancelEvent": "CANCEL_EDIT",
1096
1086
  "fields": [
1097
1087
  "applicantName",
@@ -1099,28 +1089,14 @@
1099
1089
  "targetId",
1100
1090
  "targetType",
1101
1091
  "coverLetter"
1102
- ]
1103
- },
1104
- {
1105
- "type": "divider"
1106
- },
1107
- {
1108
- "variant": "h3",
1109
- "content": "Attachments",
1110
- "type": "typography"
1111
- },
1112
- {
1113
- "type": "upload-drop-zone",
1114
- "action": "UPLOAD",
1115
- "icon": "paperclip",
1116
- "maxSize": 10485760.0,
1117
- "label": "Drop attachments here",
1118
- "description": "Resume, portfolio, references",
1119
- "accept": "*/*",
1120
- "maxFiles": 10.0
1092
+ ],
1093
+ "type": "form-section",
1094
+ "submitEvent": "UPDATE_SUBMIT",
1095
+ "mode": "edit",
1096
+ "entity": "@entity"
1121
1097
  }
1122
1098
  ],
1123
- "className": "max-w-3xl mx-auto w-full",
1099
+ "gap": "md",
1124
1100
  "type": "stack"
1125
1101
  }
1126
1102
  ]
@@ -1151,14 +1127,14 @@
1151
1127
  "update",
1152
1128
  "Application",
1153
1129
  {
1130
+ "status": "submitted",
1154
1131
  "submittedAt": "@entity.submittedAt",
1155
- "id": "@entity.id",
1156
- "status": "submitted"
1132
+ "id": "@entity.id"
1157
1133
  },
1158
1134
  {
1159
1135
  "emit": {
1160
- "success": "ApplicationSubmitted",
1161
- "failure": "ApplicationLoadFailed"
1136
+ "failure": "ApplicationLoadFailed",
1137
+ "success": "ApplicationSubmitted"
1162
1138
  }
1163
1139
  }
1164
1140
  ],
@@ -1166,22 +1142,22 @@
1166
1142
  "render-ui",
1167
1143
  "main",
1168
1144
  {
1169
- "className": "py-12",
1170
- "gap": "md",
1171
1145
  "children": [
1172
1146
  {
1173
1147
  "type": "spinner"
1174
1148
  },
1175
1149
  {
1150
+ "type": "typography",
1176
1151
  "variant": "caption",
1177
1152
  "color": "muted",
1178
- "content": "Submitting…",
1179
- "type": "typography"
1153
+ "content": "Submitting…"
1180
1154
  }
1181
1155
  ],
1156
+ "align": "center",
1157
+ "gap": "md",
1158
+ "className": "py-12",
1182
1159
  "type": "stack",
1183
- "direction": "vertical",
1184
- "align": "center"
1160
+ "direction": "vertical"
1185
1161
  }
1186
1162
  ]
1187
1163
  ]
@@ -1211,14 +1187,14 @@
1211
1187
  "update",
1212
1188
  "Application",
1213
1189
  {
1214
- "status": "accepted",
1215
1190
  "id": "@entity.id",
1216
- "reviewedAt": "@entity.reviewedAt"
1191
+ "reviewedAt": "@entity.reviewedAt",
1192
+ "status": "accepted"
1217
1193
  },
1218
1194
  {
1219
1195
  "emit": {
1220
- "success": "ApplicationAccepted",
1221
- "failure": "ApplicationLoadFailed"
1196
+ "failure": "ApplicationLoadFailed",
1197
+ "success": "ApplicationAccepted"
1222
1198
  }
1223
1199
  }
1224
1200
  ],
@@ -1226,22 +1202,22 @@
1226
1202
  "render-ui",
1227
1203
  "main",
1228
1204
  {
1205
+ "direction": "vertical",
1206
+ "className": "py-12",
1207
+ "align": "center",
1229
1208
  "children": [
1230
1209
  {
1231
1210
  "type": "spinner"
1232
1211
  },
1233
1212
  {
1234
- "content": "Accepting…",
1235
- "color": "muted",
1236
1213
  "type": "typography",
1237
- "variant": "caption"
1214
+ "color": "muted",
1215
+ "variant": "caption",
1216
+ "content": "Accepting…"
1238
1217
  }
1239
1218
  ],
1240
- "className": "py-12",
1241
- "gap": "md",
1242
1219
  "type": "stack",
1243
- "align": "center",
1244
- "direction": "vertical"
1220
+ "gap": "md"
1245
1221
  }
1246
1222
  ]
1247
1223
  ]
@@ -1292,6 +1268,10 @@
1292
1268
  "render-ui",
1293
1269
  "main",
1294
1270
  {
1271
+ "direction": "vertical",
1272
+ "type": "stack",
1273
+ "align": "center",
1274
+ "className": "py-12",
1295
1275
  "children": [
1296
1276
  {
1297
1277
  "type": "spinner"
@@ -1299,15 +1279,11 @@
1299
1279
  {
1300
1280
  "content": "Rejecting…",
1301
1281
  "type": "typography",
1302
- "color": "muted",
1303
- "variant": "caption"
1282
+ "variant": "caption",
1283
+ "color": "muted"
1304
1284
  }
1305
1285
  ],
1306
- "type": "stack",
1307
- "gap": "md",
1308
- "direction": "vertical",
1309
- "align": "center",
1310
- "className": "py-12"
1286
+ "gap": "md"
1311
1287
  }
1312
1288
  ]
1313
1289
  ]
@@ -1357,22 +1333,22 @@
1357
1333
  "render-ui",
1358
1334
  "main",
1359
1335
  {
1360
- "direction": "vertical",
1361
- "className": "py-12",
1362
1336
  "children": [
1363
1337
  {
1364
1338
  "type": "spinner"
1365
1339
  },
1366
1340
  {
1367
- "type": "typography",
1368
- "color": "muted",
1369
1341
  "variant": "caption",
1370
- "content": "Saving…"
1342
+ "content": "Saving…",
1343
+ "type": "typography",
1344
+ "color": "muted"
1371
1345
  }
1372
1346
  ],
1347
+ "align": "center",
1373
1348
  "type": "stack",
1349
+ "direction": "vertical",
1374
1350
  "gap": "md",
1375
- "align": "center"
1351
+ "className": "py-12"
1376
1352
  }
1377
1353
  ]
1378
1354
  ]
@@ -1389,8 +1365,8 @@
1389
1365
  "@payload.data",
1390
1366
  {
1391
1367
  "emit": {
1392
- "failure": "ApplicationLoadFailed",
1393
- "success": "ApplicationUpdated"
1368
+ "success": "ApplicationUpdated",
1369
+ "failure": "ApplicationLoadFailed"
1394
1370
  }
1395
1371
  }
1396
1372
  ],
@@ -1401,80 +1377,19 @@
1401
1377
  "align": "center",
1402
1378
  "className": "py-12",
1403
1379
  "direction": "vertical",
1380
+ "gap": "md",
1404
1381
  "type": "stack",
1405
1382
  "children": [
1406
1383
  {
1407
1384
  "type": "spinner"
1408
1385
  },
1409
1386
  {
1410
- "content": "Updating…",
1411
- "type": "typography",
1412
- "variant": "caption",
1413
- "color": "muted"
1414
- }
1415
- ],
1416
- "gap": "md"
1417
- }
1418
- ]
1419
- ]
1420
- },
1421
- {
1422
- "from": "editing",
1423
- "to": "editing",
1424
- "event": "UPLOAD",
1425
- "effects": [
1426
- [
1427
- "render-ui",
1428
- "main",
1429
- {
1430
- "direction": "vertical",
1431
- "type": "stack",
1432
- "className": "max-w-3xl mx-auto w-full",
1433
- "children": [
1434
- {
1435
- "content": "Application",
1436
- "variant": "h2",
1437
- "type": "typography"
1438
- },
1439
- {
1440
- "cancelEvent": "CANCEL_EDIT",
1441
- "type": "form-section",
1442
- "mode": "edit",
1443
- "submitEvent": "UPDATE_SUBMIT",
1444
- "entity": "@entity",
1445
- "fields": [
1446
- "applicantName",
1447
- "applicantEmail",
1448
- "targetId",
1449
- "targetType",
1450
- "coverLetter"
1451
- ]
1452
- },
1453
- {
1454
- "type": "divider"
1455
- },
1456
- {
1387
+ "color": "muted",
1457
1388
  "type": "typography",
1458
- "variant": "h3",
1459
- "content": "Attachments"
1460
- },
1461
- {
1462
- "type": "alert",
1463
- "variant": "info",
1464
- "message": "Attachment uploaded."
1465
- },
1466
- {
1467
- "accept": "*/*",
1468
- "type": "upload-drop-zone",
1469
- "description": "Resume, portfolio, references",
1470
- "label": "Drop more attachments",
1471
- "maxFiles": 10.0,
1472
- "icon": "paperclip",
1473
- "action": "UPLOAD",
1474
- "maxSize": 10485760.0
1389
+ "content": "Updating…",
1390
+ "variant": "caption"
1475
1391
  }
1476
- ],
1477
- "gap": "lg"
1392
+ ]
1478
1393
  }
1479
1394
  ]
1480
1395
  ]
@@ -1513,8 +1428,8 @@
1513
1428
  "Application",
1514
1429
  {
1515
1430
  "emit": {
1516
- "success": "ApplicationLoaded",
1517
- "failure": "ApplicationLoadFailed"
1431
+ "failure": "ApplicationLoadFailed",
1432
+ "success": "ApplicationLoaded"
1518
1433
  }
1519
1434
  }
1520
1435
  ],
@@ -1632,9 +1547,9 @@
1632
1547
  "render-ui",
1633
1548
  "main",
1634
1549
  {
1550
+ "message": "@payload.error",
1635
1551
  "variant": "error",
1636
- "type": "alert",
1637
- "message": "@payload.error"
1552
+ "type": "alert"
1638
1553
  }
1639
1554
  ]
1640
1555
  ]