@mj-biz-apps/common-ng 5.65.0 → 5.66.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/components/identity-header/activity-identity.component.js +71 -68
- package/dist/lib/components/identity-header/activity-identity.component.js.map +1 -1
- package/dist/lib/components/identity-header/organization-identity.component.js +6 -5
- package/dist/lib/components/identity-header/organization-identity.component.js.map +1 -1
- package/dist/lib/components/identity-header/person-identity.component.js +6 -5
- package/dist/lib/components/identity-header/person-identity.component.js.map +1 -1
- package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.d.ts.map +1 -1
- package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.js +11 -7
- package/dist/lib/components/org-hierarchy-tree/org-hierarchy-tree.component.js.map +1 -1
- package/dist/lib/components/related-chips/related-chips.component.d.ts +1 -1
- package/dist/lib/components/related-chips/related-chips.component.d.ts.map +1 -1
- package/dist/lib/components/related-chips/related-chips.component.js +34 -23
- package/dist/lib/components/related-chips/related-chips.component.js.map +1 -1
- package/dist/lib/components/relationship-list/relationship-list.component.js +7 -5
- package/dist/lib/components/relationship-list/relationship-list.component.js.map +1 -1
- package/dist/lib/custom/panels/activity-links.panel.d.ts.map +1 -1
- package/dist/lib/custom/panels/activity-links.panel.js +12 -5
- package/dist/lib/custom/panels/activity-links.panel.js.map +1 -1
- package/dist/lib/custom/panels/organization-staff.panel.d.ts.map +1 -1
- package/dist/lib/custom/panels/organization-staff.panel.js +15 -7
- package/dist/lib/custom/panels/organization-staff.panel.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Component, Input, Output, EventEmitter, inject, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { CompositeKey, RunView } from '@memberjunction/core';
|
|
4
|
+
import { BaseFormsModule } from '@memberjunction/ng-base-forms';
|
|
4
5
|
import { UserInfoEngine } from '@memberjunction/core-entities';
|
|
5
6
|
import { HierarchyTreeComponent } from '@memberjunction/ng-hierarchy-tree';
|
|
6
7
|
import { EscapeFilterValue } from '../../data/directory-stats';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@memberjunction/ng-base-forms";
|
|
8
10
|
const _forTrack0 = ($index, $item) => $item.ID;
|
|
9
11
|
function OrgHierarchyTreeComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
10
12
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -30,7 +32,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_0_Te
|
|
|
30
32
|
function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
31
33
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
32
34
|
i0.ɵɵelementStart(0, "div", 18);
|
|
33
|
-
i0.ɵɵlistener("click", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(ctx_r1.ParentNode, $event)); });
|
|
35
|
+
i0.ɵɵlistener("Navigate", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template_div_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.Navigate.emit($event)); })("click", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(ctx_r1.ParentNode, $event)); });
|
|
34
36
|
i0.ɵɵelementStart(1, "div", 13);
|
|
35
37
|
i0.ɵɵelement(2, "i", 14);
|
|
36
38
|
i0.ɵɵelementEnd();
|
|
@@ -42,6 +44,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Co
|
|
|
42
44
|
i0.ɵɵelementEnd()()();
|
|
43
45
|
} if (rf & 2) {
|
|
44
46
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
47
|
+
i0.ɵɵproperty("EntityName", "MJ_BizApps_Common: Organizations")("RecordID", ctx_r1.ParentNode.ID)("DisplayName", ctx_r1.ParentNode.Name)("HandleClick", false);
|
|
45
48
|
i0.ɵɵadvance(5);
|
|
46
49
|
i0.ɵɵtextInterpolate(ctx_r1.ParentNode.Name);
|
|
47
50
|
i0.ɵɵadvance(2);
|
|
@@ -50,7 +53,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Co
|
|
|
50
53
|
function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template(rf, ctx) { if (rf & 1) {
|
|
51
54
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
52
55
|
i0.ɵɵelementStart(0, "div", 19);
|
|
53
|
-
i0.ɵɵlistener("click", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template_div_click_0_listener($event) { const child_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(child_r5, $event)); });
|
|
56
|
+
i0.ɵɵlistener("Navigate", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template_div_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.Navigate.emit($event)); })("click", function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template_div_click_0_listener($event) { const child_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnNavigateToOrg(child_r5, $event)); });
|
|
54
57
|
i0.ɵɵelementStart(1, "div", 13);
|
|
55
58
|
i0.ɵɵelement(2, "i", 14);
|
|
56
59
|
i0.ɵɵelementEnd();
|
|
@@ -64,6 +67,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Fo
|
|
|
64
67
|
const child_r5 = ctx.$implicit;
|
|
65
68
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
66
69
|
i0.ɵɵclassProp("tree-indent-deep", ctx_r1.ParentNode !== null);
|
|
70
|
+
i0.ɵɵproperty("EntityName", "MJ_BizApps_Common: Organizations")("RecordID", child_r5.ID)("DisplayName", child_r5.Name)("HandleClick", false);
|
|
67
71
|
i0.ɵɵadvance(5);
|
|
68
72
|
i0.ɵɵtextInterpolate(child_r5.Name);
|
|
69
73
|
i0.ɵɵadvance(2);
|
|
@@ -71,7 +75,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Fo
|
|
|
71
75
|
} }
|
|
72
76
|
function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
73
77
|
i0.ɵɵelementStart(0, "div", 10);
|
|
74
|
-
i0.ɵɵconditionalCreate(1, OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template, 8,
|
|
78
|
+
i0.ɵɵconditionalCreate(1, OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Conditional_1_Template, 8, 6, "div", 11);
|
|
75
79
|
i0.ɵɵelementStart(2, "div", 12)(3, "div", 13);
|
|
76
80
|
i0.ɵɵelement(4, "i", 14);
|
|
77
81
|
i0.ɵɵelementEnd();
|
|
@@ -81,7 +85,7 @@ function OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_Te
|
|
|
81
85
|
i0.ɵɵelementStart(8, "div", 16);
|
|
82
86
|
i0.ɵɵtext(9);
|
|
83
87
|
i0.ɵɵelementEnd()()();
|
|
84
|
-
i0.ɵɵrepeaterCreate(10, OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template, 8,
|
|
88
|
+
i0.ɵɵrepeaterCreate(10, OrgHierarchyTreeComponent_Conditional_11_Conditional_1_Conditional_1_For_11_Template, 8, 8, "div", 17, _forTrack0);
|
|
85
89
|
i0.ɵɵelementEnd();
|
|
86
90
|
} if (rf & 2) {
|
|
87
91
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -248,7 +252,7 @@ export class OrgHierarchyTreeComponent {
|
|
|
248
252
|
this.Navigate.emit(navEvent);
|
|
249
253
|
}
|
|
250
254
|
static ɵfac = function OrgHierarchyTreeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrgHierarchyTreeComponent)(); };
|
|
251
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrgHierarchyTreeComponent, selectors: [["bizapps-org-hierarchy-tree"]], inputs: { OrganizationID: "OrganizationID" }, outputs: { Navigate: "Navigate" }, decls: 12, vars: 5, consts: [[1, "bizapps-view-switcher-bar"], ["role", "group", "aria-label", "Organization hierarchy view mode", 1, "bizapps-view-segmented-group"], ["type", "button", 1, "bizapps-view-segment-btn", 3, "click"], [1, "fa-solid", "fa-sitemap"], [1, "fa-solid", "fa-list-tree"], [3, "Config"], [3, "Navigate", "Config"], [1, "loading-state"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "empty-state"], [1, "hierarchy-tree"], [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) {
|
|
255
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrgHierarchyTreeComponent, selectors: [["bizapps-org-hierarchy-tree"]], inputs: { OrganizationID: "OrganizationID" }, outputs: { Navigate: "Navigate" }, decls: 12, vars: 5, consts: [[1, "bizapps-view-switcher-bar"], ["role", "group", "aria-label", "Organization hierarchy view mode", 1, "bizapps-view-segmented-group"], ["type", "button", 1, "bizapps-view-segment-btn", 3, "click"], [1, "fa-solid", "fa-sitemap"], [1, "fa-solid", "fa-list-tree"], [3, "Config"], [3, "Navigate", "Config"], [1, "loading-state"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "empty-state"], [1, "hierarchy-tree"], ["mjRecordLink", "", 1, "tree-item", 3, "EntityName", "RecordID", "DisplayName", "HandleClick"], [1, "tree-item", "tree-item--current"], [1, "tree-icon"], [1, "fa-solid", "fa-building"], [1, "tree-name"], [1, "tree-type"], ["mjRecordLink", "", 1, "tree-item", "tree-indent-child", 3, "tree-indent-deep", "EntityName", "RecordID", "DisplayName", "HandleClick"], ["mjRecordLink", "", 1, "tree-item", 3, "Navigate", "click", "EntityName", "RecordID", "DisplayName", "HandleClick"], ["mjRecordLink", "", 1, "tree-item", "tree-indent-child", 3, "Navigate", "click", "EntityName", "RecordID", "DisplayName", "HandleClick"]], template: function OrgHierarchyTreeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
252
256
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "button", 2);
|
|
253
257
|
i0.ɵɵlistener("click", function OrgHierarchyTreeComponent_Template_button_click_2_listener() { return ctx.SetViewMode("chart"); });
|
|
254
258
|
i0.ɵɵelement(3, "i", 3);
|
|
@@ -269,11 +273,11 @@ export class OrgHierarchyTreeComponent {
|
|
|
269
273
|
i0.ɵɵclassProp("active", ctx.ViewMode === "outline");
|
|
270
274
|
i0.ɵɵadvance(4);
|
|
271
275
|
i0.ɵɵconditional(ctx.ViewMode === "chart" ? 10 : 11);
|
|
272
|
-
} }, dependencies: [CommonModule, HierarchyTreeComponent], styles: ["\n\n\n\n\n\n\n\n.bizapps-view-switcher-bar[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-bottom: 14px;\n}\n\n.bizapps-view-segmented-group[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 3px;\n background: var(--mj-bg-surface-sunken, #0b1220);\n border: 1px solid var(--mj-border-default, #223254);\n border-radius: 8px;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 5px 14px;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n line-height: 1.4;\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 12px;\n opacity: 0.85;\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%]:hover:not(.active) {\n color: var(--mj-text-primary, #f1f5f9);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.bizapps-view-segment-btn.active[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary, #0284c7);\n color: #ffffff;\n font-weight: 600;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 8px rgba(2, 132, 199, 0.3);\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: var(--mj-text-muted, #64748b);\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: var(--mj-bg-surface-card, #141f3d);\n}\n\n\n\n.tree-item--current[_ngcontent-%COMP%] {\n background: rgba(16, 185, 129, 0.12);\n border: 1px solid rgba(16, 185, 129, 0.35);\n cursor: default;\n}\n\n.tree-item--current[_ngcontent-%COMP%]:hover {\n background: rgba(16, 185, 129, 0.16);\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-icon[_ngcontent-%COMP%] {\n background: #10b981;\n color: #041124;\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-name[_ngcontent-%COMP%] {\n color: #10b981;\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: var(--mj-bg-surface-sunken, #080d1a);\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 11px;\n}\n\n\n\n.tree-name[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary, #f8fafc);\n line-height: 1.3;\n}\n\n.tree-type[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted, #64748b);\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}"] });
|
|
276
|
+
} }, dependencies: [CommonModule, BaseFormsModule, i1.MjRecordLinkDirective, HierarchyTreeComponent], styles: ["\n\n\n\n\n\n\n\n.bizapps-view-switcher-bar[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-bottom: 14px;\n}\n\n.bizapps-view-segmented-group[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 3px;\n background: var(--mj-bg-surface-sunken, #0b1220);\n border: 1px solid var(--mj-border-default, #223254);\n border-radius: 8px;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 5px 14px;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n line-height: 1.4;\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 12px;\n opacity: 0.85;\n}\n\n.bizapps-view-segment-btn[_ngcontent-%COMP%]:hover:not(.active) {\n color: var(--mj-text-primary, #f1f5f9);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.bizapps-view-segment-btn.active[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary, #0284c7);\n color: #ffffff;\n font-weight: 600;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 8px rgba(2, 132, 199, 0.3);\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: var(--mj-text-muted, #64748b);\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: var(--mj-bg-surface-card, #141f3d);\n}\n\n\n\n.tree-item--current[_ngcontent-%COMP%] {\n background: rgba(16, 185, 129, 0.12);\n border: 1px solid rgba(16, 185, 129, 0.35);\n cursor: default;\n}\n\n.tree-item--current[_ngcontent-%COMP%]:hover {\n background: rgba(16, 185, 129, 0.16);\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-icon[_ngcontent-%COMP%] {\n background: #10b981;\n color: #041124;\n}\n\n.tree-item--current[_ngcontent-%COMP%] .tree-name[_ngcontent-%COMP%] {\n color: #10b981;\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: var(--mj-bg-surface-sunken, #080d1a);\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 11px;\n}\n\n\n\n.tree-name[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary, #f8fafc);\n line-height: 1.3;\n}\n\n.tree-type[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted, #64748b);\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}"] });
|
|
273
277
|
}
|
|
274
278
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrgHierarchyTreeComponent, [{
|
|
275
279
|
type: Component,
|
|
276
|
-
args: [{ standalone: true, imports: [CommonModule, HierarchyTreeComponent], selector: 'bizapps-org-hierarchy-tree', template: "<!-- Segmented View Mode Switcher -->\n<div class=\"bizapps-view-switcher-bar\">\n <div class=\"bizapps-view-segmented-group\" role=\"group\" aria-label=\"Organization hierarchy view mode\">\n <button\n type=\"button\"\n class=\"bizapps-view-segment-btn\"\n [class.active]=\"ViewMode === 'chart'\"\n (click)=\"SetViewMode('chart')\">\n <i class=\"fa-solid fa-sitemap\"></i>\n <span>Visual Org Chart</span>\n </button>\n <button\n type=\"button\"\n class=\"bizapps-view-segment-btn\"\n [class.active]=\"ViewMode === 'outline'\"\n (click)=\"SetViewMode('outline')\">\n <i class=\"fa-solid fa-list-tree\"></i>\n <span>Outline</span>\n </button>\n </div>\n</div>\n\n@if (ViewMode === 'chart') {\n <mj-hierarchy-tree\n [Config]=\"treeConfig\"\n (Navigate)=\"Navigate.emit($event)\">\n </mj-hierarchy-tree>\n} @else {\n @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 parent or subsidiary organizations found.\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}\n", styles: ["/* ==============================\n OrgHierarchyTreeComponent Styles\n Tree view showing parent / current / child org hierarchy\n ============================== */\n\n/* View Switcher */\n.bizapps-view-switcher-bar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-bottom: 14px;\n}\n\n.bizapps-view-segmented-group {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 3px;\n background: var(--mj-bg-surface-sunken, #0b1220);\n border: 1px solid var(--mj-border-default, #223254);\n border-radius: 8px;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);\n}\n\n.bizapps-view-segment-btn {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 5px 14px;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n line-height: 1.4;\n}\n\n.bizapps-view-segment-btn i {\n font-size: 12px;\n opacity: 0.85;\n}\n\n.bizapps-view-segment-btn:hover:not(.active) {\n color: var(--mj-text-primary, #f1f5f9);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.bizapps-view-segment-btn.active {\n background: var(--mj-brand-primary, #0284c7);\n color: #ffffff;\n font-weight: 600;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 8px rgba(2, 132, 199, 0.3);\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: var(--mj-text-muted, #64748b);\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: var(--mj-bg-surface-card, #141f3d);\n}\n\n/* ---- Current org highlight ---- */\n.tree-item--current {\n background: rgba(16, 185, 129, 0.12);\n border: 1px solid rgba(16, 185, 129, 0.35);\n cursor: default;\n}\n\n.tree-item--current:hover {\n background: rgba(16, 185, 129, 0.16);\n}\n\n.tree-item--current .tree-icon {\n background: #10b981;\n color: #041124;\n}\n\n.tree-item--current .tree-name {\n color: #10b981;\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: var(--mj-bg-surface-sunken, #080d1a);\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 11px;\n}\n\n/* ---- Tree text ---- */\n.tree-name {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary, #f8fafc);\n line-height: 1.3;\n}\n\n.tree-type {\n font-size: 11px;\n color: var(--mj-text-muted, #64748b);\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"] }]
|
|
280
|
+
args: [{ standalone: true, imports: [CommonModule, BaseFormsModule, HierarchyTreeComponent], selector: 'bizapps-org-hierarchy-tree', template: "<!-- Segmented View Mode Switcher -->\n<div class=\"bizapps-view-switcher-bar\">\n <div class=\"bizapps-view-segmented-group\" role=\"group\" aria-label=\"Organization hierarchy view mode\">\n <button\n type=\"button\"\n class=\"bizapps-view-segment-btn\"\n [class.active]=\"ViewMode === 'chart'\"\n (click)=\"SetViewMode('chart')\">\n <i class=\"fa-solid fa-sitemap\"></i>\n <span>Visual Org Chart</span>\n </button>\n <button\n type=\"button\"\n class=\"bizapps-view-segment-btn\"\n [class.active]=\"ViewMode === 'outline'\"\n (click)=\"SetViewMode('outline')\">\n <i class=\"fa-solid fa-list-tree\"></i>\n <span>Outline</span>\n </button>\n </div>\n</div>\n\n@if (ViewMode === 'chart') {\n <mj-hierarchy-tree\n [Config]=\"treeConfig\"\n (Navigate)=\"Navigate.emit($event)\">\n </mj-hierarchy-tree>\n} @else {\n @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 parent or subsidiary organizations found.\n </div>\n } @else {\n <div class=\"hierarchy-tree\">\n <!-- Parent organization (if exists) -->\n @if (ParentNode) {\n <div class=\"tree-item\"\n mjRecordLink\n [EntityName]=\"'MJ_BizApps_Common: Organizations'\"\n [RecordID]=\"ParentNode.ID\"\n [DisplayName]=\"ParentNode.Name\"\n [HandleClick]=\"false\"\n (Navigate)=\"Navigate.emit($event)\"\n (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 mjRecordLink\n [EntityName]=\"'MJ_BizApps_Common: Organizations'\"\n [RecordID]=\"child.ID\"\n [DisplayName]=\"child.Name\"\n [HandleClick]=\"false\"\n (Navigate)=\"Navigate.emit($event)\"\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}\n", styles: ["/* ==============================\n OrgHierarchyTreeComponent Styles\n Tree view showing parent / current / child org hierarchy\n ============================== */\n\n/* View Switcher */\n.bizapps-view-switcher-bar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-bottom: 14px;\n}\n\n.bizapps-view-segmented-group {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 3px;\n background: var(--mj-bg-surface-sunken, #0b1220);\n border: 1px solid var(--mj-border-default, #223254);\n border-radius: 8px;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);\n}\n\n.bizapps-view-segment-btn {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n padding: 5px 14px;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n line-height: 1.4;\n}\n\n.bizapps-view-segment-btn i {\n font-size: 12px;\n opacity: 0.85;\n}\n\n.bizapps-view-segment-btn:hover:not(.active) {\n color: var(--mj-text-primary, #f1f5f9);\n background: rgba(255, 255, 255, 0.05);\n}\n\n.bizapps-view-segment-btn.active {\n background: var(--mj-brand-primary, #0284c7);\n color: #ffffff;\n font-weight: 600;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 8px rgba(2, 132, 199, 0.3);\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: var(--mj-text-muted, #64748b);\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: var(--mj-bg-surface-card, #141f3d);\n}\n\n/* ---- Current org highlight ---- */\n.tree-item--current {\n background: rgba(16, 185, 129, 0.12);\n border: 1px solid rgba(16, 185, 129, 0.35);\n cursor: default;\n}\n\n.tree-item--current:hover {\n background: rgba(16, 185, 129, 0.16);\n}\n\n.tree-item--current .tree-icon {\n background: #10b981;\n color: #041124;\n}\n\n.tree-item--current .tree-name {\n color: #10b981;\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: var(--mj-bg-surface-sunken, #080d1a);\n color: var(--mj-text-secondary, #94a3b8);\n font-size: 11px;\n}\n\n/* ---- Tree text ---- */\n.tree-name {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary, #f8fafc);\n line-height: 1.3;\n}\n\n.tree-type {\n font-size: 11px;\n color: var(--mj-text-muted, #64748b);\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"] }]
|
|
277
281
|
}], null, { OrganizationID: [{
|
|
278
282
|
type: Input
|
|
279
283
|
}], Navigate: [{
|
|
@@ -1 +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":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAU,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;
|
|
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":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAU,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAA8C,MAAM,+BAA+B,CAAC;AAC5G,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAuB,MAAM,mCAAmC,CAAC;AAEhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;ICgB3D,4CAEuC;IAAnC,qNAAY,4BAAqB,KAAC;IACtC,iBAAoB;;;IAFhB,0CAAqB;;;IAKrB,8BAA2B;IACvB,uBAA2C;IAAC,sCAChD;IAAA,iBAAM;;;IAGF,8BAAyB;IACrB,uBAAmC;IAAC,8DACxC;IAAA,iBAAM;;;;IAKE,+BAOmD;IAA9C,AADA,kPAAY,4BAAqB,KAAC,+NACzB,iDAAmC,KAAC;IAC9C,+BAAuB;IAAA,wBAAoC;IAAA,iBAAM;IAE7D,AADJ,2BAAK,cACsB;IAAA,YAAqB;IAAA,iBAAM;IAClD,+BAAuB;IAAA,YAAgD;IA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eAAqC;YAArC,kDAAqC;YAQrC,eAAuC;YAAvC,oDAAuC;YAQnD,eAiEC;YAjED,oDAiEC;4BDtDa,YAAY,EAAE,eAAe,4BAAE,sBAAsB;;iFAKtD,yBAAyB;cAPrC,SAAS;6BACM,IAAI,WACP,CAAC,YAAY,EAAE,eAAe,EAAE,sBAAsB,CAAC,YACtD,4BAA4B;;kBAYrC,KAAK;;kBAUL,MAAM;;kFAlBE,yBAAyB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, type OnDestroy } from '@angular/core';
|
|
2
2
|
import { type IMetadataProvider } from '@memberjunction/core';
|
|
3
|
-
import type
|
|
3
|
+
import { type FormNavigationEvent } from '@memberjunction/ng-base-forms';
|
|
4
4
|
import { type BizAppsRelatedLink, type ResolvedRelatedChip } from './related-links';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-chips.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/related-chips/related-chips.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAEZ,KAAK,SAAS,EAIjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"related-chips.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/related-chips/related-chips.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAEZ,KAAK,SAAS,EAIjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAmB,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAGH,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAC3B,MAAM,iBAAiB,CAAC;;AAEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAyFa,qBAAsB,YAAW,SAAS;IACnD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IAEjD,+FAA+F;IACxF,KAAK,EAAE,mBAAmB,EAAE,CAAM;IAEzC,OAAO,CAAC,KAAK,CAA4B;IAEzC,OAAO,CAAC,QAAQ,CAAkC;IAElD;;;;OAIG;IACH,OAAO,CAAC,UAAU,CAAK;IAEvB;;;;;OAKG;IACH,OAAO,CAAC,SAAS,CAAS;IAE1B;;;;;;OAMG;IACH,IACW,KAAK,CAAC,KAAK,EAAE,kBAAkB,EAAE,GAAG,IAAI,GAAG,SAAS,EAG9D;IACD,IAAW,KAAK,IAAI,kBAAkB,EAAE,CAEvC;IAED;;;;;;;;;;;;;;OAcG;IACH,IACW,QAAQ,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,EAG9D;IACD,IAAW,QAAQ,IAAI,iBAAiB,GAAG,IAAI,CAE9C;IAED;;;;;;OAMG;IACc,QAAQ,oCAA2C;IAEpE,0EAA0E;IAC1E,IAAW,aAAa,IAAI,iBAAiB,CAE5C;IAEM,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;IAKxD,WAAW,IAAI,IAAI;IAI1B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;OAMG;YACW,OAAO;yCAvHZ,qBAAqB;2CAArB,qBAAqB;CAgJjC"}
|
|
@@ -1,43 +1,47 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewEncapsulation, inject, } from '@angular/core';
|
|
2
2
|
import { Metadata, RunView } from '@memberjunction/core';
|
|
3
|
+
import { BaseFormsModule } from '@memberjunction/ng-base-forms';
|
|
3
4
|
import { RelatedChipNavigation, ResolveRelatedChip, } from './related-links';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@memberjunction/ng-base-forms";
|
|
5
7
|
const _forTrack0 = ($index, $item) => $item.Key;
|
|
6
8
|
function RelatedChipsComponent_Conditional_0_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
-
i0.ɵɵ
|
|
9
|
+
i0.ɵɵelement(0, "i", 6);
|
|
8
10
|
} if (rf & 2) {
|
|
9
|
-
const
|
|
10
|
-
i0.ɵɵclassMap(
|
|
11
|
+
const chip_r3 = i0.ɵɵnextContext().$implicit;
|
|
12
|
+
i0.ɵɵclassMap(chip_r3.Icon);
|
|
11
13
|
} }
|
|
12
14
|
function RelatedChipsComponent_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
13
15
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵ
|
|
15
|
-
i0.ɵɵ
|
|
16
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
17
|
+
i0.ɵɵlistener("Navigate", function RelatedChipsComponent_Conditional_0_For_2_Template_button_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.Navigate.emit($event)); })("click", function RelatedChipsComponent_Conditional_0_For_2_Template_button_click_0_listener($event) { const chip_r3 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.Open(chip_r3, $event)); });
|
|
16
18
|
i0.ɵɵconditionalCreate(1, RelatedChipsComponent_Conditional_0_For_2_Conditional_1_Template, 1, 2, "i", 3);
|
|
17
|
-
i0.ɵɵ
|
|
19
|
+
i0.ɵɵelementStart(2, "span", 4);
|
|
18
20
|
i0.ɵɵtext(3);
|
|
19
|
-
i0.ɵɵ
|
|
20
|
-
i0.ɵɵ
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
i0.ɵɵelementStart(4, "span", 5);
|
|
21
23
|
i0.ɵɵtext(5);
|
|
22
|
-
i0.ɵɵ
|
|
24
|
+
i0.ɵɵelementEnd()();
|
|
23
25
|
} if (rf & 2) {
|
|
24
|
-
const
|
|
25
|
-
i0.ɵɵ
|
|
26
|
+
const chip_r3 = ctx.$implicit;
|
|
27
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28
|
+
i0.ɵɵproperty("EntityName", chip_r3.EntityName)("RecordID", chip_r3.RecordID)("DisplayName", chip_r3.Name || chip_r3.Label)("Provider", ctx_r1.Provider)("HandleClick", false);
|
|
29
|
+
i0.ɵɵattribute("aria-label", chip_r3.AriaLabel);
|
|
26
30
|
i0.ɵɵadvance();
|
|
27
|
-
i0.ɵɵconditional(
|
|
31
|
+
i0.ɵɵconditional(chip_r3.Icon ? 1 : -1);
|
|
28
32
|
i0.ɵɵadvance(2);
|
|
29
|
-
i0.ɵɵtextInterpolate(
|
|
33
|
+
i0.ɵɵtextInterpolate(chip_r3.Label);
|
|
30
34
|
i0.ɵɵadvance(2);
|
|
31
|
-
i0.ɵɵtextInterpolate(
|
|
35
|
+
i0.ɵɵtextInterpolate(chip_r3.Name || "Open");
|
|
32
36
|
} }
|
|
33
37
|
function RelatedChipsComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
34
|
-
i0.ɵɵ
|
|
35
|
-
i0.ɵɵrepeaterCreate(1, RelatedChipsComponent_Conditional_0_For_2_Template, 6,
|
|
36
|
-
i0.ɵɵ
|
|
38
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
39
|
+
i0.ɵɵrepeaterCreate(1, RelatedChipsComponent_Conditional_0_For_2_Template, 6, 9, "button", 1, _forTrack0);
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
37
41
|
} if (rf & 2) {
|
|
38
|
-
const
|
|
42
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
43
|
i0.ɵɵadvance();
|
|
40
|
-
i0.ɵɵrepeater(
|
|
44
|
+
i0.ɵɵrepeater(ctx_r1.Chips);
|
|
41
45
|
} }
|
|
42
46
|
/**
|
|
43
47
|
* `bizapps-related-chips` — the row of links from a record to the records linked to it.
|
|
@@ -203,21 +207,28 @@ export class RelatedChipsComponent {
|
|
|
203
207
|
this.cdr.detectChanges();
|
|
204
208
|
}
|
|
205
209
|
static ɵfac = function RelatedChipsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RelatedChipsComponent)(); };
|
|
206
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RelatedChipsComponent, selectors: [["bizapps-related-chips"]], inputs: { Links: "Links", Provider: "Provider" }, outputs: { Navigate: "Navigate" }, decls: 1, vars: 1, consts: [["role", "group", "aria-label", "Related records", 1, "bizapps-related"], ["type", "button", 1, "bizapps-related__chip"], ["type", "button", 1, "bizapps-related__chip", 3, "click"], ["aria-hidden", "true", 3, "class"], [1, "bizapps-related__label"], [1, "bizapps-related__name"], ["aria-hidden", "true"]], template: function RelatedChipsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
210
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RelatedChipsComponent, selectors: [["bizapps-related-chips"]], inputs: { Links: "Links", Provider: "Provider" }, outputs: { Navigate: "Navigate" }, decls: 1, vars: 1, consts: [["role", "group", "aria-label", "Related records", 1, "bizapps-related"], ["type", "button", "mjRecordLink", "", 1, "bizapps-related__chip", 3, "EntityName", "RecordID", "DisplayName", "Provider", "HandleClick"], ["type", "button", "mjRecordLink", "", 1, "bizapps-related__chip", 3, "Navigate", "click", "EntityName", "RecordID", "DisplayName", "Provider", "HandleClick"], ["aria-hidden", "true", 3, "class"], [1, "bizapps-related__label"], [1, "bizapps-related__name"], ["aria-hidden", "true"]], template: function RelatedChipsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
207
211
|
i0.ɵɵconditionalCreate(0, RelatedChipsComponent_Conditional_0_Template, 3, 0, "div", 0);
|
|
208
212
|
} if (rf & 2) {
|
|
209
213
|
i0.ɵɵconditional(ctx.Chips.length > 0 ? 0 : -1);
|
|
210
|
-
} }, styles: ["\n /* Styles are the component's own and use design tokens only, under a class prefix of\n their own: the app kits (orders-kit, contracts-kit) are global under\n ViewEncapsulation.None, and .mj-chip / .mjc-chip / .mjo-* / .biz-hero__chip are all\n already taken by unrelated things. A row that borrowed one of those would render\n differently in each app, which is the failure this component exists to end. */\n .bizapps-related {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--mj-space-2);\n }\n .bizapps-related__chip {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1-5);\n max-width: 100%;\n margin: 0;\n padding: var(--mj-space-1) var(--mj-space-3);\n font-family: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.5;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full);\n cursor: pointer;\n transition: var(--mj-transition-colors);\n }\n .bizapps-related__chip:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-brand-primary);\n }\n .bizapps-related__chip:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: var(--mj-ring-offset);\n }\n /* The relationship is the quiet half; the record's NAME is what the reader is looking\n for, so it carries the link colour and the underline on hover. */\n .bizapps-related__label {\n color: var(--mj-text-secondary);\n white-space: nowrap;\n }\n .bizapps-related__name {\n overflow: hidden;\n color: var(--mj-text-link);\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .bizapps-related__chip:hover .bizapps-related__name {\n color: var(--mj-text-link-hover);\n text-decoration: underline;\n }\n "], encapsulation: 2, changeDetection: 0 });
|
|
214
|
+
} }, dependencies: [BaseFormsModule, i1.MjRecordLinkDirective], styles: ["\n /* Styles are the component's own and use design tokens only, under a class prefix of\n their own: the app kits (orders-kit, contracts-kit) are global under\n ViewEncapsulation.None, and .mj-chip / .mjc-chip / .mjo-* / .biz-hero__chip are all\n already taken by unrelated things. A row that borrowed one of those would render\n differently in each app, which is the failure this component exists to end. */\n .bizapps-related {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--mj-space-2);\n }\n .bizapps-related__chip {\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1-5);\n max-width: 100%;\n margin: 0;\n padding: var(--mj-space-1) var(--mj-space-3);\n font-family: inherit;\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.5;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-full);\n cursor: pointer;\n transition: var(--mj-transition-colors);\n }\n .bizapps-related__chip:hover {\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-brand-primary);\n }\n .bizapps-related__chip:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: var(--mj-ring-offset);\n }\n /* The relationship is the quiet half; the record's NAME is what the reader is looking\n for, so it carries the link colour and the underline on hover. */\n .bizapps-related__label {\n color: var(--mj-text-secondary);\n white-space: nowrap;\n }\n .bizapps-related__name {\n overflow: hidden;\n color: var(--mj-text-link);\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .bizapps-related__chip:hover .bizapps-related__name {\n color: var(--mj-text-link-hover);\n text-decoration: underline;\n }\n "], encapsulation: 2, changeDetection: 0 });
|
|
211
215
|
}
|
|
212
216
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RelatedChipsComponent, [{
|
|
213
217
|
type: Component,
|
|
214
|
-
args: [{ selector: 'bizapps-related-chips', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
218
|
+
args: [{ selector: 'bizapps-related-chips', standalone: true, imports: [BaseFormsModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
215
219
|
@if (Chips.length > 0) {
|
|
216
220
|
<div class="bizapps-related" role="group" aria-label="Related records">
|
|
217
221
|
@for (chip of Chips; track chip.Key) {
|
|
218
222
|
<button
|
|
219
223
|
type="button"
|
|
220
224
|
class="bizapps-related__chip"
|
|
225
|
+
mjRecordLink
|
|
226
|
+
[EntityName]="chip.EntityName"
|
|
227
|
+
[RecordID]="chip.RecordID"
|
|
228
|
+
[DisplayName]="chip.Name || chip.Label"
|
|
229
|
+
[Provider]="Provider"
|
|
230
|
+
[HandleClick]="false"
|
|
231
|
+
(Navigate)="Navigate.emit($event)"
|
|
221
232
|
[attr.aria-label]="chip.AriaLabel"
|
|
222
233
|
(click)="Open(chip, $event)">
|
|
223
234
|
@if (chip.Icon) {
|
|
@@ -237,5 +248,5 @@ export class RelatedChipsComponent {
|
|
|
237
248
|
}], Navigate: [{
|
|
238
249
|
type: Output
|
|
239
250
|
}] }); })();
|
|
240
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RelatedChipsComponent, { className: "RelatedChipsComponent", filePath: "lib/components/related-chips/related-chips.component.ts", lineNumber:
|
|
251
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RelatedChipsComponent, { className: "RelatedChipsComponent", filePath: "lib/components/related-chips/related-chips.component.ts", lineNumber: 154 }); })();
|
|
241
252
|
//# sourceMappingURL=related-chips.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-chips.component.js","sourceRoot":"","sources":["../../../../src/lib/components/related-chips/related-chips.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,KAAK,EAEL,MAAM,EACN,iBAAiB,EACjB,MAAM,GACT,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAA0B,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"related-chips.component.js","sourceRoot":"","sources":["../../../../src/lib/components/related-chips/related-chips.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,iBAAiB,EACjB,SAAS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