@almadar/std 14.15.1 → 14.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  2. package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  3. package/behaviors/registry/app/atoms/std-dunning.orb +72 -76
  4. package/behaviors/registry/app/atoms/std-event.orb +62 -62
  5. package/behaviors/registry/app/atoms/std-flag.orb +72 -72
  6. package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  7. package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  8. package/behaviors/registry/app/atoms/std-invoice.orb +193 -65
  9. package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  10. package/behaviors/registry/app/atoms/std-menu.orb +44 -44
  11. package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  12. package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  13. package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  14. package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  15. package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  16. package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  17. package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  18. package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  19. package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  20. package/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  21. package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  22. package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  23. package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  24. package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  25. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  26. package/behaviors/registry/app/atoms/std-thread.orb +59 -59
  27. package/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  28. package/behaviors/registry/app/atoms/std-trial.orb +67 -67
  29. package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  30. package/behaviors/registry/app/atoms/std-vote.orb +40 -40
  31. package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  32. package/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  33. package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  34. package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  35. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  36. package/behaviors/registry/app/organisms/std-cms.orb +265 -265
  37. package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  38. package/behaviors/registry/app/organisms/std-crm.orb +258 -258
  39. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  40. package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  41. package/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  42. package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  43. package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  44. package/behaviors/registry/app/organisms/std-forum.orb +141 -141
  45. package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  46. package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  47. package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  48. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  49. package/behaviors/registry/app/organisms/std-listings.orb +157 -157
  50. package/behaviors/registry/app/organisms/std-lms.orb +422 -422
  51. package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  52. package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  53. package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  54. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  55. package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  56. package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  57. package/behaviors/registry/app/organisms/std-survey.orb +122 -122
  58. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  59. package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  60. package/dist/behaviors/behaviors-registry.json +1 -1
  61. package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
  62. package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
  63. package/dist/behaviors/registry/app/atoms/std-dunning.orb +72 -76
  64. package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
  65. package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
  66. package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
  67. package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
  68. package/dist/behaviors/registry/app/atoms/std-invoice.orb +193 -65
  69. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
  70. package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
  71. package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
  72. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
  73. package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
  74. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
  75. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
  76. package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
  77. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
  78. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
  79. package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
  80. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +49 -49
  81. package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
  82. package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
  83. package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
  84. package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
  85. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
  86. package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
  87. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +53 -53
  88. package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
  89. package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
  90. package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
  91. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
  92. package/dist/behaviors/registry/app/atoms/std-work-order.orb +48 -48
  93. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
  94. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
  95. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
  96. package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
  97. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
  98. package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
  99. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
  100. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
  101. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +217 -217
  102. package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
  103. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
  104. package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
  105. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
  106. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
  107. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
  108. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
  109. package/dist/behaviors/registry/app/organisms/std-listings.orb +157 -157
  110. package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
  111. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
  112. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
  113. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
  114. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +134 -134
  115. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
  116. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
  117. package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
  118. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
  119. package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
  120. package/dist/behaviors-registry.json +1 -1
  121. package/package.json +1 -1
@@ -101,7 +101,7 @@
101
101
  "ref": "AppShell.traits.AppLayout",
102
102
  "name": "ContactAppLayout",
103
103
  "config": {
104
- "appName": "CRM",
104
+ "contentTrait": "@trait.ContactCatalog",
105
105
  "navItems": [
106
106
  {
107
107
  "href": "/contacts",
@@ -109,14 +109,14 @@
109
109
  "icon": "users"
110
110
  },
111
111
  {
112
- "icon": "briefcase",
112
+ "href": "/deals",
113
113
  "label": "Deals",
114
- "href": "/deals"
114
+ "icon": "briefcase"
115
115
  },
116
116
  {
117
+ "icon": "bar-chart-2",
117
118
  "label": "Pipeline",
118
- "href": "/pipeline",
119
- "icon": "bar-chart-2"
119
+ "href": "/pipeline"
120
120
  },
121
121
  {
122
122
  "icon": "file-text",
@@ -124,10 +124,10 @@
124
124
  "label": "Notes"
125
125
  }
126
126
  ],
127
- "contentTrait": "@trait.ContactCatalog",
128
127
  "searchEvent": "CONTACT_SEARCH",
129
128
  "notifications": [],
130
- "notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN"
129
+ "notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN",
130
+ "appName": "CRM"
131
131
  },
132
132
  "events": {
133
133
  "SEARCH": "CONTACT_SEARCH",
@@ -230,62 +230,62 @@
230
230
  "render-ui",
231
231
  "main",
232
232
  {
233
- "gap": "lg",
234
- "type": "stack",
235
233
  "direction": "vertical",
234
+ "type": "stack",
235
+ "gap": "lg",
236
236
  "children": [
237
237
  {
238
- "align": "center",
239
- "type": "stack",
240
238
  "children": [
241
239
  {
240
+ "gap": "sm",
241
+ "direction": "horizontal",
242
+ "type": "stack",
242
243
  "align": "center",
243
244
  "children": [
244
245
  {
245
- "type": "icon",
246
- "name": "user"
246
+ "name": "user",
247
+ "type": "icon"
247
248
  },
248
249
  {
249
- "type": "typography",
250
250
  "variant": "h2",
251
- "content": "Contacts"
251
+ "content": "Contacts",
252
+ "type": "typography"
252
253
  }
253
- ],
254
- "type": "stack",
255
- "direction": "horizontal",
256
- "gap": "sm"
254
+ ]
257
255
  },
258
256
  {
257
+ "type": "stack",
258
+ "gap": "sm",
259
259
  "direction": "horizontal",
260
260
  "children": [
261
261
  {
262
262
  "label": "New Contact",
263
263
  "type": "button",
264
- "variant": "primary",
265
264
  "action": "CREATE",
266
- "icon": "plus"
265
+ "icon": "plus",
266
+ "variant": "primary"
267
267
  }
268
- ],
269
- "type": "stack",
270
- "gap": "sm"
268
+ ]
271
269
  }
272
270
  ],
273
- "gap": "md",
271
+ "direction": "horizontal",
274
272
  "justify": "between",
275
- "direction": "horizontal"
273
+ "align": "center",
274
+ "type": "stack",
275
+ "gap": "md"
276
276
  },
277
277
  {
278
278
  "type": "divider"
279
279
  },
280
280
  {
281
- "gap": "md",
282
- "direction": "horizontal",
283
281
  "type": "stack",
284
- "align": "center",
282
+ "gap": "md",
285
283
  "children": [
286
284
  "@trait.ContactSearch",
287
285
  "@trait.ContactFilter"
288
- ]
286
+ ],
287
+ "align": "center",
288
+ "direction": "horizontal"
289
289
  },
290
290
  "@trait.ContactStats",
291
291
  "@trait.ContactGraphs",
@@ -312,34 +312,34 @@
312
312
  "render-ui",
313
313
  "main",
314
314
  {
315
+ "className": "py-8",
316
+ "type": "stack",
315
317
  "children": [
316
318
  {
317
319
  "type": "icon",
318
320
  "name": "bell"
319
321
  },
320
322
  {
321
- "type": "typography",
322
323
  "variant": "h3",
323
- "content": "No notifications"
324
+ "content": "No notifications",
325
+ "type": "typography"
324
326
  },
325
327
  {
326
- "content": "You're all caught up.",
327
- "color": "muted",
328
+ "type": "typography",
328
329
  "variant": "caption",
329
- "type": "typography"
330
+ "content": "You're all caught up.",
331
+ "color": "muted"
330
332
  },
331
333
  {
332
334
  "label": "Back to contacts",
333
- "action": "INIT",
334
335
  "variant": "ghost",
335
- "type": "button"
336
+ "type": "button",
337
+ "action": "INIT"
336
338
  }
337
339
  ],
338
340
  "gap": "md",
339
- "type": "stack",
340
- "align": "center",
341
- "className": "py-8",
342
- "direction": "vertical"
341
+ "direction": "vertical",
342
+ "align": "center"
343
343
  }
344
344
  ]
345
345
  ]
@@ -352,8 +352,8 @@
352
352
  "ref": "Search.traits.SearchResultSearch",
353
353
  "name": "ContactSearch",
354
354
  "config": {
355
- "event": "CONTACT_SEARCH",
356
- "placeholder": "Search contacts…"
355
+ "placeholder": "Search contacts…",
356
+ "event": "CONTACT_SEARCH"
357
357
  }
358
358
  },
359
359
  {
@@ -362,6 +362,9 @@
362
362
  "config": {
363
363
  "filters": [
364
364
  {
365
+ "filterType": "select",
366
+ "label": "Industry",
367
+ "field": "industry",
365
368
  "options": [
366
369
  "technology",
367
370
  "finance",
@@ -369,21 +372,18 @@
369
372
  "retail",
370
373
  "manufacturing",
371
374
  "other"
372
- ],
373
- "label": "Industry",
374
- "field": "industry",
375
- "filterType": "select"
375
+ ]
376
376
  },
377
377
  {
378
- "label": "Lifecycle Stage",
379
378
  "field": "lifecycleStage",
379
+ "label": "Lifecycle Stage",
380
+ "filterType": "select",
380
381
  "options": [
381
382
  "lead",
382
383
  "mql",
383
384
  "sql",
384
385
  "customer"
385
- ],
386
- "filterType": "select"
386
+ ]
387
387
  }
388
388
  ],
389
389
  "event": "CONTACT_FILTER"
@@ -395,18 +395,17 @@
395
395
  "config": {
396
396
  "metrics": [
397
397
  {
398
- "label": "Total",
399
398
  "aggregation": "count",
399
+ "format": "number",
400
400
  "icon": "users",
401
- "variant": "primary",
402
- "format": "number"
401
+ "label": "Total",
402
+ "variant": "primary"
403
403
  },
404
404
  {
405
- "format": "number",
406
- "icon": "flame",
407
- "label": "Hot Leads",
408
405
  "aggregation": "count",
406
+ "format": "number",
409
407
  "variant": "warning",
408
+ "icon": "flame",
410
409
  "filter": [
411
410
  "fn",
412
411
  "row",
@@ -415,11 +414,12 @@
415
414
  "@row.lifecycleStage",
416
415
  "sql"
417
416
  ]
418
- ]
417
+ ],
418
+ "label": "Hot Leads"
419
419
  },
420
420
  {
421
- "label": "Customers",
422
- "icon": "check-circle",
421
+ "aggregation": "count",
422
+ "variant": "success",
423
423
  "filter": [
424
424
  "fn",
425
425
  "row",
@@ -429,9 +429,9 @@
429
429
  "customer"
430
430
  ]
431
431
  ],
432
- "variant": "success",
432
+ "label": "Customers",
433
433
  "format": "number",
434
- "aggregation": "count"
434
+ "icon": "check-circle"
435
435
  }
436
436
  ],
437
437
  "title": "Contacts"
@@ -451,13 +451,13 @@
451
451
  "ref": "Graphs.traits.GraphItemGraph",
452
452
  "name": "ContactGraphs",
453
453
  "config": {
454
- "chartType": "pie",
455
- "subtitle": "Funnel breakdown",
456
454
  "aggregation": "count",
457
455
  "height": 240.0,
458
- "categoryField": "lifecycleStage",
459
456
  "showLegend": true,
460
- "title": "Contacts by Lifecycle Stage"
457
+ "title": "Contacts by Lifecycle Stage",
458
+ "subtitle": "Funnel breakdown",
459
+ "chartType": "pie",
460
+ "categoryField": "lifecycleStage"
461
461
  },
462
462
  "listens": [
463
463
  {
@@ -477,8 +477,8 @@
477
477
  "config": {
478
478
  "itemActions": [
479
479
  {
480
- "event": "VIEW",
481
480
  "variant": "ghost",
481
+ "event": "VIEW",
482
482
  "label": "View"
483
483
  },
484
484
  {
@@ -487,16 +487,17 @@
487
487
  "variant": "ghost"
488
488
  },
489
489
  {
490
- "label": "Delete",
491
490
  "event": "DELETE",
492
- "variant": "danger"
491
+ "variant": "danger",
492
+ "label": "Delete"
493
493
  }
494
494
  ],
495
495
  "variant": "card",
496
+ "cols": 1.0,
496
497
  "fields": [
497
498
  {
498
- "icon": "user",
499
499
  "variant": "h3",
500
+ "icon": "user",
500
501
  "name": "name"
501
502
  },
502
503
  {
@@ -512,12 +513,11 @@
512
513
  "variant": "caption"
513
514
  },
514
515
  {
515
- "variant": "caption",
516
- "name": "phone"
516
+ "name": "phone",
517
+ "variant": "caption"
517
518
  }
518
519
  ],
519
- "gap": "sm",
520
- "cols": 1.0
520
+ "gap": "sm"
521
521
  },
522
522
  "listens": [
523
523
  {
@@ -568,6 +568,7 @@
568
568
  "linkedEntity": "Contact",
569
569
  "config": {
570
570
  "title": "New Contact",
571
+ "icon": "plus-circle",
571
572
  "mode": "create",
572
573
  "fields": [
573
574
  "name",
@@ -576,8 +577,7 @@
576
577
  "lifecycleStage",
577
578
  "email",
578
579
  "phone"
579
- ],
580
- "icon": "plus-circle"
580
+ ]
581
581
  },
582
582
  "events": {
583
583
  "OPEN": "CREATE"
@@ -598,7 +598,6 @@
598
598
  "name": "ContactEdit",
599
599
  "linkedEntity": "Contact",
600
600
  "config": {
601
- "icon": "edit",
602
601
  "title": "Edit Contact",
603
602
  "fields": [
604
603
  "name",
@@ -608,7 +607,8 @@
608
607
  "email",
609
608
  "phone"
610
609
  ],
611
- "mode": "edit"
610
+ "mode": "edit",
611
+ "icon": "edit"
612
612
  },
613
613
  "events": {
614
614
  "OPEN": "EDIT"
@@ -629,9 +629,8 @@
629
629
  "name": "ContactView",
630
630
  "linkedEntity": "Contact",
631
631
  "config": {
632
- "icon": "eye",
633
- "title": "View Contact",
634
632
  "mode": "edit",
633
+ "icon": "eye",
635
634
  "fields": [
636
635
  "name",
637
636
  "company",
@@ -639,7 +638,8 @@
639
638
  "lifecycleStage",
640
639
  "email",
641
640
  "phone"
642
- ]
641
+ ],
642
+ "title": "View Contact"
643
643
  },
644
644
  "events": {
645
645
  "OPEN": "VIEW"
@@ -660,14 +660,14 @@
660
660
  "name": "ContactDelete",
661
661
  "linkedEntity": "Contact",
662
662
  "config": {
663
- "title": "Delete Contact",
664
663
  "confirmLabel": "Delete",
664
+ "title": "Delete Contact",
665
665
  "icon": "alert-triangle",
666
666
  "alertMessage": "This action cannot be undone."
667
667
  },
668
668
  "events": {
669
- "CONFIRM": "CONFIRM_DELETE",
670
- "REQUEST": "DELETE"
669
+ "REQUEST": "DELETE",
670
+ "CONFIRM": "CONFIRM_DELETE"
671
671
  },
672
672
  "listens": [
673
673
  {
@@ -949,16 +949,16 @@
949
949
  {
950
950
  "direction": "horizontal",
951
951
  "type": "stack",
952
+ "gap": "sm",
952
953
  "children": [
953
954
  {
955
+ "action": "SEND_EMAIL",
954
956
  "variant": "ghost",
955
957
  "type": "button",
956
- "icon": "mail",
957
958
  "label": "Email Contact",
958
- "action": "SEND_EMAIL"
959
+ "icon": "mail"
959
960
  }
960
- ],
961
- "gap": "sm"
961
+ ]
962
962
  }
963
963
  ]
964
964
  ]
@@ -974,9 +974,9 @@
974
974
  "send",
975
975
  {
976
976
  "subject": "Hello from CRM",
977
- "sender": "noreply@crm.example",
977
+ "body": "Reaching out from your account team.",
978
978
  "recipient": "contact@example.com",
979
- "body": "Reaching out from your account team."
979
+ "sender": "noreply@crm.example"
980
980
  },
981
981
  {
982
982
  "emit": {
@@ -1121,34 +1121,34 @@
1121
1121
  "name": "DealAppLayout",
1122
1122
  "linkedEntity": "Deal",
1123
1123
  "config": {
1124
- "searchEvent": "DEAL_SEARCH",
1125
- "topBarActions": [],
1126
- "notifications": [],
1127
- "notificationClickEvent": "DEAL_NOTIFICATIONS_OPEN",
1128
- "contentTrait": "@trait.DealCatalog",
1129
1124
  "appName": "CRM",
1125
+ "topBarActions": [],
1130
1126
  "navItems": [
1131
1127
  {
1132
- "href": "/contacts",
1133
1128
  "icon": "users",
1134
- "label": "Contacts"
1129
+ "label": "Contacts",
1130
+ "href": "/contacts"
1135
1131
  },
1136
1132
  {
1137
- "href": "/deals",
1133
+ "icon": "briefcase",
1138
1134
  "label": "Deals",
1139
- "icon": "briefcase"
1135
+ "href": "/deals"
1140
1136
  },
1141
1137
  {
1142
- "icon": "bar-chart-2",
1143
1138
  "label": "Pipeline",
1139
+ "icon": "bar-chart-2",
1144
1140
  "href": "/pipeline"
1145
1141
  },
1146
1142
  {
1147
- "icon": "file-text",
1148
1143
  "label": "Notes",
1149
- "href": "/notes"
1144
+ "href": "/notes",
1145
+ "icon": "file-text"
1150
1146
  }
1151
- ]
1147
+ ],
1148
+ "contentTrait": "@trait.DealCatalog",
1149
+ "notifications": [],
1150
+ "searchEvent": "DEAL_SEARCH",
1151
+ "notificationClickEvent": "DEAL_NOTIFICATIONS_OPEN"
1152
1152
  },
1153
1153
  "events": {
1154
1154
  "SEARCH": "DEAL_SEARCH",
@@ -1197,55 +1197,55 @@
1197
1197
  "render-ui",
1198
1198
  "main",
1199
1199
  {
1200
- "gap": "lg",
1201
- "type": "stack",
1202
1200
  "direction": "vertical",
1201
+ "type": "stack",
1203
1202
  "children": [
1204
1203
  {
1205
- "justify": "between",
1206
- "gap": "md",
1207
- "align": "center",
1208
1204
  "children": [
1209
1205
  {
1210
1206
  "gap": "sm",
1211
- "type": "stack",
1212
1207
  "align": "center",
1208
+ "direction": "horizontal",
1213
1209
  "children": [
1214
1210
  {
1215
1211
  "name": "briefcase",
1216
1212
  "type": "icon"
1217
1213
  },
1218
1214
  {
1219
- "content": "Deals",
1215
+ "variant": "h2",
1220
1216
  "type": "typography",
1221
- "variant": "h2"
1217
+ "content": "Deals"
1222
1218
  }
1223
1219
  ],
1224
- "direction": "horizontal"
1220
+ "type": "stack"
1225
1221
  },
1226
1222
  {
1227
1223
  "direction": "horizontal",
1228
1224
  "gap": "sm",
1229
1225
  "children": [
1230
1226
  {
1231
- "type": "button",
1232
- "action": "CREATE",
1233
1227
  "variant": "primary",
1228
+ "action": "CREATE",
1234
1229
  "icon": "plus",
1235
- "label": "New Deal"
1230
+ "label": "New Deal",
1231
+ "type": "button"
1236
1232
  }
1237
1233
  ],
1238
1234
  "type": "stack"
1239
1235
  }
1240
1236
  ],
1237
+ "gap": "md",
1238
+ "justify": "between",
1241
1239
  "direction": "horizontal",
1240
+ "align": "center",
1242
1241
  "type": "stack"
1243
1242
  },
1244
1243
  {
1245
1244
  "type": "divider"
1246
1245
  },
1247
1246
  "@trait.DealBrowseList"
1248
- ]
1247
+ ],
1248
+ "gap": "lg"
1249
1249
  }
1250
1250
  ]
1251
1251
  ]
@@ -1260,48 +1260,48 @@
1260
1260
  "linkedEntity": "Deal",
1261
1261
  "config": {
1262
1262
  "cols": 2.0,
1263
+ "itemActions": [
1264
+ {
1265
+ "label": "View",
1266
+ "variant": "ghost",
1267
+ "event": "VIEW"
1268
+ },
1269
+ {
1270
+ "label": "Edit",
1271
+ "event": "EDIT",
1272
+ "variant": "ghost"
1273
+ },
1274
+ {
1275
+ "variant": "danger",
1276
+ "event": "DELETE",
1277
+ "label": "Delete"
1278
+ }
1279
+ ],
1263
1280
  "fields": [
1264
1281
  {
1265
- "variant": "h3",
1266
1282
  "name": "title",
1267
- "icon": "briefcase"
1283
+ "icon": "briefcase",
1284
+ "variant": "h3"
1268
1285
  },
1269
1286
  {
1270
- "name": "stage",
1271
- "variant": "badge"
1287
+ "variant": "badge",
1288
+ "name": "stage"
1272
1289
  },
1273
1290
  {
1274
- "name": "amount",
1275
1291
  "variant": "h4",
1292
+ "name": "amount",
1276
1293
  "format": "currency"
1277
1294
  },
1278
1295
  {
1296
+ "variant": "caption",
1279
1297
  "name": "contactId",
1280
- "label": "Contact",
1281
- "variant": "caption"
1298
+ "label": "Contact"
1282
1299
  },
1283
1300
  {
1284
- "label": "Closed At",
1285
1301
  "variant": "caption",
1302
+ "format": "date",
1286
1303
  "name": "closedAt",
1287
- "format": "date"
1288
- }
1289
- ],
1290
- "itemActions": [
1291
- {
1292
- "event": "VIEW",
1293
- "label": "View",
1294
- "variant": "ghost"
1295
- },
1296
- {
1297
- "label": "Edit",
1298
- "event": "EDIT",
1299
- "variant": "ghost"
1300
- },
1301
- {
1302
- "label": "Delete",
1303
- "event": "DELETE",
1304
- "variant": "danger"
1304
+ "label": "Closed At"
1305
1305
  }
1306
1306
  ],
1307
1307
  "gap": "md",
@@ -1340,15 +1340,15 @@
1340
1340
  "linkedEntity": "Deal",
1341
1341
  "config": {
1342
1342
  "mode": "create",
1343
- "icon": "plus-circle",
1344
- "title": "New Deal",
1345
1343
  "fields": [
1346
1344
  "title",
1347
1345
  "contactId",
1348
1346
  "amount",
1349
1347
  "stage",
1350
1348
  "closedAt"
1351
- ]
1349
+ ],
1350
+ "icon": "plus-circle",
1351
+ "title": "New Deal"
1352
1352
  },
1353
1353
  "events": {
1354
1354
  "OPEN": "CREATE"
@@ -1371,14 +1371,14 @@
1371
1371
  "config": {
1372
1372
  "icon": "edit",
1373
1373
  "title": "Edit Deal",
1374
- "mode": "edit",
1375
1374
  "fields": [
1376
1375
  "title",
1377
1376
  "contactId",
1378
1377
  "amount",
1379
1378
  "stage",
1380
1379
  "closedAt"
1381
- ]
1380
+ ],
1381
+ "mode": "edit"
1382
1382
  },
1383
1383
  "events": {
1384
1384
  "OPEN": "EDIT"
@@ -1399,7 +1399,6 @@
1399
1399
  "name": "DealView",
1400
1400
  "linkedEntity": "Deal",
1401
1401
  "config": {
1402
- "mode": "edit",
1403
1402
  "fields": [
1404
1403
  "title",
1405
1404
  "contactId",
@@ -1408,7 +1407,8 @@
1408
1407
  "closedAt"
1409
1408
  ],
1410
1409
  "icon": "eye",
1411
- "title": "View Deal"
1410
+ "title": "View Deal",
1411
+ "mode": "edit"
1412
1412
  },
1413
1413
  "events": {
1414
1414
  "OPEN": "VIEW"
@@ -1429,10 +1429,10 @@
1429
1429
  "name": "DealDelete",
1430
1430
  "linkedEntity": "Deal",
1431
1431
  "config": {
1432
- "alertMessage": "This action cannot be undone.",
1433
1432
  "confirmLabel": "Delete",
1433
+ "icon": "alert-triangle",
1434
1434
  "title": "Delete Deal",
1435
- "icon": "alert-triangle"
1435
+ "alertMessage": "This action cannot be undone."
1436
1436
  },
1437
1437
  "events": {
1438
1438
  "CONFIRM": "CONFIRM_DELETE",
@@ -1716,34 +1716,34 @@
1716
1716
  "name": "PipelineAppLayout",
1717
1717
  "linkedEntity": "Pipeline",
1718
1718
  "config": {
1719
- "searchEvent": "PIPELINE_SEARCH",
1720
- "notificationClickEvent": "PIPELINE_NOTIFICATIONS_OPEN",
1721
1719
  "appName": "CRM",
1722
- "topBarActions": [],
1723
- "notifications": [],
1724
- "contentTrait": "@trait.PipelineDisplay",
1725
1720
  "navItems": [
1726
1721
  {
1727
1722
  "label": "Contacts",
1728
- "href": "/contacts",
1729
- "icon": "users"
1723
+ "icon": "users",
1724
+ "href": "/contacts"
1730
1725
  },
1731
1726
  {
1732
1727
  "label": "Deals",
1733
- "href": "/deals",
1734
- "icon": "briefcase"
1728
+ "icon": "briefcase",
1729
+ "href": "/deals"
1735
1730
  },
1736
1731
  {
1737
1732
  "href": "/pipeline",
1738
- "label": "Pipeline",
1739
- "icon": "bar-chart-2"
1733
+ "icon": "bar-chart-2",
1734
+ "label": "Pipeline"
1740
1735
  },
1741
1736
  {
1737
+ "icon": "file-text",
1742
1738
  "label": "Notes",
1743
- "href": "/notes",
1744
- "icon": "file-text"
1739
+ "href": "/notes"
1745
1740
  }
1746
- ]
1741
+ ],
1742
+ "topBarActions": [],
1743
+ "notificationClickEvent": "PIPELINE_NOTIFICATIONS_OPEN",
1744
+ "notifications": [],
1745
+ "contentTrait": "@trait.PipelineDisplay",
1746
+ "searchEvent": "PIPELINE_SEARCH"
1747
1747
  },
1748
1748
  "events": {
1749
1749
  "SEARCH": "PIPELINE_SEARCH",
@@ -1871,41 +1871,39 @@
1871
1871
  "render-ui",
1872
1872
  "main",
1873
1873
  {
1874
- "gap": "lg",
1875
- "direction": "vertical",
1876
1874
  "children": [
1877
1875
  {
1878
- "justify": "between",
1879
- "type": "stack",
1880
- "align": "center",
1876
+ "gap": "md",
1881
1877
  "children": [
1882
1878
  {
1883
- "type": "stack",
1884
- "gap": "sm",
1885
- "align": "center",
1886
- "direction": "horizontal",
1887
1879
  "children": [
1888
1880
  {
1889
- "type": "icon",
1890
- "name": "bar-chart-2"
1881
+ "name": "bar-chart-2",
1882
+ "type": "icon"
1891
1883
  },
1892
1884
  {
1893
- "type": "typography",
1885
+ "content": "Pipeline",
1894
1886
  "variant": "h2",
1895
- "content": "Pipeline"
1887
+ "type": "typography"
1896
1888
  }
1897
- ]
1889
+ ],
1890
+ "type": "stack",
1891
+ "direction": "horizontal",
1892
+ "gap": "sm",
1893
+ "align": "center"
1898
1894
  },
1899
1895
  {
1896
+ "variant": "secondary",
1900
1897
  "type": "button",
1901
- "action": "REFRESH",
1902
1898
  "icon": "rotate-ccw",
1903
- "label": "Refresh",
1904
- "variant": "secondary"
1899
+ "action": "REFRESH",
1900
+ "label": "Refresh"
1905
1901
  }
1906
1902
  ],
1903
+ "type": "stack",
1907
1904
  "direction": "horizontal",
1908
- "gap": "md"
1905
+ "justify": "between",
1906
+ "align": "center"
1909
1907
  },
1910
1908
  {
1911
1909
  "type": "divider"
@@ -1913,33 +1911,35 @@
1913
1911
  {
1914
1912
  "children": [
1915
1913
  {
1916
- "label": "Total Deals",
1917
1914
  "type": "stat-display",
1918
- "value": "@entity.totalDeals"
1915
+ "value": "@entity.totalDeals",
1916
+ "label": "Total Deals"
1919
1917
  },
1920
1918
  {
1921
- "type": "stat-display",
1922
1919
  "label": "Pipeline Value",
1923
1920
  "value": "@entity.totalValue",
1921
+ "type": "stat-display",
1924
1922
  "format": "currency"
1925
1923
  },
1926
1924
  {
1927
1925
  "label": "Won",
1928
- "type": "stat-display",
1929
- "value": "@entity.wonDeals"
1926
+ "value": "@entity.wonDeals",
1927
+ "type": "stat-display"
1930
1928
  },
1931
1929
  {
1930
+ "format": "percent",
1932
1931
  "value": "@entity.conversionRate",
1933
1932
  "type": "stat-display",
1934
- "label": "Conversion Rate",
1935
- "format": "percent"
1933
+ "label": "Conversion Rate"
1936
1934
  }
1937
1935
  ],
1938
1936
  "type": "simple-grid",
1939
1937
  "cols": 4.0
1940
1938
  }
1941
1939
  ],
1942
- "type": "stack"
1940
+ "type": "stack",
1941
+ "gap": "lg",
1942
+ "direction": "vertical"
1943
1943
  }
1944
1944
  ]
1945
1945
  ]
@@ -1954,8 +1954,8 @@
1954
1954
  "Pipeline",
1955
1955
  {
1956
1956
  "emit": {
1957
- "failure": "PipelineLoadFailed",
1958
- "success": "PipelineLoaded"
1957
+ "success": "PipelineLoaded",
1958
+ "failure": "PipelineLoadFailed"
1959
1959
  }
1960
1960
  }
1961
1961
  ]
@@ -2063,38 +2063,38 @@
2063
2063
  "name": "NoteAppLayout",
2064
2064
  "linkedEntity": "Note",
2065
2065
  "config": {
2066
- "searchEvent": "NOTE_SEARCH",
2067
2066
  "topBarActions": [],
2068
2067
  "notifications": [],
2069
- "notificationClickEvent": "NOTE_NOTIFICATIONS_OPEN",
2070
- "contentTrait": "@trait.NoteCatalog",
2071
2068
  "appName": "CRM",
2069
+ "contentTrait": "@trait.NoteCatalog",
2070
+ "notificationClickEvent": "NOTE_NOTIFICATIONS_OPEN",
2072
2071
  "navItems": [
2073
2072
  {
2074
2073
  "href": "/contacts",
2075
- "label": "Contacts",
2076
- "icon": "users"
2074
+ "icon": "users",
2075
+ "label": "Contacts"
2077
2076
  },
2078
2077
  {
2078
+ "href": "/deals",
2079
2079
  "icon": "briefcase",
2080
- "label": "Deals",
2081
- "href": "/deals"
2080
+ "label": "Deals"
2082
2081
  },
2083
2082
  {
2084
- "label": "Pipeline",
2085
2083
  "icon": "bar-chart-2",
2086
- "href": "/pipeline"
2084
+ "href": "/pipeline",
2085
+ "label": "Pipeline"
2087
2086
  },
2088
2087
  {
2089
2088
  "href": "/notes",
2090
2089
  "icon": "file-text",
2091
2090
  "label": "Notes"
2092
2091
  }
2093
- ]
2092
+ ],
2093
+ "searchEvent": "NOTE_SEARCH"
2094
2094
  },
2095
2095
  "events": {
2096
- "NOTIFY_CLICK": "NOTE_NOTIFICATIONS_OPEN",
2097
- "SEARCH": "NOTE_SEARCH"
2096
+ "SEARCH": "NOTE_SEARCH",
2097
+ "NOTIFY_CLICK": "NOTE_NOTIFICATIONS_OPEN"
2098
2098
  }
2099
2099
  },
2100
2100
  {
@@ -2140,55 +2140,54 @@
2140
2140
  "main",
2141
2141
  {
2142
2142
  "direction": "vertical",
2143
- "type": "stack",
2144
2143
  "gap": "lg",
2145
2144
  "children": [
2146
2145
  {
2147
- "justify": "between",
2146
+ "align": "center",
2148
2147
  "direction": "horizontal",
2149
2148
  "type": "stack",
2150
- "align": "center",
2151
2149
  "children": [
2152
2150
  {
2153
- "direction": "horizontal",
2154
2151
  "type": "stack",
2152
+ "align": "center",
2153
+ "gap": "sm",
2154
+ "direction": "horizontal",
2155
2155
  "children": [
2156
2156
  {
2157
- "type": "icon",
2158
- "name": "file-text"
2157
+ "name": "file-text",
2158
+ "type": "icon"
2159
2159
  },
2160
2160
  {
2161
2161
  "type": "typography",
2162
2162
  "variant": "h2",
2163
2163
  "content": "Notes"
2164
2164
  }
2165
- ],
2166
- "gap": "sm",
2167
- "align": "center"
2165
+ ]
2168
2166
  },
2169
2167
  {
2168
+ "gap": "sm",
2170
2169
  "children": [
2171
2170
  {
2172
- "action": "CREATE",
2173
- "type": "button",
2174
2171
  "label": "New Note",
2172
+ "type": "button",
2173
+ "variant": "primary",
2175
2174
  "icon": "edit",
2176
- "variant": "primary"
2175
+ "action": "CREATE"
2177
2176
  }
2178
2177
  ],
2179
- "direction": "horizontal",
2180
2178
  "type": "stack",
2181
- "gap": "sm"
2179
+ "direction": "horizontal"
2182
2180
  }
2183
2181
  ],
2184
- "gap": "md"
2182
+ "gap": "md",
2183
+ "justify": "between"
2185
2184
  },
2186
2185
  {
2187
2186
  "type": "divider"
2188
2187
  },
2189
2188
  {
2190
- "variant": "h3",
2191
2189
  "type": "typography",
2190
+ "variant": "h3",
2192
2191
  "content": "Follow-Up Calendar"
2193
2192
  },
2194
2193
  "@trait.NoteCalendar",
@@ -2196,7 +2195,8 @@
2196
2195
  "type": "divider"
2197
2196
  },
2198
2197
  "@trait.NoteBrowseList"
2199
- ]
2198
+ ],
2199
+ "type": "stack"
2200
2200
  }
2201
2201
  ]
2202
2202
  ]
@@ -2210,8 +2210,23 @@
2210
2210
  "name": "NoteBrowseList",
2211
2211
  "linkedEntity": "Note",
2212
2212
  "config": {
2213
- "variant": "card",
2214
- "cols": 1.0,
2213
+ "itemActions": [
2214
+ {
2215
+ "variant": "ghost",
2216
+ "event": "VIEW",
2217
+ "label": "View"
2218
+ },
2219
+ {
2220
+ "event": "EDIT",
2221
+ "label": "Edit",
2222
+ "variant": "ghost"
2223
+ },
2224
+ {
2225
+ "label": "Delete",
2226
+ "event": "DELETE",
2227
+ "variant": "danger"
2228
+ }
2229
+ ],
2215
2230
  "fields": [
2216
2231
  {
2217
2232
  "name": "subject",
@@ -2227,35 +2242,20 @@
2227
2242
  "name": "author"
2228
2243
  },
2229
2244
  {
2230
- "name": "followUpAt",
2231
2245
  "format": "date",
2232
2246
  "label": "Follow-Up",
2233
- "variant": "caption"
2247
+ "variant": "caption",
2248
+ "name": "followUpAt"
2234
2249
  },
2235
2250
  {
2236
- "name": "createdAt",
2237
2251
  "label": "Created",
2238
2252
  "variant": "caption",
2239
- "format": "date"
2240
- }
2241
- ],
2242
- "itemActions": [
2243
- {
2244
- "label": "View",
2245
- "event": "VIEW",
2246
- "variant": "ghost"
2247
- },
2248
- {
2249
- "event": "EDIT",
2250
- "variant": "ghost",
2251
- "label": "Edit"
2252
- },
2253
- {
2254
- "label": "Delete",
2255
- "event": "DELETE",
2256
- "variant": "danger"
2253
+ "format": "date",
2254
+ "name": "createdAt"
2257
2255
  }
2258
2256
  ],
2257
+ "cols": 1.0,
2258
+ "variant": "card",
2259
2259
  "gap": "sm"
2260
2260
  },
2261
2261
  "listens": [
@@ -2290,9 +2290,9 @@
2290
2290
  "name": "NoteCalendar",
2291
2291
  "linkedEntity": "Note",
2292
2292
  "config": {
2293
- "titleField": "subject",
2293
+ "colorField": "priority",
2294
2294
  "dateField": "followUpAt",
2295
- "colorField": "priority"
2295
+ "titleField": "subject"
2296
2296
  }
2297
2297
  },
2298
2298
  {
@@ -2302,14 +2302,14 @@
2302
2302
  "config": {
2303
2303
  "icon": "plus-circle",
2304
2304
  "mode": "create",
2305
+ "title": "New Note",
2305
2306
  "fields": [
2306
2307
  "subject",
2307
2308
  "body",
2308
2309
  "author",
2309
2310
  "priority",
2310
2311
  "followUpAt"
2311
- ],
2312
- "title": "New Note"
2312
+ ]
2313
2313
  },
2314
2314
  "events": {
2315
2315
  "OPEN": "CREATE"
@@ -2330,16 +2330,16 @@
2330
2330
  "name": "NoteEdit",
2331
2331
  "linkedEntity": "Note",
2332
2332
  "config": {
2333
- "title": "Edit Note",
2334
- "icon": "edit",
2335
- "mode": "edit",
2336
2333
  "fields": [
2337
2334
  "subject",
2338
2335
  "body",
2339
2336
  "author",
2340
2337
  "priority",
2341
2338
  "followUpAt"
2342
- ]
2339
+ ],
2340
+ "icon": "edit",
2341
+ "mode": "edit",
2342
+ "title": "Edit Note"
2343
2343
  },
2344
2344
  "events": {
2345
2345
  "OPEN": "EDIT"
@@ -2360,8 +2360,6 @@
2360
2360
  "name": "NoteView",
2361
2361
  "linkedEntity": "Note",
2362
2362
  "config": {
2363
- "icon": "eye",
2364
- "mode": "edit",
2365
2363
  "fields": [
2366
2364
  "subject",
2367
2365
  "body",
@@ -2369,7 +2367,9 @@
2369
2367
  "priority",
2370
2368
  "followUpAt"
2371
2369
  ],
2372
- "title": "View Note"
2370
+ "icon": "eye",
2371
+ "title": "View Note",
2372
+ "mode": "edit"
2373
2373
  },
2374
2374
  "events": {
2375
2375
  "OPEN": "VIEW"
@@ -2390,10 +2390,10 @@
2390
2390
  "name": "NoteDelete",
2391
2391
  "linkedEntity": "Note",
2392
2392
  "config": {
2393
- "icon": "alert-triangle",
2394
- "alertMessage": "This action cannot be undone.",
2395
2393
  "title": "Delete Note",
2396
- "confirmLabel": "Delete"
2394
+ "alertMessage": "This action cannot be undone.",
2395
+ "confirmLabel": "Delete",
2396
+ "icon": "alert-triangle"
2397
2397
  },
2398
2398
  "events": {
2399
2399
  "REQUEST": "DELETE",