@almadar/std 14.5.1 → 14.6.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.
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
- package/dist/behaviors/registry/app/organisms/std-cms.orb +556 -556
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
- package/dist/behaviors/registry/app/organisms/std-crm.orb +806 -806
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
- package/dist/behaviors/registry/app/organisms/std-lms.orb +860 -860
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-crm",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "CRM: contacts, deals, sales pipelines, and notes. Pick for B2B sales tracking.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ContactOrbital",
|
|
@@ -65,30 +65,30 @@
|
|
|
65
65
|
"config": {
|
|
66
66
|
"navItems": [
|
|
67
67
|
{
|
|
68
|
-
"label": "Contacts",
|
|
69
68
|
"icon": "users",
|
|
70
|
-
"href": "/contacts"
|
|
69
|
+
"href": "/contacts",
|
|
70
|
+
"label": "Contacts"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
+
"icon": "briefcase",
|
|
73
74
|
"label": "Deals",
|
|
74
|
-
"href": "/deals"
|
|
75
|
-
"icon": "briefcase"
|
|
75
|
+
"href": "/deals"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"href": "/pipeline",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
79
|
+
"label": "Pipeline",
|
|
80
|
+
"icon": "bar-chart-2"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
"href": "/notes",
|
|
84
83
|
"icon": "file-text",
|
|
84
|
+
"href": "/notes",
|
|
85
85
|
"label": "Notes"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
88
|
"contentTrait": "@trait.ContactBrowse",
|
|
89
|
+
"notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN",
|
|
89
90
|
"searchEvent": "CONTACT_SEARCH",
|
|
90
91
|
"notifications": [],
|
|
91
|
-
"notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN",
|
|
92
92
|
"appName": "CRM"
|
|
93
93
|
},
|
|
94
94
|
"events": {
|
|
@@ -733,7 +733,10 @@
|
|
|
733
733
|
"render-ui",
|
|
734
734
|
"main",
|
|
735
735
|
{
|
|
736
|
+
"gap": "md",
|
|
737
|
+
"align": "center",
|
|
736
738
|
"direction": "vertical",
|
|
739
|
+
"type": "stack",
|
|
737
740
|
"className": "py-12",
|
|
738
741
|
"children": [
|
|
739
742
|
{
|
|
@@ -745,10 +748,7 @@
|
|
|
745
748
|
"content": "Loading…",
|
|
746
749
|
"color": "muted"
|
|
747
750
|
}
|
|
748
|
-
]
|
|
749
|
-
"gap": "md",
|
|
750
|
-
"align": "center",
|
|
751
|
-
"type": "stack"
|
|
751
|
+
]
|
|
752
752
|
}
|
|
753
753
|
]
|
|
754
754
|
]
|
|
@@ -763,8 +763,8 @@
|
|
|
763
763
|
"Contact",
|
|
764
764
|
{
|
|
765
765
|
"emit": {
|
|
766
|
-
"
|
|
767
|
-
"
|
|
766
|
+
"success": "ContactLoaded",
|
|
767
|
+
"failure": "ContactLoadFailed"
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
],
|
|
@@ -772,19 +772,19 @@
|
|
|
772
772
|
"render-ui",
|
|
773
773
|
"main",
|
|
774
774
|
{
|
|
775
|
-
"type": "stack",
|
|
776
|
-
"className": "py-12",
|
|
777
775
|
"children": [
|
|
778
776
|
{
|
|
779
777
|
"type": "spinner"
|
|
780
778
|
},
|
|
781
779
|
{
|
|
782
|
-
"
|
|
780
|
+
"variant": "caption",
|
|
783
781
|
"type": "typography",
|
|
784
782
|
"color": "muted",
|
|
785
|
-
"
|
|
783
|
+
"content": "Searching…"
|
|
786
784
|
}
|
|
787
785
|
],
|
|
786
|
+
"type": "stack",
|
|
787
|
+
"className": "py-12",
|
|
788
788
|
"gap": "md",
|
|
789
789
|
"align": "center",
|
|
790
790
|
"direction": "vertical"
|
|
@@ -801,26 +801,25 @@
|
|
|
801
801
|
"render-ui",
|
|
802
802
|
"main",
|
|
803
803
|
{
|
|
804
|
-
"gap": "md",
|
|
805
|
-
"direction": "vertical",
|
|
806
804
|
"type": "stack",
|
|
805
|
+
"direction": "vertical",
|
|
807
806
|
"align": "center",
|
|
808
807
|
"className": "py-8",
|
|
809
808
|
"children": [
|
|
810
809
|
{
|
|
811
|
-
"
|
|
812
|
-
"
|
|
810
|
+
"type": "icon",
|
|
811
|
+
"name": "bell"
|
|
813
812
|
},
|
|
814
813
|
{
|
|
815
|
-
"content": "No notifications",
|
|
816
814
|
"variant": "h3",
|
|
815
|
+
"content": "No notifications",
|
|
817
816
|
"type": "typography"
|
|
818
817
|
},
|
|
819
818
|
{
|
|
820
|
-
"
|
|
821
|
-
"type": "typography",
|
|
819
|
+
"variant": "caption",
|
|
822
820
|
"color": "muted",
|
|
823
|
-
"
|
|
821
|
+
"content": "You're all caught up.",
|
|
822
|
+
"type": "typography"
|
|
824
823
|
},
|
|
825
824
|
{
|
|
826
825
|
"action": "INIT",
|
|
@@ -828,7 +827,8 @@
|
|
|
828
827
|
"type": "button",
|
|
829
828
|
"label": "Back to contacts"
|
|
830
829
|
}
|
|
831
|
-
]
|
|
830
|
+
],
|
|
831
|
+
"gap": "md"
|
|
832
832
|
}
|
|
833
833
|
]
|
|
834
834
|
]
|
|
@@ -842,113 +842,113 @@
|
|
|
842
842
|
"render-ui",
|
|
843
843
|
"main",
|
|
844
844
|
{
|
|
845
|
-
"gap": "lg",
|
|
846
845
|
"direction": "vertical",
|
|
847
846
|
"type": "stack",
|
|
847
|
+
"gap": "lg",
|
|
848
848
|
"children": [
|
|
849
849
|
{
|
|
850
850
|
"justify": "between",
|
|
851
|
-
"
|
|
851
|
+
"align": "center",
|
|
852
852
|
"children": [
|
|
853
853
|
{
|
|
854
854
|
"align": "center",
|
|
855
855
|
"type": "stack",
|
|
856
|
-
"direction": "horizontal",
|
|
857
|
-
"gap": "sm",
|
|
858
856
|
"children": [
|
|
859
857
|
{
|
|
860
|
-
"
|
|
861
|
-
"
|
|
858
|
+
"name": "users",
|
|
859
|
+
"type": "icon"
|
|
862
860
|
},
|
|
863
861
|
{
|
|
862
|
+
"type": "typography",
|
|
864
863
|
"content": "Contacts",
|
|
865
|
-
"variant": "h2"
|
|
866
|
-
"type": "typography"
|
|
864
|
+
"variant": "h2"
|
|
867
865
|
}
|
|
868
|
-
]
|
|
866
|
+
],
|
|
867
|
+
"gap": "sm",
|
|
868
|
+
"direction": "horizontal"
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
"gap": "sm",
|
|
872
|
-
"type": "stack",
|
|
873
871
|
"direction": "horizontal",
|
|
872
|
+
"type": "stack",
|
|
873
|
+
"gap": "sm",
|
|
874
874
|
"children": [
|
|
875
875
|
{
|
|
876
|
-
"label": "Add Contact",
|
|
877
|
-
"icon": "plus",
|
|
878
876
|
"action": "CREATE",
|
|
877
|
+
"type": "button",
|
|
879
878
|
"variant": "primary",
|
|
880
|
-
"
|
|
879
|
+
"icon": "plus",
|
|
880
|
+
"label": "Add Contact"
|
|
881
881
|
}
|
|
882
882
|
]
|
|
883
883
|
}
|
|
884
884
|
],
|
|
885
885
|
"type": "stack",
|
|
886
|
-
"
|
|
887
|
-
"
|
|
886
|
+
"gap": "md",
|
|
887
|
+
"direction": "horizontal"
|
|
888
888
|
},
|
|
889
889
|
{
|
|
890
890
|
"type": "divider"
|
|
891
891
|
},
|
|
892
892
|
{
|
|
893
|
-
"type": "simple-grid",
|
|
894
893
|
"cols": 1.0,
|
|
895
894
|
"children": [
|
|
896
895
|
{
|
|
897
896
|
"label": "Total Contacts",
|
|
897
|
+
"value": "@payload.data.length",
|
|
898
898
|
"type": "stat-display",
|
|
899
|
-
"icon": "users"
|
|
900
|
-
"value": "@payload.data.length"
|
|
899
|
+
"icon": "users"
|
|
901
900
|
}
|
|
902
|
-
]
|
|
901
|
+
],
|
|
902
|
+
"type": "simple-grid"
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
905
|
"type": "divider"
|
|
906
906
|
},
|
|
907
907
|
{
|
|
908
|
-
"entity": "@payload.data",
|
|
909
908
|
"variant": "card",
|
|
910
|
-
"
|
|
911
|
-
"itemActions": [
|
|
912
|
-
{
|
|
913
|
-
"label": "View",
|
|
914
|
-
"event": "VIEW",
|
|
915
|
-
"variant": "ghost"
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"event": "EDIT",
|
|
919
|
-
"variant": "ghost",
|
|
920
|
-
"label": "Edit"
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"event": "DELETE",
|
|
924
|
-
"variant": "danger",
|
|
925
|
-
"label": "Delete"
|
|
926
|
-
}
|
|
927
|
-
],
|
|
928
|
-
"gap": "sm",
|
|
909
|
+
"entity": "@payload.data",
|
|
929
910
|
"fields": [
|
|
930
911
|
{
|
|
931
912
|
"name": "name",
|
|
932
|
-
"
|
|
933
|
-
"
|
|
913
|
+
"variant": "h3",
|
|
914
|
+
"icon": "user"
|
|
934
915
|
},
|
|
935
916
|
{
|
|
936
917
|
"name": "status",
|
|
937
918
|
"variant": "badge"
|
|
938
919
|
},
|
|
939
920
|
{
|
|
940
|
-
"
|
|
941
|
-
"
|
|
921
|
+
"name": "company",
|
|
922
|
+
"variant": "body"
|
|
942
923
|
},
|
|
943
924
|
{
|
|
944
|
-
"
|
|
945
|
-
"
|
|
925
|
+
"variant": "caption",
|
|
926
|
+
"name": "email"
|
|
946
927
|
},
|
|
947
928
|
{
|
|
948
929
|
"variant": "caption",
|
|
949
930
|
"name": "phone"
|
|
950
931
|
}
|
|
951
|
-
]
|
|
932
|
+
],
|
|
933
|
+
"itemActions": [
|
|
934
|
+
{
|
|
935
|
+
"event": "VIEW",
|
|
936
|
+
"variant": "ghost",
|
|
937
|
+
"label": "View"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"variant": "ghost",
|
|
941
|
+
"label": "Edit",
|
|
942
|
+
"event": "EDIT"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"event": "DELETE",
|
|
946
|
+
"label": "Delete",
|
|
947
|
+
"variant": "danger"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"gap": "sm",
|
|
951
|
+
"type": "data-list"
|
|
952
952
|
}
|
|
953
953
|
]
|
|
954
954
|
}
|
|
@@ -964,36 +964,36 @@
|
|
|
964
964
|
"render-ui",
|
|
965
965
|
"main",
|
|
966
966
|
{
|
|
967
|
-
"gap": "md",
|
|
968
967
|
"type": "stack",
|
|
969
968
|
"align": "center",
|
|
970
|
-
"className": "py-12",
|
|
971
|
-
"direction": "vertical",
|
|
972
969
|
"children": [
|
|
973
970
|
{
|
|
974
|
-
"color": "destructive",
|
|
975
971
|
"type": "icon",
|
|
976
|
-
"name": "alert-triangle"
|
|
972
|
+
"name": "alert-triangle",
|
|
973
|
+
"color": "destructive"
|
|
977
974
|
},
|
|
978
975
|
{
|
|
979
976
|
"type": "typography",
|
|
980
|
-
"
|
|
981
|
-
"
|
|
977
|
+
"variant": "h3",
|
|
978
|
+
"content": "Failed to load contact"
|
|
982
979
|
},
|
|
983
980
|
{
|
|
984
|
-
"content": "@payload.error",
|
|
985
981
|
"type": "typography",
|
|
986
982
|
"color": "muted",
|
|
983
|
+
"content": "@payload.error",
|
|
987
984
|
"variant": "body"
|
|
988
985
|
},
|
|
989
986
|
{
|
|
987
|
+
"action": "INIT",
|
|
990
988
|
"variant": "primary",
|
|
989
|
+
"icon": "rotate-ccw",
|
|
991
990
|
"type": "button",
|
|
992
|
-
"label": "Retry"
|
|
993
|
-
"action": "INIT",
|
|
994
|
-
"icon": "rotate-ccw"
|
|
991
|
+
"label": "Retry"
|
|
995
992
|
}
|
|
996
|
-
]
|
|
993
|
+
],
|
|
994
|
+
"direction": "vertical",
|
|
995
|
+
"gap": "md",
|
|
996
|
+
"className": "py-12"
|
|
997
997
|
}
|
|
998
998
|
]
|
|
999
999
|
]
|
|
@@ -1202,13 +1202,15 @@
|
|
|
1202
1202
|
"render-ui",
|
|
1203
1203
|
"modal",
|
|
1204
1204
|
{
|
|
1205
|
-
"
|
|
1205
|
+
"direction": "vertical",
|
|
1206
|
+
"gap": "md",
|
|
1206
1207
|
"children": [
|
|
1207
1208
|
{
|
|
1209
|
+
"direction": "horizontal",
|
|
1208
1210
|
"children": [
|
|
1209
1211
|
{
|
|
1210
|
-
"
|
|
1211
|
-
"
|
|
1212
|
+
"type": "icon",
|
|
1213
|
+
"name": "plus-circle"
|
|
1212
1214
|
},
|
|
1213
1215
|
{
|
|
1214
1216
|
"content": "New Contact",
|
|
@@ -1217,16 +1219,15 @@
|
|
|
1217
1219
|
}
|
|
1218
1220
|
],
|
|
1219
1221
|
"gap": "sm",
|
|
1220
|
-
"type": "stack"
|
|
1221
|
-
"direction": "horizontal"
|
|
1222
|
+
"type": "stack"
|
|
1222
1223
|
},
|
|
1223
1224
|
{
|
|
1224
1225
|
"type": "divider"
|
|
1225
1226
|
},
|
|
1226
1227
|
{
|
|
1228
|
+
"type": "form-section",
|
|
1227
1229
|
"cancelEvent": "CLOSE",
|
|
1228
1230
|
"mode": "create",
|
|
1229
|
-
"submitEvent": "SAVE",
|
|
1230
1231
|
"fields": [
|
|
1231
1232
|
"name",
|
|
1232
1233
|
"company",
|
|
@@ -1234,11 +1235,10 @@
|
|
|
1234
1235
|
"phone",
|
|
1235
1236
|
"status"
|
|
1236
1237
|
],
|
|
1237
|
-
"
|
|
1238
|
+
"submitEvent": "SAVE"
|
|
1238
1239
|
}
|
|
1239
1240
|
],
|
|
1240
|
-
"
|
|
1241
|
-
"gap": "md"
|
|
1241
|
+
"type": "stack"
|
|
1242
1242
|
}
|
|
1243
1243
|
]
|
|
1244
1244
|
]
|
|
@@ -1279,8 +1279,8 @@
|
|
|
1279
1279
|
"@payload.data",
|
|
1280
1280
|
{
|
|
1281
1281
|
"emit": {
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
1282
|
+
"failure": "ContactSaveFailed",
|
|
1283
|
+
"success": "ContactSaved"
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
1286
|
],
|
|
@@ -1499,8 +1499,8 @@
|
|
|
1499
1499
|
"Contact",
|
|
1500
1500
|
{
|
|
1501
1501
|
"emit": {
|
|
1502
|
-
"
|
|
1503
|
-
"
|
|
1502
|
+
"success": "ContactLoaded",
|
|
1503
|
+
"failure": "ContactLoadFailed"
|
|
1504
1504
|
}
|
|
1505
1505
|
}
|
|
1506
1506
|
]
|
|
@@ -1517,8 +1517,8 @@
|
|
|
1517
1517
|
{
|
|
1518
1518
|
"id": "@payload.id",
|
|
1519
1519
|
"emit": {
|
|
1520
|
-
"
|
|
1521
|
-
"
|
|
1520
|
+
"failure": "ContactLoadFailed",
|
|
1521
|
+
"success": "ContactLoaded"
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
1524
|
],
|
|
@@ -1526,31 +1526,29 @@
|
|
|
1526
1526
|
"render-ui",
|
|
1527
1527
|
"modal",
|
|
1528
1528
|
{
|
|
1529
|
-
"
|
|
1529
|
+
"direction": "vertical",
|
|
1530
1530
|
"children": [
|
|
1531
1531
|
{
|
|
1532
|
+
"direction": "horizontal",
|
|
1533
|
+
"type": "stack",
|
|
1532
1534
|
"children": [
|
|
1533
1535
|
{
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1536
|
+
"name": "edit",
|
|
1537
|
+
"type": "icon"
|
|
1536
1538
|
},
|
|
1537
1539
|
{
|
|
1538
|
-
"
|
|
1540
|
+
"content": "Edit Contact",
|
|
1539
1541
|
"variant": "h3",
|
|
1540
|
-
"
|
|
1542
|
+
"type": "typography"
|
|
1541
1543
|
}
|
|
1542
1544
|
],
|
|
1543
|
-
"type": "stack",
|
|
1544
|
-
"direction": "horizontal",
|
|
1545
1545
|
"gap": "sm"
|
|
1546
1546
|
},
|
|
1547
1547
|
{
|
|
1548
1548
|
"type": "divider"
|
|
1549
1549
|
},
|
|
1550
1550
|
{
|
|
1551
|
-
"cancelEvent": "CLOSE",
|
|
1552
1551
|
"type": "form-section",
|
|
1553
|
-
"submitEvent": "SAVE",
|
|
1554
1552
|
"fields": [
|
|
1555
1553
|
"name",
|
|
1556
1554
|
"company",
|
|
@@ -1558,12 +1556,14 @@
|
|
|
1558
1556
|
"phone",
|
|
1559
1557
|
"status"
|
|
1560
1558
|
],
|
|
1561
|
-
"
|
|
1562
|
-
"
|
|
1559
|
+
"submitEvent": "SAVE",
|
|
1560
|
+
"cancelEvent": "CLOSE",
|
|
1561
|
+
"entity": "@payload.row",
|
|
1562
|
+
"mode": "edit"
|
|
1563
1563
|
}
|
|
1564
1564
|
],
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1565
|
+
"type": "stack",
|
|
1566
|
+
"gap": "md"
|
|
1567
1567
|
}
|
|
1568
1568
|
]
|
|
1569
1569
|
]
|
|
@@ -1818,8 +1818,8 @@
|
|
|
1818
1818
|
"Contact",
|
|
1819
1819
|
{
|
|
1820
1820
|
"emit": {
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1821
|
+
"success": "ContactLoaded",
|
|
1822
|
+
"failure": "ContactLoadFailed"
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
]
|
|
@@ -1834,60 +1834,57 @@
|
|
|
1834
1834
|
"fetch",
|
|
1835
1835
|
"Contact",
|
|
1836
1836
|
{
|
|
1837
|
+
"id": "@payload.id",
|
|
1837
1838
|
"emit": {
|
|
1838
1839
|
"failure": "ContactLoadFailed",
|
|
1839
1840
|
"success": "ContactLoaded"
|
|
1840
|
-
}
|
|
1841
|
-
"id": "@payload.id"
|
|
1841
|
+
}
|
|
1842
1842
|
}
|
|
1843
1843
|
],
|
|
1844
1844
|
[
|
|
1845
1845
|
"render-ui",
|
|
1846
1846
|
"modal",
|
|
1847
1847
|
{
|
|
1848
|
-
"gap": "md",
|
|
1849
|
-
"type": "stack",
|
|
1850
1848
|
"children": [
|
|
1851
1849
|
{
|
|
1850
|
+
"gap": "sm",
|
|
1852
1851
|
"type": "stack",
|
|
1852
|
+
"direction": "horizontal",
|
|
1853
|
+
"align": "center",
|
|
1853
1854
|
"children": [
|
|
1854
1855
|
{
|
|
1855
|
-
"
|
|
1856
|
-
"
|
|
1856
|
+
"name": "eye",
|
|
1857
|
+
"type": "icon"
|
|
1857
1858
|
},
|
|
1858
1859
|
{
|
|
1859
|
-
"content": "@entity.name",
|
|
1860
1860
|
"type": "typography",
|
|
1861
|
-
"variant": "h3"
|
|
1861
|
+
"variant": "h3",
|
|
1862
|
+
"content": "@entity.name"
|
|
1862
1863
|
}
|
|
1863
|
-
]
|
|
1864
|
-
"direction": "horizontal",
|
|
1865
|
-
"gap": "sm",
|
|
1866
|
-
"align": "center"
|
|
1864
|
+
]
|
|
1867
1865
|
},
|
|
1868
1866
|
{
|
|
1869
1867
|
"type": "divider"
|
|
1870
1868
|
},
|
|
1871
1869
|
{
|
|
1872
|
-
"direction": "horizontal",
|
|
1873
|
-
"type": "stack",
|
|
1874
|
-
"gap": "md",
|
|
1875
1870
|
"children": [
|
|
1876
1871
|
{
|
|
1877
|
-
"variant": "caption",
|
|
1878
1872
|
"content": "Name",
|
|
1873
|
+
"variant": "caption",
|
|
1879
1874
|
"type": "typography"
|
|
1880
1875
|
},
|
|
1881
1876
|
{
|
|
1882
|
-
"variant": "body",
|
|
1883
1877
|
"type": "typography",
|
|
1878
|
+
"variant": "body",
|
|
1884
1879
|
"content": "@entity.name"
|
|
1885
1880
|
}
|
|
1886
|
-
]
|
|
1881
|
+
],
|
|
1882
|
+
"type": "stack",
|
|
1883
|
+
"direction": "horizontal",
|
|
1884
|
+
"gap": "md"
|
|
1887
1885
|
},
|
|
1888
1886
|
{
|
|
1889
1887
|
"type": "stack",
|
|
1890
|
-
"direction": "horizontal",
|
|
1891
1888
|
"gap": "md",
|
|
1892
1889
|
"children": [
|
|
1893
1890
|
{
|
|
@@ -1896,45 +1893,46 @@
|
|
|
1896
1893
|
"content": "Company"
|
|
1897
1894
|
},
|
|
1898
1895
|
{
|
|
1896
|
+
"content": "@entity.company",
|
|
1899
1897
|
"type": "typography",
|
|
1900
|
-
"variant": "body"
|
|
1901
|
-
"content": "@entity.company"
|
|
1898
|
+
"variant": "body"
|
|
1902
1899
|
}
|
|
1903
|
-
]
|
|
1900
|
+
],
|
|
1901
|
+
"direction": "horizontal"
|
|
1904
1902
|
},
|
|
1905
1903
|
{
|
|
1906
1904
|
"direction": "horizontal",
|
|
1907
|
-
"gap": "md",
|
|
1908
1905
|
"children": [
|
|
1909
1906
|
{
|
|
1910
1907
|
"type": "typography",
|
|
1911
|
-
"
|
|
1912
|
-
"
|
|
1908
|
+
"variant": "caption",
|
|
1909
|
+
"content": "Email"
|
|
1913
1910
|
},
|
|
1914
1911
|
{
|
|
1915
1912
|
"variant": "body",
|
|
1916
|
-
"
|
|
1917
|
-
"
|
|
1913
|
+
"type": "typography",
|
|
1914
|
+
"content": "@entity.email"
|
|
1918
1915
|
}
|
|
1919
1916
|
],
|
|
1920
|
-
"type": "stack"
|
|
1917
|
+
"type": "stack",
|
|
1918
|
+
"gap": "md"
|
|
1921
1919
|
},
|
|
1922
1920
|
{
|
|
1923
|
-
"
|
|
1921
|
+
"type": "stack",
|
|
1924
1922
|
"direction": "horizontal",
|
|
1923
|
+
"gap": "md",
|
|
1925
1924
|
"children": [
|
|
1926
1925
|
{
|
|
1926
|
+
"type": "typography",
|
|
1927
1927
|
"variant": "caption",
|
|
1928
|
-
"content": "Phone"
|
|
1929
|
-
"type": "typography"
|
|
1928
|
+
"content": "Phone"
|
|
1930
1929
|
},
|
|
1931
1930
|
{
|
|
1932
|
-
"type": "typography",
|
|
1933
1931
|
"variant": "body",
|
|
1932
|
+
"type": "typography",
|
|
1934
1933
|
"content": "@entity.phone"
|
|
1935
1934
|
}
|
|
1936
|
-
]
|
|
1937
|
-
"type": "stack"
|
|
1935
|
+
]
|
|
1938
1936
|
},
|
|
1939
1937
|
{
|
|
1940
1938
|
"type": "stack",
|
|
@@ -1942,13 +1940,13 @@
|
|
|
1942
1940
|
"children": [
|
|
1943
1941
|
{
|
|
1944
1942
|
"variant": "caption",
|
|
1945
|
-
"
|
|
1946
|
-
"
|
|
1943
|
+
"content": "Status",
|
|
1944
|
+
"type": "typography"
|
|
1947
1945
|
},
|
|
1948
1946
|
{
|
|
1947
|
+
"variant": "body",
|
|
1949
1948
|
"content": "@entity.status",
|
|
1950
|
-
"type": "typography"
|
|
1951
|
-
"variant": "body"
|
|
1949
|
+
"type": "typography"
|
|
1952
1950
|
}
|
|
1953
1951
|
],
|
|
1954
1952
|
"direction": "horizontal"
|
|
@@ -1957,28 +1955,30 @@
|
|
|
1957
1955
|
"type": "divider"
|
|
1958
1956
|
},
|
|
1959
1957
|
{
|
|
1958
|
+
"direction": "horizontal",
|
|
1959
|
+
"type": "stack",
|
|
1960
|
+
"gap": "sm",
|
|
1960
1961
|
"children": [
|
|
1961
1962
|
{
|
|
1962
|
-
"label": "Edit",
|
|
1963
|
-
"variant": "primary",
|
|
1964
1963
|
"icon": "edit",
|
|
1965
|
-
"
|
|
1966
|
-
"type": "button"
|
|
1964
|
+
"variant": "primary",
|
|
1965
|
+
"type": "button",
|
|
1966
|
+
"label": "Edit",
|
|
1967
|
+
"action": "EDIT"
|
|
1967
1968
|
},
|
|
1968
1969
|
{
|
|
1970
|
+
"action": "CLOSE",
|
|
1969
1971
|
"label": "Close",
|
|
1970
1972
|
"type": "button",
|
|
1971
|
-
"variant": "ghost"
|
|
1972
|
-
"action": "CLOSE"
|
|
1973
|
+
"variant": "ghost"
|
|
1973
1974
|
}
|
|
1974
1975
|
],
|
|
1975
|
-
"type": "stack",
|
|
1976
|
-
"direction": "horizontal",
|
|
1977
|
-
"gap": "sm",
|
|
1978
1976
|
"justify": "end"
|
|
1979
1977
|
}
|
|
1980
1978
|
],
|
|
1981
|
-
"direction": "vertical"
|
|
1979
|
+
"direction": "vertical",
|
|
1980
|
+
"gap": "md",
|
|
1981
|
+
"type": "stack"
|
|
1982
1982
|
}
|
|
1983
1983
|
]
|
|
1984
1984
|
]
|
|
@@ -2208,8 +2208,8 @@
|
|
|
2208
2208
|
"Contact",
|
|
2209
2209
|
{
|
|
2210
2210
|
"emit": {
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
2211
|
+
"success": "ContactLoaded",
|
|
2212
|
+
"failure": "ContactLoadFailed"
|
|
2213
2213
|
}
|
|
2214
2214
|
}
|
|
2215
2215
|
]
|
|
@@ -2229,66 +2229,66 @@
|
|
|
2229
2229
|
"fetch",
|
|
2230
2230
|
"Contact",
|
|
2231
2231
|
{
|
|
2232
|
+
"id": "@payload.id",
|
|
2232
2233
|
"emit": {
|
|
2233
2234
|
"failure": "ContactLoadFailed",
|
|
2234
2235
|
"success": "ContactLoaded"
|
|
2235
|
-
}
|
|
2236
|
-
"id": "@payload.id"
|
|
2236
|
+
}
|
|
2237
2237
|
}
|
|
2238
2238
|
],
|
|
2239
2239
|
[
|
|
2240
2240
|
"render-ui",
|
|
2241
2241
|
"modal",
|
|
2242
2242
|
{
|
|
2243
|
-
"type": "stack",
|
|
2244
2243
|
"gap": "md",
|
|
2244
|
+
"type": "stack",
|
|
2245
2245
|
"direction": "vertical",
|
|
2246
2246
|
"children": [
|
|
2247
2247
|
{
|
|
2248
|
-
"align": "center",
|
|
2249
|
-
"type": "stack",
|
|
2250
|
-
"direction": "horizontal",
|
|
2251
2248
|
"gap": "sm",
|
|
2249
|
+
"type": "stack",
|
|
2252
2250
|
"children": [
|
|
2253
2251
|
{
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2252
|
+
"type": "icon",
|
|
2253
|
+
"name": "alert-triangle"
|
|
2256
2254
|
},
|
|
2257
2255
|
{
|
|
2258
|
-
"
|
|
2256
|
+
"variant": "h3",
|
|
2259
2257
|
"type": "typography",
|
|
2260
|
-
"
|
|
2258
|
+
"content": "Delete Contact"
|
|
2261
2259
|
}
|
|
2262
|
-
]
|
|
2260
|
+
],
|
|
2261
|
+
"direction": "horizontal",
|
|
2262
|
+
"align": "center"
|
|
2263
2263
|
},
|
|
2264
2264
|
{
|
|
2265
2265
|
"type": "divider"
|
|
2266
2266
|
},
|
|
2267
2267
|
{
|
|
2268
|
-
"variant": "error",
|
|
2269
2268
|
"type": "alert",
|
|
2270
|
-
"message": "This action cannot be undone."
|
|
2269
|
+
"message": "This action cannot be undone.",
|
|
2270
|
+
"variant": "error"
|
|
2271
2271
|
},
|
|
2272
2272
|
{
|
|
2273
|
-
"
|
|
2273
|
+
"justify": "end",
|
|
2274
2274
|
"children": [
|
|
2275
2275
|
{
|
|
2276
|
-
"
|
|
2276
|
+
"action": "CANCEL",
|
|
2277
2277
|
"variant": "ghost",
|
|
2278
|
-
"
|
|
2279
|
-
"
|
|
2278
|
+
"label": "Cancel",
|
|
2279
|
+
"type": "button"
|
|
2280
2280
|
},
|
|
2281
2281
|
{
|
|
2282
|
-
"label": "Delete",
|
|
2283
2282
|
"icon": "check",
|
|
2284
|
-
"type": "button",
|
|
2285
2283
|
"action": "CONFIRM_DELETE",
|
|
2284
|
+
"type": "button",
|
|
2285
|
+
"label": "Delete",
|
|
2286
2286
|
"variant": "danger"
|
|
2287
2287
|
}
|
|
2288
2288
|
],
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2289
|
+
"type": "stack",
|
|
2290
|
+
"direction": "horizontal",
|
|
2291
|
+
"gap": "sm"
|
|
2292
2292
|
}
|
|
2293
2293
|
]
|
|
2294
2294
|
}
|
|
@@ -2307,8 +2307,8 @@
|
|
|
2307
2307
|
"@entity.pendingId",
|
|
2308
2308
|
{
|
|
2309
2309
|
"emit": {
|
|
2310
|
-
"
|
|
2311
|
-
"
|
|
2310
|
+
"failure": "ContactDeleteFailed",
|
|
2311
|
+
"success": "ContactDeleted"
|
|
2312
2312
|
}
|
|
2313
2313
|
}
|
|
2314
2314
|
],
|
|
@@ -2391,8 +2391,8 @@
|
|
|
2391
2391
|
"Contact",
|
|
2392
2392
|
{
|
|
2393
2393
|
"emit": {
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2394
|
+
"success": "ContactLoaded",
|
|
2395
|
+
"failure": "ContactLoadFailed"
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
2398
|
]
|
|
@@ -2743,22 +2743,22 @@
|
|
|
2743
2743
|
"render-ui",
|
|
2744
2744
|
"main",
|
|
2745
2745
|
{
|
|
2746
|
+
"type": "stack",
|
|
2747
|
+
"align": "center",
|
|
2748
|
+
"className": "py-12",
|
|
2749
|
+
"direction": "vertical",
|
|
2746
2750
|
"children": [
|
|
2747
2751
|
{
|
|
2748
2752
|
"type": "spinner"
|
|
2749
2753
|
},
|
|
2750
2754
|
{
|
|
2751
|
-
"type": "typography",
|
|
2752
2755
|
"variant": "caption",
|
|
2756
|
+
"type": "typography",
|
|
2753
2757
|
"content": "Loading…",
|
|
2754
2758
|
"color": "muted"
|
|
2755
2759
|
}
|
|
2756
2760
|
],
|
|
2757
|
-
"gap": "md"
|
|
2758
|
-
"className": "py-12",
|
|
2759
|
-
"direction": "vertical",
|
|
2760
|
-
"type": "stack",
|
|
2761
|
-
"align": "center"
|
|
2761
|
+
"gap": "md"
|
|
2762
2762
|
}
|
|
2763
2763
|
]
|
|
2764
2764
|
]
|
|
@@ -2774,30 +2774,29 @@
|
|
|
2774
2774
|
{
|
|
2775
2775
|
"children": [
|
|
2776
2776
|
{
|
|
2777
|
+
"gap": "lg",
|
|
2778
|
+
"direction": "vertical",
|
|
2779
|
+
"type": "stack",
|
|
2780
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
2777
2781
|
"children": [
|
|
2778
2782
|
{
|
|
2779
|
-
"type": "stack",
|
|
2780
|
-
"gap": "md",
|
|
2781
|
-
"justify": "between",
|
|
2782
|
-
"align": "center",
|
|
2783
|
-
"direction": "horizontal",
|
|
2784
2783
|
"children": [
|
|
2785
2784
|
{
|
|
2786
2785
|
"type": "stack",
|
|
2787
2786
|
"align": "center",
|
|
2787
|
+
"direction": "horizontal",
|
|
2788
2788
|
"gap": "sm",
|
|
2789
2789
|
"children": [
|
|
2790
2790
|
{
|
|
2791
|
-
"
|
|
2792
|
-
"
|
|
2791
|
+
"type": "icon",
|
|
2792
|
+
"name": "briefcase"
|
|
2793
2793
|
},
|
|
2794
2794
|
{
|
|
2795
|
-
"content": "Deals",
|
|
2796
2795
|
"variant": "h2",
|
|
2797
|
-
"type": "typography"
|
|
2796
|
+
"type": "typography",
|
|
2797
|
+
"content": "Deals"
|
|
2798
2798
|
}
|
|
2799
|
-
]
|
|
2800
|
-
"direction": "horizontal"
|
|
2799
|
+
]
|
|
2801
2800
|
},
|
|
2802
2801
|
{
|
|
2803
2802
|
"type": "stack",
|
|
@@ -2805,40 +2804,45 @@
|
|
|
2805
2804
|
"direction": "horizontal",
|
|
2806
2805
|
"children": [
|
|
2807
2806
|
{
|
|
2807
|
+
"type": "button",
|
|
2808
2808
|
"label": "New Deal",
|
|
2809
|
+
"icon": "plus",
|
|
2809
2810
|
"action": "CREATE",
|
|
2810
|
-
"
|
|
2811
|
-
"variant": "primary",
|
|
2812
|
-
"icon": "plus"
|
|
2811
|
+
"variant": "primary"
|
|
2813
2812
|
}
|
|
2814
2813
|
]
|
|
2815
2814
|
}
|
|
2816
|
-
]
|
|
2815
|
+
],
|
|
2816
|
+
"align": "center",
|
|
2817
|
+
"direction": "horizontal",
|
|
2818
|
+
"type": "stack",
|
|
2819
|
+
"gap": "md",
|
|
2820
|
+
"justify": "between"
|
|
2817
2821
|
},
|
|
2818
2822
|
{
|
|
2819
2823
|
"type": "divider"
|
|
2820
2824
|
},
|
|
2821
2825
|
{
|
|
2826
|
+
"entity": "@payload.data",
|
|
2822
2827
|
"itemActions": [
|
|
2823
2828
|
{
|
|
2824
|
-
"label": "View",
|
|
2825
2829
|
"event": "VIEW",
|
|
2826
|
-
"variant": "ghost"
|
|
2830
|
+
"variant": "ghost",
|
|
2831
|
+
"label": "View"
|
|
2827
2832
|
},
|
|
2828
2833
|
{
|
|
2829
2834
|
"event": "EDIT",
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
2835
|
+
"label": "Edit",
|
|
2836
|
+
"variant": "ghost"
|
|
2832
2837
|
},
|
|
2833
2838
|
{
|
|
2834
|
-
"event": "DELETE",
|
|
2835
2839
|
"variant": "danger",
|
|
2836
|
-
"label": "Delete"
|
|
2840
|
+
"label": "Delete",
|
|
2841
|
+
"event": "DELETE"
|
|
2837
2842
|
}
|
|
2838
2843
|
],
|
|
2839
|
-
"
|
|
2844
|
+
"gap": "md",
|
|
2840
2845
|
"type": "data-grid",
|
|
2841
|
-
"entity": "@payload.data",
|
|
2842
2846
|
"fields": [
|
|
2843
2847
|
{
|
|
2844
2848
|
"variant": "h3",
|
|
@@ -2850,30 +2854,27 @@
|
|
|
2850
2854
|
"variant": "badge"
|
|
2851
2855
|
},
|
|
2852
2856
|
{
|
|
2853
|
-
"variant": "h4",
|
|
2854
2857
|
"name": "value",
|
|
2858
|
+
"variant": "h4",
|
|
2855
2859
|
"format": "currency"
|
|
2856
2860
|
},
|
|
2857
2861
|
{
|
|
2858
2862
|
"variant": "caption",
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2863
|
+
"label": "Contact",
|
|
2864
|
+
"name": "contactId"
|
|
2861
2865
|
}
|
|
2862
2866
|
],
|
|
2863
|
-
"
|
|
2867
|
+
"cols": 2.0
|
|
2864
2868
|
}
|
|
2865
|
-
]
|
|
2866
|
-
"type": "stack",
|
|
2867
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
2868
|
-
"direction": "vertical",
|
|
2869
|
-
"gap": "lg"
|
|
2869
|
+
]
|
|
2870
2870
|
}
|
|
2871
2871
|
],
|
|
2872
|
+
"type": "dashboard-layout",
|
|
2872
2873
|
"navItems": [
|
|
2873
2874
|
{
|
|
2874
|
-
"
|
|
2875
|
+
"label": "Contacts",
|
|
2875
2876
|
"icon": "users",
|
|
2876
|
-
"
|
|
2877
|
+
"href": "/contacts"
|
|
2877
2878
|
},
|
|
2878
2879
|
{
|
|
2879
2880
|
"label": "Deals",
|
|
@@ -2891,7 +2892,6 @@
|
|
|
2891
2892
|
"label": "Notes"
|
|
2892
2893
|
}
|
|
2893
2894
|
],
|
|
2894
|
-
"type": "dashboard-layout",
|
|
2895
2895
|
"appName": "CRM"
|
|
2896
2896
|
}
|
|
2897
2897
|
]
|
|
@@ -2906,11 +2906,10 @@
|
|
|
2906
2906
|
"render-ui",
|
|
2907
2907
|
"main",
|
|
2908
2908
|
{
|
|
2909
|
-
"type": "stack",
|
|
2910
2909
|
"children": [
|
|
2911
2910
|
{
|
|
2912
|
-
"name": "alert-triangle",
|
|
2913
2911
|
"type": "icon",
|
|
2912
|
+
"name": "alert-triangle",
|
|
2914
2913
|
"color": "destructive"
|
|
2915
2914
|
},
|
|
2916
2915
|
{
|
|
@@ -2919,23 +2918,24 @@
|
|
|
2919
2918
|
"variant": "h3"
|
|
2920
2919
|
},
|
|
2921
2920
|
{
|
|
2922
|
-
"content": "@payload.error",
|
|
2923
2921
|
"type": "typography",
|
|
2924
2922
|
"color": "muted",
|
|
2923
|
+
"content": "@payload.error",
|
|
2925
2924
|
"variant": "body"
|
|
2926
2925
|
},
|
|
2927
2926
|
{
|
|
2928
|
-
"
|
|
2929
|
-
"type": "button",
|
|
2927
|
+
"label": "Retry",
|
|
2930
2928
|
"variant": "primary",
|
|
2931
2929
|
"icon": "rotate-ccw",
|
|
2932
|
-
"
|
|
2930
|
+
"type": "button",
|
|
2931
|
+
"action": "INIT"
|
|
2933
2932
|
}
|
|
2934
2933
|
],
|
|
2935
|
-
"align": "center",
|
|
2936
2934
|
"direction": "vertical",
|
|
2937
2935
|
"gap": "md",
|
|
2938
|
-
"
|
|
2936
|
+
"align": "center",
|
|
2937
|
+
"className": "py-12",
|
|
2938
|
+
"type": "stack"
|
|
2939
2939
|
}
|
|
2940
2940
|
]
|
|
2941
2941
|
]
|
|
@@ -3127,8 +3127,8 @@
|
|
|
3127
3127
|
"Deal",
|
|
3128
3128
|
{
|
|
3129
3129
|
"emit": {
|
|
3130
|
-
"
|
|
3131
|
-
"
|
|
3130
|
+
"success": "DealLoaded",
|
|
3131
|
+
"failure": "DealLoadFailed"
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
3134
3134
|
],
|
|
@@ -3138,9 +3138,9 @@
|
|
|
3138
3138
|
{
|
|
3139
3139
|
"direction": "vertical",
|
|
3140
3140
|
"gap": "md",
|
|
3141
|
-
"type": "stack",
|
|
3142
3141
|
"children": [
|
|
3143
3142
|
{
|
|
3143
|
+
"gap": "sm",
|
|
3144
3144
|
"direction": "horizontal",
|
|
3145
3145
|
"children": [
|
|
3146
3146
|
{
|
|
@@ -3148,13 +3148,12 @@
|
|
|
3148
3148
|
"name": "plus-circle"
|
|
3149
3149
|
},
|
|
3150
3150
|
{
|
|
3151
|
-
"
|
|
3151
|
+
"type": "typography",
|
|
3152
3152
|
"content": "Create Deal",
|
|
3153
|
-
"
|
|
3153
|
+
"variant": "h3"
|
|
3154
3154
|
}
|
|
3155
3155
|
],
|
|
3156
|
-
"type": "stack"
|
|
3157
|
-
"gap": "sm"
|
|
3156
|
+
"type": "stack"
|
|
3158
3157
|
},
|
|
3159
3158
|
{
|
|
3160
3159
|
"type": "divider"
|
|
@@ -3168,11 +3167,12 @@
|
|
|
3168
3167
|
"stage",
|
|
3169
3168
|
"closedAt"
|
|
3170
3169
|
],
|
|
3171
|
-
"submitEvent": "SAVE",
|
|
3172
3170
|
"mode": "create",
|
|
3173
|
-
"type": "form-section"
|
|
3171
|
+
"type": "form-section",
|
|
3172
|
+
"submitEvent": "SAVE"
|
|
3174
3173
|
}
|
|
3175
|
-
]
|
|
3174
|
+
],
|
|
3175
|
+
"type": "stack"
|
|
3176
3176
|
}
|
|
3177
3177
|
]
|
|
3178
3178
|
]
|
|
@@ -3440,40 +3440,42 @@
|
|
|
3440
3440
|
"fetch",
|
|
3441
3441
|
"Deal",
|
|
3442
3442
|
{
|
|
3443
|
+
"id": "@payload.id",
|
|
3443
3444
|
"emit": {
|
|
3444
3445
|
"failure": "DealLoadFailed",
|
|
3445
3446
|
"success": "DealLoaded"
|
|
3446
|
-
}
|
|
3447
|
-
"id": "@payload.id"
|
|
3447
|
+
}
|
|
3448
3448
|
}
|
|
3449
3449
|
],
|
|
3450
3450
|
[
|
|
3451
3451
|
"render-ui",
|
|
3452
3452
|
"modal",
|
|
3453
3453
|
{
|
|
3454
|
-
"direction": "vertical",
|
|
3455
|
-
"gap": "md",
|
|
3456
3454
|
"children": [
|
|
3457
3455
|
{
|
|
3458
|
-
"direction": "horizontal",
|
|
3459
3456
|
"type": "stack",
|
|
3460
|
-
"
|
|
3457
|
+
"direction": "horizontal",
|
|
3461
3458
|
"children": [
|
|
3462
3459
|
{
|
|
3463
|
-
"
|
|
3464
|
-
"
|
|
3460
|
+
"type": "icon",
|
|
3461
|
+
"name": "edit"
|
|
3465
3462
|
},
|
|
3466
3463
|
{
|
|
3467
|
-
"
|
|
3464
|
+
"variant": "h3",
|
|
3468
3465
|
"content": "Edit Deal",
|
|
3469
|
-
"
|
|
3466
|
+
"type": "typography"
|
|
3470
3467
|
}
|
|
3471
|
-
]
|
|
3468
|
+
],
|
|
3469
|
+
"gap": "sm"
|
|
3472
3470
|
},
|
|
3473
3471
|
{
|
|
3474
3472
|
"type": "divider"
|
|
3475
3473
|
},
|
|
3476
3474
|
{
|
|
3475
|
+
"mode": "edit",
|
|
3476
|
+
"submitEvent": "SAVE",
|
|
3477
|
+
"entity": "@payload.row",
|
|
3478
|
+
"cancelEvent": "CLOSE",
|
|
3477
3479
|
"fields": [
|
|
3478
3480
|
"title",
|
|
3479
3481
|
"contactId",
|
|
@@ -3481,14 +3483,12 @@
|
|
|
3481
3483
|
"stage",
|
|
3482
3484
|
"closedAt"
|
|
3483
3485
|
],
|
|
3484
|
-
"submitEvent": "SAVE",
|
|
3485
|
-
"cancelEvent": "CLOSE",
|
|
3486
|
-
"entity": "@payload.row",
|
|
3487
|
-
"mode": "edit",
|
|
3488
3486
|
"type": "form-section"
|
|
3489
3487
|
}
|
|
3490
3488
|
],
|
|
3491
|
-
"
|
|
3489
|
+
"gap": "md",
|
|
3490
|
+
"type": "stack",
|
|
3491
|
+
"direction": "vertical"
|
|
3492
3492
|
}
|
|
3493
3493
|
]
|
|
3494
3494
|
]
|
|
@@ -3735,8 +3735,8 @@
|
|
|
3735
3735
|
"Deal",
|
|
3736
3736
|
{
|
|
3737
3737
|
"emit": {
|
|
3738
|
-
"
|
|
3739
|
-
"
|
|
3738
|
+
"failure": "DealLoadFailed",
|
|
3739
|
+
"success": "DealLoaded"
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
3742
|
]
|
|
@@ -3751,94 +3751,92 @@
|
|
|
3751
3751
|
"fetch",
|
|
3752
3752
|
"Deal",
|
|
3753
3753
|
{
|
|
3754
|
-
"id": "@payload.id",
|
|
3755
3754
|
"emit": {
|
|
3756
|
-
"
|
|
3757
|
-
"
|
|
3758
|
-
}
|
|
3755
|
+
"success": "DealLoaded",
|
|
3756
|
+
"failure": "DealLoadFailed"
|
|
3757
|
+
},
|
|
3758
|
+
"id": "@payload.id"
|
|
3759
3759
|
}
|
|
3760
3760
|
],
|
|
3761
3761
|
[
|
|
3762
3762
|
"render-ui",
|
|
3763
3763
|
"modal",
|
|
3764
3764
|
{
|
|
3765
|
-
"
|
|
3765
|
+
"type": "stack",
|
|
3766
|
+
"gap": "md",
|
|
3766
3767
|
"children": [
|
|
3767
3768
|
{
|
|
3769
|
+
"type": "stack",
|
|
3770
|
+
"direction": "horizontal",
|
|
3771
|
+
"gap": "sm",
|
|
3772
|
+
"align": "center",
|
|
3768
3773
|
"children": [
|
|
3769
3774
|
{
|
|
3770
|
-
"
|
|
3771
|
-
"
|
|
3775
|
+
"type": "icon",
|
|
3776
|
+
"name": "eye"
|
|
3772
3777
|
},
|
|
3773
3778
|
{
|
|
3774
|
-
"type": "typography",
|
|
3775
3779
|
"variant": "h3",
|
|
3776
|
-
"content": "@entity.title"
|
|
3780
|
+
"content": "@entity.title",
|
|
3781
|
+
"type": "typography"
|
|
3777
3782
|
}
|
|
3778
|
-
]
|
|
3779
|
-
"direction": "horizontal",
|
|
3780
|
-
"gap": "sm",
|
|
3781
|
-
"align": "center",
|
|
3782
|
-
"type": "stack"
|
|
3783
|
+
]
|
|
3783
3784
|
},
|
|
3784
3785
|
{
|
|
3785
3786
|
"type": "divider"
|
|
3786
3787
|
},
|
|
3787
3788
|
{
|
|
3789
|
+
"gap": "md",
|
|
3790
|
+
"type": "stack",
|
|
3791
|
+
"direction": "horizontal",
|
|
3788
3792
|
"children": [
|
|
3789
3793
|
{
|
|
3790
|
-
"type": "typography",
|
|
3791
3794
|
"content": "Title",
|
|
3792
|
-
"variant": "caption"
|
|
3795
|
+
"variant": "caption",
|
|
3796
|
+
"type": "typography"
|
|
3793
3797
|
},
|
|
3794
3798
|
{
|
|
3799
|
+
"type": "typography",
|
|
3795
3800
|
"content": "@entity.title",
|
|
3796
|
-
"variant": "body"
|
|
3797
|
-
"type": "typography"
|
|
3801
|
+
"variant": "body"
|
|
3798
3802
|
}
|
|
3799
|
-
]
|
|
3800
|
-
"type": "stack",
|
|
3801
|
-
"gap": "md",
|
|
3802
|
-
"direction": "horizontal"
|
|
3803
|
+
]
|
|
3803
3804
|
},
|
|
3804
3805
|
{
|
|
3805
|
-
"direction": "horizontal",
|
|
3806
3806
|
"gap": "md",
|
|
3807
|
+
"type": "stack",
|
|
3807
3808
|
"children": [
|
|
3808
3809
|
{
|
|
3810
|
+
"type": "typography",
|
|
3809
3811
|
"variant": "caption",
|
|
3810
|
-
"content": "Contact ID"
|
|
3811
|
-
"type": "typography"
|
|
3812
|
+
"content": "Contact ID"
|
|
3812
3813
|
},
|
|
3813
3814
|
{
|
|
3814
3815
|
"variant": "body",
|
|
3815
|
-
"
|
|
3816
|
-
"
|
|
3816
|
+
"type": "typography",
|
|
3817
|
+
"content": "@entity.contactId"
|
|
3817
3818
|
}
|
|
3818
3819
|
],
|
|
3819
|
-
"
|
|
3820
|
+
"direction": "horizontal"
|
|
3820
3821
|
},
|
|
3821
3822
|
{
|
|
3822
|
-
"gap": "md",
|
|
3823
|
-
"direction": "horizontal",
|
|
3824
|
-
"type": "stack",
|
|
3825
3823
|
"children": [
|
|
3826
3824
|
{
|
|
3827
|
-
"
|
|
3825
|
+
"variant": "caption",
|
|
3828
3826
|
"type": "typography",
|
|
3829
|
-
"
|
|
3827
|
+
"content": "Value"
|
|
3830
3828
|
},
|
|
3831
3829
|
{
|
|
3832
|
-
"
|
|
3830
|
+
"content": "@entity.value",
|
|
3833
3831
|
"type": "typography",
|
|
3834
|
-
"
|
|
3832
|
+
"variant": "body"
|
|
3835
3833
|
}
|
|
3836
|
-
]
|
|
3834
|
+
],
|
|
3835
|
+
"type": "stack",
|
|
3836
|
+
"direction": "horizontal",
|
|
3837
|
+
"gap": "md"
|
|
3837
3838
|
},
|
|
3838
3839
|
{
|
|
3839
|
-
"direction": "horizontal",
|
|
3840
|
-
"type": "stack",
|
|
3841
|
-
"gap": "md",
|
|
3842
3840
|
"children": [
|
|
3843
3841
|
{
|
|
3844
3842
|
"type": "typography",
|
|
@@ -3846,14 +3844,16 @@
|
|
|
3846
3844
|
"content": "Stage"
|
|
3847
3845
|
},
|
|
3848
3846
|
{
|
|
3849
|
-
"
|
|
3847
|
+
"variant": "body",
|
|
3850
3848
|
"type": "typography",
|
|
3851
|
-
"
|
|
3849
|
+
"content": "@entity.stage"
|
|
3852
3850
|
}
|
|
3853
|
-
]
|
|
3851
|
+
],
|
|
3852
|
+
"type": "stack",
|
|
3853
|
+
"gap": "md",
|
|
3854
|
+
"direction": "horizontal"
|
|
3854
3855
|
},
|
|
3855
3856
|
{
|
|
3856
|
-
"direction": "horizontal",
|
|
3857
3857
|
"type": "stack",
|
|
3858
3858
|
"gap": "md",
|
|
3859
3859
|
"children": [
|
|
@@ -3863,39 +3863,39 @@
|
|
|
3863
3863
|
"type": "typography"
|
|
3864
3864
|
},
|
|
3865
3865
|
{
|
|
3866
|
-
"content": "@entity.closedAt",
|
|
3867
3866
|
"type": "typography",
|
|
3868
|
-
"variant": "body"
|
|
3867
|
+
"variant": "body",
|
|
3868
|
+
"content": "@entity.closedAt"
|
|
3869
3869
|
}
|
|
3870
|
-
]
|
|
3870
|
+
],
|
|
3871
|
+
"direction": "horizontal"
|
|
3871
3872
|
},
|
|
3872
3873
|
{
|
|
3873
3874
|
"type": "divider"
|
|
3874
3875
|
},
|
|
3875
3876
|
{
|
|
3876
|
-
"gap": "sm",
|
|
3877
|
-
"direction": "horizontal",
|
|
3878
3877
|
"justify": "end",
|
|
3878
|
+
"direction": "horizontal",
|
|
3879
|
+
"type": "stack",
|
|
3880
|
+
"gap": "sm",
|
|
3879
3881
|
"children": [
|
|
3880
3882
|
{
|
|
3881
|
-
"type": "button",
|
|
3882
|
-
"action": "EDIT",
|
|
3883
|
-
"variant": "primary",
|
|
3884
3883
|
"label": "Edit",
|
|
3885
|
-
"
|
|
3886
|
-
|
|
3884
|
+
"variant": "primary",
|
|
3885
|
+
"action": "EDIT",
|
|
3886
|
+
"icon": "edit",
|
|
3887
|
+
"type": "button"
|
|
3888
|
+
},
|
|
3887
3889
|
{
|
|
3888
3890
|
"type": "button",
|
|
3889
3891
|
"action": "CLOSE",
|
|
3890
3892
|
"label": "Close",
|
|
3891
3893
|
"variant": "ghost"
|
|
3892
3894
|
}
|
|
3893
|
-
]
|
|
3894
|
-
"type": "stack"
|
|
3895
|
+
]
|
|
3895
3896
|
}
|
|
3896
3897
|
],
|
|
3897
|
-
"
|
|
3898
|
-
"gap": "md"
|
|
3898
|
+
"direction": "vertical"
|
|
3899
3899
|
}
|
|
3900
3900
|
]
|
|
3901
3901
|
]
|
|
@@ -4138,36 +4138,36 @@
|
|
|
4138
4138
|
"fetch",
|
|
4139
4139
|
"Deal",
|
|
4140
4140
|
{
|
|
4141
|
-
"id": "@payload.id",
|
|
4142
4141
|
"emit": {
|
|
4143
|
-
"
|
|
4144
|
-
"
|
|
4145
|
-
}
|
|
4142
|
+
"success": "DealLoaded",
|
|
4143
|
+
"failure": "DealLoadFailed"
|
|
4144
|
+
},
|
|
4145
|
+
"id": "@payload.id"
|
|
4146
4146
|
}
|
|
4147
4147
|
],
|
|
4148
4148
|
[
|
|
4149
4149
|
"render-ui",
|
|
4150
4150
|
"modal",
|
|
4151
4151
|
{
|
|
4152
|
-
"gap": "md",
|
|
4153
4152
|
"direction": "vertical",
|
|
4153
|
+
"type": "stack",
|
|
4154
4154
|
"children": [
|
|
4155
4155
|
{
|
|
4156
|
+
"type": "stack",
|
|
4157
|
+
"direction": "horizontal",
|
|
4158
|
+
"gap": "sm",
|
|
4159
|
+
"align": "center",
|
|
4156
4160
|
"children": [
|
|
4157
4161
|
{
|
|
4158
|
-
"
|
|
4159
|
-
"
|
|
4162
|
+
"type": "icon",
|
|
4163
|
+
"name": "alert-triangle"
|
|
4160
4164
|
},
|
|
4161
4165
|
{
|
|
4162
4166
|
"type": "typography",
|
|
4163
|
-
"
|
|
4164
|
-
"
|
|
4167
|
+
"content": "Delete Deal",
|
|
4168
|
+
"variant": "h3"
|
|
4165
4169
|
}
|
|
4166
|
-
]
|
|
4167
|
-
"type": "stack",
|
|
4168
|
-
"direction": "horizontal",
|
|
4169
|
-
"gap": "sm",
|
|
4170
|
-
"align": "center"
|
|
4170
|
+
]
|
|
4171
4171
|
},
|
|
4172
4172
|
{
|
|
4173
4173
|
"type": "divider"
|
|
@@ -4178,28 +4178,28 @@
|
|
|
4178
4178
|
"variant": "error"
|
|
4179
4179
|
},
|
|
4180
4180
|
{
|
|
4181
|
-
"direction": "horizontal",
|
|
4182
|
-
"gap": "sm",
|
|
4183
|
-
"justify": "end",
|
|
4184
|
-
"type": "stack",
|
|
4185
4181
|
"children": [
|
|
4186
4182
|
{
|
|
4187
4183
|
"type": "button",
|
|
4188
|
-
"action": "CANCEL",
|
|
4189
4184
|
"label": "Cancel",
|
|
4185
|
+
"action": "CANCEL",
|
|
4190
4186
|
"variant": "ghost"
|
|
4191
4187
|
},
|
|
4192
4188
|
{
|
|
4193
|
-
"type": "button",
|
|
4194
|
-
"label": "Delete",
|
|
4195
|
-
"variant": "danger",
|
|
4196
4189
|
"action": "CONFIRM_DELETE",
|
|
4197
|
-
"icon": "check"
|
|
4190
|
+
"icon": "check",
|
|
4191
|
+
"variant": "danger",
|
|
4192
|
+
"type": "button",
|
|
4193
|
+
"label": "Delete"
|
|
4198
4194
|
}
|
|
4199
|
-
]
|
|
4195
|
+
],
|
|
4196
|
+
"type": "stack",
|
|
4197
|
+
"justify": "end",
|
|
4198
|
+
"gap": "sm",
|
|
4199
|
+
"direction": "horizontal"
|
|
4200
4200
|
}
|
|
4201
4201
|
],
|
|
4202
|
-
"
|
|
4202
|
+
"gap": "md"
|
|
4203
4203
|
}
|
|
4204
4204
|
]
|
|
4205
4205
|
]
|
|
@@ -4238,8 +4238,8 @@
|
|
|
4238
4238
|
"Deal",
|
|
4239
4239
|
{
|
|
4240
4240
|
"emit": {
|
|
4241
|
-
"
|
|
4242
|
-
"
|
|
4241
|
+
"success": "DealLoaded",
|
|
4242
|
+
"failure": "DealLoadFailed"
|
|
4243
4243
|
}
|
|
4244
4244
|
}
|
|
4245
4245
|
],
|
|
@@ -4271,8 +4271,8 @@
|
|
|
4271
4271
|
"Deal",
|
|
4272
4272
|
{
|
|
4273
4273
|
"emit": {
|
|
4274
|
-
"
|
|
4275
|
-
"
|
|
4274
|
+
"success": "DealLoaded",
|
|
4275
|
+
"failure": "DealLoadFailed"
|
|
4276
4276
|
}
|
|
4277
4277
|
}
|
|
4278
4278
|
]
|
|
@@ -4504,8 +4504,8 @@
|
|
|
4504
4504
|
"Pipeline",
|
|
4505
4505
|
{
|
|
4506
4506
|
"emit": {
|
|
4507
|
-
"
|
|
4508
|
-
"
|
|
4507
|
+
"success": "PipelineLoaded",
|
|
4508
|
+
"failure": "PipelineLoadFailed"
|
|
4509
4509
|
}
|
|
4510
4510
|
}
|
|
4511
4511
|
],
|
|
@@ -4515,33 +4515,32 @@
|
|
|
4515
4515
|
{
|
|
4516
4516
|
"navItems": [
|
|
4517
4517
|
{
|
|
4518
|
-
"label": "Contacts",
|
|
4519
4518
|
"href": "/contacts",
|
|
4519
|
+
"label": "Contacts",
|
|
4520
4520
|
"icon": "users"
|
|
4521
4521
|
},
|
|
4522
4522
|
{
|
|
4523
|
-
"href": "/deals",
|
|
4524
4523
|
"label": "Deals",
|
|
4524
|
+
"href": "/deals",
|
|
4525
4525
|
"icon": "briefcase"
|
|
4526
4526
|
},
|
|
4527
4527
|
{
|
|
4528
4528
|
"href": "/pipeline",
|
|
4529
|
-
"
|
|
4530
|
-
"
|
|
4529
|
+
"label": "Pipeline",
|
|
4530
|
+
"icon": "bar-chart-2"
|
|
4531
4531
|
},
|
|
4532
4532
|
{
|
|
4533
|
-
"
|
|
4533
|
+
"href": "/notes",
|
|
4534
4534
|
"icon": "file-text",
|
|
4535
|
-
"
|
|
4535
|
+
"label": "Notes"
|
|
4536
4536
|
}
|
|
4537
4537
|
],
|
|
4538
|
-
"
|
|
4538
|
+
"type": "dashboard-layout",
|
|
4539
4539
|
"children": [
|
|
4540
4540
|
{
|
|
4541
|
+
"type": "scaled-diagram",
|
|
4541
4542
|
"children": [
|
|
4542
4543
|
{
|
|
4543
|
-
"gap": "lg",
|
|
4544
|
-
"type": "stack",
|
|
4545
4544
|
"children": [
|
|
4546
4545
|
{
|
|
4547
4546
|
"type": "breadcrumb",
|
|
@@ -4556,26 +4555,24 @@
|
|
|
4556
4555
|
]
|
|
4557
4556
|
},
|
|
4558
4557
|
{
|
|
4559
|
-
"type": "stack",
|
|
4560
|
-
"direction": "horizontal",
|
|
4561
4558
|
"gap": "md",
|
|
4562
4559
|
"justify": "between",
|
|
4563
4560
|
"children": [
|
|
4564
4561
|
{
|
|
4562
|
+
"type": "stack",
|
|
4563
|
+
"gap": "md",
|
|
4564
|
+
"direction": "horizontal",
|
|
4565
4565
|
"children": [
|
|
4566
4566
|
{
|
|
4567
|
-
"
|
|
4568
|
-
"
|
|
4567
|
+
"name": "bar-chart-2",
|
|
4568
|
+
"type": "icon"
|
|
4569
4569
|
},
|
|
4570
4570
|
{
|
|
4571
|
+
"type": "typography",
|
|
4571
4572
|
"content": "Pipeline",
|
|
4572
|
-
"variant": "h2"
|
|
4573
|
-
"type": "typography"
|
|
4573
|
+
"variant": "h2"
|
|
4574
4574
|
}
|
|
4575
|
-
]
|
|
4576
|
-
"type": "stack",
|
|
4577
|
-
"direction": "horizontal",
|
|
4578
|
-
"gap": "md"
|
|
4575
|
+
]
|
|
4579
4576
|
},
|
|
4580
4577
|
{
|
|
4581
4578
|
"type": "button",
|
|
@@ -4584,7 +4581,9 @@
|
|
|
4584
4581
|
"action": "REFRESH",
|
|
4585
4582
|
"icon": "refresh-cw"
|
|
4586
4583
|
}
|
|
4587
|
-
]
|
|
4584
|
+
],
|
|
4585
|
+
"type": "stack",
|
|
4586
|
+
"direction": "horizontal"
|
|
4588
4587
|
},
|
|
4589
4588
|
{
|
|
4590
4589
|
"type": "divider"
|
|
@@ -4592,53 +4591,54 @@
|
|
|
4592
4591
|
{
|
|
4593
4592
|
"children": [
|
|
4594
4593
|
{
|
|
4595
|
-
"cols": 3.0,
|
|
4596
4594
|
"type": "simple-grid",
|
|
4595
|
+
"cols": 3.0,
|
|
4597
4596
|
"children": [
|
|
4598
4597
|
{
|
|
4599
4598
|
"label": "TotalDeals",
|
|
4600
|
-
"
|
|
4601
|
-
"
|
|
4599
|
+
"type": "stat-display",
|
|
4600
|
+
"value": "@entity.totalDeals"
|
|
4602
4601
|
},
|
|
4603
4602
|
{
|
|
4604
|
-
"label": "TotalValue",
|
|
4605
4603
|
"type": "stat-display",
|
|
4606
|
-
"value": "@entity.totalValue"
|
|
4604
|
+
"value": "@entity.totalValue",
|
|
4605
|
+
"label": "TotalValue"
|
|
4607
4606
|
},
|
|
4608
4607
|
{
|
|
4608
|
+
"type": "stat-display",
|
|
4609
4609
|
"label": "WonDeals",
|
|
4610
|
-
"value": "@entity.wonDeals"
|
|
4611
|
-
"type": "stat-display"
|
|
4610
|
+
"value": "@entity.wonDeals"
|
|
4612
4611
|
},
|
|
4613
4612
|
{
|
|
4613
|
+
"value": "@entity.lostDeals",
|
|
4614
4614
|
"label": "LostDeals",
|
|
4615
|
-
"type": "stat-display"
|
|
4616
|
-
"value": "@entity.lostDeals"
|
|
4615
|
+
"type": "stat-display"
|
|
4617
4616
|
},
|
|
4618
4617
|
{
|
|
4618
|
+
"type": "stat-display",
|
|
4619
4619
|
"value": "@entity.conversionRate",
|
|
4620
|
-
"label": "ConversionRate"
|
|
4621
|
-
"type": "stat-display"
|
|
4620
|
+
"label": "ConversionRate"
|
|
4622
4621
|
}
|
|
4623
4622
|
]
|
|
4624
4623
|
}
|
|
4625
4624
|
],
|
|
4626
|
-
"
|
|
4627
|
-
"
|
|
4625
|
+
"padding": "md",
|
|
4626
|
+
"type": "box"
|
|
4628
4627
|
},
|
|
4629
4628
|
{
|
|
4630
4629
|
"type": "divider"
|
|
4631
4630
|
},
|
|
4632
4631
|
{
|
|
4633
4632
|
"cols": 2.0,
|
|
4633
|
+
"gap": "md",
|
|
4634
4634
|
"children": [
|
|
4635
4635
|
{
|
|
4636
4636
|
"type": "card",
|
|
4637
4637
|
"children": [
|
|
4638
4638
|
{
|
|
4639
|
-
"content": "Chart View",
|
|
4640
4639
|
"variant": "caption",
|
|
4641
|
-
"type": "typography"
|
|
4640
|
+
"type": "typography",
|
|
4641
|
+
"content": "Chart View"
|
|
4642
4642
|
}
|
|
4643
4643
|
]
|
|
4644
4644
|
},
|
|
@@ -4646,15 +4646,14 @@
|
|
|
4646
4646
|
"type": "card",
|
|
4647
4647
|
"children": [
|
|
4648
4648
|
{
|
|
4649
|
-
"type": "typography",
|
|
4650
4649
|
"variant": "caption",
|
|
4651
|
-
"content": "Graph View"
|
|
4650
|
+
"content": "Graph View",
|
|
4651
|
+
"type": "typography"
|
|
4652
4652
|
}
|
|
4653
4653
|
]
|
|
4654
4654
|
}
|
|
4655
4655
|
],
|
|
4656
|
-
"type": "grid"
|
|
4657
|
-
"gap": "md"
|
|
4656
|
+
"type": "grid"
|
|
4658
4657
|
},
|
|
4659
4658
|
{
|
|
4660
4659
|
"type": "line-chart",
|
|
@@ -4664,8 +4663,8 @@
|
|
|
4664
4663
|
"value": 12.0
|
|
4665
4664
|
},
|
|
4666
4665
|
{
|
|
4667
|
-
"
|
|
4668
|
-
"
|
|
4666
|
+
"date": "Feb",
|
|
4667
|
+
"value": 19.0
|
|
4669
4668
|
},
|
|
4670
4669
|
{
|
|
4671
4670
|
"value": 15.0,
|
|
@@ -4676,44 +4675,45 @@
|
|
|
4676
4675
|
"value": 25.0
|
|
4677
4676
|
},
|
|
4678
4677
|
{
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4678
|
+
"value": 22.0,
|
|
4679
|
+
"date": "May"
|
|
4681
4680
|
},
|
|
4682
4681
|
{
|
|
4683
|
-
"
|
|
4684
|
-
"
|
|
4682
|
+
"date": "Jun",
|
|
4683
|
+
"value": 30.0
|
|
4685
4684
|
}
|
|
4686
4685
|
]
|
|
4687
4686
|
},
|
|
4688
4687
|
{
|
|
4689
4688
|
"items": [
|
|
4690
4689
|
{
|
|
4691
|
-
"
|
|
4692
|
-
"
|
|
4690
|
+
"color": "primary",
|
|
4691
|
+
"label": "Current"
|
|
4693
4692
|
},
|
|
4694
4693
|
{
|
|
4695
|
-
"
|
|
4696
|
-
"
|
|
4694
|
+
"color": "muted",
|
|
4695
|
+
"label": "Previous"
|
|
4697
4696
|
}
|
|
4698
4697
|
],
|
|
4699
4698
|
"type": "chart-legend"
|
|
4700
4699
|
},
|
|
4701
4700
|
{
|
|
4701
|
+
"type": "graph-view",
|
|
4702
|
+
"height": 200.0,
|
|
4702
4703
|
"edges": [
|
|
4703
4704
|
{
|
|
4704
|
-
"
|
|
4705
|
-
"
|
|
4705
|
+
"source": "a",
|
|
4706
|
+
"target": "b"
|
|
4706
4707
|
},
|
|
4707
4708
|
{
|
|
4708
|
-
"
|
|
4709
|
-
"
|
|
4709
|
+
"target": "c",
|
|
4710
|
+
"source": "b"
|
|
4710
4711
|
}
|
|
4711
4712
|
],
|
|
4712
|
-
"type": "graph-view",
|
|
4713
4713
|
"nodes": [
|
|
4714
4714
|
{
|
|
4715
|
-
"
|
|
4716
|
-
"
|
|
4715
|
+
"label": "Start",
|
|
4716
|
+
"id": "a"
|
|
4717
4717
|
},
|
|
4718
4718
|
{
|
|
4719
4719
|
"label": "Process",
|
|
@@ -4724,17 +4724,17 @@
|
|
|
4724
4724
|
"label": "End"
|
|
4725
4725
|
}
|
|
4726
4726
|
],
|
|
4727
|
-
"width": 400.0
|
|
4728
|
-
"height": 200.0
|
|
4727
|
+
"width": 400.0
|
|
4729
4728
|
}
|
|
4730
4729
|
],
|
|
4731
|
-
"
|
|
4730
|
+
"type": "stack",
|
|
4731
|
+
"direction": "vertical",
|
|
4732
|
+
"gap": "lg"
|
|
4732
4733
|
}
|
|
4733
|
-
]
|
|
4734
|
-
"type": "scaled-diagram"
|
|
4734
|
+
]
|
|
4735
4735
|
}
|
|
4736
4736
|
],
|
|
4737
|
-
"
|
|
4737
|
+
"appName": "CRM"
|
|
4738
4738
|
}
|
|
4739
4739
|
]
|
|
4740
4740
|
]
|
|
@@ -4749,8 +4749,8 @@
|
|
|
4749
4749
|
"Pipeline",
|
|
4750
4750
|
{
|
|
4751
4751
|
"emit": {
|
|
4752
|
-
"
|
|
4753
|
-
"
|
|
4752
|
+
"success": "PipelineLoaded",
|
|
4753
|
+
"failure": "PipelineLoadFailed"
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
4756
|
],
|
|
@@ -4759,40 +4759,19 @@
|
|
|
4759
4759
|
"main",
|
|
4760
4760
|
{
|
|
4761
4761
|
"appName": "CRM",
|
|
4762
|
-
"navItems": [
|
|
4763
|
-
{
|
|
4764
|
-
"label": "Contacts",
|
|
4765
|
-
"href": "/contacts",
|
|
4766
|
-
"icon": "users"
|
|
4767
|
-
},
|
|
4768
|
-
{
|
|
4769
|
-
"label": "Deals",
|
|
4770
|
-
"href": "/deals",
|
|
4771
|
-
"icon": "briefcase"
|
|
4772
|
-
},
|
|
4773
|
-
{
|
|
4774
|
-
"href": "/pipeline",
|
|
4775
|
-
"icon": "bar-chart-2",
|
|
4776
|
-
"label": "Pipeline"
|
|
4777
|
-
},
|
|
4778
|
-
{
|
|
4779
|
-
"href": "/notes",
|
|
4780
|
-
"icon": "file-text",
|
|
4781
|
-
"label": "Notes"
|
|
4782
|
-
}
|
|
4783
|
-
],
|
|
4784
4762
|
"children": [
|
|
4785
4763
|
{
|
|
4786
4764
|
"children": [
|
|
4787
4765
|
{
|
|
4766
|
+
"type": "stack",
|
|
4788
4767
|
"direction": "vertical",
|
|
4789
4768
|
"children": [
|
|
4790
4769
|
{
|
|
4791
4770
|
"type": "breadcrumb",
|
|
4792
4771
|
"items": [
|
|
4793
4772
|
{
|
|
4794
|
-
"
|
|
4795
|
-
"
|
|
4773
|
+
"href": "/",
|
|
4774
|
+
"label": "Home"
|
|
4796
4775
|
},
|
|
4797
4776
|
{
|
|
4798
4777
|
"label": "Pipeline"
|
|
@@ -4800,11 +4779,11 @@
|
|
|
4800
4779
|
]
|
|
4801
4780
|
},
|
|
4802
4781
|
{
|
|
4803
|
-
"justify": "between",
|
|
4804
4782
|
"type": "stack",
|
|
4783
|
+
"direction": "horizontal",
|
|
4784
|
+
"justify": "between",
|
|
4805
4785
|
"children": [
|
|
4806
4786
|
{
|
|
4807
|
-
"type": "stack",
|
|
4808
4787
|
"children": [
|
|
4809
4788
|
{
|
|
4810
4789
|
"name": "bar-chart-2",
|
|
@@ -4812,28 +4791,29 @@
|
|
|
4812
4791
|
},
|
|
4813
4792
|
{
|
|
4814
4793
|
"content": "Pipeline",
|
|
4815
|
-
"
|
|
4816
|
-
"
|
|
4794
|
+
"variant": "h2",
|
|
4795
|
+
"type": "typography"
|
|
4817
4796
|
}
|
|
4818
4797
|
],
|
|
4819
|
-
"
|
|
4820
|
-
"direction": "horizontal"
|
|
4798
|
+
"type": "stack",
|
|
4799
|
+
"direction": "horizontal",
|
|
4800
|
+
"gap": "md"
|
|
4821
4801
|
},
|
|
4822
4802
|
{
|
|
4803
|
+
"icon": "refresh-cw",
|
|
4823
4804
|
"type": "button",
|
|
4824
|
-
"action": "REFRESH",
|
|
4825
4805
|
"variant": "secondary",
|
|
4826
4806
|
"label": "Refresh",
|
|
4827
|
-
"
|
|
4807
|
+
"action": "REFRESH"
|
|
4828
4808
|
}
|
|
4829
4809
|
],
|
|
4830
|
-
"gap": "md"
|
|
4831
|
-
"direction": "horizontal"
|
|
4810
|
+
"gap": "md"
|
|
4832
4811
|
},
|
|
4833
4812
|
{
|
|
4834
4813
|
"type": "divider"
|
|
4835
4814
|
},
|
|
4836
4815
|
{
|
|
4816
|
+
"type": "box",
|
|
4837
4817
|
"padding": "md",
|
|
4838
4818
|
"children": [
|
|
4839
4819
|
{
|
|
@@ -4842,23 +4822,23 @@
|
|
|
4842
4822
|
"children": [
|
|
4843
4823
|
{
|
|
4844
4824
|
"label": "TotalDeals",
|
|
4845
|
-
"
|
|
4846
|
-
"
|
|
4825
|
+
"type": "stat-display",
|
|
4826
|
+
"value": "@entity.totalDeals"
|
|
4847
4827
|
},
|
|
4848
4828
|
{
|
|
4829
|
+
"value": "@entity.totalValue",
|
|
4849
4830
|
"type": "stat-display",
|
|
4850
|
-
"label": "TotalValue"
|
|
4851
|
-
"value": "@entity.totalValue"
|
|
4831
|
+
"label": "TotalValue"
|
|
4852
4832
|
},
|
|
4853
4833
|
{
|
|
4854
4834
|
"type": "stat-display",
|
|
4855
|
-
"
|
|
4856
|
-
"
|
|
4835
|
+
"value": "@entity.wonDeals",
|
|
4836
|
+
"label": "WonDeals"
|
|
4857
4837
|
},
|
|
4858
4838
|
{
|
|
4839
|
+
"type": "stat-display",
|
|
4859
4840
|
"label": "LostDeals",
|
|
4860
|
-
"value": "@entity.lostDeals"
|
|
4861
|
-
"type": "stat-display"
|
|
4841
|
+
"value": "@entity.lostDeals"
|
|
4862
4842
|
},
|
|
4863
4843
|
{
|
|
4864
4844
|
"type": "stat-display",
|
|
@@ -4867,38 +4847,37 @@
|
|
|
4867
4847
|
}
|
|
4868
4848
|
]
|
|
4869
4849
|
}
|
|
4870
|
-
]
|
|
4871
|
-
"type": "box"
|
|
4850
|
+
]
|
|
4872
4851
|
},
|
|
4873
4852
|
{
|
|
4874
4853
|
"type": "divider"
|
|
4875
4854
|
},
|
|
4876
4855
|
{
|
|
4877
|
-
"cols": 2.0,
|
|
4878
4856
|
"type": "grid",
|
|
4879
|
-
"
|
|
4857
|
+
"cols": 2.0,
|
|
4880
4858
|
"children": [
|
|
4881
4859
|
{
|
|
4882
4860
|
"type": "card",
|
|
4883
4861
|
"children": [
|
|
4884
4862
|
{
|
|
4885
|
-
"
|
|
4863
|
+
"variant": "caption",
|
|
4886
4864
|
"content": "Chart View",
|
|
4887
|
-
"
|
|
4865
|
+
"type": "typography"
|
|
4888
4866
|
}
|
|
4889
4867
|
]
|
|
4890
4868
|
},
|
|
4891
4869
|
{
|
|
4892
|
-
"type": "card",
|
|
4893
4870
|
"children": [
|
|
4894
4871
|
{
|
|
4895
4872
|
"variant": "caption",
|
|
4896
|
-
"
|
|
4897
|
-
"
|
|
4873
|
+
"type": "typography",
|
|
4874
|
+
"content": "Graph View"
|
|
4898
4875
|
}
|
|
4899
|
-
]
|
|
4876
|
+
],
|
|
4877
|
+
"type": "card"
|
|
4900
4878
|
}
|
|
4901
|
-
]
|
|
4879
|
+
],
|
|
4880
|
+
"gap": "md"
|
|
4902
4881
|
},
|
|
4903
4882
|
{
|
|
4904
4883
|
"type": "line-chart",
|
|
@@ -4908,12 +4887,12 @@
|
|
|
4908
4887
|
"date": "Jan"
|
|
4909
4888
|
},
|
|
4910
4889
|
{
|
|
4911
|
-
"
|
|
4912
|
-
"
|
|
4890
|
+
"value": 19.0,
|
|
4891
|
+
"date": "Feb"
|
|
4913
4892
|
},
|
|
4914
4893
|
{
|
|
4915
|
-
"
|
|
4916
|
-
"
|
|
4894
|
+
"date": "Mar",
|
|
4895
|
+
"value": 15.0
|
|
4917
4896
|
},
|
|
4918
4897
|
{
|
|
4919
4898
|
"date": "Apr",
|
|
@@ -4930,55 +4909,76 @@
|
|
|
4930
4909
|
]
|
|
4931
4910
|
},
|
|
4932
4911
|
{
|
|
4912
|
+
"type": "chart-legend",
|
|
4933
4913
|
"items": [
|
|
4934
4914
|
{
|
|
4935
|
-
"
|
|
4936
|
-
"
|
|
4915
|
+
"color": "primary",
|
|
4916
|
+
"label": "Current"
|
|
4937
4917
|
},
|
|
4938
4918
|
{
|
|
4939
|
-
"
|
|
4940
|
-
"
|
|
4919
|
+
"color": "muted",
|
|
4920
|
+
"label": "Previous"
|
|
4941
4921
|
}
|
|
4942
|
-
]
|
|
4943
|
-
"type": "chart-legend"
|
|
4922
|
+
]
|
|
4944
4923
|
},
|
|
4945
4924
|
{
|
|
4946
|
-
"
|
|
4947
|
-
|
|
4948
|
-
"id": "a",
|
|
4949
|
-
"label": "Start"
|
|
4950
|
-
},
|
|
4925
|
+
"type": "graph-view",
|
|
4926
|
+
"edges": [
|
|
4951
4927
|
{
|
|
4952
|
-
"
|
|
4953
|
-
"
|
|
4928
|
+
"source": "a",
|
|
4929
|
+
"target": "b"
|
|
4954
4930
|
},
|
|
4955
4931
|
{
|
|
4956
|
-
"
|
|
4957
|
-
"
|
|
4932
|
+
"source": "b",
|
|
4933
|
+
"target": "c"
|
|
4958
4934
|
}
|
|
4959
4935
|
],
|
|
4960
|
-
"type": "graph-view",
|
|
4961
|
-
"width": 400.0,
|
|
4962
4936
|
"height": 200.0,
|
|
4963
|
-
"
|
|
4937
|
+
"nodes": [
|
|
4964
4938
|
{
|
|
4965
|
-
"
|
|
4966
|
-
"
|
|
4939
|
+
"label": "Start",
|
|
4940
|
+
"id": "a"
|
|
4967
4941
|
},
|
|
4968
4942
|
{
|
|
4969
|
-
"
|
|
4970
|
-
"
|
|
4943
|
+
"label": "Process",
|
|
4944
|
+
"id": "b"
|
|
4945
|
+
},
|
|
4946
|
+
{
|
|
4947
|
+
"label": "End",
|
|
4948
|
+
"id": "c"
|
|
4971
4949
|
}
|
|
4972
|
-
]
|
|
4950
|
+
],
|
|
4951
|
+
"width": 400.0
|
|
4973
4952
|
}
|
|
4974
4953
|
],
|
|
4975
|
-
"type": "stack",
|
|
4976
4954
|
"gap": "lg"
|
|
4977
4955
|
}
|
|
4978
4956
|
],
|
|
4979
4957
|
"type": "scaled-diagram"
|
|
4980
4958
|
}
|
|
4981
4959
|
],
|
|
4960
|
+
"navItems": [
|
|
4961
|
+
{
|
|
4962
|
+
"href": "/contacts",
|
|
4963
|
+
"label": "Contacts",
|
|
4964
|
+
"icon": "users"
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
"label": "Deals",
|
|
4968
|
+
"href": "/deals",
|
|
4969
|
+
"icon": "briefcase"
|
|
4970
|
+
},
|
|
4971
|
+
{
|
|
4972
|
+
"href": "/pipeline",
|
|
4973
|
+
"label": "Pipeline",
|
|
4974
|
+
"icon": "bar-chart-2"
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
"icon": "file-text",
|
|
4978
|
+
"href": "/notes",
|
|
4979
|
+
"label": "Notes"
|
|
4980
|
+
}
|
|
4981
|
+
],
|
|
4982
4982
|
"type": "dashboard-layout"
|
|
4983
4983
|
}
|
|
4984
4984
|
]
|
|
@@ -5003,134 +5003,133 @@
|
|
|
5003
5003
|
"render-ui",
|
|
5004
5004
|
"main",
|
|
5005
5005
|
{
|
|
5006
|
-
"type": "dashboard-layout",
|
|
5007
5006
|
"children": [
|
|
5008
5007
|
{
|
|
5008
|
+
"type": "scaled-diagram",
|
|
5009
5009
|
"children": [
|
|
5010
5010
|
{
|
|
5011
5011
|
"direction": "vertical",
|
|
5012
|
-
"type": "stack",
|
|
5013
5012
|
"gap": "lg",
|
|
5013
|
+
"type": "stack",
|
|
5014
5014
|
"children": [
|
|
5015
5015
|
{
|
|
5016
|
-
"type": "breadcrumb",
|
|
5017
5016
|
"items": [
|
|
5018
5017
|
{
|
|
5019
|
-
"
|
|
5020
|
-
"
|
|
5018
|
+
"href": "/",
|
|
5019
|
+
"label": "Home"
|
|
5021
5020
|
},
|
|
5022
5021
|
{
|
|
5023
5022
|
"label": "Pipeline"
|
|
5024
5023
|
}
|
|
5025
|
-
]
|
|
5024
|
+
],
|
|
5025
|
+
"type": "breadcrumb"
|
|
5026
5026
|
},
|
|
5027
5027
|
{
|
|
5028
|
+
"direction": "horizontal",
|
|
5029
|
+
"gap": "md",
|
|
5030
|
+
"type": "stack",
|
|
5031
|
+
"justify": "between",
|
|
5028
5032
|
"children": [
|
|
5029
5033
|
{
|
|
5030
5034
|
"direction": "horizontal",
|
|
5035
|
+
"type": "stack",
|
|
5031
5036
|
"children": [
|
|
5032
5037
|
{
|
|
5033
5038
|
"type": "icon",
|
|
5034
5039
|
"name": "bar-chart-2"
|
|
5035
5040
|
},
|
|
5036
5041
|
{
|
|
5037
|
-
"
|
|
5042
|
+
"type": "typography",
|
|
5038
5043
|
"content": "Pipeline",
|
|
5039
|
-
"
|
|
5044
|
+
"variant": "h2"
|
|
5040
5045
|
}
|
|
5041
5046
|
],
|
|
5042
|
-
"type": "stack",
|
|
5043
5047
|
"gap": "md"
|
|
5044
5048
|
},
|
|
5045
5049
|
{
|
|
5046
|
-
"variant": "secondary",
|
|
5047
|
-
"label": "Refresh",
|
|
5048
5050
|
"icon": "refresh-cw",
|
|
5051
|
+
"label": "Refresh",
|
|
5052
|
+
"variant": "secondary",
|
|
5049
5053
|
"type": "button",
|
|
5050
5054
|
"action": "REFRESH"
|
|
5051
5055
|
}
|
|
5052
|
-
]
|
|
5053
|
-
"gap": "md",
|
|
5054
|
-
"direction": "horizontal",
|
|
5055
|
-
"type": "stack",
|
|
5056
|
-
"justify": "between"
|
|
5056
|
+
]
|
|
5057
5057
|
},
|
|
5058
5058
|
{
|
|
5059
5059
|
"type": "divider"
|
|
5060
5060
|
},
|
|
5061
5061
|
{
|
|
5062
|
-
"padding": "md",
|
|
5063
5062
|
"children": [
|
|
5064
5063
|
{
|
|
5065
|
-
"cols": 3.0,
|
|
5066
|
-
"type": "simple-grid",
|
|
5067
5064
|
"children": [
|
|
5068
5065
|
{
|
|
5069
5066
|
"label": "TotalDeals",
|
|
5070
|
-
"
|
|
5071
|
-
"
|
|
5067
|
+
"value": "@entity.totalDeals",
|
|
5068
|
+
"type": "stat-display"
|
|
5072
5069
|
},
|
|
5073
5070
|
{
|
|
5074
5071
|
"type": "stat-display",
|
|
5075
|
-
"
|
|
5076
|
-
"
|
|
5072
|
+
"label": "TotalValue",
|
|
5073
|
+
"value": "@entity.totalValue"
|
|
5077
5074
|
},
|
|
5078
5075
|
{
|
|
5079
|
-
"label": "WonDeals",
|
|
5080
5076
|
"value": "@entity.wonDeals",
|
|
5081
|
-
"type": "stat-display"
|
|
5077
|
+
"type": "stat-display",
|
|
5078
|
+
"label": "WonDeals"
|
|
5082
5079
|
},
|
|
5083
5080
|
{
|
|
5084
|
-
"
|
|
5081
|
+
"type": "stat-display",
|
|
5085
5082
|
"label": "LostDeals",
|
|
5086
|
-
"
|
|
5083
|
+
"value": "@entity.lostDeals"
|
|
5087
5084
|
},
|
|
5088
5085
|
{
|
|
5086
|
+
"label": "ConversionRate",
|
|
5089
5087
|
"type": "stat-display",
|
|
5090
|
-
"value": "@entity.conversionRate"
|
|
5091
|
-
"label": "ConversionRate"
|
|
5088
|
+
"value": "@entity.conversionRate"
|
|
5092
5089
|
}
|
|
5093
|
-
]
|
|
5090
|
+
],
|
|
5091
|
+
"type": "simple-grid",
|
|
5092
|
+
"cols": 3.0
|
|
5094
5093
|
}
|
|
5095
5094
|
],
|
|
5095
|
+
"padding": "md",
|
|
5096
5096
|
"type": "box"
|
|
5097
5097
|
},
|
|
5098
5098
|
{
|
|
5099
5099
|
"type": "divider"
|
|
5100
5100
|
},
|
|
5101
5101
|
{
|
|
5102
|
-
"type": "grid",
|
|
5103
5102
|
"gap": "md",
|
|
5104
|
-
"cols": 2.0,
|
|
5105
5103
|
"children": [
|
|
5106
5104
|
{
|
|
5105
|
+
"type": "card",
|
|
5107
5106
|
"children": [
|
|
5108
5107
|
{
|
|
5109
|
-
"content": "Chart View",
|
|
5110
5108
|
"type": "typography",
|
|
5109
|
+
"content": "Chart View",
|
|
5111
5110
|
"variant": "caption"
|
|
5112
5111
|
}
|
|
5113
|
-
]
|
|
5114
|
-
"type": "card"
|
|
5112
|
+
]
|
|
5115
5113
|
},
|
|
5116
5114
|
{
|
|
5117
5115
|
"type": "card",
|
|
5118
5116
|
"children": [
|
|
5119
5117
|
{
|
|
5120
5118
|
"variant": "caption",
|
|
5121
|
-
"
|
|
5122
|
-
"
|
|
5119
|
+
"content": "Graph View",
|
|
5120
|
+
"type": "typography"
|
|
5123
5121
|
}
|
|
5124
5122
|
]
|
|
5125
5123
|
}
|
|
5126
|
-
]
|
|
5124
|
+
],
|
|
5125
|
+
"type": "grid",
|
|
5126
|
+
"cols": 2.0
|
|
5127
5127
|
},
|
|
5128
5128
|
{
|
|
5129
|
-
"type": "line-chart",
|
|
5130
5129
|
"data": [
|
|
5131
5130
|
{
|
|
5132
|
-
"
|
|
5133
|
-
"
|
|
5131
|
+
"date": "Jan",
|
|
5132
|
+
"value": 12.0
|
|
5134
5133
|
},
|
|
5135
5134
|
{
|
|
5136
5135
|
"value": 19.0,
|
|
@@ -5145,16 +5144,18 @@
|
|
|
5145
5144
|
"value": 25.0
|
|
5146
5145
|
},
|
|
5147
5146
|
{
|
|
5148
|
-
"
|
|
5149
|
-
"
|
|
5147
|
+
"date": "May",
|
|
5148
|
+
"value": 22.0
|
|
5150
5149
|
},
|
|
5151
5150
|
{
|
|
5152
5151
|
"value": 30.0,
|
|
5153
5152
|
"date": "Jun"
|
|
5154
5153
|
}
|
|
5155
|
-
]
|
|
5154
|
+
],
|
|
5155
|
+
"type": "line-chart"
|
|
5156
5156
|
},
|
|
5157
5157
|
{
|
|
5158
|
+
"type": "chart-legend",
|
|
5158
5159
|
"items": [
|
|
5159
5160
|
{
|
|
5160
5161
|
"color": "primary",
|
|
@@ -5164,55 +5165,52 @@
|
|
|
5164
5165
|
"label": "Previous",
|
|
5165
5166
|
"color": "muted"
|
|
5166
5167
|
}
|
|
5167
|
-
]
|
|
5168
|
-
"type": "chart-legend"
|
|
5168
|
+
]
|
|
5169
5169
|
},
|
|
5170
5170
|
{
|
|
5171
|
-
"
|
|
5171
|
+
"width": 400.0,
|
|
5172
|
+
"type": "graph-view",
|
|
5172
5173
|
"edges": [
|
|
5173
5174
|
{
|
|
5174
|
-
"
|
|
5175
|
-
"
|
|
5175
|
+
"target": "b",
|
|
5176
|
+
"source": "a"
|
|
5176
5177
|
},
|
|
5177
5178
|
{
|
|
5178
|
-
"
|
|
5179
|
-
"
|
|
5179
|
+
"source": "b",
|
|
5180
|
+
"target": "c"
|
|
5180
5181
|
}
|
|
5181
5182
|
],
|
|
5182
|
-
"
|
|
5183
|
+
"height": 200.0,
|
|
5183
5184
|
"nodes": [
|
|
5184
5185
|
{
|
|
5185
|
-
"
|
|
5186
|
-
"
|
|
5186
|
+
"label": "Start",
|
|
5187
|
+
"id": "a"
|
|
5187
5188
|
},
|
|
5188
5189
|
{
|
|
5189
5190
|
"label": "Process",
|
|
5190
5191
|
"id": "b"
|
|
5191
5192
|
},
|
|
5192
5193
|
{
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5194
|
+
"id": "c",
|
|
5195
|
+
"label": "End"
|
|
5195
5196
|
}
|
|
5196
|
-
]
|
|
5197
|
-
"width": 400.0
|
|
5197
|
+
]
|
|
5198
5198
|
}
|
|
5199
5199
|
]
|
|
5200
5200
|
}
|
|
5201
|
-
]
|
|
5202
|
-
"type": "scaled-diagram"
|
|
5201
|
+
]
|
|
5203
5202
|
}
|
|
5204
5203
|
],
|
|
5205
|
-
"appName": "CRM",
|
|
5206
5204
|
"navItems": [
|
|
5207
5205
|
{
|
|
5208
|
-
"icon": "users",
|
|
5209
5206
|
"label": "Contacts",
|
|
5210
|
-
"href": "/contacts"
|
|
5207
|
+
"href": "/contacts",
|
|
5208
|
+
"icon": "users"
|
|
5211
5209
|
},
|
|
5212
5210
|
{
|
|
5213
5211
|
"icon": "briefcase",
|
|
5214
|
-
"
|
|
5215
|
-
"
|
|
5212
|
+
"href": "/deals",
|
|
5213
|
+
"label": "Deals"
|
|
5216
5214
|
},
|
|
5217
5215
|
{
|
|
5218
5216
|
"label": "Pipeline",
|
|
@@ -5224,7 +5222,9 @@
|
|
|
5224
5222
|
"label": "Notes",
|
|
5225
5223
|
"icon": "file-text"
|
|
5226
5224
|
}
|
|
5227
|
-
]
|
|
5225
|
+
],
|
|
5226
|
+
"type": "dashboard-layout",
|
|
5227
|
+
"appName": "CRM"
|
|
5228
5228
|
}
|
|
5229
5229
|
]
|
|
5230
5230
|
]
|
|
@@ -5248,55 +5248,53 @@
|
|
|
5248
5248
|
"render-ui",
|
|
5249
5249
|
"main",
|
|
5250
5250
|
{
|
|
5251
|
+
"type": "dashboard-layout",
|
|
5252
|
+
"appName": "CRM",
|
|
5251
5253
|
"navItems": [
|
|
5252
5254
|
{
|
|
5253
|
-
"
|
|
5255
|
+
"label": "Contacts",
|
|
5254
5256
|
"icon": "users",
|
|
5255
|
-
"
|
|
5257
|
+
"href": "/contacts"
|
|
5256
5258
|
},
|
|
5257
5259
|
{
|
|
5258
|
-
"label": "Deals",
|
|
5259
5260
|
"href": "/deals",
|
|
5261
|
+
"label": "Deals",
|
|
5260
5262
|
"icon": "briefcase"
|
|
5261
5263
|
},
|
|
5262
5264
|
{
|
|
5263
|
-
"href": "/pipeline",
|
|
5264
5265
|
"label": "Pipeline",
|
|
5265
|
-
"icon": "bar-chart-2"
|
|
5266
|
+
"icon": "bar-chart-2",
|
|
5267
|
+
"href": "/pipeline"
|
|
5266
5268
|
},
|
|
5267
5269
|
{
|
|
5268
5270
|
"icon": "file-text",
|
|
5269
|
-
"
|
|
5270
|
-
"
|
|
5271
|
+
"href": "/notes",
|
|
5272
|
+
"label": "Notes"
|
|
5271
5273
|
}
|
|
5272
5274
|
],
|
|
5273
|
-
"type": "dashboard-layout",
|
|
5274
5275
|
"children": [
|
|
5275
5276
|
{
|
|
5276
5277
|
"children": [
|
|
5277
5278
|
{
|
|
5278
|
-
"gap": "lg",
|
|
5279
|
-
"type": "stack",
|
|
5280
|
-
"direction": "vertical",
|
|
5281
5279
|
"children": [
|
|
5282
5280
|
{
|
|
5281
|
+
"type": "breadcrumb",
|
|
5283
5282
|
"items": [
|
|
5284
5283
|
{
|
|
5285
|
-
"
|
|
5286
|
-
"
|
|
5284
|
+
"href": "/",
|
|
5285
|
+
"label": "Home"
|
|
5287
5286
|
},
|
|
5288
5287
|
{
|
|
5289
5288
|
"label": "Pipeline"
|
|
5290
5289
|
}
|
|
5291
|
-
]
|
|
5292
|
-
"type": "breadcrumb"
|
|
5290
|
+
]
|
|
5293
5291
|
},
|
|
5294
5292
|
{
|
|
5295
|
-
"gap": "md",
|
|
5296
5293
|
"children": [
|
|
5297
5294
|
{
|
|
5298
5295
|
"gap": "md",
|
|
5299
5296
|
"type": "stack",
|
|
5297
|
+
"direction": "horizontal",
|
|
5300
5298
|
"children": [
|
|
5301
5299
|
{
|
|
5302
5300
|
"type": "icon",
|
|
@@ -5304,33 +5302,32 @@
|
|
|
5304
5302
|
},
|
|
5305
5303
|
{
|
|
5306
5304
|
"type": "typography",
|
|
5307
|
-
"
|
|
5308
|
-
"
|
|
5305
|
+
"content": "Pipeline",
|
|
5306
|
+
"variant": "h2"
|
|
5309
5307
|
}
|
|
5310
|
-
]
|
|
5311
|
-
"direction": "horizontal"
|
|
5308
|
+
]
|
|
5312
5309
|
},
|
|
5313
5310
|
{
|
|
5314
5311
|
"type": "button",
|
|
5315
|
-
"
|
|
5312
|
+
"icon": "refresh-cw",
|
|
5316
5313
|
"variant": "secondary",
|
|
5317
|
-
"
|
|
5318
|
-
"
|
|
5314
|
+
"action": "REFRESH",
|
|
5315
|
+
"label": "Refresh"
|
|
5319
5316
|
}
|
|
5320
5317
|
],
|
|
5318
|
+
"gap": "md",
|
|
5319
|
+
"justify": "between",
|
|
5321
5320
|
"type": "stack",
|
|
5322
|
-
"direction": "horizontal"
|
|
5323
|
-
"justify": "between"
|
|
5321
|
+
"direction": "horizontal"
|
|
5324
5322
|
},
|
|
5325
5323
|
{
|
|
5326
5324
|
"type": "divider"
|
|
5327
5325
|
},
|
|
5328
5326
|
{
|
|
5329
|
-
"type": "box",
|
|
5330
5327
|
"padding": "md",
|
|
5328
|
+
"type": "box",
|
|
5331
5329
|
"children": [
|
|
5332
5330
|
{
|
|
5333
|
-
"cols": 3.0,
|
|
5334
5331
|
"children": [
|
|
5335
5332
|
{
|
|
5336
5333
|
"label": "TotalDeals",
|
|
@@ -5338,27 +5335,28 @@
|
|
|
5338
5335
|
"type": "stat-display"
|
|
5339
5336
|
},
|
|
5340
5337
|
{
|
|
5338
|
+
"label": "TotalValue",
|
|
5341
5339
|
"type": "stat-display",
|
|
5342
|
-
"value": "@entity.totalValue"
|
|
5343
|
-
"label": "TotalValue"
|
|
5340
|
+
"value": "@entity.totalValue"
|
|
5344
5341
|
},
|
|
5345
5342
|
{
|
|
5343
|
+
"type": "stat-display",
|
|
5346
5344
|
"label": "WonDeals",
|
|
5347
|
-
"value": "@entity.wonDeals"
|
|
5348
|
-
"type": "stat-display"
|
|
5345
|
+
"value": "@entity.wonDeals"
|
|
5349
5346
|
},
|
|
5350
5347
|
{
|
|
5351
|
-
"value": "@entity.lostDeals",
|
|
5352
5348
|
"type": "stat-display",
|
|
5349
|
+
"value": "@entity.lostDeals",
|
|
5353
5350
|
"label": "LostDeals"
|
|
5354
5351
|
},
|
|
5355
5352
|
{
|
|
5353
|
+
"value": "@entity.conversionRate",
|
|
5356
5354
|
"type": "stat-display",
|
|
5357
|
-
"label": "ConversionRate"
|
|
5358
|
-
"value": "@entity.conversionRate"
|
|
5355
|
+
"label": "ConversionRate"
|
|
5359
5356
|
}
|
|
5360
5357
|
],
|
|
5361
|
-
"type": "simple-grid"
|
|
5358
|
+
"type": "simple-grid",
|
|
5359
|
+
"cols": 3.0
|
|
5362
5360
|
}
|
|
5363
5361
|
]
|
|
5364
5362
|
},
|
|
@@ -5378,22 +5376,21 @@
|
|
|
5378
5376
|
]
|
|
5379
5377
|
},
|
|
5380
5378
|
{
|
|
5379
|
+
"type": "card",
|
|
5381
5380
|
"children": [
|
|
5382
5381
|
{
|
|
5383
5382
|
"type": "typography",
|
|
5384
5383
|
"variant": "caption",
|
|
5385
5384
|
"content": "Graph View"
|
|
5386
5385
|
}
|
|
5387
|
-
]
|
|
5388
|
-
"type": "card"
|
|
5386
|
+
]
|
|
5389
5387
|
}
|
|
5390
5388
|
],
|
|
5391
5389
|
"type": "grid",
|
|
5392
|
-
"
|
|
5393
|
-
"
|
|
5390
|
+
"cols": 2.0,
|
|
5391
|
+
"gap": "md"
|
|
5394
5392
|
},
|
|
5395
5393
|
{
|
|
5396
|
-
"type": "line-chart",
|
|
5397
5394
|
"data": [
|
|
5398
5395
|
{
|
|
5399
5396
|
"value": 12.0,
|
|
@@ -5404,22 +5401,23 @@
|
|
|
5404
5401
|
"value": 19.0
|
|
5405
5402
|
},
|
|
5406
5403
|
{
|
|
5407
|
-
"
|
|
5408
|
-
"
|
|
5404
|
+
"value": 15.0,
|
|
5405
|
+
"date": "Mar"
|
|
5409
5406
|
},
|
|
5410
5407
|
{
|
|
5411
|
-
"
|
|
5412
|
-
"
|
|
5408
|
+
"date": "Apr",
|
|
5409
|
+
"value": 25.0
|
|
5413
5410
|
},
|
|
5414
5411
|
{
|
|
5415
|
-
"
|
|
5416
|
-
"
|
|
5412
|
+
"date": "May",
|
|
5413
|
+
"value": 22.0
|
|
5417
5414
|
},
|
|
5418
5415
|
{
|
|
5419
5416
|
"value": 30.0,
|
|
5420
5417
|
"date": "Jun"
|
|
5421
5418
|
}
|
|
5422
|
-
]
|
|
5419
|
+
],
|
|
5420
|
+
"type": "line-chart"
|
|
5423
5421
|
},
|
|
5424
5422
|
{
|
|
5425
5423
|
"type": "chart-legend",
|
|
@@ -5429,23 +5427,13 @@
|
|
|
5429
5427
|
"color": "primary"
|
|
5430
5428
|
},
|
|
5431
5429
|
{
|
|
5432
|
-
"
|
|
5433
|
-
"
|
|
5430
|
+
"label": "Previous",
|
|
5431
|
+
"color": "muted"
|
|
5434
5432
|
}
|
|
5435
5433
|
]
|
|
5436
5434
|
},
|
|
5437
5435
|
{
|
|
5438
|
-
"
|
|
5439
|
-
{
|
|
5440
|
-
"source": "a",
|
|
5441
|
-
"target": "b"
|
|
5442
|
-
},
|
|
5443
|
-
{
|
|
5444
|
-
"source": "b",
|
|
5445
|
-
"target": "c"
|
|
5446
|
-
}
|
|
5447
|
-
],
|
|
5448
|
-
"type": "graph-view",
|
|
5436
|
+
"height": 200.0,
|
|
5449
5437
|
"nodes": [
|
|
5450
5438
|
{
|
|
5451
5439
|
"id": "a",
|
|
@@ -5460,16 +5448,28 @@
|
|
|
5460
5448
|
"label": "End"
|
|
5461
5449
|
}
|
|
5462
5450
|
],
|
|
5463
|
-
"
|
|
5451
|
+
"type": "graph-view",
|
|
5452
|
+
"edges": [
|
|
5453
|
+
{
|
|
5454
|
+
"target": "b",
|
|
5455
|
+
"source": "a"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"source": "b",
|
|
5459
|
+
"target": "c"
|
|
5460
|
+
}
|
|
5461
|
+
],
|
|
5464
5462
|
"width": 400.0
|
|
5465
5463
|
}
|
|
5466
|
-
]
|
|
5464
|
+
],
|
|
5465
|
+
"gap": "lg",
|
|
5466
|
+
"direction": "vertical",
|
|
5467
|
+
"type": "stack"
|
|
5467
5468
|
}
|
|
5468
5469
|
],
|
|
5469
5470
|
"type": "scaled-diagram"
|
|
5470
5471
|
}
|
|
5471
|
-
]
|
|
5472
|
-
"appName": "CRM"
|
|
5472
|
+
]
|
|
5473
5473
|
}
|
|
5474
5474
|
]
|
|
5475
5475
|
]
|
|
@@ -5484,8 +5484,8 @@
|
|
|
5484
5484
|
"Pipeline",
|
|
5485
5485
|
{
|
|
5486
5486
|
"emit": {
|
|
5487
|
-
"
|
|
5488
|
-
"
|
|
5487
|
+
"success": "PipelineLoaded",
|
|
5488
|
+
"failure": "PipelineLoadFailed"
|
|
5489
5489
|
}
|
|
5490
5490
|
}
|
|
5491
5491
|
],
|
|
@@ -5493,8 +5493,32 @@
|
|
|
5493
5493
|
"render-ui",
|
|
5494
5494
|
"main",
|
|
5495
5495
|
{
|
|
5496
|
+
"navItems": [
|
|
5497
|
+
{
|
|
5498
|
+
"label": "Contacts",
|
|
5499
|
+
"icon": "users",
|
|
5500
|
+
"href": "/contacts"
|
|
5501
|
+
},
|
|
5502
|
+
{
|
|
5503
|
+
"icon": "briefcase",
|
|
5504
|
+
"href": "/deals",
|
|
5505
|
+
"label": "Deals"
|
|
5506
|
+
},
|
|
5507
|
+
{
|
|
5508
|
+
"label": "Pipeline",
|
|
5509
|
+
"href": "/pipeline",
|
|
5510
|
+
"icon": "bar-chart-2"
|
|
5511
|
+
},
|
|
5512
|
+
{
|
|
5513
|
+
"icon": "file-text",
|
|
5514
|
+
"href": "/notes",
|
|
5515
|
+
"label": "Notes"
|
|
5516
|
+
}
|
|
5517
|
+
],
|
|
5518
|
+
"type": "dashboard-layout",
|
|
5496
5519
|
"children": [
|
|
5497
5520
|
{
|
|
5521
|
+
"type": "scaled-diagram",
|
|
5498
5522
|
"children": [
|
|
5499
5523
|
{
|
|
5500
5524
|
"direction": "vertical",
|
|
@@ -5503,8 +5527,8 @@
|
|
|
5503
5527
|
{
|
|
5504
5528
|
"items": [
|
|
5505
5529
|
{
|
|
5506
|
-
"
|
|
5507
|
-
"
|
|
5530
|
+
"label": "Home",
|
|
5531
|
+
"href": "/"
|
|
5508
5532
|
},
|
|
5509
5533
|
{
|
|
5510
5534
|
"label": "Pipeline"
|
|
@@ -5513,14 +5537,11 @@
|
|
|
5513
5537
|
"type": "breadcrumb"
|
|
5514
5538
|
},
|
|
5515
5539
|
{
|
|
5516
|
-
"
|
|
5540
|
+
"justify": "between",
|
|
5517
5541
|
"type": "stack",
|
|
5518
5542
|
"gap": "md",
|
|
5519
|
-
"justify": "between",
|
|
5520
5543
|
"children": [
|
|
5521
5544
|
{
|
|
5522
|
-
"type": "stack",
|
|
5523
|
-
"gap": "md",
|
|
5524
5545
|
"children": [
|
|
5525
5546
|
{
|
|
5526
5547
|
"type": "icon",
|
|
@@ -5532,34 +5553,39 @@
|
|
|
5532
5553
|
"content": "Pipeline"
|
|
5533
5554
|
}
|
|
5534
5555
|
],
|
|
5535
|
-
"
|
|
5556
|
+
"gap": "md",
|
|
5557
|
+
"direction": "horizontal",
|
|
5558
|
+
"type": "stack"
|
|
5536
5559
|
},
|
|
5537
5560
|
{
|
|
5538
|
-
"variant": "secondary",
|
|
5539
5561
|
"icon": "refresh-cw",
|
|
5540
|
-
"type": "button",
|
|
5541
5562
|
"action": "REFRESH",
|
|
5563
|
+
"variant": "secondary",
|
|
5564
|
+
"type": "button",
|
|
5542
5565
|
"label": "Refresh"
|
|
5543
5566
|
}
|
|
5544
|
-
]
|
|
5567
|
+
],
|
|
5568
|
+
"direction": "horizontal"
|
|
5545
5569
|
},
|
|
5546
5570
|
{
|
|
5547
5571
|
"type": "divider"
|
|
5548
5572
|
},
|
|
5549
5573
|
{
|
|
5574
|
+
"padding": "md",
|
|
5575
|
+
"type": "box",
|
|
5550
5576
|
"children": [
|
|
5551
5577
|
{
|
|
5552
5578
|
"type": "simple-grid",
|
|
5553
5579
|
"cols": 3.0,
|
|
5554
5580
|
"children": [
|
|
5555
5581
|
{
|
|
5556
|
-
"
|
|
5582
|
+
"label": "TotalDeals",
|
|
5557
5583
|
"type": "stat-display",
|
|
5558
|
-
"
|
|
5584
|
+
"value": "@entity.totalDeals"
|
|
5559
5585
|
},
|
|
5560
5586
|
{
|
|
5561
|
-
"type": "stat-display",
|
|
5562
5587
|
"value": "@entity.totalValue",
|
|
5588
|
+
"type": "stat-display",
|
|
5563
5589
|
"label": "TotalValue"
|
|
5564
5590
|
},
|
|
5565
5591
|
{
|
|
@@ -5568,26 +5594,23 @@
|
|
|
5568
5594
|
"value": "@entity.wonDeals"
|
|
5569
5595
|
},
|
|
5570
5596
|
{
|
|
5597
|
+
"label": "LostDeals",
|
|
5571
5598
|
"type": "stat-display",
|
|
5572
|
-
"value": "@entity.lostDeals"
|
|
5573
|
-
"label": "LostDeals"
|
|
5599
|
+
"value": "@entity.lostDeals"
|
|
5574
5600
|
},
|
|
5575
5601
|
{
|
|
5576
|
-
"type": "stat-display",
|
|
5577
5602
|
"value": "@entity.conversionRate",
|
|
5578
|
-
"label": "ConversionRate"
|
|
5603
|
+
"label": "ConversionRate",
|
|
5604
|
+
"type": "stat-display"
|
|
5579
5605
|
}
|
|
5580
5606
|
]
|
|
5581
5607
|
}
|
|
5582
|
-
]
|
|
5583
|
-
"type": "box",
|
|
5584
|
-
"padding": "md"
|
|
5608
|
+
]
|
|
5585
5609
|
},
|
|
5586
5610
|
{
|
|
5587
5611
|
"type": "divider"
|
|
5588
5612
|
},
|
|
5589
5613
|
{
|
|
5590
|
-
"type": "grid",
|
|
5591
5614
|
"cols": 2.0,
|
|
5592
5615
|
"gap": "md",
|
|
5593
5616
|
"children": [
|
|
@@ -5595,30 +5618,31 @@
|
|
|
5595
5618
|
"type": "card",
|
|
5596
5619
|
"children": [
|
|
5597
5620
|
{
|
|
5598
|
-
"
|
|
5621
|
+
"type": "typography",
|
|
5599
5622
|
"variant": "caption",
|
|
5600
|
-
"
|
|
5623
|
+
"content": "Chart View"
|
|
5601
5624
|
}
|
|
5602
5625
|
]
|
|
5603
5626
|
},
|
|
5604
5627
|
{
|
|
5628
|
+
"type": "card",
|
|
5605
5629
|
"children": [
|
|
5606
5630
|
{
|
|
5607
|
-
"variant": "caption",
|
|
5608
5631
|
"content": "Graph View",
|
|
5632
|
+
"variant": "caption",
|
|
5609
5633
|
"type": "typography"
|
|
5610
5634
|
}
|
|
5611
|
-
]
|
|
5612
|
-
"type": "card"
|
|
5635
|
+
]
|
|
5613
5636
|
}
|
|
5614
|
-
]
|
|
5637
|
+
],
|
|
5638
|
+
"type": "grid"
|
|
5615
5639
|
},
|
|
5616
5640
|
{
|
|
5617
5641
|
"type": "line-chart",
|
|
5618
5642
|
"data": [
|
|
5619
5643
|
{
|
|
5620
|
-
"
|
|
5621
|
-
"
|
|
5644
|
+
"date": "Jan",
|
|
5645
|
+
"value": 12.0
|
|
5622
5646
|
},
|
|
5623
5647
|
{
|
|
5624
5648
|
"date": "Feb",
|
|
@@ -5629,12 +5653,12 @@
|
|
|
5629
5653
|
"date": "Mar"
|
|
5630
5654
|
},
|
|
5631
5655
|
{
|
|
5632
|
-
"
|
|
5633
|
-
"
|
|
5656
|
+
"value": 25.0,
|
|
5657
|
+
"date": "Apr"
|
|
5634
5658
|
},
|
|
5635
5659
|
{
|
|
5636
|
-
"
|
|
5637
|
-
"
|
|
5660
|
+
"date": "May",
|
|
5661
|
+
"value": 22.0
|
|
5638
5662
|
},
|
|
5639
5663
|
{
|
|
5640
5664
|
"date": "Jun",
|
|
@@ -5643,22 +5667,19 @@
|
|
|
5643
5667
|
]
|
|
5644
5668
|
},
|
|
5645
5669
|
{
|
|
5670
|
+
"type": "chart-legend",
|
|
5646
5671
|
"items": [
|
|
5647
5672
|
{
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5673
|
+
"label": "Current",
|
|
5674
|
+
"color": "primary"
|
|
5650
5675
|
},
|
|
5651
5676
|
{
|
|
5652
5677
|
"color": "muted",
|
|
5653
5678
|
"label": "Previous"
|
|
5654
5679
|
}
|
|
5655
|
-
]
|
|
5656
|
-
"type": "chart-legend"
|
|
5680
|
+
]
|
|
5657
5681
|
},
|
|
5658
5682
|
{
|
|
5659
|
-
"width": 400.0,
|
|
5660
|
-
"height": 200.0,
|
|
5661
|
-
"type": "graph-view",
|
|
5662
5683
|
"nodes": [
|
|
5663
5684
|
{
|
|
5664
5685
|
"id": "a",
|
|
@@ -5669,52 +5690,31 @@
|
|
|
5669
5690
|
"label": "Process"
|
|
5670
5691
|
},
|
|
5671
5692
|
{
|
|
5672
|
-
"
|
|
5673
|
-
"
|
|
5693
|
+
"label": "End",
|
|
5694
|
+
"id": "c"
|
|
5674
5695
|
}
|
|
5675
5696
|
],
|
|
5697
|
+
"height": 200.0,
|
|
5698
|
+
"type": "graph-view",
|
|
5699
|
+
"width": 400.0,
|
|
5676
5700
|
"edges": [
|
|
5677
5701
|
{
|
|
5678
5702
|
"target": "b",
|
|
5679
5703
|
"source": "a"
|
|
5680
5704
|
},
|
|
5681
5705
|
{
|
|
5682
|
-
"
|
|
5683
|
-
"
|
|
5706
|
+
"source": "b",
|
|
5707
|
+
"target": "c"
|
|
5684
5708
|
}
|
|
5685
5709
|
]
|
|
5686
5710
|
}
|
|
5687
5711
|
],
|
|
5688
5712
|
"type": "stack"
|
|
5689
5713
|
}
|
|
5690
|
-
]
|
|
5691
|
-
"type": "scaled-diagram"
|
|
5714
|
+
]
|
|
5692
5715
|
}
|
|
5693
5716
|
],
|
|
5694
|
-
"
|
|
5695
|
-
"appName": "CRM",
|
|
5696
|
-
"navItems": [
|
|
5697
|
-
{
|
|
5698
|
-
"label": "Contacts",
|
|
5699
|
-
"href": "/contacts",
|
|
5700
|
-
"icon": "users"
|
|
5701
|
-
},
|
|
5702
|
-
{
|
|
5703
|
-
"href": "/deals",
|
|
5704
|
-
"icon": "briefcase",
|
|
5705
|
-
"label": "Deals"
|
|
5706
|
-
},
|
|
5707
|
-
{
|
|
5708
|
-
"label": "Pipeline",
|
|
5709
|
-
"href": "/pipeline",
|
|
5710
|
-
"icon": "bar-chart-2"
|
|
5711
|
-
},
|
|
5712
|
-
{
|
|
5713
|
-
"href": "/notes",
|
|
5714
|
-
"label": "Notes",
|
|
5715
|
-
"icon": "file-text"
|
|
5716
|
-
}
|
|
5717
|
-
]
|
|
5717
|
+
"appName": "CRM"
|
|
5718
5718
|
}
|
|
5719
5719
|
]
|
|
5720
5720
|
]
|
|
@@ -5898,8 +5898,8 @@
|
|
|
5898
5898
|
"Note",
|
|
5899
5899
|
{
|
|
5900
5900
|
"emit": {
|
|
5901
|
-
"
|
|
5902
|
-
"
|
|
5901
|
+
"success": "NoteLoaded",
|
|
5902
|
+
"failure": "NoteLoadFailed"
|
|
5903
5903
|
}
|
|
5904
5904
|
}
|
|
5905
5905
|
],
|
|
@@ -5907,22 +5907,22 @@
|
|
|
5907
5907
|
"render-ui",
|
|
5908
5908
|
"main",
|
|
5909
5909
|
{
|
|
5910
|
+
"type": "stack",
|
|
5911
|
+
"align": "center",
|
|
5912
|
+
"direction": "vertical",
|
|
5910
5913
|
"className": "py-12",
|
|
5911
|
-
"gap": "md",
|
|
5912
5914
|
"children": [
|
|
5913
5915
|
{
|
|
5914
5916
|
"type": "spinner"
|
|
5915
5917
|
},
|
|
5916
5918
|
{
|
|
5917
5919
|
"content": "Loading…",
|
|
5918
|
-
"color": "muted",
|
|
5919
5920
|
"type": "typography",
|
|
5920
|
-
"variant": "caption"
|
|
5921
|
+
"variant": "caption",
|
|
5922
|
+
"color": "muted"
|
|
5921
5923
|
}
|
|
5922
5924
|
],
|
|
5923
|
-
"
|
|
5924
|
-
"direction": "vertical",
|
|
5925
|
-
"type": "stack"
|
|
5925
|
+
"gap": "md"
|
|
5926
5926
|
}
|
|
5927
5927
|
]
|
|
5928
5928
|
]
|
|
@@ -5936,79 +5936,87 @@
|
|
|
5936
5936
|
"render-ui",
|
|
5937
5937
|
"main",
|
|
5938
5938
|
{
|
|
5939
|
-
"appName": "CRM",
|
|
5940
|
-
"type": "dashboard-layout",
|
|
5941
5939
|
"navItems": [
|
|
5942
5940
|
{
|
|
5943
|
-
"icon": "users",
|
|
5944
5941
|
"label": "Contacts",
|
|
5942
|
+
"icon": "users",
|
|
5945
5943
|
"href": "/contacts"
|
|
5946
5944
|
},
|
|
5947
5945
|
{
|
|
5948
5946
|
"label": "Deals",
|
|
5949
|
-
"
|
|
5950
|
-
"
|
|
5947
|
+
"href": "/deals",
|
|
5948
|
+
"icon": "briefcase"
|
|
5951
5949
|
},
|
|
5952
5950
|
{
|
|
5951
|
+
"icon": "bar-chart-2",
|
|
5953
5952
|
"label": "Pipeline",
|
|
5954
|
-
"href": "/pipeline"
|
|
5955
|
-
"icon": "bar-chart-2"
|
|
5953
|
+
"href": "/pipeline"
|
|
5956
5954
|
},
|
|
5957
5955
|
{
|
|
5958
|
-
"label": "Notes",
|
|
5959
5956
|
"href": "/notes",
|
|
5957
|
+
"label": "Notes",
|
|
5960
5958
|
"icon": "file-text"
|
|
5961
5959
|
}
|
|
5962
5960
|
],
|
|
5961
|
+
"type": "dashboard-layout",
|
|
5962
|
+
"appName": "CRM",
|
|
5963
5963
|
"children": [
|
|
5964
5964
|
{
|
|
5965
|
+
"direction": "vertical",
|
|
5966
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
5965
5967
|
"children": [
|
|
5966
5968
|
{
|
|
5969
|
+
"direction": "horizontal",
|
|
5970
|
+
"gap": "md",
|
|
5971
|
+
"align": "center",
|
|
5972
|
+
"justify": "between",
|
|
5967
5973
|
"children": [
|
|
5968
5974
|
{
|
|
5969
|
-
"type": "stack",
|
|
5970
|
-
"direction": "horizontal",
|
|
5971
5975
|
"children": [
|
|
5972
5976
|
{
|
|
5973
|
-
"
|
|
5974
|
-
"
|
|
5977
|
+
"type": "icon",
|
|
5978
|
+
"name": "file-text"
|
|
5975
5979
|
},
|
|
5976
5980
|
{
|
|
5977
|
-
"type": "typography",
|
|
5978
5981
|
"content": "Notes",
|
|
5982
|
+
"type": "typography",
|
|
5979
5983
|
"variant": "h2"
|
|
5980
5984
|
}
|
|
5981
5985
|
],
|
|
5982
5986
|
"align": "center",
|
|
5983
|
-
"gap": "sm"
|
|
5987
|
+
"gap": "sm",
|
|
5988
|
+
"type": "stack",
|
|
5989
|
+
"direction": "horizontal"
|
|
5984
5990
|
},
|
|
5985
5991
|
{
|
|
5986
5992
|
"children": [
|
|
5987
5993
|
{
|
|
5994
|
+
"icon": "edit",
|
|
5988
5995
|
"type": "button",
|
|
5989
5996
|
"label": "Compose",
|
|
5990
5997
|
"variant": "primary",
|
|
5991
|
-
"icon": "edit",
|
|
5992
5998
|
"action": "COMPOSE"
|
|
5993
5999
|
}
|
|
5994
6000
|
],
|
|
5995
|
-
"gap": "sm",
|
|
5996
6001
|
"type": "stack",
|
|
5997
|
-
"direction": "horizontal"
|
|
6002
|
+
"direction": "horizontal",
|
|
6003
|
+
"gap": "sm"
|
|
5998
6004
|
}
|
|
5999
6005
|
],
|
|
6000
|
-
"
|
|
6001
|
-
"type": "stack",
|
|
6002
|
-
"gap": "md",
|
|
6003
|
-
"justify": "between",
|
|
6004
|
-
"align": "center"
|
|
6006
|
+
"type": "stack"
|
|
6005
6007
|
},
|
|
6006
6008
|
{
|
|
6007
6009
|
"type": "divider"
|
|
6008
6010
|
},
|
|
6009
6011
|
{
|
|
6010
|
-
"type": "data-list",
|
|
6011
6012
|
"entity": "@payload.data",
|
|
6013
|
+
"itemActions": [
|
|
6014
|
+
{
|
|
6015
|
+
"event": "VIEW",
|
|
6016
|
+
"label": "View",
|
|
6017
|
+
"variant": "ghost"
|
|
6018
|
+
}
|
|
6019
|
+
],
|
|
6012
6020
|
"fields": [
|
|
6013
6021
|
{
|
|
6014
6022
|
"icon": "file-text",
|
|
@@ -6016,30 +6024,22 @@
|
|
|
6016
6024
|
"variant": "h4"
|
|
6017
6025
|
},
|
|
6018
6026
|
{
|
|
6019
|
-
"
|
|
6020
|
-
"
|
|
6027
|
+
"name": "author",
|
|
6028
|
+
"variant": "caption"
|
|
6021
6029
|
},
|
|
6022
6030
|
{
|
|
6023
|
-
"name": "createdAt",
|
|
6024
6031
|
"variant": "caption",
|
|
6032
|
+
"name": "createdAt",
|
|
6025
6033
|
"format": "date"
|
|
6026
6034
|
}
|
|
6027
6035
|
],
|
|
6028
6036
|
"variant": "card",
|
|
6029
6037
|
"gap": "sm",
|
|
6030
|
-
"
|
|
6031
|
-
{
|
|
6032
|
-
"variant": "ghost",
|
|
6033
|
-
"label": "View",
|
|
6034
|
-
"event": "VIEW"
|
|
6035
|
-
}
|
|
6036
|
-
]
|
|
6038
|
+
"type": "data-list"
|
|
6037
6039
|
}
|
|
6038
6040
|
],
|
|
6039
6041
|
"type": "stack",
|
|
6040
|
-
"
|
|
6041
|
-
"gap": "lg",
|
|
6042
|
-
"className": "max-w-5xl mx-auto w-full"
|
|
6042
|
+
"gap": "lg"
|
|
6043
6043
|
}
|
|
6044
6044
|
]
|
|
6045
6045
|
}
|
|
@@ -6057,12 +6057,12 @@
|
|
|
6057
6057
|
{
|
|
6058
6058
|
"direction": "vertical",
|
|
6059
6059
|
"gap": "md",
|
|
6060
|
-
"
|
|
6060
|
+
"type": "stack",
|
|
6061
6061
|
"children": [
|
|
6062
6062
|
{
|
|
6063
6063
|
"name": "alert-triangle",
|
|
6064
|
-
"
|
|
6065
|
-
"
|
|
6064
|
+
"color": "destructive",
|
|
6065
|
+
"type": "icon"
|
|
6066
6066
|
},
|
|
6067
6067
|
{
|
|
6068
6068
|
"content": "Failed to load note",
|
|
@@ -6077,14 +6077,14 @@
|
|
|
6077
6077
|
},
|
|
6078
6078
|
{
|
|
6079
6079
|
"action": "INIT",
|
|
6080
|
-
"icon": "rotate-ccw",
|
|
6081
6080
|
"variant": "primary",
|
|
6081
|
+
"label": "Retry",
|
|
6082
6082
|
"type": "button",
|
|
6083
|
-
"
|
|
6083
|
+
"icon": "rotate-ccw"
|
|
6084
6084
|
}
|
|
6085
6085
|
],
|
|
6086
6086
|
"className": "py-12",
|
|
6087
|
-
"
|
|
6087
|
+
"align": "center"
|
|
6088
6088
|
}
|
|
6089
6089
|
]
|
|
6090
6090
|
]
|
|
@@ -6255,8 +6255,8 @@
|
|
|
6255
6255
|
"Note",
|
|
6256
6256
|
{
|
|
6257
6257
|
"emit": {
|
|
6258
|
-
"
|
|
6259
|
-
"
|
|
6258
|
+
"success": "NoteLoaded",
|
|
6259
|
+
"failure": "NoteLoadFailed"
|
|
6260
6260
|
}
|
|
6261
6261
|
}
|
|
6262
6262
|
]
|
|
@@ -6272,40 +6272,40 @@
|
|
|
6272
6272
|
"modal",
|
|
6273
6273
|
{
|
|
6274
6274
|
"gap": "md",
|
|
6275
|
-
"direction": "vertical",
|
|
6276
6275
|
"type": "stack",
|
|
6277
6276
|
"children": [
|
|
6278
6277
|
{
|
|
6278
|
+
"type": "stack",
|
|
6279
|
+
"direction": "horizontal",
|
|
6280
|
+
"gap": "sm",
|
|
6279
6281
|
"children": [
|
|
6280
6282
|
{
|
|
6281
|
-
"
|
|
6282
|
-
"
|
|
6283
|
+
"type": "icon",
|
|
6284
|
+
"name": "edit"
|
|
6283
6285
|
},
|
|
6284
6286
|
{
|
|
6285
6287
|
"type": "typography",
|
|
6286
6288
|
"content": "New Note",
|
|
6287
6289
|
"variant": "h3"
|
|
6288
6290
|
}
|
|
6289
|
-
]
|
|
6290
|
-
"direction": "horizontal",
|
|
6291
|
-
"type": "stack",
|
|
6292
|
-
"gap": "sm"
|
|
6291
|
+
]
|
|
6293
6292
|
},
|
|
6294
6293
|
{
|
|
6295
6294
|
"type": "divider"
|
|
6296
6295
|
},
|
|
6297
6296
|
{
|
|
6298
6297
|
"submitEvent": "SEND",
|
|
6299
|
-
"type": "form-section",
|
|
6300
|
-
"mode": "create",
|
|
6301
6298
|
"cancelEvent": "CLOSE",
|
|
6302
6299
|
"fields": [
|
|
6303
6300
|
"subject",
|
|
6304
6301
|
"body",
|
|
6305
6302
|
"author"
|
|
6306
|
-
]
|
|
6303
|
+
],
|
|
6304
|
+
"type": "form-section",
|
|
6305
|
+
"mode": "create"
|
|
6307
6306
|
}
|
|
6308
|
-
]
|
|
6307
|
+
],
|
|
6308
|
+
"direction": "vertical"
|
|
6309
6309
|
}
|
|
6310
6310
|
]
|
|
6311
6311
|
]
|
|
@@ -6500,8 +6500,8 @@
|
|
|
6500
6500
|
"Note",
|
|
6501
6501
|
{
|
|
6502
6502
|
"emit": {
|
|
6503
|
-
"
|
|
6504
|
-
"
|
|
6503
|
+
"success": "NoteLoaded",
|
|
6504
|
+
"failure": "NoteLoadFailed"
|
|
6505
6505
|
}
|
|
6506
6506
|
}
|
|
6507
6507
|
]
|
|
@@ -6518,8 +6518,8 @@
|
|
|
6518
6518
|
{
|
|
6519
6519
|
"id": "@payload.id",
|
|
6520
6520
|
"emit": {
|
|
6521
|
-
"
|
|
6522
|
-
"
|
|
6521
|
+
"failure": "NoteLoadFailed",
|
|
6522
|
+
"success": "NoteLoaded"
|
|
6523
6523
|
}
|
|
6524
6524
|
}
|
|
6525
6525
|
],
|
|
@@ -6528,115 +6528,115 @@
|
|
|
6528
6528
|
"modal",
|
|
6529
6529
|
{
|
|
6530
6530
|
"type": "stack",
|
|
6531
|
-
"direction": "vertical",
|
|
6532
|
-
"gap": "md",
|
|
6533
6531
|
"children": [
|
|
6534
6532
|
{
|
|
6535
|
-
"direction": "horizontal",
|
|
6536
6533
|
"align": "center",
|
|
6537
|
-
"type": "stack",
|
|
6538
6534
|
"gap": "sm",
|
|
6539
6535
|
"children": [
|
|
6540
6536
|
{
|
|
6541
|
-
"
|
|
6542
|
-
"
|
|
6537
|
+
"name": "eye",
|
|
6538
|
+
"type": "icon"
|
|
6543
6539
|
},
|
|
6544
6540
|
{
|
|
6545
|
-
"variant": "h3",
|
|
6546
6541
|
"type": "typography",
|
|
6542
|
+
"variant": "h3",
|
|
6547
6543
|
"content": "@entity.subject"
|
|
6548
6544
|
}
|
|
6549
|
-
]
|
|
6545
|
+
],
|
|
6546
|
+
"type": "stack",
|
|
6547
|
+
"direction": "horizontal"
|
|
6550
6548
|
},
|
|
6551
6549
|
{
|
|
6552
6550
|
"type": "divider"
|
|
6553
6551
|
},
|
|
6554
6552
|
{
|
|
6553
|
+
"type": "stack",
|
|
6554
|
+
"direction": "horizontal",
|
|
6555
|
+
"gap": "md",
|
|
6555
6556
|
"children": [
|
|
6556
6557
|
{
|
|
6558
|
+
"variant": "caption",
|
|
6557
6559
|
"type": "typography",
|
|
6558
|
-
"content": "Subject"
|
|
6559
|
-
"variant": "caption"
|
|
6560
|
+
"content": "Subject"
|
|
6560
6561
|
},
|
|
6561
6562
|
{
|
|
6562
6563
|
"variant": "body",
|
|
6563
6564
|
"content": "@entity.subject",
|
|
6564
6565
|
"type": "typography"
|
|
6565
6566
|
}
|
|
6566
|
-
]
|
|
6567
|
-
"gap": "md",
|
|
6568
|
-
"direction": "horizontal",
|
|
6569
|
-
"type": "stack"
|
|
6567
|
+
]
|
|
6570
6568
|
},
|
|
6571
6569
|
{
|
|
6572
|
-
"gap": "md",
|
|
6573
6570
|
"type": "stack",
|
|
6574
6571
|
"direction": "horizontal",
|
|
6572
|
+
"gap": "md",
|
|
6575
6573
|
"children": [
|
|
6576
6574
|
{
|
|
6575
|
+
"variant": "caption",
|
|
6577
6576
|
"content": "Body",
|
|
6578
|
-
"type": "typography"
|
|
6579
|
-
"variant": "caption"
|
|
6577
|
+
"type": "typography"
|
|
6580
6578
|
},
|
|
6581
6579
|
{
|
|
6582
|
-
"variant": "body",
|
|
6583
6580
|
"type": "typography",
|
|
6581
|
+
"variant": "body",
|
|
6584
6582
|
"content": "@entity.body"
|
|
6585
6583
|
}
|
|
6586
6584
|
]
|
|
6587
6585
|
},
|
|
6588
6586
|
{
|
|
6589
|
-
"type": "stack",
|
|
6590
6587
|
"children": [
|
|
6591
6588
|
{
|
|
6592
|
-
"type": "typography",
|
|
6593
6589
|
"variant": "caption",
|
|
6594
|
-
"content": "Author"
|
|
6590
|
+
"content": "Author",
|
|
6591
|
+
"type": "typography"
|
|
6595
6592
|
},
|
|
6596
6593
|
{
|
|
6597
|
-
"variant": "body",
|
|
6598
6594
|
"content": "@entity.author",
|
|
6599
|
-
"type": "typography"
|
|
6595
|
+
"type": "typography",
|
|
6596
|
+
"variant": "body"
|
|
6600
6597
|
}
|
|
6601
6598
|
],
|
|
6602
6599
|
"direction": "horizontal",
|
|
6600
|
+
"type": "stack",
|
|
6603
6601
|
"gap": "md"
|
|
6604
6602
|
},
|
|
6605
6603
|
{
|
|
6606
6604
|
"type": "stack",
|
|
6605
|
+
"direction": "horizontal",
|
|
6607
6606
|
"children": [
|
|
6608
6607
|
{
|
|
6608
|
+
"content": "Created At",
|
|
6609
6609
|
"type": "typography",
|
|
6610
|
-
"variant": "caption"
|
|
6611
|
-
"content": "Created At"
|
|
6610
|
+
"variant": "caption"
|
|
6612
6611
|
},
|
|
6613
6612
|
{
|
|
6614
|
-
"variant": "body",
|
|
6615
6613
|
"content": "@entity.createdAt",
|
|
6614
|
+
"variant": "body",
|
|
6616
6615
|
"type": "typography"
|
|
6617
6616
|
}
|
|
6618
6617
|
],
|
|
6619
|
-
"gap": "md"
|
|
6620
|
-
"direction": "horizontal"
|
|
6618
|
+
"gap": "md"
|
|
6621
6619
|
},
|
|
6622
6620
|
{
|
|
6623
6621
|
"type": "divider"
|
|
6624
6622
|
},
|
|
6625
6623
|
{
|
|
6626
|
-
"gap": "sm",
|
|
6627
6624
|
"children": [
|
|
6628
6625
|
{
|
|
6629
6626
|
"type": "button",
|
|
6630
6627
|
"action": "CLOSE",
|
|
6631
|
-
"
|
|
6632
|
-
"
|
|
6628
|
+
"label": "Close",
|
|
6629
|
+
"variant": "ghost"
|
|
6633
6630
|
}
|
|
6634
6631
|
],
|
|
6635
6632
|
"direction": "horizontal",
|
|
6636
|
-
"
|
|
6637
|
-
"
|
|
6633
|
+
"type": "stack",
|
|
6634
|
+
"gap": "sm",
|
|
6635
|
+
"justify": "end"
|
|
6638
6636
|
}
|
|
6639
|
-
]
|
|
6637
|
+
],
|
|
6638
|
+
"direction": "vertical",
|
|
6639
|
+
"gap": "md"
|
|
6640
6640
|
}
|
|
6641
6641
|
]
|
|
6642
6642
|
]
|