@mj-biz-apps/sales-ng 6.23.4 → 6.24.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/dist/lib/activities/deal-activity-parties.d.ts +49 -0
- package/dist/lib/activities/deal-activity-parties.d.ts.map +1 -0
- package/dist/lib/activities/deal-activity-parties.js +61 -0
- package/dist/lib/activities/deal-activity-parties.js.map +1 -0
- package/dist/lib/activities/deal-activity-timeline.component.d.ts +18 -0
- package/dist/lib/activities/deal-activity-timeline.component.d.ts.map +1 -1
- package/dist/lib/activities/deal-activity-timeline.component.js +249 -61
- package/dist/lib/activities/deal-activity-timeline.component.js.map +1 -1
- package/dist/lib/custom/deal-form.component.d.ts +5 -0
- package/dist/lib/custom/deal-form.component.d.ts.map +1 -1
- package/dist/lib/custom/deal-form.component.js +46 -30
- package/dist/lib/custom/deal-form.component.js.map +1 -1
- package/dist/lib/form-panels/deal-form.panels.d.ts +8 -1
- package/dist/lib/form-panels/deal-form.panels.d.ts.map +1 -1
- package/dist/lib/form-panels/deal-form.panels.js +147 -19
- package/dist/lib/form-panels/deal-form.panels.js.map +1 -1
- package/dist/lib/form-panels/deal-hero.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/deal-hero.panel.js +3 -1
- package/dist/lib/form-panels/deal-hero.panel.js.map +1 -1
- package/dist/lib/form-panels/deal-line-editor.component.d.ts +5 -0
- package/dist/lib/form-panels/deal-line-editor.component.d.ts.map +1 -1
- package/dist/lib/form-panels/deal-line-editor.component.js +14 -1
- package/dist/lib/form-panels/deal-line-editor.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsSalesDeal/mjbizappssalesdeal.form.component.js +31 -27
- package/dist/lib/generated/Entities/mjBizAppsSalesDeal/mjbizappssalesdeal.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsSalesDealStatusType/mjbizappssalesdealstatustype.form.component.js +4 -4
- package/dist/lib/generated/Entities/mjBizAppsSalesDealStatusType/mjbizappssalesdealstatustype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsSalesDealType/mjbizappssalesdealtype.form.component.js +2 -2
- package/dist/lib/generated/Entities/mjBizAppsSalesForecastCategoryType/mjbizappssalesforecastcategorytype.form.component.js +2 -2
- package/dist/lib/generated/Entities/mjBizAppsSalesPipelineStage/mjbizappssalespipelinestage.form.component.js +24 -28
- package/dist/lib/generated/Entities/mjBizAppsSalesPipelineStage/mjbizappssalespipelinestage.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsSalesSalesContact/mjbizappssalessalescontact.form.component.js +35 -37
- package/dist/lib/generated/Entities/mjBizAppsSalesSalesContact/mjbizappssalessalescontact.form.component.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Who a deal activity is linked to (bc-aidp-next-golive#408): the compose form's checklist,
|
|
3
|
+
* and the labels the Activity panel shows for a logged activity. Pure; the reads live in the components.
|
|
4
|
+
*
|
|
5
|
+
* @module @mj-biz-apps/sales-ng
|
|
6
|
+
*/
|
|
7
|
+
import type { mjBizAppsCommonActivityLinkEntity } from '@mj-biz-apps/common-entities';
|
|
8
|
+
import type { DealEntity, mjBizAppsSalesDealContactRoleEntity } from '@mj-biz-apps/sales-entities';
|
|
9
|
+
export type PartyKind = 'Person' | 'Organization';
|
|
10
|
+
/** The deal fields the checklist starts from. `AccountID` IS the Organization ID; the contact IDs ARE Person IDs. */
|
|
11
|
+
export type DealPartyFields = Pick<DealEntity, 'AccountID' | 'Account' | 'PrimaryContactID' | 'PrimaryContact' | 'BillingContactID' | 'BillingContact'>;
|
|
12
|
+
export type BuyingTeamFields = Pick<mjBizAppsSalesDealContactRoleEntity, 'SalesContactID' | 'SalesContact' | 'BuyingRoleType'>;
|
|
13
|
+
/** One line of the compose checklist. */
|
|
14
|
+
export interface PartyChoice {
|
|
15
|
+
Kind: PartyKind;
|
|
16
|
+
RecordID: string;
|
|
17
|
+
Name: string;
|
|
18
|
+
/** Why this person is here: "Primary contact", "Billing contact", a buying role, "Added". */
|
|
19
|
+
Labels: string[];
|
|
20
|
+
Checked: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The account, primary contact, billing contact and buying team as one list, one line per record.
|
|
24
|
+
*
|
|
25
|
+
* Only the account and primary contact start ticked: those are what a plain log linked before #408, so
|
|
26
|
+
* not touching the list writes the same links as before.
|
|
27
|
+
*/
|
|
28
|
+
export declare function DealPartyChoices(deal: DealPartyFields | null, team: readonly BuyingTeamFields[]): PartyChoice[];
|
|
29
|
+
/** Adds a searched-for person or organization, ticked. One already listed is ticked rather than repeated. */
|
|
30
|
+
export declare function AddPartyChoice(list: readonly PartyChoice[], kind: PartyKind, id: string, name: string): PartyChoice[];
|
|
31
|
+
/** The `Parties` param of `Sales.LogActivity`: the ticked lines, kind and ID only. */
|
|
32
|
+
export declare function ChosenPartiesParam(list: readonly PartyChoice[]): string;
|
|
33
|
+
export type ActivityLinkFields = Pick<mjBizAppsCommonActivityLinkEntity, 'Role' | 'EntityID' | 'RecordID' | 'IdentityValue' | 'Entity'>;
|
|
34
|
+
/** One thing a logged activity is linked to, as the Activity panel shows it. */
|
|
35
|
+
export interface LinkedParty {
|
|
36
|
+
Icon: 'person' | 'organization' | 'other';
|
|
37
|
+
Name: string;
|
|
38
|
+
Role: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The links worth showing for one activity: everything except its anchor to the deal being viewed.
|
|
42
|
+
* `names` maps a lower-cased record ID to its display name; an unknown one shows its ID.
|
|
43
|
+
*/
|
|
44
|
+
export declare function LinkedParties(links: readonly ActivityLinkFields[], entityIDs: {
|
|
45
|
+
Deal: string;
|
|
46
|
+
Person: string;
|
|
47
|
+
Organization: string;
|
|
48
|
+
}, dealID: string, names: ReadonlyMap<string, string>): LinkedParty[];
|
|
49
|
+
//# sourceMappingURL=deal-activity-parties.d.ts.map
|
|
@@ -0,0 +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CAAiC,EACjC,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,eAAe,GAAG,QAAQ,CAChE,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,QAAQ,GAAG,cAAc,GAAG,OAAO,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CACzB,KAAK,EAAE,SAAS,kBAAkB,EAAE,EACpC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,EACjE,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GACnC,WAAW,EAAE,CAYf"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The account, primary contact, billing contact and buying team as one list, one line per record.
|
|
3
|
+
*
|
|
4
|
+
* Only the account and primary contact start ticked: those are what a plain log linked before #408, so
|
|
5
|
+
* not touching the list writes the same links as before.
|
|
6
|
+
*/
|
|
7
|
+
export function DealPartyChoices(deal, team) {
|
|
8
|
+
const list = [];
|
|
9
|
+
const add = (kind, id, name, label, checked) => {
|
|
10
|
+
if (!id)
|
|
11
|
+
return;
|
|
12
|
+
const found = list.find((p) => p.Kind === kind && sameID(p.RecordID, id));
|
|
13
|
+
if (!found) {
|
|
14
|
+
list.push({ Kind: kind, RecordID: id, Name: name || id, Labels: [label], Checked: checked });
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (!found.Labels.includes(label))
|
|
18
|
+
found.Labels.push(label);
|
|
19
|
+
found.Checked = found.Checked || checked;
|
|
20
|
+
};
|
|
21
|
+
add('Organization', deal?.AccountID ?? null, deal?.Account ?? null, 'Account', true);
|
|
22
|
+
add('Person', deal?.PrimaryContactID ?? null, deal?.PrimaryContact ?? null, 'Primary contact', true);
|
|
23
|
+
add('Person', deal?.BillingContactID ?? null, deal?.BillingContact ?? null, 'Billing contact', false);
|
|
24
|
+
for (const member of team) {
|
|
25
|
+
add('Person', member.SalesContactID, member.SalesContact, member.BuyingRoleType || 'Buying team', false);
|
|
26
|
+
}
|
|
27
|
+
return list;
|
|
28
|
+
}
|
|
29
|
+
/** Adds a searched-for person or organization, ticked. One already listed is ticked rather than repeated. */
|
|
30
|
+
export function AddPartyChoice(list, kind, id, name) {
|
|
31
|
+
const found = list.find((p) => p.Kind === kind && sameID(p.RecordID, id));
|
|
32
|
+
if (found) {
|
|
33
|
+
return list.map((p) => (p === found ? { ...p, Checked: true } : p));
|
|
34
|
+
}
|
|
35
|
+
return [...list, { Kind: kind, RecordID: id, Name: name || id, Labels: ['Added'], Checked: true }];
|
|
36
|
+
}
|
|
37
|
+
/** The `Parties` param of `Sales.LogActivity`: the ticked lines, kind and ID only. */
|
|
38
|
+
export function ChosenPartiesParam(list) {
|
|
39
|
+
return JSON.stringify(list.filter((p) => p.Checked).map((p) => ({ Kind: p.Kind, RecordID: p.RecordID })));
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The links worth showing for one activity: everything except its anchor to the deal being viewed.
|
|
43
|
+
* `names` maps a lower-cased record ID to its display name; an unknown one shows its ID.
|
|
44
|
+
*/
|
|
45
|
+
export function LinkedParties(links, entityIDs, dealID, names) {
|
|
46
|
+
return links
|
|
47
|
+
.filter((l) => !(sameID(l.EntityID, entityIDs.Deal) && sameID(l.RecordID, dealID)))
|
|
48
|
+
.map((l) => {
|
|
49
|
+
const icon = sameID(l.EntityID, entityIDs.Person)
|
|
50
|
+
? 'person'
|
|
51
|
+
: sameID(l.EntityID, entityIDs.Organization) ? 'organization' : 'other';
|
|
52
|
+
const name = l.RecordID
|
|
53
|
+
? (names.get(l.RecordID.toLowerCase()) ?? `${l.Entity ?? 'Record'} ${l.RecordID}`)
|
|
54
|
+
: (l.IdentityValue ?? '');
|
|
55
|
+
return { Icon: icon, Name: name, Role: l.Role };
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function sameID(a, b) {
|
|
59
|
+
return !!a && !!b && a.toLowerCase() === b.toLowerCase();
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=deal-activity-parties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deal-activity-parties.js","sourceRoot":"","sources":["../../../src/lib/activities/deal-activity-parties.ts"],"names":[],"mappings":"AA4BA;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAA4B,EAAE,IAAiC;IAC5F,MAAM,IAAI,GAAkB,EAAE,CAAC;IAC/B,MAAM,GAAG,GAAG,CAAC,IAAe,EAAE,EAAiB,EAAE,IAAmB,EAAE,KAAa,EAAE,OAAgB,EAAQ,EAAE;QAC3G,IAAI,CAAC,EAAE;YAAE,OAAO;QAChB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,IAAI,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;YAC7F,OAAO;QACX,CAAC;QACD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5D,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,IAAI,OAAO,CAAC;IAC7C,CAAC,CAAC;IACF,GAAG,CAAC,cAAc,EAAE,IAAI,EAA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AC,CAAC,CAAC,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC;QAC9B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACpD,CAAC,CAAC,CAAC;AACX,CAAC;AAED,SAAS,MAAM,CAAC,CAA4B,EAAE,CAA4B;IACtE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;AAC7D,CAAC"}
|
|
@@ -5,6 +5,9 @@ import { EventEmitter } from '@angular/core';
|
|
|
5
5
|
* second copy of the four codes is exactly the drift this change removes.
|
|
6
6
|
*/
|
|
7
7
|
import type { ActivityTypeCode } from '@mj-biz-apps/sales-entities';
|
|
8
|
+
import { MJComboboxComponent } from '@memberjunction/ng-ui-components';
|
|
9
|
+
import { type PartyOption } from '@mj-biz-apps/common-ng';
|
|
10
|
+
import { type PartyChoice, type PartyKind } from './deal-activity-parties';
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
12
|
/** What the timeline shows for one activity. */
|
|
10
13
|
export interface DealActivityRow {
|
|
@@ -42,7 +45,22 @@ export declare class DealActivityTimelineComponent {
|
|
|
42
45
|
DraftTitle: string;
|
|
43
46
|
DraftNotes: string;
|
|
44
47
|
DraftWhen: string;
|
|
48
|
+
/** The compose checklist (#408). Sent only when it loaded, so a failed read falls back to the server's choice. */
|
|
49
|
+
Parties: PartyChoice[];
|
|
50
|
+
PartiesLoading: boolean;
|
|
51
|
+
PartiesLoaded: boolean;
|
|
52
|
+
Options: Record<PartyKind, PartyOption[]>;
|
|
53
|
+
/** Drops a search answer that arrives after a newer one was asked. */
|
|
54
|
+
private searchSeq;
|
|
45
55
|
StartAdd(): void;
|
|
56
|
+
/** The deal's account, contacts and buying team, read as the caller: one `RunViews` round trip. */
|
|
57
|
+
private loadParties;
|
|
58
|
+
/**
|
|
59
|
+
* The search the deal form's own party fields run (common's lookup queries), so "Add person" finds
|
|
60
|
+
* the same people the Primary contact field does.
|
|
61
|
+
*/
|
|
62
|
+
Search(kind: PartyKind, text: string): Promise<void>;
|
|
63
|
+
AddParty(kind: PartyKind, value: unknown, picker: MJComboboxComponent): void;
|
|
46
64
|
/**
|
|
47
65
|
* Opens the compose form if it is closed, scrolls it into view and puts the cursor in its title. For
|
|
48
66
|
* a host whose own New button should log an activity here, such as the deal form's Activity grid.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deal-activity-timeline.component.d.ts","sourceRoot":"","sources":["../../../src/lib/activities/deal-activity-timeline.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA4C,YAAY,EAAyB,MAAM,eAAe,CAAC;AAI9G;;;;GAIG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;;
|
|
1
|
+
{"version":3,"file":"deal-activity-timeline.component.d.ts","sourceRoot":"","sources":["../../../src/lib/activities/deal-activity-timeline.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA4C,YAAY,EAAyB,MAAM,eAAe,CAAC;AAI9G;;;;GAIG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAA8C,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAEtG,OAAO,EAMH,KAAK,WAAW,EAChB,KAAK,SAAS,EACjB,MAAM,yBAAyB,CAAC;;AAUjC,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;I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