@planeasyinc/le-core 0.0.1 → 0.0.3

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.
@@ -1,1020 +0,0 @@
1
- export default {
2
- title: 'PlanEasy Portal',
3
- elements: [
4
- {
5
- type: 'section',
6
- id: null,
7
- chart_type: null,
8
- columns: null,
9
- rows: null,
10
- title: 'Dashboard',
11
- elements: [
12
- {
13
- type: 'form',
14
- id: null,
15
- chart_type: null,
16
- columns: null,
17
- rows: null,
18
- title: 'Welcome',
19
- elements: null,
20
- control_source: {
21
- type: 'dynamic',
22
- static_value: null,
23
- dynamic_value: {
24
- type: 'transaction',
25
- method_type: null,
26
- entity_name: 'get_dashboard_form',
27
- query_params: null,
28
- body: null,
29
- },
30
- },
31
- data_source: null,
32
- on_row_click: null,
33
- table_actions: null,
34
- pagination: null,
35
- sort: null,
36
- },
37
- ],
38
- control_source: null,
39
- data_source: null,
40
- on_row_click: null,
41
- table_actions: null,
42
- pagination: null,
43
- sort: null,
44
- },
45
- {
46
- type: 'table',
47
- id: 'applications',
48
- chart_type: null,
49
- columns: null,
50
- rows: null,
51
- title: 'Applications',
52
- elements: null,
53
- control_source: null,
54
- data_source: {
55
- type: 'transaction',
56
- method_type: null,
57
- entity_name: 'get_all_applications_table',
58
- query_params: null,
59
- body: null,
60
- },
61
- on_row_click: [
62
- {
63
- type: 'update_form',
64
- control_source: {
65
- type: 'dynamic',
66
- static_value: null,
67
- dynamic_value: {
68
- type: 'transaction',
69
- method_type: null,
70
- entity_name: 'get_customer_application_form',
71
- query_params: null,
72
- body: {
73
- application_id: '{row.partition_key}',
74
- },
75
- },
76
- },
77
- },
78
- ],
79
- table_actions: [
80
- {
81
- id: null,
82
- type: 'button',
83
- name: 'new_application_button',
84
- label: 'New Application',
85
- required: null,
86
- hideLabel: true,
87
- actions: [
88
- {
89
- type: 'update_form',
90
- control_source: {
91
- type: 'dynamic',
92
- static_value: null,
93
- dynamic_value: {
94
- type: 'transaction',
95
- method_type: null,
96
- entity_name: 'get_customer_application_form',
97
- query_params: null,
98
- body: {
99
- force_new: true,
100
- },
101
- },
102
- },
103
- },
104
- ],
105
- on_enter: null,
106
- validators: null,
107
- asyncValidators: null,
108
- activators: null,
109
- additionalText: null,
110
- value: null,
111
- placeholder: null,
112
- options: null,
113
- mask: null,
114
- controls: null,
115
- showSearch: null,
116
- sliderOptions: null,
117
- customLabel: null,
118
- control: null,
119
- entityType: null,
120
- condition: null,
121
- additional_styles: null,
122
- override_styles: null,
123
- hide_default_buttons: false,
124
- },
125
- ],
126
- pagination: null,
127
- sort: null,
128
- },
129
- {
130
- type: 'section',
131
- id: null,
132
- chart_type: null,
133
- columns: null,
134
- rows: null,
135
- title: 'Profile',
136
- elements: [
137
- {
138
- type: 'form',
139
- id: 'profile',
140
- chart_type: null,
141
- columns: null,
142
- rows: null,
143
- title: 'My Profile',
144
- elements: null,
145
- control_source: {
146
- type: 'dynamic',
147
- static_value: null,
148
- dynamic_value: {
149
- type: 'transaction',
150
- method_type: null,
151
- entity_name: 'get_profile',
152
- query_params: null,
153
- body: null,
154
- },
155
- },
156
- data_source: null,
157
- on_row_click: null,
158
- table_actions: null,
159
- pagination: null,
160
- sort: null,
161
- },
162
- {
163
- type: 'form',
164
- id: null,
165
- chart_type: null,
166
- columns: null,
167
- rows: null,
168
- title: 'Security',
169
- elements: null,
170
- control_source: {
171
- type: 'dynamic',
172
- static_value: null,
173
- dynamic_value: {
174
- type: 'transaction',
175
- method_type: null,
176
- entity_name: 'get_security',
177
- query_params: null,
178
- body: null,
179
- },
180
- },
181
- data_source: null,
182
- on_row_click: null,
183
- table_actions: null,
184
- pagination: null,
185
- sort: null,
186
- },
187
- ],
188
- control_source: null,
189
- data_source: null,
190
- on_row_click: null,
191
- table_actions: null,
192
- pagination: null,
193
- sort: null,
194
- },
195
- {
196
- type: 'section',
197
- id: null,
198
- chart_type: null,
199
- columns: null,
200
- rows: null,
201
- title: 'Secure Messaging',
202
- elements: [
203
- {
204
- type: 'form',
205
- id: 'secure_messaging',
206
- chart_type: null,
207
- columns: null,
208
- rows: null,
209
- title: 'Inbox',
210
- elements: null,
211
- control_source: {
212
- type: 'dynamic',
213
- static_value: null,
214
- dynamic_value: {
215
- type: 'transaction',
216
- method_type: null,
217
- entity_name: 'get_secure_messages_form',
218
- query_params: null,
219
- body: null,
220
- },
221
- },
222
- data_source: null,
223
- on_row_click: null,
224
- table_actions: null,
225
- pagination: null,
226
- sort: null,
227
- },
228
- {
229
- type: 'table',
230
- id: null,
231
- chart_type: null,
232
- columns: null,
233
- rows: null,
234
- title: 'Select Chat From Admin',
235
- elements: null,
236
- control_source: null,
237
- data_source: {
238
- type: 'transaction',
239
- method_type: null,
240
- entity_name: 'get_secure_chats_admin_table',
241
- query_params: null,
242
- body: null,
243
- },
244
- on_row_click: [
245
- {
246
- type: 'update_form',
247
- control_source: {
248
- type: 'dynamic',
249
- static_value: null,
250
- dynamic_value: {
251
- type: 'transaction',
252
- method_type: null,
253
- entity_name: 'get_secure_messages_admin_form',
254
- query_params: null,
255
- body: {
256
- user_object_id: '{row.object_id}',
257
- },
258
- },
259
- },
260
- },
261
- ],
262
- table_actions: null,
263
- pagination: null,
264
- sort: null,
265
- },
266
- ],
267
- control_source: null,
268
- data_source: null,
269
- on_row_click: null,
270
- table_actions: null,
271
- pagination: null,
272
- sort: null,
273
- },
274
- {
275
- type: 'section',
276
- id: 'leads',
277
- chart_type: null,
278
- columns: null,
279
- rows: null,
280
- title: 'Leads',
281
- elements: [
282
- {
283
- type: 'section',
284
- id: 'required_activities',
285
- chart_type: null,
286
- columns: null,
287
- rows: null,
288
- title: 'Required Activities',
289
- elements: [
290
- {
291
- type: 'table',
292
- id: null,
293
- chart_type: null,
294
- columns: null,
295
- rows: null,
296
- title: 'Required Activities',
297
- elements: null,
298
- control_source: null,
299
- data_source: {
300
- type: 'transaction',
301
- method_type: null,
302
- entity_name: 'get_activities_table',
303
- query_params: null,
304
- body: null,
305
- },
306
- on_row_click: [
307
- {
308
- type: 'update_form',
309
- control_source: {
310
- type: 'dynamic',
311
- static_value: null,
312
- dynamic_value: {
313
- type: 'transaction',
314
- method_type: null,
315
- entity_name: 'get_activity_action_form',
316
- query_params: null,
317
- body: {
318
- deal_id: '{row.deal_id}',
319
- activity_id: '{row.activity_id}',
320
- activity_type: '{row.activity_type}',
321
- },
322
- },
323
- },
324
- },
325
- ],
326
- table_actions: null,
327
- pagination: null,
328
- sort: null,
329
- },
330
- ],
331
- control_source: null,
332
- data_source: null,
333
- on_row_click: null,
334
- table_actions: null,
335
- pagination: null,
336
- sort: null,
337
- },
338
- {
339
- type: 'table',
340
- id: null,
341
- chart_type: null,
342
- columns: null,
343
- rows: null,
344
- title: 'All Leads',
345
- elements: null,
346
- control_source: null,
347
- data_source: {
348
- type: 'transaction',
349
- method_type: null,
350
- entity_name: 'get_leads',
351
- query_params: null,
352
- body: null,
353
- },
354
- on_row_click: [
355
- {
356
- type: 'update_form',
357
- control_source: {
358
- type: 'dynamic',
359
- static_value: null,
360
- dynamic_value: {
361
- type: 'transaction',
362
- method_type: null,
363
- entity_name: 'get_lead_detail_form',
364
- query_params: null,
365
- body: {
366
- deal_id: '{row.partition_key}',
367
- },
368
- },
369
- },
370
- },
371
- ],
372
- table_actions: null,
373
- pagination: {
374
- enabled: true,
375
- default_page_size: 50,
376
- page_size_options: [25, 50, 100],
377
- },
378
- sort: {
379
- enabled: true,
380
- default_sort: [],
381
- sortable_fields: [
382
- 'contact_name',
383
- 'email',
384
- 'source',
385
- 'stage_name',
386
- 'next_action_date',
387
- 'created_at',
388
- 'deal_amount',
389
- ],
390
- },
391
- },
392
- {
393
- type: 'section',
394
- id: 'all_activities',
395
- chart_type: null,
396
- columns: null,
397
- rows: null,
398
- title: 'Activity History',
399
- elements: [
400
- {
401
- type: 'table',
402
- id: null,
403
- chart_type: null,
404
- columns: null,
405
- rows: null,
406
- title: 'All Activities',
407
- elements: null,
408
- control_source: null,
409
- data_source: {
410
- type: 'transaction',
411
- method_type: null,
412
- entity_name: 'get_all_activities_table',
413
- query_params: null,
414
- body: null,
415
- },
416
- on_row_click: [
417
- {
418
- type: 'update_form',
419
- control_source: {
420
- type: 'dynamic',
421
- static_value: null,
422
- dynamic_value: {
423
- type: 'transaction',
424
- method_type: null,
425
- entity_name: 'get_activity_detail_form',
426
- query_params: null,
427
- body: {
428
- activity_id: '{row.activity_id}',
429
- activity_type: '{row.activity_type}',
430
- },
431
- },
432
- },
433
- },
434
- ],
435
- table_actions: null,
436
- pagination: {
437
- enabled: true,
438
- default_page_size: 50,
439
- page_size_options: [25, 50, 100],
440
- },
441
- sort: {
442
- enabled: true,
443
- default_sort: ['-created_at'],
444
- sortable_fields: [
445
- 'created_at',
446
- 'contact_name',
447
- 'deal_name',
448
- 'activity_type',
449
- 'subject',
450
- 'is_completed',
451
- ],
452
- },
453
- },
454
- ],
455
- control_source: null,
456
- data_source: null,
457
- on_row_click: null,
458
- table_actions: null,
459
- pagination: null,
460
- sort: null,
461
- },
462
- {
463
- type: 'form',
464
- id: null,
465
- chart_type: null,
466
- columns: null,
467
- rows: null,
468
- title: 'Create Lead',
469
- elements: null,
470
- control_source: {
471
- type: 'dynamic',
472
- static_value: null,
473
- dynamic_value: {
474
- type: 'transaction',
475
- method_type: null,
476
- entity_name: 'get_create_lead_form',
477
- query_params: null,
478
- body: null,
479
- },
480
- },
481
- data_source: null,
482
- on_row_click: null,
483
- table_actions: null,
484
- pagination: null,
485
- sort: null,
486
- },
487
- ],
488
- control_source: null,
489
- data_source: null,
490
- on_row_click: null,
491
- table_actions: null,
492
- pagination: null,
493
- sort: null,
494
- },
495
- {
496
- type: 'section',
497
- id: null,
498
- chart_type: null,
499
- columns: null,
500
- rows: null,
501
- title: 'Deals Pipeline',
502
- elements: [
503
- {
504
- type: 'table',
505
- id: null,
506
- chart_type: null,
507
- columns: null,
508
- rows: null,
509
- title: 'All Deals',
510
- elements: null,
511
- control_source: null,
512
- data_source: {
513
- type: 'transaction',
514
- method_type: null,
515
- entity_name: 'get_all_deals',
516
- query_params: null,
517
- body: null,
518
- },
519
- on_row_click: null,
520
- table_actions: null,
521
- pagination: null,
522
- sort: null,
523
- },
524
- {
525
- type: 'table',
526
- id: null,
527
- chart_type: null,
528
- columns: null,
529
- rows: null,
530
- title: 'Won Deals',
531
- elements: null,
532
- control_source: null,
533
- data_source: {
534
- type: 'transaction',
535
- method_type: null,
536
- entity_name: 'get_won_deals',
537
- query_params: null,
538
- body: null,
539
- },
540
- on_row_click: null,
541
- table_actions: null,
542
- pagination: null,
543
- sort: null,
544
- },
545
- ],
546
- control_source: null,
547
- data_source: null,
548
- on_row_click: null,
549
- table_actions: null,
550
- pagination: null,
551
- sort: null,
552
- },
553
- {
554
- type: 'section',
555
- id: null,
556
- chart_type: null,
557
- columns: null,
558
- rows: null,
559
- title: 'Policies',
560
- elements: [
561
- {
562
- type: 'form',
563
- id: null,
564
- chart_type: null,
565
- columns: null,
566
- rows: null,
567
- title: 'Create Policy',
568
- elements: null,
569
- control_source: {
570
- type: 'dynamic',
571
- static_value: null,
572
- dynamic_value: {
573
- type: 'transaction',
574
- method_type: null,
575
- entity_name: 'get_policy_form',
576
- query_params: null,
577
- body: null,
578
- },
579
- },
580
- data_source: null,
581
- on_row_click: null,
582
- table_actions: null,
583
- pagination: null,
584
- sort: null,
585
- },
586
- {
587
- type: 'table',
588
- id: 'policies',
589
- chart_type: null,
590
- columns: null,
591
- rows: null,
592
- title: 'All Policies',
593
- elements: null,
594
- control_source: null,
595
- data_source: {
596
- type: 'transaction',
597
- method_type: null,
598
- entity_name: 'get_all_policies',
599
- query_params: null,
600
- body: null,
601
- },
602
- on_row_click: [
603
- {
604
- type: 'update_form',
605
- control_source: {
606
- type: 'dynamic',
607
- static_value: null,
608
- dynamic_value: {
609
- type: 'transaction',
610
- method_type: null,
611
- entity_name: 'get_policy_form',
612
- query_params: null,
613
- body: {
614
- policy_id: '{row.partition_key}',
615
- },
616
- },
617
- },
618
- },
619
- ],
620
- table_actions: [
621
- {
622
- id: null,
623
- type: 'button',
624
- name: 'create_policy',
625
- label: 'Create New',
626
- required: null,
627
- hideLabel: true,
628
- actions: [
629
- {
630
- type: 'update_form',
631
- control_source: {
632
- type: 'dynamic',
633
- static_value: null,
634
- dynamic_value: {
635
- type: 'transaction',
636
- method_type: null,
637
- entity_name: 'get_policy_form',
638
- query_params: null,
639
- body: null,
640
- },
641
- },
642
- },
643
- ],
644
- on_enter: null,
645
- validators: null,
646
- asyncValidators: null,
647
- activators: null,
648
- additionalText: null,
649
- value: null,
650
- placeholder: null,
651
- options: null,
652
- mask: null,
653
- controls: null,
654
- showSearch: null,
655
- sliderOptions: null,
656
- customLabel: null,
657
- control: null,
658
- entityType: null,
659
- condition: null,
660
- additional_styles: null,
661
- override_styles: null,
662
- hide_default_buttons: false,
663
- },
664
- ],
665
- pagination: null,
666
- sort: null,
667
- },
668
- {
669
- type: 'table',
670
- id: null,
671
- chart_type: null,
672
- columns: null,
673
- rows: null,
674
- title: 'Pending Policies',
675
- elements: null,
676
- control_source: null,
677
- data_source: {
678
- type: 'transaction',
679
- method_type: null,
680
- entity_name: 'get_pending_policies',
681
- query_params: null,
682
- body: null,
683
- },
684
- on_row_click: [
685
- {
686
- type: 'update_form',
687
- control_source: {
688
- type: 'dynamic',
689
- static_value: null,
690
- dynamic_value: {
691
- type: 'transaction',
692
- method_type: null,
693
- entity_name: 'get_policy_form',
694
- query_params: null,
695
- body: {
696
- policy_id: '{row.partition_key}',
697
- },
698
- },
699
- },
700
- },
701
- ],
702
- table_actions: null,
703
- pagination: null,
704
- sort: null,
705
- },
706
- ],
707
- control_source: null,
708
- data_source: null,
709
- on_row_click: null,
710
- table_actions: null,
711
- pagination: null,
712
- sort: null,
713
- },
714
- {
715
- type: 'section',
716
- id: null,
717
- chart_type: null,
718
- columns: null,
719
- rows: null,
720
- title: 'Transactions',
721
- elements: [
722
- {
723
- type: 'table',
724
- id: null,
725
- chart_type: null,
726
- columns: null,
727
- rows: null,
728
- title: 'All Transactions',
729
- elements: null,
730
- control_source: null,
731
- data_source: {
732
- type: 'transaction',
733
- method_type: null,
734
- entity_name: 'get_all_transactions',
735
- query_params: null,
736
- body: null,
737
- },
738
- on_row_click: null,
739
- table_actions: null,
740
- pagination: {
741
- enabled: true,
742
- default_page_size: 50,
743
- page_size_options: [25, 50, 100],
744
- },
745
- sort: {
746
- enabled: true,
747
- default_sort: ['-transaction_date'],
748
- sortable_fields: [
749
- 'transaction_date',
750
- 'amount',
751
- 'number',
752
- 'transaction_type',
753
- 'account_full_name',
754
- 'distribution_account',
755
- 'cleared',
756
- ],
757
- },
758
- },
759
- {
760
- type: 'table',
761
- id: null,
762
- chart_type: null,
763
- columns: null,
764
- rows: null,
765
- title: 'Deposits',
766
- elements: null,
767
- control_source: null,
768
- data_source: {
769
- type: 'transaction',
770
- method_type: null,
771
- entity_name: 'get_deposit_transactions',
772
- query_params: null,
773
- body: null,
774
- },
775
- on_row_click: null,
776
- table_actions: null,
777
- pagination: null,
778
- sort: null,
779
- },
780
- {
781
- type: 'table',
782
- id: null,
783
- chart_type: null,
784
- columns: null,
785
- rows: null,
786
- title: 'Withdrawals',
787
- elements: null,
788
- control_source: null,
789
- data_source: {
790
- type: 'transaction',
791
- method_type: null,
792
- entity_name: 'get_withdrawal_transactions',
793
- query_params: null,
794
- body: null,
795
- },
796
- on_row_click: null,
797
- table_actions: null,
798
- pagination: null,
799
- sort: null,
800
- },
801
- {
802
- type: 'form',
803
- id: null,
804
- chart_type: null,
805
- columns: null,
806
- rows: null,
807
- title: 'Create Transaction',
808
- elements: null,
809
- control_source: {
810
- type: 'dynamic',
811
- static_value: null,
812
- dynamic_value: {
813
- type: 'transaction',
814
- method_type: null,
815
- entity_name: 'get_transaction_form',
816
- query_params: null,
817
- body: null,
818
- },
819
- },
820
- data_source: null,
821
- on_row_click: null,
822
- table_actions: null,
823
- pagination: null,
824
- sort: null,
825
- },
826
- ],
827
- control_source: null,
828
- data_source: null,
829
- on_row_click: null,
830
- table_actions: null,
831
- pagination: null,
832
- sort: null,
833
- },
834
- {
835
- type: 'section',
836
- id: null,
837
- chart_type: null,
838
- columns: null,
839
- rows: null,
840
- title: 'Commissions',
841
- elements: [
842
- {
843
- type: 'table',
844
- id: null,
845
- chart_type: null,
846
- columns: null,
847
- rows: null,
848
- title: 'All Commissions',
849
- elements: null,
850
- control_source: null,
851
- data_source: {
852
- type: 'transaction',
853
- method_type: null,
854
- entity_name: 'get_all_commissions',
855
- query_params: null,
856
- body: null,
857
- },
858
- on_row_click: null,
859
- table_actions: null,
860
- pagination: null,
861
- sort: null,
862
- },
863
- ],
864
- control_source: null,
865
- data_source: null,
866
- on_row_click: null,
867
- table_actions: null,
868
- pagination: null,
869
- sort: null,
870
- },
871
- {
872
- type: 'section',
873
- id: null,
874
- chart_type: null,
875
- columns: null,
876
- rows: null,
877
- title: 'Users',
878
- elements: [
879
- {
880
- type: 'table',
881
- id: null,
882
- chart_type: null,
883
- columns: null,
884
- rows: null,
885
- title: 'All Users',
886
- elements: null,
887
- control_source: null,
888
- data_source: {
889
- type: 'transaction',
890
- method_type: null,
891
- entity_name: 'get_all_users_table',
892
- query_params: null,
893
- body: null,
894
- },
895
- on_row_click: [
896
- {
897
- type: 'update_form',
898
- control_source: {
899
- type: 'dynamic',
900
- static_value: null,
901
- dynamic_value: {
902
- type: 'transaction',
903
- method_type: null,
904
- entity_name: 'get_user_detail_form',
905
- query_params: null,
906
- body: {
907
- user_object_id: '{row.object_id}',
908
- },
909
- },
910
- },
911
- },
912
- ],
913
- table_actions: null,
914
- pagination: null,
915
- sort: null,
916
- },
917
- ],
918
- control_source: null,
919
- data_source: null,
920
- on_row_click: null,
921
- table_actions: null,
922
- pagination: null,
923
- sort: null,
924
- },
925
- {
926
- type: 'grid',
927
- id: null,
928
- chart_type: null,
929
- columns: 2,
930
- rows: 1,
931
- title: 'Transaction Overview',
932
- elements: [
933
- {
934
- type: 'grid_col',
935
- id: null,
936
- chart_type: null,
937
- columns: null,
938
- rows: null,
939
- title: null,
940
- elements: [
941
- {
942
- type: 'chart',
943
- id: null,
944
- chart_type: 'bar',
945
- columns: null,
946
- rows: null,
947
- title: 'Monthly Transactions',
948
- elements: null,
949
- control_source: null,
950
- data_source: {
951
- type: 'class',
952
- method_type: null,
953
- entity_name: 'PaymentTransaction',
954
- query_params: null,
955
- body: null,
956
- },
957
- on_row_click: null,
958
- table_actions: null,
959
- pagination: null,
960
- sort: null,
961
- },
962
- ],
963
- control_source: null,
964
- data_source: null,
965
- on_row_click: null,
966
- table_actions: null,
967
- pagination: null,
968
- sort: null,
969
- },
970
- {
971
- type: 'grid_col',
972
- id: null,
973
- chart_type: null,
974
- columns: null,
975
- rows: null,
976
- title: null,
977
- elements: [
978
- {
979
- type: 'table',
980
- id: null,
981
- chart_type: null,
982
- columns: null,
983
- rows: null,
984
- title: null,
985
- elements: null,
986
- control_source: null,
987
- data_source: {
988
- type: 'transaction',
989
- method_type: null,
990
- entity_name: 'GetSplitTransactions',
991
- query_params: null,
992
- body: {
993
- transaction_type: 'deposit',
994
- },
995
- },
996
- on_row_click: null,
997
- table_actions: null,
998
- pagination: null,
999
- sort: null,
1000
- },
1001
- ],
1002
- control_source: null,
1003
- data_source: null,
1004
- on_row_click: null,
1005
- table_actions: null,
1006
- pagination: null,
1007
- sort: null,
1008
- },
1009
- ],
1010
- control_source: null,
1011
- data_source: null,
1012
- on_row_click: null,
1013
- table_actions: null,
1014
- pagination: null,
1015
- sort: null,
1016
- },
1017
- ],
1018
- custom_css: '.ant-checkbox-wrapper > span:not(.ant-checkbox) { font-size: 11px !important; }',
1019
- };
1020
- //# sourceMappingURL=config.mock.js.map