@mj-biz-apps/common-ng 5.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.
Files changed (82) hide show
  1. package/README.md +276 -0
  2. package/dist/lib/components/address-editor/address-editor.component.d.ts +249 -0
  3. package/dist/lib/components/address-editor/address-editor.component.d.ts.map +1 -0
  4. package/dist/lib/components/address-editor/address-editor.component.js +981 -0
  5. package/dist/lib/components/address-editor/address-editor.component.js.map +1 -0
  6. package/dist/lib/components/contact-method-list/contact-method-list.component.d.ts +256 -0
  7. package/dist/lib/components/contact-method-list/contact-method-list.component.d.ts.map +1 -0
  8. package/dist/lib/components/contact-method-list/contact-method-list.component.js +788 -0
  9. package/dist/lib/components/contact-method-list/contact-method-list.component.js.map +1 -0
  10. package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.d.ts +119 -0
  11. package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.d.ts.map +1 -0
  12. package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.js +295 -0
  13. package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.js.map +1 -0
  14. package/dist/lib/components/relationship-list/relationship-list.component.d.ts +392 -0
  15. package/dist/lib/components/relationship-list/relationship-list.component.d.ts.map +1 -0
  16. package/dist/lib/components/relationship-list/relationship-list.component.js +1171 -0
  17. package/dist/lib/components/relationship-list/relationship-list.component.js.map +1 -0
  18. package/dist/lib/custom/Organization/organization-form.component.d.ts +24 -0
  19. package/dist/lib/custom/Organization/organization-form.component.d.ts.map +1 -0
  20. package/dist/lib/custom/Organization/organization-form.component.js +244 -0
  21. package/dist/lib/custom/Organization/organization-form.component.js.map +1 -0
  22. package/dist/lib/custom/Person/person-form.component.d.ts +24 -0
  23. package/dist/lib/custom/Person/person-form.component.d.ts.map +1 -0
  24. package/dist/lib/custom/Person/person-form.component.js +231 -0
  25. package/dist/lib/custom/Person/person-form.component.js.map +1 -0
  26. package/dist/lib/custom/custom-forms.module.d.ts +17 -0
  27. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -0
  28. package/dist/lib/custom/custom-forms.module.js +64 -0
  29. package/dist/lib/custom/custom-forms.module.js.map +1 -0
  30. package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.d.ts +10 -0
  31. package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.d.ts.map +1 -0
  32. package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.js +94 -0
  33. package/dist/lib/generated/Entities/mjBizAppsCommonAddress/mjbizappscommonaddress.form.component.js.map +1 -0
  34. package/dist/lib/generated/Entities/mjBizAppsCommonAddressLink/mjbizappscommonaddresslink.form.component.d.ts +10 -0
  35. package/dist/lib/generated/Entities/mjBizAppsCommonAddressLink/mjbizappscommonaddresslink.form.component.d.ts.map +1 -0
  36. package/dist/lib/generated/Entities/mjBizAppsCommonAddressLink/mjbizappscommonaddresslink.form.component.js +70 -0
  37. package/dist/lib/generated/Entities/mjBizAppsCommonAddressLink/mjbizappscommonaddresslink.form.component.js.map +1 -0
  38. package/dist/lib/generated/Entities/mjBizAppsCommonAddressType/mjbizappscommonaddresstype.form.component.d.ts +10 -0
  39. package/dist/lib/generated/Entities/mjBizAppsCommonAddressType/mjbizappscommonaddresstype.form.component.d.ts.map +1 -0
  40. package/dist/lib/generated/Entities/mjBizAppsCommonAddressType/mjbizappscommonaddresstype.form.component.js +86 -0
  41. package/dist/lib/generated/Entities/mjBizAppsCommonAddressType/mjbizappscommonaddresstype.form.component.js.map +1 -0
  42. package/dist/lib/generated/Entities/mjBizAppsCommonContactMethod/mjbizappscommoncontactmethod.form.component.d.ts +10 -0
  43. package/dist/lib/generated/Entities/mjBizAppsCommonContactMethod/mjbizappscommoncontactmethod.form.component.d.ts.map +1 -0
  44. package/dist/lib/generated/Entities/mjBizAppsCommonContactMethod/mjbizappscommoncontactmethod.form.component.js +70 -0
  45. package/dist/lib/generated/Entities/mjBizAppsCommonContactMethod/mjbizappscommoncontactmethod.form.component.js.map +1 -0
  46. package/dist/lib/generated/Entities/mjBizAppsCommonContactType/mjbizappscommoncontacttype.form.component.d.ts +10 -0
  47. package/dist/lib/generated/Entities/mjBizAppsCommonContactType/mjbizappscommoncontacttype.form.component.d.ts.map +1 -0
  48. package/dist/lib/generated/Entities/mjBizAppsCommonContactType/mjbizappscommoncontacttype.form.component.js +86 -0
  49. package/dist/lib/generated/Entities/mjBizAppsCommonContactType/mjbizappscommoncontacttype.form.component.js.map +1 -0
  50. package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.d.ts +10 -0
  51. package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.d.ts.map +1 -0
  52. package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.js +190 -0
  53. package/dist/lib/generated/Entities/mjBizAppsCommonOrganization/mjbizappscommonorganization.form.component.js.map +1 -0
  54. package/dist/lib/generated/Entities/mjBizAppsCommonOrganizationType/mjbizappscommonorganizationtype.form.component.d.ts +10 -0
  55. package/dist/lib/generated/Entities/mjBizAppsCommonOrganizationType/mjbizappscommonorganizationtype.form.component.d.ts.map +1 -0
  56. package/dist/lib/generated/Entities/mjBizAppsCommonOrganizationType/mjbizappscommonorganizationtype.form.component.js +80 -0
  57. package/dist/lib/generated/Entities/mjBizAppsCommonOrganizationType/mjbizappscommonorganizationtype.form.component.js.map +1 -0
  58. package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.d.ts +10 -0
  59. package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.d.ts.map +1 -0
  60. package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.js +184 -0
  61. package/dist/lib/generated/Entities/mjBizAppsCommonPerson/mjbizappscommonperson.form.component.js.map +1 -0
  62. package/dist/lib/generated/Entities/mjBizAppsCommonRelationship/mjbizappscommonrelationship.form.component.d.ts +10 -0
  63. package/dist/lib/generated/Entities/mjBizAppsCommonRelationship/mjbizappscommonrelationship.form.component.d.ts.map +1 -0
  64. package/dist/lib/generated/Entities/mjBizAppsCommonRelationship/mjbizappscommonrelationship.form.component.js +78 -0
  65. package/dist/lib/generated/Entities/mjBizAppsCommonRelationship/mjbizappscommonrelationship.form.component.js.map +1 -0
  66. package/dist/lib/generated/Entities/mjBizAppsCommonRelationshipType/mjbizappscommonrelationshiptype.form.component.d.ts +10 -0
  67. package/dist/lib/generated/Entities/mjBizAppsCommonRelationshipType/mjbizappscommonrelationshiptype.form.component.d.ts.map +1 -0
  68. package/dist/lib/generated/Entities/mjBizAppsCommonRelationshipType/mjbizappscommonrelationshiptype.form.component.js +90 -0
  69. package/dist/lib/generated/Entities/mjBizAppsCommonRelationshipType/mjbizappscommonrelationshiptype.form.component.js.map +1 -0
  70. package/dist/lib/generated/class-registrations-manifest.d.ts +22 -0
  71. package/dist/lib/generated/class-registrations-manifest.d.ts.map +1 -0
  72. package/dist/lib/generated/class-registrations-manifest.js +39 -0
  73. package/dist/lib/generated/class-registrations-manifest.js.map +1 -0
  74. package/dist/lib/generated/generated-forms.module.d.ts +28 -0
  75. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -0
  76. package/dist/lib/generated/generated-forms.module.js +94 -0
  77. package/dist/lib/generated/generated-forms.module.js.map +1 -0
  78. package/dist/public-api.d.ts +23 -0
  79. package/dist/public-api.d.ts.map +1 -0
  80. package/dist/public-api.js +30 -0
  81. package/dist/public-api.js.map +1 -0
  82. package/package.json +46 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact-method-list.component.js","sourceRoot":"","sources":["../../../../src/lib/components/contact-method-list/contact-method-list.component.ts","../../../../src/lib/components/contact-method-list/contact-method-list.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAA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AAK;;kFA1CG,0BAA0B"}
@@ -0,0 +1,119 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormNavigationEvent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Represents a single node in the organization hierarchy tree.
6
+ * Each node holds basic display information and a flag indicating
7
+ * whether it is the currently-viewed organization.
8
+ */
9
+ export interface OrgTreeNode {
10
+ /** The unique identifier of the organization record. */
11
+ ID: string;
12
+ /** The display name of the organization. */
13
+ Name: string;
14
+ /** The organization type label (e.g. "Corporation", "Non-Profit"). */
15
+ OrganizationType: string;
16
+ /** Whether this node represents the currently-viewed organization. */
17
+ IsCurrent: boolean;
18
+ /** Child organization nodes. Currently used for structural completeness. */
19
+ Children: OrgTreeNode[];
20
+ }
21
+ /**
22
+ * Tree-view component that renders the parent/current/child org hierarchy.
23
+ *
24
+ * Self-loads its data from the MemberJunction entity system when `OrganizationID`
25
+ * is set. Displays the parent organization (if any), the current organization
26
+ * highlighted, and all direct child organizations. Clicking a parent or child
27
+ * node emits a navigation event.
28
+ *
29
+ * Indentation levels are controlled by CSS classes rather than nested DOM
30
+ * elements, which works cleanly with Angular's `@if`/`@for` block syntax.
31
+ *
32
+ * @example
33
+ * ```html
34
+ * <bizapps-org-hierarchy-tree
35
+ * [OrganizationID]="orgRecord.ID"
36
+ * (Navigate)="onNavigate($event)">
37
+ * </bizapps-org-hierarchy-tree>
38
+ * ```
39
+ */
40
+ export declare class OrgHierarchyTreeComponent {
41
+ /** Angular change-detection reference, injected for manual triggering after async ops. */
42
+ private cdr;
43
+ /** Backing field for the OrganizationID input property. */
44
+ private _organizationID;
45
+ /**
46
+ * The ID of the current organization whose hierarchy should be displayed.
47
+ * Setting this value triggers an asynchronous data reload of parent and child orgs.
48
+ */
49
+ set OrganizationID(value: string);
50
+ /** Returns the current organization ID. */
51
+ get OrganizationID(): string;
52
+ /**
53
+ * Emitted when the user clicks a parent or child organization node.
54
+ * The event payload is a {@link RecordNavigationEvent} targeting the clicked org record.
55
+ */
56
+ Navigate: EventEmitter<FormNavigationEvent>;
57
+ /**
58
+ * The parent organization tree node, or `null` if the current org has no parent.
59
+ */
60
+ ParentNode: OrgTreeNode | null;
61
+ /**
62
+ * The tree node representing the currently-viewed organization.
63
+ */
64
+ CurrentNode: OrgTreeNode | null;
65
+ /**
66
+ * Array of direct child organization tree nodes.
67
+ */
68
+ ChildNodes: OrgTreeNode[];
69
+ /**
70
+ * Whether the component is currently loading hierarchy data.
71
+ */
72
+ Loading: boolean;
73
+ /**
74
+ * The root tree node (set to CurrentNode after loading). Used in the template
75
+ * to determine whether the hierarchy has been loaded at all.
76
+ */
77
+ TreeRoot: OrgTreeNode | null;
78
+ /**
79
+ * Loads the organization hierarchy: current org, optional parent, and children.
80
+ *
81
+ * Uses RunView to batch-query the parent (if ParentID exists) and all direct
82
+ * children (where ParentID matches the current org). Builds OrgTreeNode
83
+ * instances from the loaded entity objects.
84
+ */
85
+ private loadHierarchy;
86
+ /**
87
+ * Builds the array of RunView parameter objects for batch loading.
88
+ * Includes a parent org query (if parentID exists) and a children query.
89
+ *
90
+ * @param parentID - The parent organization ID, or null if none
91
+ * @returns Array of RunView parameter objects for batch execution
92
+ */
93
+ private buildBatchQueries;
94
+ /**
95
+ * Processes the batch RunView results into parent and child tree nodes.
96
+ *
97
+ * @param batchResults - The results array from RunViews
98
+ * @param parentID - The parent organization ID, used to determine result indexing
99
+ */
100
+ private processBatchResults;
101
+ /**
102
+ * Constructs an OrgTreeNode from a loaded organization entity object.
103
+ *
104
+ * @param org - The organization entity instance
105
+ * @param isCurrent - Whether this node represents the currently-viewed org
106
+ * @returns A new OrgTreeNode populated from the entity fields
107
+ */
108
+ private buildTreeNode;
109
+ /**
110
+ * Handles click on a tree node (parent or child) and emits a navigation event.
111
+ *
112
+ * @param node - The OrgTreeNode that was clicked
113
+ * @param event - The mouse event, used to detect ctrl/meta key for new-tab behavior
114
+ */
115
+ OnNavigateToOrg(node: OrgTreeNode, event: MouseEvent): void;
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrgHierarchyTreeComponent, never>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrgHierarchyTreeComponent, "bizapps-org-hierarchy-tree", never, { "OrganizationID": { "alias": "OrganizationID"; "required": false; }; }, { "Navigate": "Navigate"; }, never, never, true, never>;
118
+ }
119
+ //# sourceMappingURL=org-hierarchy-tree.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-hierarchy-tree.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA6B,MAAM,eAAe,CAAC;AAGlG,OAAO,EAAE,mBAAmB,EAAyB,MAAM,+BAA+B,CAAC;;AAG3F;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,gBAAgB,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,SAAS,EAAE,OAAO,CAAC;IACnB,4EAA4E;IAC5E,QAAQ,EAAE,WAAW,EAAE,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAOa,yBAAyB;IAClC,0FAA0F;IAC1F,OAAO,CAAC,GAAG,CAA6B;IAExC,2DAA2D;IAC3D,OAAO,CAAC,eAAe,CAAM;IAE7B;;;OAGG;IACH,IACI,cAAc,CAAC,KAAK,EAAE,MAAM,EAM/B;IACD,2CAA2C;IAC3C,IAAI,cAAc,IAAI,MAAM,CAAiC;IAE7D;;;OAGG;IACO,QAAQ,oCAA2C;IAE7D;;OAEG;IACH,UAAU,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEtC;;OAEG;IACH,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEvC;;OAEG;IACH,UAAU,EAAE,WAAW,EAAE,CAAM;IAE/B;;OAEG;IACH,OAAO,UAAS;IAEhB;;;OAGG;IACH,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEpC;;;;;;OAMG;YACW,aAAa;IA0C3B;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;IAoBzB;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAmB3B;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;IAUrB;;;;;OAKG;IACH,eAAe,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;yCAlLlD,yBAAyB;2CAAzB,yBAAyB;CA+LrC"}
@@ -0,0 +1,295 @@
1
+ import { Component, Input, Output, EventEmitter, inject, ChangeDetectorRef } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { CompositeKey, RunView } from '@memberjunction/core';
4
+ import * as i0 from "@angular/core";
5
+ const _forTrack0 = ($index, $item) => $item.ID;
6
+ function OrgHierarchyTreeComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵdomElementStart(0, "div", 0);
8
+ i0.ɵɵdomElement(1, "i", 1);
9
+ i0.ɵɵtext(2, " Loading hierarchy... ");
10
+ i0.ɵɵdomElementEnd();
11
+ } }
12
+ function OrgHierarchyTreeComponent_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
13
+ i0.ɵɵdomElementStart(0, "div", 2);
14
+ i0.ɵɵdomElement(1, "i", 4);
15
+ i0.ɵɵtext(2, " No hierarchy data ");
16
+ i0.ɵɵdomElementEnd();
17
+ } }
18
+ function OrgHierarchyTreeComponent_Conditional_1_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
19
+ const _r1 = i0.ɵɵgetCurrentView();
20
+ i0.ɵɵdomElementStart(0, "div", 12);
21
+ i0.ɵɵdomListener("click", function OrgHierarchyTreeComponent_Conditional_1_Conditional_1_Conditional_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(ctx_r1.ParentNode, $event)); });
22
+ i0.ɵɵdomElementStart(1, "div", 7);
23
+ i0.ɵɵdomElement(2, "i", 8);
24
+ i0.ɵɵdomElementEnd();
25
+ i0.ɵɵdomElementStart(3, "div")(4, "div", 9);
26
+ i0.ɵɵtext(5);
27
+ i0.ɵɵdomElementEnd();
28
+ i0.ɵɵdomElementStart(6, "div", 10);
29
+ i0.ɵɵtext(7);
30
+ i0.ɵɵdomElementEnd()()();
31
+ } if (rf & 2) {
32
+ const ctx_r1 = i0.ɵɵnextContext(3);
33
+ i0.ɵɵadvance(5);
34
+ i0.ɵɵtextInterpolate(ctx_r1.ParentNode.Name);
35
+ i0.ɵɵadvance(2);
36
+ i0.ɵɵtextInterpolate1("Parent \u00B7 ", ctx_r1.ParentNode.OrganizationType || "");
37
+ } }
38
+ function OrgHierarchyTreeComponent_Conditional_1_Conditional_1_For_11_Template(rf, ctx) { if (rf & 1) {
39
+ const _r3 = i0.ɵɵgetCurrentView();
40
+ i0.ɵɵdomElementStart(0, "div", 13);
41
+ i0.ɵɵdomListener("click", function OrgHierarchyTreeComponent_Conditional_1_Conditional_1_For_11_Template_div_click_0_listener($event) { const child_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(child_r4, $event)); });
42
+ i0.ɵɵdomElementStart(1, "div", 7);
43
+ i0.ɵɵdomElement(2, "i", 8);
44
+ i0.ɵɵdomElementEnd();
45
+ i0.ɵɵdomElementStart(3, "div")(4, "div", 9);
46
+ i0.ɵɵtext(5);
47
+ i0.ɵɵdomElementEnd();
48
+ i0.ɵɵdomElementStart(6, "div", 10);
49
+ i0.ɵɵtext(7);
50
+ i0.ɵɵdomElementEnd()()();
51
+ } if (rf & 2) {
52
+ const child_r4 = ctx.$implicit;
53
+ const ctx_r1 = i0.ɵɵnextContext(3);
54
+ i0.ɵɵclassProp("tree-indent-deep", ctx_r1.ParentNode !== null);
55
+ i0.ɵɵadvance(5);
56
+ i0.ɵɵtextInterpolate(child_r4.Name);
57
+ i0.ɵɵadvance(2);
58
+ i0.ɵɵtextInterpolate1("Child \u00B7 ", child_r4.OrganizationType || "");
59
+ } }
60
+ function OrgHierarchyTreeComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
61
+ i0.ɵɵdomElementStart(0, "div", 3);
62
+ i0.ɵɵconditionalCreate(1, OrgHierarchyTreeComponent_Conditional_1_Conditional_1_Conditional_1_Template, 8, 2, "div", 5);
63
+ i0.ɵɵdomElementStart(2, "div", 6)(3, "div", 7);
64
+ i0.ɵɵdomElement(4, "i", 8);
65
+ i0.ɵɵdomElementEnd();
66
+ i0.ɵɵdomElementStart(5, "div")(6, "div", 9);
67
+ i0.ɵɵtext(7);
68
+ i0.ɵɵdomElementEnd();
69
+ i0.ɵɵdomElementStart(8, "div", 10);
70
+ i0.ɵɵtext(9);
71
+ i0.ɵɵdomElementEnd()()();
72
+ i0.ɵɵrepeaterCreate(10, OrgHierarchyTreeComponent_Conditional_1_Conditional_1_For_11_Template, 8, 4, "div", 11, _forTrack0);
73
+ i0.ɵɵdomElementEnd();
74
+ } if (rf & 2) {
75
+ const ctx_r1 = i0.ɵɵnextContext(2);
76
+ i0.ɵɵadvance();
77
+ i0.ɵɵconditional(ctx_r1.ParentNode ? 1 : -1);
78
+ i0.ɵɵadvance();
79
+ i0.ɵɵclassProp("tree-indent", ctx_r1.ParentNode !== null);
80
+ i0.ɵɵadvance(5);
81
+ i0.ɵɵtextInterpolate(ctx_r1.CurrentNode == null ? null : ctx_r1.CurrentNode.Name);
82
+ i0.ɵɵadvance(2);
83
+ i0.ɵɵtextInterpolate1("Current \u00B7 ", (ctx_r1.CurrentNode == null ? null : ctx_r1.CurrentNode.OrganizationType) || "");
84
+ i0.ɵɵadvance();
85
+ i0.ɵɵrepeater(ctx_r1.ChildNodes);
86
+ } }
87
+ function OrgHierarchyTreeComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵconditionalCreate(0, OrgHierarchyTreeComponent_Conditional_1_Conditional_0_Template, 3, 0, "div", 2)(1, OrgHierarchyTreeComponent_Conditional_1_Conditional_1_Template, 12, 5, "div", 3);
89
+ } if (rf & 2) {
90
+ const ctx_r1 = i0.ɵɵnextContext();
91
+ i0.ɵɵconditional(!ctx_r1.ParentNode && ctx_r1.ChildNodes.length === 0 ? 0 : 1);
92
+ } }
93
+ /**
94
+ * Tree-view component that renders the parent/current/child org hierarchy.
95
+ *
96
+ * Self-loads its data from the MemberJunction entity system when `OrganizationID`
97
+ * is set. Displays the parent organization (if any), the current organization
98
+ * highlighted, and all direct child organizations. Clicking a parent or child
99
+ * node emits a navigation event.
100
+ *
101
+ * Indentation levels are controlled by CSS classes rather than nested DOM
102
+ * elements, which works cleanly with Angular's `@if`/`@for` block syntax.
103
+ *
104
+ * @example
105
+ * ```html
106
+ * <bizapps-org-hierarchy-tree
107
+ * [OrganizationID]="orgRecord.ID"
108
+ * (Navigate)="onNavigate($event)">
109
+ * </bizapps-org-hierarchy-tree>
110
+ * ```
111
+ */
112
+ export class OrgHierarchyTreeComponent {
113
+ /** Angular change-detection reference, injected for manual triggering after async ops. */
114
+ cdr = inject(ChangeDetectorRef);
115
+ /** Backing field for the OrganizationID input property. */
116
+ _organizationID = '';
117
+ /**
118
+ * The ID of the current organization whose hierarchy should be displayed.
119
+ * Setting this value triggers an asynchronous data reload of parent and child orgs.
120
+ */
121
+ set OrganizationID(value) {
122
+ const prev = this._organizationID;
123
+ this._organizationID = value;
124
+ if (value && value !== prev) {
125
+ this.loadHierarchy();
126
+ }
127
+ }
128
+ /** Returns the current organization ID. */
129
+ get OrganizationID() { return this._organizationID; }
130
+ /**
131
+ * Emitted when the user clicks a parent or child organization node.
132
+ * The event payload is a {@link RecordNavigationEvent} targeting the clicked org record.
133
+ */
134
+ Navigate = new EventEmitter();
135
+ /**
136
+ * The parent organization tree node, or `null` if the current org has no parent.
137
+ */
138
+ ParentNode = null;
139
+ /**
140
+ * The tree node representing the currently-viewed organization.
141
+ */
142
+ CurrentNode = null;
143
+ /**
144
+ * Array of direct child organization tree nodes.
145
+ */
146
+ ChildNodes = [];
147
+ /**
148
+ * Whether the component is currently loading hierarchy data.
149
+ */
150
+ Loading = false;
151
+ /**
152
+ * The root tree node (set to CurrentNode after loading). Used in the template
153
+ * to determine whether the hierarchy has been loaded at all.
154
+ */
155
+ TreeRoot = null;
156
+ /**
157
+ * Loads the organization hierarchy: current org, optional parent, and children.
158
+ *
159
+ * Uses RunView to batch-query the parent (if ParentID exists) and all direct
160
+ * children (where ParentID matches the current org). Builds OrgTreeNode
161
+ * instances from the loaded entity objects.
162
+ */
163
+ async loadHierarchy() {
164
+ this.Loading = true;
165
+ this.ParentNode = null;
166
+ this.CurrentNode = null;
167
+ this.ChildNodes = [];
168
+ this.TreeRoot = null;
169
+ this.cdr.detectChanges();
170
+ try {
171
+ const rv = new RunView();
172
+ // First, load the current organization
173
+ const currentResult = await rv.RunView({
174
+ EntityName: 'MJ.BizApps.Common: Organizations',
175
+ ExtraFilter: `ID='${this._organizationID}'`,
176
+ ResultType: 'entity_object'
177
+ });
178
+ if (!currentResult.Success || currentResult.Results.length === 0) {
179
+ return;
180
+ }
181
+ const currentOrg = currentResult.Results[0];
182
+ this.CurrentNode = this.buildTreeNode(currentOrg, true);
183
+ this.TreeRoot = this.CurrentNode;
184
+ // Load parent and children in parallel
185
+ const parentID = currentOrg.ParentID;
186
+ const batchViews = this.buildBatchQueries(parentID);
187
+ if (batchViews.length > 0) {
188
+ const batchResults = await rv.RunViews(batchViews);
189
+ this.processBatchResults(batchResults, parentID);
190
+ }
191
+ }
192
+ catch (err) {
193
+ console.error('OrgHierarchyTree: Error loading hierarchy', err);
194
+ }
195
+ finally {
196
+ this.Loading = false;
197
+ this.cdr.detectChanges();
198
+ }
199
+ }
200
+ /**
201
+ * Builds the array of RunView parameter objects for batch loading.
202
+ * Includes a parent org query (if parentID exists) and a children query.
203
+ *
204
+ * @param parentID - The parent organization ID, or null if none
205
+ * @returns Array of RunView parameter objects for batch execution
206
+ */
207
+ buildBatchQueries(parentID) {
208
+ const queries = [];
209
+ if (parentID) {
210
+ queries.push({
211
+ EntityName: 'MJ.BizApps.Common: Organizations',
212
+ ExtraFilter: `ID='${parentID}'`,
213
+ ResultType: 'entity_object'
214
+ });
215
+ }
216
+ queries.push({
217
+ EntityName: 'MJ.BizApps.Common: Organizations',
218
+ ExtraFilter: `ParentID='${this._organizationID}'`,
219
+ ResultType: 'entity_object'
220
+ });
221
+ return queries;
222
+ }
223
+ /**
224
+ * Processes the batch RunView results into parent and child tree nodes.
225
+ *
226
+ * @param batchResults - The results array from RunViews
227
+ * @param parentID - The parent organization ID, used to determine result indexing
228
+ */
229
+ processBatchResults(batchResults, parentID) {
230
+ let childResultIndex = 0;
231
+ if (parentID && batchResults.length > 0) {
232
+ const parentResult = batchResults[0];
233
+ if (parentResult.Success && parentResult.Results.length > 0) {
234
+ this.ParentNode = this.buildTreeNode(parentResult.Results[0], false);
235
+ }
236
+ childResultIndex = 1;
237
+ }
238
+ if (batchResults.length > childResultIndex) {
239
+ const childResult = batchResults[childResultIndex];
240
+ if (childResult.Success) {
241
+ this.ChildNodes = childResult.Results.map(org => this.buildTreeNode(org, false));
242
+ }
243
+ }
244
+ }
245
+ /**
246
+ * Constructs an OrgTreeNode from a loaded organization entity object.
247
+ *
248
+ * @param org - The organization entity instance
249
+ * @param isCurrent - Whether this node represents the currently-viewed org
250
+ * @returns A new OrgTreeNode populated from the entity fields
251
+ */
252
+ buildTreeNode(org, isCurrent) {
253
+ return {
254
+ ID: org.ID,
255
+ Name: org.Name,
256
+ OrganizationType: org.OrganizationType || '',
257
+ IsCurrent: isCurrent,
258
+ Children: []
259
+ };
260
+ }
261
+ /**
262
+ * Handles click on a tree node (parent or child) and emits a navigation event.
263
+ *
264
+ * @param node - The OrgTreeNode that was clicked
265
+ * @param event - The mouse event, used to detect ctrl/meta key for new-tab behavior
266
+ */
267
+ OnNavigateToOrg(node, event) {
268
+ if (node.IsCurrent) {
269
+ return;
270
+ }
271
+ const navEvent = {
272
+ Kind: 'record',
273
+ EntityName: 'MJ.BizApps.Common: Organizations',
274
+ PrimaryKey: CompositeKey.FromKeyValuePair('ID', node.ID),
275
+ OpenInNewTab: event.ctrlKey || event.metaKey
276
+ };
277
+ this.Navigate.emit(navEvent);
278
+ }
279
+ static ɵfac = function OrgHierarchyTreeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrgHierarchyTreeComponent)(); };
280
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrgHierarchyTreeComponent, selectors: [["bizapps-org-hierarchy-tree"]], inputs: { OrganizationID: "OrganizationID" }, outputs: { Navigate: "Navigate" }, decls: 2, vars: 1, consts: [[1, "loading-state"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "empty-state"], [1, "hierarchy-tree"], [1, "fa-solid", "fa-sitemap"], [1, "tree-item"], [1, "tree-item", "tree-item--current"], [1, "tree-icon"], [1, "fa-solid", "fa-building"], [1, "tree-name"], [1, "tree-type"], [1, "tree-item", "tree-indent-child", 3, "tree-indent-deep"], [1, "tree-item", 3, "click"], [1, "tree-item", "tree-indent-child", 3, "click"]], template: function OrgHierarchyTreeComponent_Template(rf, ctx) { if (rf & 1) {
281
+ i0.ɵɵconditionalCreate(0, OrgHierarchyTreeComponent_Conditional_0_Template, 3, 0, "div", 0)(1, OrgHierarchyTreeComponent_Conditional_1_Template, 2, 1);
282
+ } if (rf & 2) {
283
+ i0.ɵɵconditional(ctx.Loading ? 0 : 1);
284
+ } }, dependencies: [CommonModule], styles: ["\n\n\n\n\n\n\n\n.loading-state[_ngcontent-%COMP%], \n.empty-state[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 24px;\n color: #999;\n font-size: 13px;\n}\n\n.empty-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 16px;\n}\n\n\n\n.hierarchy-tree[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n\n\n.tree-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 12px;\n border-radius: 8px;\n cursor: pointer;\n transition: background-color 0.15s;\n}\n\n.tree-item[_ngcontent-%COMP%]:hover {\n background: #f5f5f5;\n}\n\n\n\n.tree-item--current[_ngcontent-%COMP%] {\n background: #e8f5e9;\n border: 1px solid #c8e6c9;\n cursor: default;\n}\n\n.tree-item--current[_ngcontent-%COMP%]:hover {\n background: #e8f5e9;\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-icon[_ngcontent-%COMP%] {\n background: #2e7d32;\n color: #fff;\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-name[_ngcontent-%COMP%] {\n color: #1b5e20;\n font-weight: 700;\n}\n\n\n\n.tree-icon[_ngcontent-%COMP%] {\n width: 28px;\n height: 28px;\n min-width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 6px;\n background: #f0f4f8;\n color: #666;\n font-size: 11px;\n}\n\n\n\n.tree-name[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 600;\n color: #333;\n line-height: 1.3;\n}\n\n.tree-type[_ngcontent-%COMP%] {\n font-size: 11px;\n color: #999;\n line-height: 1.3;\n}\n\n\n\n.tree-indent[_ngcontent-%COMP%] {\n margin-left: 24px;\n}\n\n.tree-indent-child[_ngcontent-%COMP%] {\n margin-left: 24px;\n}\n\n.tree-indent-deep[_ngcontent-%COMP%] {\n margin-left: 48px;\n}"] });
285
+ }
286
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrgHierarchyTreeComponent, [{
287
+ type: Component,
288
+ args: [{ standalone: true, imports: [CommonModule], selector: 'bizapps-org-hierarchy-tree', template: "@if (Loading) {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i> Loading hierarchy...\n </div>\n} @else {\n @if (!ParentNode && ChildNodes.length === 0) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-sitemap\"></i> No hierarchy data\n </div>\n } @else {\n <div class=\"hierarchy-tree\">\n <!-- Parent organization (if exists) -->\n @if (ParentNode) {\n <div class=\"tree-item\" (click)=\"OnNavigateToOrg(ParentNode, $event)\">\n <div class=\"tree-icon\"><i class=\"fa-solid fa-building\"></i></div>\n <div>\n <div class=\"tree-name\">{{ ParentNode.Name }}</div>\n <div class=\"tree-type\">Parent \u00B7 {{ ParentNode.OrganizationType || '' }}</div>\n </div>\n </div>\n }\n\n <!-- Current organization (highlighted) -->\n <div class=\"tree-item tree-item--current\" [class.tree-indent]=\"ParentNode !== null\">\n <div class=\"tree-icon\"><i class=\"fa-solid fa-building\"></i></div>\n <div>\n <div class=\"tree-name\">{{ CurrentNode?.Name }}</div>\n <div class=\"tree-type\">Current \u00B7 {{ CurrentNode?.OrganizationType || '' }}</div>\n </div>\n </div>\n\n <!-- Child organizations -->\n @for (child of ChildNodes; track child.ID) {\n <div class=\"tree-item tree-indent-child\"\n [class.tree-indent-deep]=\"ParentNode !== null\"\n (click)=\"OnNavigateToOrg(child, $event)\">\n <div class=\"tree-icon\"><i class=\"fa-solid fa-building\"></i></div>\n <div>\n <div class=\"tree-name\">{{ child.Name }}</div>\n <div class=\"tree-type\">Child \u00B7 {{ child.OrganizationType || '' }}</div>\n </div>\n </div>\n }\n </div>\n }\n}\n", styles: ["/* ==============================\n OrgHierarchyTreeComponent Styles\n Tree view showing parent / current / child org hierarchy\n ============================== */\n\n/* ---- Loading & empty states ---- */\n.loading-state,\n.empty-state {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n padding: 24px;\n color: #999;\n font-size: 13px;\n}\n\n.empty-state i {\n font-size: 16px;\n}\n\n/* ---- Tree container ---- */\n.hierarchy-tree {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n/* ---- Individual tree item ---- */\n.tree-item {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 10px 12px;\n border-radius: 8px;\n cursor: pointer;\n transition: background-color 0.15s;\n}\n\n.tree-item:hover {\n background: #f5f5f5;\n}\n\n/* ---- Current org highlight ---- */\n.tree-item--current {\n background: #e8f5e9;\n border: 1px solid #c8e6c9;\n cursor: default;\n}\n\n.tree-item--current:hover {\n background: #e8f5e9;\n}\n\n.tree-item--current .tree-icon {\n background: #2e7d32;\n color: #fff;\n}\n\n.tree-item--current .tree-name {\n color: #1b5e20;\n font-weight: 700;\n}\n\n/* ---- Tree icon ---- */\n.tree-icon {\n width: 28px;\n height: 28px;\n min-width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 6px;\n background: #f0f4f8;\n color: #666;\n font-size: 11px;\n}\n\n/* ---- Tree text ---- */\n.tree-name {\n font-size: 13px;\n font-weight: 600;\n color: #333;\n line-height: 1.3;\n}\n\n.tree-type {\n font-size: 11px;\n color: #999;\n line-height: 1.3;\n}\n\n/* ---- Indentation levels ---- */\n.tree-indent {\n margin-left: 24px;\n}\n\n.tree-indent-child {\n margin-left: 24px;\n}\n\n.tree-indent-deep {\n margin-left: 48px;\n}\n"] }]
289
+ }], null, { OrganizationID: [{
290
+ type: Input
291
+ }], Navigate: [{
292
+ type: Output
293
+ }] }); })();
294
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrgHierarchyTreeComponent, { className: "OrgHierarchyTreeComponent", filePath: "lib/components/org-hierarchy-tree/org-hierarchy-tree.component.ts", lineNumber: 51 }); })();
295
+ //# sourceMappingURL=org-hierarchy-tree.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org-hierarchy-tree.component.js","sourceRoot":"","sources":["../../../../src/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.ts","../../../../src/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.html"],"names":[],"mappings":"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