@memberjunction/ng-base-forms 6.2.0-edge.3 → 6.2.0-edge.4

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.
@@ -67,6 +67,18 @@ export declare function SectionDrawingAnyField(panels: readonly FormChromePanelS
67
67
  * gets a tab at the bottom of the rail instead.
68
68
  */
69
69
  export declare function SlotChromeGroup(slot: string | null | undefined): 'details' | null;
70
+ /**
71
+ * The rail item a contribution falls into when it claims no section: the slot's group, unless
72
+ * the contribution declared an L1 `inclusion` of its own.
73
+ *
74
+ * The slot is a default — "nothing more specific says" — and a declared inclusion is more
75
+ * specific. `'Primary'` asks for a first-class rail item in the lead band before Details, `'More'`
76
+ * for the overflow folder, `'None'` for nothing at all; each is honoured downstream from the
77
+ * inclusion map. Filing such a contribution into Details here would pin it there, and a pin
78
+ * outranks the inclusion, so an Overview declared `Primary` at `before-fields` would vanish into
79
+ * the tab it was meant to lead.
80
+ */
81
+ export declare function DefaultContributionChromeGroup(slot: string | null | undefined, declaresInclusion: boolean): 'details' | null;
70
82
  /** Enough of a rendered section to decide which rail item it belongs to. */
71
83
  export interface ChromeSectionShape {
72
84
  Variant?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"form-chrome.d.ts","sourceRoot":"","sources":["../../../src/lib/chrome/form-chrome.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,gBAAgB,mBAAmB,CAAC;AAEjD,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,sBAAsB,CAAC;AAEvD,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAE/C,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AAE5D;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEhF;AAED,iEAAiE;AACjE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AE,EACjC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,GACxC;IAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAM/C;AAED,MAAM,WAAW,uBAAuB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,eAAO,MAAM,wBAAwB,EAAE,cAKtC,CAAC"}
@@ -106,6 +106,20 @@ export function SlotChromeGroup(slot) {
106
106
  const key = (slot ?? '').trim();
107
107
  return key === 'before-fields' || key === 'after-fields' ? 'details' : null;
108
108
  }
109
+ /**
110
+ * The rail item a contribution falls into when it claims no section: the slot's group, unless
111
+ * the contribution declared an L1 `inclusion` of its own.
112
+ *
113
+ * The slot is a default — "nothing more specific says" — and a declared inclusion is more
114
+ * specific. `'Primary'` asks for a first-class rail item in the lead band before Details, `'More'`
115
+ * for the overflow folder, `'None'` for nothing at all; each is honoured downstream from the
116
+ * inclusion map. Filing such a contribution into Details here would pin it there, and a pin
117
+ * outranks the inclusion, so an Overview declared `Primary` at `before-fields` would vanish into
118
+ * the tab it was meant to lead.
119
+ */
120
+ export function DefaultContributionChromeGroup(slot, declaresInclusion) {
121
+ return declaresInclusion ? null : SlotChromeGroup(slot);
122
+ }
109
123
  /**
110
124
  * The rail item a contribution joins when it replaces `sectionKey`.
111
125
  *
@@ -1 +1 @@
1
- {"version":3,"file":"form-chrome.js","sourceRoot":"","sources":["../../../src/lib/chrome/form-chrome.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAEjD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* Form chrome — how the container arranges sections (accordion vs left-nav,\n * first-class vs More). Complements form contributions (what is on the form).\n *\n * @see plans/form-chrome-policy.md\n */\nimport type { FormRole } from '@memberjunction/core';\n\nexport const MORE_SECTION_KEY = '__mj_form_more';\n\n/** Field panels (default / inherited) collapse into this one left-nav item. */\nexport const DETAILS_SECTION_KEY = '__mj_form_details';\n\n/** The title of the left-nav item {@link DETAILS_SECTION_KEY} names. */\nexport const DETAILS_SECTION_TITLE = 'Details';\n\nexport const SYSTEM_METADATA_SECTION_KEY = 'systemMetadata';\n\n/**\n * Expand-all / collapse-all only apply to stacked accordion panels.\n * Left-nav and right-nav show one section at a time, so those buttons\n * would be noise.\n */\nexport function IsAccordionFormChrome(layout: string | null | undefined): boolean {\n return (layout ?? 'accordion') === 'accordion';\n}\n\n/** Audit / timestamp leftover sections always fold into More. */\nexport function IsAlwaysMoreSection(sectionKey: string, sectionName?: string): boolean {\n const key = (sectionKey ?? '').trim().toLowerCase();\n if (key === SYSTEM_METADATA_SECTION_KEY.toLowerCase()) return true;\n const name = (sectionName ?? '').trim().toLowerCase();\n return name === 'system metadata';\n}\n\n/**\n * The section keys filed under one rail item, worked out from the panels alone.\n *\n * The rail's own membership is not usable here: it is computed from the set of panels a\n * contribution has hidden, so asking it which panels a contribution should hide would be\n * circular. This applies the same classification the rail applies — audit leftovers to\n * More, related grids and contributions to an item of their own merged by title,\n * everything else to Details — over the unfiltered panels.\n *\n * `groupKey` is any rail item's key, so nothing here privileges Details.\n */\nexport function RailGroupSectionKeys(\n panels: readonly FormChromePanelSnapshot[],\n contributionSectionKeys: readonly string[],\n groupKey: string,\n): string[] {\n const key = (groupKey ?? '').trim();\n if (!key) return [];\n const contributions = new Set(contributionSectionKeys);\n\n const groupOf = (panel: FormChromePanelSnapshot): string => {\n if (IsAlwaysMoreSection(panel.SectionKey, panel.SectionName)) return MORE_SECTION_KEY;\n if (panel.Variant === 'related-entity' || contributions.has(panel.SectionKey)) return panel.SectionKey;\n return DETAILS_SECTION_KEY;\n };\n\n // Related items sharing a title are one rail item, so naming either one names both.\n const named = panels.find((panel) => groupOf(panel) === key);\n const namedTitle = named && key !== DETAILS_SECTION_KEY && key !== MORE_SECTION_KEY\n ? HumanizeEntityTitle(named.SectionName || named.SectionKey)\n : null;\n\n return panels\n .filter((panel) => {\n const group = groupOf(panel);\n if (group === key) return true;\n if (!namedTitle || group === DETAILS_SECTION_KEY || group === MORE_SECTION_KEY) return false;\n return HumanizeEntityTitle(panel.SectionName || panel.SectionKey) === namedTitle;\n })\n .map((panel) => panel.SectionKey);\n}\n\n/**\n * The panels a contribution can replace one of: what the Details rail item is made of,\n * in document order.\n *\n * Not \"every panel that is not a related grid\". That set also holds the contributions\n * already installed — replaced by naming the panel, not a section — and the leftover\n * audit sections, which the rail files under More. Offering either as a field group\n * inside Details tells the user the tab contains things it does not. With no Details\n * item the form has no such tab, and every non-grid panel stands on its own.\n */\nexport function FieldGroupsInDetails(\n panels: readonly FormChromePanelSnapshot[],\n groups: readonly FormChromeGroup[],\n): Array<{ Key: string; Title: string }> {\n const details = groups.find((group) => group.Key === DETAILS_SECTION_KEY);\n const keep = details\n ? (panel: FormChromePanelSnapshot) => details.SectionKeys.includes(panel.SectionKey)\n : (panel: FormChromePanelSnapshot) => panel.Variant !== 'related-entity';\n return panels.filter(keep).map((panel) => ({ Key: panel.SectionKey, Title: panel.SectionName }));\n}\n\n/**\n * The section drawing any of these fields, which is where a field claim renders.\n *\n * Any, not all: a claim naming a field the form has stopped drawing still renders where\n * its remaining fields are. The first match wins, and the claim is meant to name fields of\n * one section, so there is normally only one.\n */\nexport function SectionDrawingAnyField(\n panels: readonly FormChromePanelSnapshot[],\n fieldNames: readonly string[],\n): string | undefined {\n const wanted = new Set(fieldNames.map((name) => name.trim()).filter((name) => name.length > 0));\n if (wanted.size === 0) return undefined;\n return panels.find((panel) => (panel.Fields ?? []).some((field) => wanted.has(field.Name)))?.SectionKey;\n}\n\n/**\n * The rail item a contribution belongs to by virtue of the slot it mounts at.\n *\n * A slot says where a panel sits in the form body, and the rail groups that body — so the\n * slot decides the group unless something more specific does. `before-fields` and\n * `after-fields` are positions among the field sections, and the field sections are the\n * Details tab, so a panel at either belongs in Details. The rest are positions relative\n * to things that are tabs in their own right, so a panel there is its own tab too.\n *\n * Without this the slot has no visible effect on a rail form at all: every contribution\n * that claims nothing becomes its own tab, and a user who asked for \"before the fields\"\n * gets a tab at the bottom of the rail instead.\n */\nexport function SlotChromeGroup(slot: string | null | undefined): 'details' | null {\n const key = (slot ?? '').trim();\n return key === 'before-fields' || key === 'after-fields' ? 'details' : null;\n}\n\n/** Enough of a rendered section to decide which rail item it belongs to. */\nexport interface ChromeSectionShape {\n Variant?: string;\n SectionName?: string;\n}\n\n/**\n * The rail item a contribution joins when it replaces `sectionKey`.\n *\n * Replacing something means standing where it stood. A panel put in place of a field\n * section belongs in the Details tab that section was part of; one put in place of the\n * whole Details group belongs in that group; one put in place of a leftover audit section\n * belongs in More. Null means the contribution keeps a rail item of its own: it replaces\n * nothing, the section is not on the form, or it takes over a related grid — that last one\n * already inherits the grid's rail item through the relationship claim.\n *\n * Without this a replacing panel is lifted to a first-class rail item beside the tab it\n * emptied, so the form loses a section and gains a tab.\n */\nexport function ReplacedSectionChromeGroup(\n sectionKey: string | null | undefined,\n section: ChromeSectionShape | null | undefined,\n): 'details' | 'more' | null {\n const key = (sectionKey ?? '').trim();\n if (!key) return null;\n // Details and More are assembled at render time, so neither has a panel of its own to\n // look up, and a panel standing in for one has nowhere else to be. Every other rail\n // item is named after the panels it holds, so replacing all of them empties the item\n // and the contribution becomes the item — null, a rail item of its own.\n if (key === DETAILS_SECTION_KEY) return 'details';\n if (key === MORE_SECTION_KEY) return 'more';\n if (!section || section.Variant === 'related-entity') return null;\n return IsAlwaysMoreSection(key, section.SectionName) ? 'more' : 'details';\n}\n\nconst SCHEMA_PREFIX = /^[A-Za-z][A-Za-z0-9_]*$/;\nconst LINE_TERMINATOR = /[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Drop a schema entity-name prefix (`MJ_BizApps_Common: Contact Methods` →\n * `Contact Methods`). DisplayName is the long-term source of truth; this keeps\n * already-baked SectionName strings readable until CodeGen reruns.\n */\nexport function HumanizeEntityTitle(name: string): string {\n const trimmed = (name ?? '').trim();\n const colon = trimmed.indexOf(':');\n if (colon < 1 || !SCHEMA_PREFIX.test(trimmed.slice(0, colon))) return trimmed;\n const rest = trimmed.slice(colon + 1);\n const title = rest.trimStart();\n // The prefix needs whitespace after its colon, and the title is one line.\n if (title.length === rest.length || LINE_TERMINATOR.test(title)) return trimmed;\n return title || trimmed;\n}\n\nexport interface FormChromeGroup {\n Key: string;\n Title: string;\n Icon: string;\n SectionKeys: string[];\n /** True when this group is the More bucket (Detail related grids). */\n IsMore: boolean;\n /**\n * Primary contribution that owns its own rail item and sorts in the\n * lead band (before Details). Overview is the usual case.\n */\n IsLead?: boolean;\n}\n\nexport interface FormChromeSpec {\n Layout: 'accordion' | 'left-nav';\n Groups: FormChromeGroup[];\n /** SectionKey → role for related-entity panels. Field panels are omitted. */\n RelatedRoles: ReadonlyMap<string, FormRole>;\n MoreSectionKeys: string[];\n /**\n * L3 admin Title overlays, keyed by section key or contribution key.\n * First-class group titles are already rewritten; More items and\n * accordion headers read this map so the same override reaches both.\n */\n TitleBySectionKey?: ReadonlyMap<string, string>;\n}\n\n/**\n * True when `sectionKey` sits in the left-nav Details group — the one rail\n * item that shows SEVERAL panels at once (every field panel, plus any\n * contribution registered with `ChromeGroup: 'details'`). The container\n * renders those panels as ONE card (`.mj-chrome-details`, with\n * `-first` / `-last` on the visual edges): no per-section headers, one\n * surface — otherwise the field rows float on the page background.\n */\nexport function IsDetailsSectionKey(spec: Pick<FormChromeSpec, 'Groups'>, sectionKey: string): boolean {\n const details = spec.Groups.find((g) => g.Key === DETAILS_SECTION_KEY);\n return !!details && details.SectionKeys.includes(sectionKey);\n}\n\n/**\n * The visual first and last of the Details panels currently shown. Panels are\n * flex items sequenced by CSS `order` (the form's section display order), so\n * DOM order is not enough — a user who reordered sections would get the card's\n * rounded corners on the wrong panels. Ties keep DOM order (stable sort).\n */\nexport function DetailsCardEdges(\n keysInDomOrder: readonly string[],\n orderOf: (sectionKey: string) => number,\n): { First: string | null; Last: string | null } {\n if (keysInDomOrder.length === 0) return { First: null, Last: null };\n const sorted = keysInDomOrder\n .map((key, index) => ({ key, index, order: orderOf(key) }))\n .sort((a, b) => (a.order - b.order) || (a.index - b.index));\n return { First: sorted[0].key, Last: sorted[sorted.length - 1].key };\n}\n\nexport interface FormChromePanelSnapshot {\n SectionKey: string;\n SectionName: string;\n Variant: string;\n Icon?: string;\n /**\n * The inputs this panel draws, when it draws any. Present so the composition snapshot\n * can name a field a contribution could stand in for; the chrome rules themselves do\n * not read it.\n */\n Fields?: ReadonlyArray<{ Name: string; Label: string }>;\n}\n\nexport const DEFAULT_FORM_CHROME_SPEC: FormChromeSpec = {\n Layout: 'accordion',\n Groups: [],\n RelatedRoles: new Map(),\n MoreSectionKeys: [],\n};\n"]}
1
+ {"version":3,"file":"form-chrome.js","sourceRoot":"","sources":["../../../src/lib/chrome/form-chrome.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAEjD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;AAEvD,wEAAwE;AACxE,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAE/C,MAAM,CAAC,MAAM,2BAA2B,GAAG,gBAAgB,CAAC;AAE5D;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,MAAiC;IACnE,OAAO,CAAC,MAAM,IAAI,WAAW,CAAC,KAAK,WAAW,CAAC;AACnD,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,mBAAmB,CAAC,UAAkB,EAAE,WAAoB;IACxE,MAAM,GAAG,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WA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O,CAAC,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACjE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAC5B,cAAiC,EACjC,OAAuC;IAEvC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACpE,MAAM,MAAM,GAAG,cAAc;SACxB,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;SAC1D,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAChE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AACzE,CAAC;AAeD,MAAM,CAAC,MAAM,wBAAwB,GAAmB;IACpD,MAAM,EAAE,WAAW;IACnB,MAAM,EAAE,EAAE;IACV,YAAY,EAAE,IAAI,GAAG,EAAE;IACvB,eAAe,EAAE,EAAE;CACtB,CAAC","sourcesContent":["/**\n * Form chrome — how the container arranges sections (accordion vs left-nav,\n * first-class vs More). Complements form contributions (what is on the form).\n *\n * @see plans/form-chrome-policy.md\n */\nimport type { FormRole } from '@memberjunction/core';\n\nexport const MORE_SECTION_KEY = '__mj_form_more';\n\n/** Field panels (default / inherited) collapse into this one left-nav item. */\nexport const DETAILS_SECTION_KEY = '__mj_form_details';\n\n/** The title of the left-nav item {@link DETAILS_SECTION_KEY} names. */\nexport const DETAILS_SECTION_TITLE = 'Details';\n\nexport const SYSTEM_METADATA_SECTION_KEY = 'systemMetadata';\n\n/**\n * Expand-all / collapse-all only apply to stacked accordion panels.\n * Left-nav and right-nav show one section at a time, so those buttons\n * would be noise.\n */\nexport function IsAccordionFormChrome(layout: string | null | undefined): boolean {\n return (layout ?? 'accordion') === 'accordion';\n}\n\n/** Audit / timestamp leftover sections always fold into More. */\nexport function IsAlwaysMoreSection(sectionKey: string, sectionName?: string): boolean {\n const key = (sectionKey ?? '').trim().toLowerCase();\n if (key === SYSTEM_METADATA_SECTION_KEY.toLowerCase()) return true;\n const name = (sectionName ?? '').trim().toLowerCase();\n return name === 'system metadata';\n}\n\n/**\n * The section keys filed under one rail item, worked out from the panels alone.\n *\n * The rail's own membership is not usable here: it is computed from the set of panels a\n * contribution has hidden, so asking it which panels a contribution should hide would be\n * circular. This applies the same classification the rail applies — audit leftovers to\n * More, related grids and contributions to an item of their own merged by title,\n * everything else to Details — over the unfiltered panels.\n *\n * `groupKey` is any rail item's key, so nothing here privileges Details.\n */\nexport function RailGroupSectionKeys(\n panels: readonly FormChromePanelSnapshot[],\n contributionSectionKeys: readonly string[],\n groupKey: string,\n): string[] {\n const key = (groupKey ?? '').trim();\n if (!key) return [];\n const contributions = new Set(contributionSectionKeys);\n\n const groupOf = (panel: FormChromePanelSnapshot): string => {\n if (IsAlwaysMoreSection(panel.SectionKey, panel.SectionName)) return MORE_SECTION_KEY;\n if (panel.Variant === 'related-entity' || contributions.has(panel.SectionKey)) return panel.SectionKey;\n return DETAILS_SECTION_KEY;\n };\n\n // Related items sharing a title are one rail item, so naming either one names both.\n const named = panels.find((panel) => groupOf(panel) === key);\n const namedTitle = named && key !== DETAILS_SECTION_KEY && key !== MORE_SECTION_KEY\n ? HumanizeEntityTitle(named.SectionName || named.SectionKey)\n : null;\n\n return panels\n .filter((panel) => {\n const group = groupOf(panel);\n if (group === key) return true;\n if (!namedTitle || group === DETAILS_SECTION_KEY || group === MORE_SECTION_KEY) return false;\n return HumanizeEntityTitle(panel.SectionName || panel.SectionKey) === namedTitle;\n })\n .map((panel) => panel.SectionKey);\n}\n\n/**\n * The panels a contribution can replace one of: what the Details rail item is made of,\n * in document order.\n *\n * Not \"every panel that is not a related grid\". That set also holds the contributions\n * already installed — replaced by naming the panel, not a section — and the leftover\n * audit sections, which the rail files under More. Offering either as a field group\n * inside Details tells the user the tab contains things it does not. With no Details\n * item the form has no such tab, and every non-grid panel stands on its own.\n */\nexport function FieldGroupsInDetails(\n panels: readonly FormChromePanelSnapshot[],\n groups: readonly FormChromeGroup[],\n): Array<{ Key: string; Title: string }> {\n const details = groups.find((group) => group.Key === DETAILS_SECTION_KEY);\n const keep = details\n ? (panel: FormChromePanelSnapshot) => details.SectionKeys.includes(panel.SectionKey)\n : (panel: FormChromePanelSnapshot) => panel.Variant !== 'related-entity';\n return panels.filter(keep).map((panel) => ({ Key: panel.SectionKey, Title: panel.SectionName }));\n}\n\n/**\n * The section drawing any of these fields, which is where a field claim renders.\n *\n * Any, not all: a claim naming a field the form has stopped drawing still renders where\n * its remaining fields are. The first match wins, and the claim is meant to name fields of\n * one section, so there is normally only one.\n */\nexport function SectionDrawingAnyField(\n panels: readonly FormChromePanelSnapshot[],\n fieldNames: readonly string[],\n): string | undefined {\n const wanted = new Set(fieldNames.map((name) => name.trim()).filter((name) => name.length > 0));\n if (wanted.size === 0) return undefined;\n return panels.find((panel) => (panel.Fields ?? []).some((field) => wanted.has(field.Name)))?.SectionKey;\n}\n\n/**\n * The rail item a contribution belongs to by virtue of the slot it mounts at.\n *\n * A slot says where a panel sits in the form body, and the rail groups that body — so the\n * slot decides the group unless something more specific does. `before-fields` and\n * `after-fields` are positions among the field sections, and the field sections are the\n * Details tab, so a panel at either belongs in Details. The rest are positions relative\n * to things that are tabs in their own right, so a panel there is its own tab too.\n *\n * Without this the slot has no visible effect on a rail form at all: every contribution\n * that claims nothing becomes its own tab, and a user who asked for \"before the fields\"\n * gets a tab at the bottom of the rail instead.\n */\nexport function SlotChromeGroup(slot: string | null | undefined): 'details' | null {\n const key = (slot ?? '').trim();\n return key === 'before-fields' || key === 'after-fields' ? 'details' : null;\n}\n\n/**\n * The rail item a contribution falls into when it claims no section: the slot's group, unless\n * the contribution declared an L1 `inclusion` of its own.\n *\n * The slot is a default — \"nothing more specific says\" — and a declared inclusion is more\n * specific. `'Primary'` asks for a first-class rail item in the lead band before Details, `'More'`\n * for the overflow folder, `'None'` for nothing at all; each is honoured downstream from the\n * inclusion map. Filing such a contribution into Details here would pin it there, and a pin\n * outranks the inclusion, so an Overview declared `Primary` at `before-fields` would vanish into\n * the tab it was meant to lead.\n */\nexport function DefaultContributionChromeGroup(\n slot: string | null | undefined,\n declaresInclusion: boolean,\n): 'details' | null {\n return declaresInclusion ? null : SlotChromeGroup(slot);\n}\n\n/** Enough of a rendered section to decide which rail item it belongs to. */\nexport interface ChromeSectionShape {\n Variant?: string;\n SectionName?: string;\n}\n\n/**\n * The rail item a contribution joins when it replaces `sectionKey`.\n *\n * Replacing something means standing where it stood. A panel put in place of a field\n * section belongs in the Details tab that section was part of; one put in place of the\n * whole Details group belongs in that group; one put in place of a leftover audit section\n * belongs in More. Null means the contribution keeps a rail item of its own: it replaces\n * nothing, the section is not on the form, or it takes over a related grid — that last one\n * already inherits the grid's rail item through the relationship claim.\n *\n * Without this a replacing panel is lifted to a first-class rail item beside the tab it\n * emptied, so the form loses a section and gains a tab.\n */\nexport function ReplacedSectionChromeGroup(\n sectionKey: string | null | undefined,\n section: ChromeSectionShape | null | undefined,\n): 'details' | 'more' | null {\n const key = (sectionKey ?? '').trim();\n if (!key) return null;\n // Details and More are assembled at render time, so neither has a panel of its own to\n // look up, and a panel standing in for one has nowhere else to be. Every other rail\n // item is named after the panels it holds, so replacing all of them empties the item\n // and the contribution becomes the item — null, a rail item of its own.\n if (key === DETAILS_SECTION_KEY) return 'details';\n if (key === MORE_SECTION_KEY) return 'more';\n if (!section || section.Variant === 'related-entity') return null;\n return IsAlwaysMoreSection(key, section.SectionName) ? 'more' : 'details';\n}\n\nconst SCHEMA_PREFIX = /^[A-Za-z][A-Za-z0-9_]*$/;\nconst LINE_TERMINATOR = /[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Drop a schema entity-name prefix (`MJ_BizApps_Common: Contact Methods` →\n * `Contact Methods`). DisplayName is the long-term source of truth; this keeps\n * already-baked SectionName strings readable until CodeGen reruns.\n */\nexport function HumanizeEntityTitle(name: string): string {\n const trimmed = (name ?? '').trim();\n const colon = trimmed.indexOf(':');\n if (colon < 1 || !SCHEMA_PREFIX.test(trimmed.slice(0, colon))) return trimmed;\n const rest = trimmed.slice(colon + 1);\n const title = rest.trimStart();\n // The prefix needs whitespace after its colon, and the title is one line.\n if (title.length === rest.length || LINE_TERMINATOR.test(title)) return trimmed;\n return title || trimmed;\n}\n\nexport interface FormChromeGroup {\n Key: string;\n Title: string;\n Icon: string;\n SectionKeys: string[];\n /** True when this group is the More bucket (Detail related grids). */\n IsMore: boolean;\n /**\n * Primary contribution that owns its own rail item and sorts in the\n * lead band (before Details). Overview is the usual case.\n */\n IsLead?: boolean;\n}\n\nexport interface FormChromeSpec {\n Layout: 'accordion' | 'left-nav';\n Groups: FormChromeGroup[];\n /** SectionKey → role for related-entity panels. Field panels are omitted. */\n RelatedRoles: ReadonlyMap<string, FormRole>;\n MoreSectionKeys: string[];\n /**\n * L3 admin Title overlays, keyed by section key or contribution key.\n * First-class group titles are already rewritten; More items and\n * accordion headers read this map so the same override reaches both.\n */\n TitleBySectionKey?: ReadonlyMap<string, string>;\n}\n\n/**\n * True when `sectionKey` sits in the left-nav Details group — the one rail\n * item that shows SEVERAL panels at once (every field panel, plus any\n * contribution registered with `ChromeGroup: 'details'`). The container\n * renders those panels as ONE card (`.mj-chrome-details`, with\n * `-first` / `-last` on the visual edges): no per-section headers, one\n * surface — otherwise the field rows float on the page background.\n */\nexport function IsDetailsSectionKey(spec: Pick<FormChromeSpec, 'Groups'>, sectionKey: string): boolean {\n const details = spec.Groups.find((g) => g.Key === DETAILS_SECTION_KEY);\n return !!details && details.SectionKeys.includes(sectionKey);\n}\n\n/**\n * The visual first and last of the Details panels currently shown. Panels are\n * flex items sequenced by CSS `order` (the form's section display order), so\n * DOM order is not enough — a user who reordered sections would get the card's\n * rounded corners on the wrong panels. Ties keep DOM order (stable sort).\n */\nexport function DetailsCardEdges(\n keysInDomOrder: readonly string[],\n orderOf: (sectionKey: string) => number,\n): { First: string | null; Last: string | null } {\n if (keysInDomOrder.length === 0) return { First: null, Last: null };\n const sorted = keysInDomOrder\n .map((key, index) => ({ key, index, order: orderOf(key) }))\n .sort((a, b) => (a.order - b.order) || (a.index - b.index));\n return { First: sorted[0].key, Last: sorted[sorted.length - 1].key };\n}\n\nexport interface FormChromePanelSnapshot {\n SectionKey: string;\n SectionName: string;\n Variant: string;\n Icon?: string;\n /**\n * The inputs this panel draws, when it draws any. Present so the composition snapshot\n * can name a field a contribution could stand in for; the chrome rules themselves do\n * not read it.\n */\n Fields?: ReadonlyArray<{ Name: string; Label: string }>;\n}\n\nexport const DEFAULT_FORM_CHROME_SPEC: FormChromeSpec = {\n Layout: 'accordion',\n Groups: [],\n RelatedRoles: new Map(),\n MoreSectionKeys: [],\n};\n"]}
@@ -505,7 +505,8 @@ export declare class MjRecordFormContainerComponent extends BaseAngularComponent
505
505
  * was part of, not in a rail item of its own beside it. Without this the replaced section
506
506
  * disappears and the panel surfaces somewhere else, so the form loses a section and gains
507
507
  * a tab and neither is what was asked for. A panel drawn inside a section belongs to that
508
- * section's rail item the same way, and anything else to the item its slot sits in.
508
+ * section's rail item the same way. Anything else goes to the item its slot sits in, unless it
509
+ * declared an `inclusion` — that is more specific than the slot (see DefaultContributionChromeGroup).
509
510
  *
510
511
  * Derived here rather than written to the row, because which rail item a section belongs
511
512
  * to is a property of the rendered form. The same contribution on an accordion form, or
@@ -1 +1 @@
1
- {"version":3,"file":"record-form-container.component.d.ts","sourceRoot":"","sources":["../../../src/lib/container/record-form-container.component.ts"],"names":[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,CAAa;IAE3D,OAAO,CAAC,yBAAyB;IASjC;;;;;;;OAOG;IACH,OAAO,CAAC,yBAAyB;IAwBjC,6EAA6E;IAC7E,OAAO,CAAC,aAAa;IAQrB,8EAA8E;IAC9E,OAAO,CAAC,2BAA2B;IASnC;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAYhC,2FAA2F;IAC3F,OAAO,CAAC,uBAAuB;IAW/B,yEAAyE;IACzE,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAMxD,cAAc,IAAI,IAAI;IAMtB,oBAAoB,IAAI,IAAI;IAK5B;;;;OAIG;IACH,qBAAqB,IAAI,IAAI;yCAliFlB,8BAA8B;2CAA9B,8BAA8B;CAwiF1C"}
1
+ {"version":3,"file":"record-form-container.component.d.ts","sourceRoot":"","sources":["../../../src/lib/container/record-form-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACqB,YAAY,EAErB,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAEjE,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAA8D,MAAM,sBAAsB,CAAC;AAExI,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAIrE,OAAO,EAAE,iBAAiB,EAA0B,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAElG,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,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AW/C,gBAAgB,IAAI,IAAI;IAKxB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI;IAQ9C,wBAAwB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAQ9D,qBAAqB,IAAI,IAAI;IAI7B,sBAAsB,IAAI,IAAI;IAS9B,gDAAgD;IACzC,gBAAgB,UAAS;IAEhC;;;;;;;;;;;OAWG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAEjC;IAED;;;;;OAKG;IACI,oBAAoB,EAAE,oBAAoB,EAAE,CAAM;IAClD,sBAAsB,EAAE,qBAAqB,EAAE,CAAM;IACrD,mBAAmB,EAAE,oBAAoB,EAAE,CAAM;IACxD,yFAAyF;IAClF,qBAAqB,EAAE,YAAY,GAAG,IAAI,CAAQ;IAClD,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAa;IAE3D,OAAO,CAAC,yBAAyB;IASjC;;;;;;;OAOG;IACH,OAAO,CAAC,yBAAyB;IAwBjC,6EAA6E;IAC7E,OAAO,CAAC,aAAa;IAQrB,8EAA8E;IAC9E,OAAO,CAAC,2BAA2B;IASnC;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAYhC,2FAA2F;IAC3F,OAAO,CAAC,uBAAuB;IAW/B,yEAAyE;IACzE,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAMxD,cAAc,IAAI,IAAI;IAMtB,oBAAoB,IAAI,IAAI;IAK5B;;;;OAIG;IACH,qBAAqB,IAAI,IAAI;yCAniFlB,8BAA8B;2CAA9B,8BAA8B;CAyiF1C"}
@@ -18,7 +18,7 @@ import { FormPanelAdminService } from '../panel-manager/form-panel-admin.service
18
18
  import { FormChromeCoordinator } from '../chrome/form-chrome-coordinator.service';
19
19
  import { ResolveFormChrome, OrderChromeGroups, OrderMoreSectionKeys, MoveChromeGroupInSectionOrder, OverlayChromeSectionOrder } from '../chrome/resolve-form-chrome';
20
20
  import { LoadFormChromeRules } from '../chrome/load-form-chrome-rules';
21
- import { MORE_SECTION_KEY, HumanizeEntityTitle, IsAlwaysMoreSection, IsDetailsSectionKey, DetailsCardEdges, ReplacedSectionChromeGroup, RailGroupSectionKeys, SlotChromeGroup, SectionDrawingAnyField } from '../chrome/form-chrome';
21
+ import { MORE_SECTION_KEY, HumanizeEntityTitle, IsAlwaysMoreSection, IsDetailsSectionKey, DetailsCardEdges, ReplacedSectionChromeGroup, RailGroupSectionKeys, DefaultContributionChromeGroup, SectionDrawingAnyField } from '../chrome/form-chrome';
22
22
  import { ClampRailWidth, FORM_CHROME_RAIL_PINNED_DEFAULT, FORM_CHROME_RAIL_WIDTH_DEFAULT, FORM_CHROME_RAIL_WIDTH_MAX, FORM_CHROME_RAIL_WIDTH_MIN, ParseRailPinnedSetting, ParseRailWidthSetting, SerializeRailPinnedSetting, SerializeRailWidthSetting, ShouldPersistChromeActiveGroup, UnsavedLeadGroupKey, } from '../chrome/form-chrome-rail-pref';
23
23
  import { ApplyClippedTitle } from '../chrome/clipped-title';
24
24
  import { DETAILS_SECTION_KEY } from '../chrome/form-chrome';
@@ -1981,7 +1981,8 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
1981
1981
  * was part of, not in a rail item of its own beside it. Without this the replaced section
1982
1982
  * disappears and the panel surfaces somewhere else, so the form loses a section and gains
1983
1983
  * a tab and neither is what was asked for. A panel drawn inside a section belongs to that
1984
- * section's rail item the same way, and anything else to the item its slot sits in.
1984
+ * section's rail item the same way. Anything else goes to the item its slot sits in, unless it
1985
+ * declared an `inclusion` — that is more specific than the slot (see DefaultContributionChromeGroup).
1985
1986
  *
1986
1987
  * Derived here rather than written to the row, because which rail item a section belongs
1987
1988
  * to is a property of the rendered form. The same contribution on an accordion form, or
@@ -2000,7 +2001,7 @@ export class MjRecordFormContainerComponent extends BaseAngularComponent {
2000
2001
  : undefined;
2001
2002
  const group = this.groupOfReplacedSection(ReplacedSectionKeys(meta)[0])
2002
2003
  ?? this.groupOfReplacedSection(hostSection)
2003
- ?? SlotChromeGroup(meta.slot);
2004
+ ?? DefaultContributionChromeGroup(meta.slot, ReadRegisteredInclusion(meta.inclusion) !== null);
2004
2005
  if (group)
2005
2006
  map.set(key, group);
2006
2007
  }