@mj-biz-apps/common-ng 5.64.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/__tests__/uuid-casing.test.d.ts +7 -0
- package/dist/lib/components/__tests__/uuid-casing.test.d.ts.map +1 -0
- package/dist/lib/components/__tests__/uuid-casing.test.js +78 -0
- package/dist/lib/components/__tests__/uuid-casing.test.js.map +1 -0
- package/dist/lib/components/address-editor/address-editor.component.d.ts.map +1 -1
- package/dist/lib/components/address-editor/address-editor.component.js +9 -7
- package/dist/lib/components/address-editor/address-editor.component.js.map +1 -1
- package/dist/lib/components/contact-method-list/contact-method-list.component.d.ts +9 -2
- package/dist/lib/components/contact-method-list/contact-method-list.component.d.ts.map +1 -1
- package/dist/lib/components/contact-method-list/contact-method-list.component.js +35 -22
- package/dist/lib/components/contact-method-list/contact-method-list.component.js.map +1 -1
- package/dist/lib/components/identity-header/__tests__/activity-identity-parent.test.d.ts +8 -0
- package/dist/lib/components/identity-header/__tests__/activity-identity-parent.test.d.ts.map +1 -0
- package/dist/lib/components/identity-header/__tests__/activity-identity-parent.test.js +75 -0
- package/dist/lib/components/identity-header/__tests__/activity-identity-parent.test.js.map +1 -0
- package/dist/lib/components/identity-header/__tests__/identity-hero-claims.test.d.ts +12 -0
- package/dist/lib/components/identity-header/__tests__/identity-hero-claims.test.d.ts.map +1 -0
- package/dist/lib/components/identity-header/__tests__/identity-hero-claims.test.js +94 -0
- package/dist/lib/components/identity-header/__tests__/identity-hero-claims.test.js.map +1 -0
- package/dist/lib/components/identity-header/activity-identity.component.d.ts +9 -0
- package/dist/lib/components/identity-header/activity-identity.component.d.ts.map +1 -1
- package/dist/lib/components/identity-header/activity-identity.component.js +115 -73
- package/dist/lib/components/identity-header/activity-identity.component.js.map +1 -1
- package/dist/lib/components/identity-header/organization-identity.component.js +51 -20
- package/dist/lib/components/identity-header/organization-identity.component.js.map +1 -1
- package/dist/lib/components/identity-header/person-identity.component.js +41 -30
- 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/party-field/party-field.component.js +5 -5
- package/dist/lib/components/party-field/party-field.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-graph/common-relationship-graph.component.d.ts.map +1 -1
- package/dist/lib/components/relationship-graph/common-relationship-graph.component.js +29 -20
- package/dist/lib/components/relationship-graph/common-relationship-graph.component.js.map +1 -1
- package/dist/lib/components/relationship-list/relationship-list.component.js +13 -11
- package/dist/lib/components/relationship-list/relationship-list.component.js.map +1 -1
- package/dist/lib/components/selling-company-field/__tests__/selling-company-field.component.test.js +110 -4
- package/dist/lib/components/selling-company-field/__tests__/selling-company-field.component.test.js.map +1 -1
- package/dist/lib/components/selling-company-field/selling-company-field.component.d.ts +34 -3
- package/dist/lib/components/selling-company-field/selling-company-field.component.d.ts.map +1 -1
- package/dist/lib/components/selling-company-field/selling-company-field.component.js +153 -6
- package/dist/lib/components/selling-company-field/selling-company-field.component.js.map +1 -1
- package/dist/lib/custom/panels/activity-content.panel.js +2 -2
- package/dist/lib/custom/panels/activity-hierarchy.panel.js +2 -2
- package/dist/lib/custom/panels/activity-hierarchy.panel.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/activity-type-hierarchy.panel.js +2 -2
- package/dist/lib/custom/panels/activity-type-hierarchy.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/dist/lib/pages/activities-dashboard.page.d.ts +2 -0
- package/dist/lib/pages/activities-dashboard.page.d.ts.map +1 -1
- package/dist/lib/pages/activities-dashboard.page.js +10 -5
- package/dist/lib/pages/activities-dashboard.page.js.map +1 -1
- package/dist/lib/pages/common-dashboard.page.js +2 -2
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
10
10
|
const _c0 = ["*"];
|
|
11
11
|
function PersonIdentityComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
12
12
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13
|
-
i0.ɵɵelementStart(0, "img",
|
|
13
|
+
i0.ɵɵelementStart(0, "img", 19);
|
|
14
14
|
i0.ɵɵlistener("error", function PersonIdentityComponent_Conditional_3_Template_img_error_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnPhotoError($event)); });
|
|
15
15
|
i0.ɵɵelementEnd();
|
|
16
16
|
} if (rf & 2) {
|
|
@@ -40,7 +40,7 @@ function PersonIdentityComponent_Conditional_10_Template(rf, ctx) { if (rf & 1)
|
|
|
40
40
|
} }
|
|
41
41
|
function PersonIdentityComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
42
42
|
i0.ɵɵelementStart(0, "span", 14);
|
|
43
|
-
i0.ɵɵelement(1, "i",
|
|
43
|
+
i0.ɵɵelement(1, "i", 20);
|
|
44
44
|
i0.ɵɵtext(2);
|
|
45
45
|
i0.ɵɵelementEnd();
|
|
46
46
|
} if (rf & 2) {
|
|
@@ -49,7 +49,7 @@ function PersonIdentityComponent_Conditional_17_Template(rf, ctx) { if (rf & 1)
|
|
|
49
49
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.Record.SeniorityLevel, " ");
|
|
50
50
|
} }
|
|
51
51
|
function PersonIdentityComponent_Conditional_18_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
i0.ɵɵelementStart(0, "span",
|
|
52
|
+
i0.ɵɵelementStart(0, "span", 23);
|
|
53
53
|
i0.ɵɵtext(1);
|
|
54
54
|
i0.ɵɵelementEnd();
|
|
55
55
|
} if (rf & 2) {
|
|
@@ -59,11 +59,11 @@ function PersonIdentityComponent_Conditional_18_Conditional_3_Template(rf, ctx)
|
|
|
59
59
|
} }
|
|
60
60
|
function PersonIdentityComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
61
61
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
62
|
-
i0.ɵɵelementStart(0, "button",
|
|
62
|
+
i0.ɵɵelementStart(0, "button", 21);
|
|
63
63
|
i0.ɵɵlistener("click", function PersonIdentityComponent_Conditional_18_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleAllFunctions()); });
|
|
64
|
-
i0.ɵɵelement(1, "i",
|
|
64
|
+
i0.ɵɵelement(1, "i", 22);
|
|
65
65
|
i0.ɵɵtext(2);
|
|
66
|
-
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_18_Conditional_3_Template, 2, 1, "span",
|
|
66
|
+
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_18_Conditional_3_Template, 2, 1, "span", 23);
|
|
67
67
|
i0.ɵɵelementEnd();
|
|
68
68
|
} if (rf & 2) {
|
|
69
69
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -74,7 +74,7 @@ function PersonIdentityComponent_Conditional_18_Template(rf, ctx) { if (rf & 1)
|
|
|
74
74
|
i0.ɵɵconditional(ctx_r1.AllJobFunctions.length > 1 ? 3 : -1);
|
|
75
75
|
} }
|
|
76
76
|
function PersonIdentityComponent_Conditional_19_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
-
i0.ɵɵelementStart(0, "span",
|
|
77
|
+
i0.ɵɵelementStart(0, "span", 25);
|
|
78
78
|
i0.ɵɵtext(1);
|
|
79
79
|
i0.ɵɵelementEnd();
|
|
80
80
|
} if (rf & 2) {
|
|
@@ -83,10 +83,10 @@ function PersonIdentityComponent_Conditional_19_For_4_Template(rf, ctx) { if (rf
|
|
|
83
83
|
i0.ɵɵtextInterpolate(fn_r4);
|
|
84
84
|
} }
|
|
85
85
|
function PersonIdentityComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
-
i0.ɵɵelementStart(0, "div", 16)(1, "span",
|
|
86
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "span", 24);
|
|
87
87
|
i0.ɵɵtext(2, "Job Functions:");
|
|
88
88
|
i0.ɵɵelementEnd();
|
|
89
|
-
i0.ɵɵrepeaterCreate(3, PersonIdentityComponent_Conditional_19_For_4_Template, 2, 1, "span",
|
|
89
|
+
i0.ɵɵrepeaterCreate(3, PersonIdentityComponent_Conditional_19_For_4_Template, 2, 1, "span", 25, i0.ɵɵrepeaterTrackByIdentity);
|
|
90
90
|
i0.ɵɵelementEnd();
|
|
91
91
|
} if (rf & 2) {
|
|
92
92
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -108,11 +108,12 @@ function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_1_Temp
|
|
|
108
108
|
function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
109
109
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
110
110
|
i0.ɵɵelementStart(0, "button", 31);
|
|
111
|
-
i0.ɵɵlistener("click", function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnOrgClick($event)); });
|
|
111
|
+
i0.ɵɵlistener("Navigate", function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template_button_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.Navigate.emit($event)); })("click", function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnOrgClick($event)); });
|
|
112
112
|
i0.ɵɵtext(1);
|
|
113
113
|
i0.ɵɵelementEnd();
|
|
114
114
|
} if (rf & 2) {
|
|
115
115
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
116
|
+
i0.ɵɵproperty("mjRecordLink", ctx_r1.Record)("HandleClick", false);
|
|
116
117
|
i0.ɵɵadvance();
|
|
117
118
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.Record.CurrentOrganizationName, " ");
|
|
118
119
|
} }
|
|
@@ -129,7 +130,7 @@ function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Temp
|
|
|
129
130
|
i0.ɵɵelementStart(0, "div", 27)(1, "span", 28);
|
|
130
131
|
i0.ɵɵtext(2, "Organization");
|
|
131
132
|
i0.ɵɵelementEnd();
|
|
132
|
-
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template, 2,
|
|
133
|
+
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_3_Template, 2, 3, "button", 30)(4, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Conditional_4_Template, 2, 1, "span", 29);
|
|
133
134
|
i0.ɵɵelementEnd();
|
|
134
135
|
} if (rf & 2) {
|
|
135
136
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -163,7 +164,7 @@ function PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_4_Temp
|
|
|
163
164
|
i0.ɵɵtextInterpolate(ctx_r1.LocationLine);
|
|
164
165
|
} }
|
|
165
166
|
function PersonIdentityComponent_Conditional_22_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
166
|
-
i0.ɵɵelementStart(0, "div",
|
|
167
|
+
i0.ɵɵelementStart(0, "div", 26);
|
|
167
168
|
i0.ɵɵconditionalCreate(1, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_1_Template, 5, 1, "div", 27);
|
|
168
169
|
i0.ɵɵconditionalCreate(2, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_2_Template, 5, 1, "div", 27);
|
|
169
170
|
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_22_Conditional_0_Conditional_3_Template, 5, 2, "div", 27);
|
|
@@ -180,8 +181,15 @@ function PersonIdentityComponent_Conditional_22_Conditional_0_Template(rf, ctx)
|
|
|
180
181
|
i0.ɵɵadvance();
|
|
181
182
|
i0.ɵɵconditional(ctx_r1.LocationLine ? 4 : -1);
|
|
182
183
|
} }
|
|
183
|
-
function
|
|
184
|
-
i0.ɵɵ
|
|
184
|
+
function PersonIdentityComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
185
|
+
i0.ɵɵconditionalCreate(0, PersonIdentityComponent_Conditional_22_Conditional_0_Template, 5, 4, "div", 26);
|
|
186
|
+
i0.ɵɵprojection(1);
|
|
187
|
+
} if (rf & 2) {
|
|
188
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
189
|
+
i0.ɵɵconditional(!ctx_r1.EditMode && (ctx_r1.DisplayTitle || ctx_r1.Record.CurrentOrganizationName || ctx_r1.Record.PrimaryEmail || ctx_r1.Record.Email || ctx_r1.LocationLine) ? 0 : -1);
|
|
190
|
+
} }
|
|
191
|
+
function PersonIdentityComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "div", 33);
|
|
185
193
|
i0.ɵɵelement(2, "mj-form-field", 34);
|
|
186
194
|
i0.ɵɵelementEnd();
|
|
187
195
|
i0.ɵɵelementStart(3, "div", 33);
|
|
@@ -205,11 +213,19 @@ function PersonIdentityComponent_Conditional_22_Conditional_2_Template(rf, ctx)
|
|
|
205
213
|
i0.ɵɵelementStart(15, "div", 33);
|
|
206
214
|
i0.ɵɵelement(16, "mj-form-field", 41);
|
|
207
215
|
i0.ɵɵelementEnd();
|
|
208
|
-
i0.ɵɵelementStart(17, "div",
|
|
209
|
-
i0.ɵɵelement(18, "mj-form-field",
|
|
216
|
+
i0.ɵɵelementStart(17, "div", 33);
|
|
217
|
+
i0.ɵɵelement(18, "mj-form-field", 42);
|
|
218
|
+
i0.ɵɵelementEnd();
|
|
219
|
+
i0.ɵɵelementStart(19, "div", 33);
|
|
220
|
+
i0.ɵɵelement(20, "mj-form-field", 43);
|
|
221
|
+
i0.ɵɵelementEnd();
|
|
222
|
+
i0.ɵɵelementStart(21, "div", 44);
|
|
223
|
+
i0.ɵɵelement(22, "mj-form-field", 45);
|
|
210
224
|
i0.ɵɵelementEnd()();
|
|
211
225
|
} if (rf & 2) {
|
|
212
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
226
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
227
|
+
i0.ɵɵadvance(2);
|
|
228
|
+
i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
|
|
213
229
|
i0.ɵɵadvance(2);
|
|
214
230
|
i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
|
|
215
231
|
i0.ɵɵadvance(2);
|
|
@@ -228,16 +244,8 @@ function PersonIdentityComponent_Conditional_22_Conditional_2_Template(rf, ctx)
|
|
|
228
244
|
i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
|
|
229
245
|
i0.ɵɵadvance(2);
|
|
230
246
|
i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
|
|
231
|
-
} }
|
|
232
|
-
function PersonIdentityComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
233
|
-
i0.ɵɵconditionalCreate(0, PersonIdentityComponent_Conditional_22_Conditional_0_Template, 5, 4, "div", 25);
|
|
234
|
-
i0.ɵɵprojection(1);
|
|
235
|
-
i0.ɵɵconditionalCreate(2, PersonIdentityComponent_Conditional_22_Conditional_2_Template, 19, 36, "div", 26);
|
|
236
|
-
} if (rf & 2) {
|
|
237
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
238
|
-
i0.ɵɵconditional(!ctx_r1.EditMode && (ctx_r1.DisplayTitle || ctx_r1.Record.CurrentOrganizationName || ctx_r1.Record.PrimaryEmail || ctx_r1.Record.Email || ctx_r1.LocationLine) ? 0 : -1);
|
|
239
247
|
i0.ɵɵadvance(2);
|
|
240
|
-
i0.ɵɵ
|
|
248
|
+
i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
|
|
241
249
|
} }
|
|
242
250
|
/**
|
|
243
251
|
* Presentational Person identity strip. Used by Common's header contribution
|
|
@@ -359,7 +367,7 @@ export class PersonIdentityComponent {
|
|
|
359
367
|
}
|
|
360
368
|
}
|
|
361
369
|
static ɵfac = function PersonIdentityComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PersonIdentityComponent)(); };
|
|
362
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PersonIdentityComponent, selectors: [["bizapps-person-identity"]], inputs: { Record: "Record", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate" }, ngContentSelectors: _c0, decls:
|
|
370
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PersonIdentityComponent, selectors: [["bizapps-person-identity"]], inputs: { Record: "Record", EditMode: "EditMode", FormContext: "FormContext" }, outputs: { Navigate: "Navigate" }, ngContentSelectors: _c0, decls: 24, vars: 17, consts: [[1, "biz-hero"], [1, "biz-hero__identity"], ["aria-hidden", "true", 1, "biz-hero__avatar"], [3, "src", "alt"], [1, "biz-hero__initials"], ["title", "Active", 1, "biz-hero__presence"], [1, "biz-hero__copy"], [1, "biz-hero__title-row"], [1, "biz-hero__name"], [1, "biz-hero__aka"], [1, "biz-hero__badges"], [1, "biz-hero__entity-chip"], [1, "fa-solid", "fa-database"], [1, "biz-hero__chip"], ["data-tone", "muted", "title", "Seniority Level", 1, "biz-hero__chip"], ["type", "button", 1, "biz-hero__chip", "biz-hero__chip--interactive", 3, "title"], [1, "biz-hero__secondary-chips"], ["type", "button", 1, "biz-hero__toggle", 3, "click", "title"], [1, "biz-hero__edit"], [3, "error", "src", "alt"], [1, "fa-solid", "fa-layer-group"], ["type", "button", 1, "biz-hero__chip", "biz-hero__chip--interactive", 3, "click", "title"], [1, "fa-solid", "fa-briefcase"], [1, "biz-hero__chip-count"], [1, "biz-hero__secondary-label"], [1, "biz-hero__sub-chip"], [1, "biz-hero__summary"], [1, "biz-hero__stat"], [1, "biz-hero__stat-label"], [1, "biz-hero__stat-val"], ["type", "button", "FieldName", "CurrentOrganizationID", "EntityName", "MJ_BizApps_Common: Organizations", 1, "biz-hero__stat-val", 3, "mjRecordLink", "HandleClick"], ["type", "button", "FieldName", "CurrentOrganizationID", "EntityName", "MJ_BizApps_Common: Organizations", 1, "biz-hero__stat-val", 3, "Navigate", "click", "mjRecordLink", "HandleClick"], [1, "biz-hero__stat-val", "is-link", 3, "href"], [1, "biz-hero__field"], ["FieldName", "FirstName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MiddleName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PreferredName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Prefix", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Suffix", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisplayName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DateOfBirth", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Gender", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SeniorityLevelID", "Type", "dropdownlist", 3, "Record", "ShowLabel", "EditMode", "FormContext"], [1, "biz-hero__field", "biz-hero__field--span"], ["FieldName", "PhotoURL", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"]], template: function PersonIdentityComponent_Template(rf, ctx) { if (rf & 1) {
|
|
363
371
|
i0.ɵɵprojectionDef();
|
|
364
372
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
365
373
|
i0.ɵɵconditionalCreate(3, PersonIdentityComponent_Conditional_3_Template, 1, 2, "img", 3)(4, PersonIdentityComponent_Conditional_4_Template, 2, 1, "span", 4);
|
|
@@ -385,7 +393,8 @@ export class PersonIdentityComponent {
|
|
|
385
393
|
i0.ɵɵlistener("click", function PersonIdentityComponent_Template_button_click_20_listener() { return ctx.ToggleCollapsed(); });
|
|
386
394
|
i0.ɵɵelement(21, "i");
|
|
387
395
|
i0.ɵɵelementEnd()();
|
|
388
|
-
i0.ɵɵconditionalCreate(22, PersonIdentityComponent_Conditional_22_Template,
|
|
396
|
+
i0.ɵɵconditionalCreate(22, PersonIdentityComponent_Conditional_22_Template, 2, 1);
|
|
397
|
+
i0.ɵɵconditionalCreate(23, PersonIdentityComponent_Conditional_23_Template, 23, 44, "div", 18);
|
|
389
398
|
i0.ɵɵelementEnd();
|
|
390
399
|
} if (rf & 2) {
|
|
391
400
|
i0.ɵɵclassProp("biz-hero--collapsed", ctx.Collapsed);
|
|
@@ -414,11 +423,13 @@ export class PersonIdentityComponent {
|
|
|
414
423
|
i0.ɵɵclassMap(ctx.Collapsed ? "fa-solid fa-chevron-down" : "fa-solid fa-chevron-up");
|
|
415
424
|
i0.ɵɵadvance();
|
|
416
425
|
i0.ɵɵconditional(!ctx.Collapsed ? 22 : -1);
|
|
417
|
-
|
|
426
|
+
i0.ɵɵadvance();
|
|
427
|
+
i0.ɵɵconditional(ctx.EditMode ? 23 : -1);
|
|
428
|
+
} }, dependencies: [CommonModule, BaseFormsModule, i1.MjFormFieldComponent, i1.MjRecordLinkDirective, LinkDirectivesModule], styles: [".biz-hero[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: 20px 24px;\n margin-bottom: var(--mj-space-4);\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-xl, 16px);\n box-shadow: var(--mj-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));\n position: relative;\n overflow: hidden;\n container-type: inline-size;\n container-name: biz-hero;\n}\n\n.biz-hero[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 3.5px;\n background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #10b981 100%);\n}\n\n.biz-hero__identity[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4);\n min-width: 0;\n}\n\n.biz-hero__avatar[_ngcontent-%COMP%] {\n flex: none;\n width: 60px;\n height: 60px;\n border-radius: var(--mj-radius-lg, 14px);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-bg-surface)) 0%, color-mix(in srgb, var(--mj-brand-accent, #6366f1) 25%, var(--mj-bg-surface)) 100%);\n color: var(--mj-text-inverse, #ffffff);\n box-shadow: 0 4px 14px color-mix(in srgb, var(--mj-brand-primary) 25%, transparent);\n border: 2px solid color-mix(in srgb, var(--mj-brand-primary) 35%, transparent);\n}\n\n.biz-hero__avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n border-radius: inherit;\n object-fit: cover;\n}\n\n.biz-hero__presence[_ngcontent-%COMP%] {\n position: absolute;\n bottom: -2px;\n right: -2px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: var(--mj-status-success, #10b981);\n border: 2.5px solid var(--mj-bg-surface-card);\n}\n\n.biz-hero__initials[_ngcontent-%COMP%] {\n font-size: 1.15rem;\n font-weight: 800;\n letter-spacing: 0.02em;\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__copy[_ngcontent-%COMP%] {\n min-width: 0;\n flex: 1;\n}\n\n.biz-hero__title-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2) var(--mj-space-3);\n}\n\n.biz-hero__name[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-lg, 18px);\n font-weight: var(--mj-font-bold, 700);\n line-height: 1.25;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n\n.biz-hero__badges[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-2);\n}\n\n.biz-hero__entity-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.biz-hero__chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 2px 9px;\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.02em;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__chip--interactive[_ngcontent-%COMP%] {\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n}\n\n.biz-hero__chip--interactive[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-card);\n border-color: var(--mj-brand-primary);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__chip-count[_ngcontent-%COMP%] {\n font-size: 10px;\n padding: 0 4px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__secondary-chips[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-1);\n font-size: var(--mj-text-xs);\n}\n\n.biz-hero__secondary-label[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 11px;\n font-weight: var(--mj-font-medium);\n}\n\n.biz-hero__sub-chip[_ngcontent-%COMP%] {\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n color: var(--mj-text-secondary);\n font-size: 11px;\n}\n\n.biz-hero__chip[data-tone='success'][_ngcontent-%COMP%] {\n background: var(--mj-status-success-bg);\n color: var(--mj-status-success-text);\n border-color: var(--mj-status-success-border);\n}\n\n.biz-hero__chip[data-tone='success'][_ngcontent-%COMP%]::before {\n content: '';\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--mj-status-success);\n}\n\n.biz-hero__chip[data-tone='warning'][_ngcontent-%COMP%] {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border-color: var(--mj-status-warning-border);\n}\n\n.biz-hero__aka[_ngcontent-%COMP%] {\n margin-top: 2px;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.biz-hero__summary[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: var(--mj-space-3);\n margin-top: var(--mj-space-4);\n padding-top: var(--mj-space-4);\n border-top: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__stat[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 3px;\n min-width: 0;\n}\n\n.biz-hero__stat-label[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.biz-hero__stat-val[_ngcontent-%COMP%] {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 15px;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__stat-val.is-link[_ngcontent-%COMP%], \nbutton.biz-hero__stat-val[_ngcontent-%COMP%] {\n border: 0;\n padding: 0;\n background: transparent;\n color: var(--mj-text-link);\n cursor: pointer;\n font: inherit;\n font-weight: var(--mj-font-semibold);\n text-align: left;\n}\n\n.biz-hero__stat-val.is-link[_ngcontent-%COMP%]:hover, \nbutton.biz-hero__stat-val[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n}\n\n\n\n\n.biz-hero__edit[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3);\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.biz-hero__field[_ngcontent-%COMP%] {\n min-width: 0;\n}\n\n\n\n\n.biz-hero__field[_ngcontent-%COMP%] .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.biz-hero__field[_ngcontent-%COMP%] .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.biz-hero__field[_ngcontent-%COMP%] .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.biz-hero__field[_ngcontent-%COMP%] .mj-forms-field-control {\n width: 100%;\n}\n\n@container biz-hero (min-width: 52rem) {\n .biz-hero__edit[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: var(--mj-space-3) var(--mj-space-4);\n }\n\n .biz-hero__field--span[_ngcontent-%COMP%] {\n grid-column: 1 / -1;\n }\n}\n\n@media (max-width: 720px) {\n .biz-hero__identity[_ngcontent-%COMP%] {\n align-items: flex-start;\n }\n\n .biz-hero__summary[_ngcontent-%COMP%] {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n\n\n.biz-hero__toggle[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface-sunken, rgba(255, 255, 255, 0.04));\n border: 1px solid var(--mj-border-default);\n color: var(--mj-text-secondary);\n cursor: pointer;\n padding: 0;\n font-size: 12px;\n transition: all 0.15s ease;\n flex-shrink: 0;\n margin-left: auto;\n}\n\n.biz-hero__toggle[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-brand-primary);\n}\n\n.biz-hero--collapsed[_ngcontent-%COMP%] {\n padding: 12px 20px;\n gap: 0;\n margin-bottom: var(--mj-space-3);\n}\n\n.biz-hero--collapsed[_ngcontent-%COMP%] .biz-hero__avatar[_ngcontent-%COMP%] {\n width: 42px;\n height: 42px;\n border-radius: var(--mj-radius-md, 10px);\n}\n\n.biz-hero--collapsed[_ngcontent-%COMP%] .biz-hero__initials[_ngcontent-%COMP%] {\n font-size: 0.95rem;\n}\n\n.biz-hero--collapsed[_ngcontent-%COMP%] .biz-hero__name[_ngcontent-%COMP%] {\n font-size: 1.15rem;\n}\n\n.biz-hero--collapsed[_ngcontent-%COMP%] .biz-hero__edit[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-3);\n}"] });
|
|
418
429
|
}
|
|
419
430
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonIdentityComponent, [{
|
|
420
431
|
type: Component,
|
|
421
|
-
args: [{ standalone: true, selector: 'bizapps-person-identity', imports: [CommonModule, BaseFormsModule, LinkDirectivesModule], template: "<div class=\"biz-hero\" [class.biz-hero--collapsed]=\"Collapsed\">\n <div class=\"biz-hero__identity\">\n <div class=\"biz-hero__avatar\" aria-hidden=\"true\">\n @if (Record.PhotoURL && !EditMode) {\n <img [src]=\"Record.PhotoURL\" [alt]=\"Record.DisplayName\" (error)=\"OnPhotoError($event)\">\n } @else {\n <span class=\"biz-hero__initials\">{{ Initials }}</span>\n }\n @if (!EditMode) {\n <span class=\"biz-hero__presence\" title=\"Active\"></span>\n }\n </div>\n\n <div class=\"biz-hero__copy\">\n <div class=\"biz-hero__title-row\">\n <h1 class=\"biz-hero__name\">{{ Record.DisplayName || (Record.FirstName + ' ' + Record.LastName) }}</h1>\n </div>\n @if (PreferredDiffers && !Collapsed) {\n <div class=\"biz-hero__aka\">Goes by {{ Record.PreferredName }}</div>\n }\n <div class=\"biz-hero__badges\">\n <span class=\"biz-hero__entity-chip\">\n <i class=\"fa-solid fa-database\"></i>\n People\n </span>\n <span class=\"biz-hero__chip\" [attr.data-tone]=\"StatusTone\">{{ Record.Status }}</span>\n @if (Record.SeniorityLevel) {\n <span class=\"biz-hero__chip\" data-tone=\"muted\" title=\"Seniority Level\">\n <i class=\"fa-solid fa-layer-group\"></i>\n {{ Record.SeniorityLevel }}\n </span>\n }\n @if (Record.PrimaryJobFunction) {\n <button type=\"button\" class=\"biz-hero__chip biz-hero__chip--interactive\"\n [title]=\"ShowAllFunctions ? 'Hide job functions' : 'Show all job functions'\"\n (click)=\"ToggleAllFunctions()\">\n <i class=\"fa-solid fa-briefcase\"></i>\n {{ Record.PrimaryJobFunction }}\n @if (AllJobFunctions.length > 1) {\n <span class=\"biz-hero__chip-count\">+{{ AllJobFunctions.length - 1 }}</span>\n }\n </button>\n }\n </div>\n @if (ShowAllFunctions && AllJobFunctions.length > 0) {\n <div class=\"biz-hero__secondary-chips\">\n <span class=\"biz-hero__secondary-label\">Job Functions:</span>\n @for (fn of AllJobFunctions; track fn) {\n <span class=\"biz-hero__sub-chip\">{{ fn }}</span>\n }\n </div>\n }\n </div>\n\n <button type=\"button\"\n class=\"biz-hero__toggle\"\n [title]=\"Collapsed ? 'Expand header' : 'Collapse header'\"\n [attr.aria-label]=\"Collapsed ? 'Expand header' : 'Collapse header'\"\n (click)=\"ToggleCollapsed()\">\n <i [class]=\"Collapsed ? 'fa-solid fa-chevron-down' : 'fa-solid fa-chevron-up'\"></i>\n </button>\n </div>\n\n @if (!Collapsed) {\n @if (!EditMode && (DisplayTitle || Record.CurrentOrganizationName || Record.PrimaryEmail || Record.Email || LocationLine)) {\n <div class=\"biz-hero__summary\">\n @if (DisplayTitle) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Title</span>\n <span class=\"biz-hero__stat-val\">{{ DisplayTitle }}</span>\n </div>\n }\n @if (Record.CurrentOrganizationName) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Organization</span>\n @if (Record.CurrentOrganizationID) {\n <button type=\"button\" class=\"biz-hero__stat-val\" (click)=\"OnOrgClick($event)\">\n {{ Record.CurrentOrganizationName }}\n </button>\n } @else {\n <span class=\"biz-hero__stat-val\">{{ Record.CurrentOrganizationName }}</span>\n }\n </div>\n }\n @if (Record.PrimaryEmail || Record.Email) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Email</span>\n <a class=\"biz-hero__stat-val is-link\"\n [href]=\"'mailto:' + (Record.PrimaryEmail || Record.Email)\">\n {{ Record.PrimaryEmail || Record.Email }}\n </a>\n </div>\n }\n @if (LocationLine) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Location</span>\n <span class=\"biz-hero__stat-val\">{{ LocationLine }}</span>\n </div>\n }\n </div>\n }\n\n <ng-content></ng-content>\n\n @if (EditMode) {\n <div class=\"biz-hero__edit\">\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"FirstName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"LastName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"PreferredName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Prefix\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Suffix\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"DateOfBirth\"\n Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Gender\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"SeniorityLevelID\"\n Type=\"dropdownlist\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field biz-hero__field--span\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"PhotoURL\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\" LinkType=\"URL\"></mj-form-field>\n </div>\n </div>\n }\n }\n</div>\n", styles: [".biz-hero {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: 20px 24px;\n margin-bottom: var(--mj-space-4);\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-xl, 16px);\n box-shadow: var(--mj-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));\n position: relative;\n overflow: hidden;\n container-type: inline-size;\n container-name: biz-hero;\n}\n\n.biz-hero::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 3.5px;\n background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #10b981 100%);\n}\n\n.biz-hero__identity {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4);\n min-width: 0;\n}\n\n.biz-hero__avatar {\n flex: none;\n width: 60px;\n height: 60px;\n border-radius: var(--mj-radius-lg, 14px);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-bg-surface)) 0%, color-mix(in srgb, var(--mj-brand-accent, #6366f1) 25%, var(--mj-bg-surface)) 100%);\n color: var(--mj-text-inverse, #ffffff);\n box-shadow: 0 4px 14px color-mix(in srgb, var(--mj-brand-primary) 25%, transparent);\n border: 2px solid color-mix(in srgb, var(--mj-brand-primary) 35%, transparent);\n}\n\n.biz-hero__avatar img {\n width: 100%;\n height: 100%;\n border-radius: inherit;\n object-fit: cover;\n}\n\n.biz-hero__presence {\n position: absolute;\n bottom: -2px;\n right: -2px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: var(--mj-status-success, #10b981);\n border: 2.5px solid var(--mj-bg-surface-card);\n}\n\n.biz-hero__initials {\n font-size: 1.15rem;\n font-weight: 800;\n letter-spacing: 0.02em;\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__copy {\n min-width: 0;\n flex: 1;\n}\n\n.biz-hero__title-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2) var(--mj-space-3);\n}\n\n.biz-hero__name {\n margin: 0;\n font-size: var(--mj-text-lg, 18px);\n font-weight: var(--mj-font-bold, 700);\n line-height: 1.25;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n\n.biz-hero__badges {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-2);\n}\n\n.biz-hero__entity-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.biz-hero__chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 2px 9px;\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.02em;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__chip--interactive {\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n}\n\n.biz-hero__chip--interactive:hover {\n background: var(--mj-bg-surface-card);\n border-color: var(--mj-brand-primary);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__chip-count {\n font-size: 10px;\n padding: 0 4px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__secondary-chips {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-1);\n font-size: var(--mj-text-xs);\n}\n\n.biz-hero__secondary-label {\n color: var(--mj-text-muted);\n font-size: 11px;\n font-weight: var(--mj-font-medium);\n}\n\n.biz-hero__sub-chip {\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n color: var(--mj-text-secondary);\n font-size: 11px;\n}\n\n.biz-hero__chip[data-tone='success'] {\n background: var(--mj-status-success-bg);\n color: var(--mj-status-success-text);\n border-color: var(--mj-status-success-border);\n}\n\n.biz-hero__chip[data-tone='success']::before {\n content: '';\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--mj-status-success);\n}\n\n.biz-hero__chip[data-tone='warning'] {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border-color: var(--mj-status-warning-border);\n}\n\n.biz-hero__aka {\n margin-top: 2px;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.biz-hero__summary {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: var(--mj-space-3);\n margin-top: var(--mj-space-4);\n padding-top: var(--mj-space-4);\n border-top: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__stat {\n display: flex;\n flex-direction: column;\n gap: 3px;\n min-width: 0;\n}\n\n.biz-hero__stat-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.biz-hero__stat-val {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 15px;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__stat-val.is-link,\nbutton.biz-hero__stat-val {\n border: 0;\n padding: 0;\n background: transparent;\n color: var(--mj-text-link);\n cursor: pointer;\n font: inherit;\n font-weight: var(--mj-font-semibold);\n text-align: left;\n}\n\n.biz-hero__stat-val.is-link:hover,\nbutton.biz-hero__stat-val:hover {\n text-decoration: underline;\n}\n\n/* mj-form-field is display:contents \u2014 never let its label/control become\n siblings of a parent grid. Each field sits in a wrapping cell. */\n.biz-hero__edit {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3);\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.biz-hero__field {\n min-width: 0;\n}\n\n/* Label above the control. The shared field is a 200px|1fr row \u2014 that\n needs ~28rem per field and is why this card looked broken. */\n.biz-hero__field ::ng-deep .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field-control {\n width: 100%;\n}\n\n@container biz-hero (min-width: 52rem) {\n .biz-hero__edit {\n display: grid;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: var(--mj-space-3) var(--mj-space-4);\n }\n\n .biz-hero__field--span {\n grid-column: 1 / -1;\n }\n}\n\n@media (max-width: 720px) {\n .biz-hero__identity {\n align-items: flex-start;\n }\n\n .biz-hero__summary {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n/* \u2500\u2500 Collapsed State & Toggle Button \u2500\u2500 */\n.biz-hero__toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface-sunken, rgba(255, 255, 255, 0.04));\n border: 1px solid var(--mj-border-default);\n color: var(--mj-text-secondary);\n cursor: pointer;\n padding: 0;\n font-size: 12px;\n transition: all 0.15s ease;\n flex-shrink: 0;\n margin-left: auto;\n}\n\n.biz-hero__toggle:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-hover, rgba(255, 255, 255, 0.08));\n border-color: var(--mj-brand-primary);\n}\n\n.biz-hero--collapsed {\n padding: 12px 20px;\n gap: 0;\n margin-bottom: var(--mj-space-3);\n}\n\n.biz-hero--collapsed .biz-hero__avatar {\n width: 42px;\n height: 42px;\n border-radius: var(--mj-radius-md, 10px);\n}\n\n.biz-hero--collapsed .biz-hero__initials {\n font-size: 0.95rem;\n}\n\n.biz-hero--collapsed .biz-hero__name {\n font-size: 1.15rem;\n}\n"] }]
|
|
432
|
+
args: [{ standalone: true, selector: 'bizapps-person-identity', imports: [CommonModule, BaseFormsModule, LinkDirectivesModule], template: "<div class=\"biz-hero\" [class.biz-hero--collapsed]=\"Collapsed\">\n <div class=\"biz-hero__identity\">\n <div class=\"biz-hero__avatar\" aria-hidden=\"true\">\n @if (Record.PhotoURL && !EditMode) {\n <img [src]=\"Record.PhotoURL\" [alt]=\"Record.DisplayName\" (error)=\"OnPhotoError($event)\">\n } @else {\n <span class=\"biz-hero__initials\">{{ Initials }}</span>\n }\n @if (!EditMode) {\n <span class=\"biz-hero__presence\" title=\"Active\"></span>\n }\n </div>\n\n <div class=\"biz-hero__copy\">\n <div class=\"biz-hero__title-row\">\n <h1 class=\"biz-hero__name\">{{ Record.DisplayName || (Record.FirstName + ' ' + Record.LastName) }}</h1>\n </div>\n @if (PreferredDiffers && !Collapsed) {\n <div class=\"biz-hero__aka\">Goes by {{ Record.PreferredName }}</div>\n }\n <div class=\"biz-hero__badges\">\n <span class=\"biz-hero__entity-chip\">\n <i class=\"fa-solid fa-database\"></i>\n People\n </span>\n <span class=\"biz-hero__chip\" [attr.data-tone]=\"StatusTone\">{{ Record.Status }}</span>\n @if (Record.SeniorityLevel) {\n <span class=\"biz-hero__chip\" data-tone=\"muted\" title=\"Seniority Level\">\n <i class=\"fa-solid fa-layer-group\"></i>\n {{ Record.SeniorityLevel }}\n </span>\n }\n @if (Record.PrimaryJobFunction) {\n <button type=\"button\" class=\"biz-hero__chip biz-hero__chip--interactive\"\n [title]=\"ShowAllFunctions ? 'Hide job functions' : 'Show all job functions'\"\n (click)=\"ToggleAllFunctions()\">\n <i class=\"fa-solid fa-briefcase\"></i>\n {{ Record.PrimaryJobFunction }}\n @if (AllJobFunctions.length > 1) {\n <span class=\"biz-hero__chip-count\">+{{ AllJobFunctions.length - 1 }}</span>\n }\n </button>\n }\n </div>\n @if (ShowAllFunctions && AllJobFunctions.length > 0) {\n <div class=\"biz-hero__secondary-chips\">\n <span class=\"biz-hero__secondary-label\">Job Functions:</span>\n @for (fn of AllJobFunctions; track fn) {\n <span class=\"biz-hero__sub-chip\">{{ fn }}</span>\n }\n </div>\n }\n </div>\n\n <button type=\"button\"\n class=\"biz-hero__toggle\"\n [title]=\"Collapsed ? 'Expand header' : 'Collapse header'\"\n [attr.aria-label]=\"Collapsed ? 'Expand header' : 'Collapse header'\"\n (click)=\"ToggleCollapsed()\">\n <i [class]=\"Collapsed ? 'fa-solid fa-chevron-down' : 'fa-solid fa-chevron-up'\"></i>\n </button>\n </div>\n\n @if (!Collapsed) {\n @if (!EditMode && (DisplayTitle || Record.CurrentOrganizationName || Record.PrimaryEmail || Record.Email || LocationLine)) {\n <div class=\"biz-hero__summary\">\n @if (DisplayTitle) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Title</span>\n <span class=\"biz-hero__stat-val\">{{ DisplayTitle }}</span>\n </div>\n }\n @if (Record.CurrentOrganizationName) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Organization</span>\n @if (Record.CurrentOrganizationID) {\n <button type=\"button\" class=\"biz-hero__stat-val\"\n [mjRecordLink]=\"Record\"\n FieldName=\"CurrentOrganizationID\"\n EntityName=\"MJ_BizApps_Common: Organizations\"\n [HandleClick]=\"false\"\n (Navigate)=\"Navigate.emit($event)\"\n (click)=\"OnOrgClick($event)\">\n {{ Record.CurrentOrganizationName }}\n </button>\n } @else {\n <span class=\"biz-hero__stat-val\">{{ Record.CurrentOrganizationName }}</span>\n }\n </div>\n }\n @if (Record.PrimaryEmail || Record.Email) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Email</span>\n <a class=\"biz-hero__stat-val is-link\"\n [href]=\"'mailto:' + (Record.PrimaryEmail || Record.Email)\">\n {{ Record.PrimaryEmail || Record.Email }}\n </a>\n </div>\n }\n @if (LocationLine) {\n <div class=\"biz-hero__stat\">\n <span class=\"biz-hero__stat-label\">Location</span>\n <span class=\"biz-hero__stat-val\">{{ LocationLine }}</span>\n </div>\n }\n </div>\n }\n\n <ng-content></ng-content>\n }\n\n <!-- Outside the collapse: this hero claims the generated identity section, so these are the only\n inputs for its fields. Collapsing the header must not take them away (#343). -->\n @if (EditMode) {\n <div class=\"biz-hero__edit\">\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"FirstName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"MiddleName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"LastName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"PreferredName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Prefix\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Suffix\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"DisplayName\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"DateOfBirth\"\n Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Gender\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"SeniorityLevelID\"\n Type=\"dropdownlist\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"></mj-form-field>\n </div>\n <div class=\"biz-hero__field biz-hero__field--span\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"PhotoURL\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\" LinkType=\"URL\"></mj-form-field>\n </div>\n </div>\n }\n</div>\n", styles: [".biz-hero {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: 20px 24px;\n margin-bottom: var(--mj-space-4);\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-xl, 16px);\n box-shadow: var(--mj-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));\n position: relative;\n overflow: hidden;\n container-type: inline-size;\n container-name: biz-hero;\n}\n\n.biz-hero::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 3.5px;\n background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #10b981 100%);\n}\n\n.biz-hero__identity {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4);\n min-width: 0;\n}\n\n.biz-hero__avatar {\n flex: none;\n width: 60px;\n height: 60px;\n border-radius: var(--mj-radius-lg, 14px);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-bg-surface)) 0%, color-mix(in srgb, var(--mj-brand-accent, #6366f1) 25%, var(--mj-bg-surface)) 100%);\n color: var(--mj-text-inverse, #ffffff);\n box-shadow: 0 4px 14px color-mix(in srgb, var(--mj-brand-primary) 25%, transparent);\n border: 2px solid color-mix(in srgb, var(--mj-brand-primary) 35%, transparent);\n}\n\n.biz-hero__avatar img {\n width: 100%;\n height: 100%;\n border-radius: inherit;\n object-fit: cover;\n}\n\n.biz-hero__presence {\n position: absolute;\n bottom: -2px;\n right: -2px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: var(--mj-status-success, #10b981);\n border: 2.5px solid var(--mj-bg-surface-card);\n}\n\n.biz-hero__initials {\n font-size: 1.15rem;\n font-weight: 800;\n letter-spacing: 0.02em;\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__copy {\n min-width: 0;\n flex: 1;\n}\n\n.biz-hero__title-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2) var(--mj-space-3);\n}\n\n.biz-hero__name {\n margin: 0;\n font-size: var(--mj-text-lg, 18px);\n font-weight: var(--mj-font-bold, 700);\n line-height: 1.25;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n\n.biz-hero__badges {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-2);\n}\n\n.biz-hero__entity-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n}\n\n.biz-hero__chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 2px 9px;\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.02em;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__chip--interactive {\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n}\n\n.biz-hero__chip--interactive:hover {\n background: var(--mj-bg-surface-card);\n border-color: var(--mj-brand-primary);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__chip-count {\n font-size: 10px;\n padding: 0 4px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-info-bg);\n color: var(--mj-brand-primary);\n}\n\n.biz-hero__secondary-chips {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n margin-top: var(--mj-space-1);\n font-size: var(--mj-text-xs);\n}\n\n.biz-hero__secondary-label {\n color: var(--mj-text-muted);\n font-size: 11px;\n font-weight: var(--mj-font-medium);\n}\n\n.biz-hero__sub-chip {\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n color: var(--mj-text-secondary);\n font-size: 11px;\n}\n\n.biz-hero__chip[data-tone='success'] {\n background: var(--mj-status-success-bg);\n color: var(--mj-status-success-text);\n border-color: var(--mj-status-success-border);\n}\n\n.biz-hero__chip[data-tone='success']::before {\n content: '';\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--mj-status-success);\n}\n\n.biz-hero__chip[data-tone='warning'] {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border-color: var(--mj-status-warning-border);\n}\n\n.biz-hero__aka {\n margin-top: 2px;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.biz-hero__summary {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: var(--mj-space-3);\n margin-top: var(--mj-space-4);\n padding-top: var(--mj-space-4);\n border-top: 1px solid var(--mj-border-default);\n}\n\n.biz-hero__stat {\n display: flex;\n flex-direction: column;\n gap: 3px;\n min-width: 0;\n}\n\n.biz-hero__stat-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.biz-hero__stat-val {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 15px;\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n}\n\n.biz-hero__stat-val.is-link,\nbutton.biz-hero__stat-val {\n border: 0;\n padding: 0;\n background: transparent;\n color: var(--mj-text-link);\n cursor: pointer;\n font: inherit;\n font-weight: var(--mj-font-semibold);\n text-align: left;\n}\n\n.biz-hero__stat-val.is-link:hover,\nbutton.biz-hero__stat-val:hover {\n text-decoration: underline;\n}\n\n/* mj-form-field is display:contents \u2014 never let its label/control become\n siblings of a parent grid. Each field sits in a wrapping cell. */\n.biz-hero__edit {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3);\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.biz-hero__field {\n min-width: 0;\n}\n\n/* Label above the control. The shared field is a 200px|1fr row \u2014 that\n needs ~28rem per field and is why this card looked broken. */\n.biz-hero__field ::ng-deep .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.biz-hero__field ::ng-deep .mj-forms-field-control {\n width: 100%;\n}\n\n@container biz-hero (min-width: 52rem) {\n .biz-hero__edit {\n display: grid;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: var(--mj-space-3) var(--mj-space-4);\n }\n\n .biz-hero__field--span {\n grid-column: 1 / -1;\n }\n}\n\n@media (max-width: 720px) {\n .biz-hero__identity {\n align-items: flex-start;\n }\n\n .biz-hero__summary {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n/* \u2500\u2500 Collapsed State & Toggle Button \u2500\u2500 */\n.biz-hero__toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface-sunken, rgba(255, 255, 255, 0.04));\n border: 1px solid var(--mj-border-default);\n color: var(--mj-text-secondary);\n cursor: pointer;\n padding: 0;\n font-size: 12px;\n transition: all 0.15s ease;\n flex-shrink: 0;\n margin-left: auto;\n}\n\n.biz-hero__toggle:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n border-color: var(--mj-brand-primary);\n}\n\n.biz-hero--collapsed {\n padding: 12px 20px;\n gap: 0;\n margin-bottom: var(--mj-space-3);\n}\n\n.biz-hero--collapsed .biz-hero__avatar {\n width: 42px;\n height: 42px;\n border-radius: var(--mj-radius-md, 10px);\n}\n\n.biz-hero--collapsed .biz-hero__initials {\n font-size: 0.95rem;\n}\n\n.biz-hero--collapsed .biz-hero__name {\n font-size: 1.15rem;\n}\n\n.biz-hero--collapsed .biz-hero__edit {\n margin-top: var(--mj-space-3);\n}\n"] }]
|
|
422
433
|
}], null, { Record: [{
|
|
423
434
|
type: Input,
|
|
424
435
|
args: [{ required: true }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person-identity.component.js","sourceRoot":"","sources":["../../../../src/lib/components/identity-header/person-identity.component.ts","../../../../src/lib/components/identity-header/person-identity.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAoC,MAAM,+BAA+B,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;ICH/C,+BAAuF;IAA/B,8LAAS,2BAAoB,KAAC;IAAtF,iBAAuF;;;IAA1D,AAAxB,8DAAuB,kCAA2B;;;IAEvD,+BAAiC;IAAA,YAAc;IAAA,iBAAO;;;IAArB,cAAc;IAAd,qCAAc;;;IAG/C,0BAAuD;;;IASvD,8BAA2B;IAAA,YAAkC;IAAA,iBAAM;;;IAAxC,cAAkC;IAAlC,8DAAkC;;;IASzD,gCAAuE;IACnE,wBAAuC;IACvC,YACJ;IAAA,iBAAO;;;IADH,eACJ;IADI,6DACJ;;;IASQ,gCAAmC;IAAA,YAAiC;IAAA,iBAAO;;;IAAxC,cAAiC;IAAjC,6DAAiC;;;;IAN5E,kCAEuC;IAA/B,4LAAS,2BAAoB,KAAC;IAClC,wBAAqC;IACrC,YACA;IAAA,0GAAkC;IAGtC,iBAAS;;;IAPD,iGAA4E;IAGhF,eACA;IADA,iEACA;IAAA,cAEC;IAFD,4DAEC;;;IAQD,gCAAiC;IAAA,YAAQ;IAAA,iBAAO;;;IAAf,cAAQ;IAAR,2BAAQ;;;IAF7C,AADJ,+BAAuC,eACK;IAAA,8BAAc;IAAA,iBAAO;IAC7D,6HAEC;IACL,iBAAM;;;IAHF,eAEC;IAFD,qCAEC;;;IAmBG,AADJ,+BAA4B,eACW;IAAA,qBAAK;IAAA,iBAAO;IAC/C,gCAAiC;IAAA,YAAkB;IACvD,AADuD,iBAAO,EACxD;;;IAD+B,eAAkB;IAAlB,yCAAkB;;;;IAO/C,
|
|
1
|
+
{"version":3,"file":"person-identity.component.js","sourceRoot":"","sources":["../../../../src/lib/components/identity-header/person-identity.component.ts","../../../../src/lib/components/identity-header/person-identity.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAoC,MAAM,+BAA+B,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;ICH/C,+BAAuF;IAA/B,8LAAS,2BAAoB,KAAC;IAAtF,iBAAuF;;;IAA1D,AAAxB,8DAAuB,kCAA2B;;;IAEvD,+BAAiC;IAAA,YAAc;IAAA,iBAAO;;;IAArB,cAAc;IAAd,qCAAc;;;IAG/C,0BAAuD;;;IASvD,8BAA2B;IAAA,YAAkC;IAAA,iBAAM;;;IAAxC,cAAkC;IAAlC,8DAAkC;;;IASzD,gCAAuE;IAC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AAC;;kBAK7D,KAAK;mBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;kBACxB,KAAK;;kBACL,KAAK;;kBACL,MAAM;;kFAJE,uBAAuB"}
|
|
@@ -1 +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,MAAM,eAAe,CAAC;AAG1G,OAAO,
|
|
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,MAAM,eAAe,CAAC;AAG1G,OAAO,EAAmB,mBAAmB,EAAyB,MAAM,+BAA+B,CAAC;AAE5G,OAAO,EAA0B,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;;AAIhG;;GAEG;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,gCAAgC;IAChC,QAAQ,EAAE,WAAW,EAAE,CAAC;CAC3B;AAED;;;;;GAKG;AACH,qBAOa,yBAA0B,YAAW,MAAM;IACpD,OAAO,CAAC,GAAG,CAA6B;IAExC,OAAO,CAAC,eAAe,CAAM;IAE7B,+EAA+E;IACxE,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAW;IAE/C,IACI,cAAc,CAAC,KAAK,EAAE,MAAM,EAM/B;IACD,IAAI,cAAc,IAAI,MAAM,CAAiC;IAEnD,QAAQ,oCAA2C;IAEtD,UAAU,EAAE,WAAW,GAAG,IAAI,CAAQ;IACtC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IACvC,UAAU,EAAE,WAAW,EAAE,CAAM;IAC/B,OAAO,UAAS;IAChB,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEpC,QAAQ,IAAI,IAAI;IAIvB,OAAO,CAAC,kBAAkB;IAOnB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAMnD,IAAW,UAAU,IAAI,mBAAmB,CAY3C;YAEa,aAAa;IAwC3B,OAAO,CAAC,iBAAiB;IAqBzB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,aAAa;IAUd,eAAe,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;yCApJhE,yBAAyB;2CAAzB,yBAAyB;CAgKrC"}
|
|
@@ -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,EA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