@memberjunction/ng-base-forms 6.2.0-edge.7 → 6.2.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/README.md +10 -0
- package/dist/lib/base-form-component.d.ts +15 -2
- package/dist/lib/base-form-component.d.ts.map +1 -1
- package/dist/lib/base-form-component.js +18 -8
- package/dist/lib/base-form-component.js.map +1 -1
- package/dist/lib/chrome/form-chrome-coordinator.service.d.ts.map +1 -1
- package/dist/lib/chrome/form-chrome-coordinator.service.js +4 -1
- package/dist/lib/chrome/form-chrome-coordinator.service.js.map +1 -1
- package/dist/lib/chrome/phone-viewport.d.ts +15 -0
- package/dist/lib/chrome/phone-viewport.d.ts.map +1 -0
- package/dist/lib/chrome/phone-viewport.js +28 -0
- package/dist/lib/chrome/phone-viewport.js.map +1 -0
- package/dist/lib/comments/form-record-comments-coordinator.service.d.ts +159 -0
- package/dist/lib/comments/form-record-comments-coordinator.service.d.ts.map +1 -0
- package/dist/lib/comments/form-record-comments-coordinator.service.js +421 -0
- package/dist/lib/comments/form-record-comments-coordinator.service.js.map +1 -0
- package/dist/lib/comments/record-comments.component.d.ts +205 -0
- package/dist/lib/comments/record-comments.component.d.ts.map +1 -0
- package/dist/lib/comments/record-comments.component.js +2019 -0
- package/dist/lib/comments/record-comments.component.js.map +1 -0
- package/dist/lib/container/record-form-container.component.d.ts +47 -1
- package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
- package/dist/lib/container/record-form-container.component.js +876 -316
- package/dist/lib/container/record-form-container.component.js.map +1 -1
- package/dist/lib/field/default-fk-lookup-strategy.d.ts.map +1 -1
- package/dist/lib/field/default-fk-lookup-strategy.js +14 -6
- package/dist/lib/field/default-fk-lookup-strategy.js.map +1 -1
- package/dist/lib/field/fk-lookup-strategy.d.ts +11 -0
- package/dist/lib/field/fk-lookup-strategy.d.ts.map +1 -1
- package/dist/lib/field/fk-lookup-strategy.js +10 -0
- package/dist/lib/field/fk-lookup-strategy.js.map +1 -1
- package/dist/lib/field/fk-search-utils.d.ts +17 -0
- package/dist/lib/field/fk-search-utils.d.ts.map +1 -1
- package/dist/lib/field/fk-search-utils.js +29 -0
- package/dist/lib/field/fk-search-utils.js.map +1 -1
- package/dist/lib/field/form-field.component.d.ts +35 -1
- package/dist/lib/field/form-field.component.d.ts.map +1 -1
- package/dist/lib/field/form-field.component.js +631 -446
- package/dist/lib/field/form-field.component.js.map +1 -1
- package/dist/lib/host/entity-form-host.component.d.ts +6 -0
- package/dist/lib/host/entity-form-host.component.d.ts.map +1 -1
- package/dist/lib/host/entity-form-host.component.js +17 -3
- package/dist/lib/host/entity-form-host.component.js.map +1 -1
- package/dist/lib/panel/collapsible-panel.component.d.ts +5 -0
- package/dist/lib/panel/collapsible-panel.component.d.ts.map +1 -1
- package/dist/lib/panel/collapsible-panel.component.js +109 -30
- package/dist/lib/panel/collapsible-panel.component.js.map +1 -1
- package/dist/lib/related-grid-height.d.ts +2 -2
- package/dist/lib/related-grid-height.d.ts.map +1 -1
- package/dist/lib/related-grid-height.js +2 -2
- package/dist/lib/related-grid-height.js.map +1 -1
- package/dist/lib/section-indicators/form-section-indicators.d.ts +4 -0
- package/dist/lib/section-indicators/form-section-indicators.d.ts.map +1 -1
- package/dist/lib/section-indicators/form-section-indicators.js +15 -1
- package/dist/lib/section-indicators/form-section-indicators.js.map +1 -1
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.d.ts +17 -0
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.d.ts.map +1 -0
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.js +52 -0
- package/dist/lib/toolbar/actions/record-comments-toolbar-action.js.map +1 -0
- package/dist/lib/toolbar/base-form-toolbar-action.d.ts +9 -0
- package/dist/lib/toolbar/base-form-toolbar-action.d.ts.map +1 -1
- package/dist/lib/toolbar/base-form-toolbar-action.js.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.d.ts +107 -2
- package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.js +927 -415
- package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
- package/dist/lib/types/form-toolbar-item.d.ts +1 -1
- package/dist/lib/types/form-toolbar-item.d.ts.map +1 -1
- package/dist/lib/types/form-toolbar-item.js.map +1 -1
- package/dist/lib/types/form-types.d.ts +8 -0
- package/dist/lib/types/form-types.d.ts.map +1 -1
- package/dist/lib/types/form-types.js.map +1 -1
- package/dist/lib/types/toolbar-config.d.ts +2 -0
- package/dist/lib/types/toolbar-config.d.ts.map +1 -1
- package/dist/lib/types/toolbar-config.js.map +1 -1
- package/dist/module.d.ts +15 -14
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +15 -5
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +20 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, inject, NgZone, ContentChildren, ViewChild, ViewEncapsulation, ElementRef } from '@angular/core';
|
|
1
|
+
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, inject, NgZone, ContentChildren, ViewChild, ViewEncapsulation, ElementRef, Injector } from '@angular/core';
|
|
2
2
|
import { BaseEntity, CompositeKey, KeyValuePair, LogError, RunView } from '@memberjunction/core';
|
|
3
3
|
import { EscapeSQLString, MJGlobal, UUIDsEqual } from '@memberjunction/global';
|
|
4
4
|
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
|
|
@@ -18,7 +18,10 @@ import { FormPanelAdminService } from '../panel-manager/form-panel-admin.service
|
|
|
18
18
|
import { TOOLBAR_PINS_SETTING_KEY, DEFAULT_PINNED_TOOLBAR_ACTIONS } from '../toolbar/form-toolbar.component';
|
|
19
19
|
import { ResolveFormToolbarActionsForEntity, } from '../toolbar/base-form-toolbar-action';
|
|
20
20
|
import { RecordLinksToolbarAction } from '../toolbar/actions/record-links-toolbar-action';
|
|
21
|
+
import { RecordCommentsToolbarAction } from '../toolbar/actions/record-comments-toolbar-action';
|
|
22
|
+
import { FormRecordCommentsCoordinatorService, } from '../comments/form-record-comments-coordinator.service';
|
|
21
23
|
import { FormChromeCoordinator } from '../chrome/form-chrome-coordinator.service';
|
|
24
|
+
import { IsPhoneViewport, WatchPhoneViewport } from '../chrome/phone-viewport';
|
|
22
25
|
import { ResolveFormChrome, OrderChromeGroups, OrderMoreSectionKeys, MoveChromeGroupInSectionOrder, OverlayChromeSectionOrder } from '../chrome/resolve-form-chrome';
|
|
23
26
|
import { LoadFormChromeRules } from '../chrome/load-form-chrome-rules';
|
|
24
27
|
import { MORE_SECTION_KEY, HumanizeEntityTitle, IsAlwaysMoreSection, IsDetailsSectionKey, DetailsCardEdges, ReplacedSectionChromeGroup, RailGroupSectionKeys, DefaultContributionChromeGroup, SectionDrawingAnyField } from '../chrome/form-chrome';
|
|
@@ -34,50 +37,53 @@ import { ApplyFormCountResults, BuildFormCountPlan, FormCountPlanParams, Resolve
|
|
|
34
37
|
import { FormRecordRefreshCoordinator, } from '../form-record-refresh.coordinator';
|
|
35
38
|
import { FormFieldEditCoordinator } from '../form-field-edit.coordinator';
|
|
36
39
|
import { FormSectionIndicatorCoordinator } from '../section-indicators/form-section-indicator-coordinator.service';
|
|
37
|
-
import { DescribeSectionDirty, DescribeSectionErrors, DescribeSectionWarnings, SumSectionIndicators, TallyValidationErrors, } from '../section-indicators/form-section-indicators';
|
|
40
|
+
import { DescribeSectionComments, DescribeSectionDirty, DescribeSectionErrors, DescribeSectionWarnings, SumSectionIndicators, TallyValidationErrors, } from '../section-indicators/form-section-indicators';
|
|
38
41
|
import * as i0 from "@angular/core";
|
|
39
|
-
import * as i1 from "@
|
|
40
|
-
import * as i2 from "@memberjunction/ng-
|
|
41
|
-
import * as i3 from "@memberjunction/ng-
|
|
42
|
-
import * as i4 from "@memberjunction/ng-
|
|
43
|
-
import * as i5 from "@memberjunction/ng-
|
|
44
|
-
import * as i6 from "
|
|
45
|
-
import * as i7 from "../
|
|
46
|
-
import * as i8 from "../
|
|
47
|
-
import * as i9 from "../
|
|
48
|
-
import * as i10 from "../panel
|
|
49
|
-
import * as i11 from "../panel-slot/form-
|
|
50
|
-
import * as i12 from "../
|
|
42
|
+
import * as i1 from "@angular/common";
|
|
43
|
+
import * as i2 from "@memberjunction/ng-ui-components";
|
|
44
|
+
import * as i3 from "@memberjunction/ng-record-changes";
|
|
45
|
+
import * as i4 from "@memberjunction/ng-list-management";
|
|
46
|
+
import * as i5 from "@memberjunction/ng-record-tags";
|
|
47
|
+
import * as i6 from "@memberjunction/ng-file-storage";
|
|
48
|
+
import * as i7 from "../toolbar/form-toolbar.component";
|
|
49
|
+
import * as i8 from "../section-manager/section-manager.component";
|
|
50
|
+
import * as i9 from "../panel-manager/panel-manager.component";
|
|
51
|
+
import * as i10 from "../isa-related-panel/isa-related-panel.component";
|
|
52
|
+
import * as i11 from "../panel-slot/form-panel-slot.component";
|
|
53
|
+
import * as i12 from "../panel-slot/form-contributions.component";
|
|
54
|
+
import * as i13 from "../links/record-links.component";
|
|
55
|
+
import * as i14 from "../comments/record-comments.component";
|
|
51
56
|
const _c0 = [[["", "before-toolbar", ""]], "*"];
|
|
52
57
|
const _c1 = ["[before-toolbar]", "*"];
|
|
53
|
-
const _c2 = a0 =>
|
|
54
|
-
const _c3 =
|
|
58
|
+
const _c2 = a0 => ({ $implicit: a0 });
|
|
59
|
+
const _c3 = a0 => [a0];
|
|
60
|
+
const _c4 = (a0, a1, a2) => ({ mode: "manage", entityId: a0, entityName: a1, recordIds: a2, allowCreate: true });
|
|
55
61
|
const _forTrack0 = ($index, $item) => $item.FieldName;
|
|
56
62
|
const _forTrack1 = ($index, $item) => $item.RecordID;
|
|
57
63
|
const _forTrack2 = ($index, $item) => $item.Key;
|
|
58
64
|
function MjRecordFormContainerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
59
65
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
60
|
-
i0.ɵɵelementStart(0, "mj-form-toolbar",
|
|
61
|
-
i0.ɵɵlistener("Navigate", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnNavigate($event)); })("EditModeChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_EditModeChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnEditModeChange($event)); })("BeforeSave", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeSave_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeSave.emit($event)); })("SaveRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_SaveRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnSaveRequested()); })("BeforeCancel", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeCancel_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeCancel.emit($event)); })("CancelRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CancelRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCancelRequested()); })("BeforeDelete", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeDelete_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeDelete.emit($event)); })("DeleteRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_DeleteRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteRequested()); })("BeforeRefresh", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeRefresh_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeRefresh.emit($event)); })("RefreshRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_RefreshRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRefreshRequested()); })("FavoriteToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_FavoriteToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFavoriteToggled()); })("BeforeHistoryView", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeHistoryView_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeHistoryView.emit($event)); })("HistoryRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_HistoryRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnHistoryRequested()); })("BeforeListManagement", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeListManagement_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeListManagement.emit($event)); })("ListManagementRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ListManagementRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementRequested()); })("ShowChangesRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ShowChangesRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnShowChangesRequested()); })("CustomButtonClick", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CustomButtonClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.CustomButtonClick.emit($event)); })("ToolbarItemClick", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ToolbarItemClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToolbarItemClick.emit($event)); })("FilterChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_FilterChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFilterChange($event)); })("ExpandAllRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ExpandAllRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnExpandAll()); })("CollapseAllRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CollapseAllRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCollapseAll()); })("ShowEmptyFieldsChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ShowEmptyFieldsChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnShowEmptyFieldsChange($event)); })("WidthModeChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_WidthModeChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnWidthModeChange($event)); })("ResetSectionOrderRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ResetSectionOrderRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnResetSectionOrder()); })("ManageSectionsRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ManageSectionsRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnManageSections()); })("TagsPanelToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_TagsPanelToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagsPanelToggled()); })("LinksRequest", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_LinksRequest_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToggleRecordLinks()); })("AttachmentsPanelToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_AttachmentsPanelToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAttachmentsPanelToggled()); })("AskAIRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_AskAIRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAskAIRequested()); })("ActionPinChanged", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ActionPinChanged_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToolbarActionPinChanged($event)); })("VariantPicked", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_VariantPicked_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnVariantPicked($event)); });
|
|
66
|
+
i0.ɵɵelementStart(0, "mj-form-toolbar", 24);
|
|
67
|
+
i0.ɵɵlistener("Navigate", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnNavigate($event)); })("EditModeChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_EditModeChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnEditModeChange($event)); })("BeforeSave", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeSave_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeSave.emit($event)); })("SaveRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_SaveRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnSaveRequested()); })("BeforeCancel", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeCancel_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeCancel.emit($event)); })("CancelRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CancelRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCancelRequested()); })("BeforeDelete", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeDelete_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeDelete.emit($event)); })("DeleteRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_DeleteRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteRequested()); })("BeforeRefresh", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeRefresh_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeRefresh.emit($event)); })("RefreshRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_RefreshRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRefreshRequested()); })("FavoriteToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_FavoriteToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFavoriteToggled()); })("BeforeHistoryView", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeHistoryView_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeHistoryView.emit($event)); })("HistoryRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_HistoryRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnHistoryRequested()); })("BeforeListManagement", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_BeforeListManagement_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.BeforeListManagement.emit($event)); })("ListManagementRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ListManagementRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementRequested()); })("ShowChangesRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ShowChangesRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnShowChangesRequested()); })("CustomButtonClick", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CustomButtonClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.CustomButtonClick.emit($event)); })("ToolbarItemClick", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ToolbarItemClick_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToolbarItemClick.emit($event)); })("FilterChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_FilterChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFilterChange($event)); })("ExpandAllRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ExpandAllRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnExpandAll()); })("CollapseAllRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CollapseAllRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCollapseAll()); })("ShowEmptyFieldsChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ShowEmptyFieldsChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnShowEmptyFieldsChange($event)); })("WidthModeChange", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_WidthModeChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnWidthModeChange($event)); })("ResetSectionOrderRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ResetSectionOrderRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnResetSectionOrder()); })("ManageSectionsRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ManageSectionsRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnManageSections()); })("TagsPanelToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_TagsPanelToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagsPanelToggled()); })("CommentsRequest", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_CommentsRequest_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToggleRecordComments()); })("LinksRequest", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_LinksRequest_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToggleRecordLinks()); })("AttachmentsPanelToggled", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_AttachmentsPanelToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAttachmentsPanelToggled()); })("AskAIRequested", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_AskAIRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAskAIRequested()); })("ActionPinChanged", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_ActionPinChanged_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnToolbarActionPinChanged($event)); })("VariantPicked", function MjRecordFormContainerComponent_Conditional_1_Template_mj_form_toolbar_VariantPicked_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnVariantPicked($event)); });
|
|
62
68
|
i0.ɵɵelementEnd();
|
|
63
69
|
} if (rf & 2) {
|
|
64
70
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
65
|
-
i0.ɵɵproperty("Record", ctx_r1.EffectiveRecord)("EditMode", ctx_r1.EffectiveEditMode)("UserCanEdit", ctx_r1.EffectiveUserCanEdit)("UserCanDelete", ctx_r1.EffectiveUserCanDelete)("IsFavorite", ctx_r1.EffectiveIsFavorite)("FavoriteInitDone", ctx_r1.EffectiveFavoriteInitDone)("IsDirty", ctx_r1.EffectiveIsDirty)("DirtyFieldNames", ctx_r1.EffectiveDirtyFieldNames)("ListCount", ctx_r1.ListCount)("TagCount", ctx_r1.TagCount)("LinksOpen", ctx_r1.ShowRecordLinks)("LinkCount", ctx_r1.LinkCount)("ConflictCount", ctx_r1.ConflictCount)("AttachmentCount", ctx_r1.AttachmentCount)("AttachmentsAvailable", ctx_r1.AttachmentsAvailable)("IsAttachmentsPanelOpen", ctx_r1.ShowAttachmentsPanel)("VersionCount", ctx_r1.VersionCount)("EntityInfo", ctx_r1.EffectiveEntityInfo)("Config", ctx_r1.EffectiveToolbarConfig)("IsSaving", ctx_r1.EffectiveIsSaving)("IsRefreshing", ctx_r1.EffectiveIsRefreshing)("VisibleSectionCount", ctx_r1.VisibleSectionCount)("TotalSectionCount", ctx_r1.TotalSectionCount)("ExpandedSectionCount", ctx_r1.ExpandedSectionCount)("SearchFilter", ctx_r1.EffectiveSearchFilter)("ShowEmptyFields", ctx_r1.EffectiveShowEmptyFields)("WidthMode", ctx_r1.EffectiveWidthMode)("HasCustomSectionOrder", ctx_r1.EffectiveHasCustomSectionOrder)("ChromeLayout", ctx_r1.ChromeLayout)("Variants", ctx_r1.EffectiveVariants)("CurrentVariantID", ctx_r1.EffectiveCurrentVariantID)("RegisteredItems", ctx_r1.EffectiveRegisteredToolbarItems)("ItemOverrides", ctx_r1.EffectiveToolbarItemOverrides)("FormComponent", ctx_r1.fc);
|
|
71
|
+
i0.ɵɵproperty("Record", ctx_r1.EffectiveRecord)("EditMode", ctx_r1.EffectiveEditMode)("UserCanEdit", ctx_r1.EffectiveUserCanEdit)("UserCanDelete", ctx_r1.EffectiveUserCanDelete)("IsFavorite", ctx_r1.EffectiveIsFavorite)("FavoriteInitDone", ctx_r1.EffectiveFavoriteInitDone)("IsDirty", ctx_r1.EffectiveIsDirty)("DirtyFieldNames", ctx_r1.EffectiveDirtyFieldNames)("ListCount", ctx_r1.ListCount)("TagCount", ctx_r1.TagCount)("CommentsOpen", ctx_r1.ShowRecordComments)("CommentCount", ctx_r1.CommentCount)("LinksOpen", ctx_r1.ShowRecordLinks)("LinkCount", ctx_r1.LinkCount)("ConflictCount", ctx_r1.ConflictCount)("AttachmentCount", ctx_r1.AttachmentCount)("AttachmentsAvailable", ctx_r1.AttachmentsAvailable)("IsAttachmentsPanelOpen", ctx_r1.ShowAttachmentsPanel)("VersionCount", ctx_r1.VersionCount)("EntityInfo", ctx_r1.EffectiveEntityInfo)("Config", ctx_r1.EffectiveToolbarConfig)("IsSaving", ctx_r1.EffectiveIsSaving)("IsRefreshing", ctx_r1.EffectiveIsRefreshing)("VisibleSectionCount", ctx_r1.VisibleSectionCount)("TotalSectionCount", ctx_r1.TotalSectionCount)("ExpandedSectionCount", ctx_r1.ExpandedSectionCount)("SearchFilter", ctx_r1.EffectiveSearchFilter)("ShowEmptyFields", ctx_r1.EffectiveShowEmptyFields)("WidthMode", ctx_r1.EffectiveWidthMode)("HasCustomSectionOrder", ctx_r1.EffectiveHasCustomSectionOrder)("ChromeLayout", ctx_r1.ChromeLayout)("Variants", ctx_r1.EffectiveVariants)("CurrentVariantID", ctx_r1.EffectiveCurrentVariantID)("FormModeSwitch", ctx_r1.EffectiveFormModeSwitch)("RegisteredItems", ctx_r1.EffectiveRegisteredToolbarItems)("ItemOverrides", ctx_r1.EffectiveToolbarItemOverrides)("FormComponent", ctx_r1.fc);
|
|
66
72
|
} }
|
|
67
73
|
function MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
68
74
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
69
|
-
i0.ɵɵelementStart(0, "div",
|
|
75
|
+
i0.ɵɵelementStart(0, "div", 33)(1, "button", 40);
|
|
70
76
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnStepVersionPreview(1)); });
|
|
71
|
-
i0.ɵɵelement(2, "i",
|
|
77
|
+
i0.ɵɵelement(2, "i", 41);
|
|
72
78
|
i0.ɵɵtext(3, " Older ");
|
|
73
79
|
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementStart(4, "span",
|
|
80
|
+
i0.ɵɵelementStart(4, "span", 42);
|
|
75
81
|
i0.ɵɵtext(5);
|
|
76
82
|
i0.ɵɵelementEnd();
|
|
77
|
-
i0.ɵɵelementStart(6, "button",
|
|
83
|
+
i0.ɵɵelementStart(6, "button", 43);
|
|
78
84
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnStepVersionPreview(-1)); });
|
|
79
85
|
i0.ɵɵtext(7, " Newer ");
|
|
80
|
-
i0.ɵɵelement(8, "i",
|
|
86
|
+
i0.ɵɵelement(8, "i", 44);
|
|
81
87
|
i0.ɵɵelementEnd()();
|
|
82
88
|
} if (rf & 2) {
|
|
83
89
|
const preview_r5 = i0.ɵɵnextContext();
|
|
@@ -90,20 +96,20 @@ function MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template(rf
|
|
|
90
96
|
} }
|
|
91
97
|
function MjRecordFormContainerComponent_Conditional_2_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
92
98
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
93
|
-
i0.ɵɵelementStart(0, "button",
|
|
99
|
+
i0.ɵɵelementStart(0, "button", 45);
|
|
94
100
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_2_Conditional_18_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRestorePreviewedVersion()); });
|
|
95
|
-
i0.ɵɵelement(1, "i",
|
|
101
|
+
i0.ɵɵelement(1, "i", 46);
|
|
96
102
|
i0.ɵɵtext(2, " Restore This Version... ");
|
|
97
103
|
i0.ɵɵelementEnd();
|
|
98
104
|
} }
|
|
99
105
|
function MjRecordFormContainerComponent_Conditional_2_Conditional_22_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
-
i0.ɵɵelementStart(0, "span",
|
|
106
|
+
i0.ɵɵelementStart(0, "span", 47)(1, "span", 49);
|
|
101
107
|
i0.ɵɵtext(2);
|
|
102
108
|
i0.ɵɵelementEnd();
|
|
103
|
-
i0.ɵɵelementStart(3, "strong",
|
|
109
|
+
i0.ɵɵelementStart(3, "strong", 50);
|
|
104
110
|
i0.ɵɵtext(4);
|
|
105
111
|
i0.ɵɵelementEnd();
|
|
106
|
-
i0.ɵɵelementStart(5, "span",
|
|
112
|
+
i0.ɵɵelementStart(5, "span", 51);
|
|
107
113
|
i0.ɵɵtext(6);
|
|
108
114
|
i0.ɵɵelementEnd()();
|
|
109
115
|
} if (rf & 2) {
|
|
@@ -118,7 +124,7 @@ function MjRecordFormContainerComponent_Conditional_2_Conditional_22_For_2_Templ
|
|
|
118
124
|
i0.ɵɵtextInterpolate1("\u2190 Live: ", ctx_r1.FormatPreviewDiffValue(diff_r7.CurrentLiveValue));
|
|
119
125
|
} }
|
|
120
126
|
function MjRecordFormContainerComponent_Conditional_2_Conditional_22_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
-
i0.ɵɵelementStart(0, "span",
|
|
127
|
+
i0.ɵɵelementStart(0, "span", 48);
|
|
122
128
|
i0.ɵɵtext(1);
|
|
123
129
|
i0.ɵɵelementEnd();
|
|
124
130
|
} if (rf & 2) {
|
|
@@ -127,9 +133,9 @@ function MjRecordFormContainerComponent_Conditional_2_Conditional_22_Conditional
|
|
|
127
133
|
i0.ɵɵtextInterpolate1(" +", ctx_r1.PreviewChangedFieldChips.length - 6, " more ");
|
|
128
134
|
} }
|
|
129
135
|
function MjRecordFormContainerComponent_Conditional_2_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
130
|
-
i0.ɵɵelementStart(0, "div",
|
|
131
|
-
i0.ɵɵrepeaterCreate(1, MjRecordFormContainerComponent_Conditional_2_Conditional_22_For_2_Template, 7, 4, "span",
|
|
132
|
-
i0.ɵɵconditionalCreate(3, MjRecordFormContainerComponent_Conditional_2_Conditional_22_Conditional_3_Template, 2, 1, "span",
|
|
136
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
137
|
+
i0.ɵɵrepeaterCreate(1, MjRecordFormContainerComponent_Conditional_2_Conditional_22_For_2_Template, 7, 4, "span", 47, _forTrack0);
|
|
138
|
+
i0.ɵɵconditionalCreate(3, MjRecordFormContainerComponent_Conditional_2_Conditional_22_Conditional_3_Template, 2, 1, "span", 48);
|
|
133
139
|
i0.ɵɵelementEnd();
|
|
134
140
|
} if (rf & 2) {
|
|
135
141
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -140,33 +146,33 @@ function MjRecordFormContainerComponent_Conditional_2_Conditional_22_Template(rf
|
|
|
140
146
|
} }
|
|
141
147
|
function MjRecordFormContainerComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
142
148
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
143
|
-
i0.ɵɵelementStart(0, "div",
|
|
144
|
-
i0.ɵɵelement(4, "i",
|
|
149
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 25)(2, "div", 26)(3, "span", 27);
|
|
150
|
+
i0.ɵɵelement(4, "i", 28);
|
|
145
151
|
i0.ɵɵtext(5, " Time-Travel Preview ");
|
|
146
152
|
i0.ɵɵelementEnd();
|
|
147
|
-
i0.ɵɵelementStart(6, "span",
|
|
153
|
+
i0.ɵɵelementStart(6, "span", 29)(7, "strong");
|
|
148
154
|
i0.ɵɵtext(8);
|
|
149
155
|
i0.ɵɵelementEnd();
|
|
150
|
-
i0.ɵɵelementStart(9, "span",
|
|
156
|
+
i0.ɵɵelementStart(9, "span", 30);
|
|
151
157
|
i0.ɵɵtext(10);
|
|
152
158
|
i0.ɵɵelementEnd()();
|
|
153
|
-
i0.ɵɵelementStart(11, "span",
|
|
159
|
+
i0.ɵɵelementStart(11, "span", 31);
|
|
154
160
|
i0.ɵɵtext(12);
|
|
155
161
|
i0.ɵɵelementEnd()();
|
|
156
|
-
i0.ɵɵelementStart(13, "div",
|
|
157
|
-
i0.ɵɵconditionalCreate(14, MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template, 9, 4, "div",
|
|
158
|
-
i0.ɵɵelementStart(15, "button",
|
|
162
|
+
i0.ɵɵelementStart(13, "div", 32);
|
|
163
|
+
i0.ɵɵconditionalCreate(14, MjRecordFormContainerComponent_Conditional_2_Conditional_14_Template, 9, 4, "div", 33);
|
|
164
|
+
i0.ɵɵelementStart(15, "button", 34);
|
|
159
165
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_2_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnReopenHistoryFromPreview()); });
|
|
160
|
-
i0.ɵɵelement(16, "i",
|
|
166
|
+
i0.ɵɵelement(16, "i", 35);
|
|
161
167
|
i0.ɵɵtext(17, " Timeline ");
|
|
162
168
|
i0.ɵɵelementEnd();
|
|
163
|
-
i0.ɵɵconditionalCreate(18, MjRecordFormContainerComponent_Conditional_2_Conditional_18_Template, 3, 0, "button",
|
|
164
|
-
i0.ɵɵelementStart(19, "button",
|
|
169
|
+
i0.ɵɵconditionalCreate(18, MjRecordFormContainerComponent_Conditional_2_Conditional_18_Template, 3, 0, "button", 36);
|
|
170
|
+
i0.ɵɵelementStart(19, "button", 37);
|
|
165
171
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_2_Template_button_click_19_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnExitVersionPreview()); });
|
|
166
|
-
i0.ɵɵelement(20, "i",
|
|
172
|
+
i0.ɵɵelement(20, "i", 38);
|
|
167
173
|
i0.ɵɵtext(21, " Exit Preview ");
|
|
168
174
|
i0.ɵɵelementEnd()()();
|
|
169
|
-
i0.ɵɵconditionalCreate(22, MjRecordFormContainerComponent_Conditional_2_Conditional_22_Template, 4, 1, "div",
|
|
175
|
+
i0.ɵɵconditionalCreate(22, MjRecordFormContainerComponent_Conditional_2_Conditional_22_Template, 4, 1, "div", 39);
|
|
170
176
|
i0.ɵɵelementEnd();
|
|
171
177
|
} if (rf & 2) {
|
|
172
178
|
const preview_r5 = ctx;
|
|
@@ -186,22 +192,22 @@ function MjRecordFormContainerComponent_Conditional_2_Template(rf, ctx) { if (rf
|
|
|
186
192
|
} }
|
|
187
193
|
function MjRecordFormContainerComponent_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
188
194
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
189
|
-
i0.ɵɵelementStart(0, "button",
|
|
195
|
+
i0.ɵɵelementStart(0, "button", 56);
|
|
190
196
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_5_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnReloadFromRemotePill()); });
|
|
191
197
|
i0.ɵɵtext(1, " Reload ");
|
|
192
198
|
i0.ɵɵelementEnd();
|
|
193
199
|
} }
|
|
194
200
|
function MjRecordFormContainerComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
195
201
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
196
|
-
i0.ɵɵelementStart(0, "div",
|
|
202
|
+
i0.ɵɵelementStart(0, "div", 52);
|
|
197
203
|
i0.ɵɵelement(1, "i");
|
|
198
|
-
i0.ɵɵelementStart(2, "span",
|
|
204
|
+
i0.ɵɵelementStart(2, "span", 53);
|
|
199
205
|
i0.ɵɵtext(3);
|
|
200
206
|
i0.ɵɵelementEnd();
|
|
201
|
-
i0.ɵɵconditionalCreate(4, MjRecordFormContainerComponent_Conditional_5_Conditional_4_Template, 2, 0, "button",
|
|
202
|
-
i0.ɵɵelementStart(5, "button",
|
|
207
|
+
i0.ɵɵconditionalCreate(4, MjRecordFormContainerComponent_Conditional_5_Conditional_4_Template, 2, 0, "button", 54);
|
|
208
|
+
i0.ɵɵelementStart(5, "button", 55);
|
|
203
209
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_5_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDismissRemoteUpdatePill()); });
|
|
204
|
-
i0.ɵɵelement(6, "i",
|
|
210
|
+
i0.ɵɵelement(6, "i", 38);
|
|
205
211
|
i0.ɵɵelementEnd()();
|
|
206
212
|
} if (rf & 2) {
|
|
207
213
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -220,7 +226,7 @@ function MjRecordFormContainerComponent_Conditional_6_For_4_Conditional_2_Templa
|
|
|
220
226
|
} }
|
|
221
227
|
function MjRecordFormContainerComponent_Conditional_6_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
222
228
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
223
|
-
i0.ɵɵelementStart(0, "button",
|
|
229
|
+
i0.ɵɵelementStart(0, "button", 59);
|
|
224
230
|
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_6_For_4_Template_button_click_0_listener() { const candidate_r12 = i0.ɵɵrestoreView(_r11).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnDuplicateCandidateClick(candidate_r12)); });
|
|
225
231
|
i0.ɵɵtext(1);
|
|
226
232
|
i0.ɵɵelementEnd();
|
|
@@ -237,9 +243,9 @@ function MjRecordFormContainerComponent_Conditional_6_For_4_Template(rf, ctx) {
|
|
|
237
243
|
} }
|
|
238
244
|
function MjRecordFormContainerComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
239
245
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
240
|
-
i0.ɵɵelementStart(0, "mj-alert",
|
|
246
|
+
i0.ɵɵelementStart(0, "mj-alert", 57);
|
|
241
247
|
i0.ɵɵlistener("Dismissed", function MjRecordFormContainerComponent_Conditional_6_Template_mj_alert_Dismissed_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDuplicateNoticeDismissed()); });
|
|
242
|
-
i0.ɵɵelementStart(1, "span",
|
|
248
|
+
i0.ɵɵelementStart(1, "span", 58);
|
|
243
249
|
i0.ɵɵtext(2, "This may duplicate:");
|
|
244
250
|
i0.ɵɵelementEnd();
|
|
245
251
|
i0.ɵɵrepeaterCreate(3, MjRecordFormContainerComponent_Conditional_6_For_4_Template, 3, 3, null, null, _forTrack1);
|
|
@@ -249,53 +255,156 @@ function MjRecordFormContainerComponent_Conditional_6_Template(rf, ctx) { if (rf
|
|
|
249
255
|
i0.ɵɵadvance(3);
|
|
250
256
|
i0.ɵɵrepeater(ctx_r1.DuplicateEntryCandidates);
|
|
251
257
|
} }
|
|
252
|
-
function
|
|
253
|
-
i0.ɵɵ
|
|
258
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
259
|
+
i0.ɵɵelement(0, "span", 68);
|
|
260
|
+
} if (rf & 2) {
|
|
261
|
+
const activeGroup_r16 = i0.ɵɵnextContext();
|
|
262
|
+
const activeIndicators_r17 = i0.ɵɵreadContextLet(0);
|
|
263
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
264
|
+
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(activeIndicators_r17.DirtyCount, activeGroup_r16.Title));
|
|
265
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(activeIndicators_r17.DirtyCount, activeGroup_r16.Title));
|
|
266
|
+
} }
|
|
267
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
268
|
+
i0.ɵɵelementStart(0, "span", 69);
|
|
269
|
+
i0.ɵɵelement(1, "i", 72);
|
|
270
|
+
i0.ɵɵtext(2);
|
|
271
|
+
i0.ɵɵelementEnd();
|
|
272
|
+
} if (rf & 2) {
|
|
273
|
+
const activeGroup_r16 = i0.ɵɵnextContext();
|
|
274
|
+
const activeIndicators_r17 = i0.ɵɵreadContextLet(0);
|
|
275
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
276
|
+
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(activeIndicators_r17.ErrorCount, activeGroup_r16.Title));
|
|
277
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(activeIndicators_r17.ErrorCount, activeGroup_r16.Title));
|
|
278
|
+
i0.ɵɵadvance(2);
|
|
279
|
+
i0.ɵɵtextInterpolate1("", activeIndicators_r17.ErrorCount, " ");
|
|
280
|
+
} }
|
|
281
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
282
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
283
|
+
i0.ɵɵelement(1, "i", 73);
|
|
284
|
+
i0.ɵɵtext(2);
|
|
285
|
+
i0.ɵɵelementEnd();
|
|
286
|
+
} if (rf & 2) {
|
|
287
|
+
const activeGroup_r16 = i0.ɵɵnextContext();
|
|
288
|
+
const activeIndicators_r17 = i0.ɵɵreadContextLet(0);
|
|
289
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
290
|
+
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(activeIndicators_r17.WarningCount, activeGroup_r16.Title));
|
|
291
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(activeIndicators_r17.WarningCount, activeGroup_r16.Title));
|
|
292
|
+
i0.ɵɵadvance(2);
|
|
293
|
+
i0.ɵɵtextInterpolate1("", activeIndicators_r17.WarningCount, " ");
|
|
294
|
+
} }
|
|
295
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
296
|
+
i0.ɵɵelementStart(0, "span", 71);
|
|
254
297
|
i0.ɵɵtext(1);
|
|
255
298
|
i0.ɵɵelementEnd();
|
|
256
299
|
} if (rf & 2) {
|
|
257
300
|
i0.ɵɵnextContext();
|
|
258
|
-
const
|
|
301
|
+
const activeRowCount_r18 = i0.ɵɵreadContextLet(4);
|
|
302
|
+
i0.ɵɵadvance();
|
|
303
|
+
i0.ɵɵtextInterpolate(activeRowCount_r18);
|
|
304
|
+
} }
|
|
305
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
306
|
+
i0.ɵɵdeclareLet(0);
|
|
307
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_1_Template, 1, 2, "span", 68);
|
|
308
|
+
i0.ɵɵconditionalCreate(2, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_2_Template, 3, 3, "span", 69)(3, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_3_Template, 3, 3, "span", 70);
|
|
309
|
+
i0.ɵɵdeclareLet(4);
|
|
310
|
+
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Conditional_5_Template, 2, 1, "span", 71);
|
|
311
|
+
} if (rf & 2) {
|
|
312
|
+
const activeGroup_r16 = ctx;
|
|
313
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
314
|
+
const activeIndicators_r19 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupIndicators(activeGroup_r16));
|
|
315
|
+
i0.ɵɵadvance();
|
|
316
|
+
i0.ɵɵconditional(activeIndicators_r19.DirtyCount > 0 ? 1 : -1);
|
|
317
|
+
i0.ɵɵadvance();
|
|
318
|
+
i0.ɵɵconditional(activeIndicators_r19.ErrorCount > 0 ? 2 : activeIndicators_r19.WarningCount > 0 ? 3 : -1);
|
|
319
|
+
i0.ɵɵadvance(2);
|
|
320
|
+
const activeRowCount_r20 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupRowCount(activeGroup_r16));
|
|
321
|
+
i0.ɵɵadvance();
|
|
322
|
+
i0.ɵɵconditional(activeRowCount_r20 != null && activeRowCount_r20 > 0 ? 5 : -1);
|
|
323
|
+
} }
|
|
324
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
325
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
326
|
+
i0.ɵɵelementStart(0, "button", 64);
|
|
327
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OpenSectionSheet()); });
|
|
328
|
+
i0.ɵɵelement(1, "i", 65);
|
|
329
|
+
i0.ɵɵelementStart(2, "span", 66);
|
|
330
|
+
i0.ɵɵtext(3);
|
|
331
|
+
i0.ɵɵelementEnd();
|
|
332
|
+
i0.ɵɵconditionalCreate(4, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Conditional_4_Template, 6, 5);
|
|
333
|
+
i0.ɵɵelement(5, "i", 67);
|
|
334
|
+
i0.ɵɵelementEnd();
|
|
335
|
+
} if (rf & 2) {
|
|
336
|
+
let tmp_5_0;
|
|
259
337
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
260
|
-
i0.ɵɵ
|
|
261
|
-
i0.ɵɵ
|
|
338
|
+
i0.ɵɵattribute("aria-label", "Change section \u2014 " + ctx_r1.ChromeActiveTitle);
|
|
339
|
+
i0.ɵɵadvance();
|
|
340
|
+
i0.ɵɵclassMap(ctx_r1.ChromeActiveIcon);
|
|
341
|
+
i0.ɵɵadvance(2);
|
|
342
|
+
i0.ɵɵtextInterpolate(ctx_r1.ChromeActiveTitle);
|
|
262
343
|
i0.ɵɵadvance();
|
|
263
|
-
i0.ɵɵ
|
|
344
|
+
i0.ɵɵconditional((tmp_5_0 = ctx_r1.ChromeActiveGroup) ? 4 : -1, tmp_5_0);
|
|
264
345
|
} }
|
|
265
|
-
function
|
|
266
|
-
i0.ɵɵelementStart(0, "span",
|
|
346
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
347
|
+
i0.ɵɵelementStart(0, "span", 76);
|
|
267
348
|
i0.ɵɵtext(1);
|
|
268
349
|
i0.ɵɵelementEnd();
|
|
269
350
|
} if (rf & 2) {
|
|
270
351
|
i0.ɵɵnextContext();
|
|
271
|
-
const
|
|
352
|
+
const formIndicators_r22 = i0.ɵɵreadContextLet(4);
|
|
272
353
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
273
|
-
i0.ɵɵproperty("title", ctx_r1.
|
|
274
|
-
i0.ɵɵattribute("aria-label", ctx_r1.
|
|
354
|
+
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(formIndicators_r22.ErrorCount, "this record"));
|
|
355
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(formIndicators_r22.ErrorCount, "this record"));
|
|
275
356
|
i0.ɵɵadvance();
|
|
276
|
-
i0.ɵɵtextInterpolate(
|
|
357
|
+
i0.ɵɵtextInterpolate(formIndicators_r22.ErrorCount);
|
|
277
358
|
} }
|
|
278
|
-
function
|
|
279
|
-
i0.ɵɵ
|
|
359
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
360
|
+
i0.ɵɵelementStart(0, "span", 77);
|
|
361
|
+
i0.ɵɵtext(1);
|
|
362
|
+
i0.ɵɵelementEnd();
|
|
280
363
|
} if (rf & 2) {
|
|
281
364
|
i0.ɵɵnextContext();
|
|
282
|
-
const
|
|
365
|
+
const formIndicators_r22 = i0.ɵɵreadContextLet(4);
|
|
283
366
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
284
|
-
i0.ɵɵproperty("title", ctx_r1.
|
|
285
|
-
i0.ɵɵattribute("aria-label", ctx_r1.
|
|
367
|
+
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(formIndicators_r22.WarningCount, "this record"));
|
|
368
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(formIndicators_r22.WarningCount, "this record"));
|
|
369
|
+
i0.ɵɵadvance();
|
|
370
|
+
i0.ɵɵtextInterpolate(formIndicators_r22.WarningCount);
|
|
286
371
|
} }
|
|
287
|
-
function
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
i0.ɵɵ
|
|
372
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
373
|
+
i0.ɵɵelement(0, "span", 78);
|
|
374
|
+
} if (rf & 2) {
|
|
375
|
+
i0.ɵɵnextContext();
|
|
376
|
+
const formIndicators_r22 = i0.ɵɵreadContextLet(4);
|
|
377
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
378
|
+
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(formIndicators_r22.DirtyCount, "this record"));
|
|
379
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(formIndicators_r22.DirtyCount, "this record"));
|
|
380
|
+
} }
|
|
381
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
382
|
+
i0.ɵɵelementStart(0, "span", 79);
|
|
383
|
+
i0.ɵɵelement(1, "i", 80);
|
|
384
|
+
i0.ɵɵtext(2);
|
|
385
|
+
i0.ɵɵelementEnd();
|
|
386
|
+
} if (rf & 2) {
|
|
387
|
+
i0.ɵɵnextContext();
|
|
388
|
+
const formIndicators_r22 = i0.ɵɵreadContextLet(4);
|
|
389
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
390
|
+
i0.ɵɵproperty("title", ctx_r1.RailCommentTitle(formIndicators_r22.CommentCount, "this record"));
|
|
391
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailCommentTitle(formIndicators_r22.CommentCount, "this record"));
|
|
392
|
+
i0.ɵɵadvance(2);
|
|
393
|
+
i0.ɵɵtextInterpolate1("", formIndicators_r22.CommentCount, " ");
|
|
394
|
+
} }
|
|
395
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
396
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
397
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
398
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnChromeRailExpand()); });
|
|
291
399
|
i0.ɵɵelement(1, "i");
|
|
292
|
-
i0.ɵɵelementStart(2, "span",
|
|
293
|
-
i0.ɵɵlistener("mouseenter", function
|
|
400
|
+
i0.ɵɵelementStart(2, "span", 75);
|
|
401
|
+
i0.ɵɵlistener("mouseenter", function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Template_span_mouseenter_2_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRailLabelHover($event, ctx_r1.ChromeActiveTitle)); });
|
|
294
402
|
i0.ɵɵtext(3);
|
|
295
403
|
i0.ɵɵelementEnd();
|
|
296
404
|
i0.ɵɵdeclareLet(4);
|
|
297
|
-
i0.ɵɵconditionalCreate(5,
|
|
298
|
-
i0.ɵɵconditionalCreate(7,
|
|
405
|
+
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_5_Template, 2, 3, "span", 76)(6, MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_6_Template, 2, 3, "span", 77);
|
|
406
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_7_Template, 1, 2, "span", 78);
|
|
407
|
+
i0.ɵɵconditionalCreate(8, MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional_8_Template, 3, 3, "span", 79);
|
|
299
408
|
i0.ɵɵelementEnd();
|
|
300
409
|
} if (rf & 2) {
|
|
301
410
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -306,290 +415,345 @@ function MjRecordFormContainerComponent_Conditional_10_Conditional_1_Template(rf
|
|
|
306
415
|
i0.ɵɵadvance(2);
|
|
307
416
|
i0.ɵɵtextInterpolate(ctx_r1.ChromeActiveTitle);
|
|
308
417
|
i0.ɵɵadvance();
|
|
309
|
-
const
|
|
418
|
+
const formIndicators_r23 = i0.ɵɵstoreLet(ctx_r1.FormIndicators);
|
|
310
419
|
i0.ɵɵadvance();
|
|
311
|
-
i0.ɵɵconditional(
|
|
420
|
+
i0.ɵɵconditional(formIndicators_r23.ErrorCount > 0 ? 5 : formIndicators_r23.WarningCount > 0 ? 6 : -1);
|
|
312
421
|
i0.ɵɵadvance(2);
|
|
313
|
-
i0.ɵɵconditional(
|
|
422
|
+
i0.ɵɵconditional(formIndicators_r23.DirtyCount > 0 ? 7 : -1);
|
|
423
|
+
i0.ɵɵadvance();
|
|
424
|
+
i0.ɵɵconditional((formIndicators_r23.CommentCount ?? 0) > 0 ? 8 : -1);
|
|
314
425
|
} }
|
|
315
|
-
function
|
|
316
|
-
const
|
|
317
|
-
i0.ɵɵelementStart(0, "span",
|
|
318
|
-
i0.ɵɵlistener("dragstart", function
|
|
319
|
-
i0.ɵɵelement(1, "i",
|
|
426
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
427
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
428
|
+
i0.ɵɵelementStart(0, "span", 94);
|
|
429
|
+
i0.ɵɵlistener("dragstart", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_1_Template_span_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r27); const group_r26 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailDragStart($event, group_r26.Key)); })("dragend", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_1_Template_span_dragend_0_listener() { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRailDragEnd()); })("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_1_Template_span_click_0_listener($event) { return $event.stopPropagation(); });
|
|
430
|
+
i0.ɵɵelement(1, "i", 95);
|
|
320
431
|
i0.ɵɵelementEnd();
|
|
321
432
|
} }
|
|
322
|
-
function
|
|
323
|
-
i0.ɵɵelement(0, "span",
|
|
433
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
434
|
+
i0.ɵɵelement(0, "span", 68);
|
|
324
435
|
} if (rf & 2) {
|
|
325
|
-
const
|
|
326
|
-
const
|
|
436
|
+
const group_r26 = i0.ɵɵnextContext().$implicit;
|
|
437
|
+
const groupIndicators_r28 = i0.ɵɵreadContextLet(5);
|
|
327
438
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
328
|
-
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(
|
|
329
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(
|
|
439
|
+
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(groupIndicators_r28.DirtyCount, group_r26.Title));
|
|
440
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(groupIndicators_r28.DirtyCount, group_r26.Title));
|
|
330
441
|
} }
|
|
331
|
-
function
|
|
332
|
-
i0.ɵɵelementStart(0, "span",
|
|
333
|
-
i0.ɵɵelement(1, "i",
|
|
442
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
443
|
+
i0.ɵɵelementStart(0, "span", 69);
|
|
444
|
+
i0.ɵɵelement(1, "i", 72);
|
|
334
445
|
i0.ɵɵtext(2);
|
|
335
446
|
i0.ɵɵelementEnd();
|
|
336
447
|
} if (rf & 2) {
|
|
337
|
-
const
|
|
338
|
-
const
|
|
448
|
+
const group_r26 = i0.ɵɵnextContext().$implicit;
|
|
449
|
+
const groupIndicators_r28 = i0.ɵɵreadContextLet(5);
|
|
339
450
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
340
|
-
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(
|
|
341
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(
|
|
451
|
+
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(groupIndicators_r28.ErrorCount, group_r26.Title));
|
|
452
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(groupIndicators_r28.ErrorCount, group_r26.Title));
|
|
342
453
|
i0.ɵɵadvance(2);
|
|
343
|
-
i0.ɵɵtextInterpolate1("",
|
|
454
|
+
i0.ɵɵtextInterpolate1("", groupIndicators_r28.ErrorCount, " ");
|
|
344
455
|
} }
|
|
345
|
-
function
|
|
346
|
-
i0.ɵɵelementStart(0, "span",
|
|
347
|
-
i0.ɵɵelement(1, "i",
|
|
456
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
457
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
458
|
+
i0.ɵɵelement(1, "i", 73);
|
|
348
459
|
i0.ɵɵtext(2);
|
|
349
460
|
i0.ɵɵelementEnd();
|
|
350
461
|
} if (rf & 2) {
|
|
351
|
-
const
|
|
352
|
-
const
|
|
462
|
+
const group_r26 = i0.ɵɵnextContext().$implicit;
|
|
463
|
+
const groupIndicators_r28 = i0.ɵɵreadContextLet(5);
|
|
353
464
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
354
|
-
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(
|
|
355
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(
|
|
465
|
+
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(groupIndicators_r28.WarningCount, group_r26.Title));
|
|
466
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(groupIndicators_r28.WarningCount, group_r26.Title));
|
|
356
467
|
i0.ɵɵadvance(2);
|
|
357
|
-
i0.ɵɵtextInterpolate1("",
|
|
468
|
+
i0.ɵɵtextInterpolate1("", groupIndicators_r28.WarningCount, " ");
|
|
358
469
|
} }
|
|
359
|
-
function
|
|
360
|
-
i0.ɵɵelementStart(0, "span",
|
|
470
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
471
|
+
i0.ɵɵelementStart(0, "span", 71);
|
|
361
472
|
i0.ɵɵtext(1);
|
|
362
473
|
i0.ɵɵelementEnd();
|
|
363
474
|
} if (rf & 2) {
|
|
364
475
|
i0.ɵɵnextContext();
|
|
365
|
-
const
|
|
476
|
+
const rowCount_r29 = i0.ɵɵreadContextLet(9);
|
|
366
477
|
i0.ɵɵadvance();
|
|
367
|
-
i0.ɵɵtextInterpolate(
|
|
478
|
+
i0.ɵɵtextInterpolate(rowCount_r29);
|
|
479
|
+
} }
|
|
480
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
481
|
+
i0.ɵɵelementStart(0, "span", 93);
|
|
482
|
+
i0.ɵɵelement(1, "i", 80);
|
|
483
|
+
i0.ɵɵtext(2);
|
|
484
|
+
i0.ɵɵelementEnd();
|
|
485
|
+
} if (rf & 2) {
|
|
486
|
+
const group_r26 = i0.ɵɵnextContext().$implicit;
|
|
487
|
+
const groupIndicators_r28 = i0.ɵɵreadContextLet(5);
|
|
488
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
489
|
+
i0.ɵɵproperty("title", ctx_r1.RailCommentTitle(groupIndicators_r28.CommentCount, group_r26.Title));
|
|
490
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailCommentTitle(groupIndicators_r28.CommentCount, group_r26.Title));
|
|
491
|
+
i0.ɵɵadvance(2);
|
|
492
|
+
i0.ɵɵtextInterpolate1("", groupIndicators_r28.CommentCount, " ");
|
|
368
493
|
} }
|
|
369
|
-
function
|
|
370
|
-
const
|
|
371
|
-
i0.ɵɵelementStart(0, "div",
|
|
372
|
-
i0.ɵɵlistener("click", function
|
|
373
|
-
i0.ɵɵconditionalCreate(1,
|
|
494
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
495
|
+
const _r25 = i0.ɵɵgetCurrentView();
|
|
496
|
+
i0.ɵɵelementStart(0, "div", 90);
|
|
497
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_click_0_listener() { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(group_r26.Key)); })("keydown.enter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_keydown_enter_0_listener() { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(group_r26.Key)); })("keydown.space", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_keydown_space_0_listener($event) { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); $event.preventDefault(); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(group_r26.Key)); })("dragover", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_dragover_0_listener($event) { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailDragOver($event, group_r26.Key)); })("dragleave", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_dragleave_0_listener($event) { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailDragLeave($event, group_r26.Key)); })("drop", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_div_drop_0_listener($event) { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailDrop($event, group_r26.Key)); });
|
|
498
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_1_Template, 2, 0, "span", 91);
|
|
374
499
|
i0.ɵɵelement(2, "i");
|
|
375
|
-
i0.ɵɵelementStart(3, "span",
|
|
376
|
-
i0.ɵɵlistener("mouseenter", function
|
|
500
|
+
i0.ɵɵelementStart(3, "span", 92);
|
|
501
|
+
i0.ɵɵlistener("mouseenter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template_span_mouseenter_3_listener($event) { const group_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailLabelHover($event, group_r26.Title)); });
|
|
377
502
|
i0.ɵɵtext(4);
|
|
378
503
|
i0.ɵɵelementEnd();
|
|
379
504
|
i0.ɵɵdeclareLet(5);
|
|
380
|
-
i0.ɵɵconditionalCreate(6,
|
|
381
|
-
i0.ɵɵconditionalCreate(7,
|
|
505
|
+
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_6_Template, 1, 2, "span", 68);
|
|
506
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_7_Template, 3, 3, "span", 69)(8, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_8_Template, 3, 3, "span", 70);
|
|
382
507
|
i0.ɵɵdeclareLet(9);
|
|
383
|
-
i0.ɵɵconditionalCreate(10,
|
|
508
|
+
i0.ɵɵconditionalCreate(10, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_10_Template, 2, 1, "span", 71);
|
|
509
|
+
i0.ɵɵconditionalCreate(11, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Conditional_11_Template, 3, 3, "span", 93);
|
|
384
510
|
i0.ɵɵelementEnd();
|
|
385
511
|
} if (rf & 2) {
|
|
386
|
-
const
|
|
512
|
+
const group_r26 = ctx.$implicit;
|
|
387
513
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
388
|
-
i0.ɵɵclassProp("is-active", ctx_r1.ChromeActiveGroupKey ===
|
|
389
|
-
i0.ɵɵattribute("data-rail-key",
|
|
514
|
+
i0.ɵɵclassProp("is-active", ctx_r1.ChromeActiveGroupKey === group_r26.Key)("is-drag-over", ctx_r1.RailDragOverKey === group_r26.Key)("has-errors", ctx_r1.ChromeGroupIndicators(group_r26).ErrorCount > 0)("is-dirty", ctx_r1.ChromeGroupIndicators(group_r26).DirtyCount > 0);
|
|
515
|
+
i0.ɵɵattribute("data-rail-key", group_r26.Key)("aria-current", ctx_r1.ChromeActiveGroupKey === group_r26.Key ? "page" : null);
|
|
390
516
|
i0.ɵɵadvance();
|
|
391
517
|
i0.ɵɵconditional(ctx_r1.ChromeReorderAllowed ? 1 : -1);
|
|
392
518
|
i0.ɵɵadvance();
|
|
393
|
-
i0.ɵɵclassMap(
|
|
519
|
+
i0.ɵɵclassMap(group_r26.Icon);
|
|
394
520
|
i0.ɵɵadvance(2);
|
|
395
|
-
i0.ɵɵtextInterpolate(
|
|
521
|
+
i0.ɵɵtextInterpolate(group_r26.Title);
|
|
396
522
|
i0.ɵɵadvance();
|
|
397
|
-
const
|
|
523
|
+
const groupIndicators_r30 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupIndicators(group_r26));
|
|
398
524
|
i0.ɵɵadvance();
|
|
399
|
-
i0.ɵɵconditional(
|
|
525
|
+
i0.ɵɵconditional(groupIndicators_r30.DirtyCount > 0 ? 6 : -1);
|
|
400
526
|
i0.ɵɵadvance();
|
|
401
|
-
i0.ɵɵconditional(
|
|
527
|
+
i0.ɵɵconditional(groupIndicators_r30.ErrorCount > 0 ? 7 : groupIndicators_r30.WarningCount > 0 ? 8 : -1);
|
|
402
528
|
i0.ɵɵadvance(2);
|
|
403
|
-
const
|
|
529
|
+
const rowCount_r31 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupRowCount(group_r26));
|
|
404
530
|
i0.ɵɵadvance();
|
|
405
|
-
i0.ɵɵconditional(
|
|
531
|
+
i0.ɵɵconditional(rowCount_r31 != null && rowCount_r31 > 0 ? 10 : -1);
|
|
532
|
+
i0.ɵɵadvance();
|
|
533
|
+
i0.ɵɵconditional((groupIndicators_r30.CommentCount ?? 0) > 0 ? 11 : -1);
|
|
406
534
|
} }
|
|
407
|
-
function
|
|
408
|
-
i0.ɵɵelement(0, "span",
|
|
535
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
536
|
+
i0.ɵɵelement(0, "span", 68);
|
|
409
537
|
} if (rf & 2) {
|
|
410
|
-
const
|
|
411
|
-
const
|
|
538
|
+
const more_r33 = i0.ɵɵnextContext();
|
|
539
|
+
const moreIndicators_r34 = i0.ɵɵreadContextLet(5);
|
|
412
540
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
413
|
-
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(
|
|
414
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(
|
|
541
|
+
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(moreIndicators_r34.DirtyCount, more_r33.Title));
|
|
542
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(moreIndicators_r34.DirtyCount, more_r33.Title));
|
|
415
543
|
} }
|
|
416
|
-
function
|
|
417
|
-
i0.ɵɵelementStart(0, "span",
|
|
418
|
-
i0.ɵɵelement(1, "i",
|
|
544
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
545
|
+
i0.ɵɵelementStart(0, "span", 69);
|
|
546
|
+
i0.ɵɵelement(1, "i", 72);
|
|
419
547
|
i0.ɵɵtext(2);
|
|
420
548
|
i0.ɵɵelementEnd();
|
|
421
549
|
} if (rf & 2) {
|
|
422
|
-
const
|
|
423
|
-
const
|
|
550
|
+
const more_r33 = i0.ɵɵnextContext();
|
|
551
|
+
const moreIndicators_r34 = i0.ɵɵreadContextLet(5);
|
|
424
552
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
425
|
-
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(
|
|
426
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(
|
|
553
|
+
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(moreIndicators_r34.ErrorCount, more_r33.Title));
|
|
554
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(moreIndicators_r34.ErrorCount, more_r33.Title));
|
|
427
555
|
i0.ɵɵadvance(2);
|
|
428
|
-
i0.ɵɵtextInterpolate1("",
|
|
556
|
+
i0.ɵɵtextInterpolate1("", moreIndicators_r34.ErrorCount, " ");
|
|
429
557
|
} }
|
|
430
|
-
function
|
|
431
|
-
i0.ɵɵelementStart(0, "span",
|
|
432
|
-
i0.ɵɵelement(1, "i",
|
|
558
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
559
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
560
|
+
i0.ɵɵelement(1, "i", 73);
|
|
433
561
|
i0.ɵɵtext(2);
|
|
434
562
|
i0.ɵɵelementEnd();
|
|
435
563
|
} if (rf & 2) {
|
|
436
|
-
const
|
|
437
|
-
const
|
|
564
|
+
const more_r33 = i0.ɵɵnextContext();
|
|
565
|
+
const moreIndicators_r34 = i0.ɵɵreadContextLet(5);
|
|
438
566
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
439
|
-
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(
|
|
440
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(
|
|
567
|
+
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(moreIndicators_r34.WarningCount, more_r33.Title));
|
|
568
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(moreIndicators_r34.WarningCount, more_r33.Title));
|
|
441
569
|
i0.ɵɵadvance(2);
|
|
442
|
-
i0.ɵɵtextInterpolate1("",
|
|
570
|
+
i0.ɵɵtextInterpolate1("", moreIndicators_r34.WarningCount, " ");
|
|
443
571
|
} }
|
|
444
|
-
function
|
|
445
|
-
i0.ɵɵelementStart(0, "span",
|
|
572
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
573
|
+
i0.ɵɵelementStart(0, "span", 100);
|
|
446
574
|
i0.ɵɵtext(1);
|
|
447
575
|
i0.ɵɵelementEnd();
|
|
448
576
|
} if (rf & 2) {
|
|
449
577
|
i0.ɵɵnextContext();
|
|
450
|
-
const
|
|
578
|
+
const moreRowCount_r35 = i0.ɵɵreadContextLet(0);
|
|
451
579
|
i0.ɵɵadvance();
|
|
452
|
-
i0.ɵɵtextInterpolate(
|
|
580
|
+
i0.ɵɵtextInterpolate(moreRowCount_r35);
|
|
453
581
|
} }
|
|
454
|
-
function
|
|
582
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
583
|
+
i0.ɵɵelementStart(0, "span", 93);
|
|
584
|
+
i0.ɵɵelement(1, "i", 80);
|
|
585
|
+
i0.ɵɵtext(2);
|
|
586
|
+
i0.ɵɵelementEnd();
|
|
587
|
+
} if (rf & 2) {
|
|
588
|
+
const more_r33 = i0.ɵɵnextContext(2);
|
|
589
|
+
const moreIndicators_r34 = i0.ɵɵreadContextLet(5);
|
|
590
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
591
|
+
i0.ɵɵproperty("title", ctx_r1.RailCommentTitle(moreIndicators_r34.CommentCount, more_r33.Title));
|
|
592
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailCommentTitle(moreIndicators_r34.CommentCount, more_r33.Title));
|
|
593
|
+
i0.ɵɵadvance(2);
|
|
594
|
+
i0.ɵɵtextInterpolate1("", moreIndicators_r34.CommentCount, " ");
|
|
595
|
+
} }
|
|
596
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
455
597
|
i0.ɵɵdeclareLet(0);
|
|
456
|
-
i0.ɵɵconditionalCreate(1,
|
|
598
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Conditional_1_Template, 2, 1, "span", 100);
|
|
599
|
+
i0.ɵɵconditionalCreate(2, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Conditional_2_Template, 3, 3, "span", 93);
|
|
457
600
|
} if (rf & 2) {
|
|
458
|
-
|
|
601
|
+
i0.ɵɵnextContext();
|
|
602
|
+
const moreIndicators_r34 = i0.ɵɵreadContextLet(5);
|
|
603
|
+
const moreRowCount_r36 = i0.ɵɵstoreLet(i0.ɵɵnextContext(3).ChromeMoreRowCount);
|
|
459
604
|
i0.ɵɵadvance();
|
|
460
|
-
i0.ɵɵconditional(
|
|
605
|
+
i0.ɵɵconditional(moreRowCount_r36 != null && moreRowCount_r36 > 0 ? 1 : -1);
|
|
606
|
+
i0.ɵɵadvance();
|
|
607
|
+
i0.ɵɵconditional((moreIndicators_r34.CommentCount ?? 0) > 0 ? 2 : -1);
|
|
461
608
|
} }
|
|
462
|
-
function
|
|
463
|
-
const
|
|
464
|
-
i0.ɵɵelementStart(0, "span",
|
|
465
|
-
i0.ɵɵlistener("dragstart", function
|
|
466
|
-
i0.ɵɵelement(1, "i",
|
|
609
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
610
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
611
|
+
i0.ɵɵelementStart(0, "span", 94);
|
|
612
|
+
i0.ɵɵlistener("dragstart", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_1_Template_span_dragstart_0_listener($event) { i0.ɵɵrestoreView(_r39); const child_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnRailDragStart($event, child_r38.Key)); })("dragend", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_1_Template_span_dragend_0_listener() { i0.ɵɵrestoreView(_r39); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.OnRailDragEnd()); })("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_1_Template_span_click_0_listener($event) { return $event.stopPropagation(); });
|
|
613
|
+
i0.ɵɵelement(1, "i", 95);
|
|
467
614
|
i0.ɵɵelementEnd();
|
|
468
615
|
} }
|
|
469
|
-
function
|
|
470
|
-
i0.ɵɵelement(0, "span",
|
|
616
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
617
|
+
i0.ɵɵelement(0, "span", 68);
|
|
471
618
|
} if (rf & 2) {
|
|
472
|
-
const
|
|
473
|
-
const
|
|
619
|
+
const child_r38 = i0.ɵɵnextContext().$implicit;
|
|
620
|
+
const childIndicators_r40 = i0.ɵɵreadContextLet(5);
|
|
474
621
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
475
|
-
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(
|
|
476
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(
|
|
622
|
+
i0.ɵɵproperty("title", ctx_r1.RailDirtyTitle(childIndicators_r40.DirtyCount, child_r38.Title));
|
|
623
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(childIndicators_r40.DirtyCount, child_r38.Title));
|
|
477
624
|
} }
|
|
478
|
-
function
|
|
479
|
-
i0.ɵɵelementStart(0, "span",
|
|
480
|
-
i0.ɵɵelement(1, "i",
|
|
625
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
626
|
+
i0.ɵɵelementStart(0, "span", 69);
|
|
627
|
+
i0.ɵɵelement(1, "i", 72);
|
|
481
628
|
i0.ɵɵtext(2);
|
|
482
629
|
i0.ɵɵelementEnd();
|
|
483
630
|
} if (rf & 2) {
|
|
484
|
-
const
|
|
485
|
-
const
|
|
631
|
+
const child_r38 = i0.ɵɵnextContext().$implicit;
|
|
632
|
+
const childIndicators_r40 = i0.ɵɵreadContextLet(5);
|
|
486
633
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
487
|
-
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(
|
|
488
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(
|
|
634
|
+
i0.ɵɵproperty("title", ctx_r1.RailErrorTitle(childIndicators_r40.ErrorCount, child_r38.Title));
|
|
635
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(childIndicators_r40.ErrorCount, child_r38.Title));
|
|
489
636
|
i0.ɵɵadvance(2);
|
|
490
|
-
i0.ɵɵtextInterpolate1("",
|
|
637
|
+
i0.ɵɵtextInterpolate1("", childIndicators_r40.ErrorCount, " ");
|
|
491
638
|
} }
|
|
492
|
-
function
|
|
493
|
-
i0.ɵɵelementStart(0, "span",
|
|
494
|
-
i0.ɵɵelement(1, "i",
|
|
639
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
640
|
+
i0.ɵɵelementStart(0, "span", 70);
|
|
641
|
+
i0.ɵɵelement(1, "i", 73);
|
|
495
642
|
i0.ɵɵtext(2);
|
|
496
643
|
i0.ɵɵelementEnd();
|
|
497
644
|
} if (rf & 2) {
|
|
498
|
-
const
|
|
499
|
-
const
|
|
645
|
+
const child_r38 = i0.ɵɵnextContext().$implicit;
|
|
646
|
+
const childIndicators_r40 = i0.ɵɵreadContextLet(5);
|
|
500
647
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
501
|
-
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(
|
|
502
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(
|
|
648
|
+
i0.ɵɵproperty("title", ctx_r1.RailWarningTitle(childIndicators_r40.WarningCount, child_r38.Title));
|
|
649
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(childIndicators_r40.WarningCount, child_r38.Title));
|
|
503
650
|
i0.ɵɵadvance(2);
|
|
504
|
-
i0.ɵɵtextInterpolate1("",
|
|
651
|
+
i0.ɵɵtextInterpolate1("", childIndicators_r40.WarningCount, " ");
|
|
505
652
|
} }
|
|
506
|
-
function
|
|
507
|
-
i0.ɵɵelementStart(0, "span",
|
|
653
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
654
|
+
i0.ɵɵelementStart(0, "span", 71);
|
|
508
655
|
i0.ɵɵtext(1);
|
|
509
656
|
i0.ɵɵelementEnd();
|
|
510
657
|
} if (rf & 2) {
|
|
511
658
|
i0.ɵɵnextContext();
|
|
512
|
-
const
|
|
659
|
+
const childCount_r41 = i0.ɵɵreadContextLet(9);
|
|
513
660
|
i0.ɵɵadvance();
|
|
514
|
-
i0.ɵɵtextInterpolate(
|
|
661
|
+
i0.ɵɵtextInterpolate(childCount_r41);
|
|
662
|
+
} }
|
|
663
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
664
|
+
i0.ɵɵelementStart(0, "span", 93);
|
|
665
|
+
i0.ɵɵelement(1, "i", 80);
|
|
666
|
+
i0.ɵɵtext(2);
|
|
667
|
+
i0.ɵɵelementEnd();
|
|
668
|
+
} if (rf & 2) {
|
|
669
|
+
const child_r38 = i0.ɵɵnextContext().$implicit;
|
|
670
|
+
const childIndicators_r40 = i0.ɵɵreadContextLet(5);
|
|
671
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
672
|
+
i0.ɵɵproperty("title", ctx_r1.RailCommentTitle(childIndicators_r40.CommentCount, child_r38.Title));
|
|
673
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailCommentTitle(childIndicators_r40.CommentCount, child_r38.Title));
|
|
674
|
+
i0.ɵɵadvance(2);
|
|
675
|
+
i0.ɵɵtextInterpolate1("", childIndicators_r40.CommentCount, " ");
|
|
515
676
|
} }
|
|
516
|
-
function
|
|
517
|
-
const
|
|
518
|
-
i0.ɵɵelementStart(0, "div",
|
|
519
|
-
i0.ɵɵlistener("click", function
|
|
520
|
-
i0.ɵɵconditionalCreate(1,
|
|
677
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
678
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
679
|
+
i0.ɵɵelementStart(0, "div", 102);
|
|
680
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_click_0_listener() { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(child_r38.Key)); })("keydown.enter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_keydown_enter_0_listener() { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(child_r38.Key)); })("keydown.space", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_keydown_space_0_listener($event) { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); $event.preventDefault(); return i0.ɵɵresetView(ctx_r1.OnChromeGroupActivate(child_r38.Key)); })("dragover", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_dragover_0_listener($event) { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnRailDragOver($event, child_r38.Key)); })("dragleave", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_dragleave_0_listener($event) { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnRailDragLeave($event, child_r38.Key)); })("drop", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_div_drop_0_listener($event) { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnRailDrop($event, child_r38.Key)); });
|
|
681
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_1_Template, 2, 0, "span", 91);
|
|
521
682
|
i0.ɵɵelement(2, "i");
|
|
522
|
-
i0.ɵɵelementStart(3, "span",
|
|
523
|
-
i0.ɵɵlistener("mouseenter", function
|
|
683
|
+
i0.ɵɵelementStart(3, "span", 92);
|
|
684
|
+
i0.ɵɵlistener("mouseenter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template_span_mouseenter_3_listener($event) { const child_r38 = i0.ɵɵrestoreView(_r37).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnRailLabelHover($event, child_r38.Title)); });
|
|
524
685
|
i0.ɵɵtext(4);
|
|
525
686
|
i0.ɵɵelementEnd();
|
|
526
687
|
i0.ɵɵdeclareLet(5);
|
|
527
|
-
i0.ɵɵconditionalCreate(6,
|
|
528
|
-
i0.ɵɵconditionalCreate(7,
|
|
688
|
+
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_6_Template, 1, 2, "span", 68);
|
|
689
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_7_Template, 3, 3, "span", 69)(8, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_8_Template, 3, 3, "span", 70);
|
|
529
690
|
i0.ɵɵdeclareLet(9);
|
|
530
|
-
i0.ɵɵconditionalCreate(10,
|
|
691
|
+
i0.ɵɵconditionalCreate(10, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_10_Template, 2, 1, "span", 71);
|
|
692
|
+
i0.ɵɵconditionalCreate(11, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Conditional_11_Template, 3, 3, "span", 93);
|
|
531
693
|
i0.ɵɵelementEnd();
|
|
532
694
|
} if (rf & 2) {
|
|
533
|
-
const
|
|
695
|
+
const child_r38 = ctx.$implicit;
|
|
534
696
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
535
|
-
i0.ɵɵclassProp("is-active", ctx_r1.ChromeActiveGroupKey ===
|
|
536
|
-
i0.ɵɵattribute("aria-current", ctx_r1.ChromeActiveGroupKey ===
|
|
697
|
+
i0.ɵɵclassProp("is-active", ctx_r1.ChromeActiveGroupKey === child_r38.Key)("is-drag-over", ctx_r1.RailDragOverKey === child_r38.Key)("has-errors", ctx_r1.ChromeGroupIndicators(child_r38).ErrorCount > 0)("is-dirty", ctx_r1.ChromeGroupIndicators(child_r38).DirtyCount > 0);
|
|
698
|
+
i0.ɵɵattribute("aria-current", ctx_r1.ChromeActiveGroupKey === child_r38.Key ? "page" : null);
|
|
537
699
|
i0.ɵɵadvance();
|
|
538
700
|
i0.ɵɵconditional(ctx_r1.ChromeReorderAllowed ? 1 : -1);
|
|
539
701
|
i0.ɵɵadvance();
|
|
540
|
-
i0.ɵɵclassMap(
|
|
702
|
+
i0.ɵɵclassMap(child_r38.Icon);
|
|
541
703
|
i0.ɵɵadvance(2);
|
|
542
|
-
i0.ɵɵtextInterpolate(
|
|
704
|
+
i0.ɵɵtextInterpolate(child_r38.Title);
|
|
543
705
|
i0.ɵɵadvance();
|
|
544
|
-
const
|
|
706
|
+
const childIndicators_r42 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupIndicators(child_r38));
|
|
545
707
|
i0.ɵɵadvance();
|
|
546
|
-
i0.ɵɵconditional(
|
|
708
|
+
i0.ɵɵconditional(childIndicators_r42.DirtyCount > 0 ? 6 : -1);
|
|
547
709
|
i0.ɵɵadvance();
|
|
548
|
-
i0.ɵɵconditional(
|
|
710
|
+
i0.ɵɵconditional(childIndicators_r42.ErrorCount > 0 ? 7 : childIndicators_r42.WarningCount > 0 ? 8 : -1);
|
|
549
711
|
i0.ɵɵadvance(2);
|
|
550
|
-
const
|
|
712
|
+
const childCount_r43 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupRowCount(child_r38));
|
|
551
713
|
i0.ɵɵadvance();
|
|
552
|
-
i0.ɵɵconditional(
|
|
714
|
+
i0.ɵɵconditional(childCount_r43 != null && childCount_r43 > 0 ? 10 : -1);
|
|
715
|
+
i0.ɵɵadvance();
|
|
716
|
+
i0.ɵɵconditional((childIndicators_r42.CommentCount ?? 0) > 0 ? 11 : -1);
|
|
553
717
|
} }
|
|
554
|
-
function
|
|
555
|
-
i0.ɵɵelementStart(0, "div",
|
|
556
|
-
i0.ɵɵrepeaterCreate(1,
|
|
718
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
719
|
+
i0.ɵɵelementStart(0, "div", 99);
|
|
720
|
+
i0.ɵɵrepeaterCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_For_2_Template, 12, 19, "div", 101, _forTrack2);
|
|
557
721
|
i0.ɵɵelementEnd();
|
|
558
722
|
} if (rf & 2) {
|
|
559
723
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
560
724
|
i0.ɵɵadvance();
|
|
561
725
|
i0.ɵɵrepeater(ctx_r1.ChromeMoreItems);
|
|
562
726
|
} }
|
|
563
|
-
function
|
|
564
|
-
const
|
|
565
|
-
i0.ɵɵelementStart(0, "div",
|
|
566
|
-
i0.ɵɵlistener("click", function
|
|
567
|
-
i0.ɵɵelement(1, "span",
|
|
568
|
-
i0.ɵɵelementStart(3, "span",
|
|
569
|
-
i0.ɵɵlistener("mouseenter", function
|
|
727
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
728
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
729
|
+
i0.ɵɵelementStart(0, "div", 96);
|
|
730
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnMoreFolderToggle()); })("keydown.enter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template_div_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnMoreFolderToggle()); })("keydown.space", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template_div_keydown_space_0_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); $event.preventDefault(); return i0.ɵɵresetView(ctx_r1.OnMoreFolderToggle()); });
|
|
731
|
+
i0.ɵɵelement(1, "span", 97)(2, "i");
|
|
732
|
+
i0.ɵɵelementStart(3, "span", 92);
|
|
733
|
+
i0.ɵɵlistener("mouseenter", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template_span_mouseenter_3_listener($event) { const more_r33 = i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRailLabelHover($event, more_r33.Title)); });
|
|
570
734
|
i0.ɵɵtext(4);
|
|
571
735
|
i0.ɵɵelementEnd();
|
|
572
736
|
i0.ɵɵdeclareLet(5);
|
|
573
|
-
i0.ɵɵconditionalCreate(6,
|
|
574
|
-
i0.ɵɵconditionalCreate(7,
|
|
575
|
-
i0.ɵɵconditionalCreate(9,
|
|
576
|
-
i0.ɵɵelement(10, "i",
|
|
737
|
+
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_6_Template, 1, 2, "span", 68);
|
|
738
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_7_Template, 3, 3, "span", 69)(8, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_8_Template, 3, 3, "span", 70);
|
|
739
|
+
i0.ɵɵconditionalCreate(9, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_9_Template, 3, 3);
|
|
740
|
+
i0.ɵɵelement(10, "i", 98);
|
|
577
741
|
i0.ɵɵelementEnd();
|
|
578
|
-
i0.ɵɵconditionalCreate(11,
|
|
742
|
+
i0.ɵɵconditionalCreate(11, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Conditional_11_Template, 3, 0, "div", 99);
|
|
579
743
|
} if (rf & 2) {
|
|
580
|
-
const
|
|
744
|
+
const more_r33 = ctx;
|
|
581
745
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
582
|
-
i0.ɵɵclassProp("is-expanded", ctx_r1.MoreExpanded)("has-errors", ctx_r1.ChromeGroupIndicators(
|
|
746
|
+
i0.ɵɵclassProp("is-expanded", ctx_r1.MoreExpanded)("has-errors", ctx_r1.ChromeGroupIndicators(more_r33).ErrorCount > 0);
|
|
583
747
|
i0.ɵɵadvance(2);
|
|
584
748
|
i0.ɵɵclassMap(ctx_r1.MoreExpanded ? "fa-solid fa-folder-open" : "fa-solid fa-folder");
|
|
585
749
|
i0.ɵɵadvance(2);
|
|
586
|
-
i0.ɵɵtextInterpolate(
|
|
750
|
+
i0.ɵɵtextInterpolate(more_r33.Title);
|
|
587
751
|
i0.ɵɵadvance();
|
|
588
|
-
const
|
|
752
|
+
const moreIndicators_r44 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupIndicators(more_r33));
|
|
589
753
|
i0.ɵɵadvance();
|
|
590
|
-
i0.ɵɵconditional(
|
|
754
|
+
i0.ɵɵconditional(moreIndicators_r44.DirtyCount > 0 ? 6 : -1);
|
|
591
755
|
i0.ɵɵadvance();
|
|
592
|
-
i0.ɵɵconditional(
|
|
756
|
+
i0.ɵɵconditional(moreIndicators_r44.ErrorCount > 0 ? 7 : moreIndicators_r44.WarningCount > 0 ? 8 : -1);
|
|
593
757
|
i0.ɵɵadvance(2);
|
|
594
758
|
i0.ɵɵconditional(!ctx_r1.MoreExpanded ? 9 : -1);
|
|
595
759
|
i0.ɵɵadvance();
|
|
@@ -597,44 +761,44 @@ function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Conditional
|
|
|
597
761
|
i0.ɵɵadvance();
|
|
598
762
|
i0.ɵɵconditional(ctx_r1.MoreExpanded ? 11 : -1);
|
|
599
763
|
} }
|
|
600
|
-
function
|
|
601
|
-
i0.ɵɵelementStart(0, "div",
|
|
602
|
-
i0.ɵɵelement(1, "span",
|
|
603
|
-
i0.ɵɵelementStart(3, "span",
|
|
764
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
765
|
+
i0.ɵɵelementStart(0, "div", 89);
|
|
766
|
+
i0.ɵɵelement(1, "span", 97)(2, "i", 72);
|
|
767
|
+
i0.ɵɵelementStart(3, "span", 103);
|
|
604
768
|
i0.ɵɵtext(4, "Not in a section");
|
|
605
769
|
i0.ɵɵelementEnd();
|
|
606
|
-
i0.ɵɵelementStart(5, "span",
|
|
770
|
+
i0.ɵɵelementStart(5, "span", 104);
|
|
607
771
|
i0.ɵɵtext(6);
|
|
608
772
|
i0.ɵɵelementEnd()();
|
|
609
773
|
} if (rf & 2) {
|
|
610
774
|
i0.ɵɵnextContext();
|
|
611
|
-
const
|
|
775
|
+
const unroutedErrors_r45 = i0.ɵɵreadContextLet(10);
|
|
612
776
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
613
|
-
i0.ɵɵproperty("title", ctx_r1.RailUnroutedErrorTitle(
|
|
614
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailUnroutedErrorTitle(
|
|
777
|
+
i0.ɵɵproperty("title", ctx_r1.RailUnroutedErrorTitle(unroutedErrors_r45));
|
|
778
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailUnroutedErrorTitle(unroutedErrors_r45));
|
|
615
779
|
i0.ɵɵadvance(5);
|
|
616
|
-
i0.ɵɵattribute("aria-label", ctx_r1.RailUnroutedErrorTitle(
|
|
780
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailUnroutedErrorTitle(unroutedErrors_r45));
|
|
617
781
|
i0.ɵɵadvance();
|
|
618
|
-
i0.ɵɵtextInterpolate(
|
|
782
|
+
i0.ɵɵtextInterpolate(unroutedErrors_r45);
|
|
619
783
|
} }
|
|
620
|
-
function
|
|
621
|
-
const
|
|
622
|
-
i0.ɵɵelementStart(0, "div",
|
|
623
|
-
i0.ɵɵlistener("pointerdown", function
|
|
784
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
785
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
786
|
+
i0.ɵɵelementStart(0, "div", 81);
|
|
787
|
+
i0.ɵɵlistener("pointerdown", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_div_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRailResizeStart($event)); })("pointermove", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_div_pointermove_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRailResizeMove($event)); })("pointerup", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_div_pointerup_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRailResizeEnd()); })("pointercancel", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_div_pointercancel_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRailResizeEnd()); });
|
|
624
788
|
i0.ɵɵelementEnd();
|
|
625
|
-
i0.ɵɵelementStart(1, "div",
|
|
626
|
-
i0.ɵɵlistener("click", function
|
|
627
|
-
i0.ɵɵelement(3, "i",
|
|
789
|
+
i0.ɵɵelementStart(1, "div", 82)(2, "button", 83);
|
|
790
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnChromeRailPinToggle()); });
|
|
791
|
+
i0.ɵɵelement(3, "i", 84);
|
|
628
792
|
i0.ɵɵelementEnd();
|
|
629
|
-
i0.ɵɵelementStart(4, "button",
|
|
630
|
-
i0.ɵɵlistener("click", function
|
|
631
|
-
i0.ɵɵelement(5, "i",
|
|
793
|
+
i0.ɵɵelementStart(4, "button", 85);
|
|
794
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnChromeRailCollapse()); });
|
|
795
|
+
i0.ɵɵelement(5, "i", 86);
|
|
632
796
|
i0.ɵɵelementEnd()();
|
|
633
|
-
i0.ɵɵelementStart(6, "div",
|
|
634
|
-
i0.ɵɵrepeaterCreate(7,
|
|
635
|
-
i0.ɵɵconditionalCreate(9,
|
|
797
|
+
i0.ɵɵelementStart(6, "div", 87);
|
|
798
|
+
i0.ɵɵrepeaterCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_3_For_8_Template, 12, 20, "div", 88, _forTrack2);
|
|
799
|
+
i0.ɵɵconditionalCreate(9, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_9_Template, 12, 16);
|
|
636
800
|
i0.ɵɵdeclareLet(10);
|
|
637
|
-
i0.ɵɵconditionalCreate(11,
|
|
801
|
+
i0.ɵɵconditionalCreate(11, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Conditional_11_Template, 7, 4, "div", 89);
|
|
638
802
|
i0.ɵɵelementEnd();
|
|
639
803
|
} if (rf & 2) {
|
|
640
804
|
let tmp_9_0;
|
|
@@ -649,21 +813,168 @@ function MjRecordFormContainerComponent_Conditional_10_Conditional_2_Template(rf
|
|
|
649
813
|
i0.ɵɵadvance(2);
|
|
650
814
|
i0.ɵɵconditional((tmp_9_0 = ctx_r1.ChromeMoreFolder) ? 9 : -1, tmp_9_0);
|
|
651
815
|
i0.ɵɵadvance();
|
|
652
|
-
const
|
|
816
|
+
const unroutedErrors_r46 = i0.ɵɵstoreLet(ctx_r1.UnroutedValidationErrorCount);
|
|
817
|
+
i0.ɵɵadvance();
|
|
818
|
+
i0.ɵɵconditional(unroutedErrors_r46 > 0 ? 11 : -1);
|
|
819
|
+
} }
|
|
820
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_For_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
821
|
+
i0.ɵɵelementContainer(0);
|
|
822
|
+
} }
|
|
823
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
824
|
+
i0.ɵɵtemplate(0, MjRecordFormContainerComponent_Conditional_10_Conditional_4_For_5_ng_container_0_Template, 1, 0, "ng-container", 110);
|
|
825
|
+
} if (rf & 2) {
|
|
826
|
+
const group_r48 = ctx.$implicit;
|
|
827
|
+
i0.ɵɵnextContext();
|
|
828
|
+
const sectionSheetRow_r49 = i0.ɵɵreference(9);
|
|
829
|
+
i0.ɵɵproperty("ngTemplateOutlet", sectionSheetRow_r49)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, group_r48));
|
|
830
|
+
} }
|
|
831
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_For_3_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
832
|
+
i0.ɵɵelementContainer(0);
|
|
833
|
+
} }
|
|
834
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
835
|
+
i0.ɵɵtemplate(0, MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_For_3_ng_container_0_Template, 1, 0, "ng-container", 110);
|
|
836
|
+
} if (rf & 2) {
|
|
837
|
+
const child_r50 = ctx.$implicit;
|
|
838
|
+
i0.ɵɵnextContext(2);
|
|
839
|
+
const sectionSheetRow_r49 = i0.ɵɵreference(9);
|
|
840
|
+
i0.ɵɵproperty("ngTemplateOutlet", sectionSheetRow_r49)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, child_r50));
|
|
841
|
+
} }
|
|
842
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
843
|
+
i0.ɵɵelementStart(0, "div", 111);
|
|
844
|
+
i0.ɵɵtext(1);
|
|
845
|
+
i0.ɵɵelementEnd();
|
|
846
|
+
i0.ɵɵrepeaterCreate(2, MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_For_3_Template, 1, 4, "ng-container", null, _forTrack2);
|
|
847
|
+
} if (rf & 2) {
|
|
848
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
849
|
+
i0.ɵɵadvance();
|
|
850
|
+
i0.ɵɵtextInterpolate(ctx.Title);
|
|
851
|
+
i0.ɵɵadvance();
|
|
852
|
+
i0.ɵɵrepeater(ctx_r1.ChromeMoreItems);
|
|
853
|
+
} }
|
|
854
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
855
|
+
i0.ɵɵelementStart(0, "div", 109);
|
|
856
|
+
i0.ɵɵtext(1, "No sections match.");
|
|
857
|
+
i0.ɵɵelementEnd();
|
|
858
|
+
} }
|
|
859
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
860
|
+
i0.ɵɵelementStart(0, "span", 114);
|
|
861
|
+
i0.ɵɵelement(1, "i", 72);
|
|
862
|
+
i0.ɵɵtext(2);
|
|
863
|
+
i0.ɵɵelementEnd();
|
|
864
|
+
} if (rf & 2) {
|
|
865
|
+
const group_r52 = i0.ɵɵnextContext().$implicit;
|
|
866
|
+
const sheetIndicators_r53 = i0.ɵɵreadContextLet(0);
|
|
867
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
868
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailErrorTitle(sheetIndicators_r53.ErrorCount, group_r52.Title));
|
|
869
|
+
i0.ɵɵadvance(2);
|
|
870
|
+
i0.ɵɵtextInterpolate1("", sheetIndicators_r53.ErrorCount, " ");
|
|
871
|
+
} }
|
|
872
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
873
|
+
i0.ɵɵelementStart(0, "span", 115);
|
|
874
|
+
i0.ɵɵelement(1, "i", 73);
|
|
875
|
+
i0.ɵɵtext(2);
|
|
876
|
+
i0.ɵɵelementEnd();
|
|
877
|
+
} if (rf & 2) {
|
|
878
|
+
const group_r52 = i0.ɵɵnextContext().$implicit;
|
|
879
|
+
const sheetIndicators_r53 = i0.ɵɵreadContextLet(0);
|
|
880
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
881
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailWarningTitle(sheetIndicators_r53.WarningCount, group_r52.Title));
|
|
882
|
+
i0.ɵɵadvance(2);
|
|
883
|
+
i0.ɵɵtextInterpolate1("", sheetIndicators_r53.WarningCount, " ");
|
|
884
|
+
} }
|
|
885
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
886
|
+
i0.ɵɵelement(0, "span", 116);
|
|
887
|
+
} if (rf & 2) {
|
|
888
|
+
const group_r52 = i0.ɵɵnextContext().$implicit;
|
|
889
|
+
const sheetIndicators_r53 = i0.ɵɵreadContextLet(0);
|
|
890
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
891
|
+
i0.ɵɵattribute("aria-label", ctx_r1.RailDirtyTitle(sheetIndicators_r53.DirtyCount, group_r52.Title));
|
|
892
|
+
} }
|
|
893
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
894
|
+
i0.ɵɵelementStart(0, "span", 71);
|
|
895
|
+
i0.ɵɵtext(1);
|
|
896
|
+
i0.ɵɵelementEnd();
|
|
897
|
+
} if (rf & 2) {
|
|
898
|
+
i0.ɵɵnextContext();
|
|
899
|
+
const sheetCount_r54 = i0.ɵɵreadContextLet(8);
|
|
900
|
+
i0.ɵɵadvance();
|
|
901
|
+
i0.ɵɵtextInterpolate(sheetCount_r54);
|
|
902
|
+
} }
|
|
903
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
904
|
+
const _r51 = i0.ɵɵgetCurrentView();
|
|
905
|
+
i0.ɵɵdeclareLet(0);
|
|
906
|
+
i0.ɵɵelementStart(1, "button", 112);
|
|
907
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Template_button_click_1_listener() { const group_r52 = i0.ɵɵrestoreView(_r51).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnSectionSheetSelect(group_r52.Key)); });
|
|
908
|
+
i0.ɵɵelement(2, "i", 65);
|
|
909
|
+
i0.ɵɵelementStart(3, "span", 113);
|
|
910
|
+
i0.ɵɵtext(4);
|
|
911
|
+
i0.ɵɵelementEnd();
|
|
912
|
+
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_5_Template, 3, 2, "span", 114)(6, MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_6_Template, 3, 2, "span", 115);
|
|
913
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_7_Template, 1, 1, "span", 116);
|
|
914
|
+
i0.ɵɵdeclareLet(8);
|
|
915
|
+
i0.ɵɵconditionalCreate(9, MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Conditional_9_Template, 2, 1, "span", 71);
|
|
916
|
+
i0.ɵɵelementEnd();
|
|
917
|
+
} if (rf & 2) {
|
|
918
|
+
const group_r52 = ctx.$implicit;
|
|
919
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
920
|
+
const sheetIndicators_r55 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupIndicators(group_r52));
|
|
921
|
+
i0.ɵɵadvance();
|
|
922
|
+
i0.ɵɵclassProp("is-active", ctx_r1.ChromeActiveGroupKey === group_r52.Key);
|
|
923
|
+
i0.ɵɵattribute("aria-current", ctx_r1.ChromeActiveGroupKey === group_r52.Key ? "page" : null);
|
|
924
|
+
i0.ɵɵadvance();
|
|
925
|
+
i0.ɵɵclassMap(group_r52.Icon);
|
|
926
|
+
i0.ɵɵadvance(2);
|
|
927
|
+
i0.ɵɵtextInterpolate(group_r52.Title);
|
|
653
928
|
i0.ɵɵadvance();
|
|
654
|
-
i0.ɵɵconditional(
|
|
929
|
+
i0.ɵɵconditional(sheetIndicators_r55.ErrorCount > 0 ? 5 : sheetIndicators_r55.WarningCount > 0 ? 6 : -1);
|
|
930
|
+
i0.ɵɵadvance(2);
|
|
931
|
+
i0.ɵɵconditional(sheetIndicators_r55.DirtyCount > 0 ? 7 : -1);
|
|
932
|
+
i0.ɵɵadvance();
|
|
933
|
+
const sheetCount_r56 = i0.ɵɵstoreLet(ctx_r1.ChromeGroupRowCount(group_r52));
|
|
934
|
+
i0.ɵɵadvance();
|
|
935
|
+
i0.ɵɵconditional(sheetCount_r56 != null && sheetCount_r56 > 0 ? 9 : -1);
|
|
936
|
+
} }
|
|
937
|
+
function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
938
|
+
const _r47 = i0.ɵɵgetCurrentView();
|
|
939
|
+
i0.ɵɵelementStart(0, "mj-bottom-sheet", 105);
|
|
940
|
+
i0.ɵɵlistener("VisibleChange", function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Template_mj_bottom_sheet_VisibleChange_0_listener($event) { i0.ɵɵrestoreView(_r47); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnSectionSheetVisibleChange($event)); });
|
|
941
|
+
i0.ɵɵelementStart(1, "div", 106)(2, "input", 107);
|
|
942
|
+
i0.ɵɵlistener("input", function MjRecordFormContainerComponent_Conditional_10_Conditional_4_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r47); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnSectionSheetSearch($event)); });
|
|
943
|
+
i0.ɵɵelementEnd();
|
|
944
|
+
i0.ɵɵelementStart(3, "div", 108);
|
|
945
|
+
i0.ɵɵrepeaterCreate(4, MjRecordFormContainerComponent_Conditional_10_Conditional_4_For_5_Template, 1, 4, "ng-container", null, _forTrack2);
|
|
946
|
+
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_6_Template, 4, 1);
|
|
947
|
+
i0.ɵɵconditionalCreate(7, MjRecordFormContainerComponent_Conditional_10_Conditional_4_Conditional_7_Template, 2, 0, "div", 109);
|
|
948
|
+
i0.ɵɵelementEnd()();
|
|
949
|
+
i0.ɵɵtemplate(8, MjRecordFormContainerComponent_Conditional_10_Conditional_4_ng_template_8_Template, 10, 11, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
950
|
+
i0.ɵɵelementEnd();
|
|
951
|
+
} if (rf & 2) {
|
|
952
|
+
let tmp_6_0;
|
|
953
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
954
|
+
i0.ɵɵproperty("Visible", ctx_r1.SectionSheetOpen);
|
|
955
|
+
i0.ɵɵadvance(2);
|
|
956
|
+
i0.ɵɵproperty("value", ctx_r1.EffectiveSearchFilter);
|
|
957
|
+
i0.ɵɵadvance(2);
|
|
958
|
+
i0.ɵɵrepeater(ctx_r1.ChromeFirstClassGroups);
|
|
959
|
+
i0.ɵɵadvance(2);
|
|
960
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.ChromeMoreFolder) ? 6 : -1, tmp_6_0);
|
|
961
|
+
i0.ɵɵadvance();
|
|
962
|
+
i0.ɵɵconditional(ctx_r1.ChromeFirstClassGroups.length === 0 && ctx_r1.ChromeMoreItems.length === 0 ? 7 : -1);
|
|
655
963
|
} }
|
|
656
964
|
function MjRecordFormContainerComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
657
|
-
i0.ɵɵelementStart(0, "nav",
|
|
658
|
-
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Template,
|
|
965
|
+
i0.ɵɵelementStart(0, "nav", 60);
|
|
966
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_10_Conditional_1_Template, 6, 5, "button", 61)(2, MjRecordFormContainerComponent_Conditional_10_Conditional_2_Template, 9, 9, "button", 62)(3, MjRecordFormContainerComponent_Conditional_10_Conditional_3_Template, 12, 10);
|
|
659
967
|
i0.ɵɵelementEnd();
|
|
968
|
+
i0.ɵɵconditionalCreate(4, MjRecordFormContainerComponent_Conditional_10_Conditional_4_Template, 10, 4, "mj-bottom-sheet", 63);
|
|
660
969
|
} if (rf & 2) {
|
|
661
970
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
662
|
-
i0.ɵɵstyleProp("width", ctx_r1.ChromeRailCollapsed ? null : ctx_r1.ChromeRailWidthPx, "px");
|
|
663
|
-
i0.ɵɵclassProp("is-collapsed", ctx_r1.ChromeRailCollapsed)("is-resizing", ctx_r1.RailResizing);
|
|
664
|
-
i0.ɵɵattribute("aria-expanded", !ctx_r1.ChromeRailCollapsed);
|
|
971
|
+
i0.ɵɵstyleProp("width", ctx_r1.IsPhoneRail || ctx_r1.ChromeRailCollapsed ? null : ctx_r1.ChromeRailWidthPx, "px");
|
|
972
|
+
i0.ɵɵclassProp("is-collapsed", !ctx_r1.IsPhoneRail && ctx_r1.ChromeRailCollapsed)("is-resizing", ctx_r1.RailResizing);
|
|
973
|
+
i0.ɵɵattribute("aria-expanded", ctx_r1.IsPhoneRail ? null : !ctx_r1.ChromeRailCollapsed);
|
|
665
974
|
i0.ɵɵadvance();
|
|
666
|
-
i0.ɵɵconditional(ctx_r1.
|
|
975
|
+
i0.ɵɵconditional(ctx_r1.IsPhoneRail ? 1 : ctx_r1.ChromeRailCollapsed ? 2 : 3);
|
|
976
|
+
i0.ɵɵadvance(3);
|
|
977
|
+
i0.ɵɵconditional(ctx_r1.IsPhoneRail ? 4 : -1);
|
|
667
978
|
} }
|
|
668
979
|
function MjRecordFormContainerComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
669
980
|
i0.ɵɵelement(0, "mj-form-contributions", 10);
|
|
@@ -672,7 +983,7 @@ function MjRecordFormContainerComponent_Conditional_13_Template(rf, ctx) { if (r
|
|
|
672
983
|
i0.ɵɵproperty("Record", ctx_r1.Record)("FormComponent", ctx_r1.FormComponent)("FormContext", ctx_r1.FormComponent.formContext)("BakedSectionKeys", ctx_r1.BakedRelatedSectionKeys)("ShowRelatedEntities", ctx_r1.EffectiveShowRelatedEntities);
|
|
673
984
|
} }
|
|
674
985
|
function MjRecordFormContainerComponent_Conditional_14_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
675
|
-
i0.ɵɵelementStart(0, "span",
|
|
986
|
+
i0.ɵɵelementStart(0, "span", 120);
|
|
676
987
|
i0.ɵɵtext(1);
|
|
677
988
|
i0.ɵɵelementEnd();
|
|
678
989
|
} if (rf & 2) {
|
|
@@ -681,34 +992,34 @@ function MjRecordFormContainerComponent_Conditional_14_Conditional_5_Template(rf
|
|
|
681
992
|
i0.ɵɵtextInterpolate(ctx_r1.MorePreview);
|
|
682
993
|
} }
|
|
683
994
|
function MjRecordFormContainerComponent_Conditional_14_Conditional_6_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
684
|
-
i0.ɵɵelementStart(0, "span",
|
|
995
|
+
i0.ɵɵelementStart(0, "span", 100);
|
|
685
996
|
i0.ɵɵtext(1);
|
|
686
997
|
i0.ɵɵelementEnd();
|
|
687
998
|
} if (rf & 2) {
|
|
688
999
|
i0.ɵɵnextContext();
|
|
689
|
-
const
|
|
1000
|
+
const accordionMoreCount_r58 = i0.ɵɵreadContextLet(0);
|
|
690
1001
|
i0.ɵɵadvance();
|
|
691
|
-
i0.ɵɵtextInterpolate(
|
|
1002
|
+
i0.ɵɵtextInterpolate(accordionMoreCount_r58);
|
|
692
1003
|
} }
|
|
693
1004
|
function MjRecordFormContainerComponent_Conditional_14_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
694
1005
|
i0.ɵɵdeclareLet(0);
|
|
695
|
-
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_14_Conditional_6_Conditional_1_Template, 2, 1, "span",
|
|
1006
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_14_Conditional_6_Conditional_1_Template, 2, 1, "span", 100);
|
|
696
1007
|
} if (rf & 2) {
|
|
697
|
-
const
|
|
1008
|
+
const accordionMoreCount_r59 = i0.ɵɵstoreLet(i0.ɵɵnextContext(2).ChromeMoreRowCount);
|
|
698
1009
|
i0.ɵɵadvance();
|
|
699
|
-
i0.ɵɵconditional(
|
|
1010
|
+
i0.ɵɵconditional(accordionMoreCount_r59 != null && accordionMoreCount_r59 > 0 ? 1 : -1);
|
|
700
1011
|
} }
|
|
701
1012
|
function MjRecordFormContainerComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
702
|
-
const
|
|
703
|
-
i0.ɵɵelementStart(0, "div",
|
|
704
|
-
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_14_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
1013
|
+
const _r57 = i0.ɵɵgetCurrentView();
|
|
1014
|
+
i0.ɵɵelementStart(0, "div", 117)(1, "button", 118);
|
|
1015
|
+
i0.ɵɵlistener("click", function MjRecordFormContainerComponent_Conditional_14_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r57); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnMoreToggle()); });
|
|
705
1016
|
i0.ɵɵelement(2, "i");
|
|
706
|
-
i0.ɵɵelementStart(3, "span",
|
|
1017
|
+
i0.ɵɵelementStart(3, "span", 119);
|
|
707
1018
|
i0.ɵɵtext(4);
|
|
708
1019
|
i0.ɵɵelementEnd();
|
|
709
|
-
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_14_Conditional_5_Template, 2, 1, "span",
|
|
1020
|
+
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_14_Conditional_5_Template, 2, 1, "span", 120);
|
|
710
1021
|
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_14_Conditional_6_Template, 2, 2);
|
|
711
|
-
i0.ɵɵelement(7, "i",
|
|
1022
|
+
i0.ɵɵelement(7, "i", 121);
|
|
712
1023
|
i0.ɵɵelementEnd()();
|
|
713
1024
|
} if (rf & 2) {
|
|
714
1025
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -731,61 +1042,79 @@ function MjRecordFormContainerComponent_Conditional_15_Template(rf, ctx) { if (r
|
|
|
731
1042
|
i0.ɵɵproperty("Entity", ctx_r1.Record.EntityInfo.Name)("Record", ctx_r1.Record)("FormComponent", ctx_r1.FormComponent);
|
|
732
1043
|
} }
|
|
733
1044
|
function MjRecordFormContainerComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
734
|
-
const
|
|
735
|
-
i0.ɵɵelementStart(0, "mj-empty-state",
|
|
736
|
-
i0.ɵɵlistener("Action", function MjRecordFormContainerComponent_Conditional_16_Template_mj_empty_state_Action_0_listener() { i0.ɵɵrestoreView(
|
|
1045
|
+
const _r60 = i0.ɵɵgetCurrentView();
|
|
1046
|
+
i0.ɵɵelementStart(0, "mj-empty-state", 122);
|
|
1047
|
+
i0.ɵɵlistener("Action", function MjRecordFormContainerComponent_Conditional_16_Template_mj_empty_state_Action_0_listener() { i0.ɵɵrestoreView(_r60); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFilterChange("")); });
|
|
737
1048
|
i0.ɵɵelementEnd();
|
|
738
1049
|
} if (rf & 2) {
|
|
739
1050
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
740
1051
|
i0.ɵɵproperty("Message", "No sections match \"" + ctx_r1.EffectiveSearchFilter + "\". Try a different search term.");
|
|
741
1052
|
} }
|
|
742
1053
|
function MjRecordFormContainerComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
743
|
-
const
|
|
744
|
-
i0.ɵɵelementStart(0, "mj-record-changes",
|
|
745
|
-
i0.ɵɵlistener("PreviewVersionSelected", function MjRecordFormContainerComponent_Conditional_18_Template_mj_record_changes_PreviewVersionSelected_0_listener($event) { i0.ɵɵrestoreView(
|
|
1054
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
1055
|
+
i0.ɵɵelementStart(0, "mj-record-changes", 123);
|
|
1056
|
+
i0.ɵɵlistener("PreviewVersionSelected", function MjRecordFormContainerComponent_Conditional_18_Template_mj_record_changes_PreviewVersionSelected_0_listener($event) { i0.ɵɵrestoreView(_r61); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnPreviewVersionSelected($event)); })("RestoreRequested", function MjRecordFormContainerComponent_Conditional_18_Template_mj_record_changes_RestoreRequested_0_listener($event) { i0.ɵɵrestoreView(_r61); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRestoreRequested($event)); })("dialogClosed", function MjRecordFormContainerComponent_Conditional_18_Template_mj_record_changes_dialogClosed_0_listener() { i0.ɵɵrestoreView(_r61); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordChangesClosed()); });
|
|
746
1057
|
i0.ɵɵelementEnd();
|
|
747
1058
|
} if (rf & 2) {
|
|
748
1059
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
749
1060
|
i0.ɵɵproperty("record", ctx_r1.EffectiveRecord)("AllowRestore", ctx_r1.EffectiveUserCanEdit)("PreviewedChangeID", (ctx_r1.ActiveVersionPreview == null ? null : ctx_r1.ActiveVersionPreview.ChangeID) ?? null);
|
|
750
1061
|
} }
|
|
751
1062
|
function MjRecordFormContainerComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
752
|
-
const
|
|
753
|
-
i0.ɵɵelementStart(0, "mj-record-tags",
|
|
754
|
-
i0.ɵɵlistener("PanelClosed", function MjRecordFormContainerComponent_Conditional_19_Template_mj_record_tags_PanelClosed_0_listener() { i0.ɵɵrestoreView(
|
|
1063
|
+
const _r62 = i0.ɵɵgetCurrentView();
|
|
1064
|
+
i0.ɵɵelementStart(0, "mj-record-tags", 124);
|
|
1065
|
+
i0.ɵɵlistener("PanelClosed", function MjRecordFormContainerComponent_Conditional_19_Template_mj_record_tags_PanelClosed_0_listener() { i0.ɵɵrestoreView(_r62); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagsPanelClosed()); })("TagCountChanged", function MjRecordFormContainerComponent_Conditional_19_Template_mj_record_tags_TagCountChanged_0_listener($event) { i0.ɵɵrestoreView(_r62); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagCountChanged($event)); })("RecordNavigate", function MjRecordFormContainerComponent_Conditional_19_Template_mj_record_tags_RecordNavigate_0_listener($event) { i0.ɵɵrestoreView(_r62); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagsRecordNavigate($event)); })("WidthChanged", function MjRecordFormContainerComponent_Conditional_19_Template_mj_record_tags_WidthChanged_0_listener($event) { i0.ɵɵrestoreView(_r62); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTagsPanelWidthChanged($event)); });
|
|
755
1066
|
i0.ɵɵelementEnd();
|
|
756
1067
|
} if (rf & 2) {
|
|
757
1068
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
758
1069
|
i0.ɵɵproperty("Record", ctx_r1.EffectiveRecord)("WidthPx", ctx_r1.TagsPanelWidth);
|
|
759
1070
|
} }
|
|
760
1071
|
function MjRecordFormContainerComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
761
|
-
const
|
|
762
|
-
i0.ɵɵelementStart(0, "mj-record-links",
|
|
763
|
-
i0.ɵɵlistener("Close", function MjRecordFormContainerComponent_Conditional_20_Template_mj_record_links_Close_0_listener() { i0.ɵɵrestoreView(
|
|
1072
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
1073
|
+
i0.ɵɵelementStart(0, "mj-record-links", 125);
|
|
1074
|
+
i0.ɵɵlistener("Close", function MjRecordFormContainerComponent_Conditional_20_Template_mj_record_links_Close_0_listener() { i0.ɵɵrestoreView(_r63); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordLinksClosed()); })("LinkCountChange", function MjRecordFormContainerComponent_Conditional_20_Template_mj_record_links_LinkCountChange_0_listener($event) { i0.ɵɵrestoreView(_r63); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnLinkCountChanged($event)); })("LinksSummaryChange", function MjRecordFormContainerComponent_Conditional_20_Template_mj_record_links_LinksSummaryChange_0_listener($event) { i0.ɵɵrestoreView(_r63); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnLinksSummaryChanged($event)); })("Navigate", function MjRecordFormContainerComponent_Conditional_20_Template_mj_record_links_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r63); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnNavigate($event)); });
|
|
764
1075
|
i0.ɵɵelementEnd();
|
|
765
1076
|
} if (rf & 2) {
|
|
766
1077
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
767
1078
|
i0.ɵɵproperty("Provider", ctx_r1.Provider)("Record", ctx_r1.EffectiveRecord)("Mode", "drawer")("IsOpen", ctx_r1.ShowRecordLinks);
|
|
768
1079
|
} }
|
|
769
1080
|
function MjRecordFormContainerComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
770
|
-
const
|
|
771
|
-
i0.ɵɵelementStart(0, "mj-record-attachments",
|
|
772
|
-
i0.ɵɵlistener("PanelClosed", function MjRecordFormContainerComponent_Conditional_21_Template_mj_record_attachments_PanelClosed_0_listener() { i0.ɵɵrestoreView(
|
|
1081
|
+
const _r64 = i0.ɵɵgetCurrentView();
|
|
1082
|
+
i0.ɵɵelementStart(0, "mj-record-attachments", 126);
|
|
1083
|
+
i0.ɵɵlistener("PanelClosed", function MjRecordFormContainerComponent_Conditional_21_Template_mj_record_attachments_PanelClosed_0_listener() { i0.ɵɵrestoreView(_r64); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAttachmentsPanelClosed()); })("AttachmentCountChanged", function MjRecordFormContainerComponent_Conditional_21_Template_mj_record_attachments_AttachmentCountChanged_0_listener($event) { i0.ɵɵrestoreView(_r64); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnAttachmentCountChanged($event)); });
|
|
773
1084
|
i0.ɵɵelementEnd();
|
|
774
1085
|
} if (rf & 2) {
|
|
775
1086
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
776
1087
|
i0.ɵɵproperty("Record", ctx_r1.EffectiveRecord)("Visible", true);
|
|
777
1088
|
} }
|
|
778
1089
|
function MjRecordFormContainerComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
779
|
-
const
|
|
780
|
-
i0.ɵɵelementStart(0, "mj-list-management-dialog",
|
|
781
|
-
i0.ɵɵlistener("complete", function MjRecordFormContainerComponent_Conditional_22_Template_mj_list_management_dialog_complete_0_listener($event) { i0.ɵɵrestoreView(
|
|
1090
|
+
const _r65 = i0.ɵɵgetCurrentView();
|
|
1091
|
+
i0.ɵɵelementStart(0, "mj-list-management-dialog", 127);
|
|
1092
|
+
i0.ɵɵlistener("complete", function MjRecordFormContainerComponent_Conditional_22_Template_mj_list_management_dialog_complete_0_listener($event) { i0.ɵɵrestoreView(_r65); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementComplete($event)); })("cancel", function MjRecordFormContainerComponent_Conditional_22_Template_mj_list_management_dialog_cancel_0_listener() { i0.ɵɵrestoreView(_r65); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementClosed()); });
|
|
1093
|
+
i0.ɵɵelementEnd();
|
|
1094
|
+
} if (rf & 2) {
|
|
1095
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1096
|
+
i0.ɵɵproperty("visible", ctx_r1.ShowListManagement)("config", i0.ɵɵpureFunction3(4, _c4, ctx_r1.EffectiveRecord.EntityInfo.ID, ctx_r1.EffectiveRecord.EntityInfo.Name, i0.ɵɵpureFunction1(2, _c3, ctx_r1.EffectiveRecord.PrimaryKey.Values()[0])));
|
|
1097
|
+
} }
|
|
1098
|
+
function MjRecordFormContainerComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
1099
|
+
const _r66 = i0.ɵɵgetCurrentView();
|
|
1100
|
+
i0.ɵɵelementStart(0, "mj-record-comments", 128);
|
|
1101
|
+
i0.ɵɵlistener("Close", function MjRecordFormContainerComponent_Conditional_25_Template_mj_record_comments_Close_0_listener() { i0.ɵɵrestoreView(_r66); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordCommentsClosed()); })("CommentCountChange", function MjRecordFormContainerComponent_Conditional_25_Template_mj_record_comments_CommentCountChange_0_listener($event) { i0.ɵɵrestoreView(_r66); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCommentCountChanged($event)); })("WidthChanged", function MjRecordFormContainerComponent_Conditional_25_Template_mj_record_comments_WidthChanged_0_listener($event) { i0.ɵɵrestoreView(_r66); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnCommentsPanelWidthChanged($event)); })("Navigate", function MjRecordFormContainerComponent_Conditional_25_Template_mj_record_comments_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r66); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnNavigate($event)); });
|
|
782
1102
|
i0.ɵɵelementEnd();
|
|
783
1103
|
} if (rf & 2) {
|
|
784
1104
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
785
|
-
i0.ɵɵproperty("
|
|
1105
|
+
i0.ɵɵproperty("Provider", ctx_r1.Provider)("Record", ctx_r1.EffectiveRecord)("Mode", "drawer")("IsOpen", ctx_r1.ShowRecordComments)("WidthPx", ctx_r1.CommentsPanelWidth);
|
|
786
1106
|
} }
|
|
787
|
-
|
|
788
|
-
const
|
|
1107
|
+
function MjRecordFormContainerComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
|
|
1108
|
+
const _r67 = i0.ɵɵgetCurrentView();
|
|
1109
|
+
i0.ɵɵelementStart(0, "mj-record-comments", 129);
|
|
1110
|
+
i0.ɵɵlistener("Navigate", function MjRecordFormContainerComponent_Conditional_26_Template_mj_record_comments_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r67); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnNavigate($event)); });
|
|
1111
|
+
i0.ɵɵelementEnd();
|
|
1112
|
+
} if (rf & 2) {
|
|
1113
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1114
|
+
i0.ɵɵproperty("Provider", ctx_r1.Provider)("Record", ctx_r1.EffectiveRecord)("Mode", "popover");
|
|
1115
|
+
} }
|
|
1116
|
+
// Ensure built-in toolbar actions are never tree-shaken before ClassFactory registration
|
|
1117
|
+
const _BUILTIN_TOOLBAR_ACTIONS = [RecordLinksToolbarAction, RecordCommentsToolbarAction];
|
|
789
1118
|
void _BUILTIN_TOOLBAR_ACTIONS;
|
|
790
1119
|
/**
|
|
791
1120
|
* Top-level container that composes the toolbar, content slots, and sticky behavior.
|
|
@@ -820,10 +1149,12 @@ void _BUILTIN_TOOLBAR_ACTIONS;
|
|
|
820
1149
|
export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
821
1150
|
cdr = inject(ChangeDetectorRef);
|
|
822
1151
|
ngZone = inject(NgZone);
|
|
1152
|
+
injector = inject(Injector);
|
|
823
1153
|
notificationService = inject(MJNotificationService);
|
|
824
1154
|
chrome = inject(FormChromeCoordinator);
|
|
825
1155
|
sectionIndicators = inject(FormSectionIndicatorCoordinator);
|
|
826
1156
|
slots = inject(FormSlotCoordinator);
|
|
1157
|
+
CommentsCoordinator = inject(FormRecordCommentsCoordinatorService);
|
|
827
1158
|
panelAdmin = inject(FormPanelAdminService);
|
|
828
1159
|
recordRefresh = inject(FormRecordRefreshCoordinator);
|
|
829
1160
|
fieldEdits = inject(FormFieldEditCoordinator);
|
|
@@ -869,6 +1200,13 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
869
1200
|
LinkCount = 0;
|
|
870
1201
|
/** Structured summary of outgoing + incoming links for the AI agent context */
|
|
871
1202
|
LinksSummary = null;
|
|
1203
|
+
/** Controls visibility of anchored record comments slide-in drawer */
|
|
1204
|
+
ShowRecordComments = false;
|
|
1205
|
+
/** Persisted comments panel width */
|
|
1206
|
+
CommentsPanelWidth = 0;
|
|
1207
|
+
static COMMENTS_WIDTH_KEY = 'MJ_CommentsPanel_Width';
|
|
1208
|
+
/** Number of open anchored comment threads on this record */
|
|
1209
|
+
CommentCount = 0;
|
|
872
1210
|
/** Active historical version being previewed inline across form fields (Time-Travel Preview) */
|
|
873
1211
|
ActiveVersionPreview = null;
|
|
874
1212
|
activePreviewSourceChange = null;
|
|
@@ -1173,6 +1511,9 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1173
1511
|
get ShowChromeRail() {
|
|
1174
1512
|
if (this.ChromeLayout !== 'left-nav')
|
|
1175
1513
|
return false;
|
|
1514
|
+
if (this.IsPhoneRail) {
|
|
1515
|
+
return this.chrome.Spec.Groups.length > 1;
|
|
1516
|
+
}
|
|
1176
1517
|
if (this.EffectiveSearchFilter.trim()) {
|
|
1177
1518
|
return this.ChromeFirstClassGroups.length > 0 || this.ChromeMoreItems.length > 0;
|
|
1178
1519
|
}
|
|
@@ -1235,7 +1576,8 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1235
1576
|
}
|
|
1236
1577
|
return this.ChromeFirstClassGroups.find((group) => group.Key === key)
|
|
1237
1578
|
?? this.ChromeMoreItems.find((item) => item.Key === key)
|
|
1238
|
-
??
|
|
1579
|
+
?? this.chrome.Spec.Groups.find((group) => !group.IsMore && group.Key === key)
|
|
1580
|
+
?? (this.chrome.Spec.MoreSectionKeys.includes(key) ? this.moreItemFromKey(key) : null);
|
|
1239
1581
|
}
|
|
1240
1582
|
get ChromeActiveTitle() {
|
|
1241
1583
|
return this.ChromeActiveGroup?.Title || 'Sections';
|
|
@@ -1337,10 +1679,13 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1337
1679
|
}
|
|
1338
1680
|
// ---- Lifecycle ----
|
|
1339
1681
|
ngAfterContentInit() {
|
|
1340
|
-
// Load saved tags panel
|
|
1682
|
+
// Load saved tags and comments panel widths
|
|
1341
1683
|
const savedWidth = UserInfoEngine.Instance.GetSetting(MjRecordFormContainerComponent.TAGS_WIDTH_KEY);
|
|
1342
1684
|
if (savedWidth)
|
|
1343
1685
|
this.TagsPanelWidth = parseInt(savedWidth, 10) || 0;
|
|
1686
|
+
const savedCommentsWidth = UserInfoEngine.Instance.GetSetting(MjRecordFormContainerComponent.COMMENTS_WIDTH_KEY);
|
|
1687
|
+
if (savedCommentsWidth)
|
|
1688
|
+
this.CommentsPanelWidth = parseInt(savedCommentsWidth, 10) || 0;
|
|
1344
1689
|
// Subscribe to panel Navigate events and relay them
|
|
1345
1690
|
this.subscribeToPanelNavigateEvents();
|
|
1346
1691
|
// Watch for panel changes to update counts and re-subscribe
|
|
@@ -1374,6 +1719,10 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1374
1719
|
});
|
|
1375
1720
|
this.restoreChromePrefs();
|
|
1376
1721
|
this.scheduleChromeResolve();
|
|
1722
|
+
this.stopWatchingPhoneViewport = WatchPhoneViewport(() => {
|
|
1723
|
+
this.SectionSheetOpen = false;
|
|
1724
|
+
this.cdr.markForCheck();
|
|
1725
|
+
});
|
|
1377
1726
|
// Watch for changes to record dirty state
|
|
1378
1727
|
this.watchRecordChanges();
|
|
1379
1728
|
this.wireDuplicateEntryCheck();
|
|
@@ -1389,6 +1738,14 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1389
1738
|
this.recordRefresh.SingleFieldRestoreRequested$.pipe(takeUntil(this.destroy$)).subscribe((req) => {
|
|
1390
1739
|
void this.onSingleFieldRestoreRequested(req);
|
|
1391
1740
|
});
|
|
1741
|
+
this.CommentsCoordinator.Changed$.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
1742
|
+
this.ShowRecordComments = this.CommentsCoordinator.IsDrawerOpen;
|
|
1743
|
+
this.CommentCount = this.CommentsCoordinator.Rollup.TotalOpenCount;
|
|
1744
|
+
this.cdr.markForCheck();
|
|
1745
|
+
});
|
|
1746
|
+
this.CommentsCoordinator.NavigateToAnchor$.pipe(takeUntil(this.destroy$)).subscribe((req) => {
|
|
1747
|
+
this.OnNavigateToCommentAnchor(req);
|
|
1748
|
+
});
|
|
1392
1749
|
}
|
|
1393
1750
|
/**
|
|
1394
1751
|
* Edit mode and Show Empty Fields both flip `mj-panel-empty` on a panel whose
|
|
@@ -1420,6 +1777,8 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1420
1777
|
}
|
|
1421
1778
|
ngOnDestroy() {
|
|
1422
1779
|
this.destroyed = true;
|
|
1780
|
+
this.stopWatchingPhoneViewport?.();
|
|
1781
|
+
this.stopWatchingPhoneViewport = null;
|
|
1423
1782
|
this.destroyToolbarActions();
|
|
1424
1783
|
// A count or chrome-rule result still in flight then matches nothing and is dropped.
|
|
1425
1784
|
this.countRequestToken++;
|
|
@@ -1514,6 +1873,9 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1514
1873
|
RailWarningTitle(count, where) {
|
|
1515
1874
|
return DescribeSectionWarnings(count, where);
|
|
1516
1875
|
}
|
|
1876
|
+
RailCommentTitle(count, where) {
|
|
1877
|
+
return DescribeSectionComments(count, where);
|
|
1878
|
+
}
|
|
1517
1879
|
/** Sum of the row counts of every section in More (shown on the collapsed folder). */
|
|
1518
1880
|
get ChromeMoreRowCount() {
|
|
1519
1881
|
const keys = this.chrome.Spec.MoreSectionKeys;
|
|
@@ -1544,13 +1906,52 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
1544
1906
|
this.chrome.SetActiveGroup(groupKey);
|
|
1545
1907
|
this.expandActiveGroupSections(groupKey);
|
|
1546
1908
|
this.applyChromeVisibility();
|
|
1547
|
-
if (!this.ChromeRailPinned && previous !== groupKey) {
|
|
1909
|
+
if (!this.ChromeRailPinned && previous !== groupKey && !this.isMobileRailViewport()) {
|
|
1548
1910
|
this.chromeRailExpanded = false;
|
|
1549
1911
|
}
|
|
1550
1912
|
this.persistChromePrefs();
|
|
1551
1913
|
this.AfterSectionActivated.emit(new AfterSectionActivatedEventArgs(groupKey));
|
|
1552
1914
|
this.cdr.detectChanges();
|
|
1553
1915
|
}
|
|
1916
|
+
isMobileRailViewport() {
|
|
1917
|
+
return IsPhoneViewport();
|
|
1918
|
+
}
|
|
1919
|
+
/** Template-facing: on a phone, the rail renders the single section picker and bottom sheet. */
|
|
1920
|
+
get IsPhoneRail() {
|
|
1921
|
+
return this.isMobileRailViewport();
|
|
1922
|
+
}
|
|
1923
|
+
// ---- Phone Section sheet ----
|
|
1924
|
+
/** Whether the phone's Sections bottom sheet (first-class + More sections) is open. */
|
|
1925
|
+
SectionSheetOpen = false;
|
|
1926
|
+
stopWatchingPhoneViewport = null;
|
|
1927
|
+
OpenSectionSheet() {
|
|
1928
|
+
this.SectionSheetOpen = true;
|
|
1929
|
+
this.cdr.detectChanges();
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* The sheet opened or closed from its own controls (scrim, Escape). Closing clears the sheet's
|
|
1933
|
+
* search the same way picking a row does: it was a way to find a row, not a standing filter.
|
|
1934
|
+
*/
|
|
1935
|
+
OnSectionSheetVisibleChange(visible) {
|
|
1936
|
+
this.SectionSheetOpen = visible;
|
|
1937
|
+
if (!visible && this.EffectiveSearchFilter.trim())
|
|
1938
|
+
this.OnFilterChange('');
|
|
1939
|
+
this.cdr.markForCheck();
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* A row in the phone's Sections sheet was tapped: go there and put the sheet away. The sheet's
|
|
1943
|
+
* search was a way to find the row, not a standing filter, so it is cleared too.
|
|
1944
|
+
*/
|
|
1945
|
+
OnSectionSheetSelect(groupKey) {
|
|
1946
|
+
this.SectionSheetOpen = false;
|
|
1947
|
+
if (this.EffectiveSearchFilter.trim())
|
|
1948
|
+
this.OnFilterChange('');
|
|
1949
|
+
this.OnChromeGroupActivate(groupKey);
|
|
1950
|
+
}
|
|
1951
|
+
OnSectionSheetSearch(event) {
|
|
1952
|
+
const input = event.target;
|
|
1953
|
+
this.OnFilterChange(input?.value ?? '');
|
|
1954
|
+
}
|
|
1554
1955
|
OnChromeRailExpand() {
|
|
1555
1956
|
this.chromeRailExpanded = true;
|
|
1556
1957
|
this.cdr.detectChanges();
|
|
@@ -2522,8 +2923,25 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
2522
2923
|
this.badgeCountsLoaded = true;
|
|
2523
2924
|
// Fire and forget — counts land while the form renders; nothing awaits them.
|
|
2524
2925
|
void this.loadFormCounts(record);
|
|
2926
|
+
void this.prewarmRecordComments(record);
|
|
2525
2927
|
void this.PrewarmToolbarActions(record);
|
|
2526
2928
|
}
|
|
2929
|
+
async prewarmRecordComments(record) {
|
|
2930
|
+
if (!record?.IsSaved || !record.EntityInfo)
|
|
2931
|
+
return;
|
|
2932
|
+
await this.CommentsCoordinator.LoadForRecord(record, this.ProviderToUse);
|
|
2933
|
+
if (this.destroyed)
|
|
2934
|
+
return;
|
|
2935
|
+
const actions = this.ensureToolbarActions();
|
|
2936
|
+
const commentsAction = actions.find((a) => a.Metadata.Key === 'comments');
|
|
2937
|
+
if (commentsAction) {
|
|
2938
|
+
const ctx = this.buildToolbarActionContext(commentsAction, record);
|
|
2939
|
+
if (commentsAction.IsApplicable(ctx)) {
|
|
2940
|
+
await commentsAction.OnPrewarm(ctx);
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
this.cdr.markForCheck();
|
|
2944
|
+
}
|
|
2527
2945
|
/**
|
|
2528
2946
|
* Returns the instantiated {@link BaseFormToolbarAction} plugins matching the active entity.
|
|
2529
2947
|
*/
|
|
@@ -2531,6 +2949,9 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
2531
2949
|
return this.ensureToolbarActions();
|
|
2532
2950
|
}
|
|
2533
2951
|
ensureToolbarActions() {
|
|
2952
|
+
if (_BUILTIN_TOOLBAR_ACTIONS.length === 0) {
|
|
2953
|
+
return [];
|
|
2954
|
+
}
|
|
2534
2955
|
const entityInfo = this.EffectiveEntityInfo;
|
|
2535
2956
|
const entityName = entityInfo?.Name ?? null;
|
|
2536
2957
|
if (entityName !== this.toolbarActionsEntityName) {
|
|
@@ -2585,6 +3006,13 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
2585
3006
|
action.Badge = this.LinkCount;
|
|
2586
3007
|
}
|
|
2587
3008
|
}
|
|
3009
|
+
if (keyLower === 'comments' && this.EffectiveToolbarConfig.ShowCommentsButton === false) {
|
|
3010
|
+
continue;
|
|
3011
|
+
}
|
|
3012
|
+
if (keyLower === 'comments') {
|
|
3013
|
+
action.IsActive = this.ShowRecordComments;
|
|
3014
|
+
action.Badge = this.CommentCount > 0 ? this.CommentCount : undefined;
|
|
3015
|
+
}
|
|
2588
3016
|
const ctx = this.buildToolbarActionContext(action, record);
|
|
2589
3017
|
if (!action.IsApplicable(ctx))
|
|
2590
3018
|
continue;
|
|
@@ -2609,6 +3037,7 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
2609
3037
|
IsPinned: isPinned,
|
|
2610
3038
|
IsVisibleOnBar: isVisibleOnBar,
|
|
2611
3039
|
FormComponent: this.Fc,
|
|
3040
|
+
Injector: this.injector,
|
|
2612
3041
|
SetBadge: (badge) => {
|
|
2613
3042
|
action.Badge = badge ?? undefined;
|
|
2614
3043
|
if (action.Metadata.Key === 'links') {
|
|
@@ -2634,6 +3063,12 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
2634
3063
|
this.LinkCount = summary.TotalCount;
|
|
2635
3064
|
this.scheduleChromeResolve();
|
|
2636
3065
|
},
|
|
3066
|
+
SetRecordCommentsDrawerOpen: (open) => {
|
|
3067
|
+
this.ShowRecordComments = open;
|
|
3068
|
+
this.CommentsCoordinator.SetDrawerOpen(open, null);
|
|
3069
|
+
},
|
|
3070
|
+
IsRecordCommentsDrawerOpen: () => this.ShowRecordComments,
|
|
3071
|
+
GetRecordCommentCount: () => this.CommentCount,
|
|
2637
3072
|
RequestChangeDetection: () => {
|
|
2638
3073
|
this.cdr.markForCheck();
|
|
2639
3074
|
},
|
|
@@ -3491,6 +3926,103 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
3491
3926
|
this.LinkCount = count;
|
|
3492
3927
|
this.cdr.markForCheck();
|
|
3493
3928
|
}
|
|
3929
|
+
OnToggleRecordComments() {
|
|
3930
|
+
const nextOpen = !this.ShowRecordComments;
|
|
3931
|
+
this.ShowRecordComments = nextOpen;
|
|
3932
|
+
this.CommentsCoordinator.SetDrawerOpen(nextOpen, null);
|
|
3933
|
+
this.cdr.detectChanges();
|
|
3934
|
+
}
|
|
3935
|
+
OnRecordCommentsClosed() {
|
|
3936
|
+
this.ShowRecordComments = false;
|
|
3937
|
+
this.CommentsCoordinator.SetDrawerOpen(false);
|
|
3938
|
+
this.cdr.detectChanges();
|
|
3939
|
+
}
|
|
3940
|
+
OnCommentCountChanged(count) {
|
|
3941
|
+
this.CommentCount = count;
|
|
3942
|
+
this.cdr.markForCheck();
|
|
3943
|
+
}
|
|
3944
|
+
OnCommentsPanelWidthChanged(width) {
|
|
3945
|
+
this.CommentsPanelWidth = width;
|
|
3946
|
+
UserInfoEngine.Instance.SetSettingDebounced(MjRecordFormContainerComponent.COMMENTS_WIDTH_KEY, String(width));
|
|
3947
|
+
}
|
|
3948
|
+
/**
|
|
3949
|
+
* Navigates the form to the field, section, or left-nav rail group targeted by a comment anchor:
|
|
3950
|
+
* switches the active left-nav rail group if needed, expands the target collapsible section,
|
|
3951
|
+
* scrolls the element into view, and applies a brief highlight pulse.
|
|
3952
|
+
*/
|
|
3953
|
+
OnNavigateToCommentAnchor(req) {
|
|
3954
|
+
const hostEl = this.host?.nativeElement;
|
|
3955
|
+
if (!hostEl)
|
|
3956
|
+
return;
|
|
3957
|
+
let targetSectionKey = (req.SectionKey ?? '').trim();
|
|
3958
|
+
if (!targetSectionKey && req.AnchorType === 'Section' && req.AnchorKey) {
|
|
3959
|
+
targetSectionKey = req.AnchorKey.trim();
|
|
3960
|
+
}
|
|
3961
|
+
if (!targetSectionKey && req.AnchorType === 'Field' && req.AnchorKey) {
|
|
3962
|
+
const fKeyLower = req.AnchorKey.trim().toLowerCase();
|
|
3963
|
+
for (const panel of this.allChromePanels()) {
|
|
3964
|
+
if (panel.ClaimableFieldNames.some((n) => n.toLowerCase() === fKeyLower)) {
|
|
3965
|
+
targetSectionKey = panel.SectionKey;
|
|
3966
|
+
break;
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3969
|
+
if (!targetSectionKey) {
|
|
3970
|
+
const escapedField = req.AnchorKey.trim().replace(/["\\]/g, '\\$&');
|
|
3971
|
+
const fieldEl = hostEl.querySelector(`[data-field-name="${escapedField}"]`);
|
|
3972
|
+
const closestPanel = fieldEl?.closest('mj-collapsible-panel[data-section-key]');
|
|
3973
|
+
if (closestPanel) {
|
|
3974
|
+
targetSectionKey = closestPanel.getAttribute('data-section-key')?.trim() ?? '';
|
|
3975
|
+
}
|
|
3976
|
+
}
|
|
3977
|
+
}
|
|
3978
|
+
// 1. Activate left-nav rail group if applicable
|
|
3979
|
+
if (this.ChromeLayout === 'left-nav') {
|
|
3980
|
+
const groupKey = (req.GroupKey ?? '').trim();
|
|
3981
|
+
const firstClassMatch = this.ChromeFirstClassGroups.find((g) => (groupKey && g.Key.toLowerCase() === groupKey.toLowerCase()) ||
|
|
3982
|
+
(targetSectionKey && g.SectionKeys.some((k) => k.toLowerCase() === targetSectionKey.toLowerCase())));
|
|
3983
|
+
if (firstClassMatch) {
|
|
3984
|
+
this.OnChromeGroupActivate(firstClassMatch.Key);
|
|
3985
|
+
}
|
|
3986
|
+
else {
|
|
3987
|
+
const moreMatch = this.ChromeMoreItems.find((g) => (groupKey && g.Key.toLowerCase() === groupKey.toLowerCase()) ||
|
|
3988
|
+
(targetSectionKey && g.SectionKeys.some((k) => k.toLowerCase() === targetSectionKey.toLowerCase())));
|
|
3989
|
+
if (moreMatch) {
|
|
3990
|
+
if (!this.MoreExpanded) {
|
|
3991
|
+
this.chrome.ToggleMoreFolder();
|
|
3992
|
+
}
|
|
3993
|
+
this.OnChromeGroupActivate(moreMatch.Key);
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
// 2. Expand target collapsible section if collapsed
|
|
3998
|
+
if (targetSectionKey) {
|
|
3999
|
+
this.Fc?.SetSectionExpanded?.(targetSectionKey, true);
|
|
4000
|
+
}
|
|
4001
|
+
this.cdr.detectChanges();
|
|
4002
|
+
// 3. Scroll and pulse target element
|
|
4003
|
+
setTimeout(() => {
|
|
4004
|
+
if (this.destroyed)
|
|
4005
|
+
return;
|
|
4006
|
+
let targetEl = null;
|
|
4007
|
+
if (req.AnchorType === 'Field' && req.AnchorKey) {
|
|
4008
|
+
const escaped = req.AnchorKey.trim().replace(/["\\]/g, '\\$&');
|
|
4009
|
+
targetEl = hostEl.querySelector(`mj-form-field[data-field-name="${escaped}"] .mj-forms-field`)
|
|
4010
|
+
?? hostEl.querySelector(`[data-field-name="${escaped}"]`);
|
|
4011
|
+
}
|
|
4012
|
+
else if (targetSectionKey) {
|
|
4013
|
+
const escaped = targetSectionKey.replace(/["\\]/g, '\\$&');
|
|
4014
|
+
targetEl = hostEl.querySelector(`mj-collapsible-panel[data-section-key="${escaped}"] .mj-forms-panel`)
|
|
4015
|
+
?? hostEl.querySelector(`[data-section-key="${escaped}"]`);
|
|
4016
|
+
}
|
|
4017
|
+
if (targetEl) {
|
|
4018
|
+
targetEl.scrollIntoView?.({ behavior: 'smooth', block: 'center' });
|
|
4019
|
+
targetEl.classList.add('mj-forms-comment-anchor-pulse');
|
|
4020
|
+
setTimeout(() => {
|
|
4021
|
+
targetEl?.classList.remove('mj-forms-comment-anchor-pulse');
|
|
4022
|
+
}, 1800);
|
|
4023
|
+
}
|
|
4024
|
+
}, 60);
|
|
4025
|
+
}
|
|
3494
4026
|
OnLinksSummaryChanged(summary) {
|
|
3495
4027
|
this.LinksSummary = summary;
|
|
3496
4028
|
this.scheduleChromeResolve();
|
|
@@ -4025,6 +4557,14 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
4025
4557
|
get EffectiveCurrentVariantID() {
|
|
4026
4558
|
return this.Fc?.CurrentVariantID ?? this.CurrentVariantID;
|
|
4027
4559
|
}
|
|
4560
|
+
/**
|
|
4561
|
+
* Mode switch callback supplied by the form host when a standard form
|
|
4562
|
+
* alternative exists. Forwarded to the toolbar so the phone View bottom sheet
|
|
4563
|
+
* can switch between the custom and standard views.
|
|
4564
|
+
*/
|
|
4565
|
+
get EffectiveFormModeSwitch() {
|
|
4566
|
+
return this.Fc?.FormModeSwitch ?? null;
|
|
4567
|
+
}
|
|
4028
4568
|
/** Whether to show the variant picker at all. Hidden when the entity has
|
|
4029
4569
|
* zero or one applicable variant — there's nothing to switch between. */
|
|
4030
4570
|
get ShowVariantPicker() {
|
|
@@ -4242,18 +4782,25 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
4242
4782
|
} if (rf & 2) {
|
|
4243
4783
|
let _t;
|
|
4244
4784
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.recordChangesDrawer = _t.first);
|
|
4245
|
-
} }, inputs: { Record: "Record", FormComponent: "FormComponent", EntityInfo: "EntityInfo", EditMode: "EditMode", UserCanEdit: "UserCanEdit", UserCanDelete: "UserCanDelete", IsFavorite: "IsFavorite", FavoriteInitDone: "FavoriteInitDone", IsDirty: "IsDirty", DirtyFieldNames: "DirtyFieldNames", ListCount: "ListCount", IsSaving: "IsSaving", IsRefreshing: "IsRefreshing", ToolbarConfig: "ToolbarConfig", RegisteredToolbarItems: "RegisteredToolbarItems", ToolbarItemOverrides: "ToolbarItemOverrides", WidthMode: "WidthMode", Variants: "Variants", CurrentVariantID: "CurrentVariantID" }, outputs: { Navigate: "Navigate", EditModeChange: "EditModeChange", BeforeSave: "BeforeSave", SaveRequested: "SaveRequested", BeforeCancel: "BeforeCancel", CancelRequested: "CancelRequested", BeforeDelete: "BeforeDelete", DeleteRequested: "DeleteRequested", BeforeRefresh: "BeforeRefresh", RefreshRequested: "RefreshRequested", FavoriteToggled: "FavoriteToggled", BeforeHistoryView: "BeforeHistoryView", HistoryRequested: "HistoryRequested", BeforeListManagement: "BeforeListManagement", ListManagementRequested: "ListManagementRequested", ShowChangesRequested: "ShowChangesRequested", CustomButtonClick: "CustomButtonClick", ToolbarItemClick: "ToolbarItemClick", VariantChange: "VariantChange", BeforeLayoutResolve: "BeforeLayoutResolve", AfterLayoutResolved: "AfterLayoutResolved", BeforeSectionActivate: "BeforeSectionActivate", AfterSectionActivated: "AfterSectionActivated", AskAIRequested: "AskAIRequested" }, standalone: false, features: [i0.ɵɵProvidersFeature([FormSlotCoordinator, FormChromeCoordinator, FormRecordRefreshCoordinator, FormSectionIndicatorCoordinator, FormFieldEditCoordinator]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 25, vars: 46, consts: [[3, "Record", "EditMode", "UserCanEdit", "UserCanDelete", "IsFavorite", "FavoriteInitDone", "IsDirty", "DirtyFieldNames", "ListCount", "TagCount", "LinksOpen", "LinkCount", "ConflictCount", "AttachmentCount", "AttachmentsAvailable", "IsAttachmentsPanelOpen", "VersionCount", "EntityInfo", "Config", "IsSaving", "IsRefreshing", "VisibleSectionCount", "TotalSectionCount", "ExpandedSectionCount", "SearchFilter", "ShowEmptyFields", "WidthMode", "HasCustomSectionOrder", "ChromeLayout", "Variants", "CurrentVariantID", "RegisteredItems", "ItemOverrides", "FormComponent"], ["role", "region", "aria-label", "Historical version preview", 1, "mj-forms-version-preview-banner"], ["aria-live", "polite", "aria-atomic", "true", 1, "mj-forms-visually-hidden"], ["role", "status", "aria-live", "polite", 1, "mj-forms-remote-update-pill", 3, "mj-forms-remote-update-pill--warning"], ["Variant", "warning", "Size", "sm", "Icon", "fa-solid fa-clone", "Role", "status", "Dismissible", "", 1, "mj-forms-duplicate-notice"], [1, "mj-forms-scroll-area"], [1, "mj-forms-panels-container"], [1, "mj-forms-layout-row"], ["aria-label", "Form sections", 1, "mj-forms-chrome-rail", 3, "is-collapsed", "is-resizing", "width"], [1, "mj-forms-all-panels"], [3, "Record", "FormComponent", "FormContext", "BakedSectionKeys", "ShowRelatedEntities"], [1, "mj-forms-more-overflow", 3, "is-expanded"], ["Slot", "after-everything", 3, "Entity", "Record", "FormComponent"], ["Variant", "no-results", "Title", "No sections found", "ActionText", "Clear search", "ActionIcon", "fa-solid fa-rotate-left", "ActionVariant", "flat", 1, "mj-forms-empty-search-state", 3, "Message"], [3, "Navigate", "Record", "EditMode", "Collapsed"], [3, "record", "AllowRestore", "PreviewedChangeID"], [3, "Record", "WidthPx"], [3, "Provider", "Record", "Mode", "IsOpen"], [3, "Record", "Visible"], [3, "visible", "config"], [3, "SectionOrderChange", "MembershipChange", "ResetRequested", "Closed", "Sections", "SectionOrder", "MoreSectionKeys", "LockedMoreKeys", "Visible"], [3, "Changed", "FormChosen", "Closed", "Visible", "Entity", "Compiled", "StockGrids", "FullCustomForm", "TitleByKey", "Related", "Provider", "Variants", "CurrentFormID", "RecordKey"], [3, "Navigate", "EditModeChange", "BeforeSave", "SaveRequested", "BeforeCancel", "CancelRequested", "BeforeDelete", "DeleteRequested", "BeforeRefresh", "RefreshRequested", "FavoriteToggled", "BeforeHistoryView", "HistoryRequested", "BeforeListManagement", "ListManagementRequested", "ShowChangesRequested", "CustomButtonClick", "ToolbarItemClick", "FilterChange", "ExpandAllRequested", "CollapseAllRequested", "ShowEmptyFieldsChange", "WidthModeChange", "ResetSectionOrderRequested", "ManageSectionsRequested", "TagsPanelToggled", "LinksRequest", "AttachmentsPanelToggled", "AskAIRequested", "ActionPinChanged", "VariantPicked", "Record", "EditMode", "UserCanEdit", "UserCanDelete", "IsFavorite", "FavoriteInitDone", "IsDirty", "DirtyFieldNames", "ListCount", "TagCount", "LinksOpen", "LinkCount", "ConflictCount", "AttachmentCount", "AttachmentsAvailable", "IsAttachmentsPanelOpen", "VersionCount", "EntityInfo", "Config", "IsSaving", "IsRefreshing", "VisibleSectionCount", "TotalSectionCount", "ExpandedSectionCount", "SearchFilter", "ShowEmptyFields", "WidthMode", "HasCustomSectionOrder", "ChromeLayout", "Variants", "CurrentVariantID", "RegisteredItems", "ItemOverrides", "FormComponent"], [1, "mj-forms-version-preview-top-row"], [1, "mj-forms-version-preview-main"], [1, "mj-forms-version-preview-badge"], [1, "fa-solid", "fa-clock-rotate-left"], [1, "mj-forms-version-preview-meta"], [1, "mj-forms-version-preview-author"], [1, "mj-forms-version-preview-diff-pill"], [1, "mj-forms-version-preview-actions"], [1, "mj-forms-version-preview-stepper"], ["type", "button", "title", "Reopen the Record Changes history timeline drawer", 1, "mj-forms-version-preview-timeline-btn", 3, "click"], [1, "fa-solid", "fa-list-ul"], ["type", "button", 1, "mj-forms-version-preview-restore-btn"], ["type", "button", 1, "mj-forms-version-preview-exit-btn", 3, "click"], [1, "fa-solid", "fa-xmark"], ["aria-label", "Changed fields in this version", 1, "mj-forms-version-preview-diffs-row"], ["type", "button", "title", "Preview older version", 1, "mj-forms-version-preview-step-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-chevron-left"], [1, "mj-forms-version-preview-step-count"], ["type", "button", "title", "Preview newer version", 1, "mj-forms-version-preview-step-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-chevron-right"], ["type", "button", 1, "mj-forms-version-preview-restore-btn", 3, "click"], [1, "fa-solid", "fa-rotate-left"], [1, "mj-forms-version-preview-field-chip", 3, "title"], [1, "mj-forms-version-preview-field-chip-more"], [1, "mj-forms-version-preview-field-chip-label"], [1, "mj-forms-version-preview-field-chip-hist"], [1, "mj-forms-version-preview-field-chip-live"], ["role", "status", "aria-live", "polite", 1, "mj-forms-remote-update-pill"], [1, "mj-forms-remote-update-pill-text"], ["type", "button", 1, "mj-forms-remote-update-pill-action"], ["type", "button", "title", "Dismiss", "aria-label", "Dismiss notification", 1, "mj-forms-remote-update-pill-close", 3, "click"], ["type", "button", 1, "mj-forms-remote-update-pill-action", 3, "click"], ["Variant", "warning", "Size", "sm", "Icon", "fa-solid fa-clone", "Role", "status", "Dismissible", "", 1, "mj-forms-duplicate-notice", 3, "Dismissed"], [1, "mj-forms-duplicate-notice-lead"], ["type", "button", 1, "mj-forms-duplicate-notice-candidate", 3, "click", "title"], ["aria-label", "Form sections", 1, "mj-forms-chrome-rail"], ["type", "button", 1, "mj-forms-chrome-rail-spine", 3, "title"], ["type", "button", 1, "mj-forms-chrome-rail-spine", 3, "click", "title"], [1, "mj-forms-chrome-rail-spine-label", 3, "mouseenter"], ["role", "img", 1, "mj-forms-chrome-rail-error", "is-spine", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-warning", "is-spine", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-dirty", "is-spine", 3, "title"], ["role", "separator", "aria-orientation", "vertical", "title", "Drag to resize sections", 1, "mj-forms-chrome-rail-resizer", 3, "pointerdown", "pointermove", "pointerup", "pointercancel"], [1, "mj-forms-chrome-rail-toolbar"], ["type", "button", 1, "mj-forms-chrome-rail-pin", 3, "click", "title"], [1, "fa-solid", "fa-thumbtack"], ["type", "button", "title", "Hide sections", "aria-label", "Hide form sections", 1, "mj-forms-chrome-rail-collapse", 3, "click"], [1, "fa-solid", "fa-angles-left"], [1, "mj-forms-chrome-rail-items"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", 3, "is-active", "is-drag-over", "has-errors", "is-dirty"], ["role", "note", 1, "mj-forms-chrome-rail-unrouted", 3, "title"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", 3, "click", "keydown.enter", "keydown.space", "dragover", "dragleave", "drop"], ["title", "Drag to reorder", "draggable", "true", 1, "mj-forms-chrome-rail-handle"], [1, "mj-forms-chrome-rail-label", 3, "mouseenter"], ["role", "img", 1, "mj-forms-chrome-rail-dirty", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-error", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-warning", 3, "title"], [1, "mj-forms-chrome-rail-count"], ["title", "Drag to reorder", "draggable", "true", 1, "mj-forms-chrome-rail-handle", 3, "dragstart", "dragend", "click"], [1, "fa-solid", "fa-grip-vertical"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-exclamation"], ["aria-hidden", "true", 1, "fa-solid", "fa-triangle-exclamation"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-folder", 3, "click", "keydown.enter", "keydown.space"], ["aria-hidden", "true", 1, "mj-forms-chrome-rail-handle", "is-spacer"], ["aria-hidden", "true", 1, "fa-solid", "mj-forms-chrome-rail-more-toggle"], [1, "mj-forms-chrome-rail-more-tree"], ["title", "Rows across the sections in More", 1, "mj-forms-chrome-rail-count"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-child", 3, "is-active", "is-drag-over", "has-errors", "is-dirty"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-child", 3, "click", "keydown.enter", "keydown.space", "dragover", "dragleave", "drop"], [1, "mj-forms-chrome-rail-label"], ["role", "img", 1, "mj-forms-chrome-rail-error", "is-unrouted"], [1, "mj-forms-more-overflow"], ["type", "button", 1, "mj-forms-more-overflow-toggle", 3, "click"], [1, "mj-forms-more-overflow-label"], [1, "mj-forms-more-overflow-preview"], [1, "fa-solid"], ["Variant", "no-results", "Title", "No sections found", "ActionText", "Clear search", "ActionIcon", "fa-solid fa-rotate-left", "ActionVariant", "flat", 1, "mj-forms-empty-search-state", 3, "Action", "Message"], [3, "PreviewVersionSelected", "RestoreRequested", "dialogClosed", "record", "AllowRestore", "PreviewedChangeID"], [3, "PanelClosed", "TagCountChanged", "RecordNavigate", "WidthChanged", "Record", "WidthPx"], [3, "Close", "LinkCountChange", "LinksSummaryChange", "Navigate", "Provider", "Record", "Mode", "IsOpen"], [3, "PanelClosed", "AttachmentCountChanged", "Record", "Visible"], [3, "complete", "cancel", "visible", "config"]], template: function MjRecordFormContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4785
|
+
} }, inputs: { Record: "Record", FormComponent: "FormComponent", EntityInfo: "EntityInfo", EditMode: "EditMode", UserCanEdit: "UserCanEdit", UserCanDelete: "UserCanDelete", IsFavorite: "IsFavorite", FavoriteInitDone: "FavoriteInitDone", IsDirty: "IsDirty", DirtyFieldNames: "DirtyFieldNames", ListCount: "ListCount", IsSaving: "IsSaving", IsRefreshing: "IsRefreshing", ToolbarConfig: "ToolbarConfig", RegisteredToolbarItems: "RegisteredToolbarItems", ToolbarItemOverrides: "ToolbarItemOverrides", WidthMode: "WidthMode", Variants: "Variants", CurrentVariantID: "CurrentVariantID" }, outputs: { Navigate: "Navigate", EditModeChange: "EditModeChange", BeforeSave: "BeforeSave", SaveRequested: "SaveRequested", BeforeCancel: "BeforeCancel", CancelRequested: "CancelRequested", BeforeDelete: "BeforeDelete", DeleteRequested: "DeleteRequested", BeforeRefresh: "BeforeRefresh", RefreshRequested: "RefreshRequested", FavoriteToggled: "FavoriteToggled", BeforeHistoryView: "BeforeHistoryView", HistoryRequested: "HistoryRequested", BeforeListManagement: "BeforeListManagement", ListManagementRequested: "ListManagementRequested", ShowChangesRequested: "ShowChangesRequested", CustomButtonClick: "CustomButtonClick", ToolbarItemClick: "ToolbarItemClick", VariantChange: "VariantChange", BeforeLayoutResolve: "BeforeLayoutResolve", AfterLayoutResolved: "AfterLayoutResolved", BeforeSectionActivate: "BeforeSectionActivate", AfterSectionActivated: "AfterSectionActivated", AskAIRequested: "AskAIRequested" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
4786
|
+
FormSlotCoordinator,
|
|
4787
|
+
FormChromeCoordinator,
|
|
4788
|
+
FormRecordRefreshCoordinator,
|
|
4789
|
+
FormSectionIndicatorCoordinator,
|
|
4790
|
+
FormFieldEditCoordinator,
|
|
4791
|
+
FormRecordCommentsCoordinatorService,
|
|
4792
|
+
]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 27, vars: 48, consts: [["sectionSheetRow", ""], [3, "Record", "EditMode", "UserCanEdit", "UserCanDelete", "IsFavorite", "FavoriteInitDone", "IsDirty", "DirtyFieldNames", "ListCount", "TagCount", "CommentsOpen", "CommentCount", "LinksOpen", "LinkCount", "ConflictCount", "AttachmentCount", "AttachmentsAvailable", "IsAttachmentsPanelOpen", "VersionCount", "EntityInfo", "Config", "IsSaving", "IsRefreshing", "VisibleSectionCount", "TotalSectionCount", "ExpandedSectionCount", "SearchFilter", "ShowEmptyFields", "WidthMode", "HasCustomSectionOrder", "ChromeLayout", "Variants", "CurrentVariantID", "FormModeSwitch", "RegisteredItems", "ItemOverrides", "FormComponent"], ["role", "region", "aria-label", "Historical version preview", 1, "mj-forms-version-preview-banner"], ["aria-live", "polite", "aria-atomic", "true", 1, "mj-forms-visually-hidden"], ["role", "status", "aria-live", "polite", 1, "mj-forms-remote-update-pill", 3, "mj-forms-remote-update-pill--warning"], ["Variant", "warning", "Size", "sm", "Icon", "fa-solid fa-clone", "Role", "status", "Dismissible", "", 1, "mj-forms-duplicate-notice"], [1, "mj-forms-scroll-area"], [1, "mj-forms-panels-container"], [1, "mj-forms-layout-row"], [1, "mj-forms-all-panels"], [3, "Record", "FormComponent", "FormContext", "BakedSectionKeys", "ShowRelatedEntities"], [1, "mj-forms-more-overflow", 3, "is-expanded"], ["Slot", "after-everything", 3, "Entity", "Record", "FormComponent"], ["Variant", "no-results", "Title", "No sections found", "ActionText", "Clear search", "ActionIcon", "fa-solid fa-rotate-left", "ActionVariant", "flat", 1, "mj-forms-empty-search-state", 3, "Message"], [3, "Navigate", "Record", "EditMode", "Collapsed"], [3, "record", "AllowRestore", "PreviewedChangeID"], [3, "Record", "WidthPx"], [3, "Provider", "Record", "Mode", "IsOpen"], [3, "Record", "Visible"], [3, "visible", "config"], [3, "SectionOrderChange", "MembershipChange", "ResetRequested", "Closed", "Sections", "SectionOrder", "MoreSectionKeys", "LockedMoreKeys", "Visible"], [3, "Changed", "FormChosen", "Closed", "Visible", "Entity", "Compiled", "StockGrids", "FullCustomForm", "TitleByKey", "Related", "Provider", "Variants", "CurrentFormID", "RecordKey"], [3, "Provider", "Record", "Mode", "IsOpen", "WidthPx"], [3, "Provider", "Record", "Mode"], [3, "Navigate", "EditModeChange", "BeforeSave", "SaveRequested", "BeforeCancel", "CancelRequested", "BeforeDelete", "DeleteRequested", "BeforeRefresh", "RefreshRequested", "FavoriteToggled", "BeforeHistoryView", "HistoryRequested", "BeforeListManagement", "ListManagementRequested", "ShowChangesRequested", "CustomButtonClick", "ToolbarItemClick", "FilterChange", "ExpandAllRequested", "CollapseAllRequested", "ShowEmptyFieldsChange", "WidthModeChange", "ResetSectionOrderRequested", "ManageSectionsRequested", "TagsPanelToggled", "CommentsRequest", "LinksRequest", "AttachmentsPanelToggled", "AskAIRequested", "ActionPinChanged", "VariantPicked", "Record", "EditMode", "UserCanEdit", "UserCanDelete", "IsFavorite", "FavoriteInitDone", "IsDirty", "DirtyFieldNames", "ListCount", "TagCount", "CommentsOpen", "CommentCount", "LinksOpen", "LinkCount", "ConflictCount", "AttachmentCount", "AttachmentsAvailable", "IsAttachmentsPanelOpen", "VersionCount", "EntityInfo", "Config", "IsSaving", "IsRefreshing", "VisibleSectionCount", "TotalSectionCount", "ExpandedSectionCount", "SearchFilter", "ShowEmptyFields", "WidthMode", "HasCustomSectionOrder", "ChromeLayout", "Variants", "CurrentVariantID", "FormModeSwitch", "RegisteredItems", "ItemOverrides", "FormComponent"], [1, "mj-forms-version-preview-top-row"], [1, "mj-forms-version-preview-main"], [1, "mj-forms-version-preview-badge"], [1, "fa-solid", "fa-clock-rotate-left"], [1, "mj-forms-version-preview-meta"], [1, "mj-forms-version-preview-author"], [1, "mj-forms-version-preview-diff-pill"], [1, "mj-forms-version-preview-actions"], [1, "mj-forms-version-preview-stepper"], ["type", "button", "title", "Reopen the Record Changes history timeline drawer", 1, "mj-forms-version-preview-timeline-btn", 3, "click"], [1, "fa-solid", "fa-list-ul"], ["type", "button", 1, "mj-forms-version-preview-restore-btn"], ["type", "button", 1, "mj-forms-version-preview-exit-btn", 3, "click"], [1, "fa-solid", "fa-xmark"], ["aria-label", "Changed fields in this version", 1, "mj-forms-version-preview-diffs-row"], ["type", "button", "title", "Preview older version", 1, "mj-forms-version-preview-step-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-chevron-left"], [1, "mj-forms-version-preview-step-count"], ["type", "button", "title", "Preview newer version", 1, "mj-forms-version-preview-step-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-chevron-right"], ["type", "button", 1, "mj-forms-version-preview-restore-btn", 3, "click"], [1, "fa-solid", "fa-rotate-left"], [1, "mj-forms-version-preview-field-chip", 3, "title"], [1, "mj-forms-version-preview-field-chip-more"], [1, "mj-forms-version-preview-field-chip-label"], [1, "mj-forms-version-preview-field-chip-hist"], [1, "mj-forms-version-preview-field-chip-live"], ["role", "status", "aria-live", "polite", 1, "mj-forms-remote-update-pill"], [1, "mj-forms-remote-update-pill-text"], ["type", "button", 1, "mj-forms-remote-update-pill-action"], ["type", "button", "title", "Dismiss", "aria-label", "Dismiss notification", 1, "mj-forms-remote-update-pill-close", 3, "click"], ["type", "button", 1, "mj-forms-remote-update-pill-action", 3, "click"], ["Variant", "warning", "Size", "sm", "Icon", "fa-solid fa-clone", "Role", "status", "Dismissible", "", 1, "mj-forms-duplicate-notice", 3, "Dismissed"], [1, "mj-forms-duplicate-notice-lead"], ["type", "button", 1, "mj-forms-duplicate-notice-candidate", 3, "click", "title"], ["aria-label", "Form sections", 1, "mj-forms-chrome-rail"], ["type", "button", "aria-haspopup", "dialog", 1, "mj-forms-section-picker"], ["type", "button", 1, "mj-forms-chrome-rail-spine", 3, "title"], ["Title", "Sections", 3, "Visible"], ["type", "button", "aria-haspopup", "dialog", 1, "mj-forms-section-picker", 3, "click"], ["aria-hidden", "true"], [1, "mj-forms-section-picker-title"], ["aria-hidden", "true", 1, "fa-solid", "fa-chevron-down", "mj-forms-section-picker-chevron"], ["role", "img", 1, "mj-forms-chrome-rail-dirty", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-error", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-warning", 3, "title"], [1, "mj-forms-chrome-rail-count"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-exclamation"], ["aria-hidden", "true", 1, "fa-solid", "fa-triangle-exclamation"], ["type", "button", 1, "mj-forms-chrome-rail-spine", 3, "click", "title"], [1, "mj-forms-chrome-rail-spine-label", 3, "mouseenter"], ["role", "img", 1, "mj-forms-chrome-rail-error", "is-spine", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-warning", "is-spine", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-dirty", "is-spine", 3, "title"], ["role", "img", 1, "mj-forms-chrome-rail-comments", "is-spine", 3, "title"], ["aria-hidden", "true", 1, "fa-regular", "fa-comment-dots"], ["role", "separator", "aria-orientation", "vertical", "title", "Drag to resize sections", 1, "mj-forms-chrome-rail-resizer", 3, "pointerdown", "pointermove", "pointerup", "pointercancel"], [1, "mj-forms-chrome-rail-toolbar"], ["type", "button", 1, "mj-forms-chrome-rail-pin", 3, "click", "title"], [1, "fa-solid", "fa-thumbtack"], ["type", "button", "title", "Hide sections", "aria-label", "Hide form sections", 1, "mj-forms-chrome-rail-collapse", 3, "click"], [1, "fa-solid", "fa-angles-left"], [1, "mj-forms-chrome-rail-items"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", 3, "is-active", "is-drag-over", "has-errors", "is-dirty"], ["role", "note", 1, "mj-forms-chrome-rail-unrouted", 3, "title"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", 3, "click", "keydown.enter", "keydown.space", "dragover", "dragleave", "drop"], ["title", "Drag to reorder", "draggable", "true", 1, "mj-forms-chrome-rail-handle"], [1, "mj-forms-chrome-rail-label", 3, "mouseenter"], ["role", "img", 1, "mj-forms-chrome-rail-comments", 3, "title"], ["title", "Drag to reorder", "draggable", "true", 1, "mj-forms-chrome-rail-handle", 3, "dragstart", "dragend", "click"], [1, "fa-solid", "fa-grip-vertical"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-folder", 3, "click", "keydown.enter", "keydown.space"], ["aria-hidden", "true", 1, "mj-forms-chrome-rail-handle", "is-spacer"], ["aria-hidden", "true", 1, "fa-solid", "mj-forms-chrome-rail-more-toggle"], [1, "mj-forms-chrome-rail-more-tree"], ["title", "Rows across the sections in More", 1, "mj-forms-chrome-rail-count"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-child", 3, "is-active", "is-drag-over", "has-errors", "is-dirty"], ["role", "button", "tabindex", "0", 1, "mj-forms-chrome-rail-item", "is-more-child", 3, "click", "keydown.enter", "keydown.space", "dragover", "dragleave", "drop"], [1, "mj-forms-chrome-rail-label"], ["role", "img", 1, "mj-forms-chrome-rail-error", "is-unrouted"], ["Title", "Sections", 3, "VisibleChange", "Visible"], [1, "mj-forms-section-sheet"], ["type", "text", "placeholder", "Search sections...", "aria-label", "Search sections", 1, "mj-input", "mj-forms-section-sheet-search", 3, "input", "value"], ["role", "list", 1, "mj-forms-section-sheet-list"], [1, "mj-forms-section-sheet-empty"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "mj-forms-section-sheet-heading"], ["type", "button", "role", "listitem", 1, "mj-forms-section-sheet-item", 3, "click"], [1, "mj-forms-section-sheet-label"], ["role", "img", 1, "mj-forms-chrome-rail-error"], ["role", "img", 1, "mj-forms-chrome-rail-warning"], ["role", "img", 1, "mj-forms-chrome-rail-dirty"], [1, "mj-forms-more-overflow"], ["type", "button", 1, "mj-forms-more-overflow-toggle", 3, "click"], [1, "mj-forms-more-overflow-label"], [1, "mj-forms-more-overflow-preview"], [1, "fa-solid"], ["Variant", "no-results", "Title", "No sections found", "ActionText", "Clear search", "ActionIcon", "fa-solid fa-rotate-left", "ActionVariant", "flat", 1, "mj-forms-empty-search-state", 3, "Action", "Message"], [3, "PreviewVersionSelected", "RestoreRequested", "dialogClosed", "record", "AllowRestore", "PreviewedChangeID"], [3, "PanelClosed", "TagCountChanged", "RecordNavigate", "WidthChanged", "Record", "WidthPx"], [3, "Close", "LinkCountChange", "LinksSummaryChange", "Navigate", "Provider", "Record", "Mode", "IsOpen"], [3, "PanelClosed", "AttachmentCountChanged", "Record", "Visible"], [3, "complete", "cancel", "visible", "config"], [3, "Close", "CommentCountChange", "WidthChanged", "Navigate", "Provider", "Record", "Mode", "IsOpen", "WidthPx"], [3, "Navigate", "Provider", "Record", "Mode"]], template: function MjRecordFormContainerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4246
4793
|
i0.ɵɵprojectionDef(_c0);
|
|
4247
4794
|
i0.ɵɵprojection(0);
|
|
4248
|
-
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_1_Template, 1,
|
|
4249
|
-
i0.ɵɵconditionalCreate(2, MjRecordFormContainerComponent_Conditional_2_Template, 23, 7, "div",
|
|
4250
|
-
i0.ɵɵelementStart(3, "span",
|
|
4795
|
+
i0.ɵɵconditionalCreate(1, MjRecordFormContainerComponent_Conditional_1_Template, 1, 37, "mj-form-toolbar", 1);
|
|
4796
|
+
i0.ɵɵconditionalCreate(2, MjRecordFormContainerComponent_Conditional_2_Template, 23, 7, "div", 2);
|
|
4797
|
+
i0.ɵɵelementStart(3, "span", 3);
|
|
4251
4798
|
i0.ɵɵtext(4);
|
|
4252
4799
|
i0.ɵɵelementEnd();
|
|
4253
|
-
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_5_Template, 7, 6, "div",
|
|
4254
|
-
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_6_Template, 5, 0, "mj-alert",
|
|
4255
|
-
i0.ɵɵelementStart(7, "div",
|
|
4256
|
-
i0.ɵɵconditionalCreate(10, MjRecordFormContainerComponent_Conditional_10_Template,
|
|
4800
|
+
i0.ɵɵconditionalCreate(5, MjRecordFormContainerComponent_Conditional_5_Template, 7, 6, "div", 4);
|
|
4801
|
+
i0.ɵɵconditionalCreate(6, MjRecordFormContainerComponent_Conditional_6_Template, 5, 0, "mj-alert", 5);
|
|
4802
|
+
i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "div", 8);
|
|
4803
|
+
i0.ɵɵconditionalCreate(10, MjRecordFormContainerComponent_Conditional_10_Template, 5, 9);
|
|
4257
4804
|
i0.ɵɵelementStart(11, "div", 9);
|
|
4258
4805
|
i0.ɵɵprojection(12, 1);
|
|
4259
4806
|
i0.ɵɵconditionalCreate(13, MjRecordFormContainerComponent_Conditional_13_Template, 1, 5, "mj-form-contributions", 10);
|
|
@@ -4275,6 +4822,8 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
4275
4822
|
i0.ɵɵelementStart(24, "mj-panel-manager", 21);
|
|
4276
4823
|
i0.ɵɵlistener("Changed", function MjRecordFormContainerComponent_Template_mj_panel_manager_Changed_24_listener() { return ctx.OnPanelManagerChanged(); })("FormChosen", function MjRecordFormContainerComponent_Template_mj_panel_manager_FormChosen_24_listener($event) { return ctx.OnPanelManagerFormChosen($event); })("Closed", function MjRecordFormContainerComponent_Template_mj_panel_manager_Closed_24_listener() { return ctx.OnPanelManagerClosed(); });
|
|
4277
4824
|
i0.ɵɵelementEnd();
|
|
4825
|
+
i0.ɵɵconditionalCreate(25, MjRecordFormContainerComponent_Conditional_25_Template, 1, 5, "mj-record-comments", 22);
|
|
4826
|
+
i0.ɵɵconditionalCreate(26, MjRecordFormContainerComponent_Conditional_26_Template, 1, 3, "mj-record-comments", 23);
|
|
4278
4827
|
} if (rf & 2) {
|
|
4279
4828
|
let tmp_1_0;
|
|
4280
4829
|
i0.ɵɵadvance();
|
|
@@ -4317,11 +4866,22 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
4317
4866
|
i0.ɵɵproperty("Sections", ctx.SectionManagerItems)("SectionOrder", ctx.SectionManagerOrder)("MoreSectionKeys", ctx.SectionManagerMoreKeys)("LockedMoreKeys", ctx.SectionManagerLockedMoreKeys)("Visible", ctx.ShowSectionManager);
|
|
4318
4867
|
i0.ɵɵadvance();
|
|
4319
4868
|
i0.ɵɵproperty("Visible", ctx.ShowPanelManager)("Entity", ctx.EffectiveEntityInfo)("Compiled", ctx.PanelManagerCompiled)("StockGrids", ctx.PanelManagerStockGrids)("FullCustomForm", !!(ctx.fc == null ? null : ctx.fc.OwnsEntireFormBody))("TitleByKey", ctx.PanelManagerTitles)("Related", ctx.PanelManagerRelated)("Provider", ctx.ProviderToUse)("Variants", ctx.EffectiveVariants)("CurrentFormID", ctx.EffectiveCurrentVariantID)("RecordKey", ctx.PanelManagerRecordKey);
|
|
4320
|
-
} }, dependencies: [i1.MJEmptyStateComponent, i1.MJAlertComponent, i2.RecordChangesComponent, i3.ListManagementDialogComponent, i4.RecordTagsComponent, i5.RecordAttachmentsComponent, i6.MjFormToolbarComponent, i7.MjSectionManagerComponent, i8.MjPanelManagerComponent, i9.MjIsaRelatedPanelComponent, i10.FormPanelSlotComponent, i11.FormContributionsComponent, i12.MjRecordLinksComponent], styles: ["/* ============================================\n RECORD FORM CONTAINER \u2014 uses global --mj-* design tokens\n Top-level wrapper: toolbar + scrollable content\n ============================================ */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ViewEncapsulation.None fallback \u2014 ensure the element itself constrains overflow */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ============================================\n POSSIBLE-DUPLICATE NOTICE (entry-time check on a new record)\n Sits between the toolbar and the scroll area, so it stays in view.\n ============================================ */\n.mj-forms-duplicate-notice {\n flex: 0 0 auto;\n margin: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mj-forms-duplicate-notice-lead {\n margin-right: var(--mj-space-1);\n}\n\n.mj-forms-duplicate-notice-candidate {\n padding: 0;\n border: none;\n background: none;\n font: inherit;\n color: var(--mj-text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.mj-forms-duplicate-notice-candidate:hover {\n color: var(--mj-text-link-hover);\n}\n\n.mj-forms-duplicate-notice-candidate:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: 2px;\n border-radius: var(--mj-radius-sm);\n}\n\n/* ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n ============================================ */\n.mj-forms-scroll-area {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n background: var(--mj-bg-page);\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n/* ============================================\n PANELS CONTAINER (centered content within scroll area)\n ============================================ */\n.mj-forms-panels-container {\n padding: 24px 32px 48px;\n max-width: 920px;\n margin: 0 auto;\n width: 100%;\n box-sizing: border-box;\n flex: 1;\n min-height: 0;\n}\n\n/* Widen max-width when ISA side panel is present */\n.mj-forms-panels--has-isa-panel {\n max-width: 1240px;\n}\n\n.mj-forms-panels--full-width {\n max-width: none;\n padding-left: 24px;\n padding-right: 24px;\n}\n\n/* Flex row layout: form panels + optional ISA side panel */\n.mj-forms-layout-row {\n display: flex;\n gap: 20px;\n align-items: flex-start;\n}\n\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n padding: 16px 20px 24px;\n display: flex;\n flex-direction: column;\n /* Definite height = the scroll-area's client box. min-height: 100% alone\n lets the column grow with content and never gives related grids a\n containing-block height, so Height:auto (100%) on the grid collapses. */\n height: 100%;\n max-height: 100%;\n min-height: 0;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* Centered left-nav keeps the form column at the same 920px as accordion,\n plus the rail. Full-width still uses .mj-forms-panels--full-width. */\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav):not(.mj-forms-panels--full-width) {\n max-width: 1160px;\n}\n\n.mj-forms-layout-row.mj-forms-layout--left-nav {\n flex: 1;\n min-height: 0;\n /* Wins over .mj-forms-layout-row { align-items: flex-start } so the\n body column stretches to the rail / viewport instead of hugging content. */\n align-items: stretch;\n gap: 16px;\n}\n\n/* Left-nav: only the active rail item is in the body. Slot-mounted\n panels never inject the container coordinator, so host classes set\n from the container are the hide/show channel that always reaches them. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-hidden,\n.mj-forms-layout--accordion mj-collapsible-panel.mj-chrome-hidden {\n display: none;\n}\n\n/* Selected item: no accordion chrome \u2014 the rail is the header. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-header {\n display: none;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel {\n box-shadow: none;\n border: 0;\n background: transparent;\n border-radius: 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-body--collapsed {\n max-height: none;\n padding: 0;\n opacity: 1;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-content {\n max-height: none;\n padding: 0;\n overflow: visible;\n}\n\n/* Details: every field panel shows under ONE rail item, and the rail label\n cannot head several loose field lists \u2014 without a surface the rows float\n on the page background. So the Details panels render as ONE card: each\n panel is a segment (surface + side borders, no radius), and the container\n marks the visual first / last (CSS order, not DOM order) to close the top\n and bottom edges. No per-section headers \u2014 the sections are plain groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel {\n background: var(--mj-bg-surface-card);\n border-left: 1px solid var(--mj-border-default);\n border-right: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first {\n margin-top: 8px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel {\n border-top: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md) var(--mj-radius-md) 0 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel {\n border-bottom: 1px solid var(--mj-border-default);\n border-radius: 0 0 var(--mj-radius-md) var(--mj-radius-md);\n box-shadow: var(--mj-shadow-sm);\n}\n\n/* One panel = whole card: both edges on the same element. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first.mj-chrome-details-last .mj-forms-panel {\n border-radius: var(--mj-radius-md);\n}\n\n/* Segment padding: sides always; top / bottom only at the card's edges, and a\n half-step between segments so the groups still read as groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel-content {\n padding: 8px 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel-content {\n padding-top: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel-content {\n padding-bottom: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show {\n /* Content-sized (see RelatedGridHeightPx). Do not flex-fill leftover\n column space \u2014 a form header above the grid can collapse that to 0. */\n flex: 0 0 auto;\n min-height: 0;\n}\n\n/* Accordion related panels use a 400px resizable box. Left-nav grids\n set their own pixel height from row count (RelatedGridHeightPx). */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show .mj-forms-panel-content {\n height: auto;\n max-height: none;\n overflow: hidden;\n resize: none;\n}\n\n/* Slot-mounted contributions (heroes, overview strips) are always visible, so\n they sit in the same column as the active rail panel and need rhythm between\n them. Collapsed siblings are `display: none`, so this gap only ever applies\n between items that are actually on screen. Tighter than the accordion's 16px\n because left-nav strips panel chrome and reads as one continuous column.\n `mj-form-panel-slot` and the panel hosts are `display: contents`, so the gap\n lands between the panels' own content boxes rather than around the slot. */\n.mj-forms-layout--left-nav .mj-forms-all-panels {\n gap: 12px;\n min-height: 0;\n overflow-y: auto;\n}\n\n/* Details (field panels) can be taller than the viewport \u2014 scroll inside the\n column. Related grids scroll inside AG Grid instead. */\n.mj-forms-layout--left-nav .mj-forms-all-panels:has(mj-collapsible-panel.mj-chrome-show:not(.mj-panel--related-entity)) {\n overflow-y: auto;\n}\n\n.mj-forms-layout--left-nav .mj-forms-all-panels > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n/* Slot-mounted panels: <mj-form-panel-slot> and the panel host it mounts are\n both display:contents, so the flex items here are the panel template's root\n elements, two DOM levels down where the child selector above cannot reach.\n Without this a root with overflow other than visible (min-height resolves\n to 0) shrinks to fit the column, clipping a header card to its title row. */\n.mj-forms-layout--left-nav .mj-forms-all-panels > mj-form-panel-slot > * > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n.mj-forms-layout--left-nav .biz-hero {\n margin-bottom: 4px;\n}\n\n/* All panels in a single flex container \u2014 CSS order drives sequencing */\n.mj-forms-all-panels {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n min-width: 0;\n}\n\n/* Hide related entity panels in edit mode (variant host class on mj-collapsible-panel) */\n.mj-forms-panels--edit-mode .mj-panel--related-entity,\n.mj-forms-panels--edit-mode .mj-forms-more-overflow {\n display: none;\n}\n\n/* Detail / More panels sort after the overflow footer */\nmj-collapsible-panel.mj-form-role-detail,\nmj-collapsible-panel.mj-form-role-more {\n order: 8500;\n}\n\n.mj-forms-more-overflow {\n order: 8400;\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n padding-top: 12px;\n border-top: 1px dashed var(--mj-border-subtle);\n}\n\n.mj-forms-more-overflow-toggle {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 6px 2px;\n border: 0;\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n cursor: pointer;\n text-align: left;\n}\n\n.mj-forms-more-overflow-toggle:hover {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-more-overflow-label {\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-more-overflow-preview {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--mj-text-disabled);\n font-weight: var(--mj-font-normal);\n}\n\n.mj-forms-more-overflow-toggle .fa-chevron-right,\n.mj-forms-more-overflow-toggle .fa-chevron-down {\n margin-left: auto;\n}\n\n.mj-forms-chrome-rail {\n flex: 0 0 auto;\n width: 200px;\n max-width: 360px;\n min-width: 160px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n position: sticky;\n top: 0;\n align-self: stretch;\n min-height: 0;\n padding: 4px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n}\n\n/* The rail is as tall as the body column; when it has more items than fit,\n the ITEMS scroll (the pin / collapse toolbar above stays fixed). Without\n this the overflow was clipped by the panels container. */\n.mj-forms-chrome-rail-items {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n}\n\n.mj-forms-chrome-rail.is-resizing {\n user-select: none;\n}\n\n.mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 36px;\n width: 36px;\n min-width: 36px;\n max-width: 36px;\n padding: 8px 0;\n overflow: hidden;\n}\n\n.mj-forms-chrome-rail-resizer {\n position: absolute;\n top: 0;\n right: -4px;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 3;\n touch-action: none;\n}\n\n.mj-forms-chrome-rail-resizer::after {\n content: '';\n position: absolute;\n top: 12px;\n bottom: 12px;\n left: 3px;\n width: 2px;\n border-radius: 1px;\n background: transparent;\n}\n\n.mj-forms-chrome-rail:hover .mj-forms-chrome-rail-resizer::after,\n.mj-forms-chrome-rail.is-resizing .mj-forms-chrome-rail-resizer::after {\n background: var(--mj-border-strong);\n}\n\n.mj-forms-layout--right-nav .mj-forms-chrome-rail-resizer {\n right: auto;\n left: -4px;\n}\n\n.mj-forms-chrome-rail-spine {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 8px 0;\n border: 0;\n background: transparent;\n color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-spine:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-forms-chrome-rail-spine > i {\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-spine-label {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.04em;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-height: 100%;\n}\n\n.mj-forms-chrome-rail-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 2px;\n padding: 2px 4px 6px;\n}\n\n.mj-forms-chrome-rail-pin,\n.mj-forms-chrome-rail-collapse {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-pin:hover,\n.mj-forms-chrome-rail-collapse:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-pin:not(.is-pinned) i {\n transform: rotate(45deg);\n}\n\n.mj-forms-chrome-rail-pin.is-pinned {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-chrome-rail-item.is-active::before {\n content: '';\n position: absolute;\n left: 0;\n top: 6px;\n bottom: 6px;\n width: 3px;\n border-radius: 0 3px 3px 0;\n background: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-label {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-drag-over {\n outline: 1px dashed var(--mj-border-focus);\n outline-offset: -1px;\n}\n\n.mj-forms-chrome-rail-handle {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 18px;\n margin-left: -4px;\n color: var(--mj-text-muted);\n cursor: grab;\n opacity: 0;\n overflow: hidden;\n flex-shrink: 0;\n transition: opacity var(--mj-transition-base, 0.15s) ease;\n}\n\n.mj-forms-chrome-rail-item:hover .mj-forms-chrome-rail-handle,\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-handle {\n opacity: 1;\n}\n\n.mj-forms-chrome-rail-handle.is-spacer {\n opacity: 0;\n pointer-events: none;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-handle:hover {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-handle:active {\n cursor: grabbing;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder {\n position: relative;\n margin-top: 14px;\n padding-top: 14px;\n color: var(--mj-text-muted);\n border-radius: 0;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder::before {\n content: '';\n position: absolute;\n top: 0;\n left: 8px;\n right: 8px;\n height: 1px;\n background: linear-gradient(\n 90deg,\n transparent 0%,\n var(--mj-border-strong) 18%,\n var(--mj-border-strong) 82%,\n transparent 100%\n );\n}\n\n.mj-forms-chrome-rail-item.is-more-folder:hover {\n background: transparent;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-item.is-more-folder.is-expanded {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-more-toggle {\n margin-left: auto;\n font-size: 10px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-chrome-rail-more-tree {\n margin-left: 22px;\n padding-left: 6px;\n border-left: 1px solid var(--mj-border-subtle);\n}\n\n.mj-forms-chrome-rail-item.is-more-child {\n padding-left: 8px;\n}\n\n.mj-forms-chrome-rail-label {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Related-grid row count. Not rendered at 0 \u2014 an empty grid is not a signal, and a\n grey \"0\" beside the red invalid count reads as one more thing to attend to. */\n.mj-forms-chrome-rail-count {\n min-width: 1.25rem;\n padding: 0 6px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n text-align: center;\n}\n\n/* Screen-reader-only text (the indicators' live region). */\n.mj-forms-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n/* ============================================\n RAIL SECTION INDICATORS\n A rail item says WHICH section holds unsaved edits or an invalid field, read\n live from the panels it fronts (FormSectionIndicatorCoordinator). Same idioms\n as the fields themselves: the 6px amber dot an edited field shows after its\n label, and the error colour a failing field paints its underline in.\n ============================================ */\n.mj-forms-chrome-rail-dirty {\n flex: 0 0 auto;\n width: var(--mj-space-1-5);\n height: var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-warning);\n}\n\n.mj-forms-chrome-rail-error,\n.mj-forms-chrome-rail-warning {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n min-width: var(--mj-space-5);\n padding: var(--mj-space-px) var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.2;\n text-align: center;\n}\n\n.mj-forms-chrome-rail-error {\n background: var(--mj-status-error);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-chrome-rail-warning {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border: 1px solid var(--mj-status-warning-border);\n}\n\n.mj-forms-chrome-rail-error i,\n.mj-forms-chrome-rail-warning i {\n font-size: var(--mj-space-2-5);\n}\n\n/* Failures no rail item owns: same row shape as an item, not interactive, error-tinted. */\n.mj-forms-chrome-rail-unrouted {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border-radius: var(--mj-radius-sm);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-unrouted > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-unrouted > .mj-forms-chrome-rail-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The section's icon takes the error colour too, so the item reads as failing\n even before the badge is noticed \u2014 but never the active item's brand tint. */\n.mj-forms-chrome-rail-item.has-errors:not(.is-active) > i {\n color: var(--mj-status-error);\n}\n\n/* Collapsed spine: a column of icon \u2192 badge / dot \u2192 rotated label. */\n.mj-forms-chrome-rail-error.is-spine,\n.mj-forms-chrome-rail-warning.is-spine {\n order: 1;\n padding: 0 var(--mj-space-1);\n min-width: var(--mj-space-5);\n}\n\n.mj-forms-chrome-rail-dirty.is-spine {\n order: 1;\n}\n\n.mj-forms-chrome-rail-spine > .mj-forms-chrome-rail-spine-label {\n order: 2;\n}\n\n@media (max-width: 720px) {\n .mj-forms-layout--left-nav {\n flex-direction: column;\n }\n\n .mj-forms-chrome-rail {\n flex: 1 1 auto;\n width: 100%;\n position: static;\n flex-direction: row;\n flex-wrap: wrap;\n }\n\n .mj-forms-chrome-rail-resizer {\n display: none;\n }\n\n .mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 auto;\n width: 100%;\n min-width: 0;\n max-width: none;\n height: 36px;\n padding: 0;\n }\n\n .mj-forms-chrome-rail-spine {\n flex-direction: row;\n padding: 0 12px;\n }\n\n .mj-forms-chrome-rail-spine-label {\n writing-mode: horizontal-tb;\n transform: none;\n max-height: none;\n }\n\n .mj-forms-chrome-rail-toolbar {\n width: 100%;\n }\n\n .mj-forms-chrome-rail-item {\n width: auto;\n }\n\n /* Phones: the rail is a wrapping row of chips, so the items wrapper must\n wrap too \u2014 a column here stacks one chip per row and grows past the\n rail (no scroll, body pushed out). */\n .mj-forms-chrome-rail-items {\n flex-direction: row;\n flex-wrap: wrap;\n overflow: visible;\n min-height: auto;\n }\n}\n\n/* ============================================\n EMPTY SEARCH STATE\n ============================================ */\n.mj-forms-empty-search-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 80px 24px;\n text-align: center;\n min-height: 400px;\n}\n\n.mj-forms-empty-search-icon {\n width: 80px;\n height: 80px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 24px;\n}\n\n.mj-forms-empty-search-icon i {\n font-size: 32px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-empty-search-title {\n font-size: var(--mj-text-xl);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n margin: 0 0 12px 0;\n}\n\n.mj-forms-empty-search-message {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n max-width: 400px;\n margin: 0;\n}\n\n.mj-forms-empty-search-message strong {\n color: var(--mj-text-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-empty-search-link {\n color: var(--mj-brand-primary);\n text-decoration: none;\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-empty-search-link:hover {\n text-decoration: underline;\n}\n\n/* ============================================\n RESPONSIVE\n ============================================ */\n@media (max-width: 768px) {\n .mj-forms-panels-container {\n padding: 16px 12px 32px;\n }\n}\n\n/* ====================================================================\n VARIANT PICKER \u2014 between toolbar and form body\n Compact \"Form: <name> \u25BE\" row that appears when more than one variant\n is applicable for the current entity record.\n ==================================================================== */\n\n.mj-form-variant-picker {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 6px 18px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12px;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n.mj-form-variant-picker-label {\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-control {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 4px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n cursor: pointer;\n outline: none;\n user-select: none;\n min-width: 160px;\n}\n.mj-form-variant-picker-control:hover,\n.mj-form-variant-picker-control:focus,\n.mj-form-variant-picker-control.open {\n border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n}\n.mj-form-variant-picker-current {\n font-weight: 600;\n flex: 1;\n}\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 50;\n min-width: 280px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n box-shadow: var(--mj-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));\n padding: 4px;\n max-height: 320px;\n overflow: auto;\n}\n.mj-form-variant-picker-row {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: 6px;\n cursor: pointer;\n}\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface));\n}\n.mj-form-variant-picker-row.inactive {\n opacity: 0.7;\n}\n.mj-form-variant-picker-row-main {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1;\n min-width: 0;\n}\n.mj-form-variant-picker-row-title {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 11px;\n}\n\n/* Retrospective fix #8 \u2014 visually distinguish the Default row from variants. */\n.mj-form-variant-picker-row.mj-form-variant-picker-default {\n border-bottom: 1px dashed var(--mj-border-default);\n margin-bottom: 4px;\n padding-bottom: 10px;\n}\n.mj-form-variant-picker-default-tag {\n color: var(--mj-text-muted);\n font-weight: 400;\n font-size: 11px;\n margin-left: 4px;\n}\n\n/* ====================================================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ==================================================================== */\n@keyframes mj-remote-pill-slide-in {\n from {\n opacity: 0;\n transform: translateY(-8px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n.mj-forms-remote-update-pill {\n position: absolute;\n top: 56px;\n right: 24px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n border-radius: 999px;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n box-shadow: var(--mj-shadow-md, 0 4px 14px rgba(0, 0, 0, 0.12));\n color: var(--mj-text-primary);\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1.3;\n animation: mj-remote-pill-slide-in 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;\n}\n\n.mj-forms-remote-update-pill--warning {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mj-forms-remote-update-pill-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n\n.mj-forms-remote-update-pill--warning .mj-forms-remote-update-pill-icon {\n color: var(--mj-status-warning);\n}\n\n.mj-forms-remote-update-pill-action {\n border: none;\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n color: var(--mj-brand-primary);\n font: inherit;\n font-size: 11.5px;\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 999px;\n cursor: pointer;\n}\n\n.mj-forms-remote-update-pill-action:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 20%, transparent);\n}\n\n.mj-forms-remote-update-pill-close {\n border: none;\n background: transparent;\n color: var(--mj-text-muted);\n padding: 2px 4px;\n border-radius: 999px;\n cursor: pointer;\n line-height: 1;\n}\n\n.mj-forms-remote-update-pill-close:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n}\n\n/* ====================================================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n ==================================================================== */\n.mj-forms-version-preview-banner {\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px 20px;\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-elevated));\n border-bottom: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n color: var(--mj-text-primary);\n font-size: 13px;\n}\n\n.mj-forms-version-preview-top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.mj-forms-version-preview-main {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.mj-forms-version-preview-badge {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-version-preview-meta {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-author {\n color: var(--mj-text-secondary);\n font-size: 12px;\n}\n\n.mj-forms-version-preview-diff-pill {\n padding: 2px 9px;\n border-radius: 999px;\n font-size: 11.5px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-info) 14%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border: 1px solid color-mix(in srgb, var(--mj-status-info) 30%, transparent);\n}\n\n.mj-forms-version-preview-actions {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.mj-forms-version-preview-stepper {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px;\n border-radius: 6px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-step-btn {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: var(--mj-text-secondary);\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n}\n\n.mj-forms-version-preview-step-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-step-btn:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n.mj-forms-version-preview-step-count {\n padding: 0 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-version-preview-timeline-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n}\n\n.mj-forms-version-preview-timeline-btn:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border: 1px solid var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn:hover {\n background: var(--mj-brand-primary-hover);\n}\n\n.mj-forms-version-preview-exit-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-exit-btn:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-diffs-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n padding-top: 2px;\n}\n\n.mj-forms-version-preview-field-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 3px 9px;\n border-radius: 6px;\n font-size: 11.5px;\n background: var(--mj-bg-surface);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 28%, var(--mj-border-default));\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-field-chip-label {\n color: var(--mj-text-secondary);\n font-weight: 600;\n}\n\n.mj-forms-version-preview-field-chip-hist {\n color: var(--mj-brand-primary);\n font-weight: 700;\n}\n\n.mj-forms-version-preview-field-chip-live {\n color: var(--mj-text-muted);\n font-size: 11px;\n}\n\n.mj-forms-version-preview-field-chip-more {\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n padding: 2px 6px;\n}\n\n.mj-forms-version-preview-step-btn:focus-visible,\n.mj-forms-version-preview-timeline-btn:focus-visible,\n.mj-forms-version-preview-restore-btn:focus-visible,\n.mj-forms-version-preview-exit-btn:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n"], encapsulation: 2, changeDetection: 0 });
|
|
4869
|
+
i0.ɵɵadvance();
|
|
4870
|
+
i0.ɵɵconditional(ctx.ShowRecordComments && ctx.EffectiveRecord && ctx.EffectiveRecord.IsSaved ? 25 : -1);
|
|
4871
|
+
i0.ɵɵadvance();
|
|
4872
|
+
i0.ɵɵconditional(ctx.CommentsCoordinator.ActivePopoverTarget && ctx.EffectiveRecord && ctx.EffectiveRecord.IsSaved ? 26 : -1);
|
|
4873
|
+
} }, dependencies: [i1.NgTemplateOutlet, i2.MJEmptyStateComponent, i2.MJAlertComponent, i3.RecordChangesComponent, i4.ListManagementDialogComponent, i5.RecordTagsComponent, i6.RecordAttachmentsComponent, i2.MJBottomSheetComponent, i7.MjFormToolbarComponent, i8.MjSectionManagerComponent, i9.MjPanelManagerComponent, i10.MjIsaRelatedPanelComponent, i11.FormPanelSlotComponent, i12.FormContributionsComponent, i13.MjRecordLinksComponent, i14.MjRecordCommentsComponent], styles: ["/* ============================================\n RECORD FORM CONTAINER \u2014 uses global --mj-* design tokens\n Top-level wrapper: toolbar + scrollable content\n ============================================ */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ViewEncapsulation.None fallback \u2014 ensure the element itself constrains overflow */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ============================================\n POSSIBLE-DUPLICATE NOTICE (entry-time check on a new record)\n Sits between the toolbar and the scroll area, so it stays in view.\n ============================================ */\n.mj-forms-duplicate-notice {\n flex: 0 0 auto;\n margin: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mj-forms-duplicate-notice-lead {\n margin-right: var(--mj-space-1);\n}\n\n.mj-forms-duplicate-notice-candidate {\n padding: 0;\n border: none;\n background: none;\n font: inherit;\n color: var(--mj-text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.mj-forms-duplicate-notice-candidate:hover {\n color: var(--mj-text-link-hover);\n}\n\n.mj-forms-duplicate-notice-candidate:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: 2px;\n border-radius: var(--mj-radius-sm);\n}\n\n/* ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n ============================================ */\n.mj-forms-scroll-area {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n background: var(--mj-bg-page);\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n/* ============================================\n PANELS CONTAINER (centered content within scroll area)\n ============================================ */\n.mj-forms-panels-container {\n padding: 24px 32px 48px;\n max-width: 920px;\n margin: 0 auto;\n width: 100%;\n box-sizing: border-box;\n flex: 1;\n min-height: 0;\n}\n\n/* Widen max-width when ISA side panel is present */\n.mj-forms-panels--has-isa-panel {\n max-width: 1240px;\n}\n\n.mj-forms-panels--full-width {\n max-width: none;\n padding-left: 24px;\n padding-right: 24px;\n}\n\n/* Flex row layout: form panels + optional ISA side panel */\n.mj-forms-layout-row {\n display: flex;\n gap: 20px;\n align-items: flex-start;\n}\n\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n padding: 16px 20px 24px;\n display: flex;\n flex-direction: column;\n /* Definite height = the scroll-area's client box. min-height: 100% alone\n lets the column grow with content and never gives related grids a\n containing-block height, so Height:auto (100%) on the grid collapses. */\n height: 100%;\n max-height: 100%;\n min-height: 0;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* Centered left-nav keeps the form column at the same 920px as accordion,\n plus the rail. Full-width still uses .mj-forms-panels--full-width. */\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav):not(.mj-forms-panels--full-width) {\n max-width: 1160px;\n}\n\n.mj-forms-layout-row.mj-forms-layout--left-nav {\n flex: 1;\n min-height: 0;\n /* Wins over .mj-forms-layout-row { align-items: flex-start } so the\n body column stretches to the rail / viewport instead of hugging content. */\n align-items: stretch;\n gap: 16px;\n}\n\n/* Left-nav: only the active rail item is in the body. Slot-mounted\n panels never inject the container coordinator, so host classes set\n from the container are the hide/show channel that always reaches them. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-hidden,\n.mj-forms-layout--accordion mj-collapsible-panel.mj-chrome-hidden {\n display: none;\n}\n\n/* Selected item: no accordion chrome \u2014 the rail is the header. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-header {\n display: none;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel {\n box-shadow: none;\n border: 0;\n background: transparent;\n border-radius: 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-body--collapsed {\n max-height: none;\n padding: 0;\n opacity: 1;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-content {\n max-height: none;\n padding: 0;\n overflow: visible;\n}\n\n/* Details: every field panel shows under ONE rail item, and the rail label\n cannot head several loose field lists \u2014 without a surface the rows float\n on the page background. So the Details panels render as ONE card: each\n panel is a segment (surface + side borders, no radius), and the container\n marks the visual first / last (CSS order, not DOM order) to close the top\n and bottom edges. No per-section headers \u2014 the sections are plain groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel {\n background: var(--mj-bg-surface-card);\n border-left: 1px solid var(--mj-border-default);\n border-right: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first {\n margin-top: 8px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel {\n border-top: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md) var(--mj-radius-md) 0 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel {\n border-bottom: 1px solid var(--mj-border-default);\n border-radius: 0 0 var(--mj-radius-md) var(--mj-radius-md);\n box-shadow: var(--mj-shadow-sm);\n}\n\n/* One panel = whole card: both edges on the same element. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first.mj-chrome-details-last .mj-forms-panel {\n border-radius: var(--mj-radius-md);\n}\n\n/* Segment padding: sides always; top / bottom only at the card's edges, and a\n half-step between segments so the groups still read as groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel-content {\n padding: 8px 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel-content {\n padding-top: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel-content {\n padding-bottom: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show {\n /* Content-sized (see RelatedGridHeightPx). Do not flex-fill leftover\n column space \u2014 a form header above the grid can collapse that to 0. */\n flex: 0 0 auto;\n min-height: 0;\n}\n\n/* Accordion related panels use a 400px resizable box. Left-nav grids\n set their own pixel height from row count (RelatedGridHeightPx). */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show .mj-forms-panel-content {\n height: auto;\n max-height: none;\n overflow: hidden;\n resize: none;\n}\n\n/* Slot-mounted contributions (heroes, overview strips) are always visible, so\n they sit in the same column as the active rail panel and need rhythm between\n them. Collapsed siblings are `display: none`, so this gap only ever applies\n between items that are actually on screen. Tighter than the accordion's 16px\n because left-nav strips panel chrome and reads as one continuous column.\n `mj-form-panel-slot` and the panel hosts are `display: contents`, so the gap\n lands between the panels' own content boxes rather than around the slot. */\n.mj-forms-layout--left-nav .mj-forms-all-panels {\n gap: 12px;\n min-height: 0;\n overflow-y: auto;\n}\n\n/* Details (field panels) can be taller than the viewport \u2014 scroll inside the\n column. Related grids scroll inside AG Grid instead. */\n.mj-forms-layout--left-nav .mj-forms-all-panels:has(mj-collapsible-panel.mj-chrome-show:not(.mj-panel--related-entity)) {\n overflow-y: auto;\n}\n\n.mj-forms-layout--left-nav .mj-forms-all-panels > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n/* Slot-mounted panels: <mj-form-panel-slot> and the panel host it mounts are\n both display:contents, so the flex items here are the panel template's root\n elements, two DOM levels down where the child selector above cannot reach.\n Without this a root with overflow other than visible (min-height resolves\n to 0) shrinks to fit the column, clipping a header card to its title row. */\n.mj-forms-layout--left-nav .mj-forms-all-panels > mj-form-panel-slot > * > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n.mj-forms-layout--left-nav .biz-hero {\n margin-bottom: 4px;\n}\n\n/* All panels in a single flex container \u2014 CSS order drives sequencing */\n.mj-forms-all-panels {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n min-width: 0;\n}\n\n/* Hide related entity panels in edit mode (variant host class on mj-collapsible-panel) */\n.mj-forms-panels--edit-mode .mj-panel--related-entity,\n.mj-forms-panels--edit-mode .mj-forms-more-overflow {\n display: none;\n}\n\n/* Detail / More panels sort after the overflow footer */\nmj-collapsible-panel.mj-form-role-detail,\nmj-collapsible-panel.mj-form-role-more {\n order: 8500;\n}\n\n.mj-forms-more-overflow {\n order: 8400;\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n padding-top: 12px;\n border-top: 1px dashed var(--mj-border-subtle);\n}\n\n.mj-forms-more-overflow-toggle {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 6px 2px;\n border: 0;\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n cursor: pointer;\n text-align: left;\n}\n\n.mj-forms-more-overflow-toggle:hover {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-more-overflow-label {\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-more-overflow-preview {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--mj-text-disabled);\n font-weight: var(--mj-font-normal);\n}\n\n.mj-forms-more-overflow-toggle .fa-chevron-right,\n.mj-forms-more-overflow-toggle .fa-chevron-down {\n margin-left: auto;\n}\n\n.mj-forms-chrome-rail {\n flex: 0 0 auto;\n width: 200px;\n max-width: 360px;\n min-width: 160px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n position: sticky;\n top: 0;\n align-self: stretch;\n min-height: 0;\n padding: 4px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n}\n\n/* The rail is as tall as the body column; when it has more items than fit,\n the ITEMS scroll (the pin / collapse toolbar above stays fixed). Without\n this the overflow was clipped by the panels container. */\n.mj-forms-chrome-rail-items {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n}\n\n.mj-forms-chrome-rail.is-resizing {\n user-select: none;\n}\n\n.mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 36px;\n width: 36px;\n min-width: 36px;\n max-width: 36px;\n padding: 8px 0;\n overflow: hidden;\n}\n\n.mj-forms-chrome-rail-resizer {\n position: absolute;\n top: 0;\n right: -4px;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 3;\n touch-action: none;\n}\n\n.mj-forms-chrome-rail-resizer::after {\n content: '';\n position: absolute;\n top: 12px;\n bottom: 12px;\n left: 3px;\n width: 2px;\n border-radius: 1px;\n background: transparent;\n}\n\n.mj-forms-chrome-rail:hover .mj-forms-chrome-rail-resizer::after,\n.mj-forms-chrome-rail.is-resizing .mj-forms-chrome-rail-resizer::after {\n background: var(--mj-border-strong);\n}\n\n.mj-forms-layout--right-nav .mj-forms-chrome-rail-resizer {\n right: auto;\n left: -4px;\n}\n\n.mj-forms-chrome-rail-spine {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 8px 0;\n border: 0;\n background: transparent;\n color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-spine:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-forms-chrome-rail-spine > i {\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-spine-label {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.04em;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-height: 100%;\n}\n\n.mj-forms-chrome-rail-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 2px;\n padding: 2px 4px 6px;\n}\n\n.mj-forms-chrome-rail-pin,\n.mj-forms-chrome-rail-collapse {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-pin:hover,\n.mj-forms-chrome-rail-collapse:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-pin:not(.is-pinned) i {\n transform: rotate(45deg);\n}\n\n.mj-forms-chrome-rail-pin.is-pinned {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-chrome-rail-item.is-active::before {\n content: '';\n position: absolute;\n left: 0;\n top: 6px;\n bottom: 6px;\n width: 3px;\n border-radius: 0 3px 3px 0;\n background: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-label {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-drag-over {\n outline: 1px dashed var(--mj-border-focus);\n outline-offset: -1px;\n}\n\n.mj-forms-chrome-rail-handle {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 18px;\n margin-left: -4px;\n color: var(--mj-text-muted);\n cursor: grab;\n opacity: 0;\n overflow: hidden;\n flex-shrink: 0;\n transition: opacity var(--mj-transition-base, 0.15s) ease;\n}\n\n.mj-forms-chrome-rail-item:hover .mj-forms-chrome-rail-handle,\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-handle {\n opacity: 1;\n}\n\n.mj-forms-chrome-rail-handle.is-spacer {\n opacity: 0;\n pointer-events: none;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-handle:hover {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-handle:active {\n cursor: grabbing;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder {\n position: relative;\n margin-top: 14px;\n padding-top: 14px;\n color: var(--mj-text-muted);\n border-radius: 0;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder::before {\n content: '';\n position: absolute;\n top: 0;\n left: 8px;\n right: 8px;\n height: 1px;\n background: linear-gradient(\n 90deg,\n transparent 0%,\n var(--mj-border-strong) 18%,\n var(--mj-border-strong) 82%,\n transparent 100%\n );\n}\n\n.mj-forms-chrome-rail-item.is-more-folder:hover {\n background: transparent;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-item.is-more-folder.is-expanded {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-more-toggle {\n margin-left: auto;\n font-size: 10px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-chrome-rail-more-tree {\n margin-left: 22px;\n padding-left: 6px;\n border-left: 1px solid var(--mj-border-subtle);\n}\n\n.mj-forms-chrome-rail-item.is-more-child {\n padding-left: 8px;\n}\n\n.mj-forms-chrome-rail-label {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Related-grid row count. Not rendered at 0 \u2014 an empty grid is not a signal, and a\n grey \"0\" beside the red invalid count reads as one more thing to attend to. */\n.mj-forms-chrome-rail-count {\n min-width: 1.25rem;\n padding: 0 6px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n text-align: center;\n}\n\n/* Screen-reader-only text (the indicators' live region). */\n.mj-forms-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n/* ============================================\n RAIL SECTION INDICATORS\n A rail item says WHICH section holds unsaved edits or an invalid field, read\n live from the panels it fronts (FormSectionIndicatorCoordinator). Same idioms\n as the fields themselves: the 6px amber dot an edited field shows after its\n label, and the error colour a failing field paints its underline in.\n ============================================ */\n.mj-forms-chrome-rail-dirty {\n flex: 0 0 auto;\n width: var(--mj-space-1-5);\n height: var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-warning);\n}\n\n.mj-forms-chrome-rail-error,\n.mj-forms-chrome-rail-warning {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n min-width: var(--mj-space-5);\n padding: var(--mj-space-px) var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.2;\n text-align: center;\n}\n\n.mj-forms-chrome-rail-error {\n background: var(--mj-status-error);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-chrome-rail-warning {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border: 1px solid var(--mj-status-warning-border);\n}\n\n.mj-forms-chrome-rail-error i,\n.mj-forms-chrome-rail-warning i {\n font-size: var(--mj-space-2-5);\n}\n\n/* Failures no rail item owns: same row shape as an item, not interactive, error-tinted. */\n.mj-forms-chrome-rail-unrouted {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border-radius: var(--mj-radius-sm);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-unrouted > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-unrouted > .mj-forms-chrome-rail-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The section's icon takes the error colour too, so the item reads as failing\n even before the badge is noticed \u2014 but never the active item's brand tint. */\n.mj-forms-chrome-rail-item.has-errors:not(.is-active) > i {\n color: var(--mj-status-error);\n}\n\n/* Collapsed spine: a column of icon \u2192 badge / dot \u2192 rotated label. */\n.mj-forms-chrome-rail-error.is-spine,\n.mj-forms-chrome-rail-warning.is-spine {\n order: 1;\n padding: 0 var(--mj-space-1);\n min-width: var(--mj-space-5);\n}\n\n.mj-forms-chrome-rail-dirty.is-spine {\n order: 1;\n}\n\n.mj-forms-chrome-rail-spine > .mj-forms-chrome-rail-spine-label {\n order: 2;\n}\n\n@media (max-width: 768px) {\n /* Let the container scroll naturally on mobile instead of locking overflow: hidden */\n .mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n height: auto;\n max-height: none;\n overflow: visible;\n padding: 0 12px 28px;\n }\n\n .mj-forms-layout-row.mj-forms-layout--left-nav,\n .mj-forms-layout--left-nav {\n flex-direction: column;\n gap: var(--mj-space-2, 8px);\n }\n\n .mj-forms-chrome-rail {\n flex: 0 0 auto;\n margin: 0 -12px;\n width: calc(100% + 24px) !important; /* Full-bleed across the 12px container padding */\n min-width: 0 !important;\n max-width: calc(100% + 24px) !important;\n height: 44px;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: sticky;\n top: 0;\n z-index: 15;\n padding: 0 10px;\n border-radius: 0;\n border-left: none;\n border-right: none;\n border-top: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n }\n\n /* Reserve space on the right of the rail for the docked [Edit | \u2022\u2022\u2022] cap so the picker clears it */\n mj-record-form-container:has(.mj-forms-toolbar-collapsed-pill) .mj-forms-chrome-rail {\n padding-right: 116px;\n }\n\n /* Hide desktop-only resizer, pin/collapse header, and drag handles on touch/mobile */\n .mj-forms-chrome-rail-resizer,\n .mj-forms-chrome-rail-toolbar,\n .mj-forms-chrome-rail-handle {\n display: none !important;\n }\n\n .mj-forms-section-picker {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2, 8px);\n width: 100%;\n min-width: 0;\n min-height: 44px;\n padding: 0 var(--mj-space-2, 8px);\n border: 0;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n text-align: left;\n cursor: pointer;\n }\n\n .mj-forms-section-picker:hover {\n background: var(--mj-bg-surface-hover);\n }\n\n .mj-forms-section-picker:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n }\n\n .mj-forms-section-picker > i:first-child {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-brand-primary);\n }\n\n .mj-forms-section-picker-title {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .mj-forms-section-picker-chevron {\n margin-left: auto;\n flex-shrink: 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n }\n}\n\n/* ============================================\n PHONE SECTION SHEET \u2014 first-class and More sections as a vertical list\n ============================================ */\n.mj-forms-section-sheet {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3, 12px);\n padding: 0 var(--mj-space-4, 16px) var(--mj-space-4, 16px);\n}\n\n.mj-forms-section-sheet-search {\n width: 100%;\n}\n\n.mj-forms-section-sheet-list {\n display: flex;\n flex-direction: column;\n gap: 2px;\n max-height: 60vh;\n overflow-y: auto;\n}\n\n.mj-forms-section-sheet-heading {\n padding: var(--mj-space-2, 8px) var(--mj-space-3, 12px) var(--mj-space-1, 4px);\n margin-top: var(--mj-space-2, 8px);\n border-top: 1px solid var(--mj-border-subtle);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mj-forms-section-sheet-item {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n min-height: 44px;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-section-sheet-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-section-sheet-item:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-section-sheet-item:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-section-sheet-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-section-sheet-item.is-active > i {\n color: inherit;\n}\n\n.mj-forms-section-sheet-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-section-sheet-empty {\n padding: var(--mj-space-4, 16px);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: center;\n}\n\n/* ============================================\n EMPTY SEARCH STATE\n ============================================ */\n.mj-forms-empty-search-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 80px 24px;\n text-align: center;\n min-height: 400px;\n}\n\n.mj-forms-empty-search-icon {\n width: 80px;\n height: 80px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 24px;\n}\n\n.mj-forms-empty-search-icon i {\n font-size: 32px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-empty-search-title {\n font-size: var(--mj-text-xl);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n margin: 0 0 12px 0;\n}\n\n.mj-forms-empty-search-message {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n max-width: 400px;\n margin: 0;\n}\n\n.mj-forms-empty-search-message strong {\n color: var(--mj-text-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-empty-search-link {\n color: var(--mj-brand-primary);\n text-decoration: none;\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-empty-search-link:hover {\n text-decoration: underline;\n}\n\n/* ============================================\n RESPONSIVE\n ============================================ */\n@media (max-width: 768px) {\n .mj-forms-panels-container {\n padding: 16px 12px 32px;\n }\n}\n\n/* ====================================================================\n VARIANT PICKER \u2014 between toolbar and form body\n Compact \"Form: <name> \u25BE\" row that appears when more than one variant\n is applicable for the current entity record.\n ==================================================================== */\n\n.mj-form-variant-picker {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 6px 18px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12px;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n.mj-form-variant-picker-label {\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-control {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 4px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n cursor: pointer;\n outline: none;\n user-select: none;\n min-width: 160px;\n}\n.mj-form-variant-picker-control:hover,\n.mj-form-variant-picker-control:focus,\n.mj-form-variant-picker-control.open {\n border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n}\n.mj-form-variant-picker-current {\n font-weight: 600;\n flex: 1;\n}\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 50;\n min-width: 280px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n box-shadow: var(--mj-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));\n padding: 4px;\n max-height: 320px;\n overflow: auto;\n}\n.mj-form-variant-picker-row {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: 6px;\n cursor: pointer;\n}\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface));\n}\n.mj-form-variant-picker-row.inactive {\n opacity: 0.7;\n}\n.mj-form-variant-picker-row-main {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1;\n min-width: 0;\n}\n.mj-form-variant-picker-row-title {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 11px;\n}\n\n/* Retrospective fix #8 \u2014 visually distinguish the Default row from variants. */\n.mj-form-variant-picker-row.mj-form-variant-picker-default {\n border-bottom: 1px dashed var(--mj-border-default);\n margin-bottom: 4px;\n padding-bottom: 10px;\n}\n.mj-form-variant-picker-default-tag {\n color: var(--mj-text-muted);\n font-weight: 400;\n font-size: 11px;\n margin-left: 4px;\n}\n\n/* ====================================================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ==================================================================== */\n@keyframes mj-remote-pill-slide-in {\n from {\n opacity: 0;\n transform: translateY(-8px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n.mj-forms-remote-update-pill {\n position: absolute;\n top: 56px;\n right: 24px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n border-radius: 999px;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n box-shadow: var(--mj-shadow-md, 0 4px 14px rgba(0, 0, 0, 0.12));\n color: var(--mj-text-primary);\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1.3;\n animation: mj-remote-pill-slide-in 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;\n}\n\n.mj-forms-remote-update-pill--warning {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mj-forms-remote-update-pill-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n\n.mj-forms-remote-update-pill--warning .mj-forms-remote-update-pill-icon {\n color: var(--mj-status-warning);\n}\n\n.mj-forms-remote-update-pill-action {\n border: none;\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n color: var(--mj-brand-primary);\n font: inherit;\n font-size: 11.5px;\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 999px;\n cursor: pointer;\n}\n\n.mj-forms-remote-update-pill-action:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 20%, transparent);\n}\n\n.mj-forms-remote-update-pill-close {\n border: none;\n background: transparent;\n color: var(--mj-text-muted);\n padding: 2px 4px;\n border-radius: 999px;\n cursor: pointer;\n line-height: 1;\n}\n\n.mj-forms-remote-update-pill-close:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n}\n\n/* ====================================================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n ==================================================================== */\n.mj-forms-version-preview-banner {\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px 20px;\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-elevated));\n border-bottom: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n color: var(--mj-text-primary);\n font-size: 13px;\n}\n\n.mj-forms-version-preview-top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.mj-forms-version-preview-main {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.mj-forms-version-preview-badge {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-version-preview-meta {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-author {\n color: var(--mj-text-secondary);\n font-size: 12px;\n}\n\n.mj-forms-version-preview-diff-pill {\n padding: 2px 9px;\n border-radius: 999px;\n font-size: 11.5px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-info) 14%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border: 1px solid color-mix(in srgb, var(--mj-status-info) 30%, transparent);\n}\n\n.mj-forms-version-preview-actions {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.mj-forms-version-preview-stepper {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px;\n border-radius: 6px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-step-btn {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: var(--mj-text-secondary);\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n}\n\n.mj-forms-version-preview-step-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-step-btn:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n.mj-forms-version-preview-step-count {\n padding: 0 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-version-preview-timeline-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n}\n\n.mj-forms-version-preview-timeline-btn:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border: 1px solid var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn:hover {\n background: var(--mj-brand-primary-hover);\n}\n\n.mj-forms-version-preview-exit-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-exit-btn:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-diffs-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n padding-top: 2px;\n}\n\n.mj-forms-version-preview-field-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 3px 9px;\n border-radius: 6px;\n font-size: 11.5px;\n background: var(--mj-bg-surface);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 28%, var(--mj-border-default));\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-field-chip-label {\n color: var(--mj-text-secondary);\n font-weight: 600;\n}\n\n.mj-forms-version-preview-field-chip-hist {\n color: var(--mj-brand-primary);\n font-weight: 700;\n}\n\n.mj-forms-version-preview-field-chip-live {\n color: var(--mj-text-muted);\n font-size: 11px;\n}\n\n.mj-forms-version-preview-field-chip-more {\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n padding: 2px 6px;\n}\n\n.mj-forms-version-preview-step-btn:focus-visible,\n.mj-forms-version-preview-timeline-btn:focus-visible,\n.mj-forms-version-preview-restore-btn:focus-visible,\n.mj-forms-version-preview-exit-btn:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n/* ============================================\n RAIL COMMENT COUNT BADGE & ANCHOR PULSE\n ============================================ */\n.mj-forms-chrome-rail-comments {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 1px 6px;\n border-radius: var(--mj-radius-full, 9999px);\n background: color-mix(in srgb, var(--mj-brand-primary) 14%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-size: 11px;\n font-weight: 600;\n line-height: 1.25;\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-comments.is-spine {\n margin-top: 6px;\n}\n\n@keyframes mj-forms-comment-pulse {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--mj-brand-primary) 55%, transparent);\n background-color: color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px transparent;\n background-color: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 transparent;\n background-color: transparent;\n }\n}\n\n.mj-forms-comment-anchor-pulse {\n border-radius: var(--mj-radius-sm, 6px);\n animation: mj-forms-comment-pulse 1.8s ease-out;\n}\n\n"], encapsulation: 2, changeDetection: 0 });
|
|
4321
4874
|
}
|
|
4322
4875
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MjRecordFormContainerComponent, [{
|
|
4323
4876
|
type: Component,
|
|
4324
|
-
args: [{ standalone: false, selector: 'mj-record-form-container', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [FormSlotCoordinator, FormChromeCoordinator, FormRecordRefreshCoordinator, FormSectionIndicatorCoordinator, FormFieldEditCoordinator], template: "<!-- ============================================\n BEFORE-TOOLBAR SLOT\n ============================================ -->\n<ng-content select=\"[before-toolbar]\"></ng-content>\n\n<!-- ============================================\n TOOLBAR (bridges FormComponent state \u2192 toolbar inputs)\n Hidden entirely when Config.Toolbar === null (dialog/slide-in surfaces).\n ============================================ -->\n@if (EffectiveShowToolbar) {\n<mj-form-toolbar\n [Record]=\"EffectiveRecord\"\n [EditMode]=\"EffectiveEditMode\"\n [UserCanEdit]=\"EffectiveUserCanEdit\"\n [UserCanDelete]=\"EffectiveUserCanDelete\"\n [IsFavorite]=\"EffectiveIsFavorite\"\n [FavoriteInitDone]=\"EffectiveFavoriteInitDone\"\n [IsDirty]=\"EffectiveIsDirty\"\n [DirtyFieldNames]=\"EffectiveDirtyFieldNames\"\n [ListCount]=\"ListCount\"\n [TagCount]=\"TagCount\"\n [LinksOpen]=\"ShowRecordLinks\"\n [LinkCount]=\"LinkCount\"\n [ConflictCount]=\"ConflictCount\"\n [AttachmentCount]=\"AttachmentCount\"\n [AttachmentsAvailable]=\"AttachmentsAvailable\"\n [IsAttachmentsPanelOpen]=\"ShowAttachmentsPanel\"\n [VersionCount]=\"VersionCount\"\n [EntityInfo]=\"EffectiveEntityInfo\"\n [Config]=\"EffectiveToolbarConfig\"\n [IsSaving]=\"EffectiveIsSaving\"\n [IsRefreshing]=\"EffectiveIsRefreshing\"\n [VisibleSectionCount]=\"VisibleSectionCount\"\n [TotalSectionCount]=\"TotalSectionCount\"\n [ExpandedSectionCount]=\"ExpandedSectionCount\"\n [SearchFilter]=\"EffectiveSearchFilter\"\n [ShowEmptyFields]=\"EffectiveShowEmptyFields\"\n [WidthMode]=\"EffectiveWidthMode\"\n [HasCustomSectionOrder]=\"EffectiveHasCustomSectionOrder\"\n [ChromeLayout]=\"ChromeLayout\"\n [Variants]=\"EffectiveVariants\"\n [CurrentVariantID]=\"EffectiveCurrentVariantID\"\n [RegisteredItems]=\"EffectiveRegisteredToolbarItems\"\n [ItemOverrides]=\"EffectiveToolbarItemOverrides\"\n [FormComponent]=\"fc\"\n (Navigate)=\"OnNavigate($event)\"\n (EditModeChange)=\"OnEditModeChange($event)\"\n (BeforeSave)=\"BeforeSave.emit($event)\"\n (SaveRequested)=\"OnSaveRequested()\"\n (BeforeCancel)=\"BeforeCancel.emit($event)\"\n (CancelRequested)=\"OnCancelRequested()\"\n (BeforeDelete)=\"BeforeDelete.emit($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (BeforeRefresh)=\"BeforeRefresh.emit($event)\"\n (RefreshRequested)=\"OnRefreshRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (BeforeHistoryView)=\"BeforeHistoryView.emit($event)\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (BeforeListManagement)=\"BeforeListManagement.emit($event)\"\n (ListManagementRequested)=\"OnListManagementRequested()\"\n (ShowChangesRequested)=\"OnShowChangesRequested()\"\n (CustomButtonClick)=\"CustomButtonClick.emit($event)\"\n (ToolbarItemClick)=\"ToolbarItemClick.emit($event)\"\n (FilterChange)=\"OnFilterChange($event)\"\n (ExpandAllRequested)=\"OnExpandAll()\"\n (CollapseAllRequested)=\"OnCollapseAll()\"\n (ShowEmptyFieldsChange)=\"OnShowEmptyFieldsChange($event)\"\n (WidthModeChange)=\"OnWidthModeChange($event)\"\n (ResetSectionOrderRequested)=\"OnResetSectionOrder()\"\n (ManageSectionsRequested)=\"OnManageSections()\"\n (TagsPanelToggled)=\"OnTagsPanelToggled()\"\n (LinksRequest)=\"OnToggleRecordLinks()\"\n (AttachmentsPanelToggled)=\"OnAttachmentsPanelToggled()\"\n (AskAIRequested)=\"OnAskAIRequested()\"\n (ActionPinChanged)=\"OnToolbarActionPinChanged($event)\"\n (VariantPicked)=\"OnVariantPicked($event)\">\n</mj-form-toolbar>\n}\n\n<!-- ============================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n Renders above the form when previewing a historical RecordChange snapshot\n ============================================ -->\n@if (ActiveVersionPreview; as preview) {\n <div class=\"mj-forms-version-preview-banner\" role=\"region\" aria-label=\"Historical version preview\">\n <div class=\"mj-forms-version-preview-top-row\">\n <div class=\"mj-forms-version-preview-main\">\n <span class=\"mj-forms-version-preview-badge\">\n <i class=\"fa-solid fa-clock-rotate-left\"></i>\n Time-Travel Preview\n </span>\n <span class=\"mj-forms-version-preview-meta\">\n <strong>{{ preview.VersionLabel }}</strong>\n <span class=\"mj-forms-version-preview-author\">by {{ preview.UserName }}</span>\n </span>\n <span class=\"mj-forms-version-preview-diff-pill\">\n {{ preview.DiffCount ?? 0 }} {{ (preview.DiffCount ?? 0) === 1 ? 'field differs' : 'fields differ' }} from live\n </span>\n </div>\n <div class=\"mj-forms-version-preview-actions\">\n @if ((preview.TotalRestoreableCount ?? 0) > 1) {\n <div class=\"mj-forms-version-preview-stepper\">\n <button type=\"button\"\n class=\"mj-forms-version-preview-step-btn\"\n [disabled]=\"(preview.CurrentIndex ?? 0) >= (preview.TotalRestoreableCount ?? 1) - 1\"\n title=\"Preview older version\"\n (click)=\"OnStepVersionPreview(1)\">\n <i class=\"fa-solid fa-chevron-left\"></i> Older\n </button>\n <span class=\"mj-forms-version-preview-step-count\">\n {{ (preview.TotalRestoreableCount ?? 1) - (preview.CurrentIndex ?? 0) }} / {{ preview.TotalRestoreableCount ?? 1 }}\n </span>\n <button type=\"button\"\n class=\"mj-forms-version-preview-step-btn\"\n [disabled]=\"(preview.CurrentIndex ?? 0) <= 0\"\n title=\"Preview newer version\"\n (click)=\"OnStepVersionPreview(-1)\">\n Newer <i class=\"fa-solid fa-chevron-right\"></i>\n </button>\n </div>\n }\n <button type=\"button\"\n class=\"mj-forms-version-preview-timeline-btn\"\n title=\"Reopen the Record Changes history timeline drawer\"\n (click)=\"OnReopenHistoryFromPreview()\">\n <i class=\"fa-solid fa-list-ul\"></i> Timeline\n </button>\n @if (EffectiveUserCanEdit && (preview.DiffCount ?? 0) > 0) {\n <button type=\"button\"\n class=\"mj-forms-version-preview-restore-btn\"\n (click)=\"OnRestorePreviewedVersion()\">\n <i class=\"fa-solid fa-rotate-left\"></i> Restore This Version...\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-version-preview-exit-btn\"\n (click)=\"OnExitVersionPreview()\">\n <i class=\"fa-solid fa-xmark\"></i> Exit Preview\n </button>\n </div>\n </div>\n @if (PreviewChangedFieldChips.length > 0) {\n <div class=\"mj-forms-version-preview-diffs-row\" aria-label=\"Changed fields in this version\">\n @for (diff of PreviewChangedFieldChips.slice(0, 6); track diff.FieldName) {\n <span class=\"mj-forms-version-preview-field-chip\"\n [title]=\"(diff.DisplayName || diff.FieldName) + ': ' + FormatPreviewDiffValue(diff.HistoricalValue) + ' (Current live: ' + FormatPreviewDiffValue(diff.CurrentLiveValue) + ')'\">\n <span class=\"mj-forms-version-preview-field-chip-label\">{{ diff.DisplayName || diff.FieldName }}:</span>\n <strong class=\"mj-forms-version-preview-field-chip-hist\">{{ FormatPreviewDiffValue(diff.HistoricalValue) }}</strong>\n <span class=\"mj-forms-version-preview-field-chip-live\">\u2190 Live: {{ FormatPreviewDiffValue(diff.CurrentLiveValue) }}</span>\n </span>\n }\n @if (PreviewChangedFieldChips.length > 6) {\n <span class=\"mj-forms-version-preview-field-chip-more\">\n +{{ PreviewChangedFieldChips.length - 6 }} more\n </span>\n }\n </div>\n }\n </div>\n}\n\n<!-- ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n Variant picker is now embedded in <mj-form-toolbar> as a right-side\n button \u2014 see the [Variants]/[CurrentVariantID] inputs + (VariantPicked)\n output on the toolbar above. Inline strip was removed.\n ============================================ -->\n<!-- Persistent polite live region for the section indicators (see FormIndicatorsAnnouncement) -->\n<span class=\"mj-forms-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">{{ FormIndicatorsAnnouncement }}</span>\n\n<!-- ============================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ============================================ -->\n@if (RemoteUpdatePill) {\n <div class=\"mj-forms-remote-update-pill\"\n [class.mj-forms-remote-update-pill--warning]=\"RemoteUpdatePill.Kind === 'stale-while-editing'\"\n role=\"status\"\n aria-live=\"polite\">\n <i [class]=\"RemoteUpdatePill.Kind === 'refreshed' ? 'fa-solid fa-bolt mj-forms-remote-update-pill-icon' : 'fa-solid fa-arrows-rotate mj-forms-remote-update-pill-icon'\"></i>\n <span class=\"mj-forms-remote-update-pill-text\">{{ RemoteUpdatePill.Summary }}</span>\n @if (RemoteUpdatePill.Kind === 'stale-while-editing') {\n <button type=\"button\"\n class=\"mj-forms-remote-update-pill-action\"\n (click)=\"OnReloadFromRemotePill()\">\n Reload\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-remote-update-pill-close\"\n title=\"Dismiss\"\n aria-label=\"Dismiss notification\"\n (click)=\"OnDismissRemoteUpdatePill()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n}\n\n<!-- ============================================\n POSSIBLE DUPLICATES (entry-time check, new records only)\n Flag only: never blocks a save. A name opens that record through Navigate.\n ============================================ -->\n@if (DuplicateEntryCandidates.length > 0) {\n <mj-alert class=\"mj-forms-duplicate-notice\"\n Variant=\"warning\"\n Size=\"sm\"\n Icon=\"fa-solid fa-clone\"\n Role=\"status\"\n Dismissible\n (Dismissed)=\"OnDuplicateNoticeDismissed()\">\n <span class=\"mj-forms-duplicate-notice-lead\">This may duplicate:</span>\n @for (candidate of DuplicateEntryCandidates; track candidate.RecordID; let last = $last) {\n <button type=\"button\"\n class=\"mj-forms-duplicate-notice-candidate\"\n [title]=\"'Open ' + candidate.DisplayName\"\n (click)=\"OnDuplicateCandidateClick(candidate)\">{{ candidate.DisplayName }}</button>@if (!last) {<span>, </span>}\n }\n </mj-alert>\n}\n\n<div class=\"mj-forms-scroll-area\">\n <div class=\"mj-forms-panels-container\"\n [class.mj-forms-panels--full-width]=\"EffectiveWidthMode === 'full-width'\"\n [class.mj-forms-panels--edit-mode]=\"EffectiveEditMode\"\n [class.mj-forms-panels--has-isa-panel]=\"HasIsaRelatedItems\">\n <!-- Flex row: optional left-nav + form panels + ISA side panel -->\n <div class=\"mj-forms-layout-row\"\n [class.mj-forms-layout--left-nav]=\"ChromeLayout === 'left-nav'\"\n [class.mj-forms-layout--accordion]=\"ChromeLayout === 'accordion'\"\n [class.mj-forms-layout--more]=\"IsChromeMoreActive\">\n @if (ShowChromeRail) {\n <nav class=\"mj-forms-chrome-rail\"\n [class.is-collapsed]=\"ChromeRailCollapsed\"\n [class.is-resizing]=\"RailResizing\"\n [style.width.px]=\"ChromeRailCollapsed ? null : ChromeRailWidthPx\"\n [attr.aria-expanded]=\"!ChromeRailCollapsed\"\n aria-label=\"Form sections\">\n @if (ChromeRailCollapsed) {\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-spine\"\n (click)=\"OnChromeRailExpand()\"\n [attr.aria-label]=\"'Show form sections \u2014 ' + ChromeActiveTitle\"\n [title]=\"'Show sections \u2014 ' + ChromeActiveTitle\">\n <i [class]=\"ChromeActiveIcon\"></i>\n <span class=\"mj-forms-chrome-rail-spine-label\"\n (mouseenter)=\"OnRailLabelHover($event, ChromeActiveTitle)\">{{ ChromeActiveTitle }}</span>\n <!-- Whole-form section indicators: no rail item is visible while collapsed -->\n @let formIndicators = FormIndicators;\n @if (formIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error is-spine\"\n role=\"img\"\n [title]=\"RailErrorTitle(formIndicators.ErrorCount, 'this record')\"\n [attr.aria-label]=\"RailErrorTitle(formIndicators.ErrorCount, 'this record')\">{{ formIndicators.ErrorCount }}</span>\n } @else if (formIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning is-spine\"\n role=\"img\"\n [title]=\"RailWarningTitle(formIndicators.WarningCount, 'this record')\"\n [attr.aria-label]=\"RailWarningTitle(formIndicators.WarningCount, 'this record')\">{{ formIndicators.WarningCount }}</span>\n }\n @if (formIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty is-spine\"\n role=\"img\"\n [title]=\"RailDirtyTitle(formIndicators.DirtyCount, 'this record')\"\n [attr.aria-label]=\"RailDirtyTitle(formIndicators.DirtyCount, 'this record')\"></span>\n }\n </button>\n } @else {\n <div class=\"mj-forms-chrome-rail-resizer\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n [attr.aria-valuenow]=\"ChromeRailWidthPx\"\n [attr.aria-valuemin]=\"RailWidthMin\"\n [attr.aria-valuemax]=\"RailWidthMax\"\n title=\"Drag to resize sections\"\n (pointerdown)=\"OnRailResizeStart($event)\"\n (pointermove)=\"OnRailResizeMove($event)\"\n (pointerup)=\"OnRailResizeEnd()\"\n (pointercancel)=\"OnRailResizeEnd()\"></div>\n <div class=\"mj-forms-chrome-rail-toolbar\">\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-pin\"\n [class.is-pinned]=\"ChromeRailPinned\"\n [attr.aria-pressed]=\"ChromeRailPinned\"\n [title]=\"ChromeRailPinned ? 'Unpin sections \u2014 they hide after you switch' : 'Pin sections open'\"\n (click)=\"OnChromeRailPinToggle()\">\n <i class=\"fa-solid fa-thumbtack\"></i>\n </button>\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-collapse\"\n title=\"Hide sections\"\n aria-label=\"Hide form sections\"\n (click)=\"OnChromeRailCollapse()\">\n <i class=\"fa-solid fa-angles-left\"></i>\n </button>\n </div>\n <!-- Rail items scroll on their own when they outgrow the viewport;\n the pin / collapse toolbar above stays put. -->\n <div class=\"mj-forms-chrome-rail-items\">\n @for (group of ChromeFirstClassGroups; track group.Key) {\n <div class=\"mj-forms-chrome-rail-item\"\n role=\"button\"\n tabindex=\"0\"\n [attr.data-rail-key]=\"group.Key\"\n [class.is-active]=\"ChromeActiveGroupKey === group.Key\"\n [attr.aria-current]=\"ChromeActiveGroupKey === group.Key ? 'page' : null\"\n [class.is-drag-over]=\"RailDragOverKey === group.Key\"\n [class.has-errors]=\"ChromeGroupIndicators(group).ErrorCount > 0\"\n [class.is-dirty]=\"ChromeGroupIndicators(group).DirtyCount > 0\"\n (click)=\"OnChromeGroupActivate(group.Key)\"\n (keydown.enter)=\"OnChromeGroupActivate(group.Key)\"\n (keydown.space)=\"$event.preventDefault(); OnChromeGroupActivate(group.Key)\"\n (dragover)=\"OnRailDragOver($event, group.Key)\"\n (dragleave)=\"OnRailDragLeave($event, group.Key)\"\n (drop)=\"OnRailDrop($event, group.Key)\">\n @if (ChromeReorderAllowed) {\n <span class=\"mj-forms-chrome-rail-handle\"\n title=\"Drag to reorder\"\n draggable=\"true\"\n (dragstart)=\"OnRailDragStart($event, group.Key)\"\n (dragend)=\"OnRailDragEnd()\"\n (click)=\"$event.stopPropagation()\">\n <i class=\"fa-solid fa-grip-vertical\"></i>\n </span>\n }\n <i [class]=\"group.Icon\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, group.Title)\">{{ group.Title }}</span>\n @let groupIndicators = ChromeGroupIndicators(group);\n @if (groupIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(groupIndicators.DirtyCount, group.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(groupIndicators.DirtyCount, group.Title)\"></span>\n }\n @if (groupIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(groupIndicators.ErrorCount, group.Title)\"\n [attr.aria-label]=\"RailErrorTitle(groupIndicators.ErrorCount, group.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ groupIndicators.ErrorCount }}\n </span>\n } @else if (groupIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(groupIndicators.WarningCount, group.Title)\"\n [attr.aria-label]=\"RailWarningTitle(groupIndicators.WarningCount, group.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ groupIndicators.WarningCount }}\n </span>\n }\n @let rowCount = ChromeGroupRowCount(group);\n @if (rowCount != null && rowCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ rowCount }}</span>\n }\n </div>\n }\n @if (ChromeMoreFolder; as more) {\n <div class=\"mj-forms-chrome-rail-item is-more-folder\"\n role=\"button\"\n tabindex=\"0\"\n [class.is-expanded]=\"MoreExpanded\"\n [class.has-errors]=\"ChromeGroupIndicators(more).ErrorCount > 0\"\n (click)=\"OnMoreFolderToggle()\"\n (keydown.enter)=\"OnMoreFolderToggle()\"\n (keydown.space)=\"$event.preventDefault(); OnMoreFolderToggle()\">\n <span class=\"mj-forms-chrome-rail-handle is-spacer\" aria-hidden=\"true\"></span>\n <i [class]=\"MoreExpanded ? 'fa-solid fa-folder-open' : 'fa-solid fa-folder'\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, more.Title)\">{{ more.Title }}</span>\n @let moreIndicators = ChromeGroupIndicators(more);\n @if (moreIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(moreIndicators.DirtyCount, more.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(moreIndicators.DirtyCount, more.Title)\"></span>\n }\n @if (moreIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(moreIndicators.ErrorCount, more.Title)\"\n [attr.aria-label]=\"RailErrorTitle(moreIndicators.ErrorCount, more.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ moreIndicators.ErrorCount }}\n </span>\n } @else if (moreIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(moreIndicators.WarningCount, more.Title)\"\n [attr.aria-label]=\"RailWarningTitle(moreIndicators.WarningCount, more.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ moreIndicators.WarningCount }}\n </span>\n }\n @if (!MoreExpanded) {\n @let moreRowCount = ChromeMoreRowCount;\n @if (moreRowCount != null && moreRowCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\" title=\"Rows across the sections in More\">{{ moreRowCount }}</span>\n }\n }\n <i class=\"fa-solid mj-forms-chrome-rail-more-toggle\"\n [class.fa-minus]=\"MoreExpanded\"\n [class.fa-plus]=\"!MoreExpanded\"\n aria-hidden=\"true\"></i>\n </div>\n @if (MoreExpanded) {\n <div class=\"mj-forms-chrome-rail-more-tree\">\n @for (child of ChromeMoreItems; track child.Key) {\n <div class=\"mj-forms-chrome-rail-item is-more-child\"\n role=\"button\"\n tabindex=\"0\"\n [class.is-active]=\"ChromeActiveGroupKey === child.Key\"\n [attr.aria-current]=\"ChromeActiveGroupKey === child.Key ? 'page' : null\"\n [class.is-drag-over]=\"RailDragOverKey === child.Key\"\n [class.has-errors]=\"ChromeGroupIndicators(child).ErrorCount > 0\"\n [class.is-dirty]=\"ChromeGroupIndicators(child).DirtyCount > 0\"\n (click)=\"OnChromeGroupActivate(child.Key)\"\n (keydown.enter)=\"OnChromeGroupActivate(child.Key)\"\n (keydown.space)=\"$event.preventDefault(); OnChromeGroupActivate(child.Key)\"\n (dragover)=\"OnRailDragOver($event, child.Key)\"\n (dragleave)=\"OnRailDragLeave($event, child.Key)\"\n (drop)=\"OnRailDrop($event, child.Key)\">\n @if (ChromeReorderAllowed) {\n <span class=\"mj-forms-chrome-rail-handle\"\n title=\"Drag to reorder\"\n draggable=\"true\"\n (dragstart)=\"OnRailDragStart($event, child.Key)\"\n (dragend)=\"OnRailDragEnd()\"\n (click)=\"$event.stopPropagation()\">\n <i class=\"fa-solid fa-grip-vertical\"></i>\n </span>\n }\n <i [class]=\"child.Icon\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, child.Title)\">{{ child.Title }}</span>\n @let childIndicators = ChromeGroupIndicators(child);\n @if (childIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(childIndicators.DirtyCount, child.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(childIndicators.DirtyCount, child.Title)\"></span>\n }\n @if (childIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(childIndicators.ErrorCount, child.Title)\"\n [attr.aria-label]=\"RailErrorTitle(childIndicators.ErrorCount, child.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ childIndicators.ErrorCount }}\n </span>\n } @else if (childIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(childIndicators.WarningCount, child.Title)\"\n [attr.aria-label]=\"RailWarningTitle(childIndicators.WarningCount, child.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ childIndicators.WarningCount }}\n </span>\n }\n @let childCount = ChromeGroupRowCount(child);\n @if (childCount != null && childCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ childCount }}</span>\n }\n </div>\n }\n </div>\n }\n }\n @let unroutedErrors = UnroutedValidationErrorCount;\n @if (unroutedErrors > 0) {\n <!-- A failed save's errors that no rail item owns. Without this row they were counted\n only on the collapsed spine, so an EXPANDED rail could look clean over a form\n the server had just refused. -->\n <div class=\"mj-forms-chrome-rail-unrouted\"\n role=\"note\"\n [attr.aria-label]=\"RailUnroutedErrorTitle(unroutedErrors)\"\n [title]=\"RailUnroutedErrorTitle(unroutedErrors)\">\n <span class=\"mj-forms-chrome-rail-handle is-spacer\" aria-hidden=\"true\"></span>\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>\n <span class=\"mj-forms-chrome-rail-label\">Not in a section</span>\n <span class=\"mj-forms-chrome-rail-error is-unrouted\" role=\"img\"\n [attr.aria-label]=\"RailUnroutedErrorTitle(unroutedErrors)\">{{ unroutedErrors }}</span>\n </div>\n }\n </div>\n }\n </nav>\n }\n <!-- All panels in a single flex container \u2014 CSS order drives sequencing -->\n <div class=\"mj-forms-all-panels\">\n <ng-content></ng-content>\n\n <!--\n Fill-in related grids for DisplayInForm relationships the template\n did not bake and no registered panel claimed. Claimed / extra panels\n still mount via mj-form-panel-slot. See plans/form-contributions.md.\n -->\n @if (Record && FormComponent) {\n <mj-form-contributions\n [Record]=\"Record\"\n [FormComponent]=\"FormComponent\"\n [FormContext]=\"FormComponent.formContext\"\n [BakedSectionKeys]=\"BakedRelatedSectionKeys\"\n [ShowRelatedEntities]=\"EffectiveShowRelatedEntities\">\n </mj-form-contributions>\n }\n\n <!--\n Container-provided fallback slot. ALWAYS present \u2014 last in document\n order \u2014 so any panel whose registered slot isn't found in the current\n form falls through here via FormSlotCoordinator's chain. Downstream\n consumers that haven't rerun CodeGen against the slot-emitting\n template still see every panel; they just render at the bottom\n instead of at their preferred position.\n -->\n @if (ShowMoreToggle) {\n <div class=\"mj-forms-more-overflow\" [class.is-expanded]=\"MoreExpanded\">\n <button type=\"button\"\n class=\"mj-forms-more-overflow-toggle\"\n (click)=\"OnMoreToggle()\">\n <i [class]=\"MoreExpanded ? 'fa-solid fa-folder-open' : 'fa-solid fa-folder'\"></i>\n <span class=\"mj-forms-more-overflow-label\">{{ MoreExpanded ? 'Hide more' : 'More' }}</span>\n @if (!MoreExpanded && MorePreview) {\n <span class=\"mj-forms-more-overflow-preview\">{{ MorePreview }}</span>\n }\n @if (!MoreExpanded) {\n @let accordionMoreCount = ChromeMoreRowCount;\n @if (accordionMoreCount != null && accordionMoreCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\" title=\"Rows across the sections in More\">{{ accordionMoreCount }}</span>\n }\n }\n <i class=\"fa-solid\"\n [class.fa-chevron-down]=\"MoreExpanded\"\n [class.fa-chevron-right]=\"!MoreExpanded\"></i>\n </button>\n </div>\n }\n\n @if (Record && FormComponent) {\n <mj-form-panel-slot\n [Entity]=\"Record.EntityInfo.Name\"\n Slot=\"after-everything\"\n [Record]=\"Record\"\n [FormComponent]=\"FormComponent\">\n </mj-form-panel-slot>\n }\n\n <!-- Empty state when no sections match search -->\n @if (EffectiveSearchFilter && SearchHasNoMatches) {\n <mj-empty-state class=\"mj-forms-empty-search-state\"\n Variant=\"no-results\"\n Title=\"No sections found\"\n [Message]=\"'No sections match "' + EffectiveSearchFilter + '". Try a different search term.'\"\n ActionText=\"Clear search\"\n ActionIcon=\"fa-solid fa-rotate-left\"\n ActionVariant=\"flat\"\n (Action)=\"OnFilterChange('')\" />\n }\n </div>\n\n <!-- IS-A Related Records Side Panel -->\n <mj-isa-related-panel\n [Record]=\"EffectiveRecord\"\n [EditMode]=\"EffectiveEditMode\"\n [Collapsed]=\"EffectiveWidthMode === 'full-width'\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-isa-related-panel>\n </div>\n </div>\n</div>\n\n<!-- ============================================\n RECORD CHANGES DRAWER (shown when history button clicked)\n ============================================ -->\n@if (ShowRecordChanges && EffectiveRecord) {\n <mj-record-changes\n [record]=\"EffectiveRecord\"\n [AllowRestore]=\"EffectiveUserCanEdit\"\n [PreviewedChangeID]=\"ActiveVersionPreview?.ChangeID ?? null\"\n (PreviewVersionSelected)=\"OnPreviewVersionSelected($event)\"\n (RestoreRequested)=\"OnRestoreRequested($event)\"\n (dialogClosed)=\"OnRecordChangesClosed()\">\n </mj-record-changes>\n}\n\n<!-- ============================================\n TAGS PANEL (shown when tags button clicked)\n ============================================ -->\n@if (ShowTagsPanel && EffectiveRecord) {\n <mj-record-tags\n [Record]=\"EffectiveRecord\"\n [WidthPx]=\"TagsPanelWidth\"\n (PanelClosed)=\"OnTagsPanelClosed()\"\n (TagCountChanged)=\"OnTagCountChanged($event)\"\n (RecordNavigate)=\"OnTagsRecordNavigate($event)\"\n (WidthChanged)=\"OnTagsPanelWidthChanged($event)\">\n </mj-record-tags>\n}\n\n<!-- ============================================\n LINKS DRAWER (shown when links button clicked)\n ============================================ -->\n@if (ShowRecordLinks && EffectiveRecord && EffectiveRecord.IsSaved) {\n <mj-record-links\n [Provider]=\"Provider\"\n [Record]=\"EffectiveRecord\"\n [Mode]=\"'drawer'\"\n [IsOpen]=\"ShowRecordLinks\"\n (Close)=\"OnRecordLinksClosed()\"\n (LinkCountChange)=\"OnLinkCountChanged($event)\"\n (LinksSummaryChange)=\"OnLinksSummaryChanged($event)\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-record-links>\n}\n\n<!-- ============================================\n ATTACHMENTS PANEL (shown when attachments button clicked)\n ============================================ -->\n@if (ShowAttachmentsPanel && AttachmentsAvailable && EffectiveRecord) {\n <mj-record-attachments\n [Record]=\"EffectiveRecord\"\n [Visible]=\"true\"\n (PanelClosed)=\"OnAttachmentsPanelClosed()\"\n (AttachmentCountChanged)=\"OnAttachmentCountChanged($event)\">\n </mj-record-attachments>\n}\n\n<!-- ============================================\n LIST MANAGEMENT DIALOG (shown when lists button clicked)\n ============================================ -->\n@if (ShowListManagement && EffectiveRecord) {\n <mj-list-management-dialog\n [visible]=\"ShowListManagement\"\n [config]=\"{\n mode: 'manage',\n entityId: EffectiveRecord.EntityInfo.ID,\n entityName: EffectiveRecord.EntityInfo.Name,\n recordIds: [EffectiveRecord.PrimaryKey.Values()[0]],\n allowCreate: true\n }\"\n (complete)=\"OnListManagementComplete($event)\"\n (cancel)=\"OnListManagementClosed()\">\n </mj-list-management-dialog>\n}\n\n<!-- ============================================\n SECTION MANAGER DRAWER (shown when manage-sections button clicked)\n ============================================ -->\n<mj-section-manager\n [Sections]=\"SectionManagerItems\"\n [SectionOrder]=\"SectionManagerOrder\"\n [MoreSectionKeys]=\"SectionManagerMoreKeys\"\n [LockedMoreKeys]=\"SectionManagerLockedMoreKeys\"\n [Visible]=\"ShowSectionManager\"\n (SectionOrderChange)=\"OnSectionOrderChange($event)\"\n (MembershipChange)=\"OnChromeMembershipChange($event)\"\n (ResetRequested)=\"OnSectionManagerReset()\"\n (Closed)=\"OnSectionManagerClosed()\">\n</mj-section-manager>\n\n<!-- ============================================\n PANEL MANAGER DRAWER \u2014 what is registered on this form, and the switches for it\n ============================================ -->\n<mj-panel-manager\n [Visible]=\"ShowPanelManager\"\n [Entity]=\"EffectiveEntityInfo\"\n [Compiled]=\"PanelManagerCompiled\"\n [StockGrids]=\"PanelManagerStockGrids\"\n [FullCustomForm]=\"!!fc?.OwnsEntireFormBody\"\n [TitleByKey]=\"PanelManagerTitles\"\n [Related]=\"PanelManagerRelated\"\n [Provider]=\"ProviderToUse\"\n [Variants]=\"EffectiveVariants\"\n [CurrentFormID]=\"EffectiveCurrentVariantID\"\n [RecordKey]=\"PanelManagerRecordKey\"\n (Changed)=\"OnPanelManagerChanged()\"\n (FormChosen)=\"OnPanelManagerFormChosen($event)\"\n (Closed)=\"OnPanelManagerClosed()\">\n</mj-panel-manager>\n", styles: ["/* ============================================\n RECORD FORM CONTAINER \u2014 uses global --mj-* design tokens\n Top-level wrapper: toolbar + scrollable content\n ============================================ */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ViewEncapsulation.None fallback \u2014 ensure the element itself constrains overflow */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ============================================\n POSSIBLE-DUPLICATE NOTICE (entry-time check on a new record)\n Sits between the toolbar and the scroll area, so it stays in view.\n ============================================ */\n.mj-forms-duplicate-notice {\n flex: 0 0 auto;\n margin: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mj-forms-duplicate-notice-lead {\n margin-right: var(--mj-space-1);\n}\n\n.mj-forms-duplicate-notice-candidate {\n padding: 0;\n border: none;\n background: none;\n font: inherit;\n color: var(--mj-text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.mj-forms-duplicate-notice-candidate:hover {\n color: var(--mj-text-link-hover);\n}\n\n.mj-forms-duplicate-notice-candidate:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: 2px;\n border-radius: var(--mj-radius-sm);\n}\n\n/* ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n ============================================ */\n.mj-forms-scroll-area {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n background: var(--mj-bg-page);\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n/* ============================================\n PANELS CONTAINER (centered content within scroll area)\n ============================================ */\n.mj-forms-panels-container {\n padding: 24px 32px 48px;\n max-width: 920px;\n margin: 0 auto;\n width: 100%;\n box-sizing: border-box;\n flex: 1;\n min-height: 0;\n}\n\n/* Widen max-width when ISA side panel is present */\n.mj-forms-panels--has-isa-panel {\n max-width: 1240px;\n}\n\n.mj-forms-panels--full-width {\n max-width: none;\n padding-left: 24px;\n padding-right: 24px;\n}\n\n/* Flex row layout: form panels + optional ISA side panel */\n.mj-forms-layout-row {\n display: flex;\n gap: 20px;\n align-items: flex-start;\n}\n\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n padding: 16px 20px 24px;\n display: flex;\n flex-direction: column;\n /* Definite height = the scroll-area's client box. min-height: 100% alone\n lets the column grow with content and never gives related grids a\n containing-block height, so Height:auto (100%) on the grid collapses. */\n height: 100%;\n max-height: 100%;\n min-height: 0;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* Centered left-nav keeps the form column at the same 920px as accordion,\n plus the rail. Full-width still uses .mj-forms-panels--full-width. */\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav):not(.mj-forms-panels--full-width) {\n max-width: 1160px;\n}\n\n.mj-forms-layout-row.mj-forms-layout--left-nav {\n flex: 1;\n min-height: 0;\n /* Wins over .mj-forms-layout-row { align-items: flex-start } so the\n body column stretches to the rail / viewport instead of hugging content. */\n align-items: stretch;\n gap: 16px;\n}\n\n/* Left-nav: only the active rail item is in the body. Slot-mounted\n panels never inject the container coordinator, so host classes set\n from the container are the hide/show channel that always reaches them. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-hidden,\n.mj-forms-layout--accordion mj-collapsible-panel.mj-chrome-hidden {\n display: none;\n}\n\n/* Selected item: no accordion chrome \u2014 the rail is the header. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-header {\n display: none;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel {\n box-shadow: none;\n border: 0;\n background: transparent;\n border-radius: 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-body--collapsed {\n max-height: none;\n padding: 0;\n opacity: 1;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-content {\n max-height: none;\n padding: 0;\n overflow: visible;\n}\n\n/* Details: every field panel shows under ONE rail item, and the rail label\n cannot head several loose field lists \u2014 without a surface the rows float\n on the page background. So the Details panels render as ONE card: each\n panel is a segment (surface + side borders, no radius), and the container\n marks the visual first / last (CSS order, not DOM order) to close the top\n and bottom edges. No per-section headers \u2014 the sections are plain groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel {\n background: var(--mj-bg-surface-card);\n border-left: 1px solid var(--mj-border-default);\n border-right: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first {\n margin-top: 8px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel {\n border-top: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md) var(--mj-radius-md) 0 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel {\n border-bottom: 1px solid var(--mj-border-default);\n border-radius: 0 0 var(--mj-radius-md) var(--mj-radius-md);\n box-shadow: var(--mj-shadow-sm);\n}\n\n/* One panel = whole card: both edges on the same element. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first.mj-chrome-details-last .mj-forms-panel {\n border-radius: var(--mj-radius-md);\n}\n\n/* Segment padding: sides always; top / bottom only at the card's edges, and a\n half-step between segments so the groups still read as groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel-content {\n padding: 8px 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel-content {\n padding-top: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel-content {\n padding-bottom: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show {\n /* Content-sized (see RelatedGridHeightPx). Do not flex-fill leftover\n column space \u2014 a form header above the grid can collapse that to 0. */\n flex: 0 0 auto;\n min-height: 0;\n}\n\n/* Accordion related panels use a 400px resizable box. Left-nav grids\n set their own pixel height from row count (RelatedGridHeightPx). */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show .mj-forms-panel-content {\n height: auto;\n max-height: none;\n overflow: hidden;\n resize: none;\n}\n\n/* Slot-mounted contributions (heroes, overview strips) are always visible, so\n they sit in the same column as the active rail panel and need rhythm between\n them. Collapsed siblings are `display: none`, so this gap only ever applies\n between items that are actually on screen. Tighter than the accordion's 16px\n because left-nav strips panel chrome and reads as one continuous column.\n `mj-form-panel-slot` and the panel hosts are `display: contents`, so the gap\n lands between the panels' own content boxes rather than around the slot. */\n.mj-forms-layout--left-nav .mj-forms-all-panels {\n gap: 12px;\n min-height: 0;\n overflow-y: auto;\n}\n\n/* Details (field panels) can be taller than the viewport \u2014 scroll inside the\n column. Related grids scroll inside AG Grid instead. */\n.mj-forms-layout--left-nav .mj-forms-all-panels:has(mj-collapsible-panel.mj-chrome-show:not(.mj-panel--related-entity)) {\n overflow-y: auto;\n}\n\n.mj-forms-layout--left-nav .mj-forms-all-panels > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n/* Slot-mounted panels: <mj-form-panel-slot> and the panel host it mounts are\n both display:contents, so the flex items here are the panel template's root\n elements, two DOM levels down where the child selector above cannot reach.\n Without this a root with overflow other than visible (min-height resolves\n to 0) shrinks to fit the column, clipping a header card to its title row. */\n.mj-forms-layout--left-nav .mj-forms-all-panels > mj-form-panel-slot > * > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n.mj-forms-layout--left-nav .biz-hero {\n margin-bottom: 4px;\n}\n\n/* All panels in a single flex container \u2014 CSS order drives sequencing */\n.mj-forms-all-panels {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n min-width: 0;\n}\n\n/* Hide related entity panels in edit mode (variant host class on mj-collapsible-panel) */\n.mj-forms-panels--edit-mode .mj-panel--related-entity,\n.mj-forms-panels--edit-mode .mj-forms-more-overflow {\n display: none;\n}\n\n/* Detail / More panels sort after the overflow footer */\nmj-collapsible-panel.mj-form-role-detail,\nmj-collapsible-panel.mj-form-role-more {\n order: 8500;\n}\n\n.mj-forms-more-overflow {\n order: 8400;\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n padding-top: 12px;\n border-top: 1px dashed var(--mj-border-subtle);\n}\n\n.mj-forms-more-overflow-toggle {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 6px 2px;\n border: 0;\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n cursor: pointer;\n text-align: left;\n}\n\n.mj-forms-more-overflow-toggle:hover {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-more-overflow-label {\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-more-overflow-preview {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--mj-text-disabled);\n font-weight: var(--mj-font-normal);\n}\n\n.mj-forms-more-overflow-toggle .fa-chevron-right,\n.mj-forms-more-overflow-toggle .fa-chevron-down {\n margin-left: auto;\n}\n\n.mj-forms-chrome-rail {\n flex: 0 0 auto;\n width: 200px;\n max-width: 360px;\n min-width: 160px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n position: sticky;\n top: 0;\n align-self: stretch;\n min-height: 0;\n padding: 4px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n}\n\n/* The rail is as tall as the body column; when it has more items than fit,\n the ITEMS scroll (the pin / collapse toolbar above stays fixed). Without\n this the overflow was clipped by the panels container. */\n.mj-forms-chrome-rail-items {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n}\n\n.mj-forms-chrome-rail.is-resizing {\n user-select: none;\n}\n\n.mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 36px;\n width: 36px;\n min-width: 36px;\n max-width: 36px;\n padding: 8px 0;\n overflow: hidden;\n}\n\n.mj-forms-chrome-rail-resizer {\n position: absolute;\n top: 0;\n right: -4px;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 3;\n touch-action: none;\n}\n\n.mj-forms-chrome-rail-resizer::after {\n content: '';\n position: absolute;\n top: 12px;\n bottom: 12px;\n left: 3px;\n width: 2px;\n border-radius: 1px;\n background: transparent;\n}\n\n.mj-forms-chrome-rail:hover .mj-forms-chrome-rail-resizer::after,\n.mj-forms-chrome-rail.is-resizing .mj-forms-chrome-rail-resizer::after {\n background: var(--mj-border-strong);\n}\n\n.mj-forms-layout--right-nav .mj-forms-chrome-rail-resizer {\n right: auto;\n left: -4px;\n}\n\n.mj-forms-chrome-rail-spine {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 8px 0;\n border: 0;\n background: transparent;\n color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-spine:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-forms-chrome-rail-spine > i {\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-spine-label {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.04em;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-height: 100%;\n}\n\n.mj-forms-chrome-rail-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 2px;\n padding: 2px 4px 6px;\n}\n\n.mj-forms-chrome-rail-pin,\n.mj-forms-chrome-rail-collapse {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-pin:hover,\n.mj-forms-chrome-rail-collapse:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-pin:not(.is-pinned) i {\n transform: rotate(45deg);\n}\n\n.mj-forms-chrome-rail-pin.is-pinned {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-chrome-rail-item.is-active::before {\n content: '';\n position: absolute;\n left: 0;\n top: 6px;\n bottom: 6px;\n width: 3px;\n border-radius: 0 3px 3px 0;\n background: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-label {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-drag-over {\n outline: 1px dashed var(--mj-border-focus);\n outline-offset: -1px;\n}\n\n.mj-forms-chrome-rail-handle {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 18px;\n margin-left: -4px;\n color: var(--mj-text-muted);\n cursor: grab;\n opacity: 0;\n overflow: hidden;\n flex-shrink: 0;\n transition: opacity var(--mj-transition-base, 0.15s) ease;\n}\n\n.mj-forms-chrome-rail-item:hover .mj-forms-chrome-rail-handle,\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-handle {\n opacity: 1;\n}\n\n.mj-forms-chrome-rail-handle.is-spacer {\n opacity: 0;\n pointer-events: none;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-handle:hover {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-handle:active {\n cursor: grabbing;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder {\n position: relative;\n margin-top: 14px;\n padding-top: 14px;\n color: var(--mj-text-muted);\n border-radius: 0;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder::before {\n content: '';\n position: absolute;\n top: 0;\n left: 8px;\n right: 8px;\n height: 1px;\n background: linear-gradient(\n 90deg,\n transparent 0%,\n var(--mj-border-strong) 18%,\n var(--mj-border-strong) 82%,\n transparent 100%\n );\n}\n\n.mj-forms-chrome-rail-item.is-more-folder:hover {\n background: transparent;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-item.is-more-folder.is-expanded {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-more-toggle {\n margin-left: auto;\n font-size: 10px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-chrome-rail-more-tree {\n margin-left: 22px;\n padding-left: 6px;\n border-left: 1px solid var(--mj-border-subtle);\n}\n\n.mj-forms-chrome-rail-item.is-more-child {\n padding-left: 8px;\n}\n\n.mj-forms-chrome-rail-label {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Related-grid row count. Not rendered at 0 \u2014 an empty grid is not a signal, and a\n grey \"0\" beside the red invalid count reads as one more thing to attend to. */\n.mj-forms-chrome-rail-count {\n min-width: 1.25rem;\n padding: 0 6px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n text-align: center;\n}\n\n/* Screen-reader-only text (the indicators' live region). */\n.mj-forms-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n/* ============================================\n RAIL SECTION INDICATORS\n A rail item says WHICH section holds unsaved edits or an invalid field, read\n live from the panels it fronts (FormSectionIndicatorCoordinator). Same idioms\n as the fields themselves: the 6px amber dot an edited field shows after its\n label, and the error colour a failing field paints its underline in.\n ============================================ */\n.mj-forms-chrome-rail-dirty {\n flex: 0 0 auto;\n width: var(--mj-space-1-5);\n height: var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-warning);\n}\n\n.mj-forms-chrome-rail-error,\n.mj-forms-chrome-rail-warning {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n min-width: var(--mj-space-5);\n padding: var(--mj-space-px) var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.2;\n text-align: center;\n}\n\n.mj-forms-chrome-rail-error {\n background: var(--mj-status-error);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-chrome-rail-warning {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border: 1px solid var(--mj-status-warning-border);\n}\n\n.mj-forms-chrome-rail-error i,\n.mj-forms-chrome-rail-warning i {\n font-size: var(--mj-space-2-5);\n}\n\n/* Failures no rail item owns: same row shape as an item, not interactive, error-tinted. */\n.mj-forms-chrome-rail-unrouted {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border-radius: var(--mj-radius-sm);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-unrouted > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-unrouted > .mj-forms-chrome-rail-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The section's icon takes the error colour too, so the item reads as failing\n even before the badge is noticed \u2014 but never the active item's brand tint. */\n.mj-forms-chrome-rail-item.has-errors:not(.is-active) > i {\n color: var(--mj-status-error);\n}\n\n/* Collapsed spine: a column of icon \u2192 badge / dot \u2192 rotated label. */\n.mj-forms-chrome-rail-error.is-spine,\n.mj-forms-chrome-rail-warning.is-spine {\n order: 1;\n padding: 0 var(--mj-space-1);\n min-width: var(--mj-space-5);\n}\n\n.mj-forms-chrome-rail-dirty.is-spine {\n order: 1;\n}\n\n.mj-forms-chrome-rail-spine > .mj-forms-chrome-rail-spine-label {\n order: 2;\n}\n\n@media (max-width: 720px) {\n .mj-forms-layout--left-nav {\n flex-direction: column;\n }\n\n .mj-forms-chrome-rail {\n flex: 1 1 auto;\n width: 100%;\n position: static;\n flex-direction: row;\n flex-wrap: wrap;\n }\n\n .mj-forms-chrome-rail-resizer {\n display: none;\n }\n\n .mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 auto;\n width: 100%;\n min-width: 0;\n max-width: none;\n height: 36px;\n padding: 0;\n }\n\n .mj-forms-chrome-rail-spine {\n flex-direction: row;\n padding: 0 12px;\n }\n\n .mj-forms-chrome-rail-spine-label {\n writing-mode: horizontal-tb;\n transform: none;\n max-height: none;\n }\n\n .mj-forms-chrome-rail-toolbar {\n width: 100%;\n }\n\n .mj-forms-chrome-rail-item {\n width: auto;\n }\n\n /* Phones: the rail is a wrapping row of chips, so the items wrapper must\n wrap too \u2014 a column here stacks one chip per row and grows past the\n rail (no scroll, body pushed out). */\n .mj-forms-chrome-rail-items {\n flex-direction: row;\n flex-wrap: wrap;\n overflow: visible;\n min-height: auto;\n }\n}\n\n/* ============================================\n EMPTY SEARCH STATE\n ============================================ */\n.mj-forms-empty-search-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 80px 24px;\n text-align: center;\n min-height: 400px;\n}\n\n.mj-forms-empty-search-icon {\n width: 80px;\n height: 80px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 24px;\n}\n\n.mj-forms-empty-search-icon i {\n font-size: 32px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-empty-search-title {\n font-size: var(--mj-text-xl);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n margin: 0 0 12px 0;\n}\n\n.mj-forms-empty-search-message {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n max-width: 400px;\n margin: 0;\n}\n\n.mj-forms-empty-search-message strong {\n color: var(--mj-text-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-empty-search-link {\n color: var(--mj-brand-primary);\n text-decoration: none;\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-empty-search-link:hover {\n text-decoration: underline;\n}\n\n/* ============================================\n RESPONSIVE\n ============================================ */\n@media (max-width: 768px) {\n .mj-forms-panels-container {\n padding: 16px 12px 32px;\n }\n}\n\n/* ====================================================================\n VARIANT PICKER \u2014 between toolbar and form body\n Compact \"Form: <name> \u25BE\" row that appears when more than one variant\n is applicable for the current entity record.\n ==================================================================== */\n\n.mj-form-variant-picker {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 6px 18px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12px;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n.mj-form-variant-picker-label {\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-control {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 4px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n cursor: pointer;\n outline: none;\n user-select: none;\n min-width: 160px;\n}\n.mj-form-variant-picker-control:hover,\n.mj-form-variant-picker-control:focus,\n.mj-form-variant-picker-control.open {\n border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n}\n.mj-form-variant-picker-current {\n font-weight: 600;\n flex: 1;\n}\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 50;\n min-width: 280px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n box-shadow: var(--mj-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));\n padding: 4px;\n max-height: 320px;\n overflow: auto;\n}\n.mj-form-variant-picker-row {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: 6px;\n cursor: pointer;\n}\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface));\n}\n.mj-form-variant-picker-row.inactive {\n opacity: 0.7;\n}\n.mj-form-variant-picker-row-main {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1;\n min-width: 0;\n}\n.mj-form-variant-picker-row-title {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 11px;\n}\n\n/* Retrospective fix #8 \u2014 visually distinguish the Default row from variants. */\n.mj-form-variant-picker-row.mj-form-variant-picker-default {\n border-bottom: 1px dashed var(--mj-border-default);\n margin-bottom: 4px;\n padding-bottom: 10px;\n}\n.mj-form-variant-picker-default-tag {\n color: var(--mj-text-muted);\n font-weight: 400;\n font-size: 11px;\n margin-left: 4px;\n}\n\n/* ====================================================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ==================================================================== */\n@keyframes mj-remote-pill-slide-in {\n from {\n opacity: 0;\n transform: translateY(-8px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n.mj-forms-remote-update-pill {\n position: absolute;\n top: 56px;\n right: 24px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n border-radius: 999px;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n box-shadow: var(--mj-shadow-md, 0 4px 14px rgba(0, 0, 0, 0.12));\n color: var(--mj-text-primary);\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1.3;\n animation: mj-remote-pill-slide-in 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;\n}\n\n.mj-forms-remote-update-pill--warning {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mj-forms-remote-update-pill-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n\n.mj-forms-remote-update-pill--warning .mj-forms-remote-update-pill-icon {\n color: var(--mj-status-warning);\n}\n\n.mj-forms-remote-update-pill-action {\n border: none;\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n color: var(--mj-brand-primary);\n font: inherit;\n font-size: 11.5px;\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 999px;\n cursor: pointer;\n}\n\n.mj-forms-remote-update-pill-action:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 20%, transparent);\n}\n\n.mj-forms-remote-update-pill-close {\n border: none;\n background: transparent;\n color: var(--mj-text-muted);\n padding: 2px 4px;\n border-radius: 999px;\n cursor: pointer;\n line-height: 1;\n}\n\n.mj-forms-remote-update-pill-close:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n}\n\n/* ====================================================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n ==================================================================== */\n.mj-forms-version-preview-banner {\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px 20px;\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-elevated));\n border-bottom: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n color: var(--mj-text-primary);\n font-size: 13px;\n}\n\n.mj-forms-version-preview-top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.mj-forms-version-preview-main {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.mj-forms-version-preview-badge {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-version-preview-meta {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-author {\n color: var(--mj-text-secondary);\n font-size: 12px;\n}\n\n.mj-forms-version-preview-diff-pill {\n padding: 2px 9px;\n border-radius: 999px;\n font-size: 11.5px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-info) 14%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border: 1px solid color-mix(in srgb, var(--mj-status-info) 30%, transparent);\n}\n\n.mj-forms-version-preview-actions {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.mj-forms-version-preview-stepper {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px;\n border-radius: 6px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-step-btn {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: var(--mj-text-secondary);\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n}\n\n.mj-forms-version-preview-step-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-step-btn:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n.mj-forms-version-preview-step-count {\n padding: 0 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-version-preview-timeline-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n}\n\n.mj-forms-version-preview-timeline-btn:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border: 1px solid var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn:hover {\n background: var(--mj-brand-primary-hover);\n}\n\n.mj-forms-version-preview-exit-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-exit-btn:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-diffs-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n padding-top: 2px;\n}\n\n.mj-forms-version-preview-field-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 3px 9px;\n border-radius: 6px;\n font-size: 11.5px;\n background: var(--mj-bg-surface);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 28%, var(--mj-border-default));\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-field-chip-label {\n color: var(--mj-text-secondary);\n font-weight: 600;\n}\n\n.mj-forms-version-preview-field-chip-hist {\n color: var(--mj-brand-primary);\n font-weight: 700;\n}\n\n.mj-forms-version-preview-field-chip-live {\n color: var(--mj-text-muted);\n font-size: 11px;\n}\n\n.mj-forms-version-preview-field-chip-more {\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n padding: 2px 6px;\n}\n\n.mj-forms-version-preview-step-btn:focus-visible,\n.mj-forms-version-preview-timeline-btn:focus-visible,\n.mj-forms-version-preview-restore-btn:focus-visible,\n.mj-forms-version-preview-exit-btn:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n"] }]
|
|
4877
|
+
args: [{ standalone: false, selector: 'mj-record-form-container', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
|
4878
|
+
FormSlotCoordinator,
|
|
4879
|
+
FormChromeCoordinator,
|
|
4880
|
+
FormRecordRefreshCoordinator,
|
|
4881
|
+
FormSectionIndicatorCoordinator,
|
|
4882
|
+
FormFieldEditCoordinator,
|
|
4883
|
+
FormRecordCommentsCoordinatorService,
|
|
4884
|
+
], template: "<!-- ============================================\n BEFORE-TOOLBAR SLOT\n ============================================ -->\n<ng-content select=\"[before-toolbar]\"></ng-content>\n\n<!-- ============================================\n TOOLBAR (bridges FormComponent state \u2192 toolbar inputs)\n Hidden entirely when Config.Toolbar === null (dialog/slide-in surfaces).\n ============================================ -->\n@if (EffectiveShowToolbar) {\n<mj-form-toolbar\n [Record]=\"EffectiveRecord\"\n [EditMode]=\"EffectiveEditMode\"\n [UserCanEdit]=\"EffectiveUserCanEdit\"\n [UserCanDelete]=\"EffectiveUserCanDelete\"\n [IsFavorite]=\"EffectiveIsFavorite\"\n [FavoriteInitDone]=\"EffectiveFavoriteInitDone\"\n [IsDirty]=\"EffectiveIsDirty\"\n [DirtyFieldNames]=\"EffectiveDirtyFieldNames\"\n [ListCount]=\"ListCount\"\n [TagCount]=\"TagCount\"\n [CommentsOpen]=\"ShowRecordComments\"\n [CommentCount]=\"CommentCount\"\n [LinksOpen]=\"ShowRecordLinks\"\n [LinkCount]=\"LinkCount\"\n [ConflictCount]=\"ConflictCount\"\n [AttachmentCount]=\"AttachmentCount\"\n [AttachmentsAvailable]=\"AttachmentsAvailable\"\n [IsAttachmentsPanelOpen]=\"ShowAttachmentsPanel\"\n [VersionCount]=\"VersionCount\"\n [EntityInfo]=\"EffectiveEntityInfo\"\n [Config]=\"EffectiveToolbarConfig\"\n [IsSaving]=\"EffectiveIsSaving\"\n [IsRefreshing]=\"EffectiveIsRefreshing\"\n [VisibleSectionCount]=\"VisibleSectionCount\"\n [TotalSectionCount]=\"TotalSectionCount\"\n [ExpandedSectionCount]=\"ExpandedSectionCount\"\n [SearchFilter]=\"EffectiveSearchFilter\"\n [ShowEmptyFields]=\"EffectiveShowEmptyFields\"\n [WidthMode]=\"EffectiveWidthMode\"\n [HasCustomSectionOrder]=\"EffectiveHasCustomSectionOrder\"\n [ChromeLayout]=\"ChromeLayout\"\n [Variants]=\"EffectiveVariants\"\n [CurrentVariantID]=\"EffectiveCurrentVariantID\"\n [FormModeSwitch]=\"EffectiveFormModeSwitch\"\n [RegisteredItems]=\"EffectiveRegisteredToolbarItems\"\n [ItemOverrides]=\"EffectiveToolbarItemOverrides\"\n [FormComponent]=\"fc\"\n (Navigate)=\"OnNavigate($event)\"\n (EditModeChange)=\"OnEditModeChange($event)\"\n (BeforeSave)=\"BeforeSave.emit($event)\"\n (SaveRequested)=\"OnSaveRequested()\"\n (BeforeCancel)=\"BeforeCancel.emit($event)\"\n (CancelRequested)=\"OnCancelRequested()\"\n (BeforeDelete)=\"BeforeDelete.emit($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (BeforeRefresh)=\"BeforeRefresh.emit($event)\"\n (RefreshRequested)=\"OnRefreshRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (BeforeHistoryView)=\"BeforeHistoryView.emit($event)\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (BeforeListManagement)=\"BeforeListManagement.emit($event)\"\n (ListManagementRequested)=\"OnListManagementRequested()\"\n (ShowChangesRequested)=\"OnShowChangesRequested()\"\n (CustomButtonClick)=\"CustomButtonClick.emit($event)\"\n (ToolbarItemClick)=\"ToolbarItemClick.emit($event)\"\n (FilterChange)=\"OnFilterChange($event)\"\n (ExpandAllRequested)=\"OnExpandAll()\"\n (CollapseAllRequested)=\"OnCollapseAll()\"\n (ShowEmptyFieldsChange)=\"OnShowEmptyFieldsChange($event)\"\n (WidthModeChange)=\"OnWidthModeChange($event)\"\n (ResetSectionOrderRequested)=\"OnResetSectionOrder()\"\n (ManageSectionsRequested)=\"OnManageSections()\"\n (TagsPanelToggled)=\"OnTagsPanelToggled()\"\n (CommentsRequest)=\"OnToggleRecordComments()\"\n (LinksRequest)=\"OnToggleRecordLinks()\"\n (AttachmentsPanelToggled)=\"OnAttachmentsPanelToggled()\"\n (AskAIRequested)=\"OnAskAIRequested()\"\n (ActionPinChanged)=\"OnToolbarActionPinChanged($event)\"\n (VariantPicked)=\"OnVariantPicked($event)\">\n</mj-form-toolbar>\n}\n\n<!-- ============================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n Renders above the form when previewing a historical RecordChange snapshot\n ============================================ -->\n@if (ActiveVersionPreview; as preview) {\n <div class=\"mj-forms-version-preview-banner\" role=\"region\" aria-label=\"Historical version preview\">\n <div class=\"mj-forms-version-preview-top-row\">\n <div class=\"mj-forms-version-preview-main\">\n <span class=\"mj-forms-version-preview-badge\">\n <i class=\"fa-solid fa-clock-rotate-left\"></i>\n Time-Travel Preview\n </span>\n <span class=\"mj-forms-version-preview-meta\">\n <strong>{{ preview.VersionLabel }}</strong>\n <span class=\"mj-forms-version-preview-author\">by {{ preview.UserName }}</span>\n </span>\n <span class=\"mj-forms-version-preview-diff-pill\">\n {{ preview.DiffCount ?? 0 }} {{ (preview.DiffCount ?? 0) === 1 ? 'field differs' : 'fields differ' }} from live\n </span>\n </div>\n <div class=\"mj-forms-version-preview-actions\">\n @if ((preview.TotalRestoreableCount ?? 0) > 1) {\n <div class=\"mj-forms-version-preview-stepper\">\n <button type=\"button\"\n class=\"mj-forms-version-preview-step-btn\"\n [disabled]=\"(preview.CurrentIndex ?? 0) >= (preview.TotalRestoreableCount ?? 1) - 1\"\n title=\"Preview older version\"\n (click)=\"OnStepVersionPreview(1)\">\n <i class=\"fa-solid fa-chevron-left\"></i> Older\n </button>\n <span class=\"mj-forms-version-preview-step-count\">\n {{ (preview.TotalRestoreableCount ?? 1) - (preview.CurrentIndex ?? 0) }} / {{ preview.TotalRestoreableCount ?? 1 }}\n </span>\n <button type=\"button\"\n class=\"mj-forms-version-preview-step-btn\"\n [disabled]=\"(preview.CurrentIndex ?? 0) <= 0\"\n title=\"Preview newer version\"\n (click)=\"OnStepVersionPreview(-1)\">\n Newer <i class=\"fa-solid fa-chevron-right\"></i>\n </button>\n </div>\n }\n <button type=\"button\"\n class=\"mj-forms-version-preview-timeline-btn\"\n title=\"Reopen the Record Changes history timeline drawer\"\n (click)=\"OnReopenHistoryFromPreview()\">\n <i class=\"fa-solid fa-list-ul\"></i> Timeline\n </button>\n @if (EffectiveUserCanEdit && (preview.DiffCount ?? 0) > 0) {\n <button type=\"button\"\n class=\"mj-forms-version-preview-restore-btn\"\n (click)=\"OnRestorePreviewedVersion()\">\n <i class=\"fa-solid fa-rotate-left\"></i> Restore This Version...\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-version-preview-exit-btn\"\n (click)=\"OnExitVersionPreview()\">\n <i class=\"fa-solid fa-xmark\"></i> Exit Preview\n </button>\n </div>\n </div>\n @if (PreviewChangedFieldChips.length > 0) {\n <div class=\"mj-forms-version-preview-diffs-row\" aria-label=\"Changed fields in this version\">\n @for (diff of PreviewChangedFieldChips.slice(0, 6); track diff.FieldName) {\n <span class=\"mj-forms-version-preview-field-chip\"\n [title]=\"(diff.DisplayName || diff.FieldName) + ': ' + FormatPreviewDiffValue(diff.HistoricalValue) + ' (Current live: ' + FormatPreviewDiffValue(diff.CurrentLiveValue) + ')'\">\n <span class=\"mj-forms-version-preview-field-chip-label\">{{ diff.DisplayName || diff.FieldName }}:</span>\n <strong class=\"mj-forms-version-preview-field-chip-hist\">{{ FormatPreviewDiffValue(diff.HistoricalValue) }}</strong>\n <span class=\"mj-forms-version-preview-field-chip-live\">\u2190 Live: {{ FormatPreviewDiffValue(diff.CurrentLiveValue) }}</span>\n </span>\n }\n @if (PreviewChangedFieldChips.length > 6) {\n <span class=\"mj-forms-version-preview-field-chip-more\">\n +{{ PreviewChangedFieldChips.length - 6 }} more\n </span>\n }\n </div>\n }\n </div>\n}\n\n<!-- ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n Variant picker is now embedded in <mj-form-toolbar> as a right-side\n button \u2014 see the [Variants]/[CurrentVariantID] inputs + (VariantPicked)\n output on the toolbar above. Inline strip was removed.\n ============================================ -->\n<!-- Persistent polite live region for the section indicators (see FormIndicatorsAnnouncement) -->\n<span class=\"mj-forms-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">{{ FormIndicatorsAnnouncement }}</span>\n\n<!-- ============================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ============================================ -->\n@if (RemoteUpdatePill) {\n <div class=\"mj-forms-remote-update-pill\"\n [class.mj-forms-remote-update-pill--warning]=\"RemoteUpdatePill.Kind === 'stale-while-editing'\"\n role=\"status\"\n aria-live=\"polite\">\n <i [class]=\"RemoteUpdatePill.Kind === 'refreshed' ? 'fa-solid fa-bolt mj-forms-remote-update-pill-icon' : 'fa-solid fa-arrows-rotate mj-forms-remote-update-pill-icon'\"></i>\n <span class=\"mj-forms-remote-update-pill-text\">{{ RemoteUpdatePill.Summary }}</span>\n @if (RemoteUpdatePill.Kind === 'stale-while-editing') {\n <button type=\"button\"\n class=\"mj-forms-remote-update-pill-action\"\n (click)=\"OnReloadFromRemotePill()\">\n Reload\n </button>\n }\n <button type=\"button\"\n class=\"mj-forms-remote-update-pill-close\"\n title=\"Dismiss\"\n aria-label=\"Dismiss notification\"\n (click)=\"OnDismissRemoteUpdatePill()\">\n <i class=\"fa-solid fa-xmark\"></i>\n </button>\n </div>\n}\n\n<!-- ============================================\n POSSIBLE DUPLICATES (entry-time check, new records only)\n Flag only: never blocks a save. A name opens that record through Navigate.\n ============================================ -->\n@if (DuplicateEntryCandidates.length > 0) {\n <mj-alert class=\"mj-forms-duplicate-notice\"\n Variant=\"warning\"\n Size=\"sm\"\n Icon=\"fa-solid fa-clone\"\n Role=\"status\"\n Dismissible\n (Dismissed)=\"OnDuplicateNoticeDismissed()\">\n <span class=\"mj-forms-duplicate-notice-lead\">This may duplicate:</span>\n @for (candidate of DuplicateEntryCandidates; track candidate.RecordID; let last = $last) {\n <button type=\"button\"\n class=\"mj-forms-duplicate-notice-candidate\"\n [title]=\"'Open ' + candidate.DisplayName\"\n (click)=\"OnDuplicateCandidateClick(candidate)\">{{ candidate.DisplayName }}</button>@if (!last) {<span>, </span>}\n }\n </mj-alert>\n}\n\n<div class=\"mj-forms-scroll-area\">\n <div class=\"mj-forms-panels-container\"\n [class.mj-forms-panels--full-width]=\"EffectiveWidthMode === 'full-width'\"\n [class.mj-forms-panels--edit-mode]=\"EffectiveEditMode\"\n [class.mj-forms-panels--has-isa-panel]=\"HasIsaRelatedItems\">\n <!-- Flex row: optional left-nav + form panels + ISA side panel -->\n <div class=\"mj-forms-layout-row\"\n [class.mj-forms-layout--left-nav]=\"ChromeLayout === 'left-nav'\"\n [class.mj-forms-layout--accordion]=\"ChromeLayout === 'accordion'\"\n [class.mj-forms-layout--more]=\"IsChromeMoreActive\">\n @if (ShowChromeRail) {\n <nav class=\"mj-forms-chrome-rail\"\n [class.is-collapsed]=\"!IsPhoneRail && ChromeRailCollapsed\"\n [class.is-resizing]=\"RailResizing\"\n [style.width.px]=\"IsPhoneRail || ChromeRailCollapsed ? null : ChromeRailWidthPx\"\n [attr.aria-expanded]=\"IsPhoneRail ? null : !ChromeRailCollapsed\"\n aria-label=\"Form sections\">\n @if (IsPhoneRail) {\n <button type=\"button\"\n class=\"mj-forms-section-picker\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"'Change section \u2014 ' + ChromeActiveTitle\"\n (click)=\"OpenSectionSheet()\">\n <i [class]=\"ChromeActiveIcon\" aria-hidden=\"true\"></i>\n <span class=\"mj-forms-section-picker-title\">{{ ChromeActiveTitle }}</span>\n @if (ChromeActiveGroup; as activeGroup) {\n @let activeIndicators = ChromeGroupIndicators(activeGroup);\n @if (activeIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(activeIndicators.DirtyCount, activeGroup.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(activeIndicators.DirtyCount, activeGroup.Title)\"></span>\n }\n @if (activeIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(activeIndicators.ErrorCount, activeGroup.Title)\"\n [attr.aria-label]=\"RailErrorTitle(activeIndicators.ErrorCount, activeGroup.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ activeIndicators.ErrorCount }}\n </span>\n } @else if (activeIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(activeIndicators.WarningCount, activeGroup.Title)\"\n [attr.aria-label]=\"RailWarningTitle(activeIndicators.WarningCount, activeGroup.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ activeIndicators.WarningCount }}\n </span>\n }\n @let activeRowCount = ChromeGroupRowCount(activeGroup);\n @if (activeRowCount != null && activeRowCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ activeRowCount }}</span>\n }\n }\n <i class=\"fa-solid fa-chevron-down mj-forms-section-picker-chevron\" aria-hidden=\"true\"></i>\n </button>\n } @else if (ChromeRailCollapsed) {\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-spine\"\n (click)=\"OnChromeRailExpand()\"\n [attr.aria-label]=\"'Show form sections \u2014 ' + ChromeActiveTitle\"\n [title]=\"'Show sections \u2014 ' + ChromeActiveTitle\">\n <i [class]=\"ChromeActiveIcon\"></i>\n <span class=\"mj-forms-chrome-rail-spine-label\"\n (mouseenter)=\"OnRailLabelHover($event, ChromeActiveTitle)\">{{ ChromeActiveTitle }}</span>\n <!-- Whole-form section indicators: no rail item is visible while collapsed -->\n @let formIndicators = FormIndicators;\n @if (formIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error is-spine\"\n role=\"img\"\n [title]=\"RailErrorTitle(formIndicators.ErrorCount, 'this record')\"\n [attr.aria-label]=\"RailErrorTitle(formIndicators.ErrorCount, 'this record')\">{{ formIndicators.ErrorCount }}</span>\n } @else if (formIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning is-spine\"\n role=\"img\"\n [title]=\"RailWarningTitle(formIndicators.WarningCount, 'this record')\"\n [attr.aria-label]=\"RailWarningTitle(formIndicators.WarningCount, 'this record')\">{{ formIndicators.WarningCount }}</span>\n }\n @if (formIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty is-spine\"\n role=\"img\"\n [title]=\"RailDirtyTitle(formIndicators.DirtyCount, 'this record')\"\n [attr.aria-label]=\"RailDirtyTitle(formIndicators.DirtyCount, 'this record')\"></span>\n }\n @if ((formIndicators.CommentCount ?? 0) > 0) {\n <span class=\"mj-forms-chrome-rail-comments is-spine\"\n role=\"img\"\n [title]=\"RailCommentTitle(formIndicators.CommentCount!, 'this record')\"\n [attr.aria-label]=\"RailCommentTitle(formIndicators.CommentCount!, 'this record')\">\n <i class=\"fa-regular fa-comment-dots\" aria-hidden=\"true\"></i>{{ formIndicators.CommentCount }}\n </span>\n }\n </button>\n } @else {\n <div class=\"mj-forms-chrome-rail-resizer\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n [attr.aria-valuenow]=\"ChromeRailWidthPx\"\n [attr.aria-valuemin]=\"RailWidthMin\"\n [attr.aria-valuemax]=\"RailWidthMax\"\n title=\"Drag to resize sections\"\n (pointerdown)=\"OnRailResizeStart($event)\"\n (pointermove)=\"OnRailResizeMove($event)\"\n (pointerup)=\"OnRailResizeEnd()\"\n (pointercancel)=\"OnRailResizeEnd()\"></div>\n <div class=\"mj-forms-chrome-rail-toolbar\">\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-pin\"\n [class.is-pinned]=\"ChromeRailPinned\"\n [attr.aria-pressed]=\"ChromeRailPinned\"\n [title]=\"ChromeRailPinned ? 'Unpin sections \u2014 they hide after you switch' : 'Pin sections open'\"\n (click)=\"OnChromeRailPinToggle()\">\n <i class=\"fa-solid fa-thumbtack\"></i>\n </button>\n <button type=\"button\"\n class=\"mj-forms-chrome-rail-collapse\"\n title=\"Hide sections\"\n aria-label=\"Hide form sections\"\n (click)=\"OnChromeRailCollapse()\">\n <i class=\"fa-solid fa-angles-left\"></i>\n </button>\n </div>\n <!-- Rail items scroll on their own when they outgrow the viewport;\n the pin / collapse toolbar above stays put. -->\n <div class=\"mj-forms-chrome-rail-items\">\n @for (group of ChromeFirstClassGroups; track group.Key) {\n <div class=\"mj-forms-chrome-rail-item\"\n role=\"button\"\n tabindex=\"0\"\n [attr.data-rail-key]=\"group.Key\"\n [class.is-active]=\"ChromeActiveGroupKey === group.Key\"\n [attr.aria-current]=\"ChromeActiveGroupKey === group.Key ? 'page' : null\"\n [class.is-drag-over]=\"RailDragOverKey === group.Key\"\n [class.has-errors]=\"ChromeGroupIndicators(group).ErrorCount > 0\"\n [class.is-dirty]=\"ChromeGroupIndicators(group).DirtyCount > 0\"\n (click)=\"OnChromeGroupActivate(group.Key)\"\n (keydown.enter)=\"OnChromeGroupActivate(group.Key)\"\n (keydown.space)=\"$event.preventDefault(); OnChromeGroupActivate(group.Key)\"\n (dragover)=\"OnRailDragOver($event, group.Key)\"\n (dragleave)=\"OnRailDragLeave($event, group.Key)\"\n (drop)=\"OnRailDrop($event, group.Key)\">\n @if (ChromeReorderAllowed) {\n <span class=\"mj-forms-chrome-rail-handle\"\n title=\"Drag to reorder\"\n draggable=\"true\"\n (dragstart)=\"OnRailDragStart($event, group.Key)\"\n (dragend)=\"OnRailDragEnd()\"\n (click)=\"$event.stopPropagation()\">\n <i class=\"fa-solid fa-grip-vertical\"></i>\n </span>\n }\n <i [class]=\"group.Icon\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, group.Title)\">{{ group.Title }}</span>\n @let groupIndicators = ChromeGroupIndicators(group);\n @if (groupIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(groupIndicators.DirtyCount, group.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(groupIndicators.DirtyCount, group.Title)\"></span>\n }\n @if (groupIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(groupIndicators.ErrorCount, group.Title)\"\n [attr.aria-label]=\"RailErrorTitle(groupIndicators.ErrorCount, group.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ groupIndicators.ErrorCount }}\n </span>\n } @else if (groupIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(groupIndicators.WarningCount, group.Title)\"\n [attr.aria-label]=\"RailWarningTitle(groupIndicators.WarningCount, group.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ groupIndicators.WarningCount }}\n </span>\n }\n @let rowCount = ChromeGroupRowCount(group);\n @if (rowCount != null && rowCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ rowCount }}</span>\n }\n @if ((groupIndicators.CommentCount ?? 0) > 0) {\n <span class=\"mj-forms-chrome-rail-comments\"\n role=\"img\"\n [title]=\"RailCommentTitle(groupIndicators.CommentCount!, group.Title)\"\n [attr.aria-label]=\"RailCommentTitle(groupIndicators.CommentCount!, group.Title)\">\n <i class=\"fa-regular fa-comment-dots\" aria-hidden=\"true\"></i>{{ groupIndicators.CommentCount }}\n </span>\n }\n </div>\n }\n @if (ChromeMoreFolder; as more) {\n <div class=\"mj-forms-chrome-rail-item is-more-folder\"\n role=\"button\"\n tabindex=\"0\"\n [class.is-expanded]=\"MoreExpanded\"\n [class.has-errors]=\"ChromeGroupIndicators(more).ErrorCount > 0\"\n (click)=\"OnMoreFolderToggle()\"\n (keydown.enter)=\"OnMoreFolderToggle()\"\n (keydown.space)=\"$event.preventDefault(); OnMoreFolderToggle()\">\n <span class=\"mj-forms-chrome-rail-handle is-spacer\" aria-hidden=\"true\"></span>\n <i [class]=\"MoreExpanded ? 'fa-solid fa-folder-open' : 'fa-solid fa-folder'\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, more.Title)\">{{ more.Title }}</span>\n @let moreIndicators = ChromeGroupIndicators(more);\n @if (moreIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(moreIndicators.DirtyCount, more.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(moreIndicators.DirtyCount, more.Title)\"></span>\n }\n @if (moreIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(moreIndicators.ErrorCount, more.Title)\"\n [attr.aria-label]=\"RailErrorTitle(moreIndicators.ErrorCount, more.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ moreIndicators.ErrorCount }}\n </span>\n } @else if (moreIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(moreIndicators.WarningCount, more.Title)\"\n [attr.aria-label]=\"RailWarningTitle(moreIndicators.WarningCount, more.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ moreIndicators.WarningCount }}\n </span>\n }\n @if (!MoreExpanded) {\n @let moreRowCount = ChromeMoreRowCount;\n @if (moreRowCount != null && moreRowCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\" title=\"Rows across the sections in More\">{{ moreRowCount }}</span>\n }\n @if ((moreIndicators.CommentCount ?? 0) > 0) {\n <span class=\"mj-forms-chrome-rail-comments\"\n role=\"img\"\n [title]=\"RailCommentTitle(moreIndicators.CommentCount!, more.Title)\"\n [attr.aria-label]=\"RailCommentTitle(moreIndicators.CommentCount!, more.Title)\">\n <i class=\"fa-regular fa-comment-dots\" aria-hidden=\"true\"></i>{{ moreIndicators.CommentCount }}\n </span>\n }\n }\n <i class=\"fa-solid mj-forms-chrome-rail-more-toggle\"\n [class.fa-minus]=\"MoreExpanded\"\n [class.fa-plus]=\"!MoreExpanded\"\n aria-hidden=\"true\"></i>\n </div>\n @if (MoreExpanded) {\n <div class=\"mj-forms-chrome-rail-more-tree\">\n @for (child of ChromeMoreItems; track child.Key) {\n <div class=\"mj-forms-chrome-rail-item is-more-child\"\n role=\"button\"\n tabindex=\"0\"\n [class.is-active]=\"ChromeActiveGroupKey === child.Key\"\n [attr.aria-current]=\"ChromeActiveGroupKey === child.Key ? 'page' : null\"\n [class.is-drag-over]=\"RailDragOverKey === child.Key\"\n [class.has-errors]=\"ChromeGroupIndicators(child).ErrorCount > 0\"\n [class.is-dirty]=\"ChromeGroupIndicators(child).DirtyCount > 0\"\n (click)=\"OnChromeGroupActivate(child.Key)\"\n (keydown.enter)=\"OnChromeGroupActivate(child.Key)\"\n (keydown.space)=\"$event.preventDefault(); OnChromeGroupActivate(child.Key)\"\n (dragover)=\"OnRailDragOver($event, child.Key)\"\n (dragleave)=\"OnRailDragLeave($event, child.Key)\"\n (drop)=\"OnRailDrop($event, child.Key)\">\n @if (ChromeReorderAllowed) {\n <span class=\"mj-forms-chrome-rail-handle\"\n title=\"Drag to reorder\"\n draggable=\"true\"\n (dragstart)=\"OnRailDragStart($event, child.Key)\"\n (dragend)=\"OnRailDragEnd()\"\n (click)=\"$event.stopPropagation()\">\n <i class=\"fa-solid fa-grip-vertical\"></i>\n </span>\n }\n <i [class]=\"child.Icon\"></i>\n <span class=\"mj-forms-chrome-rail-label\"\n (mouseenter)=\"OnRailLabelHover($event, child.Title)\">{{ child.Title }}</span>\n @let childIndicators = ChromeGroupIndicators(child);\n @if (childIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\"\n role=\"img\"\n [title]=\"RailDirtyTitle(childIndicators.DirtyCount, child.Title)\"\n [attr.aria-label]=\"RailDirtyTitle(childIndicators.DirtyCount, child.Title)\"></span>\n }\n @if (childIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\"\n role=\"img\"\n [title]=\"RailErrorTitle(childIndicators.ErrorCount, child.Title)\"\n [attr.aria-label]=\"RailErrorTitle(childIndicators.ErrorCount, child.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ childIndicators.ErrorCount }}\n </span>\n } @else if (childIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\"\n role=\"img\"\n [title]=\"RailWarningTitle(childIndicators.WarningCount, child.Title)\"\n [attr.aria-label]=\"RailWarningTitle(childIndicators.WarningCount, child.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ childIndicators.WarningCount }}\n </span>\n }\n @let childCount = ChromeGroupRowCount(child);\n @if (childCount != null && childCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ childCount }}</span>\n }\n @if ((childIndicators.CommentCount ?? 0) > 0) {\n <span class=\"mj-forms-chrome-rail-comments\"\n role=\"img\"\n [title]=\"RailCommentTitle(childIndicators.CommentCount!, child.Title)\"\n [attr.aria-label]=\"RailCommentTitle(childIndicators.CommentCount!, child.Title)\">\n <i class=\"fa-regular fa-comment-dots\" aria-hidden=\"true\"></i>{{ childIndicators.CommentCount }}\n </span>\n }\n </div>\n }\n </div>\n }\n }\n @let unroutedErrors = UnroutedValidationErrorCount;\n @if (unroutedErrors > 0) {\n <!-- A failed save's errors that no rail item owns. Without this row they were counted\n only on the collapsed spine, so an EXPANDED rail could look clean over a form\n the server had just refused. -->\n <div class=\"mj-forms-chrome-rail-unrouted\"\n role=\"note\"\n [attr.aria-label]=\"RailUnroutedErrorTitle(unroutedErrors)\"\n [title]=\"RailUnroutedErrorTitle(unroutedErrors)\">\n <span class=\"mj-forms-chrome-rail-handle is-spacer\" aria-hidden=\"true\"></span>\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>\n <span class=\"mj-forms-chrome-rail-label\">Not in a section</span>\n <span class=\"mj-forms-chrome-rail-error is-unrouted\" role=\"img\"\n [attr.aria-label]=\"RailUnroutedErrorTitle(unroutedErrors)\">{{ unroutedErrors }}</span>\n </div>\n }\n </div>\n }\n </nav>\n @if (IsPhoneRail) {\n <!-- Phone: all sections (first-class then More children) in one vertical, searchable sheet. -->\n <mj-bottom-sheet [Visible]=\"SectionSheetOpen\"\n (VisibleChange)=\"OnSectionSheetVisibleChange($event)\"\n Title=\"Sections\">\n <div class=\"mj-forms-section-sheet\">\n <input type=\"text\"\n class=\"mj-input mj-forms-section-sheet-search\"\n [value]=\"EffectiveSearchFilter\"\n (input)=\"OnSectionSheetSearch($event)\"\n placeholder=\"Search sections...\"\n aria-label=\"Search sections\">\n <div class=\"mj-forms-section-sheet-list\" role=\"list\">\n @for (group of ChromeFirstClassGroups; track group.Key) {\n <ng-container *ngTemplateOutlet=\"sectionSheetRow; context: { $implicit: group }\"></ng-container>\n }\n @if (ChromeMoreFolder; as more) {\n <div class=\"mj-forms-section-sheet-heading\">{{ more.Title }}</div>\n @for (child of ChromeMoreItems; track child.Key) {\n <ng-container *ngTemplateOutlet=\"sectionSheetRow; context: { $implicit: child }\"></ng-container>\n }\n }\n @if (ChromeFirstClassGroups.length === 0 && ChromeMoreItems.length === 0) {\n <div class=\"mj-forms-section-sheet-empty\">No sections match.</div>\n }\n </div>\n </div>\n <ng-template #sectionSheetRow let-group>\n @let sheetIndicators = ChromeGroupIndicators(group);\n <button type=\"button\"\n class=\"mj-forms-section-sheet-item\"\n role=\"listitem\"\n [class.is-active]=\"ChromeActiveGroupKey === group.Key\"\n [attr.aria-current]=\"ChromeActiveGroupKey === group.Key ? 'page' : null\"\n (click)=\"OnSectionSheetSelect(group.Key)\">\n <i [class]=\"group.Icon\" aria-hidden=\"true\"></i>\n <span class=\"mj-forms-section-sheet-label\">{{ group.Title }}</span>\n @if (sheetIndicators.ErrorCount > 0) {\n <span class=\"mj-forms-chrome-rail-error\" role=\"img\"\n [attr.aria-label]=\"RailErrorTitle(sheetIndicators.ErrorCount, group.Title)\">\n <i class=\"fa-solid fa-circle-exclamation\" aria-hidden=\"true\"></i>{{ sheetIndicators.ErrorCount }}\n </span>\n } @else if (sheetIndicators.WarningCount > 0) {\n <span class=\"mj-forms-chrome-rail-warning\" role=\"img\"\n [attr.aria-label]=\"RailWarningTitle(sheetIndicators.WarningCount, group.Title)\">\n <i class=\"fa-solid fa-triangle-exclamation\" aria-hidden=\"true\"></i>{{ sheetIndicators.WarningCount }}\n </span>\n }\n @if (sheetIndicators.DirtyCount > 0) {\n <span class=\"mj-forms-chrome-rail-dirty\" role=\"img\"\n [attr.aria-label]=\"RailDirtyTitle(sheetIndicators.DirtyCount, group.Title)\"></span>\n }\n @let sheetCount = ChromeGroupRowCount(group);\n @if (sheetCount != null && sheetCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\">{{ sheetCount }}</span>\n }\n </button>\n </ng-template>\n </mj-bottom-sheet>\n }\n }\n <!-- All panels in a single flex container \u2014 CSS order drives sequencing -->\n <div class=\"mj-forms-all-panels\">\n <ng-content></ng-content>\n\n <!--\n Fill-in related grids for DisplayInForm relationships the template\n did not bake and no registered panel claimed. Claimed / extra panels\n still mount via mj-form-panel-slot. See plans/form-contributions.md.\n -->\n @if (Record && FormComponent) {\n <mj-form-contributions\n [Record]=\"Record\"\n [FormComponent]=\"FormComponent\"\n [FormContext]=\"FormComponent.formContext\"\n [BakedSectionKeys]=\"BakedRelatedSectionKeys\"\n [ShowRelatedEntities]=\"EffectiveShowRelatedEntities\">\n </mj-form-contributions>\n }\n\n <!--\n Container-provided fallback slot. ALWAYS present \u2014 last in document\n order \u2014 so any panel whose registered slot isn't found in the current\n form falls through here via FormSlotCoordinator's chain. Downstream\n consumers that haven't rerun CodeGen against the slot-emitting\n template still see every panel; they just render at the bottom\n instead of at their preferred position.\n -->\n @if (ShowMoreToggle) {\n <div class=\"mj-forms-more-overflow\" [class.is-expanded]=\"MoreExpanded\">\n <button type=\"button\"\n class=\"mj-forms-more-overflow-toggle\"\n (click)=\"OnMoreToggle()\">\n <i [class]=\"MoreExpanded ? 'fa-solid fa-folder-open' : 'fa-solid fa-folder'\"></i>\n <span class=\"mj-forms-more-overflow-label\">{{ MoreExpanded ? 'Hide more' : 'More' }}</span>\n @if (!MoreExpanded && MorePreview) {\n <span class=\"mj-forms-more-overflow-preview\">{{ MorePreview }}</span>\n }\n @if (!MoreExpanded) {\n @let accordionMoreCount = ChromeMoreRowCount;\n @if (accordionMoreCount != null && accordionMoreCount > 0) {\n <span class=\"mj-forms-chrome-rail-count\" title=\"Rows across the sections in More\">{{ accordionMoreCount }}</span>\n }\n }\n <i class=\"fa-solid\"\n [class.fa-chevron-down]=\"MoreExpanded\"\n [class.fa-chevron-right]=\"!MoreExpanded\"></i>\n </button>\n </div>\n }\n\n @if (Record && FormComponent) {\n <mj-form-panel-slot\n [Entity]=\"Record.EntityInfo.Name\"\n Slot=\"after-everything\"\n [Record]=\"Record\"\n [FormComponent]=\"FormComponent\">\n </mj-form-panel-slot>\n }\n\n <!-- Empty state when no sections match search -->\n @if (EffectiveSearchFilter && SearchHasNoMatches) {\n <mj-empty-state class=\"mj-forms-empty-search-state\"\n Variant=\"no-results\"\n Title=\"No sections found\"\n [Message]=\"'No sections match "' + EffectiveSearchFilter + '". Try a different search term.'\"\n ActionText=\"Clear search\"\n ActionIcon=\"fa-solid fa-rotate-left\"\n ActionVariant=\"flat\"\n (Action)=\"OnFilterChange('')\" />\n }\n </div>\n\n <!-- IS-A Related Records Side Panel -->\n <mj-isa-related-panel\n [Record]=\"EffectiveRecord\"\n [EditMode]=\"EffectiveEditMode\"\n [Collapsed]=\"EffectiveWidthMode === 'full-width'\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-isa-related-panel>\n </div>\n </div>\n</div>\n\n<!-- ============================================\n RECORD CHANGES DRAWER (shown when history button clicked)\n ============================================ -->\n@if (ShowRecordChanges && EffectiveRecord) {\n <mj-record-changes\n [record]=\"EffectiveRecord\"\n [AllowRestore]=\"EffectiveUserCanEdit\"\n [PreviewedChangeID]=\"ActiveVersionPreview?.ChangeID ?? null\"\n (PreviewVersionSelected)=\"OnPreviewVersionSelected($event)\"\n (RestoreRequested)=\"OnRestoreRequested($event)\"\n (dialogClosed)=\"OnRecordChangesClosed()\">\n </mj-record-changes>\n}\n\n<!-- ============================================\n TAGS PANEL (shown when tags button clicked)\n ============================================ -->\n@if (ShowTagsPanel && EffectiveRecord) {\n <mj-record-tags\n [Record]=\"EffectiveRecord\"\n [WidthPx]=\"TagsPanelWidth\"\n (PanelClosed)=\"OnTagsPanelClosed()\"\n (TagCountChanged)=\"OnTagCountChanged($event)\"\n (RecordNavigate)=\"OnTagsRecordNavigate($event)\"\n (WidthChanged)=\"OnTagsPanelWidthChanged($event)\">\n </mj-record-tags>\n}\n\n<!-- ============================================\n LINKS DRAWER (shown when links button clicked)\n ============================================ -->\n@if (ShowRecordLinks && EffectiveRecord && EffectiveRecord.IsSaved) {\n <mj-record-links\n [Provider]=\"Provider\"\n [Record]=\"EffectiveRecord\"\n [Mode]=\"'drawer'\"\n [IsOpen]=\"ShowRecordLinks\"\n (Close)=\"OnRecordLinksClosed()\"\n (LinkCountChange)=\"OnLinkCountChanged($event)\"\n (LinksSummaryChange)=\"OnLinksSummaryChanged($event)\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-record-links>\n}\n\n<!-- ============================================\n ATTACHMENTS PANEL (shown when attachments button clicked)\n ============================================ -->\n@if (ShowAttachmentsPanel && AttachmentsAvailable && EffectiveRecord) {\n <mj-record-attachments\n [Record]=\"EffectiveRecord\"\n [Visible]=\"true\"\n (PanelClosed)=\"OnAttachmentsPanelClosed()\"\n (AttachmentCountChanged)=\"OnAttachmentCountChanged($event)\">\n </mj-record-attachments>\n}\n\n<!-- ============================================\n LIST MANAGEMENT DIALOG (shown when lists button clicked)\n ============================================ -->\n@if (ShowListManagement && EffectiveRecord) {\n <mj-list-management-dialog\n [visible]=\"ShowListManagement\"\n [config]=\"{\n mode: 'manage',\n entityId: EffectiveRecord.EntityInfo.ID,\n entityName: EffectiveRecord.EntityInfo.Name,\n recordIds: [EffectiveRecord.PrimaryKey.Values()[0]],\n allowCreate: true\n }\"\n (complete)=\"OnListManagementComplete($event)\"\n (cancel)=\"OnListManagementClosed()\">\n </mj-list-management-dialog>\n}\n\n<!-- ============================================\n SECTION MANAGER DRAWER (shown when manage-sections button clicked)\n ============================================ -->\n<mj-section-manager\n [Sections]=\"SectionManagerItems\"\n [SectionOrder]=\"SectionManagerOrder\"\n [MoreSectionKeys]=\"SectionManagerMoreKeys\"\n [LockedMoreKeys]=\"SectionManagerLockedMoreKeys\"\n [Visible]=\"ShowSectionManager\"\n (SectionOrderChange)=\"OnSectionOrderChange($event)\"\n (MembershipChange)=\"OnChromeMembershipChange($event)\"\n (ResetRequested)=\"OnSectionManagerReset()\"\n (Closed)=\"OnSectionManagerClosed()\">\n</mj-section-manager>\n\n<!-- ============================================\n PANEL MANAGER DRAWER \u2014 what is registered on this form, and the switches for it\n ============================================ -->\n<mj-panel-manager\n [Visible]=\"ShowPanelManager\"\n [Entity]=\"EffectiveEntityInfo\"\n [Compiled]=\"PanelManagerCompiled\"\n [StockGrids]=\"PanelManagerStockGrids\"\n [FullCustomForm]=\"!!fc?.OwnsEntireFormBody\"\n [TitleByKey]=\"PanelManagerTitles\"\n [Related]=\"PanelManagerRelated\"\n [Provider]=\"ProviderToUse\"\n [Variants]=\"EffectiveVariants\"\n [CurrentFormID]=\"EffectiveCurrentVariantID\"\n [RecordKey]=\"PanelManagerRecordKey\"\n (Changed)=\"OnPanelManagerChanged()\"\n (FormChosen)=\"OnPanelManagerFormChosen($event)\"\n (Closed)=\"OnPanelManagerClosed()\">\n</mj-panel-manager>\n\n<!-- ============================================\n ANCHORED RECORD COMMENTS (drawer + inline field/section popover)\n ============================================ -->\n@if (ShowRecordComments && EffectiveRecord && EffectiveRecord.IsSaved) {\n <mj-record-comments\n [Provider]=\"Provider\"\n [Record]=\"EffectiveRecord\"\n [Mode]=\"'drawer'\"\n [IsOpen]=\"ShowRecordComments\"\n [WidthPx]=\"CommentsPanelWidth\"\n (Close)=\"OnRecordCommentsClosed()\"\n (CommentCountChange)=\"OnCommentCountChanged($event)\"\n (WidthChanged)=\"OnCommentsPanelWidthChanged($event)\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-record-comments>\n}\n\n@if (CommentsCoordinator.ActivePopoverTarget && EffectiveRecord && EffectiveRecord.IsSaved) {\n <mj-record-comments\n [Provider]=\"Provider\"\n [Record]=\"EffectiveRecord\"\n [Mode]=\"'popover'\"\n (Navigate)=\"OnNavigate($event)\">\n </mj-record-comments>\n}\n", styles: ["/* ============================================\n RECORD FORM CONTAINER \u2014 uses global --mj-* design tokens\n Top-level wrapper: toolbar + scrollable content\n ============================================ */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ViewEncapsulation.None fallback \u2014 ensure the element itself constrains overflow */\nmj-record-form-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n position: relative;\n overflow: hidden;\n}\n\n/* ============================================\n POSSIBLE-DUPLICATE NOTICE (entry-time check on a new record)\n Sits between the toolbar and the scroll area, so it stays in view.\n ============================================ */\n.mj-forms-duplicate-notice {\n flex: 0 0 auto;\n margin: var(--mj-space-2) var(--mj-space-4);\n}\n\n.mj-forms-duplicate-notice-lead {\n margin-right: var(--mj-space-1);\n}\n\n.mj-forms-duplicate-notice-candidate {\n padding: 0;\n border: none;\n background: none;\n font: inherit;\n color: var(--mj-text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.mj-forms-duplicate-notice-candidate:hover {\n color: var(--mj-text-link-hover);\n}\n\n.mj-forms-duplicate-notice-candidate:focus-visible {\n outline: var(--mj-ring-width) solid var(--mj-focus-ring-color);\n outline-offset: 2px;\n border-radius: var(--mj-radius-sm);\n}\n\n/* ============================================\n SCROLL AREA (full-width so mouse wheel works anywhere)\n ============================================ */\n.mj-forms-scroll-area {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n background: var(--mj-bg-page);\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n\n/* ============================================\n PANELS CONTAINER (centered content within scroll area)\n ============================================ */\n.mj-forms-panels-container {\n padding: 24px 32px 48px;\n max-width: 920px;\n margin: 0 auto;\n width: 100%;\n box-sizing: border-box;\n flex: 1;\n min-height: 0;\n}\n\n/* Widen max-width when ISA side panel is present */\n.mj-forms-panels--has-isa-panel {\n max-width: 1240px;\n}\n\n.mj-forms-panels--full-width {\n max-width: none;\n padding-left: 24px;\n padding-right: 24px;\n}\n\n/* Flex row layout: form panels + optional ISA side panel */\n.mj-forms-layout-row {\n display: flex;\n gap: 20px;\n align-items: flex-start;\n}\n\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n padding: 16px 20px 24px;\n display: flex;\n flex-direction: column;\n /* Definite height = the scroll-area's client box. min-height: 100% alone\n lets the column grow with content and never gives related grids a\n containing-block height, so Height:auto (100%) on the grid collapses. */\n height: 100%;\n max-height: 100%;\n min-height: 0;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* Centered left-nav keeps the form column at the same 920px as accordion,\n plus the rail. Full-width still uses .mj-forms-panels--full-width. */\n.mj-forms-panels-container:has(.mj-forms-layout--left-nav):not(.mj-forms-panels--full-width) {\n max-width: 1160px;\n}\n\n.mj-forms-layout-row.mj-forms-layout--left-nav {\n flex: 1;\n min-height: 0;\n /* Wins over .mj-forms-layout-row { align-items: flex-start } so the\n body column stretches to the rail / viewport instead of hugging content. */\n align-items: stretch;\n gap: 16px;\n}\n\n/* Left-nav: only the active rail item is in the body. Slot-mounted\n panels never inject the container coordinator, so host classes set\n from the container are the hide/show channel that always reaches them. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-hidden,\n.mj-forms-layout--accordion mj-collapsible-panel.mj-chrome-hidden {\n display: none;\n}\n\n/* Selected item: no accordion chrome \u2014 the rail is the header. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-header {\n display: none;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel {\n box-shadow: none;\n border: 0;\n background: transparent;\n border-radius: 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-body--collapsed {\n max-height: none;\n padding: 0;\n opacity: 1;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-show .mj-forms-panel-content {\n max-height: none;\n padding: 0;\n overflow: visible;\n}\n\n/* Details: every field panel shows under ONE rail item, and the rail label\n cannot head several loose field lists \u2014 without a surface the rows float\n on the page background. So the Details panels render as ONE card: each\n panel is a segment (surface + side borders, no radius), and the container\n marks the visual first / last (CSS order, not DOM order) to close the top\n and bottom edges. No per-section headers \u2014 the sections are plain groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel {\n background: var(--mj-bg-surface-card);\n border-left: 1px solid var(--mj-border-default);\n border-right: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first {\n margin-top: 8px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel {\n border-top: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md) var(--mj-radius-md) 0 0;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel {\n border-bottom: 1px solid var(--mj-border-default);\n border-radius: 0 0 var(--mj-radius-md) var(--mj-radius-md);\n box-shadow: var(--mj-shadow-sm);\n}\n\n/* One panel = whole card: both edges on the same element. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first.mj-chrome-details-last .mj-forms-panel {\n border-radius: var(--mj-radius-md);\n}\n\n/* Segment padding: sides always; top / bottom only at the card's edges, and a\n half-step between segments so the groups still read as groups. */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details .mj-forms-panel-content {\n padding: 8px 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-first .mj-forms-panel-content {\n padding-top: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-chrome-details-last .mj-forms-panel-content {\n padding-bottom: 20px;\n}\n\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show {\n /* Content-sized (see RelatedGridHeightPx). Do not flex-fill leftover\n column space \u2014 a form header above the grid can collapse that to 0. */\n flex: 0 0 auto;\n min-height: 0;\n}\n\n/* Accordion related panels use a 400px resizable box. Left-nav grids\n set their own pixel height from row count (RelatedGridHeightPx). */\n.mj-forms-layout--left-nav mj-collapsible-panel.mj-panel--related-entity.mj-chrome-show .mj-forms-panel-content {\n height: auto;\n max-height: none;\n overflow: hidden;\n resize: none;\n}\n\n/* Slot-mounted contributions (heroes, overview strips) are always visible, so\n they sit in the same column as the active rail panel and need rhythm between\n them. Collapsed siblings are `display: none`, so this gap only ever applies\n between items that are actually on screen. Tighter than the accordion's 16px\n because left-nav strips panel chrome and reads as one continuous column.\n `mj-form-panel-slot` and the panel hosts are `display: contents`, so the gap\n lands between the panels' own content boxes rather than around the slot. */\n.mj-forms-layout--left-nav .mj-forms-all-panels {\n gap: 12px;\n min-height: 0;\n overflow-y: auto;\n}\n\n/* Details (field panels) can be taller than the viewport \u2014 scroll inside the\n column. Related grids scroll inside AG Grid instead. */\n.mj-forms-layout--left-nav .mj-forms-all-panels:has(mj-collapsible-panel.mj-chrome-show:not(.mj-panel--related-entity)) {\n overflow-y: auto;\n}\n\n.mj-forms-layout--left-nav .mj-forms-all-panels > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n/* Slot-mounted panels: <mj-form-panel-slot> and the panel host it mounts are\n both display:contents, so the flex items here are the panel template's root\n elements, two DOM levels down where the child selector above cannot reach.\n Without this a root with overflow other than visible (min-height resolves\n to 0) shrinks to fit the column, clipping a header card to its title row. */\n.mj-forms-layout--left-nav .mj-forms-all-panels > mj-form-panel-slot > * > *:not(mj-collapsible-panel.mj-panel--related-entity) {\n flex-shrink: 0;\n}\n\n.mj-forms-layout--left-nav .biz-hero {\n margin-bottom: 4px;\n}\n\n/* All panels in a single flex container \u2014 CSS order drives sequencing */\n.mj-forms-all-panels {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n min-width: 0;\n}\n\n/* Hide related entity panels in edit mode (variant host class on mj-collapsible-panel) */\n.mj-forms-panels--edit-mode .mj-panel--related-entity,\n.mj-forms-panels--edit-mode .mj-forms-more-overflow {\n display: none;\n}\n\n/* Detail / More panels sort after the overflow footer */\nmj-collapsible-panel.mj-form-role-detail,\nmj-collapsible-panel.mj-form-role-more {\n order: 8500;\n}\n\n.mj-forms-more-overflow {\n order: 8400;\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n padding-top: 12px;\n border-top: 1px dashed var(--mj-border-subtle);\n}\n\n.mj-forms-more-overflow-toggle {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n padding: 6px 2px;\n border: 0;\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n cursor: pointer;\n text-align: left;\n}\n\n.mj-forms-more-overflow-toggle:hover {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-more-overflow-label {\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-more-overflow-preview {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--mj-text-disabled);\n font-weight: var(--mj-font-normal);\n}\n\n.mj-forms-more-overflow-toggle .fa-chevron-right,\n.mj-forms-more-overflow-toggle .fa-chevron-down {\n margin-left: auto;\n}\n\n.mj-forms-chrome-rail {\n flex: 0 0 auto;\n width: 200px;\n max-width: 360px;\n min-width: 160px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n position: sticky;\n top: 0;\n align-self: stretch;\n min-height: 0;\n padding: 4px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-md);\n}\n\n/* The rail is as tall as the body column; when it has more items than fit,\n the ITEMS scroll (the pin / collapse toolbar above stays fixed). Without\n this the overflow was clipped by the panels container. */\n.mj-forms-chrome-rail-items {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n}\n\n.mj-forms-chrome-rail.is-resizing {\n user-select: none;\n}\n\n.mj-forms-chrome-rail.is-collapsed {\n flex: 0 0 36px;\n width: 36px;\n min-width: 36px;\n max-width: 36px;\n padding: 8px 0;\n overflow: hidden;\n}\n\n.mj-forms-chrome-rail-resizer {\n position: absolute;\n top: 0;\n right: -4px;\n width: 8px;\n height: 100%;\n cursor: col-resize;\n z-index: 3;\n touch-action: none;\n}\n\n.mj-forms-chrome-rail-resizer::after {\n content: '';\n position: absolute;\n top: 12px;\n bottom: 12px;\n left: 3px;\n width: 2px;\n border-radius: 1px;\n background: transparent;\n}\n\n.mj-forms-chrome-rail:hover .mj-forms-chrome-rail-resizer::after,\n.mj-forms-chrome-rail.is-resizing .mj-forms-chrome-rail-resizer::after {\n background: var(--mj-border-strong);\n}\n\n.mj-forms-layout--right-nav .mj-forms-chrome-rail-resizer {\n right: auto;\n left: -4px;\n}\n\n.mj-forms-chrome-rail-spine {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 8px 0;\n border: 0;\n background: transparent;\n color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-spine:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, transparent);\n}\n\n.mj-forms-chrome-rail-spine > i {\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-spine-label {\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n letter-spacing: 0.04em;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-height: 100%;\n}\n\n.mj-forms-chrome-rail-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 2px;\n padding: 2px 4px 6px;\n}\n\n.mj-forms-chrome-rail-pin,\n.mj-forms-chrome-rail-collapse {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-pin:hover,\n.mj-forms-chrome-rail-collapse:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-pin:not(.is-pinned) i {\n transform: rotate(45deg);\n}\n\n.mj-forms-chrome-rail-pin.is-pinned {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-chrome-rail-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-item:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-chrome-rail-item.is-active::before {\n content: '';\n position: absolute;\n left: 0;\n top: 6px;\n bottom: 6px;\n width: 3px;\n border-radius: 0 3px 3px 0;\n background: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-label {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-item.is-drag-over {\n outline: 1px dashed var(--mj-border-focus);\n outline-offset: -1px;\n}\n\n.mj-forms-chrome-rail-handle {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 18px;\n margin-left: -4px;\n color: var(--mj-text-muted);\n cursor: grab;\n opacity: 0;\n overflow: hidden;\n flex-shrink: 0;\n transition: opacity var(--mj-transition-base, 0.15s) ease;\n}\n\n.mj-forms-chrome-rail-item:hover .mj-forms-chrome-rail-handle,\n.mj-forms-chrome-rail-item.is-active .mj-forms-chrome-rail-handle {\n opacity: 1;\n}\n\n.mj-forms-chrome-rail-handle.is-spacer {\n opacity: 0;\n pointer-events: none;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-handle:hover {\n color: var(--mj-brand-primary);\n}\n\n.mj-forms-chrome-rail-handle:active {\n cursor: grabbing;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder {\n position: relative;\n margin-top: 14px;\n padding-top: 14px;\n color: var(--mj-text-muted);\n border-radius: 0;\n}\n\n.mj-forms-chrome-rail-item.is-more-folder::before {\n content: '';\n position: absolute;\n top: 0;\n left: 8px;\n right: 8px;\n height: 1px;\n background: linear-gradient(\n 90deg,\n transparent 0%,\n var(--mj-border-strong) 18%,\n var(--mj-border-strong) 82%,\n transparent 100%\n );\n}\n\n.mj-forms-chrome-rail-item.is-more-folder:hover {\n background: transparent;\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-item.is-more-folder.is-expanded {\n color: var(--mj-text-secondary);\n}\n\n.mj-forms-chrome-rail-more-toggle {\n margin-left: auto;\n font-size: 10px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-chrome-rail-more-tree {\n margin-left: 22px;\n padding-left: 6px;\n border-left: 1px solid var(--mj-border-subtle);\n}\n\n.mj-forms-chrome-rail-item.is-more-child {\n padding-left: 8px;\n}\n\n.mj-forms-chrome-rail-label {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Related-grid row count. Not rendered at 0 \u2014 an empty grid is not a signal, and a\n grey \"0\" beside the red invalid count reads as one more thing to attend to. */\n.mj-forms-chrome-rail-count {\n min-width: 1.25rem;\n padding: 0 6px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n text-align: center;\n}\n\n/* Screen-reader-only text (the indicators' live region). */\n.mj-forms-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n/* ============================================\n RAIL SECTION INDICATORS\n A rail item says WHICH section holds unsaved edits or an invalid field, read\n live from the panels it fronts (FormSectionIndicatorCoordinator). Same idioms\n as the fields themselves: the 6px amber dot an edited field shows after its\n label, and the error colour a failing field paints its underline in.\n ============================================ */\n.mj-forms-chrome-rail-dirty {\n flex: 0 0 auto;\n width: var(--mj-space-1-5);\n height: var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n background: var(--mj-status-warning);\n}\n\n.mj-forms-chrome-rail-error,\n.mj-forms-chrome-rail-warning {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n gap: var(--mj-space-1);\n min-width: var(--mj-space-5);\n padding: var(--mj-space-px) var(--mj-space-1-5);\n border-radius: var(--mj-radius-full);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n line-height: 1.2;\n text-align: center;\n}\n\n.mj-forms-chrome-rail-error {\n background: var(--mj-status-error);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-chrome-rail-warning {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n border: 1px solid var(--mj-status-warning-border);\n}\n\n.mj-forms-chrome-rail-error i,\n.mj-forms-chrome-rail-warning i {\n font-size: var(--mj-space-2-5);\n}\n\n/* Failures no rail item owns: same row shape as an item, not interactive, error-tinted. */\n.mj-forms-chrome-rail-unrouted {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n padding: 10px 12px;\n border-radius: var(--mj-radius-sm);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: default;\n}\n\n.mj-forms-chrome-rail-unrouted > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: inherit;\n}\n\n.mj-forms-chrome-rail-unrouted > .mj-forms-chrome-rail-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The section's icon takes the error colour too, so the item reads as failing\n even before the badge is noticed \u2014 but never the active item's brand tint. */\n.mj-forms-chrome-rail-item.has-errors:not(.is-active) > i {\n color: var(--mj-status-error);\n}\n\n/* Collapsed spine: a column of icon \u2192 badge / dot \u2192 rotated label. */\n.mj-forms-chrome-rail-error.is-spine,\n.mj-forms-chrome-rail-warning.is-spine {\n order: 1;\n padding: 0 var(--mj-space-1);\n min-width: var(--mj-space-5);\n}\n\n.mj-forms-chrome-rail-dirty.is-spine {\n order: 1;\n}\n\n.mj-forms-chrome-rail-spine > .mj-forms-chrome-rail-spine-label {\n order: 2;\n}\n\n@media (max-width: 768px) {\n /* Let the container scroll naturally on mobile instead of locking overflow: hidden */\n .mj-forms-panels-container:has(.mj-forms-layout--left-nav) {\n height: auto;\n max-height: none;\n overflow: visible;\n padding: 0 12px 28px;\n }\n\n .mj-forms-layout-row.mj-forms-layout--left-nav,\n .mj-forms-layout--left-nav {\n flex-direction: column;\n gap: var(--mj-space-2, 8px);\n }\n\n .mj-forms-chrome-rail {\n flex: 0 0 auto;\n margin: 0 -12px;\n width: calc(100% + 24px) !important; /* Full-bleed across the 12px container padding */\n min-width: 0 !important;\n max-width: calc(100% + 24px) !important;\n height: 44px;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: sticky;\n top: 0;\n z-index: 15;\n padding: 0 10px;\n border-radius: 0;\n border-left: none;\n border-right: none;\n border-top: none;\n border-bottom: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n }\n\n /* Reserve space on the right of the rail for the docked [Edit | \u2022\u2022\u2022] cap so the picker clears it */\n mj-record-form-container:has(.mj-forms-toolbar-collapsed-pill) .mj-forms-chrome-rail {\n padding-right: 116px;\n }\n\n /* Hide desktop-only resizer, pin/collapse header, and drag handles on touch/mobile */\n .mj-forms-chrome-rail-resizer,\n .mj-forms-chrome-rail-toolbar,\n .mj-forms-chrome-rail-handle {\n display: none !important;\n }\n\n .mj-forms-section-picker {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2, 8px);\n width: 100%;\n min-width: 0;\n min-height: 44px;\n padding: 0 var(--mj-space-2, 8px);\n border: 0;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-semibold);\n text-align: left;\n cursor: pointer;\n }\n\n .mj-forms-section-picker:hover {\n background: var(--mj-bg-surface-hover);\n }\n\n .mj-forms-section-picker:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n }\n\n .mj-forms-section-picker > i:first-child {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-brand-primary);\n }\n\n .mj-forms-section-picker-title {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .mj-forms-section-picker-chevron {\n margin-left: auto;\n flex-shrink: 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n }\n}\n\n/* ============================================\n PHONE SECTION SHEET \u2014 first-class and More sections as a vertical list\n ============================================ */\n.mj-forms-section-sheet {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3, 12px);\n padding: 0 var(--mj-space-4, 16px) var(--mj-space-4, 16px);\n}\n\n.mj-forms-section-sheet-search {\n width: 100%;\n}\n\n.mj-forms-section-sheet-list {\n display: flex;\n flex-direction: column;\n gap: 2px;\n max-height: 60vh;\n overflow-y: auto;\n}\n\n.mj-forms-section-sheet-heading {\n padding: var(--mj-space-2, 8px) var(--mj-space-3, 12px) var(--mj-space-1, 4px);\n margin-top: var(--mj-space-2, 8px);\n border-top: 1px solid var(--mj-border-subtle);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mj-forms-section-sheet-item {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n min-height: 44px;\n padding: 10px 12px;\n border: 0;\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-primary);\n font: inherit;\n font-size: var(--mj-text-sm);\n text-align: left;\n cursor: pointer;\n}\n\n.mj-forms-section-sheet-item > i {\n width: 1.15em;\n flex-shrink: 0;\n text-align: center;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-section-sheet-item:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.mj-forms-section-sheet-item:focus-visible {\n outline: none;\n box-shadow: var(--mj-focus-ring);\n}\n\n.mj-forms-section-sheet-item.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 16%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-section-sheet-item.is-active > i {\n color: inherit;\n}\n\n.mj-forms-section-sheet-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-forms-section-sheet-empty {\n padding: var(--mj-space-4, 16px);\n color: var(--mj-text-muted);\n font-size: var(--mj-text-sm);\n text-align: center;\n}\n\n/* ============================================\n EMPTY SEARCH STATE\n ============================================ */\n.mj-forms-empty-search-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 80px 24px;\n text-align: center;\n min-height: 400px;\n}\n\n.mj-forms-empty-search-icon {\n width: 80px;\n height: 80px;\n border-radius: var(--mj-radius-full);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 24px;\n}\n\n.mj-forms-empty-search-icon i {\n font-size: 32px;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-empty-search-title {\n font-size: var(--mj-text-xl);\n font-weight: var(--mj-font-semibold);\n color: var(--mj-text-primary);\n margin: 0 0 12px 0;\n}\n\n.mj-forms-empty-search-message {\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.6;\n max-width: 400px;\n margin: 0;\n}\n\n.mj-forms-empty-search-message strong {\n color: var(--mj-text-primary);\n font-weight: var(--mj-font-semibold);\n}\n\n.mj-forms-empty-search-link {\n color: var(--mj-brand-primary);\n text-decoration: none;\n font-weight: var(--mj-font-medium);\n}\n\n.mj-forms-empty-search-link:hover {\n text-decoration: underline;\n}\n\n/* ============================================\n RESPONSIVE\n ============================================ */\n@media (max-width: 768px) {\n .mj-forms-panels-container {\n padding: 16px 12px 32px;\n }\n}\n\n/* ====================================================================\n VARIANT PICKER \u2014 between toolbar and form body\n Compact \"Form: <name> \u25BE\" row that appears when more than one variant\n is applicable for the current entity record.\n ==================================================================== */\n\n.mj-form-variant-picker {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 6px 18px;\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12px;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n.mj-form-variant-picker-label {\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n.mj-form-variant-picker-control {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 4px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n cursor: pointer;\n outline: none;\n user-select: none;\n min-width: 160px;\n}\n.mj-form-variant-picker-control:hover,\n.mj-form-variant-picker-control:focus,\n.mj-form-variant-picker-control.open {\n border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n}\n.mj-form-variant-picker-current {\n font-weight: 600;\n flex: 1;\n}\n.mj-form-variant-picker-menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 50;\n min-width: 280px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 8px);\n box-shadow: var(--mj-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));\n padding: 4px;\n max-height: 320px;\n overflow: auto;\n}\n.mj-form-variant-picker-row {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: 6px;\n cursor: pointer;\n}\n.mj-form-variant-picker-row:hover {\n background: var(--mj-bg-surface-hover);\n}\n.mj-form-variant-picker-row.current {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface));\n}\n.mj-form-variant-picker-row.inactive {\n opacity: 0.7;\n}\n.mj-form-variant-picker-row-main {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1;\n min-width: 0;\n}\n.mj-form-variant-picker-row-title {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-primary);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.mj-form-variant-picker-row-sub {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n.mj-form-variant-picker-check {\n color: var(--mj-brand-primary);\n font-size: 11px;\n}\n\n/* Retrospective fix #8 \u2014 visually distinguish the Default row from variants. */\n.mj-form-variant-picker-row.mj-form-variant-picker-default {\n border-bottom: 1px dashed var(--mj-border-default);\n margin-bottom: 4px;\n padding-bottom: 10px;\n}\n.mj-form-variant-picker-default-tag {\n color: var(--mj-text-muted);\n font-weight: 400;\n font-size: 11px;\n margin-left: 4px;\n}\n\n/* ====================================================================\n NON-INTRUSIVE LIVE REMOTE UPDATE SLIDE-IN PILL\n ==================================================================== */\n@keyframes mj-remote-pill-slide-in {\n from {\n opacity: 0;\n transform: translateY(-8px) scale(0.97);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n.mj-forms-remote-update-pill {\n position: absolute;\n top: 56px;\n right: 24px;\n z-index: 45;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n padding: 6px 12px;\n border-radius: 999px;\n background: var(--mj-bg-surface-elevated, var(--mj-bg-surface-card));\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n box-shadow: var(--mj-shadow-md, 0 4px 14px rgba(0, 0, 0, 0.12));\n color: var(--mj-text-primary);\n font-size: 12.5px;\n font-weight: 500;\n line-height: 1.3;\n animation: mj-remote-pill-slide-in 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;\n}\n\n.mj-forms-remote-update-pill--warning {\n border-color: color-mix(in srgb, var(--mj-status-warning) 45%, var(--mj-border-default));\n}\n\n.mj-forms-remote-update-pill-icon {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n\n.mj-forms-remote-update-pill--warning .mj-forms-remote-update-pill-icon {\n color: var(--mj-status-warning);\n}\n\n.mj-forms-remote-update-pill-action {\n border: none;\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n color: var(--mj-brand-primary);\n font: inherit;\n font-size: 11.5px;\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 999px;\n cursor: pointer;\n}\n\n.mj-forms-remote-update-pill-action:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 20%, transparent);\n}\n\n.mj-forms-remote-update-pill-close {\n border: none;\n background: transparent;\n color: var(--mj-text-muted);\n padding: 2px 4px;\n border-radius: 999px;\n cursor: pointer;\n line-height: 1;\n}\n\n.mj-forms-remote-update-pill-close:hover {\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface-hover);\n}\n\n/* ====================================================================\n TIME-TRAVEL HISTORICAL VERSION PREVIEW BANNER\n ==================================================================== */\n.mj-forms-version-preview-banner {\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 10px 20px;\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-elevated));\n border-bottom: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, var(--mj-border-default));\n color: var(--mj-text-primary);\n font-size: 13px;\n}\n\n.mj-forms-version-preview-top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.mj-forms-version-preview-main {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.mj-forms-version-preview-badge {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 3px 10px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 700;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n}\n\n.mj-forms-version-preview-meta {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-author {\n color: var(--mj-text-secondary);\n font-size: 12px;\n}\n\n.mj-forms-version-preview-diff-pill {\n padding: 2px 9px;\n border-radius: 999px;\n font-size: 11.5px;\n font-weight: 600;\n background: color-mix(in srgb, var(--mj-status-info) 14%, var(--mj-bg-surface));\n color: var(--mj-status-info);\n border: 1px solid color-mix(in srgb, var(--mj-status-info) 30%, transparent);\n}\n\n.mj-forms-version-preview-actions {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n\n.mj-forms-version-preview-stepper {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px;\n border-radius: 6px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-step-btn {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: var(--mj-text-secondary);\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n}\n\n.mj-forms-version-preview-step-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-step-btn:disabled {\n opacity: 0.45;\n cursor: not-allowed;\n}\n\n.mj-forms-version-preview-step-count {\n padding: 0 6px;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n}\n\n.mj-forms-version-preview-timeline-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-brand-primary);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 35%, var(--mj-border-default));\n}\n\n.mj-forms-version-preview-timeline-btn:hover {\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n border-color: var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-brand-primary);\n color: var(--mj-text-inverse);\n border: 1px solid var(--mj-brand-primary);\n}\n\n.mj-forms-version-preview-restore-btn:hover {\n background: var(--mj-brand-primary-hover);\n}\n\n.mj-forms-version-preview-exit-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-default);\n}\n\n.mj-forms-version-preview-exit-btn:hover {\n background: var(--mj-bg-surface-hover);\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-diffs-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px;\n padding-top: 2px;\n}\n\n.mj-forms-version-preview-field-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n padding: 3px 9px;\n border-radius: 6px;\n font-size: 11.5px;\n background: var(--mj-bg-surface);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 28%, var(--mj-border-default));\n color: var(--mj-text-primary);\n}\n\n.mj-forms-version-preview-field-chip-label {\n color: var(--mj-text-secondary);\n font-weight: 600;\n}\n\n.mj-forms-version-preview-field-chip-hist {\n color: var(--mj-brand-primary);\n font-weight: 700;\n}\n\n.mj-forms-version-preview-field-chip-live {\n color: var(--mj-text-muted);\n font-size: 11px;\n}\n\n.mj-forms-version-preview-field-chip-more {\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-muted);\n padding: 2px 6px;\n}\n\n.mj-forms-version-preview-step-btn:focus-visible,\n.mj-forms-version-preview-timeline-btn:focus-visible,\n.mj-forms-version-preview-restore-btn:focus-visible,\n.mj-forms-version-preview-exit-btn:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n/* ============================================\n RAIL COMMENT COUNT BADGE & ANCHOR PULSE\n ============================================ */\n.mj-forms-chrome-rail-comments {\n display: inline-flex;\n align-items: center;\n gap: 3px;\n padding: 1px 6px;\n border-radius: var(--mj-radius-full, 9999px);\n background: color-mix(in srgb, var(--mj-brand-primary) 14%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-size: 11px;\n font-weight: 600;\n line-height: 1.25;\n flex-shrink: 0;\n}\n\n.mj-forms-chrome-rail-comments.is-spine {\n margin-top: 6px;\n}\n\n@keyframes mj-forms-comment-pulse {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--mj-brand-primary) 55%, transparent);\n background-color: color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px transparent;\n background-color: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 transparent;\n background-color: transparent;\n }\n}\n\n.mj-forms-comment-anchor-pulse {\n border-radius: var(--mj-radius-sm, 6px);\n animation: mj-forms-comment-pulse 1.8s ease-out;\n}\n\n"] }]
|
|
4325
4885
|
}], null, { recordChangesDrawer: [{
|
|
4326
4886
|
type: ViewChild,
|
|
4327
4887
|
args: [RecordChangesComponent]
|
|
@@ -4415,7 +4975,7 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
|
|
|
4415
4975
|
type: ContentChildren,
|
|
4416
4976
|
args: [MjCollapsiblePanelComponent, { descendants: true }]
|
|
4417
4977
|
}] }); })();
|
|
4418
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MjRecordFormContainerComponent, { className: "MjRecordFormContainerComponent", filePath: "src/lib/container/record-form-container.component.ts", lineNumber:
|
|
4978
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MjRecordFormContainerComponent, { className: "MjRecordFormContainerComponent", filePath: "src/lib/container/record-form-container.component.ts", lineNumber: 193 }); })();
|
|
4419
4979
|
/** The value a form with no entity resolves to. */
|
|
4420
4980
|
const NO_RESOLVED_CONTRIBUTIONS = { Winners: [], RailItems: new Map() };
|
|
4421
4981
|
/**
|