@almadar/std 14.3.0 → 14.4.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/app/organisms/std-api-gateway.orb +940 -807
- package/behaviors/registry/app/organisms/std-booking-system.orb +1281 -1148
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +954 -821
- package/behaviors/registry/app/organisms/std-crm.orb +950 -817
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1590 -1650
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1145 -1012
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +746 -613
- package/behaviors/registry/app/organisms/std-healthcare.orb +1655 -1522
- package/behaviors/registry/app/organisms/std-helpdesk.orb +865 -732
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1364 -1231
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +1522 -1503
- package/behaviors/registry/app/organisms/std-lms.orb +1060 -926
- package/behaviors/registry/app/organisms/std-project-manager.orb +926 -792
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +886 -753
- package/behaviors/registry/app/organisms/std-social-feed.orb +403 -268
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +1372 -1353
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +940 -807
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1281 -1148
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +954 -821
- package/dist/behaviors/registry/app/organisms/std-crm.orb +950 -817
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1590 -1650
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1145 -1012
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +746 -613
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1655 -1522
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +865 -732
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1364 -1231
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +1522 -1503
- package/dist/behaviors/registry/app/organisms/std-lms.orb +1060 -926
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +926 -792
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +886 -753
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +403 -268
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +1372 -1353
- package/package.json +1 -1
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ContactOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-app-layout",
|
|
11
|
+
"as": "AppShell"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
8
14
|
"entity": {
|
|
9
15
|
"name": "Contact",
|
|
10
16
|
"persistence": "runtime",
|
|
@@ -53,6 +59,43 @@
|
|
|
53
59
|
]
|
|
54
60
|
},
|
|
55
61
|
"traits": [
|
|
62
|
+
{
|
|
63
|
+
"ref": "AppShell.traits.AppLayout",
|
|
64
|
+
"name": "ContactAppLayout",
|
|
65
|
+
"config": {
|
|
66
|
+
"navItems": [
|
|
67
|
+
{
|
|
68
|
+
"label": "Contacts",
|
|
69
|
+
"icon": "users",
|
|
70
|
+
"href": "/contacts"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "Deals",
|
|
74
|
+
"href": "/deals",
|
|
75
|
+
"icon": "briefcase"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"href": "/pipeline",
|
|
79
|
+
"icon": "bar-chart-2",
|
|
80
|
+
"label": "Pipeline"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"href": "/notes",
|
|
84
|
+
"icon": "file-text",
|
|
85
|
+
"label": "Notes"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"contentTrait": "@trait.ContactBrowse",
|
|
89
|
+
"searchEvent": "CONTACT_SEARCH",
|
|
90
|
+
"notifications": [],
|
|
91
|
+
"notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN",
|
|
92
|
+
"appName": "CRM"
|
|
93
|
+
},
|
|
94
|
+
"events": {
|
|
95
|
+
"SEARCH": "CONTACT_SEARCH",
|
|
96
|
+
"NOTIFY_CLICK": "CONTACT_NOTIFICATIONS_OPEN"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
56
99
|
{
|
|
57
100
|
"name": "ContactBrowse",
|
|
58
101
|
"category": "interaction",
|
|
@@ -407,6 +450,22 @@
|
|
|
407
450
|
"kind": "trait",
|
|
408
451
|
"trait": "ContactDelete"
|
|
409
452
|
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"event": "CONTACT_SEARCH",
|
|
456
|
+
"triggers": "CONTACT_SEARCH",
|
|
457
|
+
"source": {
|
|
458
|
+
"kind": "trait",
|
|
459
|
+
"trait": "ContactAppLayout"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"event": "CONTACT_NOTIFICATIONS_OPEN",
|
|
464
|
+
"triggers": "CONTACT_NOTIFICATIONS_OPEN",
|
|
465
|
+
"source": {
|
|
466
|
+
"kind": "trait",
|
|
467
|
+
"trait": "ContactAppLayout"
|
|
468
|
+
}
|
|
410
469
|
}
|
|
411
470
|
],
|
|
412
471
|
"stateMachine": {
|
|
@@ -421,6 +480,26 @@
|
|
|
421
480
|
"key": "INIT",
|
|
422
481
|
"name": "Initialize"
|
|
423
482
|
},
|
|
483
|
+
{
|
|
484
|
+
"key": "CONTACT_SEARCH",
|
|
485
|
+
"name": "Contact Search",
|
|
486
|
+
"payloadSchema": [
|
|
487
|
+
{
|
|
488
|
+
"name": "value",
|
|
489
|
+
"type": "string"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"key": "CONTACT_NOTIFICATIONS_OPEN",
|
|
495
|
+
"name": "Contact Notifications Open",
|
|
496
|
+
"payloadSchema": [
|
|
497
|
+
{
|
|
498
|
+
"name": "id",
|
|
499
|
+
"type": "string"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
424
503
|
{
|
|
425
504
|
"key": "ContactLoaded",
|
|
426
505
|
"name": "Contact loaded",
|
|
@@ -645,8 +724,8 @@
|
|
|
645
724
|
"Contact",
|
|
646
725
|
{
|
|
647
726
|
"emit": {
|
|
648
|
-
"
|
|
649
|
-
"
|
|
727
|
+
"failure": "ContactLoadFailed",
|
|
728
|
+
"success": "ContactLoaded"
|
|
650
729
|
}
|
|
651
730
|
}
|
|
652
731
|
],
|
|
@@ -654,22 +733,61 @@
|
|
|
654
733
|
"render-ui",
|
|
655
734
|
"main",
|
|
656
735
|
{
|
|
736
|
+
"direction": "vertical",
|
|
737
|
+
"className": "py-12",
|
|
657
738
|
"children": [
|
|
658
739
|
{
|
|
659
740
|
"type": "spinner"
|
|
660
741
|
},
|
|
661
742
|
{
|
|
743
|
+
"type": "typography",
|
|
744
|
+
"variant": "caption",
|
|
662
745
|
"content": "Loading…",
|
|
746
|
+
"color": "muted"
|
|
747
|
+
}
|
|
748
|
+
],
|
|
749
|
+
"gap": "md",
|
|
750
|
+
"align": "center",
|
|
751
|
+
"type": "stack"
|
|
752
|
+
}
|
|
753
|
+
]
|
|
754
|
+
]
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"from": "browsing",
|
|
758
|
+
"to": "browsing",
|
|
759
|
+
"event": "CONTACT_SEARCH",
|
|
760
|
+
"effects": [
|
|
761
|
+
[
|
|
762
|
+
"fetch",
|
|
763
|
+
"Contact",
|
|
764
|
+
{
|
|
765
|
+
"emit": {
|
|
766
|
+
"failure": "ContactLoadFailed",
|
|
767
|
+
"success": "ContactLoaded"
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
[
|
|
772
|
+
"render-ui",
|
|
773
|
+
"main",
|
|
774
|
+
{
|
|
775
|
+
"type": "stack",
|
|
776
|
+
"className": "py-12",
|
|
777
|
+
"children": [
|
|
778
|
+
{
|
|
779
|
+
"type": "spinner"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"content": "Searching…",
|
|
663
783
|
"type": "typography",
|
|
664
784
|
"color": "muted",
|
|
665
785
|
"variant": "caption"
|
|
666
786
|
}
|
|
667
787
|
],
|
|
668
788
|
"gap": "md",
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"className": "py-12",
|
|
672
|
-
"align": "center"
|
|
789
|
+
"align": "center",
|
|
790
|
+
"direction": "vertical"
|
|
673
791
|
}
|
|
674
792
|
]
|
|
675
793
|
]
|
|
@@ -677,148 +795,160 @@
|
|
|
677
795
|
{
|
|
678
796
|
"from": "browsing",
|
|
679
797
|
"to": "browsing",
|
|
680
|
-
"event": "
|
|
798
|
+
"event": "CONTACT_NOTIFICATIONS_OPEN",
|
|
681
799
|
"effects": [
|
|
682
800
|
[
|
|
683
801
|
"render-ui",
|
|
684
802
|
"main",
|
|
685
803
|
{
|
|
686
|
-
"
|
|
687
|
-
"
|
|
804
|
+
"gap": "md",
|
|
805
|
+
"direction": "vertical",
|
|
806
|
+
"type": "stack",
|
|
807
|
+
"align": "center",
|
|
808
|
+
"className": "py-8",
|
|
809
|
+
"children": [
|
|
688
810
|
{
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"icon": "users"
|
|
811
|
+
"name": "bell",
|
|
812
|
+
"type": "icon"
|
|
692
813
|
},
|
|
693
814
|
{
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
815
|
+
"content": "No notifications",
|
|
816
|
+
"variant": "h3",
|
|
817
|
+
"type": "typography"
|
|
697
818
|
},
|
|
698
819
|
{
|
|
699
|
-
"
|
|
700
|
-
"
|
|
701
|
-
"
|
|
820
|
+
"content": "You're all caught up.",
|
|
821
|
+
"type": "typography",
|
|
822
|
+
"color": "muted",
|
|
823
|
+
"variant": "caption"
|
|
702
824
|
},
|
|
703
825
|
{
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"
|
|
826
|
+
"action": "INIT",
|
|
827
|
+
"variant": "ghost",
|
|
828
|
+
"type": "button",
|
|
829
|
+
"label": "Back to contacts"
|
|
707
830
|
}
|
|
708
|
-
]
|
|
709
|
-
|
|
831
|
+
]
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"from": "browsing",
|
|
838
|
+
"to": "browsing",
|
|
839
|
+
"event": "ContactLoaded",
|
|
840
|
+
"effects": [
|
|
841
|
+
[
|
|
842
|
+
"render-ui",
|
|
843
|
+
"main",
|
|
844
|
+
{
|
|
845
|
+
"gap": "lg",
|
|
846
|
+
"direction": "vertical",
|
|
847
|
+
"type": "stack",
|
|
710
848
|
"children": [
|
|
711
849
|
{
|
|
712
|
-
"
|
|
713
|
-
"
|
|
714
|
-
"gap": "lg",
|
|
850
|
+
"justify": "between",
|
|
851
|
+
"direction": "horizontal",
|
|
715
852
|
"children": [
|
|
716
853
|
{
|
|
717
|
-
"justify": "between",
|
|
718
|
-
"direction": "horizontal",
|
|
719
|
-
"type": "stack",
|
|
720
854
|
"align": "center",
|
|
721
|
-
"
|
|
855
|
+
"type": "stack",
|
|
856
|
+
"direction": "horizontal",
|
|
857
|
+
"gap": "sm",
|
|
722
858
|
"children": [
|
|
723
859
|
{
|
|
724
|
-
"
|
|
725
|
-
"
|
|
726
|
-
{
|
|
727
|
-
"type": "icon",
|
|
728
|
-
"name": "users"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"type": "typography",
|
|
732
|
-
"content": "Contacts",
|
|
733
|
-
"variant": "h2"
|
|
734
|
-
}
|
|
735
|
-
],
|
|
736
|
-
"type": "stack",
|
|
737
|
-
"gap": "sm",
|
|
738
|
-
"align": "center"
|
|
860
|
+
"type": "icon",
|
|
861
|
+
"name": "users"
|
|
739
862
|
},
|
|
740
863
|
{
|
|
741
|
-
"
|
|
742
|
-
"
|
|
743
|
-
"
|
|
744
|
-
{
|
|
745
|
-
"type": "button",
|
|
746
|
-
"action": "CREATE",
|
|
747
|
-
"icon": "plus",
|
|
748
|
-
"label": "Add Contact",
|
|
749
|
-
"variant": "primary"
|
|
750
|
-
}
|
|
751
|
-
],
|
|
752
|
-
"type": "stack"
|
|
864
|
+
"content": "Contacts",
|
|
865
|
+
"variant": "h2",
|
|
866
|
+
"type": "typography"
|
|
753
867
|
}
|
|
754
868
|
]
|
|
755
869
|
},
|
|
756
870
|
{
|
|
757
|
-
"
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
"type": "simple-grid",
|
|
761
|
-
"cols": 1.0,
|
|
871
|
+
"gap": "sm",
|
|
872
|
+
"type": "stack",
|
|
873
|
+
"direction": "horizontal",
|
|
762
874
|
"children": [
|
|
763
875
|
{
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
"
|
|
767
|
-
"
|
|
876
|
+
"label": "Add Contact",
|
|
877
|
+
"icon": "plus",
|
|
878
|
+
"action": "CREATE",
|
|
879
|
+
"variant": "primary",
|
|
880
|
+
"type": "button"
|
|
768
881
|
}
|
|
769
882
|
]
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
"type": "stack",
|
|
886
|
+
"align": "center",
|
|
887
|
+
"gap": "md"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"type": "divider"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"type": "simple-grid",
|
|
894
|
+
"cols": 1.0,
|
|
895
|
+
"children": [
|
|
896
|
+
{
|
|
897
|
+
"label": "Total Contacts",
|
|
898
|
+
"type": "stat-display",
|
|
899
|
+
"icon": "users",
|
|
900
|
+
"value": "@payload.data.length"
|
|
901
|
+
}
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"type": "divider"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"entity": "@payload.data",
|
|
909
|
+
"variant": "card",
|
|
910
|
+
"type": "data-list",
|
|
911
|
+
"itemActions": [
|
|
912
|
+
{
|
|
913
|
+
"label": "View",
|
|
914
|
+
"event": "VIEW",
|
|
915
|
+
"variant": "ghost"
|
|
770
916
|
},
|
|
771
917
|
{
|
|
772
|
-
"
|
|
918
|
+
"event": "EDIT",
|
|
919
|
+
"variant": "ghost",
|
|
920
|
+
"label": "Edit"
|
|
773
921
|
},
|
|
774
922
|
{
|
|
775
|
-
"
|
|
776
|
-
"variant": "
|
|
777
|
-
"
|
|
778
|
-
"type": "data-list",
|
|
779
|
-
"itemActions": [
|
|
780
|
-
{
|
|
781
|
-
"event": "VIEW",
|
|
782
|
-
"variant": "ghost",
|
|
783
|
-
"label": "View"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"event": "EDIT",
|
|
787
|
-
"variant": "ghost",
|
|
788
|
-
"label": "Edit"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"event": "DELETE",
|
|
792
|
-
"variant": "danger",
|
|
793
|
-
"label": "Delete"
|
|
794
|
-
}
|
|
795
|
-
],
|
|
796
|
-
"fields": [
|
|
797
|
-
{
|
|
798
|
-
"icon": "user",
|
|
799
|
-
"variant": "h3",
|
|
800
|
-
"name": "name"
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"variant": "badge",
|
|
804
|
-
"name": "status"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"variant": "body",
|
|
808
|
-
"name": "company"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
"name": "email",
|
|
812
|
-
"variant": "caption"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"variant": "caption",
|
|
816
|
-
"name": "phone"
|
|
817
|
-
}
|
|
818
|
-
]
|
|
923
|
+
"event": "DELETE",
|
|
924
|
+
"variant": "danger",
|
|
925
|
+
"label": "Delete"
|
|
819
926
|
}
|
|
820
927
|
],
|
|
821
|
-
"
|
|
928
|
+
"gap": "sm",
|
|
929
|
+
"fields": [
|
|
930
|
+
{
|
|
931
|
+
"name": "name",
|
|
932
|
+
"icon": "user",
|
|
933
|
+
"variant": "h3"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "status",
|
|
937
|
+
"variant": "badge"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"variant": "body",
|
|
941
|
+
"name": "company"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "email",
|
|
945
|
+
"variant": "caption"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"variant": "caption",
|
|
949
|
+
"name": "phone"
|
|
950
|
+
}
|
|
951
|
+
]
|
|
822
952
|
}
|
|
823
953
|
]
|
|
824
954
|
}
|
|
@@ -835,6 +965,10 @@
|
|
|
835
965
|
"main",
|
|
836
966
|
{
|
|
837
967
|
"gap": "md",
|
|
968
|
+
"type": "stack",
|
|
969
|
+
"align": "center",
|
|
970
|
+
"className": "py-12",
|
|
971
|
+
"direction": "vertical",
|
|
838
972
|
"children": [
|
|
839
973
|
{
|
|
840
974
|
"color": "destructive",
|
|
@@ -848,22 +982,18 @@
|
|
|
848
982
|
},
|
|
849
983
|
{
|
|
850
984
|
"content": "@payload.error",
|
|
851
|
-
"
|
|
985
|
+
"type": "typography",
|
|
852
986
|
"color": "muted",
|
|
853
|
-
"
|
|
987
|
+
"variant": "body"
|
|
854
988
|
},
|
|
855
989
|
{
|
|
856
990
|
"variant": "primary",
|
|
857
|
-
"action": "INIT",
|
|
858
|
-
"icon": "rotate-ccw",
|
|
859
991
|
"type": "button",
|
|
860
|
-
"label": "Retry"
|
|
992
|
+
"label": "Retry",
|
|
993
|
+
"action": "INIT",
|
|
994
|
+
"icon": "rotate-ccw"
|
|
861
995
|
}
|
|
862
|
-
]
|
|
863
|
-
"className": "py-12",
|
|
864
|
-
"type": "stack",
|
|
865
|
-
"align": "center",
|
|
866
|
-
"direction": "vertical"
|
|
996
|
+
]
|
|
867
997
|
}
|
|
868
998
|
]
|
|
869
999
|
]
|
|
@@ -1072,42 +1202,42 @@
|
|
|
1072
1202
|
"render-ui",
|
|
1073
1203
|
"modal",
|
|
1074
1204
|
{
|
|
1075
|
-
"direction": "vertical",
|
|
1076
1205
|
"type": "stack",
|
|
1077
1206
|
"children": [
|
|
1078
1207
|
{
|
|
1079
|
-
"type": "stack",
|
|
1080
|
-
"direction": "horizontal",
|
|
1081
|
-
"gap": "sm",
|
|
1082
1208
|
"children": [
|
|
1083
1209
|
{
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1210
|
+
"name": "plus-circle",
|
|
1211
|
+
"type": "icon"
|
|
1086
1212
|
},
|
|
1087
1213
|
{
|
|
1088
|
-
"variant": "h3",
|
|
1089
1214
|
"content": "New Contact",
|
|
1215
|
+
"variant": "h3",
|
|
1090
1216
|
"type": "typography"
|
|
1091
1217
|
}
|
|
1092
|
-
]
|
|
1218
|
+
],
|
|
1219
|
+
"gap": "sm",
|
|
1220
|
+
"type": "stack",
|
|
1221
|
+
"direction": "horizontal"
|
|
1093
1222
|
},
|
|
1094
1223
|
{
|
|
1095
1224
|
"type": "divider"
|
|
1096
1225
|
},
|
|
1097
1226
|
{
|
|
1098
|
-
"submitEvent": "SAVE",
|
|
1099
|
-
"mode": "create",
|
|
1100
|
-
"type": "form-section",
|
|
1101
1227
|
"cancelEvent": "CLOSE",
|
|
1228
|
+
"mode": "create",
|
|
1229
|
+
"submitEvent": "SAVE",
|
|
1102
1230
|
"fields": [
|
|
1103
1231
|
"name",
|
|
1104
1232
|
"company",
|
|
1105
1233
|
"email",
|
|
1106
1234
|
"phone",
|
|
1107
1235
|
"status"
|
|
1108
|
-
]
|
|
1236
|
+
],
|
|
1237
|
+
"type": "form-section"
|
|
1109
1238
|
}
|
|
1110
1239
|
],
|
|
1240
|
+
"direction": "vertical",
|
|
1111
1241
|
"gap": "md"
|
|
1112
1242
|
}
|
|
1113
1243
|
]
|
|
@@ -1149,8 +1279,8 @@
|
|
|
1149
1279
|
"@payload.data",
|
|
1150
1280
|
{
|
|
1151
1281
|
"emit": {
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1282
|
+
"success": "ContactSaved",
|
|
1283
|
+
"failure": "ContactSaveFailed"
|
|
1154
1284
|
}
|
|
1155
1285
|
}
|
|
1156
1286
|
],
|
|
@@ -1396,14 +1526,13 @@
|
|
|
1396
1526
|
"render-ui",
|
|
1397
1527
|
"modal",
|
|
1398
1528
|
{
|
|
1529
|
+
"gap": "md",
|
|
1399
1530
|
"children": [
|
|
1400
1531
|
{
|
|
1401
|
-
"direction": "horizontal",
|
|
1402
|
-
"gap": "sm",
|
|
1403
1532
|
"children": [
|
|
1404
1533
|
{
|
|
1405
|
-
"
|
|
1406
|
-
"
|
|
1534
|
+
"type": "icon",
|
|
1535
|
+
"name": "edit"
|
|
1407
1536
|
},
|
|
1408
1537
|
{
|
|
1409
1538
|
"type": "typography",
|
|
@@ -1411,12 +1540,17 @@
|
|
|
1411
1540
|
"content": "Edit Contact"
|
|
1412
1541
|
}
|
|
1413
1542
|
],
|
|
1414
|
-
"type": "stack"
|
|
1543
|
+
"type": "stack",
|
|
1544
|
+
"direction": "horizontal",
|
|
1545
|
+
"gap": "sm"
|
|
1415
1546
|
},
|
|
1416
1547
|
{
|
|
1417
1548
|
"type": "divider"
|
|
1418
1549
|
},
|
|
1419
1550
|
{
|
|
1551
|
+
"cancelEvent": "CLOSE",
|
|
1552
|
+
"type": "form-section",
|
|
1553
|
+
"submitEvent": "SAVE",
|
|
1420
1554
|
"fields": [
|
|
1421
1555
|
"name",
|
|
1422
1556
|
"company",
|
|
@@ -1424,16 +1558,12 @@
|
|
|
1424
1558
|
"phone",
|
|
1425
1559
|
"status"
|
|
1426
1560
|
],
|
|
1427
|
-
"type": "form-section",
|
|
1428
1561
|
"mode": "edit",
|
|
1429
|
-
"entity": "@payload.row"
|
|
1430
|
-
"submitEvent": "SAVE",
|
|
1431
|
-
"cancelEvent": "CLOSE"
|
|
1562
|
+
"entity": "@payload.row"
|
|
1432
1563
|
}
|
|
1433
1564
|
],
|
|
1434
|
-
"
|
|
1435
|
-
"type": "stack"
|
|
1436
|
-
"direction": "vertical"
|
|
1565
|
+
"direction": "vertical",
|
|
1566
|
+
"type": "stack"
|
|
1437
1567
|
}
|
|
1438
1568
|
]
|
|
1439
1569
|
]
|
|
@@ -1715,96 +1845,96 @@
|
|
|
1715
1845
|
"render-ui",
|
|
1716
1846
|
"modal",
|
|
1717
1847
|
{
|
|
1718
|
-
"
|
|
1848
|
+
"gap": "md",
|
|
1719
1849
|
"type": "stack",
|
|
1720
1850
|
"children": [
|
|
1721
1851
|
{
|
|
1722
|
-
"align": "center",
|
|
1723
1852
|
"type": "stack",
|
|
1724
|
-
"direction": "horizontal",
|
|
1725
1853
|
"children": [
|
|
1726
1854
|
{
|
|
1727
|
-
"
|
|
1728
|
-
"
|
|
1855
|
+
"type": "icon",
|
|
1856
|
+
"name": "eye"
|
|
1729
1857
|
},
|
|
1730
1858
|
{
|
|
1731
|
-
"
|
|
1859
|
+
"content": "@entity.name",
|
|
1732
1860
|
"type": "typography",
|
|
1733
|
-
"
|
|
1861
|
+
"variant": "h3"
|
|
1734
1862
|
}
|
|
1735
1863
|
],
|
|
1736
|
-
"
|
|
1864
|
+
"direction": "horizontal",
|
|
1865
|
+
"gap": "sm",
|
|
1866
|
+
"align": "center"
|
|
1737
1867
|
},
|
|
1738
1868
|
{
|
|
1739
1869
|
"type": "divider"
|
|
1740
1870
|
},
|
|
1741
1871
|
{
|
|
1742
|
-
"type": "stack",
|
|
1743
1872
|
"direction": "horizontal",
|
|
1873
|
+
"type": "stack",
|
|
1744
1874
|
"gap": "md",
|
|
1745
1875
|
"children": [
|
|
1746
1876
|
{
|
|
1747
1877
|
"variant": "caption",
|
|
1748
|
-
"
|
|
1749
|
-
"
|
|
1878
|
+
"content": "Name",
|
|
1879
|
+
"type": "typography"
|
|
1750
1880
|
},
|
|
1751
1881
|
{
|
|
1752
|
-
"type": "typography",
|
|
1753
1882
|
"variant": "body",
|
|
1883
|
+
"type": "typography",
|
|
1754
1884
|
"content": "@entity.name"
|
|
1755
1885
|
}
|
|
1756
1886
|
]
|
|
1757
1887
|
},
|
|
1758
1888
|
{
|
|
1759
|
-
"
|
|
1889
|
+
"type": "stack",
|
|
1760
1890
|
"direction": "horizontal",
|
|
1891
|
+
"gap": "md",
|
|
1761
1892
|
"children": [
|
|
1762
1893
|
{
|
|
1763
|
-
"
|
|
1894
|
+
"variant": "caption",
|
|
1764
1895
|
"type": "typography",
|
|
1765
|
-
"
|
|
1896
|
+
"content": "Company"
|
|
1766
1897
|
},
|
|
1767
1898
|
{
|
|
1899
|
+
"type": "typography",
|
|
1768
1900
|
"variant": "body",
|
|
1769
|
-
"content": "@entity.company"
|
|
1770
|
-
"type": "typography"
|
|
1901
|
+
"content": "@entity.company"
|
|
1771
1902
|
}
|
|
1772
|
-
]
|
|
1773
|
-
"type": "stack"
|
|
1903
|
+
]
|
|
1774
1904
|
},
|
|
1775
1905
|
{
|
|
1776
|
-
"
|
|
1906
|
+
"direction": "horizontal",
|
|
1907
|
+
"gap": "md",
|
|
1777
1908
|
"children": [
|
|
1778
1909
|
{
|
|
1779
|
-
"
|
|
1910
|
+
"type": "typography",
|
|
1780
1911
|
"content": "Email",
|
|
1781
|
-
"
|
|
1912
|
+
"variant": "caption"
|
|
1782
1913
|
},
|
|
1783
1914
|
{
|
|
1915
|
+
"variant": "body",
|
|
1784
1916
|
"content": "@entity.email",
|
|
1785
|
-
"type": "typography"
|
|
1786
|
-
"variant": "body"
|
|
1917
|
+
"type": "typography"
|
|
1787
1918
|
}
|
|
1788
1919
|
],
|
|
1789
|
-
"
|
|
1790
|
-
"gap": "md"
|
|
1920
|
+
"type": "stack"
|
|
1791
1921
|
},
|
|
1792
1922
|
{
|
|
1923
|
+
"gap": "md",
|
|
1793
1924
|
"direction": "horizontal",
|
|
1794
|
-
"type": "stack",
|
|
1795
1925
|
"children": [
|
|
1796
1926
|
{
|
|
1797
|
-
"type": "typography",
|
|
1798
1927
|
"variant": "caption",
|
|
1799
|
-
"content": "Phone"
|
|
1928
|
+
"content": "Phone",
|
|
1929
|
+
"type": "typography"
|
|
1800
1930
|
},
|
|
1801
1931
|
{
|
|
1802
|
-
"
|
|
1932
|
+
"type": "typography",
|
|
1803
1933
|
"variant": "body",
|
|
1804
|
-
"
|
|
1934
|
+
"content": "@entity.phone"
|
|
1805
1935
|
}
|
|
1806
1936
|
],
|
|
1807
|
-
"
|
|
1937
|
+
"type": "stack"
|
|
1808
1938
|
},
|
|
1809
1939
|
{
|
|
1810
1940
|
"type": "stack",
|
|
@@ -1829,26 +1959,26 @@
|
|
|
1829
1959
|
{
|
|
1830
1960
|
"children": [
|
|
1831
1961
|
{
|
|
1962
|
+
"label": "Edit",
|
|
1963
|
+
"variant": "primary",
|
|
1832
1964
|
"icon": "edit",
|
|
1833
1965
|
"action": "EDIT",
|
|
1834
|
-
"
|
|
1835
|
-
"type": "button",
|
|
1836
|
-
"label": "Edit"
|
|
1966
|
+
"type": "button"
|
|
1837
1967
|
},
|
|
1838
1968
|
{
|
|
1839
1969
|
"label": "Close",
|
|
1840
1970
|
"type": "button",
|
|
1841
|
-
"
|
|
1842
|
-
"
|
|
1971
|
+
"variant": "ghost",
|
|
1972
|
+
"action": "CLOSE"
|
|
1843
1973
|
}
|
|
1844
1974
|
],
|
|
1845
|
-
"justify": "end",
|
|
1846
|
-
"gap": "sm",
|
|
1847
1975
|
"type": "stack",
|
|
1848
|
-
"direction": "horizontal"
|
|
1976
|
+
"direction": "horizontal",
|
|
1977
|
+
"gap": "sm",
|
|
1978
|
+
"justify": "end"
|
|
1849
1979
|
}
|
|
1850
1980
|
],
|
|
1851
|
-
"
|
|
1981
|
+
"direction": "vertical"
|
|
1852
1982
|
}
|
|
1853
1983
|
]
|
|
1854
1984
|
]
|
|
@@ -2078,8 +2208,8 @@
|
|
|
2078
2208
|
"Contact",
|
|
2079
2209
|
{
|
|
2080
2210
|
"emit": {
|
|
2081
|
-
"
|
|
2082
|
-
"
|
|
2211
|
+
"failure": "ContactLoadFailed",
|
|
2212
|
+
"success": "ContactLoaded"
|
|
2083
2213
|
}
|
|
2084
2214
|
}
|
|
2085
2215
|
]
|
|
@@ -2099,11 +2229,11 @@
|
|
|
2099
2229
|
"fetch",
|
|
2100
2230
|
"Contact",
|
|
2101
2231
|
{
|
|
2102
|
-
"id": "@payload.id",
|
|
2103
2232
|
"emit": {
|
|
2104
|
-
"
|
|
2105
|
-
"
|
|
2106
|
-
}
|
|
2233
|
+
"failure": "ContactLoadFailed",
|
|
2234
|
+
"success": "ContactLoaded"
|
|
2235
|
+
},
|
|
2236
|
+
"id": "@payload.id"
|
|
2107
2237
|
}
|
|
2108
2238
|
],
|
|
2109
2239
|
[
|
|
@@ -2111,25 +2241,25 @@
|
|
|
2111
2241
|
"modal",
|
|
2112
2242
|
{
|
|
2113
2243
|
"type": "stack",
|
|
2114
|
-
"direction": "vertical",
|
|
2115
2244
|
"gap": "md",
|
|
2245
|
+
"direction": "vertical",
|
|
2116
2246
|
"children": [
|
|
2117
2247
|
{
|
|
2248
|
+
"align": "center",
|
|
2249
|
+
"type": "stack",
|
|
2250
|
+
"direction": "horizontal",
|
|
2251
|
+
"gap": "sm",
|
|
2118
2252
|
"children": [
|
|
2119
2253
|
{
|
|
2120
|
-
"
|
|
2121
|
-
"
|
|
2254
|
+
"name": "alert-triangle",
|
|
2255
|
+
"type": "icon"
|
|
2122
2256
|
},
|
|
2123
2257
|
{
|
|
2124
|
-
"
|
|
2258
|
+
"content": "Delete Contact",
|
|
2125
2259
|
"type": "typography",
|
|
2126
|
-
"
|
|
2260
|
+
"variant": "h3"
|
|
2127
2261
|
}
|
|
2128
|
-
]
|
|
2129
|
-
"align": "center",
|
|
2130
|
-
"type": "stack",
|
|
2131
|
-
"gap": "sm",
|
|
2132
|
-
"direction": "horizontal"
|
|
2262
|
+
]
|
|
2133
2263
|
},
|
|
2134
2264
|
{
|
|
2135
2265
|
"type": "divider"
|
|
@@ -2140,25 +2270,25 @@
|
|
|
2140
2270
|
"message": "This action cannot be undone."
|
|
2141
2271
|
},
|
|
2142
2272
|
{
|
|
2143
|
-
"gap": "sm",
|
|
2144
2273
|
"direction": "horizontal",
|
|
2145
2274
|
"children": [
|
|
2146
2275
|
{
|
|
2147
|
-
"
|
|
2276
|
+
"label": "Cancel",
|
|
2148
2277
|
"variant": "ghost",
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2278
|
+
"type": "button",
|
|
2279
|
+
"action": "CANCEL"
|
|
2151
2280
|
},
|
|
2152
2281
|
{
|
|
2153
|
-
"
|
|
2154
|
-
"type": "button",
|
|
2282
|
+
"label": "Delete",
|
|
2155
2283
|
"icon": "check",
|
|
2284
|
+
"type": "button",
|
|
2156
2285
|
"action": "CONFIRM_DELETE",
|
|
2157
|
-
"
|
|
2286
|
+
"variant": "danger"
|
|
2158
2287
|
}
|
|
2159
2288
|
],
|
|
2160
|
-
"
|
|
2161
|
-
"
|
|
2289
|
+
"justify": "end",
|
|
2290
|
+
"gap": "sm",
|
|
2291
|
+
"type": "stack"
|
|
2162
2292
|
}
|
|
2163
2293
|
]
|
|
2164
2294
|
}
|
|
@@ -2177,8 +2307,8 @@
|
|
|
2177
2307
|
"@entity.pendingId",
|
|
2178
2308
|
{
|
|
2179
2309
|
"emit": {
|
|
2180
|
-
"
|
|
2181
|
-
"
|
|
2310
|
+
"success": "ContactDeleted",
|
|
2311
|
+
"failure": "ContactDeleteFailed"
|
|
2182
2312
|
}
|
|
2183
2313
|
}
|
|
2184
2314
|
],
|
|
@@ -2278,6 +2408,9 @@
|
|
|
2278
2408
|
"name": "ContactsPage",
|
|
2279
2409
|
"path": "/contacts",
|
|
2280
2410
|
"traits": [
|
|
2411
|
+
{
|
|
2412
|
+
"ref": "ContactAppLayout"
|
|
2413
|
+
},
|
|
2281
2414
|
{
|
|
2282
2415
|
"ref": "ContactBrowse"
|
|
2283
2416
|
},
|
|
@@ -2601,8 +2734,8 @@
|
|
|
2601
2734
|
"Deal",
|
|
2602
2735
|
{
|
|
2603
2736
|
"emit": {
|
|
2604
|
-
"
|
|
2605
|
-
"
|
|
2737
|
+
"success": "DealLoaded",
|
|
2738
|
+
"failure": "DealLoadFailed"
|
|
2606
2739
|
}
|
|
2607
2740
|
}
|
|
2608
2741
|
],
|
|
@@ -2615,17 +2748,17 @@
|
|
|
2615
2748
|
"type": "spinner"
|
|
2616
2749
|
},
|
|
2617
2750
|
{
|
|
2618
|
-
"color": "muted",
|
|
2619
2751
|
"type": "typography",
|
|
2752
|
+
"variant": "caption",
|
|
2620
2753
|
"content": "Loading…",
|
|
2621
|
-
"
|
|
2754
|
+
"color": "muted"
|
|
2622
2755
|
}
|
|
2623
2756
|
],
|
|
2757
|
+
"gap": "md",
|
|
2624
2758
|
"className": "py-12",
|
|
2625
2759
|
"direction": "vertical",
|
|
2626
|
-
"align": "center",
|
|
2627
2760
|
"type": "stack",
|
|
2628
|
-
"
|
|
2761
|
+
"align": "center"
|
|
2629
2762
|
}
|
|
2630
2763
|
]
|
|
2631
2764
|
]
|
|
@@ -2639,28 +2772,24 @@
|
|
|
2639
2772
|
"render-ui",
|
|
2640
2773
|
"main",
|
|
2641
2774
|
{
|
|
2642
|
-
"appName": "CRM",
|
|
2643
2775
|
"children": [
|
|
2644
2776
|
{
|
|
2645
|
-
"type": "stack",
|
|
2646
|
-
"direction": "vertical",
|
|
2647
|
-
"gap": "lg",
|
|
2648
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
2649
2777
|
"children": [
|
|
2650
2778
|
{
|
|
2779
|
+
"type": "stack",
|
|
2651
2780
|
"gap": "md",
|
|
2652
2781
|
"justify": "between",
|
|
2653
2782
|
"align": "center",
|
|
2654
|
-
"type": "stack",
|
|
2655
2783
|
"direction": "horizontal",
|
|
2656
2784
|
"children": [
|
|
2657
2785
|
{
|
|
2658
2786
|
"type": "stack",
|
|
2659
|
-
"
|
|
2787
|
+
"align": "center",
|
|
2788
|
+
"gap": "sm",
|
|
2660
2789
|
"children": [
|
|
2661
2790
|
{
|
|
2662
|
-
"
|
|
2663
|
-
"
|
|
2791
|
+
"name": "briefcase",
|
|
2792
|
+
"type": "icon"
|
|
2664
2793
|
},
|
|
2665
2794
|
{
|
|
2666
2795
|
"content": "Deals",
|
|
@@ -2668,22 +2797,21 @@
|
|
|
2668
2797
|
"type": "typography"
|
|
2669
2798
|
}
|
|
2670
2799
|
],
|
|
2671
|
-
"
|
|
2672
|
-
"gap": "sm"
|
|
2800
|
+
"direction": "horizontal"
|
|
2673
2801
|
},
|
|
2674
2802
|
{
|
|
2675
2803
|
"type": "stack",
|
|
2804
|
+
"gap": "sm",
|
|
2805
|
+
"direction": "horizontal",
|
|
2676
2806
|
"children": [
|
|
2677
2807
|
{
|
|
2678
|
-
"type": "button",
|
|
2679
2808
|
"label": "New Deal",
|
|
2680
|
-
"icon": "plus",
|
|
2681
2809
|
"action": "CREATE",
|
|
2682
|
-
"
|
|
2810
|
+
"type": "button",
|
|
2811
|
+
"variant": "primary",
|
|
2812
|
+
"icon": "plus"
|
|
2683
2813
|
}
|
|
2684
|
-
]
|
|
2685
|
-
"gap": "sm",
|
|
2686
|
-
"direction": "horizontal"
|
|
2814
|
+
]
|
|
2687
2815
|
}
|
|
2688
2816
|
]
|
|
2689
2817
|
},
|
|
@@ -2691,7 +2819,6 @@
|
|
|
2691
2819
|
"type": "divider"
|
|
2692
2820
|
},
|
|
2693
2821
|
{
|
|
2694
|
-
"entity": "@payload.data",
|
|
2695
2822
|
"itemActions": [
|
|
2696
2823
|
{
|
|
2697
2824
|
"label": "View",
|
|
@@ -2699,16 +2826,19 @@
|
|
|
2699
2826
|
"variant": "ghost"
|
|
2700
2827
|
},
|
|
2701
2828
|
{
|
|
2702
|
-
"
|
|
2829
|
+
"event": "EDIT",
|
|
2703
2830
|
"variant": "ghost",
|
|
2704
|
-
"
|
|
2831
|
+
"label": "Edit"
|
|
2705
2832
|
},
|
|
2706
2833
|
{
|
|
2707
|
-
"
|
|
2834
|
+
"event": "DELETE",
|
|
2708
2835
|
"variant": "danger",
|
|
2709
|
-
"
|
|
2836
|
+
"label": "Delete"
|
|
2710
2837
|
}
|
|
2711
2838
|
],
|
|
2839
|
+
"cols": 2.0,
|
|
2840
|
+
"type": "data-grid",
|
|
2841
|
+
"entity": "@payload.data",
|
|
2712
2842
|
"fields": [
|
|
2713
2843
|
{
|
|
2714
2844
|
"variant": "h3",
|
|
@@ -2720,46 +2850,49 @@
|
|
|
2720
2850
|
"variant": "badge"
|
|
2721
2851
|
},
|
|
2722
2852
|
{
|
|
2723
|
-
"name": "value",
|
|
2724
2853
|
"variant": "h4",
|
|
2854
|
+
"name": "value",
|
|
2725
2855
|
"format": "currency"
|
|
2726
2856
|
},
|
|
2727
2857
|
{
|
|
2858
|
+
"variant": "caption",
|
|
2728
2859
|
"name": "contactId",
|
|
2729
|
-
"label": "Contact"
|
|
2730
|
-
"variant": "caption"
|
|
2860
|
+
"label": "Contact"
|
|
2731
2861
|
}
|
|
2732
2862
|
],
|
|
2733
|
-
"
|
|
2734
|
-
"gap": "md",
|
|
2735
|
-
"type": "data-grid"
|
|
2863
|
+
"gap": "md"
|
|
2736
2864
|
}
|
|
2737
|
-
]
|
|
2865
|
+
],
|
|
2866
|
+
"type": "stack",
|
|
2867
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
2868
|
+
"direction": "vertical",
|
|
2869
|
+
"gap": "lg"
|
|
2738
2870
|
}
|
|
2739
2871
|
],
|
|
2740
2872
|
"navItems": [
|
|
2741
2873
|
{
|
|
2874
|
+
"href": "/contacts",
|
|
2742
2875
|
"icon": "users",
|
|
2743
|
-
"label": "Contacts"
|
|
2744
|
-
"href": "/contacts"
|
|
2876
|
+
"label": "Contacts"
|
|
2745
2877
|
},
|
|
2746
2878
|
{
|
|
2747
2879
|
"label": "Deals",
|
|
2748
|
-
"
|
|
2749
|
-
"
|
|
2880
|
+
"href": "/deals",
|
|
2881
|
+
"icon": "briefcase"
|
|
2750
2882
|
},
|
|
2751
2883
|
{
|
|
2752
|
-
"
|
|
2884
|
+
"label": "Pipeline",
|
|
2753
2885
|
"href": "/pipeline",
|
|
2754
|
-
"
|
|
2886
|
+
"icon": "bar-chart-2"
|
|
2755
2887
|
},
|
|
2756
2888
|
{
|
|
2757
|
-
"
|
|
2889
|
+
"href": "/notes",
|
|
2758
2890
|
"icon": "file-text",
|
|
2759
|
-
"
|
|
2891
|
+
"label": "Notes"
|
|
2760
2892
|
}
|
|
2761
2893
|
],
|
|
2762
|
-
"type": "dashboard-layout"
|
|
2894
|
+
"type": "dashboard-layout",
|
|
2895
|
+
"appName": "CRM"
|
|
2763
2896
|
}
|
|
2764
2897
|
]
|
|
2765
2898
|
]
|
|
@@ -2773,36 +2906,36 @@
|
|
|
2773
2906
|
"render-ui",
|
|
2774
2907
|
"main",
|
|
2775
2908
|
{
|
|
2909
|
+
"type": "stack",
|
|
2776
2910
|
"children": [
|
|
2777
2911
|
{
|
|
2778
|
-
"type": "icon",
|
|
2779
2912
|
"name": "alert-triangle",
|
|
2913
|
+
"type": "icon",
|
|
2780
2914
|
"color": "destructive"
|
|
2781
2915
|
},
|
|
2782
2916
|
{
|
|
2783
|
-
"type": "typography",
|
|
2784
2917
|
"content": "Failed to load deal",
|
|
2918
|
+
"type": "typography",
|
|
2785
2919
|
"variant": "h3"
|
|
2786
2920
|
},
|
|
2787
2921
|
{
|
|
2788
|
-
"
|
|
2789
|
-
"variant": "body",
|
|
2922
|
+
"content": "@payload.error",
|
|
2790
2923
|
"type": "typography",
|
|
2791
|
-
"
|
|
2924
|
+
"color": "muted",
|
|
2925
|
+
"variant": "body"
|
|
2792
2926
|
},
|
|
2793
2927
|
{
|
|
2794
|
-
"type": "button",
|
|
2795
2928
|
"action": "INIT",
|
|
2796
|
-
"
|
|
2929
|
+
"type": "button",
|
|
2930
|
+
"variant": "primary",
|
|
2797
2931
|
"icon": "rotate-ccw",
|
|
2798
|
-
"
|
|
2932
|
+
"label": "Retry"
|
|
2799
2933
|
}
|
|
2800
2934
|
],
|
|
2801
|
-
"gap": "md",
|
|
2802
|
-
"direction": "vertical",
|
|
2803
2935
|
"align": "center",
|
|
2804
|
-
"
|
|
2805
|
-
"
|
|
2936
|
+
"direction": "vertical",
|
|
2937
|
+
"gap": "md",
|
|
2938
|
+
"className": "py-12"
|
|
2806
2939
|
}
|
|
2807
2940
|
]
|
|
2808
2941
|
]
|
|
@@ -2994,8 +3127,8 @@
|
|
|
2994
3127
|
"Deal",
|
|
2995
3128
|
{
|
|
2996
3129
|
"emit": {
|
|
2997
|
-
"
|
|
2998
|
-
"
|
|
3130
|
+
"failure": "DealLoadFailed",
|
|
3131
|
+
"success": "DealLoaded"
|
|
2999
3132
|
}
|
|
3000
3133
|
}
|
|
3001
3134
|
],
|
|
@@ -3003,12 +3136,12 @@
|
|
|
3003
3136
|
"render-ui",
|
|
3004
3137
|
"modal",
|
|
3005
3138
|
{
|
|
3006
|
-
"type": "stack",
|
|
3007
3139
|
"direction": "vertical",
|
|
3140
|
+
"gap": "md",
|
|
3141
|
+
"type": "stack",
|
|
3008
3142
|
"children": [
|
|
3009
3143
|
{
|
|
3010
|
-
"
|
|
3011
|
-
"gap": "sm",
|
|
3144
|
+
"direction": "horizontal",
|
|
3012
3145
|
"children": [
|
|
3013
3146
|
{
|
|
3014
3147
|
"type": "icon",
|
|
@@ -3016,30 +3149,30 @@
|
|
|
3016
3149
|
},
|
|
3017
3150
|
{
|
|
3018
3151
|
"variant": "h3",
|
|
3019
|
-
"
|
|
3020
|
-
"
|
|
3152
|
+
"content": "Create Deal",
|
|
3153
|
+
"type": "typography"
|
|
3021
3154
|
}
|
|
3022
3155
|
],
|
|
3023
|
-
"
|
|
3156
|
+
"type": "stack",
|
|
3157
|
+
"gap": "sm"
|
|
3024
3158
|
},
|
|
3025
3159
|
{
|
|
3026
3160
|
"type": "divider"
|
|
3027
3161
|
},
|
|
3028
3162
|
{
|
|
3029
3163
|
"cancelEvent": "CLOSE",
|
|
3030
|
-
"type": "form-section",
|
|
3031
|
-
"mode": "create",
|
|
3032
|
-
"submitEvent": "SAVE",
|
|
3033
3164
|
"fields": [
|
|
3034
3165
|
"title",
|
|
3035
3166
|
"contactId",
|
|
3036
3167
|
"value",
|
|
3037
3168
|
"stage",
|
|
3038
3169
|
"closedAt"
|
|
3039
|
-
]
|
|
3170
|
+
],
|
|
3171
|
+
"submitEvent": "SAVE",
|
|
3172
|
+
"mode": "create",
|
|
3173
|
+
"type": "form-section"
|
|
3040
3174
|
}
|
|
3041
|
-
]
|
|
3042
|
-
"gap": "md"
|
|
3175
|
+
]
|
|
3043
3176
|
}
|
|
3044
3177
|
]
|
|
3045
3178
|
]
|
|
@@ -3080,8 +3213,8 @@
|
|
|
3080
3213
|
"@payload.data",
|
|
3081
3214
|
{
|
|
3082
3215
|
"emit": {
|
|
3083
|
-
"
|
|
3084
|
-
"
|
|
3216
|
+
"failure": "DealSaveFailed",
|
|
3217
|
+
"success": "DealSaved"
|
|
3085
3218
|
}
|
|
3086
3219
|
}
|
|
3087
3220
|
],
|
|
@@ -3291,8 +3424,8 @@
|
|
|
3291
3424
|
"Deal",
|
|
3292
3425
|
{
|
|
3293
3426
|
"emit": {
|
|
3294
|
-
"
|
|
3295
|
-
"
|
|
3427
|
+
"success": "DealLoaded",
|
|
3428
|
+
"failure": "DealLoadFailed"
|
|
3296
3429
|
}
|
|
3297
3430
|
}
|
|
3298
3431
|
]
|
|
@@ -3318,21 +3451,22 @@
|
|
|
3318
3451
|
"render-ui",
|
|
3319
3452
|
"modal",
|
|
3320
3453
|
{
|
|
3454
|
+
"direction": "vertical",
|
|
3321
3455
|
"gap": "md",
|
|
3322
3456
|
"children": [
|
|
3323
3457
|
{
|
|
3324
|
-
"gap": "sm",
|
|
3325
|
-
"type": "stack",
|
|
3326
3458
|
"direction": "horizontal",
|
|
3459
|
+
"type": "stack",
|
|
3460
|
+
"gap": "sm",
|
|
3327
3461
|
"children": [
|
|
3328
3462
|
{
|
|
3329
3463
|
"name": "edit",
|
|
3330
3464
|
"type": "icon"
|
|
3331
3465
|
},
|
|
3332
3466
|
{
|
|
3467
|
+
"type": "typography",
|
|
3333
3468
|
"content": "Edit Deal",
|
|
3334
|
-
"variant": "h3"
|
|
3335
|
-
"type": "typography"
|
|
3469
|
+
"variant": "h3"
|
|
3336
3470
|
}
|
|
3337
3471
|
]
|
|
3338
3472
|
},
|
|
@@ -3347,15 +3481,14 @@
|
|
|
3347
3481
|
"stage",
|
|
3348
3482
|
"closedAt"
|
|
3349
3483
|
],
|
|
3484
|
+
"submitEvent": "SAVE",
|
|
3485
|
+
"cancelEvent": "CLOSE",
|
|
3350
3486
|
"entity": "@payload.row",
|
|
3351
3487
|
"mode": "edit",
|
|
3352
|
-
"type": "form-section"
|
|
3353
|
-
"submitEvent": "SAVE",
|
|
3354
|
-
"cancelEvent": "CLOSE"
|
|
3488
|
+
"type": "form-section"
|
|
3355
3489
|
}
|
|
3356
3490
|
],
|
|
3357
|
-
"type": "stack"
|
|
3358
|
-
"direction": "vertical"
|
|
3491
|
+
"type": "stack"
|
|
3359
3492
|
}
|
|
3360
3493
|
]
|
|
3361
3494
|
]
|
|
@@ -3396,8 +3529,8 @@
|
|
|
3396
3529
|
"@payload.data",
|
|
3397
3530
|
{
|
|
3398
3531
|
"emit": {
|
|
3399
|
-
"
|
|
3400
|
-
"
|
|
3532
|
+
"failure": "DealUpdateFailed",
|
|
3533
|
+
"success": "DealUpdated"
|
|
3401
3534
|
}
|
|
3402
3535
|
}
|
|
3403
3536
|
],
|
|
@@ -3620,8 +3753,8 @@
|
|
|
3620
3753
|
{
|
|
3621
3754
|
"id": "@payload.id",
|
|
3622
3755
|
"emit": {
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
3756
|
+
"failure": "DealLoadFailed",
|
|
3757
|
+
"success": "DealLoaded"
|
|
3625
3758
|
}
|
|
3626
3759
|
}
|
|
3627
3760
|
],
|
|
@@ -3632,21 +3765,21 @@
|
|
|
3632
3765
|
"direction": "vertical",
|
|
3633
3766
|
"children": [
|
|
3634
3767
|
{
|
|
3635
|
-
"type": "stack",
|
|
3636
3768
|
"children": [
|
|
3637
3769
|
{
|
|
3638
|
-
"
|
|
3639
|
-
"
|
|
3770
|
+
"name": "eye",
|
|
3771
|
+
"type": "icon"
|
|
3640
3772
|
},
|
|
3641
3773
|
{
|
|
3642
|
-
"content": "@entity.title",
|
|
3643
3774
|
"type": "typography",
|
|
3644
|
-
"variant": "h3"
|
|
3775
|
+
"variant": "h3",
|
|
3776
|
+
"content": "@entity.title"
|
|
3645
3777
|
}
|
|
3646
3778
|
],
|
|
3647
3779
|
"direction": "horizontal",
|
|
3648
3780
|
"gap": "sm",
|
|
3649
|
-
"align": "center"
|
|
3781
|
+
"align": "center",
|
|
3782
|
+
"type": "stack"
|
|
3650
3783
|
},
|
|
3651
3784
|
{
|
|
3652
3785
|
"type": "divider"
|
|
@@ -3654,8 +3787,8 @@
|
|
|
3654
3787
|
{
|
|
3655
3788
|
"children": [
|
|
3656
3789
|
{
|
|
3657
|
-
"content": "Title",
|
|
3658
3790
|
"type": "typography",
|
|
3791
|
+
"content": "Title",
|
|
3659
3792
|
"variant": "caption"
|
|
3660
3793
|
},
|
|
3661
3794
|
{
|
|
@@ -3665,13 +3798,12 @@
|
|
|
3665
3798
|
}
|
|
3666
3799
|
],
|
|
3667
3800
|
"type": "stack",
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3801
|
+
"gap": "md",
|
|
3802
|
+
"direction": "horizontal"
|
|
3670
3803
|
},
|
|
3671
3804
|
{
|
|
3672
|
-
"gap": "md",
|
|
3673
|
-
"type": "stack",
|
|
3674
3805
|
"direction": "horizontal",
|
|
3806
|
+
"gap": "md",
|
|
3675
3807
|
"children": [
|
|
3676
3808
|
{
|
|
3677
3809
|
"variant": "caption",
|
|
@@ -3679,54 +3811,55 @@
|
|
|
3679
3811
|
"type": "typography"
|
|
3680
3812
|
},
|
|
3681
3813
|
{
|
|
3682
|
-
"
|
|
3814
|
+
"variant": "body",
|
|
3683
3815
|
"content": "@entity.contactId",
|
|
3684
|
-
"
|
|
3816
|
+
"type": "typography"
|
|
3685
3817
|
}
|
|
3686
|
-
]
|
|
3818
|
+
],
|
|
3819
|
+
"type": "stack"
|
|
3687
3820
|
},
|
|
3688
3821
|
{
|
|
3689
|
-
"type": "stack",
|
|
3690
3822
|
"gap": "md",
|
|
3823
|
+
"direction": "horizontal",
|
|
3824
|
+
"type": "stack",
|
|
3691
3825
|
"children": [
|
|
3692
3826
|
{
|
|
3827
|
+
"content": "Value",
|
|
3693
3828
|
"type": "typography",
|
|
3694
|
-
"variant": "caption"
|
|
3695
|
-
"content": "Value"
|
|
3829
|
+
"variant": "caption"
|
|
3696
3830
|
},
|
|
3697
3831
|
{
|
|
3698
|
-
"
|
|
3832
|
+
"variant": "body",
|
|
3699
3833
|
"type": "typography",
|
|
3700
|
-
"
|
|
3834
|
+
"content": "@entity.value"
|
|
3701
3835
|
}
|
|
3702
|
-
]
|
|
3703
|
-
"direction": "horizontal"
|
|
3836
|
+
]
|
|
3704
3837
|
},
|
|
3705
3838
|
{
|
|
3839
|
+
"direction": "horizontal",
|
|
3840
|
+
"type": "stack",
|
|
3841
|
+
"gap": "md",
|
|
3706
3842
|
"children": [
|
|
3707
3843
|
{
|
|
3844
|
+
"type": "typography",
|
|
3708
3845
|
"variant": "caption",
|
|
3709
|
-
"content": "Stage"
|
|
3710
|
-
"type": "typography"
|
|
3846
|
+
"content": "Stage"
|
|
3711
3847
|
},
|
|
3712
3848
|
{
|
|
3713
3849
|
"content": "@entity.stage",
|
|
3714
3850
|
"type": "typography",
|
|
3715
3851
|
"variant": "body"
|
|
3716
3852
|
}
|
|
3717
|
-
]
|
|
3718
|
-
"gap": "md",
|
|
3719
|
-
"direction": "horizontal",
|
|
3720
|
-
"type": "stack"
|
|
3853
|
+
]
|
|
3721
3854
|
},
|
|
3722
3855
|
{
|
|
3856
|
+
"direction": "horizontal",
|
|
3723
3857
|
"type": "stack",
|
|
3724
3858
|
"gap": "md",
|
|
3725
|
-
"direction": "horizontal",
|
|
3726
3859
|
"children": [
|
|
3727
3860
|
{
|
|
3728
|
-
"content": "Closed At",
|
|
3729
3861
|
"variant": "caption",
|
|
3862
|
+
"content": "Closed At",
|
|
3730
3863
|
"type": "typography"
|
|
3731
3864
|
},
|
|
3732
3865
|
{
|
|
@@ -3740,25 +3873,25 @@
|
|
|
3740
3873
|
"type": "divider"
|
|
3741
3874
|
},
|
|
3742
3875
|
{
|
|
3876
|
+
"gap": "sm",
|
|
3877
|
+
"direction": "horizontal",
|
|
3878
|
+
"justify": "end",
|
|
3743
3879
|
"children": [
|
|
3744
3880
|
{
|
|
3745
|
-
"icon": "edit",
|
|
3746
3881
|
"type": "button",
|
|
3747
|
-
"variant": "primary",
|
|
3748
3882
|
"action": "EDIT",
|
|
3749
|
-
"
|
|
3883
|
+
"variant": "primary",
|
|
3884
|
+
"label": "Edit",
|
|
3885
|
+
"icon": "edit"
|
|
3750
3886
|
},
|
|
3751
3887
|
{
|
|
3752
|
-
"action": "CLOSE",
|
|
3753
3888
|
"type": "button",
|
|
3889
|
+
"action": "CLOSE",
|
|
3754
3890
|
"label": "Close",
|
|
3755
3891
|
"variant": "ghost"
|
|
3756
3892
|
}
|
|
3757
3893
|
],
|
|
3758
|
-
"
|
|
3759
|
-
"justify": "end",
|
|
3760
|
-
"type": "stack",
|
|
3761
|
-
"direction": "horizontal"
|
|
3894
|
+
"type": "stack"
|
|
3762
3895
|
}
|
|
3763
3896
|
],
|
|
3764
3897
|
"type": "stack",
|
|
@@ -4005,11 +4138,11 @@
|
|
|
4005
4138
|
"fetch",
|
|
4006
4139
|
"Deal",
|
|
4007
4140
|
{
|
|
4141
|
+
"id": "@payload.id",
|
|
4008
4142
|
"emit": {
|
|
4009
|
-
"
|
|
4010
|
-
"
|
|
4011
|
-
}
|
|
4012
|
-
"id": "@payload.id"
|
|
4143
|
+
"failure": "DealLoadFailed",
|
|
4144
|
+
"success": "DealLoaded"
|
|
4145
|
+
}
|
|
4013
4146
|
}
|
|
4014
4147
|
],
|
|
4015
4148
|
[
|
|
@@ -4017,56 +4150,56 @@
|
|
|
4017
4150
|
"modal",
|
|
4018
4151
|
{
|
|
4019
4152
|
"gap": "md",
|
|
4020
|
-
"
|
|
4153
|
+
"direction": "vertical",
|
|
4021
4154
|
"children": [
|
|
4022
4155
|
{
|
|
4023
|
-
"align": "center",
|
|
4024
4156
|
"children": [
|
|
4025
4157
|
{
|
|
4026
4158
|
"name": "alert-triangle",
|
|
4027
4159
|
"type": "icon"
|
|
4028
4160
|
},
|
|
4029
4161
|
{
|
|
4030
|
-
"
|
|
4162
|
+
"type": "typography",
|
|
4031
4163
|
"variant": "h3",
|
|
4032
|
-
"
|
|
4164
|
+
"content": "Delete Deal"
|
|
4033
4165
|
}
|
|
4034
4166
|
],
|
|
4035
4167
|
"type": "stack",
|
|
4036
4168
|
"direction": "horizontal",
|
|
4037
|
-
"gap": "sm"
|
|
4169
|
+
"gap": "sm",
|
|
4170
|
+
"align": "center"
|
|
4038
4171
|
},
|
|
4039
4172
|
{
|
|
4040
4173
|
"type": "divider"
|
|
4041
4174
|
},
|
|
4042
4175
|
{
|
|
4043
|
-
"
|
|
4176
|
+
"message": "This action cannot be undone.",
|
|
4044
4177
|
"type": "alert",
|
|
4045
|
-
"
|
|
4178
|
+
"variant": "error"
|
|
4046
4179
|
},
|
|
4047
4180
|
{
|
|
4048
4181
|
"direction": "horizontal",
|
|
4049
|
-
"type": "stack",
|
|
4050
4182
|
"gap": "sm",
|
|
4051
4183
|
"justify": "end",
|
|
4184
|
+
"type": "stack",
|
|
4052
4185
|
"children": [
|
|
4053
4186
|
{
|
|
4054
|
-
"label": "Cancel",
|
|
4055
|
-
"action": "CANCEL",
|
|
4056
4187
|
"type": "button",
|
|
4188
|
+
"action": "CANCEL",
|
|
4189
|
+
"label": "Cancel",
|
|
4057
4190
|
"variant": "ghost"
|
|
4058
4191
|
},
|
|
4059
4192
|
{
|
|
4060
4193
|
"type": "button",
|
|
4061
|
-
"action": "CONFIRM_DELETE",
|
|
4062
|
-
"icon": "check",
|
|
4063
4194
|
"label": "Delete",
|
|
4064
|
-
"variant": "danger"
|
|
4195
|
+
"variant": "danger",
|
|
4196
|
+
"action": "CONFIRM_DELETE",
|
|
4197
|
+
"icon": "check"
|
|
4065
4198
|
}
|
|
4066
4199
|
]
|
|
4067
4200
|
}
|
|
4068
4201
|
],
|
|
4069
|
-
"
|
|
4202
|
+
"type": "stack"
|
|
4070
4203
|
}
|
|
4071
4204
|
]
|
|
4072
4205
|
]
|
|
@@ -4083,8 +4216,8 @@
|
|
|
4083
4216
|
"@entity.pendingId",
|
|
4084
4217
|
{
|
|
4085
4218
|
"emit": {
|
|
4086
|
-
"
|
|
4087
|
-
"
|
|
4219
|
+
"failure": "DealDeleteFailed",
|
|
4220
|
+
"success": "DealDeleted"
|
|
4088
4221
|
}
|
|
4089
4222
|
}
|
|
4090
4223
|
],
|
|
@@ -4105,8 +4238,8 @@
|
|
|
4105
4238
|
"Deal",
|
|
4106
4239
|
{
|
|
4107
4240
|
"emit": {
|
|
4108
|
-
"
|
|
4109
|
-
"
|
|
4241
|
+
"failure": "DealLoadFailed",
|
|
4242
|
+
"success": "DealLoaded"
|
|
4110
4243
|
}
|
|
4111
4244
|
}
|
|
4112
4245
|
],
|
|
@@ -4380,41 +4513,42 @@
|
|
|
4380
4513
|
"render-ui",
|
|
4381
4514
|
"main",
|
|
4382
4515
|
{
|
|
4383
|
-
"type": "dashboard-layout",
|
|
4384
4516
|
"navItems": [
|
|
4385
4517
|
{
|
|
4386
|
-
"
|
|
4518
|
+
"label": "Contacts",
|
|
4387
4519
|
"href": "/contacts",
|
|
4388
|
-
"
|
|
4520
|
+
"icon": "users"
|
|
4389
4521
|
},
|
|
4390
4522
|
{
|
|
4391
|
-
"icon": "briefcase",
|
|
4392
4523
|
"href": "/deals",
|
|
4393
|
-
"label": "Deals"
|
|
4524
|
+
"label": "Deals",
|
|
4525
|
+
"icon": "briefcase"
|
|
4394
4526
|
},
|
|
4395
4527
|
{
|
|
4528
|
+
"href": "/pipeline",
|
|
4396
4529
|
"icon": "bar-chart-2",
|
|
4397
|
-
"label": "Pipeline"
|
|
4398
|
-
"href": "/pipeline"
|
|
4530
|
+
"label": "Pipeline"
|
|
4399
4531
|
},
|
|
4400
4532
|
{
|
|
4401
|
-
"
|
|
4533
|
+
"label": "Notes",
|
|
4402
4534
|
"icon": "file-text",
|
|
4403
|
-
"
|
|
4535
|
+
"href": "/notes"
|
|
4404
4536
|
}
|
|
4405
4537
|
],
|
|
4538
|
+
"appName": "CRM",
|
|
4406
4539
|
"children": [
|
|
4407
4540
|
{
|
|
4408
4541
|
"children": [
|
|
4409
4542
|
{
|
|
4410
|
-
"
|
|
4543
|
+
"gap": "lg",
|
|
4544
|
+
"type": "stack",
|
|
4411
4545
|
"children": [
|
|
4412
4546
|
{
|
|
4413
4547
|
"type": "breadcrumb",
|
|
4414
4548
|
"items": [
|
|
4415
4549
|
{
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4550
|
+
"label": "Home",
|
|
4551
|
+
"href": "/"
|
|
4418
4552
|
},
|
|
4419
4553
|
{
|
|
4420
4554
|
"label": "Pipeline"
|
|
@@ -4422,132 +4556,132 @@
|
|
|
4422
4556
|
]
|
|
4423
4557
|
},
|
|
4424
4558
|
{
|
|
4559
|
+
"type": "stack",
|
|
4560
|
+
"direction": "horizontal",
|
|
4561
|
+
"gap": "md",
|
|
4562
|
+
"justify": "between",
|
|
4425
4563
|
"children": [
|
|
4426
4564
|
{
|
|
4427
4565
|
"children": [
|
|
4428
4566
|
{
|
|
4429
|
-
"
|
|
4430
|
-
"
|
|
4567
|
+
"type": "icon",
|
|
4568
|
+
"name": "bar-chart-2"
|
|
4431
4569
|
},
|
|
4432
4570
|
{
|
|
4433
|
-
"variant": "h2",
|
|
4434
4571
|
"content": "Pipeline",
|
|
4572
|
+
"variant": "h2",
|
|
4435
4573
|
"type": "typography"
|
|
4436
4574
|
}
|
|
4437
4575
|
],
|
|
4438
|
-
"gap": "md",
|
|
4439
4576
|
"type": "stack",
|
|
4440
|
-
"direction": "horizontal"
|
|
4577
|
+
"direction": "horizontal",
|
|
4578
|
+
"gap": "md"
|
|
4441
4579
|
},
|
|
4442
4580
|
{
|
|
4443
4581
|
"type": "button",
|
|
4444
|
-
"
|
|
4445
|
-
"action": "REFRESH",
|
|
4582
|
+
"label": "Refresh",
|
|
4446
4583
|
"variant": "secondary",
|
|
4447
|
-
"
|
|
4584
|
+
"action": "REFRESH",
|
|
4585
|
+
"icon": "refresh-cw"
|
|
4448
4586
|
}
|
|
4449
|
-
]
|
|
4450
|
-
"direction": "horizontal",
|
|
4451
|
-
"type": "stack",
|
|
4452
|
-
"gap": "md",
|
|
4453
|
-
"justify": "between"
|
|
4587
|
+
]
|
|
4454
4588
|
},
|
|
4455
4589
|
{
|
|
4456
4590
|
"type": "divider"
|
|
4457
4591
|
},
|
|
4458
4592
|
{
|
|
4459
|
-
"padding": "md",
|
|
4460
4593
|
"children": [
|
|
4461
4594
|
{
|
|
4595
|
+
"cols": 3.0,
|
|
4596
|
+
"type": "simple-grid",
|
|
4462
4597
|
"children": [
|
|
4463
4598
|
{
|
|
4464
|
-
"
|
|
4599
|
+
"label": "TotalDeals",
|
|
4465
4600
|
"value": "@entity.totalDeals",
|
|
4466
|
-
"
|
|
4601
|
+
"type": "stat-display"
|
|
4467
4602
|
},
|
|
4468
4603
|
{
|
|
4469
|
-
"type": "stat-display",
|
|
4470
4604
|
"label": "TotalValue",
|
|
4605
|
+
"type": "stat-display",
|
|
4471
4606
|
"value": "@entity.totalValue"
|
|
4472
4607
|
},
|
|
4473
4608
|
{
|
|
4609
|
+
"label": "WonDeals",
|
|
4474
4610
|
"value": "@entity.wonDeals",
|
|
4475
|
-
"type": "stat-display"
|
|
4476
|
-
"label": "WonDeals"
|
|
4611
|
+
"type": "stat-display"
|
|
4477
4612
|
},
|
|
4478
4613
|
{
|
|
4479
4614
|
"label": "LostDeals",
|
|
4480
|
-
"
|
|
4481
|
-
"
|
|
4615
|
+
"type": "stat-display",
|
|
4616
|
+
"value": "@entity.lostDeals"
|
|
4482
4617
|
},
|
|
4483
4618
|
{
|
|
4484
|
-
"type": "stat-display",
|
|
4485
4619
|
"value": "@entity.conversionRate",
|
|
4486
|
-
"label": "ConversionRate"
|
|
4620
|
+
"label": "ConversionRate",
|
|
4621
|
+
"type": "stat-display"
|
|
4487
4622
|
}
|
|
4488
|
-
]
|
|
4489
|
-
"type": "simple-grid",
|
|
4490
|
-
"cols": 3.0
|
|
4623
|
+
]
|
|
4491
4624
|
}
|
|
4492
4625
|
],
|
|
4493
|
-
"type": "box"
|
|
4626
|
+
"type": "box",
|
|
4627
|
+
"padding": "md"
|
|
4494
4628
|
},
|
|
4495
4629
|
{
|
|
4496
4630
|
"type": "divider"
|
|
4497
4631
|
},
|
|
4498
4632
|
{
|
|
4499
4633
|
"cols": 2.0,
|
|
4500
|
-
"gap": "md",
|
|
4501
|
-
"type": "grid",
|
|
4502
4634
|
"children": [
|
|
4503
4635
|
{
|
|
4504
4636
|
"type": "card",
|
|
4505
4637
|
"children": [
|
|
4506
4638
|
{
|
|
4639
|
+
"content": "Chart View",
|
|
4507
4640
|
"variant": "caption",
|
|
4508
|
-
"type": "typography"
|
|
4509
|
-
"content": "Chart View"
|
|
4641
|
+
"type": "typography"
|
|
4510
4642
|
}
|
|
4511
4643
|
]
|
|
4512
4644
|
},
|
|
4513
4645
|
{
|
|
4646
|
+
"type": "card",
|
|
4514
4647
|
"children": [
|
|
4515
4648
|
{
|
|
4516
4649
|
"type": "typography",
|
|
4517
|
-
"
|
|
4518
|
-
"
|
|
4650
|
+
"variant": "caption",
|
|
4651
|
+
"content": "Graph View"
|
|
4519
4652
|
}
|
|
4520
|
-
]
|
|
4521
|
-
"type": "card"
|
|
4653
|
+
]
|
|
4522
4654
|
}
|
|
4523
|
-
]
|
|
4655
|
+
],
|
|
4656
|
+
"type": "grid",
|
|
4657
|
+
"gap": "md"
|
|
4524
4658
|
},
|
|
4525
4659
|
{
|
|
4526
4660
|
"type": "line-chart",
|
|
4527
4661
|
"data": [
|
|
4528
4662
|
{
|
|
4529
|
-
"
|
|
4530
|
-
"
|
|
4663
|
+
"date": "Jan",
|
|
4664
|
+
"value": 12.0
|
|
4531
4665
|
},
|
|
4532
4666
|
{
|
|
4533
|
-
"
|
|
4534
|
-
"
|
|
4667
|
+
"value": 19.0,
|
|
4668
|
+
"date": "Feb"
|
|
4535
4669
|
},
|
|
4536
4670
|
{
|
|
4537
|
-
"
|
|
4538
|
-
"
|
|
4671
|
+
"value": 15.0,
|
|
4672
|
+
"date": "Mar"
|
|
4539
4673
|
},
|
|
4540
4674
|
{
|
|
4541
|
-
"
|
|
4542
|
-
"
|
|
4675
|
+
"date": "Apr",
|
|
4676
|
+
"value": 25.0
|
|
4543
4677
|
},
|
|
4544
4678
|
{
|
|
4545
4679
|
"date": "May",
|
|
4546
4680
|
"value": 22.0
|
|
4547
4681
|
},
|
|
4548
4682
|
{
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4683
|
+
"value": 30.0,
|
|
4684
|
+
"date": "Jun"
|
|
4551
4685
|
}
|
|
4552
4686
|
]
|
|
4553
4687
|
},
|
|
@@ -4571,37 +4705,36 @@
|
|
|
4571
4705
|
"source": "a"
|
|
4572
4706
|
},
|
|
4573
4707
|
{
|
|
4574
|
-
"
|
|
4575
|
-
"
|
|
4708
|
+
"source": "b",
|
|
4709
|
+
"target": "c"
|
|
4576
4710
|
}
|
|
4577
4711
|
],
|
|
4712
|
+
"type": "graph-view",
|
|
4578
4713
|
"nodes": [
|
|
4579
4714
|
{
|
|
4580
4715
|
"id": "a",
|
|
4581
4716
|
"label": "Start"
|
|
4582
4717
|
},
|
|
4583
4718
|
{
|
|
4584
|
-
"
|
|
4585
|
-
"
|
|
4719
|
+
"label": "Process",
|
|
4720
|
+
"id": "b"
|
|
4586
4721
|
},
|
|
4587
4722
|
{
|
|
4588
|
-
"
|
|
4589
|
-
"
|
|
4723
|
+
"id": "c",
|
|
4724
|
+
"label": "End"
|
|
4590
4725
|
}
|
|
4591
4726
|
],
|
|
4592
4727
|
"width": 400.0,
|
|
4593
|
-
"height": 200.0
|
|
4594
|
-
"type": "graph-view"
|
|
4728
|
+
"height": 200.0
|
|
4595
4729
|
}
|
|
4596
4730
|
],
|
|
4597
|
-
"
|
|
4598
|
-
"type": "stack"
|
|
4731
|
+
"direction": "vertical"
|
|
4599
4732
|
}
|
|
4600
4733
|
],
|
|
4601
4734
|
"type": "scaled-diagram"
|
|
4602
4735
|
}
|
|
4603
4736
|
],
|
|
4604
|
-
"
|
|
4737
|
+
"type": "dashboard-layout"
|
|
4605
4738
|
}
|
|
4606
4739
|
]
|
|
4607
4740
|
]
|
|
@@ -4616,8 +4749,8 @@
|
|
|
4616
4749
|
"Pipeline",
|
|
4617
4750
|
{
|
|
4618
4751
|
"emit": {
|
|
4619
|
-
"
|
|
4620
|
-
"
|
|
4752
|
+
"failure": "PipelineLoadFailed",
|
|
4753
|
+
"success": "PipelineLoaded"
|
|
4621
4754
|
}
|
|
4622
4755
|
}
|
|
4623
4756
|
],
|
|
@@ -4625,14 +4758,34 @@
|
|
|
4625
4758
|
"render-ui",
|
|
4626
4759
|
"main",
|
|
4627
4760
|
{
|
|
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
|
+
],
|
|
4628
4784
|
"children": [
|
|
4629
4785
|
{
|
|
4630
|
-
"type": "scaled-diagram",
|
|
4631
4786
|
"children": [
|
|
4632
4787
|
{
|
|
4633
|
-
"type": "stack",
|
|
4634
4788
|
"direction": "vertical",
|
|
4635
|
-
"gap": "lg",
|
|
4636
4789
|
"children": [
|
|
4637
4790
|
{
|
|
4638
4791
|
"type": "breadcrumb",
|
|
@@ -4647,9 +4800,10 @@
|
|
|
4647
4800
|
]
|
|
4648
4801
|
},
|
|
4649
4802
|
{
|
|
4803
|
+
"justify": "between",
|
|
4804
|
+
"type": "stack",
|
|
4650
4805
|
"children": [
|
|
4651
4806
|
{
|
|
4652
|
-
"direction": "horizontal",
|
|
4653
4807
|
"type": "stack",
|
|
4654
4808
|
"children": [
|
|
4655
4809
|
{
|
|
@@ -4658,32 +4812,33 @@
|
|
|
4658
4812
|
},
|
|
4659
4813
|
{
|
|
4660
4814
|
"content": "Pipeline",
|
|
4661
|
-
"
|
|
4662
|
-
"
|
|
4815
|
+
"type": "typography",
|
|
4816
|
+
"variant": "h2"
|
|
4663
4817
|
}
|
|
4664
4818
|
],
|
|
4665
|
-
"gap": "md"
|
|
4819
|
+
"gap": "md",
|
|
4820
|
+
"direction": "horizontal"
|
|
4666
4821
|
},
|
|
4667
4822
|
{
|
|
4668
|
-
"variant": "secondary",
|
|
4669
|
-
"action": "REFRESH",
|
|
4670
4823
|
"type": "button",
|
|
4671
|
-
"
|
|
4672
|
-
"
|
|
4824
|
+
"action": "REFRESH",
|
|
4825
|
+
"variant": "secondary",
|
|
4826
|
+
"label": "Refresh",
|
|
4827
|
+
"icon": "refresh-cw"
|
|
4673
4828
|
}
|
|
4674
4829
|
],
|
|
4675
|
-
"justify": "between",
|
|
4676
|
-
"direction": "horizontal",
|
|
4677
4830
|
"gap": "md",
|
|
4678
|
-
"
|
|
4831
|
+
"direction": "horizontal"
|
|
4679
4832
|
},
|
|
4680
4833
|
{
|
|
4681
4834
|
"type": "divider"
|
|
4682
4835
|
},
|
|
4683
4836
|
{
|
|
4837
|
+
"padding": "md",
|
|
4684
4838
|
"children": [
|
|
4685
4839
|
{
|
|
4686
4840
|
"type": "simple-grid",
|
|
4841
|
+
"cols": 3.0,
|
|
4687
4842
|
"children": [
|
|
4688
4843
|
{
|
|
4689
4844
|
"label": "TotalDeals",
|
|
@@ -4697,69 +4852,68 @@
|
|
|
4697
4852
|
},
|
|
4698
4853
|
{
|
|
4699
4854
|
"type": "stat-display",
|
|
4700
|
-
"
|
|
4701
|
-
"
|
|
4855
|
+
"label": "WonDeals",
|
|
4856
|
+
"value": "@entity.wonDeals"
|
|
4702
4857
|
},
|
|
4703
4858
|
{
|
|
4704
4859
|
"label": "LostDeals",
|
|
4705
|
-
"
|
|
4706
|
-
"
|
|
4860
|
+
"value": "@entity.lostDeals",
|
|
4861
|
+
"type": "stat-display"
|
|
4707
4862
|
},
|
|
4708
4863
|
{
|
|
4709
4864
|
"type": "stat-display",
|
|
4710
|
-
"
|
|
4711
|
-
"
|
|
4865
|
+
"label": "ConversionRate",
|
|
4866
|
+
"value": "@entity.conversionRate"
|
|
4712
4867
|
}
|
|
4713
|
-
]
|
|
4714
|
-
"cols": 3.0
|
|
4868
|
+
]
|
|
4715
4869
|
}
|
|
4716
4870
|
],
|
|
4717
|
-
"type": "box"
|
|
4718
|
-
"padding": "md"
|
|
4871
|
+
"type": "box"
|
|
4719
4872
|
},
|
|
4720
4873
|
{
|
|
4721
4874
|
"type": "divider"
|
|
4722
4875
|
},
|
|
4723
4876
|
{
|
|
4724
|
-
"type": "grid",
|
|
4725
4877
|
"cols": 2.0,
|
|
4878
|
+
"type": "grid",
|
|
4879
|
+
"gap": "md",
|
|
4726
4880
|
"children": [
|
|
4727
4881
|
{
|
|
4882
|
+
"type": "card",
|
|
4728
4883
|
"children": [
|
|
4729
4884
|
{
|
|
4730
4885
|
"type": "typography",
|
|
4731
4886
|
"content": "Chart View",
|
|
4732
4887
|
"variant": "caption"
|
|
4733
4888
|
}
|
|
4734
|
-
]
|
|
4735
|
-
"type": "card"
|
|
4889
|
+
]
|
|
4736
4890
|
},
|
|
4737
4891
|
{
|
|
4738
4892
|
"type": "card",
|
|
4739
4893
|
"children": [
|
|
4740
4894
|
{
|
|
4741
|
-
"type": "typography",
|
|
4742
4895
|
"variant": "caption",
|
|
4743
|
-
"content": "Graph View"
|
|
4896
|
+
"content": "Graph View",
|
|
4897
|
+
"type": "typography"
|
|
4744
4898
|
}
|
|
4745
4899
|
]
|
|
4746
4900
|
}
|
|
4747
|
-
]
|
|
4748
|
-
"gap": "md"
|
|
4901
|
+
]
|
|
4749
4902
|
},
|
|
4750
4903
|
{
|
|
4904
|
+
"type": "line-chart",
|
|
4751
4905
|
"data": [
|
|
4752
4906
|
{
|
|
4753
|
-
"
|
|
4754
|
-
"
|
|
4907
|
+
"value": 12.0,
|
|
4908
|
+
"date": "Jan"
|
|
4755
4909
|
},
|
|
4756
4910
|
{
|
|
4757
|
-
"
|
|
4758
|
-
"
|
|
4911
|
+
"date": "Feb",
|
|
4912
|
+
"value": 19.0
|
|
4759
4913
|
},
|
|
4760
4914
|
{
|
|
4761
|
-
"
|
|
4762
|
-
"
|
|
4915
|
+
"value": 15.0,
|
|
4916
|
+
"date": "Mar"
|
|
4763
4917
|
},
|
|
4764
4918
|
{
|
|
4765
4919
|
"date": "Apr",
|
|
@@ -4773,40 +4927,39 @@
|
|
|
4773
4927
|
"value": 30.0,
|
|
4774
4928
|
"date": "Jun"
|
|
4775
4929
|
}
|
|
4776
|
-
]
|
|
4777
|
-
"type": "line-chart"
|
|
4930
|
+
]
|
|
4778
4931
|
},
|
|
4779
4932
|
{
|
|
4780
|
-
"type": "chart-legend",
|
|
4781
4933
|
"items": [
|
|
4782
4934
|
{
|
|
4783
|
-
"
|
|
4784
|
-
"
|
|
4935
|
+
"label": "Current",
|
|
4936
|
+
"color": "primary"
|
|
4785
4937
|
},
|
|
4786
4938
|
{
|
|
4787
4939
|
"label": "Previous",
|
|
4788
4940
|
"color": "muted"
|
|
4789
4941
|
}
|
|
4790
|
-
]
|
|
4942
|
+
],
|
|
4943
|
+
"type": "chart-legend"
|
|
4791
4944
|
},
|
|
4792
4945
|
{
|
|
4793
|
-
"width": 400.0,
|
|
4794
|
-
"type": "graph-view",
|
|
4795
|
-
"height": 200.0,
|
|
4796
4946
|
"nodes": [
|
|
4797
4947
|
{
|
|
4798
|
-
"
|
|
4799
|
-
"
|
|
4948
|
+
"id": "a",
|
|
4949
|
+
"label": "Start"
|
|
4800
4950
|
},
|
|
4801
4951
|
{
|
|
4802
|
-
"
|
|
4803
|
-
"
|
|
4952
|
+
"id": "b",
|
|
4953
|
+
"label": "Process"
|
|
4804
4954
|
},
|
|
4805
4955
|
{
|
|
4806
4956
|
"id": "c",
|
|
4807
4957
|
"label": "End"
|
|
4808
4958
|
}
|
|
4809
4959
|
],
|
|
4960
|
+
"type": "graph-view",
|
|
4961
|
+
"width": 400.0,
|
|
4962
|
+
"height": 200.0,
|
|
4810
4963
|
"edges": [
|
|
4811
4964
|
{
|
|
4812
4965
|
"target": "b",
|
|
@@ -4818,35 +4971,15 @@
|
|
|
4818
4971
|
}
|
|
4819
4972
|
]
|
|
4820
4973
|
}
|
|
4821
|
-
]
|
|
4974
|
+
],
|
|
4975
|
+
"type": "stack",
|
|
4976
|
+
"gap": "lg"
|
|
4822
4977
|
}
|
|
4823
|
-
]
|
|
4978
|
+
],
|
|
4979
|
+
"type": "scaled-diagram"
|
|
4824
4980
|
}
|
|
4825
4981
|
],
|
|
4826
|
-
"
|
|
4827
|
-
"type": "dashboard-layout",
|
|
4828
|
-
"navItems": [
|
|
4829
|
-
{
|
|
4830
|
-
"icon": "users",
|
|
4831
|
-
"label": "Contacts",
|
|
4832
|
-
"href": "/contacts"
|
|
4833
|
-
},
|
|
4834
|
-
{
|
|
4835
|
-
"label": "Deals",
|
|
4836
|
-
"icon": "briefcase",
|
|
4837
|
-
"href": "/deals"
|
|
4838
|
-
},
|
|
4839
|
-
{
|
|
4840
|
-
"label": "Pipeline",
|
|
4841
|
-
"href": "/pipeline",
|
|
4842
|
-
"icon": "bar-chart-2"
|
|
4843
|
-
},
|
|
4844
|
-
{
|
|
4845
|
-
"label": "Notes",
|
|
4846
|
-
"icon": "file-text",
|
|
4847
|
-
"href": "/notes"
|
|
4848
|
-
}
|
|
4849
|
-
]
|
|
4982
|
+
"type": "dashboard-layout"
|
|
4850
4983
|
}
|
|
4851
4984
|
]
|
|
4852
4985
|
]
|
|
@@ -4861,8 +4994,8 @@
|
|
|
4861
4994
|
"Pipeline",
|
|
4862
4995
|
{
|
|
4863
4996
|
"emit": {
|
|
4864
|
-
"
|
|
4865
|
-
"
|
|
4997
|
+
"failure": "PipelineLoadFailed",
|
|
4998
|
+
"success": "PipelineLoaded"
|
|
4866
4999
|
}
|
|
4867
5000
|
}
|
|
4868
5001
|
],
|
|
@@ -4871,19 +5004,20 @@
|
|
|
4871
5004
|
"main",
|
|
4872
5005
|
{
|
|
4873
5006
|
"type": "dashboard-layout",
|
|
4874
|
-
"appName": "CRM",
|
|
4875
5007
|
"children": [
|
|
4876
5008
|
{
|
|
4877
5009
|
"children": [
|
|
4878
5010
|
{
|
|
4879
5011
|
"direction": "vertical",
|
|
5012
|
+
"type": "stack",
|
|
5013
|
+
"gap": "lg",
|
|
4880
5014
|
"children": [
|
|
4881
5015
|
{
|
|
4882
5016
|
"type": "breadcrumb",
|
|
4883
5017
|
"items": [
|
|
4884
5018
|
{
|
|
4885
|
-
"
|
|
4886
|
-
"
|
|
5019
|
+
"label": "Home",
|
|
5020
|
+
"href": "/"
|
|
4887
5021
|
},
|
|
4888
5022
|
{
|
|
4889
5023
|
"label": "Pipeline"
|
|
@@ -4891,35 +5025,35 @@
|
|
|
4891
5025
|
]
|
|
4892
5026
|
},
|
|
4893
5027
|
{
|
|
4894
|
-
"justify": "between",
|
|
4895
|
-
"gap": "md",
|
|
4896
|
-
"direction": "horizontal",
|
|
4897
5028
|
"children": [
|
|
4898
5029
|
{
|
|
4899
|
-
"type": "stack",
|
|
4900
|
-
"gap": "md",
|
|
4901
5030
|
"direction": "horizontal",
|
|
4902
5031
|
"children": [
|
|
4903
5032
|
{
|
|
4904
|
-
"
|
|
4905
|
-
"
|
|
5033
|
+
"type": "icon",
|
|
5034
|
+
"name": "bar-chart-2"
|
|
4906
5035
|
},
|
|
4907
5036
|
{
|
|
4908
|
-
"
|
|
5037
|
+
"variant": "h2",
|
|
4909
5038
|
"content": "Pipeline",
|
|
4910
|
-
"
|
|
5039
|
+
"type": "typography"
|
|
4911
5040
|
}
|
|
4912
|
-
]
|
|
5041
|
+
],
|
|
5042
|
+
"type": "stack",
|
|
5043
|
+
"gap": "md"
|
|
4913
5044
|
},
|
|
4914
5045
|
{
|
|
5046
|
+
"variant": "secondary",
|
|
5047
|
+
"label": "Refresh",
|
|
4915
5048
|
"icon": "refresh-cw",
|
|
4916
|
-
"action": "REFRESH",
|
|
4917
5049
|
"type": "button",
|
|
4918
|
-
"
|
|
4919
|
-
"variant": "secondary"
|
|
5050
|
+
"action": "REFRESH"
|
|
4920
5051
|
}
|
|
4921
5052
|
],
|
|
4922
|
-
"
|
|
5053
|
+
"gap": "md",
|
|
5054
|
+
"direction": "horizontal",
|
|
5055
|
+
"type": "stack",
|
|
5056
|
+
"justify": "between"
|
|
4923
5057
|
},
|
|
4924
5058
|
{
|
|
4925
5059
|
"type": "divider"
|
|
@@ -4928,11 +5062,13 @@
|
|
|
4928
5062
|
"padding": "md",
|
|
4929
5063
|
"children": [
|
|
4930
5064
|
{
|
|
5065
|
+
"cols": 3.0,
|
|
5066
|
+
"type": "simple-grid",
|
|
4931
5067
|
"children": [
|
|
4932
5068
|
{
|
|
4933
5069
|
"label": "TotalDeals",
|
|
4934
|
-
"
|
|
4935
|
-
"
|
|
5070
|
+
"type": "stat-display",
|
|
5071
|
+
"value": "@entity.totalDeals"
|
|
4936
5072
|
},
|
|
4937
5073
|
{
|
|
4938
5074
|
"type": "stat-display",
|
|
@@ -4941,22 +5077,20 @@
|
|
|
4941
5077
|
},
|
|
4942
5078
|
{
|
|
4943
5079
|
"label": "WonDeals",
|
|
4944
|
-
"
|
|
4945
|
-
"
|
|
5080
|
+
"value": "@entity.wonDeals",
|
|
5081
|
+
"type": "stat-display"
|
|
4946
5082
|
},
|
|
4947
5083
|
{
|
|
4948
|
-
"
|
|
5084
|
+
"value": "@entity.lostDeals",
|
|
4949
5085
|
"label": "LostDeals",
|
|
4950
|
-
"
|
|
5086
|
+
"type": "stat-display"
|
|
4951
5087
|
},
|
|
4952
5088
|
{
|
|
4953
|
-
"label": "ConversionRate",
|
|
4954
5089
|
"type": "stat-display",
|
|
4955
|
-
"value": "@entity.conversionRate"
|
|
5090
|
+
"value": "@entity.conversionRate",
|
|
5091
|
+
"label": "ConversionRate"
|
|
4956
5092
|
}
|
|
4957
|
-
]
|
|
4958
|
-
"cols": 3.0,
|
|
4959
|
-
"type": "simple-grid"
|
|
5093
|
+
]
|
|
4960
5094
|
}
|
|
4961
5095
|
],
|
|
4962
5096
|
"type": "box"
|
|
@@ -4965,18 +5099,19 @@
|
|
|
4965
5099
|
"type": "divider"
|
|
4966
5100
|
},
|
|
4967
5101
|
{
|
|
4968
|
-
"gap": "md",
|
|
4969
5102
|
"type": "grid",
|
|
5103
|
+
"gap": "md",
|
|
5104
|
+
"cols": 2.0,
|
|
4970
5105
|
"children": [
|
|
4971
5106
|
{
|
|
4972
|
-
"type": "card",
|
|
4973
5107
|
"children": [
|
|
4974
5108
|
{
|
|
5109
|
+
"content": "Chart View",
|
|
4975
5110
|
"type": "typography",
|
|
4976
|
-
"variant": "caption"
|
|
4977
|
-
"content": "Chart View"
|
|
5111
|
+
"variant": "caption"
|
|
4978
5112
|
}
|
|
4979
|
-
]
|
|
5113
|
+
],
|
|
5114
|
+
"type": "card"
|
|
4980
5115
|
},
|
|
4981
5116
|
{
|
|
4982
5117
|
"type": "card",
|
|
@@ -4988,8 +5123,7 @@
|
|
|
4988
5123
|
}
|
|
4989
5124
|
]
|
|
4990
5125
|
}
|
|
4991
|
-
]
|
|
4992
|
-
"cols": 2.0
|
|
5126
|
+
]
|
|
4993
5127
|
},
|
|
4994
5128
|
{
|
|
4995
5129
|
"type": "line-chart",
|
|
@@ -4999,16 +5133,16 @@
|
|
|
4999
5133
|
"date": "Jan"
|
|
5000
5134
|
},
|
|
5001
5135
|
{
|
|
5002
|
-
"
|
|
5003
|
-
"
|
|
5136
|
+
"value": 19.0,
|
|
5137
|
+
"date": "Feb"
|
|
5004
5138
|
},
|
|
5005
5139
|
{
|
|
5006
5140
|
"value": 15.0,
|
|
5007
5141
|
"date": "Mar"
|
|
5008
5142
|
},
|
|
5009
5143
|
{
|
|
5010
|
-
"
|
|
5011
|
-
"
|
|
5144
|
+
"date": "Apr",
|
|
5145
|
+
"value": 25.0
|
|
5012
5146
|
},
|
|
5013
5147
|
{
|
|
5014
5148
|
"value": 22.0,
|
|
@@ -5021,32 +5155,31 @@
|
|
|
5021
5155
|
]
|
|
5022
5156
|
},
|
|
5023
5157
|
{
|
|
5024
|
-
"type": "chart-legend",
|
|
5025
5158
|
"items": [
|
|
5026
5159
|
{
|
|
5027
|
-
"
|
|
5028
|
-
"
|
|
5160
|
+
"color": "primary",
|
|
5161
|
+
"label": "Current"
|
|
5029
5162
|
},
|
|
5030
5163
|
{
|
|
5031
|
-
"
|
|
5032
|
-
"
|
|
5164
|
+
"label": "Previous",
|
|
5165
|
+
"color": "muted"
|
|
5033
5166
|
}
|
|
5034
|
-
]
|
|
5167
|
+
],
|
|
5168
|
+
"type": "chart-legend"
|
|
5035
5169
|
},
|
|
5036
5170
|
{
|
|
5037
|
-
"
|
|
5038
|
-
"width": 400.0,
|
|
5171
|
+
"height": 200.0,
|
|
5039
5172
|
"edges": [
|
|
5040
5173
|
{
|
|
5041
|
-
"
|
|
5042
|
-
"
|
|
5174
|
+
"source": "a",
|
|
5175
|
+
"target": "b"
|
|
5043
5176
|
},
|
|
5044
5177
|
{
|
|
5045
|
-
"
|
|
5046
|
-
"
|
|
5178
|
+
"target": "c",
|
|
5179
|
+
"source": "b"
|
|
5047
5180
|
}
|
|
5048
5181
|
],
|
|
5049
|
-
"
|
|
5182
|
+
"type": "graph-view",
|
|
5050
5183
|
"nodes": [
|
|
5051
5184
|
{
|
|
5052
5185
|
"id": "a",
|
|
@@ -5057,39 +5190,39 @@
|
|
|
5057
5190
|
"id": "b"
|
|
5058
5191
|
},
|
|
5059
5192
|
{
|
|
5060
|
-
"
|
|
5061
|
-
"
|
|
5193
|
+
"label": "End",
|
|
5194
|
+
"id": "c"
|
|
5062
5195
|
}
|
|
5063
|
-
]
|
|
5196
|
+
],
|
|
5197
|
+
"width": 400.0
|
|
5064
5198
|
}
|
|
5065
|
-
]
|
|
5066
|
-
"gap": "lg",
|
|
5067
|
-
"type": "stack"
|
|
5199
|
+
]
|
|
5068
5200
|
}
|
|
5069
5201
|
],
|
|
5070
5202
|
"type": "scaled-diagram"
|
|
5071
5203
|
}
|
|
5072
5204
|
],
|
|
5205
|
+
"appName": "CRM",
|
|
5073
5206
|
"navItems": [
|
|
5074
5207
|
{
|
|
5075
|
-
"
|
|
5208
|
+
"icon": "users",
|
|
5076
5209
|
"label": "Contacts",
|
|
5077
|
-
"
|
|
5210
|
+
"href": "/contacts"
|
|
5078
5211
|
},
|
|
5079
5212
|
{
|
|
5080
|
-
"
|
|
5213
|
+
"icon": "briefcase",
|
|
5081
5214
|
"label": "Deals",
|
|
5082
|
-
"
|
|
5215
|
+
"href": "/deals"
|
|
5083
5216
|
},
|
|
5084
5217
|
{
|
|
5085
|
-
"href": "/pipeline",
|
|
5086
5218
|
"label": "Pipeline",
|
|
5219
|
+
"href": "/pipeline",
|
|
5087
5220
|
"icon": "bar-chart-2"
|
|
5088
5221
|
},
|
|
5089
5222
|
{
|
|
5090
5223
|
"href": "/notes",
|
|
5091
|
-
"
|
|
5092
|
-
"
|
|
5224
|
+
"label": "Notes",
|
|
5225
|
+
"icon": "file-text"
|
|
5093
5226
|
}
|
|
5094
5227
|
]
|
|
5095
5228
|
}
|
|
@@ -5106,8 +5239,8 @@
|
|
|
5106
5239
|
"Pipeline",
|
|
5107
5240
|
{
|
|
5108
5241
|
"emit": {
|
|
5109
|
-
"
|
|
5110
|
-
"
|
|
5242
|
+
"failure": "PipelineLoadFailed",
|
|
5243
|
+
"success": "PipelineLoaded"
|
|
5111
5244
|
}
|
|
5112
5245
|
}
|
|
5113
5246
|
],
|
|
@@ -5117,52 +5250,53 @@
|
|
|
5117
5250
|
{
|
|
5118
5251
|
"navItems": [
|
|
5119
5252
|
{
|
|
5120
|
-
"label": "Contacts",
|
|
5121
5253
|
"href": "/contacts",
|
|
5122
|
-
"icon": "users"
|
|
5254
|
+
"icon": "users",
|
|
5255
|
+
"label": "Contacts"
|
|
5123
5256
|
},
|
|
5124
5257
|
{
|
|
5125
|
-
"href": "/deals",
|
|
5126
5258
|
"label": "Deals",
|
|
5259
|
+
"href": "/deals",
|
|
5127
5260
|
"icon": "briefcase"
|
|
5128
5261
|
},
|
|
5129
5262
|
{
|
|
5130
|
-
"
|
|
5263
|
+
"href": "/pipeline",
|
|
5131
5264
|
"label": "Pipeline",
|
|
5132
|
-
"
|
|
5265
|
+
"icon": "bar-chart-2"
|
|
5133
5266
|
},
|
|
5134
5267
|
{
|
|
5268
|
+
"icon": "file-text",
|
|
5135
5269
|
"label": "Notes",
|
|
5136
|
-
"href": "/notes"
|
|
5137
|
-
"icon": "file-text"
|
|
5270
|
+
"href": "/notes"
|
|
5138
5271
|
}
|
|
5139
5272
|
],
|
|
5273
|
+
"type": "dashboard-layout",
|
|
5140
5274
|
"children": [
|
|
5141
5275
|
{
|
|
5142
5276
|
"children": [
|
|
5143
5277
|
{
|
|
5144
5278
|
"gap": "lg",
|
|
5145
5279
|
"type": "stack",
|
|
5280
|
+
"direction": "vertical",
|
|
5146
5281
|
"children": [
|
|
5147
5282
|
{
|
|
5148
|
-
"type": "breadcrumb",
|
|
5149
5283
|
"items": [
|
|
5150
5284
|
{
|
|
5151
|
-
"
|
|
5152
|
-
"
|
|
5285
|
+
"label": "Home",
|
|
5286
|
+
"href": "/"
|
|
5153
5287
|
},
|
|
5154
5288
|
{
|
|
5155
5289
|
"label": "Pipeline"
|
|
5156
5290
|
}
|
|
5157
|
-
]
|
|
5291
|
+
],
|
|
5292
|
+
"type": "breadcrumb"
|
|
5158
5293
|
},
|
|
5159
5294
|
{
|
|
5160
5295
|
"gap": "md",
|
|
5161
|
-
"direction": "horizontal",
|
|
5162
|
-
"type": "stack",
|
|
5163
|
-
"justify": "between",
|
|
5164
5296
|
"children": [
|
|
5165
5297
|
{
|
|
5298
|
+
"gap": "md",
|
|
5299
|
+
"type": "stack",
|
|
5166
5300
|
"children": [
|
|
5167
5301
|
{
|
|
5168
5302
|
"type": "icon",
|
|
@@ -5170,30 +5304,32 @@
|
|
|
5170
5304
|
},
|
|
5171
5305
|
{
|
|
5172
5306
|
"type": "typography",
|
|
5173
|
-
"
|
|
5174
|
-
"
|
|
5307
|
+
"variant": "h2",
|
|
5308
|
+
"content": "Pipeline"
|
|
5175
5309
|
}
|
|
5176
5310
|
],
|
|
5177
|
-
"direction": "horizontal"
|
|
5178
|
-
"type": "stack",
|
|
5179
|
-
"gap": "md"
|
|
5311
|
+
"direction": "horizontal"
|
|
5180
5312
|
},
|
|
5181
5313
|
{
|
|
5182
|
-
"label": "Refresh",
|
|
5183
|
-
"variant": "secondary",
|
|
5184
|
-
"action": "REFRESH",
|
|
5185
5314
|
"type": "button",
|
|
5315
|
+
"action": "REFRESH",
|
|
5316
|
+
"variant": "secondary",
|
|
5317
|
+
"label": "Refresh",
|
|
5186
5318
|
"icon": "refresh-cw"
|
|
5187
5319
|
}
|
|
5188
|
-
]
|
|
5320
|
+
],
|
|
5321
|
+
"type": "stack",
|
|
5322
|
+
"direction": "horizontal",
|
|
5323
|
+
"justify": "between"
|
|
5189
5324
|
},
|
|
5190
5325
|
{
|
|
5191
5326
|
"type": "divider"
|
|
5192
5327
|
},
|
|
5193
5328
|
{
|
|
5329
|
+
"type": "box",
|
|
5330
|
+
"padding": "md",
|
|
5194
5331
|
"children": [
|
|
5195
5332
|
{
|
|
5196
|
-
"type": "simple-grid",
|
|
5197
5333
|
"cols": 3.0,
|
|
5198
5334
|
"children": [
|
|
5199
5335
|
{
|
|
@@ -5212,77 +5348,76 @@
|
|
|
5212
5348
|
"type": "stat-display"
|
|
5213
5349
|
},
|
|
5214
5350
|
{
|
|
5215
|
-
"label": "LostDeals",
|
|
5216
5351
|
"value": "@entity.lostDeals",
|
|
5217
|
-
"type": "stat-display"
|
|
5352
|
+
"type": "stat-display",
|
|
5353
|
+
"label": "LostDeals"
|
|
5218
5354
|
},
|
|
5219
5355
|
{
|
|
5220
5356
|
"type": "stat-display",
|
|
5221
5357
|
"label": "ConversionRate",
|
|
5222
5358
|
"value": "@entity.conversionRate"
|
|
5223
5359
|
}
|
|
5224
|
-
]
|
|
5360
|
+
],
|
|
5361
|
+
"type": "simple-grid"
|
|
5225
5362
|
}
|
|
5226
|
-
]
|
|
5227
|
-
"type": "box",
|
|
5228
|
-
"padding": "md"
|
|
5363
|
+
]
|
|
5229
5364
|
},
|
|
5230
5365
|
{
|
|
5231
5366
|
"type": "divider"
|
|
5232
5367
|
},
|
|
5233
5368
|
{
|
|
5234
|
-
"type": "grid",
|
|
5235
|
-
"gap": "md",
|
|
5236
5369
|
"children": [
|
|
5237
5370
|
{
|
|
5371
|
+
"type": "card",
|
|
5238
5372
|
"children": [
|
|
5239
5373
|
{
|
|
5240
5374
|
"type": "typography",
|
|
5241
5375
|
"content": "Chart View",
|
|
5242
5376
|
"variant": "caption"
|
|
5243
5377
|
}
|
|
5244
|
-
]
|
|
5245
|
-
"type": "card"
|
|
5378
|
+
]
|
|
5246
5379
|
},
|
|
5247
5380
|
{
|
|
5248
|
-
"type": "card",
|
|
5249
5381
|
"children": [
|
|
5250
5382
|
{
|
|
5383
|
+
"type": "typography",
|
|
5251
5384
|
"variant": "caption",
|
|
5252
|
-
"content": "Graph View"
|
|
5253
|
-
"type": "typography"
|
|
5385
|
+
"content": "Graph View"
|
|
5254
5386
|
}
|
|
5255
|
-
]
|
|
5387
|
+
],
|
|
5388
|
+
"type": "card"
|
|
5256
5389
|
}
|
|
5257
5390
|
],
|
|
5391
|
+
"type": "grid",
|
|
5392
|
+
"gap": "md",
|
|
5258
5393
|
"cols": 2.0
|
|
5259
5394
|
},
|
|
5260
5395
|
{
|
|
5261
5396
|
"type": "line-chart",
|
|
5262
5397
|
"data": [
|
|
5263
5398
|
{
|
|
5264
|
-
"
|
|
5265
|
-
"
|
|
5399
|
+
"value": 12.0,
|
|
5400
|
+
"date": "Jan"
|
|
5266
5401
|
},
|
|
5267
5402
|
{
|
|
5268
5403
|
"date": "Feb",
|
|
5269
5404
|
"value": 19.0
|
|
5270
5405
|
},
|
|
5271
5406
|
{
|
|
5272
|
-
"
|
|
5273
|
-
"
|
|
5407
|
+
"date": "Mar",
|
|
5408
|
+
"value": 15.0
|
|
5274
5409
|
},
|
|
5275
5410
|
{
|
|
5276
|
-
"
|
|
5277
|
-
"
|
|
5411
|
+
"value": 25.0,
|
|
5412
|
+
"date": "Apr"
|
|
5278
5413
|
},
|
|
5279
5414
|
{
|
|
5280
|
-
"
|
|
5281
|
-
"
|
|
5415
|
+
"value": 22.0,
|
|
5416
|
+
"date": "May"
|
|
5282
5417
|
},
|
|
5283
5418
|
{
|
|
5284
|
-
"
|
|
5285
|
-
"
|
|
5419
|
+
"value": 30.0,
|
|
5420
|
+
"date": "Jun"
|
|
5286
5421
|
}
|
|
5287
5422
|
]
|
|
5288
5423
|
},
|
|
@@ -5290,8 +5425,8 @@
|
|
|
5290
5425
|
"type": "chart-legend",
|
|
5291
5426
|
"items": [
|
|
5292
5427
|
{
|
|
5293
|
-
"
|
|
5294
|
-
"
|
|
5428
|
+
"label": "Current",
|
|
5429
|
+
"color": "primary"
|
|
5295
5430
|
},
|
|
5296
5431
|
{
|
|
5297
5432
|
"color": "muted",
|
|
@@ -5300,9 +5435,6 @@
|
|
|
5300
5435
|
]
|
|
5301
5436
|
},
|
|
5302
5437
|
{
|
|
5303
|
-
"width": 400.0,
|
|
5304
|
-
"height": 200.0,
|
|
5305
|
-
"type": "graph-view",
|
|
5306
5438
|
"edges": [
|
|
5307
5439
|
{
|
|
5308
5440
|
"source": "a",
|
|
@@ -5313,29 +5445,30 @@
|
|
|
5313
5445
|
"target": "c"
|
|
5314
5446
|
}
|
|
5315
5447
|
],
|
|
5448
|
+
"type": "graph-view",
|
|
5316
5449
|
"nodes": [
|
|
5317
5450
|
{
|
|
5318
5451
|
"id": "a",
|
|
5319
5452
|
"label": "Start"
|
|
5320
5453
|
},
|
|
5321
5454
|
{
|
|
5322
|
-
"
|
|
5323
|
-
"
|
|
5455
|
+
"label": "Process",
|
|
5456
|
+
"id": "b"
|
|
5324
5457
|
},
|
|
5325
5458
|
{
|
|
5326
5459
|
"id": "c",
|
|
5327
5460
|
"label": "End"
|
|
5328
5461
|
}
|
|
5329
|
-
]
|
|
5462
|
+
],
|
|
5463
|
+
"height": 200.0,
|
|
5464
|
+
"width": 400.0
|
|
5330
5465
|
}
|
|
5331
|
-
]
|
|
5332
|
-
"direction": "vertical"
|
|
5466
|
+
]
|
|
5333
5467
|
}
|
|
5334
5468
|
],
|
|
5335
5469
|
"type": "scaled-diagram"
|
|
5336
5470
|
}
|
|
5337
5471
|
],
|
|
5338
|
-
"type": "dashboard-layout",
|
|
5339
5472
|
"appName": "CRM"
|
|
5340
5473
|
}
|
|
5341
5474
|
]
|
|
@@ -5360,19 +5493,14 @@
|
|
|
5360
5493
|
"render-ui",
|
|
5361
5494
|
"main",
|
|
5362
5495
|
{
|
|
5363
|
-
"appName": "CRM",
|
|
5364
|
-
"type": "dashboard-layout",
|
|
5365
5496
|
"children": [
|
|
5366
5497
|
{
|
|
5367
|
-
"type": "scaled-diagram",
|
|
5368
5498
|
"children": [
|
|
5369
5499
|
{
|
|
5370
5500
|
"direction": "vertical",
|
|
5371
|
-
"type": "stack",
|
|
5372
5501
|
"gap": "lg",
|
|
5373
5502
|
"children": [
|
|
5374
5503
|
{
|
|
5375
|
-
"type": "breadcrumb",
|
|
5376
5504
|
"items": [
|
|
5377
5505
|
{
|
|
5378
5506
|
"href": "/",
|
|
@@ -5381,38 +5509,39 @@
|
|
|
5381
5509
|
{
|
|
5382
5510
|
"label": "Pipeline"
|
|
5383
5511
|
}
|
|
5384
|
-
]
|
|
5512
|
+
],
|
|
5513
|
+
"type": "breadcrumb"
|
|
5385
5514
|
},
|
|
5386
5515
|
{
|
|
5387
|
-
"
|
|
5388
|
-
"gap": "md",
|
|
5516
|
+
"direction": "horizontal",
|
|
5389
5517
|
"type": "stack",
|
|
5518
|
+
"gap": "md",
|
|
5519
|
+
"justify": "between",
|
|
5390
5520
|
"children": [
|
|
5391
5521
|
{
|
|
5522
|
+
"type": "stack",
|
|
5523
|
+
"gap": "md",
|
|
5392
5524
|
"children": [
|
|
5393
5525
|
{
|
|
5394
|
-
"
|
|
5395
|
-
"
|
|
5526
|
+
"type": "icon",
|
|
5527
|
+
"name": "bar-chart-2"
|
|
5396
5528
|
},
|
|
5397
5529
|
{
|
|
5398
5530
|
"variant": "h2",
|
|
5399
|
-
"
|
|
5400
|
-
"
|
|
5531
|
+
"type": "typography",
|
|
5532
|
+
"content": "Pipeline"
|
|
5401
5533
|
}
|
|
5402
5534
|
],
|
|
5403
|
-
"gap": "md",
|
|
5404
|
-
"type": "stack",
|
|
5405
5535
|
"direction": "horizontal"
|
|
5406
5536
|
},
|
|
5407
5537
|
{
|
|
5408
|
-
"action": "REFRESH",
|
|
5409
|
-
"type": "button",
|
|
5410
5538
|
"variant": "secondary",
|
|
5411
5539
|
"icon": "refresh-cw",
|
|
5540
|
+
"type": "button",
|
|
5541
|
+
"action": "REFRESH",
|
|
5412
5542
|
"label": "Refresh"
|
|
5413
5543
|
}
|
|
5414
|
-
]
|
|
5415
|
-
"direction": "horizontal"
|
|
5544
|
+
]
|
|
5416
5545
|
},
|
|
5417
5546
|
{
|
|
5418
5547
|
"type": "divider"
|
|
@@ -5420,35 +5549,35 @@
|
|
|
5420
5549
|
{
|
|
5421
5550
|
"children": [
|
|
5422
5551
|
{
|
|
5552
|
+
"type": "simple-grid",
|
|
5553
|
+
"cols": 3.0,
|
|
5423
5554
|
"children": [
|
|
5424
5555
|
{
|
|
5425
5556
|
"value": "@entity.totalDeals",
|
|
5426
|
-
"
|
|
5427
|
-
"
|
|
5557
|
+
"type": "stat-display",
|
|
5558
|
+
"label": "TotalDeals"
|
|
5428
5559
|
},
|
|
5429
5560
|
{
|
|
5430
|
-
"
|
|
5561
|
+
"type": "stat-display",
|
|
5431
5562
|
"value": "@entity.totalValue",
|
|
5432
|
-
"
|
|
5563
|
+
"label": "TotalValue"
|
|
5433
5564
|
},
|
|
5434
5565
|
{
|
|
5435
|
-
"value": "@entity.wonDeals",
|
|
5436
5566
|
"type": "stat-display",
|
|
5437
|
-
"label": "WonDeals"
|
|
5567
|
+
"label": "WonDeals",
|
|
5568
|
+
"value": "@entity.wonDeals"
|
|
5438
5569
|
},
|
|
5439
5570
|
{
|
|
5440
|
-
"label": "LostDeals",
|
|
5441
5571
|
"type": "stat-display",
|
|
5442
|
-
"value": "@entity.lostDeals"
|
|
5572
|
+
"value": "@entity.lostDeals",
|
|
5573
|
+
"label": "LostDeals"
|
|
5443
5574
|
},
|
|
5444
5575
|
{
|
|
5445
|
-
"
|
|
5576
|
+
"type": "stat-display",
|
|
5446
5577
|
"value": "@entity.conversionRate",
|
|
5447
|
-
"
|
|
5578
|
+
"label": "ConversionRate"
|
|
5448
5579
|
}
|
|
5449
|
-
]
|
|
5450
|
-
"cols": 3.0,
|
|
5451
|
-
"type": "simple-grid"
|
|
5580
|
+
]
|
|
5452
5581
|
}
|
|
5453
5582
|
],
|
|
5454
5583
|
"type": "box",
|
|
@@ -5458,63 +5587,62 @@
|
|
|
5458
5587
|
"type": "divider"
|
|
5459
5588
|
},
|
|
5460
5589
|
{
|
|
5461
|
-
"cols": 2.0,
|
|
5462
5590
|
"type": "grid",
|
|
5591
|
+
"cols": 2.0,
|
|
5592
|
+
"gap": "md",
|
|
5463
5593
|
"children": [
|
|
5464
5594
|
{
|
|
5465
5595
|
"type": "card",
|
|
5466
5596
|
"children": [
|
|
5467
5597
|
{
|
|
5598
|
+
"content": "Chart View",
|
|
5468
5599
|
"variant": "caption",
|
|
5469
|
-
"type": "typography"
|
|
5470
|
-
"content": "Chart View"
|
|
5600
|
+
"type": "typography"
|
|
5471
5601
|
}
|
|
5472
5602
|
]
|
|
5473
5603
|
},
|
|
5474
5604
|
{
|
|
5475
5605
|
"children": [
|
|
5476
5606
|
{
|
|
5477
|
-
"content": "Graph View",
|
|
5478
5607
|
"variant": "caption",
|
|
5608
|
+
"content": "Graph View",
|
|
5479
5609
|
"type": "typography"
|
|
5480
5610
|
}
|
|
5481
5611
|
],
|
|
5482
5612
|
"type": "card"
|
|
5483
5613
|
}
|
|
5484
|
-
]
|
|
5485
|
-
"gap": "md"
|
|
5614
|
+
]
|
|
5486
5615
|
},
|
|
5487
5616
|
{
|
|
5488
5617
|
"type": "line-chart",
|
|
5489
5618
|
"data": [
|
|
5490
5619
|
{
|
|
5491
|
-
"
|
|
5492
|
-
"
|
|
5620
|
+
"value": 12.0,
|
|
5621
|
+
"date": "Jan"
|
|
5493
5622
|
},
|
|
5494
5623
|
{
|
|
5495
|
-
"
|
|
5496
|
-
"
|
|
5624
|
+
"date": "Feb",
|
|
5625
|
+
"value": 19.0
|
|
5497
5626
|
},
|
|
5498
5627
|
{
|
|
5499
|
-
"
|
|
5500
|
-
"
|
|
5628
|
+
"value": 15.0,
|
|
5629
|
+
"date": "Mar"
|
|
5501
5630
|
},
|
|
5502
5631
|
{
|
|
5503
5632
|
"date": "Apr",
|
|
5504
5633
|
"value": 25.0
|
|
5505
5634
|
},
|
|
5506
5635
|
{
|
|
5507
|
-
"
|
|
5508
|
-
"
|
|
5636
|
+
"value": 22.0,
|
|
5637
|
+
"date": "May"
|
|
5509
5638
|
},
|
|
5510
5639
|
{
|
|
5511
|
-
"
|
|
5512
|
-
"
|
|
5640
|
+
"date": "Jun",
|
|
5641
|
+
"value": 30.0
|
|
5513
5642
|
}
|
|
5514
5643
|
]
|
|
5515
5644
|
},
|
|
5516
5645
|
{
|
|
5517
|
-
"type": "chart-legend",
|
|
5518
5646
|
"items": [
|
|
5519
5647
|
{
|
|
5520
5648
|
"color": "primary",
|
|
@@ -5524,9 +5652,13 @@
|
|
|
5524
5652
|
"color": "muted",
|
|
5525
5653
|
"label": "Previous"
|
|
5526
5654
|
}
|
|
5527
|
-
]
|
|
5655
|
+
],
|
|
5656
|
+
"type": "chart-legend"
|
|
5528
5657
|
},
|
|
5529
5658
|
{
|
|
5659
|
+
"width": 400.0,
|
|
5660
|
+
"height": 200.0,
|
|
5661
|
+
"type": "graph-view",
|
|
5530
5662
|
"nodes": [
|
|
5531
5663
|
{
|
|
5532
5664
|
"id": "a",
|
|
@@ -5541,9 +5673,6 @@
|
|
|
5541
5673
|
"label": "End"
|
|
5542
5674
|
}
|
|
5543
5675
|
],
|
|
5544
|
-
"type": "graph-view",
|
|
5545
|
-
"width": 400.0,
|
|
5546
|
-
"height": 200.0,
|
|
5547
5676
|
"edges": [
|
|
5548
5677
|
{
|
|
5549
5678
|
"target": "b",
|
|
@@ -5555,11 +5684,15 @@
|
|
|
5555
5684
|
}
|
|
5556
5685
|
]
|
|
5557
5686
|
}
|
|
5558
|
-
]
|
|
5687
|
+
],
|
|
5688
|
+
"type": "stack"
|
|
5559
5689
|
}
|
|
5560
|
-
]
|
|
5690
|
+
],
|
|
5691
|
+
"type": "scaled-diagram"
|
|
5561
5692
|
}
|
|
5562
5693
|
],
|
|
5694
|
+
"type": "dashboard-layout",
|
|
5695
|
+
"appName": "CRM",
|
|
5563
5696
|
"navItems": [
|
|
5564
5697
|
{
|
|
5565
5698
|
"label": "Contacts",
|
|
@@ -5572,14 +5705,14 @@
|
|
|
5572
5705
|
"label": "Deals"
|
|
5573
5706
|
},
|
|
5574
5707
|
{
|
|
5708
|
+
"label": "Pipeline",
|
|
5575
5709
|
"href": "/pipeline",
|
|
5576
|
-
"icon": "bar-chart-2"
|
|
5577
|
-
"label": "Pipeline"
|
|
5710
|
+
"icon": "bar-chart-2"
|
|
5578
5711
|
},
|
|
5579
5712
|
{
|
|
5580
|
-
"
|
|
5713
|
+
"href": "/notes",
|
|
5581
5714
|
"label": "Notes",
|
|
5582
|
-
"
|
|
5715
|
+
"icon": "file-text"
|
|
5583
5716
|
}
|
|
5584
5717
|
]
|
|
5585
5718
|
}
|
|
@@ -5765,8 +5898,8 @@
|
|
|
5765
5898
|
"Note",
|
|
5766
5899
|
{
|
|
5767
5900
|
"emit": {
|
|
5768
|
-
"
|
|
5769
|
-
"
|
|
5901
|
+
"failure": "NoteLoadFailed",
|
|
5902
|
+
"success": "NoteLoaded"
|
|
5770
5903
|
}
|
|
5771
5904
|
}
|
|
5772
5905
|
],
|
|
@@ -5774,22 +5907,22 @@
|
|
|
5774
5907
|
"render-ui",
|
|
5775
5908
|
"main",
|
|
5776
5909
|
{
|
|
5777
|
-
"direction": "vertical",
|
|
5778
|
-
"type": "stack",
|
|
5779
5910
|
"className": "py-12",
|
|
5911
|
+
"gap": "md",
|
|
5780
5912
|
"children": [
|
|
5781
5913
|
{
|
|
5782
5914
|
"type": "spinner"
|
|
5783
5915
|
},
|
|
5784
5916
|
{
|
|
5785
|
-
"variant": "caption",
|
|
5786
|
-
"color": "muted",
|
|
5787
5917
|
"content": "Loading…",
|
|
5788
|
-
"
|
|
5918
|
+
"color": "muted",
|
|
5919
|
+
"type": "typography",
|
|
5920
|
+
"variant": "caption"
|
|
5789
5921
|
}
|
|
5790
5922
|
],
|
|
5791
|
-
"
|
|
5792
|
-
"
|
|
5923
|
+
"align": "center",
|
|
5924
|
+
"direction": "vertical",
|
|
5925
|
+
"type": "stack"
|
|
5793
5926
|
}
|
|
5794
5927
|
]
|
|
5795
5928
|
]
|
|
@@ -5804,29 +5937,45 @@
|
|
|
5804
5937
|
"main",
|
|
5805
5938
|
{
|
|
5806
5939
|
"appName": "CRM",
|
|
5940
|
+
"type": "dashboard-layout",
|
|
5941
|
+
"navItems": [
|
|
5942
|
+
{
|
|
5943
|
+
"icon": "users",
|
|
5944
|
+
"label": "Contacts",
|
|
5945
|
+
"href": "/contacts"
|
|
5946
|
+
},
|
|
5947
|
+
{
|
|
5948
|
+
"label": "Deals",
|
|
5949
|
+
"icon": "briefcase",
|
|
5950
|
+
"href": "/deals"
|
|
5951
|
+
},
|
|
5952
|
+
{
|
|
5953
|
+
"label": "Pipeline",
|
|
5954
|
+
"href": "/pipeline",
|
|
5955
|
+
"icon": "bar-chart-2"
|
|
5956
|
+
},
|
|
5957
|
+
{
|
|
5958
|
+
"label": "Notes",
|
|
5959
|
+
"href": "/notes",
|
|
5960
|
+
"icon": "file-text"
|
|
5961
|
+
}
|
|
5962
|
+
],
|
|
5807
5963
|
"children": [
|
|
5808
5964
|
{
|
|
5809
|
-
"direction": "vertical",
|
|
5810
|
-
"type": "stack",
|
|
5811
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
5812
|
-
"gap": "lg",
|
|
5813
5965
|
"children": [
|
|
5814
5966
|
{
|
|
5815
|
-
"type": "stack",
|
|
5816
|
-
"justify": "between",
|
|
5817
|
-
"align": "center",
|
|
5818
5967
|
"children": [
|
|
5819
5968
|
{
|
|
5820
5969
|
"type": "stack",
|
|
5821
5970
|
"direction": "horizontal",
|
|
5822
5971
|
"children": [
|
|
5823
5972
|
{
|
|
5824
|
-
"
|
|
5825
|
-
"
|
|
5973
|
+
"name": "file-text",
|
|
5974
|
+
"type": "icon"
|
|
5826
5975
|
},
|
|
5827
5976
|
{
|
|
5828
|
-
"content": "Notes",
|
|
5829
5977
|
"type": "typography",
|
|
5978
|
+
"content": "Notes",
|
|
5830
5979
|
"variant": "h2"
|
|
5831
5980
|
}
|
|
5832
5981
|
],
|
|
@@ -5836,20 +5985,23 @@
|
|
|
5836
5985
|
{
|
|
5837
5986
|
"children": [
|
|
5838
5987
|
{
|
|
5988
|
+
"type": "button",
|
|
5989
|
+
"label": "Compose",
|
|
5839
5990
|
"variant": "primary",
|
|
5840
5991
|
"icon": "edit",
|
|
5841
|
-
"action": "COMPOSE"
|
|
5842
|
-
"type": "button",
|
|
5843
|
-
"label": "Compose"
|
|
5992
|
+
"action": "COMPOSE"
|
|
5844
5993
|
}
|
|
5845
5994
|
],
|
|
5846
5995
|
"gap": "sm",
|
|
5847
|
-
"
|
|
5848
|
-
"
|
|
5996
|
+
"type": "stack",
|
|
5997
|
+
"direction": "horizontal"
|
|
5849
5998
|
}
|
|
5850
5999
|
],
|
|
6000
|
+
"direction": "horizontal",
|
|
6001
|
+
"type": "stack",
|
|
5851
6002
|
"gap": "md",
|
|
5852
|
-
"
|
|
6003
|
+
"justify": "between",
|
|
6004
|
+
"align": "center"
|
|
5853
6005
|
},
|
|
5854
6006
|
{
|
|
5855
6007
|
"type": "divider"
|
|
@@ -5859,56 +6011,37 @@
|
|
|
5859
6011
|
"entity": "@payload.data",
|
|
5860
6012
|
"fields": [
|
|
5861
6013
|
{
|
|
6014
|
+
"icon": "file-text",
|
|
5862
6015
|
"name": "subject",
|
|
5863
|
-
"variant": "h4"
|
|
5864
|
-
"icon": "file-text"
|
|
6016
|
+
"variant": "h4"
|
|
5865
6017
|
},
|
|
5866
6018
|
{
|
|
5867
|
-
"
|
|
5868
|
-
"
|
|
6019
|
+
"variant": "caption",
|
|
6020
|
+
"name": "author"
|
|
5869
6021
|
},
|
|
5870
6022
|
{
|
|
5871
6023
|
"name": "createdAt",
|
|
5872
|
-
"
|
|
5873
|
-
"
|
|
6024
|
+
"variant": "caption",
|
|
6025
|
+
"format": "date"
|
|
5874
6026
|
}
|
|
5875
6027
|
],
|
|
6028
|
+
"variant": "card",
|
|
6029
|
+
"gap": "sm",
|
|
5876
6030
|
"itemActions": [
|
|
5877
6031
|
{
|
|
5878
6032
|
"variant": "ghost",
|
|
5879
6033
|
"label": "View",
|
|
5880
6034
|
"event": "VIEW"
|
|
5881
6035
|
}
|
|
5882
|
-
]
|
|
5883
|
-
"variant": "card",
|
|
5884
|
-
"gap": "sm"
|
|
6036
|
+
]
|
|
5885
6037
|
}
|
|
5886
|
-
]
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
"label": "Contacts",
|
|
5892
|
-
"href": "/contacts",
|
|
5893
|
-
"icon": "users"
|
|
5894
|
-
},
|
|
5895
|
-
{
|
|
5896
|
-
"href": "/deals",
|
|
5897
|
-
"label": "Deals",
|
|
5898
|
-
"icon": "briefcase"
|
|
5899
|
-
},
|
|
5900
|
-
{
|
|
5901
|
-
"icon": "bar-chart-2",
|
|
5902
|
-
"label": "Pipeline",
|
|
5903
|
-
"href": "/pipeline"
|
|
5904
|
-
},
|
|
5905
|
-
{
|
|
5906
|
-
"label": "Notes",
|
|
5907
|
-
"href": "/notes",
|
|
5908
|
-
"icon": "file-text"
|
|
6038
|
+
],
|
|
6039
|
+
"type": "stack",
|
|
6040
|
+
"direction": "vertical",
|
|
6041
|
+
"gap": "lg",
|
|
6042
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
5909
6043
|
}
|
|
5910
|
-
]
|
|
5911
|
-
"type": "dashboard-layout"
|
|
6044
|
+
]
|
|
5912
6045
|
}
|
|
5913
6046
|
]
|
|
5914
6047
|
]
|
|
@@ -5922,36 +6055,36 @@
|
|
|
5922
6055
|
"render-ui",
|
|
5923
6056
|
"main",
|
|
5924
6057
|
{
|
|
6058
|
+
"direction": "vertical",
|
|
5925
6059
|
"gap": "md",
|
|
5926
6060
|
"align": "center",
|
|
5927
|
-
"className": "py-12",
|
|
5928
|
-
"type": "stack",
|
|
5929
|
-
"direction": "vertical",
|
|
5930
6061
|
"children": [
|
|
5931
6062
|
{
|
|
5932
6063
|
"name": "alert-triangle",
|
|
5933
|
-
"
|
|
5934
|
-
"
|
|
6064
|
+
"type": "icon",
|
|
6065
|
+
"color": "destructive"
|
|
5935
6066
|
},
|
|
5936
6067
|
{
|
|
5937
|
-
"type": "typography",
|
|
5938
6068
|
"content": "Failed to load note",
|
|
6069
|
+
"type": "typography",
|
|
5939
6070
|
"variant": "h3"
|
|
5940
6071
|
},
|
|
5941
6072
|
{
|
|
5942
|
-
"variant": "body",
|
|
5943
6073
|
"type": "typography",
|
|
5944
|
-
"
|
|
5945
|
-
"color": "muted"
|
|
6074
|
+
"variant": "body",
|
|
6075
|
+
"color": "muted",
|
|
6076
|
+
"content": "@payload.error"
|
|
5946
6077
|
},
|
|
5947
6078
|
{
|
|
5948
|
-
"type": "button",
|
|
5949
|
-
"label": "Retry",
|
|
5950
6079
|
"action": "INIT",
|
|
5951
6080
|
"icon": "rotate-ccw",
|
|
5952
|
-
"variant": "primary"
|
|
6081
|
+
"variant": "primary",
|
|
6082
|
+
"type": "button",
|
|
6083
|
+
"label": "Retry"
|
|
5953
6084
|
}
|
|
5954
|
-
]
|
|
6085
|
+
],
|
|
6086
|
+
"className": "py-12",
|
|
6087
|
+
"type": "stack"
|
|
5955
6088
|
}
|
|
5956
6089
|
]
|
|
5957
6090
|
]
|
|
@@ -6139,13 +6272,14 @@
|
|
|
6139
6272
|
"modal",
|
|
6140
6273
|
{
|
|
6141
6274
|
"gap": "md",
|
|
6275
|
+
"direction": "vertical",
|
|
6276
|
+
"type": "stack",
|
|
6142
6277
|
"children": [
|
|
6143
6278
|
{
|
|
6144
|
-
"gap": "sm",
|
|
6145
6279
|
"children": [
|
|
6146
6280
|
{
|
|
6147
|
-
"
|
|
6148
|
-
"
|
|
6281
|
+
"name": "edit",
|
|
6282
|
+
"type": "icon"
|
|
6149
6283
|
},
|
|
6150
6284
|
{
|
|
6151
6285
|
"type": "typography",
|
|
@@ -6154,25 +6288,24 @@
|
|
|
6154
6288
|
}
|
|
6155
6289
|
],
|
|
6156
6290
|
"direction": "horizontal",
|
|
6157
|
-
"type": "stack"
|
|
6291
|
+
"type": "stack",
|
|
6292
|
+
"gap": "sm"
|
|
6158
6293
|
},
|
|
6159
6294
|
{
|
|
6160
6295
|
"type": "divider"
|
|
6161
6296
|
},
|
|
6162
6297
|
{
|
|
6163
|
-
"type": "form-section",
|
|
6164
6298
|
"submitEvent": "SEND",
|
|
6299
|
+
"type": "form-section",
|
|
6300
|
+
"mode": "create",
|
|
6165
6301
|
"cancelEvent": "CLOSE",
|
|
6166
6302
|
"fields": [
|
|
6167
6303
|
"subject",
|
|
6168
6304
|
"body",
|
|
6169
6305
|
"author"
|
|
6170
|
-
]
|
|
6171
|
-
"mode": "create"
|
|
6306
|
+
]
|
|
6172
6307
|
}
|
|
6173
|
-
]
|
|
6174
|
-
"type": "stack",
|
|
6175
|
-
"direction": "vertical"
|
|
6308
|
+
]
|
|
6176
6309
|
}
|
|
6177
6310
|
]
|
|
6178
6311
|
]
|
|
@@ -6213,8 +6346,8 @@
|
|
|
6213
6346
|
"@payload.data",
|
|
6214
6347
|
{
|
|
6215
6348
|
"emit": {
|
|
6216
|
-
"
|
|
6217
|
-
"
|
|
6349
|
+
"success": "NoteSaved",
|
|
6350
|
+
"failure": "NoteSaveFailed"
|
|
6218
6351
|
}
|
|
6219
6352
|
}
|
|
6220
6353
|
],
|
|
@@ -6394,67 +6527,66 @@
|
|
|
6394
6527
|
"render-ui",
|
|
6395
6528
|
"modal",
|
|
6396
6529
|
{
|
|
6397
|
-
"gap": "md",
|
|
6398
|
-
"direction": "vertical",
|
|
6399
6530
|
"type": "stack",
|
|
6531
|
+
"direction": "vertical",
|
|
6532
|
+
"gap": "md",
|
|
6400
6533
|
"children": [
|
|
6401
6534
|
{
|
|
6402
6535
|
"direction": "horizontal",
|
|
6403
6536
|
"align": "center",
|
|
6537
|
+
"type": "stack",
|
|
6538
|
+
"gap": "sm",
|
|
6404
6539
|
"children": [
|
|
6405
6540
|
{
|
|
6406
6541
|
"type": "icon",
|
|
6407
6542
|
"name": "eye"
|
|
6408
6543
|
},
|
|
6409
6544
|
{
|
|
6410
|
-
"content": "@entity.subject",
|
|
6411
6545
|
"variant": "h3",
|
|
6412
|
-
"type": "typography"
|
|
6546
|
+
"type": "typography",
|
|
6547
|
+
"content": "@entity.subject"
|
|
6413
6548
|
}
|
|
6414
|
-
]
|
|
6415
|
-
"type": "stack",
|
|
6416
|
-
"gap": "sm"
|
|
6549
|
+
]
|
|
6417
6550
|
},
|
|
6418
6551
|
{
|
|
6419
6552
|
"type": "divider"
|
|
6420
6553
|
},
|
|
6421
6554
|
{
|
|
6422
|
-
"type": "stack",
|
|
6423
|
-
"direction": "horizontal",
|
|
6424
|
-
"gap": "md",
|
|
6425
6555
|
"children": [
|
|
6426
6556
|
{
|
|
6427
|
-
"variant": "caption",
|
|
6428
6557
|
"type": "typography",
|
|
6429
|
-
"content": "Subject"
|
|
6558
|
+
"content": "Subject",
|
|
6559
|
+
"variant": "caption"
|
|
6430
6560
|
},
|
|
6431
6561
|
{
|
|
6432
6562
|
"variant": "body",
|
|
6433
|
-
"
|
|
6434
|
-
"
|
|
6563
|
+
"content": "@entity.subject",
|
|
6564
|
+
"type": "typography"
|
|
6435
6565
|
}
|
|
6436
|
-
]
|
|
6566
|
+
],
|
|
6567
|
+
"gap": "md",
|
|
6568
|
+
"direction": "horizontal",
|
|
6569
|
+
"type": "stack"
|
|
6437
6570
|
},
|
|
6438
6571
|
{
|
|
6439
6572
|
"gap": "md",
|
|
6440
6573
|
"type": "stack",
|
|
6574
|
+
"direction": "horizontal",
|
|
6441
6575
|
"children": [
|
|
6442
6576
|
{
|
|
6577
|
+
"content": "Body",
|
|
6443
6578
|
"type": "typography",
|
|
6444
|
-
"variant": "caption"
|
|
6445
|
-
"content": "Body"
|
|
6579
|
+
"variant": "caption"
|
|
6446
6580
|
},
|
|
6447
6581
|
{
|
|
6448
|
-
"type": "typography",
|
|
6449
6582
|
"variant": "body",
|
|
6583
|
+
"type": "typography",
|
|
6450
6584
|
"content": "@entity.body"
|
|
6451
6585
|
}
|
|
6452
|
-
]
|
|
6453
|
-
"direction": "horizontal"
|
|
6586
|
+
]
|
|
6454
6587
|
},
|
|
6455
6588
|
{
|
|
6456
|
-
"
|
|
6457
|
-
"gap": "md",
|
|
6589
|
+
"type": "stack",
|
|
6458
6590
|
"children": [
|
|
6459
6591
|
{
|
|
6460
6592
|
"type": "typography",
|
|
@@ -6462,46 +6594,47 @@
|
|
|
6462
6594
|
"content": "Author"
|
|
6463
6595
|
},
|
|
6464
6596
|
{
|
|
6597
|
+
"variant": "body",
|
|
6465
6598
|
"content": "@entity.author",
|
|
6466
|
-
"type": "typography"
|
|
6467
|
-
"variant": "body"
|
|
6599
|
+
"type": "typography"
|
|
6468
6600
|
}
|
|
6469
6601
|
],
|
|
6470
|
-
"
|
|
6602
|
+
"direction": "horizontal",
|
|
6603
|
+
"gap": "md"
|
|
6471
6604
|
},
|
|
6472
6605
|
{
|
|
6473
|
-
"gap": "md",
|
|
6474
6606
|
"type": "stack",
|
|
6475
|
-
"direction": "horizontal",
|
|
6476
6607
|
"children": [
|
|
6477
6608
|
{
|
|
6609
|
+
"type": "typography",
|
|
6478
6610
|
"variant": "caption",
|
|
6479
|
-
"content": "Created At"
|
|
6480
|
-
"type": "typography"
|
|
6611
|
+
"content": "Created At"
|
|
6481
6612
|
},
|
|
6482
6613
|
{
|
|
6483
|
-
"type": "typography",
|
|
6484
6614
|
"variant": "body",
|
|
6485
|
-
"content": "@entity.createdAt"
|
|
6615
|
+
"content": "@entity.createdAt",
|
|
6616
|
+
"type": "typography"
|
|
6486
6617
|
}
|
|
6487
|
-
]
|
|
6618
|
+
],
|
|
6619
|
+
"gap": "md",
|
|
6620
|
+
"direction": "horizontal"
|
|
6488
6621
|
},
|
|
6489
6622
|
{
|
|
6490
6623
|
"type": "divider"
|
|
6491
6624
|
},
|
|
6492
6625
|
{
|
|
6493
|
-
"direction": "horizontal",
|
|
6494
|
-
"justify": "end",
|
|
6495
|
-
"type": "stack",
|
|
6496
6626
|
"gap": "sm",
|
|
6497
6627
|
"children": [
|
|
6498
6628
|
{
|
|
6499
|
-
"label": "Close",
|
|
6500
6629
|
"type": "button",
|
|
6630
|
+
"action": "CLOSE",
|
|
6501
6631
|
"variant": "ghost",
|
|
6502
|
-
"
|
|
6632
|
+
"label": "Close"
|
|
6503
6633
|
}
|
|
6504
|
-
]
|
|
6634
|
+
],
|
|
6635
|
+
"direction": "horizontal",
|
|
6636
|
+
"justify": "end",
|
|
6637
|
+
"type": "stack"
|
|
6505
6638
|
}
|
|
6506
6639
|
]
|
|
6507
6640
|
}
|