@memberjunction/ng-ui-components 6.2.1 → 6.3.0-edge.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +28 -4
  2. package/dist/lib/accordion/accordion-sections.component.d.ts +51 -0
  3. package/dist/lib/accordion/accordion-sections.component.d.ts.map +1 -0
  4. package/dist/lib/accordion/accordion-sections.component.js +138 -0
  5. package/dist/lib/accordion/accordion-sections.component.js.map +1 -0
  6. package/dist/lib/accordion/accordion.component.d.ts +53 -4
  7. package/dist/lib/accordion/accordion.component.d.ts.map +1 -1
  8. package/dist/lib/accordion/accordion.component.js +233 -68
  9. package/dist/lib/accordion/accordion.component.js.map +1 -1
  10. package/dist/lib/accordion/accordion.scss +76 -0
  11. package/dist/lib/combobox/combobox.component.d.ts +1 -1
  12. package/dist/lib/combobox/combobox.component.js +1 -1
  13. package/dist/lib/combobox/combobox.component.js.map +1 -1
  14. package/dist/lib/confirm-dialog/confirm-dialog.component.d.ts.map +1 -1
  15. package/dist/lib/confirm-dialog/confirm-dialog.component.js +6 -2
  16. package/dist/lib/confirm-dialog/confirm-dialog.component.js.map +1 -1
  17. package/dist/lib/datepicker/datepicker.component.d.ts +1 -1
  18. package/dist/lib/datepicker/datepicker.component.js +1 -1
  19. package/dist/lib/datepicker/datepicker.component.js.map +1 -1
  20. package/dist/lib/dialog/dialog.component.d.ts +15 -6
  21. package/dist/lib/dialog/dialog.component.d.ts.map +1 -1
  22. package/dist/lib/dialog/dialog.component.js +34 -13
  23. package/dist/lib/dialog/dialog.component.js.map +1 -1
  24. package/dist/lib/dialog/dialog.scss +82 -6
  25. package/dist/lib/dialog/dialog.service.d.ts +3 -3
  26. package/dist/lib/dialog/dialog.service.js +3 -3
  27. package/dist/lib/dialog/dialog.service.js.map +1 -1
  28. package/dist/lib/dropdown/dropdown.component.d.ts +0 -1
  29. package/dist/lib/dropdown/dropdown.component.d.ts.map +1 -1
  30. package/dist/lib/dropdown/dropdown.component.js +1 -2
  31. package/dist/lib/dropdown/dropdown.component.js.map +1 -1
  32. package/dist/lib/filter-panel/filter-panel.component.d.ts.map +1 -1
  33. package/dist/lib/filter-panel/filter-panel.component.js +5 -4
  34. package/dist/lib/filter-panel/filter-panel.component.js.map +1 -1
  35. package/dist/lib/input/chip.scss +1 -1
  36. package/dist/lib/input/input.scss +4 -4
  37. package/dist/lib/numeric-input/numeric-input.component.d.ts +1 -1
  38. package/dist/lib/numeric-input/numeric-input.component.js +1 -1
  39. package/dist/lib/numeric-input/numeric-input.component.js.map +1 -1
  40. package/dist/lib/progress-bar/progress-bar.component.d.ts +1 -1
  41. package/dist/lib/progress-bar/progress-bar.component.js +1 -1
  42. package/dist/lib/progress-bar/progress-bar.component.js.map +1 -1
  43. package/dist/lib/section-picker/section-picker.component.d.ts +108 -0
  44. package/dist/lib/section-picker/section-picker.component.d.ts.map +1 -0
  45. package/dist/lib/section-picker/section-picker.component.js +429 -0
  46. package/dist/lib/section-picker/section-picker.component.js.map +1 -0
  47. package/dist/lib/splitter/splitter.component.d.ts +2 -5
  48. package/dist/lib/splitter/splitter.component.d.ts.map +1 -1
  49. package/dist/lib/splitter/splitter.component.js +2 -5
  50. package/dist/lib/splitter/splitter.component.js.map +1 -1
  51. package/dist/lib/switch/switch.component.d.ts +1 -1
  52. package/dist/lib/switch/switch.component.js +1 -1
  53. package/dist/lib/switch/switch.component.js.map +1 -1
  54. package/dist/lib/viewport/phone-viewport.d.ts +15 -0
  55. package/dist/lib/viewport/phone-viewport.d.ts.map +1 -0
  56. package/dist/lib/viewport/phone-viewport.js +29 -0
  57. package/dist/lib/viewport/phone-viewport.js.map +1 -0
  58. package/dist/lib/window/window.component.d.ts +3 -3
  59. package/dist/lib/window/window.component.js +3 -3
  60. package/dist/lib/window/window.component.js.map +1 -1
  61. package/dist/lib/window/window.scss +43 -4
  62. package/dist/public-api.d.ts +3 -0
  63. package/dist/public-api.d.ts.map +1 -1
  64. package/dist/public-api.js +3 -0
  65. package/dist/public-api.js.map +1 -1
  66. package/package.json +3 -3
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @memberjunction/ng-ui-components
2
2
 
3
- Reusable, **standalone** Angular UI components for MemberJunction applications — the house replacement for Kendo UI. Every component is token-driven (`--mj-*` design tokens from `_tokens.scss`), dark-mode safe by construction, and keyboard/ARIA accessible.
3
+ Reusable, **standalone** Angular UI components for MemberJunction applications — the house UI kit. Every component is token-driven (`--mj-*` design tokens from `_tokens.scss`), dark-mode safe by construction, and keyboard/ARIA accessible.
4
4
 
5
5
  **The rule for consuming apps: check here before building.** If a control, layout region, overlay, or pattern exists in this package, use it. Hand-rolling an app-prefixed equivalent (a bespoke button, chip, empty state, dialog…) creates divergence this package exists to eliminate. If what you need doesn't exist, propose it — generic components belong here; app-domain components belong in the app's shared package.
6
6
 
@@ -255,7 +255,7 @@ Re-export of `angular-split` — use `<as-split>` / `<as-split-area>` directly:
255
255
  ```
256
256
 
257
257
  ### `mj-accordion-panel` — MJAccordionPanelComponent (+ directives)
258
- Collapsible panel replacing Kendo panelbar/expansion panel. Inputs: `Title`, `Expanded` (+`ExpandedChange`), `Disabled`, `Variant: 'default'|'primary'|'secondary'`, `Size: 'sm'|'md'`, `Bare` (no border, header background, body fill or row hover fill, for a panel inside a card or a section directly on a page; on a device that can hover, pointing at the title or chevron gives both the brand color), `HeadingLevel: 1–6 | null` (wraps the toggle in a `role="heading"` element with that `aria-level`; null, the default, adds no wrapper), `FlushBody`, `Fill` (consume leftover height). Rich content via structural directives — `*mjAccordionTitle`, `*mjAccordionActions` (rendered outside the toggle button), and `*mjAccordionBody` (**lazy — instantiated on first expand, then kept alive**). Import `MJAccordionModule` to get the panel plus all three directives in one symbol.
258
+ Collapsible panel for grouped content. Inputs: `Title`, `Expanded` (+`ExpandedChange`), `Disabled`, `Variant: 'default'|'primary'|'secondary'`, `Size: 'sm'|'md'`, `Bare` (no border, header background, body fill or row hover fill, for a panel inside a card or a section directly on a page; on a device that can hover, pointing at the title or chevron gives both the brand color), `HeadingLevel: 1–6 | null` (wraps the toggle in a `role="heading"` element with that `aria-level`; null, the default, adds no wrapper), `FlushBody`, `Fill` (consume leftover height). Rich content via structural directives — `*mjAccordionTitle`, `*mjAccordionActions` (rendered outside the toggle button), and `*mjAccordionBody` (**lazy — instantiated on first expand, then kept alive**). Import `MJAccordionModule` to get the panel plus all three directives in one symbol.
259
259
 
260
260
  ```html
261
261
  <mj-accordion-panel [Expanded]="open" (ExpandedChange)="open = $event">
@@ -264,10 +264,22 @@ Collapsible panel replacing Kendo panelbar/expansion panel. Inputs: `Title`, `Ex
264
264
  </mj-accordion-panel>
265
265
  ```
266
266
 
267
+ Flat mode: `Flat` renders the panel as a plain headed block, the title as a heading over a body that is always open, with no toggle, border or body padding. A panel nested inside a flat panel, or inside the active section of an `mj-accordion-sections`, renders flat automatically, so accordions within accordions become headed blocks. A flat body is instantiated (lazy `mjAccordionBody` included) and, the first time a panel opens this way, it emits `ExpandedChange(true)` the way a click would, so a body that loads its data on first expand still loads. `SectionKey`, `SectionTitle`, `SectionIcon` and `SectionCount` describe the panel to an `mj-accordion-sections` picker; set `SectionTitle` whenever the title template carries badges or extra text, because the fallback is `Title`, then the rendered title text.
268
+
269
+ ### `mj-accordion-sections` — MJAccordionSectionsComponent
270
+ The phone presentation of a stack of `mj-accordion-panel`s. Disabled, it renders nothing of its own and the panels behave as accordions. Enabled, it puts an `mj-section-picker` above them (sticky), shows one top-level panel at a time with its accordion chrome gone, and renders panels nested inside that section as flat headed blocks. Top-level means a direct child; a panel inside an `@if` counts and joins or leaves the picker as the condition changes. No breakpoint logic, the caller decides. Inputs: `Enabled`, `ActiveKey` (falls back to the first panel). Output: `ActiveKeyChange`. Give every panel a `SectionKey` so the active section survives panels appearing or disappearing (an unkeyed panel is keyed by position). Not exported from `MJAccordionModule` (it depends on the section picker); import `MJAccordionSectionsComponent` alongside it.
271
+
272
+ ```html
273
+ <mj-accordion-sections [Enabled]="IsPhone" [ActiveKey]="phoneSection" (ActiveKeyChange)="phoneSection = $event">
274
+ <mj-accordion-panel SectionKey="input" SectionTitle="Input" SectionIcon="fa-solid fa-comment-dots" [Expanded]="true">…</mj-accordion-panel>
275
+ <mj-accordion-panel SectionKey="history" SectionTitle="Execution History" [SectionCount]="runs.length">…</mj-accordion-panel>
276
+ </mj-accordion-sections>
277
+ ```
278
+
267
279
  ## Overlays
268
280
 
269
281
  ### `mj-dialog` — MJDialogComponent
270
- Modal with backdrop, Esc/backdrop close (`Closeable`), body scroll lock. Inputs: `Visible`, `Title`, `Size: 'sm'|'md'|'lg'|'xl'|'auto'` (400/600/800/1000px), `Width`/`Height`/`MinWidth`, `Role: 'dialog'|'alertdialog'`. Output: `Close`. **`Visible` is not two-way** — set it false in your `(Close)` handler. Slots: default body, `mj-dialog-titlebar`, `mj-dialog-actions`.
282
+ Modal with backdrop, Esc/backdrop close (`Closeable`), body scroll lock. Inputs: `Visible`, `Title`, `Size: 'sm'|'md'|'lg'|'xl'|'auto'` (400/600/800/1000px), `Width`/`Height`/`MinWidth`, `Role: 'dialog'|'alertdialog'`. Output: `Close`. **`Visible` is not two-way** — set it false in your `(Close)` handler. Slots: default body, `mj-dialog-titlebar`, `mj-dialog-actions`. On phones (768px and below) the dialog picks its own presentation from `Size` and `Role` (`PhoneMode`): every `alertdialog`, and `sm` / `auto` dialogs without a `Width`, open as a bottom sheet sized to their content with full-width 44px actions; `md` / `lg` / `xl` and `Width`-set dialogs go full-screen on `100dvh` with the title and actions pinned and safe-area padding. No input changes are needed.
271
283
 
272
284
  Focus inputs, each on by default:
273
285
 
@@ -290,7 +302,7 @@ Focus inputs, each on by default:
290
302
  `Open(settings): MJDialogRef` with `{ title, content: string | Type, actions: [{ text, primary?, themeColor? }], width, … }`. `ref.Result` (Observable) emits the clicked action or `undefined` on dismiss; `ref.Content.instance` exposes a mounted content component; `ref.Close(result?)`.
291
303
 
292
304
  ### `mj-confirm-dialog` — MJConfirmDialogComponent
293
- Purpose-built confirmation on top of `mj-dialog`. Inputs: `[(Visible)]` (two-way), `Type: 'default'|'danger'|'warning'|'info'`, `Title`, `Message`, `DetailMessage`, `ConfirmText`, `CancelText`, `Icon`, `Processing` (spinner + blocks dismissal for async work). Outputs: `Confirmed` (**stays open — you close it when the work finishes**), `Cancelled` (auto-closes). Confirm button is leftmost, per MJ dialog convention.
305
+ Purpose-built confirmation on top of `mj-dialog`. Inputs: `[(Visible)]` (two-way), `Type: 'default'|'danger'|'warning'|'info'`, `Title`, `Message`, `DetailMessage`, `ConfirmText`, `CancelText`, `Icon`, `Processing` (spinner + blocks dismissal for async work). Outputs: `Confirmed` (**stays open — you close it when the work finishes**), `Cancelled` (auto-closes). Confirm button is leftmost, per MJ dialog convention. Initial focus goes to the confirm button, except for `Type="danger"`, which opens on Cancel (the least destructive action, per the WAI-ARIA alert dialog pattern), so an Enter pressed as it opens does not delete or discard. `MJConfirmService.ConfirmDelete` gets this too.
294
306
 
295
307
  ### `MJConfirmService` — promise-based confirms
296
308
  `await Confirm({ message, title?, detail?, type?, … })` → `boolean`, and `ConfirmDelete(...)` which forces danger styling and "Delete". Mounts above `mj-window` (z-index 20000).
@@ -315,6 +327,18 @@ Generic mobile bottom sheet: scrim + panel sliding up from the bottom edge with
315
327
  </mj-bottom-sheet>
316
328
  ```
317
329
 
330
+ ### `mj-section-picker` — MJSectionPickerComponent
331
+ The phone replacement for a section rail, tab strip or icon rail: one full-width 44px button naming the current section (icon, title, error/warning/dirty indicators, row count, chevron) that opens a searchable "Sections" `mj-bottom-sheet` listing every section, first-class `Items` first and then each `Groups` entry under its heading (a form's More folder, say). Pure chrome, no breakpoint logic: the caller decides when a picker is the right presentation and applies the selection itself. Inputs: `Items: SectionPickerItem[]` (`Key`, `Title`, `Icon?`, `Count?`, `ErrorCount?`, `WarningCount?`, `DirtyCount?`), `Groups: SectionPickerGroup[]` (`Title`, `Items`), `ActiveKey` (falls back to the first item), `SheetTitle`, `Searchable`, `SearchPlaceholder`. Output: `ActiveKeyChange` (the sheet closes and the search clears on every pick). Every tap target is 44px. Enter in the search box opens the first match, which is outlined while a search is typed; with no search or no match it does nothing. Enter never reaches a surrounding `<form>`, so a picker inside a form cannot click the form's first button.
332
+
333
+ ```html
334
+ @if (IsPhone) {
335
+ <mj-section-picker [Items]="sections" [Groups]="[{ Title: 'More', Items: moreSections }]"
336
+ [ActiveKey]="activeKey" (ActiveKeyChange)="Activate($event)"></mj-section-picker>
337
+ } @else {
338
+ <mj-left-nav …></mj-left-nav>
339
+ }
340
+ ```
341
+
318
342
  ## Patterns
319
343
 
320
344
  ### `mj-empty-state` — MJEmptyStateComponent
@@ -0,0 +1,51 @@
1
+ import { AfterContentInit, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { MJAccordionPanelComponent } from './accordion.component';
3
+ import { SectionPickerItem } from '../section-picker/section-picker.component';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * The phone presentation of a stack of `<mj-accordion-panel>`s. Disabled, it renders nothing
7
+ * of its own and the panels behave as accordions. Enabled, it puts an `<mj-section-picker>`
8
+ * above them and shows one top-level panel at a time with its accordion chrome gone; panels
9
+ * nested inside that section render as plain headed blocks. It has no breakpoint logic: the
10
+ * caller decides (`[Enabled]="IsPhone"`).
11
+ *
12
+ * Top-level means a direct child (an `@if` around a panel is fine). Give each panel a
13
+ * `SectionKey` so the active section survives panels appearing or disappearing, and a
14
+ * `SectionTitle` when its title template carries badges.
15
+ *
16
+ * ```html
17
+ * <mj-accordion-sections [Enabled]="IsPhone" [(ActiveKey)]="phoneSection">
18
+ * <mj-accordion-panel SectionKey="input" SectionTitle="Input">…</mj-accordion-panel>
19
+ * <mj-accordion-panel SectionKey="result" SectionTitle="Result">…</mj-accordion-panel>
20
+ * </mj-accordion-sections>
21
+ * ```
22
+ */
23
+ export declare class MJAccordionSectionsComponent implements AfterContentInit, OnDestroy {
24
+ private readonly cdr;
25
+ private sub;
26
+ private panelList?;
27
+ private _enabled;
28
+ /** Show the panels as sections behind a picker; false renders them as accordions. */
29
+ set Enabled(value: boolean);
30
+ get Enabled(): boolean;
31
+ private _activeKey;
32
+ /** Key of the visible section; falls back to the first panel. */
33
+ set ActiveKey(value: string | null);
34
+ get ActiveKey(): string | null;
35
+ /** Emitted with the key the user picked. */
36
+ ActiveKeyChange: EventEmitter<string>;
37
+ /** The top-level panels, in document order. */
38
+ get Panels(): MJAccordionPanelComponent[];
39
+ /** The panels as section picker items. */
40
+ get Items(): SectionPickerItem[];
41
+ /** The active key if it names a panel, otherwise the first panel's key. */
42
+ get ResolvedActiveKey(): string;
43
+ Activate(key: string): void;
44
+ ngAfterContentInit(): void;
45
+ ngOnDestroy(): void;
46
+ private keyOf;
47
+ private apply;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJAccordionSectionsComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJAccordionSectionsComponent, "mj-accordion-sections", never, { "Enabled": { "alias": "Enabled"; "required": false; }; "ActiveKey": { "alias": "ActiveKey"; "required": false; }; }, { "ActiveKeyChange": "ActiveKeyChange"; }, ["panelList"], ["*"], true, never>;
50
+ }
51
+ //# sourceMappingURL=accordion-sections.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-sections.component.d.ts","sourceRoot":"","sources":["../../../src/lib/accordion/accordion-sections.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAAiD,YAAY,EAAS,SAAS,EAClG,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAA4B,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;;AAEzG;;;;;;;;;;;;;;;;;GAiBG;AACH,qBA0Ba,4BAA6B,YAAW,gBAAgB,EAAE,SAAS;IAC5E,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IACjD,OAAO,CAAC,GAAG,CAA6B;IAGxC,OAAO,CAAC,SAAS,CAAC,CAAuC;IAEzD,OAAO,CAAC,QAAQ,CAAS;IACzB,qFAAqF;IACrF,IACI,OAAO,CAAC,KAAK,EAAE,OAAO,EAIzB;IACD,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,UAAU,CAAuB;IACzC,iEAAiE;IACjE,IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAIjC;IACD,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED,4CAA4C;IAClC,eAAe,uBAA8B;IAEvD,+CAA+C;IAC/C,IAAW,MAAM,IAAI,yBAAyB,EAAE,CAE/C;IAED,0CAA0C;IAC1C,IAAW,KAAK,IAAI,iBAAiB,EAAE,CAOtC;IAED,2EAA2E;IAC3E,IAAW,iBAAiB,IAAI,MAAM,CAGrC;IAEM,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAMlC,kBAAkB,IAAI,IAAI;IAM1B,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,KAAK;yCA3EJ,4BAA4B;2CAA5B,4BAA4B;CAiFxC"}
@@ -0,0 +1,138 @@
1
+ import { ChangeDetectorRef, Component, ContentChildren, EventEmitter, Input, Output, inject, } from '@angular/core';
2
+ import { MJAccordionPanelComponent } from './accordion.component';
3
+ import { MJSectionPickerComponent } from '../section-picker/section-picker.component';
4
+ import * as i0 from "@angular/core";
5
+ const _c0 = ["*"];
6
+ function MJAccordionSectionsComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
7
+ const _r1 = i0.ɵɵgetCurrentView();
8
+ i0.ɵɵelementStart(0, "mj-section-picker", 1);
9
+ i0.ɵɵlistener("ActiveKeyChange", function MJAccordionSectionsComponent_Conditional_0_Template_mj_section_picker_ActiveKeyChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.Activate($event)); });
10
+ i0.ɵɵelementEnd();
11
+ } if (rf & 2) {
12
+ const ctx_r1 = i0.ɵɵnextContext();
13
+ i0.ɵɵproperty("Items", ctx_r1.Items)("ActiveKey", ctx_r1.ResolvedActiveKey);
14
+ } }
15
+ /**
16
+ * The phone presentation of a stack of `<mj-accordion-panel>`s. Disabled, it renders nothing
17
+ * of its own and the panels behave as accordions. Enabled, it puts an `<mj-section-picker>`
18
+ * above them and shows one top-level panel at a time with its accordion chrome gone; panels
19
+ * nested inside that section render as plain headed blocks. It has no breakpoint logic: the
20
+ * caller decides (`[Enabled]="IsPhone"`).
21
+ *
22
+ * Top-level means a direct child (an `@if` around a panel is fine). Give each panel a
23
+ * `SectionKey` so the active section survives panels appearing or disappearing, and a
24
+ * `SectionTitle` when its title template carries badges.
25
+ *
26
+ * ```html
27
+ * <mj-accordion-sections [Enabled]="IsPhone" [(ActiveKey)]="phoneSection">
28
+ * <mj-accordion-panel SectionKey="input" SectionTitle="Input">…</mj-accordion-panel>
29
+ * <mj-accordion-panel SectionKey="result" SectionTitle="Result">…</mj-accordion-panel>
30
+ * </mj-accordion-sections>
31
+ * ```
32
+ */
33
+ export class MJAccordionSectionsComponent {
34
+ cdr = inject(ChangeDetectorRef);
35
+ sub = null;
36
+ panelList;
37
+ _enabled = false;
38
+ /** Show the panels as sections behind a picker; false renders them as accordions. */
39
+ set Enabled(value) {
40
+ if (value === this._enabled)
41
+ return;
42
+ this._enabled = value;
43
+ this.apply();
44
+ }
45
+ get Enabled() {
46
+ return this._enabled;
47
+ }
48
+ _activeKey = null;
49
+ /** Key of the visible section; falls back to the first panel. */
50
+ set ActiveKey(value) {
51
+ if (value === this._activeKey)
52
+ return;
53
+ this._activeKey = value;
54
+ this.apply();
55
+ }
56
+ get ActiveKey() {
57
+ return this._activeKey;
58
+ }
59
+ /** Emitted with the key the user picked. */
60
+ ActiveKeyChange = new EventEmitter();
61
+ /** The top-level panels, in document order. */
62
+ get Panels() {
63
+ return this.panelList?.toArray() ?? [];
64
+ }
65
+ /** The panels as section picker items. */
66
+ get Items() {
67
+ return this.Panels.map((p, i) => ({
68
+ Key: this.keyOf(p, i),
69
+ Title: p.ResolvedSectionTitle(),
70
+ Icon: p.SectionIcon ?? undefined,
71
+ Count: p.SectionCount,
72
+ }));
73
+ }
74
+ /** The active key if it names a panel, otherwise the first panel's key. */
75
+ get ResolvedActiveKey() {
76
+ const keys = this.Panels.map((p, i) => this.keyOf(p, i));
77
+ return this._activeKey && keys.includes(this._activeKey) ? this._activeKey : keys[0] ?? '';
78
+ }
79
+ Activate(key) {
80
+ this._activeKey = key;
81
+ this.apply();
82
+ this.ActiveKeyChange.emit(key);
83
+ }
84
+ ngAfterContentInit() {
85
+ this.apply();
86
+ // Panels added or removed by an @if: re-apply after the pass that changed the list.
87
+ this.sub = this.panelList?.changes.subscribe(() => queueMicrotask(() => this.apply())) ?? null;
88
+ }
89
+ ngOnDestroy() {
90
+ this.sub?.unsubscribe();
91
+ }
92
+ keyOf(panel, index) {
93
+ return panel.SectionKey || `section-${index}`;
94
+ }
95
+ apply() {
96
+ if (!this.panelList)
97
+ return;
98
+ const active = this.ResolvedActiveKey;
99
+ this.Panels.forEach((p, i) => p.SetSectionState(this._enabled, this.keyOf(p, i) === active));
100
+ this.cdr.markForCheck();
101
+ }
102
+ static ɵfac = function MJAccordionSectionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJAccordionSectionsComponent)(); };
103
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAccordionSectionsComponent, selectors: [["mj-accordion-sections"]], contentQueries: function MJAccordionSectionsComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
104
+ i0.ɵɵcontentQuery(dirIndex, MJAccordionPanelComponent, 4);
105
+ } if (rf & 2) {
106
+ let _t;
107
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panelList = _t);
108
+ } }, inputs: { Enabled: "Enabled", ActiveKey: "ActiveKey" }, outputs: { ActiveKeyChange: "ActiveKeyChange" }, ngContentSelectors: _c0, decls: 2, vars: 1, consts: [[1, "mj-accordion-sections-picker", 3, "Items", "ActiveKey"], [1, "mj-accordion-sections-picker", 3, "ActiveKeyChange", "Items", "ActiveKey"]], template: function MJAccordionSectionsComponent_Template(rf, ctx) { if (rf & 1) {
109
+ i0.ɵɵprojectionDef();
110
+ i0.ɵɵconditionalCreate(0, MJAccordionSectionsComponent_Conditional_0_Template, 1, 2, "mj-section-picker", 0);
111
+ i0.ɵɵprojection(1);
112
+ } if (rf & 2) {
113
+ i0.ɵɵconditional(ctx.Enabled && ctx.Items.length > 0 ? 0 : -1);
114
+ } }, dependencies: [MJSectionPickerComponent], styles: ["[_nghost-%COMP%] { display: block; min-width: 0; }\n .mj-accordion-sections-picker[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n z-index: 5;\n display: block;\n margin-bottom: var(--mj-space-2, 8px);\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n }"] });
115
+ }
116
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJAccordionSectionsComponent, [{
117
+ type: Component,
118
+ args: [{ standalone: true, selector: 'mj-accordion-sections', imports: [MJSectionPickerComponent], template: `
119
+ @if (Enabled && Items.length > 0) {
120
+ <mj-section-picker class="mj-accordion-sections-picker"
121
+ [Items]="Items"
122
+ [ActiveKey]="ResolvedActiveKey"
123
+ (ActiveKeyChange)="Activate($event)"></mj-section-picker>
124
+ }
125
+ <ng-content></ng-content>
126
+ `, styles: ["\n :host { display: block; min-width: 0; }\n .mj-accordion-sections-picker {\n position: sticky;\n top: 0;\n z-index: 5;\n display: block;\n margin-bottom: var(--mj-space-2, 8px);\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n }\n "] }]
127
+ }], null, { panelList: [{
128
+ type: ContentChildren,
129
+ args: [MJAccordionPanelComponent, { descendants: false }]
130
+ }], Enabled: [{
131
+ type: Input
132
+ }], ActiveKey: [{
133
+ type: Input
134
+ }], ActiveKeyChange: [{
135
+ type: Output
136
+ }] }); })();
137
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJAccordionSectionsComponent, { className: "MJAccordionSectionsComponent", filePath: "lib/accordion/accordion-sections.component.ts", lineNumber: 52 }); })();
138
+ //# sourceMappingURL=accordion-sections.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-sections.component.js","sourceRoot":"","sources":["../../../src/lib/accordion/accordion-sections.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACe,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,EAAa,MAAM,EAAa,MAAM,GAC7H,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAqB,MAAM,4CAA4C,CAAC;;;;;IA0BnG,4CAGwD;IAArC,qOAAmB,uBAAgB,KAAC;IAAC,iBAAoB;;;IADzD,AADA,oCAAe,uCACgB;;AA1BxD;;;;;;;;;;;;;;;;;GAiBG;AA2BH,MAAM,OAAO,4BAA4B;IACpB,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACzC,GAAG,GAAwB,IAAI,CAAC;IAGhC,SAAS,CAAwC;IAEjD,QAAQ,GAAG,KAAK,CAAC;IACzB,qFAAqF;IACrF,IACI,OAAO,CAAC,KAAc;QACtB,IAAI,KAAK,KAAK,IAAI,CAAC,QAAQ;YAAE,OAAO;QACpC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,KAAK,EAAE,CAAC;IACjB,CAAC;IACD,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEO,UAAU,GAAkB,IAAI,CAAC;IACzC,iEAAiE;IACjE,IACI,SAAS,CAAC,KAAoB;QAC9B,IAAI,KAAK,KAAK,IAAI,CAAC,UAAU;YAAE,OAAO;QACtC,IAAI,CAAC,U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, Input, OnDestroy, Output, QueryList, inject,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { MJAccordionPanelComponent } from './accordion.component';\nimport { MJSectionPickerComponent, SectionPickerItem } from '../section-picker/section-picker.component';\n\n/**\n * The phone presentation of a stack of `<mj-accordion-panel>`s. Disabled, it renders nothing\n * of its own and the panels behave as accordions. Enabled, it puts an `<mj-section-picker>`\n * above them and shows one top-level panel at a time with its accordion chrome gone; panels\n * nested inside that section render as plain headed blocks. It has no breakpoint logic: the\n * caller decides (`[Enabled]=\"IsPhone\"`).\n *\n * Top-level means a direct child (an `@if` around a panel is fine). Give each panel a\n * `SectionKey` so the active section survives panels appearing or disappearing, and a\n * `SectionTitle` when its title template carries badges.\n *\n * ```html\n * <mj-accordion-sections [Enabled]=\"IsPhone\" [(ActiveKey)]=\"phoneSection\">\n * <mj-accordion-panel SectionKey=\"input\" SectionTitle=\"Input\">…</mj-accordion-panel>\n * <mj-accordion-panel SectionKey=\"result\" SectionTitle=\"Result\">…</mj-accordion-panel>\n * </mj-accordion-sections>\n * ```\n */\n@Component({\n standalone: true,\n selector: 'mj-accordion-sections',\n imports: [MJSectionPickerComponent],\n template: `\n @if (Enabled && Items.length > 0) {\n <mj-section-picker class=\"mj-accordion-sections-picker\"\n [Items]=\"Items\"\n [ActiveKey]=\"ResolvedActiveKey\"\n (ActiveKeyChange)=\"Activate($event)\"></mj-section-picker>\n }\n <ng-content></ng-content>\n `,\n styles: [`\n :host { display: block; min-width: 0; }\n .mj-accordion-sections-picker {\n position: sticky;\n top: 0;\n z-index: 5;\n display: block;\n margin-bottom: var(--mj-space-2, 8px);\n background: var(--mj-bg-surface);\n border-bottom: 1px solid var(--mj-border-default);\n }\n `],\n})\nexport class MJAccordionSectionsComponent implements AfterContentInit, OnDestroy {\n private readonly cdr = inject(ChangeDetectorRef);\n private sub: Subscription | null = null;\n\n @ContentChildren(MJAccordionPanelComponent, { descendants: false })\n private panelList?: QueryList<MJAccordionPanelComponent>;\n\n private _enabled = false;\n /** Show the panels as sections behind a picker; false renders them as accordions. */\n @Input()\n set Enabled(value: boolean) {\n if (value === this._enabled) return;\n this._enabled = value;\n this.apply();\n }\n get Enabled(): boolean {\n return this._enabled;\n }\n\n private _activeKey: string | null = null;\n /** Key of the visible section; falls back to the first panel. */\n @Input()\n set ActiveKey(value: string | null) {\n if (value === this._activeKey) return;\n this._activeKey = value;\n this.apply();\n }\n get ActiveKey(): string | null {\n return this._activeKey;\n }\n\n /** Emitted with the key the user picked. */\n @Output() ActiveKeyChange = new EventEmitter<string>();\n\n /** The top-level panels, in document order. */\n public get Panels(): MJAccordionPanelComponent[] {\n return this.panelList?.toArray() ?? [];\n }\n\n /** The panels as section picker items. */\n public get Items(): SectionPickerItem[] {\n return this.Panels.map((p, i) => ({\n Key: this.keyOf(p, i),\n Title: p.ResolvedSectionTitle(),\n Icon: p.SectionIcon ?? undefined,\n Count: p.SectionCount,\n }));\n }\n\n /** The active key if it names a panel, otherwise the first panel's key. */\n public get ResolvedActiveKey(): string {\n const keys = this.Panels.map((p, i) => this.keyOf(p, i));\n return this._activeKey && keys.includes(this._activeKey) ? this._activeKey : keys[0] ?? '';\n }\n\n public Activate(key: string): void {\n this._activeKey = key;\n this.apply();\n this.ActiveKeyChange.emit(key);\n }\n\n ngAfterContentInit(): void {\n this.apply();\n // Panels added or removed by an @if: re-apply after the pass that changed the list.\n this.sub = this.panelList?.changes.subscribe(() => queueMicrotask(() => this.apply())) ?? null;\n }\n\n ngOnDestroy(): void {\n this.sub?.unsubscribe();\n }\n\n private keyOf(panel: MJAccordionPanelComponent, index: number): string {\n return panel.SectionKey || `section-${index}`;\n }\n\n private apply(): void {\n if (!this.panelList) return;\n const active = this.ResolvedActiveKey;\n this.Panels.forEach((p, i) => p.SetSectionState(this._enabled, this.keyOf(p, i) === active));\n this.cdr.markForCheck();\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, TemplateRef, OnInit, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Directive to mark a template as the accordion panel title.
@@ -71,7 +71,7 @@ export declare class MJAccordionBodyDirective {
71
71
  static ɵdir: i0.ɵɵDirectiveDeclaration<MJAccordionBodyDirective, "[mjAccordionBody]", never, {}, {}, never, never, true, never>;
72
72
  }
73
73
  /**
74
- * mj-accordion-panel — Collapsible panel. Replaces `<kendo-panelbar-item>` and `<kendo-expansionpanel>`.
74
+ * mj-accordion-panel — Collapsible panel.
75
75
  *
76
76
  * Supports two title modes:
77
77
  * - Simple string: `[Title]="'Details'"` — plain text title
@@ -93,7 +93,12 @@ export declare class MJAccordionBodyDirective {
93
93
  * </mj-accordion-panel>
94
94
  * ```
95
95
  */
96
- export declare class MJAccordionPanelComponent {
96
+ export declare class MJAccordionPanelComponent implements OnInit, OnDestroy {
97
+ private readonly cdr;
98
+ private readonly el;
99
+ /** The panel this one is nested in, if any; a panel inside a flat panel renders flat too. */
100
+ private readonly parentPanel;
101
+ private readonly childPanels;
97
102
  Title: string;
98
103
  private _expanded;
99
104
  /** Latches true the first time the panel is expanded; never resets. Lets a
@@ -159,6 +164,20 @@ export declare class MJAccordionPanelComponent {
159
164
  * fills rather than animating to content height).
160
165
  */
161
166
  Fill: boolean;
167
+ /**
168
+ * Flat — render as a plain headed block: the title is a heading, the body is always open,
169
+ * and there is no toggle, border or body padding. Panels nested inside a flat panel, or
170
+ * inside the active section of an `mj-accordion-sections`, render this way automatically.
171
+ */
172
+ Flat: boolean;
173
+ /** Stable key for this panel in an `mj-accordion-sections`; falls back to its position. */
174
+ SectionKey: string | null;
175
+ /** The name the section picker shows; falls back to `Title`, then the rendered title text. */
176
+ SectionTitle: string | null;
177
+ /** Font Awesome class string for the section picker row. */
178
+ SectionIcon: string | null;
179
+ /** Count shown on the section picker row. */
180
+ SectionCount: number | null;
162
181
  ExpandedChange: EventEmitter<boolean>;
163
182
  TitleTemplate: MJAccordionTitleDirective | null;
164
183
  /** @deprecated Use {@link TitleTemplate}. */
@@ -187,8 +206,38 @@ export declare class MJAccordionPanelComponent {
187
206
  readonly HeaderId: string;
188
207
  readonly BodyId: string;
189
208
  Toggle(): void;
209
+ private sectionMode;
210
+ private sectionHidden;
211
+ private parentFlat;
212
+ private parentShown;
213
+ /** `section`: the active top level of an mj-accordion-sections; `block`: a flat nested panel. */
214
+ get FlatMode(): 'section' | 'block' | null;
215
+ /** Hidden because another section of an `mj-accordion-sections` is active. */
216
+ get IsSectionHidden(): boolean;
217
+ /** On screen in a flat presentation: an active section, or a block whose parent is on screen. */
218
+ get IsShownFlat(): boolean;
219
+ /**
220
+ * Open because it is flat and on screen. A hidden section (or a block inside one) is not, so its
221
+ * lazy body is not built until that section is picked; once picked it stays built (it was
222
+ * expanded then), so switching away and back keeps its state.
223
+ */
224
+ get IsOpenFlat(): boolean;
225
+ /** The name the section picker shows for this panel. */
226
+ ResolvedSectionTitle(): string;
227
+ /**
228
+ * Called by `mj-accordion-sections`. Enabled, this panel becomes a section: shown and flat
229
+ * when active, hidden otherwise. Opening it emits ExpandedChange(true) once, like a click,
230
+ * so a body that loads on first expand still loads.
231
+ */
232
+ SetSectionState(enabled: boolean, active: boolean): void;
233
+ ngOnInit(): void;
234
+ ngOnDestroy(): void;
235
+ private setParentFlat;
236
+ private syncFlatState;
237
+ /** Opens the panel for a flat presentation and reports it the way a click would. */
238
+ private openForFlat;
190
239
  static ɵfac: i0.ɵɵFactoryDeclaration<MJAccordionPanelComponent, never>;
191
- static ɵcmp: i0.ɵɵComponentDeclaration<MJAccordionPanelComponent, "mj-accordion-panel", never, { "Title": { "alias": "Title"; "required": false; }; "Expanded": { "alias": "Expanded"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "Variant": { "alias": "Variant"; "required": false; }; "TitleIconMuted": { "alias": "TitleIconMuted"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "Bare": { "alias": "Bare"; "required": false; }; "HeadingLevel": { "alias": "HeadingLevel"; "required": false; }; "FlushBody": { "alias": "FlushBody"; "required": false; }; "Fill": { "alias": "Fill"; "required": false; }; }, { "ExpandedChange": "ExpandedChange"; }, ["TitleTemplate", "ActionsTemplate", "BodyTemplate"], ["*"], true, never>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJAccordionPanelComponent, "mj-accordion-panel", never, { "Title": { "alias": "Title"; "required": false; }; "Expanded": { "alias": "Expanded"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "Variant": { "alias": "Variant"; "required": false; }; "TitleIconMuted": { "alias": "TitleIconMuted"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "Bare": { "alias": "Bare"; "required": false; }; "HeadingLevel": { "alias": "HeadingLevel"; "required": false; }; "FlushBody": { "alias": "FlushBody"; "required": false; }; "Fill": { "alias": "Fill"; "required": false; }; "Flat": { "alias": "Flat"; "required": false; }; "SectionKey": { "alias": "SectionKey"; "required": false; }; "SectionTitle": { "alias": "SectionTitle"; "required": false; }; "SectionIcon": { "alias": "SectionIcon"; "required": false; }; "SectionCount": { "alias": "SectionCount"; "required": false; }; }, { "ExpandedChange": "ExpandedChange"; }, ["TitleTemplate", "ActionsTemplate", "BodyTemplate"], ["*"], true, never>;
192
241
  }
193
242
  /**
194
243
  * Convenience module bundling the accordion panel + all of its slot directives.
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.component.d.ts","sourceRoot":"","sources":["../../../src/lib/accordion/accordion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA6B,WAAW,EAAuB,MAAM,eAAe,CAAC;;AAOpI;;;;;;;;;;;;;;GAcG;AACH,qBAIa,yBAAyB;IACjB,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC;gBAAjC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC;yCADzC,yBAAyB;2CAAzB,yBAAyB;CAErC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAIa,2BAA2B;IACnB,WAAW,EAAE,WAAW,C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