@bimetal/list-angular-components 0.35.0 → 0.37.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.
@@ -1,16 +1,7 @@
1
- import { ElementRef, AfterViewInit, AfterViewChecked, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, AfterViewInit, AfterViewChecked, OnInit, OnDestroy, OnChanges, SimpleChanges, type TemplateRef } from '@angular/core';
2
2
  import type { ListController, ListConfigInput, ListControllerSnapshot, ListLocale, ListItemView } from '@bimetal/list-headless';
3
3
  import type { ListStore } from '@bimetal/list-data';
4
4
  import * as i0 from "@angular/core";
5
- /** Focus (and select) a freshly-mounted in-place rename input — parity with the
6
- * React `autoFocus` + `onFocus → select()`. The `@if`-rendered input is a fresh
7
- * element each time editing opens, so this fires once per open. */
8
- export declare class ListAutofocusDirective implements AfterViewInit {
9
- private readonly el;
10
- ngAfterViewInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ListAutofocusDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<ListAutofocusDirective, "[bmListAutofocus]", never, {}, {}, never, never, true, never>;
13
- }
14
5
  /**
15
6
  * The Angular list / catalog — a thin binding over the canonical
16
7
  * `@bimetal/list-headless` controller (instance #7 of the shipped component
@@ -47,25 +38,45 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
47
38
  onError?: (err: unknown) => void;
48
39
  /** OBSERVE hook (STANDALONE only): fires when the selected ids change. */
49
40
  onSelectionChange?: (selectedIds: readonly string[]) => void;
41
+ /** Replace an item row's CONTENT cell (icon/label/secondary/badge). Context:
42
+ * `{ $implicit: ListItemView }`. Row structure, selection and rename editor stay
43
+ * component-owned. Mirrors tree's `renderNode`. */
44
+ renderItem?: TemplateRef<{
45
+ $implicit: ListItemView;
46
+ }>;
50
47
  private binding?;
51
48
  private ctrlRef;
52
49
  private snapshotSig;
53
50
  private unsub?;
54
51
  listRef?: ElementRef<HTMLElement>;
52
+ editOverlayRef?: ElementRef<HTMLElement>;
53
+ private overlayWasMounted;
55
54
  private zone;
56
55
  private suppressClick;
57
56
  private lastNavAnchor;
57
+ private wasEditing;
58
+ private hadListFocus;
59
+ private wasEditingNotify;
60
+ private unsubFocus?;
58
61
  get ctrl(): ListController;
59
62
  get snapshot(): ListControllerSnapshot;
60
63
  get locale(): ListLocale;
61
64
  get hasSel(): boolean;
62
65
  get renderedRows(): readonly ListItemView[];
66
+ /** bimetal-133: the overlay renders only while its row is in the rendered set
67
+ * (parity with the in-row days: an editor whose row scrolled out of the
68
+ * virtual window has no DOM). Cheap per CD — no array minting (mcp-129/131
69
+ * class), a `some` over the identity-stable rendered rows. */
70
+ get editRowRendered(): boolean;
63
71
  onKey(e: KeyboardEvent): void;
64
72
  private onMove;
65
73
  private onUp;
66
74
  private onCancel;
67
75
  private report;
68
76
  private resizeObserver?;
77
+ private focusInside;
78
+ private onFocusIn;
79
+ private onFocusOut;
69
80
  ngOnInit(): void;
70
81
  ngAfterViewInit(): void;
71
82
  ngAfterViewChecked(): void;
@@ -91,6 +102,6 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
91
102
  /** Select the input's contents on focus — parity with the React `onFocus`. */
92
103
  onEditFocus(e: Event): void;
93
104
  static ɵfac: i0.ɵɵFactoryDeclaration<List, never>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<List, "bm-list", never, { "controller": { "alias": "controller"; "required": false; }; "store": { "alias": "store"; "required": true; }; "listId": { "alias": "listId"; "required": true; }; "config": { "alias": "config"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "showUndoRedo": { "alias": "showUndoRedo"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; }, {}, never, never, true, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<List, "bm-list", never, { "controller": { "alias": "controller"; "required": false; }; "store": { "alias": "store"; "required": true; }; "listId": { "alias": "listId"; "required": true; }; "config": { "alias": "config"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "showUndoRedo": { "alias": "showUndoRedo"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; "renderItem": { "alias": "renderItem"; "required": false; }; }, {}, never, never, true, never>;
95
106
  }
96
107
  //# sourceMappingURL=List.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.ts"],"names":[],"mappings":"AAAA,OAAO,EACiB,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAoB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAEjI,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EACV,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,UAAU,EAAE,YAAY,EAClF,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;;AAMpD;;oEAEoE;AACpE,qBACa,sBAAuB,YAAW,aAAa;IAC1D,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAoD;IACvE,eAAe,IAAI,IAAI;yCAFZ,sBAAsB;2CAAtB,sBAAsB;CASlC;AAGD;;;;;;;;GAQG;AACH,qBAiFa,IAAK,YAAW,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS;IACxF;;oFAEgF;IACvE,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAC5C,oEAAoE;IACzC,KAAK,EAAG,SAAS,CAAC;IAC7C,8DAA8D;IACnC,MAAM,EAAG,MAAM,CAAC;IAC3C,wEAAwE;IAC/D,MAAM,CAAC,EAA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;IAC/D,IAAI,eAAe,IAAI,OAAO,CAG7B;IAMD,KAAK,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAc7B,OAAO,CAAC,MAAM,CAYZ;IACF,OAAO,CAAC,IAAI,CAA6F;IACzG,OAAO,CAAC,QAAQ,CAAkE;IAMlF,OAAO,CAAC,MAAM,CAGZ;IACF,OAAO,CAAC,cAAc,CAAC,CAAiB;IAWxC,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAsC;IACvD,OAAO,CAAC,UAAU,CAShB;IAEF,QAAQ;IAqDR,eAAe;IAkBf,kBAAkB;IAiDlB,WAAW,CAAC,OAAO,EAAE,aAAa;IAOlC,WAAW;IAiBX,2EAA2E;IAC3E,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAEjC,+EAA+E;IAC/E,QAAQ,CAAC,CAAC,EAAE,YAAY,GAAG,MAAM;IAajC,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM;IAQ5C,UAAU,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM;IAKpC,SAAS;IACT,iBAAiB;IACjB,MAAM;IACN,MAAM;IACN,SAAS;IAET,6EAA6E;IAC7E,WAAW;IAMX,mFAAmF;IACnF,OAAO,CAAC,CAAC,EAAE,KAAK;IAChB,QAAQ,CAAC,CAAC,EAAE,KAAK;IACjB,aAAa,CAAC,CAAC,EAAE,aAAa;IAI9B,8EAA8E;IAC9E,WAAW,CAAC,CAAC,EAAE,KAAK;yCA9VT,IAAI;2CAAJ,IAAI;CA+VhB"}
@@ -1,11 +1,13 @@
1
- import { Component, Directive, ElementRef, ViewChild, Input, ChangeDetectionStrategy, NgZone, inject, signal, } from '@angular/core';
1
+ import { Component, ElementRef, ViewChild, Input, ChangeDetectionStrategy, NgZone, inject, signal, } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { listCssVars } from '@bimetal/list-headless';
3
+ import { listCssVars, reportUnroutedListError } from '@bimetal/list-headless';
4
4
  import { createListControllerBinding, } from '@bimetal/angular';
5
5
  import { isEditableTarget } from '@bimetal/a11y-dom';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@angular/common";
8
8
  const _c0 = ["listbox"];
9
+ const _c1 = ["editOverlay"];
10
+ const _c2 = a0 => ({ $implicit: a0 });
9
11
  const _forTrack0 = ($index, $item) => $item.item.id;
10
12
  function List_Conditional_2_Template(rf, ctx) { if (rf & 1) {
11
13
  i0.ɵɵelementStart(0, "h1", 4);
@@ -25,140 +27,162 @@ function List_Conditional_3_Template(rf, ctx) { if (rf & 1) {
25
27
  i0.ɵɵadvance();
26
28
  i0.ɵɵtextInterpolate(ctx_r1.tag);
27
29
  } }
28
- function List_Conditional_10_Template(rf, ctx) { if (rf & 1) {
29
- const _r3 = i0.ɵɵgetCurrentView();
30
- i0.ɵɵelementStart(0, "button", 13);
31
- i0.ɵɵlistener("click", function List_Conditional_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onUndo()); });
30
+ function List_Conditional_4_Conditional_6_Template(rf, ctx) { if (rf & 1) {
31
+ const _r4 = i0.ɵɵgetCurrentView();
32
+ i0.ɵɵelementStart(0, "button", 15);
33
+ i0.ɵɵlistener("click", function List_Conditional_4_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onUndo()); });
32
34
  i0.ɵɵtext(1, "\u21B6");
33
35
  i0.ɵɵelementEnd();
34
- i0.ɵɵelementStart(2, "button", 14);
35
- i0.ɵɵlistener("click", function List_Conditional_10_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRedo()); });
36
+ i0.ɵɵelementStart(2, "button", 16);
37
+ i0.ɵɵlistener("click", function List_Conditional_4_Conditional_6_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRedo()); });
36
38
  i0.ɵɵtext(3, "\u21B7");
37
39
  i0.ɵɵelementEnd();
38
40
  } if (rf & 2) {
39
- const ctx_r1 = i0.ɵɵnextContext();
41
+ const ctx_r1 = i0.ɵɵnextContext(2);
40
42
  i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canUndo);
41
43
  i0.ɵɵattribute("aria-label", ctx_r1.locale.undo)("title", ctx_r1.locale.undo);
42
44
  i0.ɵɵadvance(2);
43
45
  i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canRedo);
44
46
  i0.ɵɵattribute("aria-label", ctx_r1.locale.redo)("title", ctx_r1.locale.redo);
45
47
  } }
46
- function List_Conditional_14_Template(rf, ctx) { if (rf & 1) {
47
- i0.ɵɵelement(0, "div", 15);
48
+ function List_Conditional_4_Template(rf, ctx) { if (rf & 1) {
49
+ const _r3 = i0.ɵɵgetCurrentView();
50
+ i0.ɵɵelementStart(0, "button", 13);
51
+ i0.ɵɵlistener("click", function List_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onAddItem()); });
52
+ i0.ɵɵtext(1);
53
+ i0.ɵɵelementEnd();
54
+ i0.ɵɵelementStart(2, "button", 14);
55
+ i0.ɵɵlistener("click", function List_Conditional_4_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.startRename()); });
56
+ i0.ɵɵtext(3);
57
+ i0.ɵɵelementEnd();
58
+ i0.ɵɵelementStart(4, "button", 14);
59
+ i0.ɵɵlistener("click", function List_Conditional_4_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDeleteSelection()); });
60
+ i0.ɵɵtext(5);
61
+ i0.ɵɵelementEnd();
62
+ i0.ɵɵtemplate(6, List_Conditional_4_Conditional_6_Template, 4, 6);
63
+ } if (rf & 2) {
64
+ const ctx_r1 = i0.ɵɵnextContext();
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵtextInterpolate1("+ ", ctx_r1.locale.addItem, "");
67
+ i0.ɵɵadvance();
68
+ i0.ɵɵproperty("disabled", ctx_r1.snapshot.selectedIds.length !== 1);
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵtextInterpolate(ctx_r1.locale.rename);
71
+ i0.ɵɵadvance();
72
+ i0.ɵɵproperty("disabled", !ctx_r1.hasSel);
73
+ i0.ɵɵadvance();
74
+ i0.ɵɵtextInterpolate2("", ctx_r1.locale.delete, "", ctx_r1.hasSel ? " (" + ctx_r1.snapshot.selectedIds.length + ")" : "", "");
75
+ i0.ɵɵadvance();
76
+ i0.ɵɵconditional(ctx_r1.showUndoRedo ? 6 : -1);
77
+ } }
78
+ function List_Conditional_9_Template(rf, ctx) { if (rf & 1) {
79
+ i0.ɵɵelement(0, "div", 17);
48
80
  } if (rf & 2) {
49
81
  const ctx_r1 = i0.ɵɵnextContext();
50
82
  i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetTop, "px");
51
83
  } }
52
- function List_For_16_Conditional_3_Template(rf, ctx) { if (rf & 1) {
53
- const _r6 = i0.ɵɵgetCurrentView();
54
- i0.ɵɵelementStart(0, "input", 19, 1);
55
- i0.ɵɵlistener("input", function List_For_16_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onDraft($event)); })("keydown", function List_For_16_Conditional_3_Template_input_keydown_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onEditKeydown($event)); })("focus", function List_For_16_Conditional_3_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onEditFocus($event)); })("click", function List_For_16_Conditional_3_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r6); return i0.ɵɵresetView($event.stopPropagation()); })("pointerdown", function List_For_16_Conditional_3_Template_input_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r6); return i0.ɵɵresetView($event.stopPropagation()); });
56
- i0.ɵɵelementEnd();
84
+ function List_For_11_Conditional_3_Template(rf, ctx) { if (rf & 1) {
85
+ i0.ɵɵelementContainer(0, 20);
57
86
  } if (rf & 2) {
58
- const ctx_r1 = i0.ɵɵnextContext(2);
59
- i0.ɵɵproperty("value", ctx_r1.snapshot.editing.draft);
60
- i0.ɵɵattribute("placeholder", ctx_r1.locale.titlePlaceholder);
87
+ const r_r6 = i0.ɵɵnextContext().$implicit;
88
+ const ctx_r1 = i0.ɵɵnextContext();
89
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.renderItem)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, r_r6));
61
90
  } }
62
- function List_For_16_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
63
- i0.ɵɵelementStart(0, "span", 20);
91
+ function List_For_11_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
92
+ i0.ɵɵelementStart(0, "span", 21);
64
93
  i0.ɵɵtext(1);
65
94
  i0.ɵɵelementEnd();
66
95
  } if (rf & 2) {
67
- const r_r5 = i0.ɵɵnextContext(2).$implicit;
96
+ const r_r6 = i0.ɵɵnextContext(2).$implicit;
68
97
  i0.ɵɵadvance();
69
- i0.ɵɵtextInterpolate(r_r5.item.icon);
98
+ i0.ɵɵtextInterpolate(r_r6.item.icon);
70
99
  } }
71
- function List_For_16_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
72
- i0.ɵɵelementStart(0, "span", 23);
100
+ function List_For_11_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
101
+ i0.ɵɵelementStart(0, "span", 24);
73
102
  i0.ɵɵtext(1);
74
103
  i0.ɵɵelementEnd();
75
104
  } if (rf & 2) {
76
- const r_r5 = i0.ɵɵnextContext(2).$implicit;
105
+ const r_r6 = i0.ɵɵnextContext(2).$implicit;
77
106
  i0.ɵɵadvance();
78
- i0.ɵɵtextInterpolate(r_r5.item.description);
107
+ i0.ɵɵtextInterpolate(r_r6.item.description);
79
108
  } }
80
- function List_For_16_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
81
- i0.ɵɵelementStart(0, "span", 24);
109
+ function List_For_11_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
110
+ i0.ɵɵelementStart(0, "span", 25);
82
111
  i0.ɵɵtext(1);
83
112
  i0.ɵɵelementEnd();
84
113
  } if (rf & 2) {
85
- const r_r5 = i0.ɵɵnextContext(2).$implicit;
114
+ const r_r6 = i0.ɵɵnextContext(2).$implicit;
86
115
  i0.ɵɵadvance();
87
- i0.ɵɵtextInterpolate(r_r5.item.badge);
116
+ i0.ɵɵtextInterpolate(r_r6.item.badge);
88
117
  } }
89
- function List_For_16_Conditional_4_Template(rf, ctx) { if (rf & 1) {
90
- i0.ɵɵtemplate(0, List_For_16_Conditional_4_Conditional_0_Template, 2, 1, "span", 20);
91
- i0.ɵɵelementStart(1, "span", 21)(2, "span", 22);
118
+ function List_For_11_Conditional_4_Template(rf, ctx) { if (rf & 1) {
119
+ i0.ɵɵtemplate(0, List_For_11_Conditional_4_Conditional_0_Template, 2, 1, "span", 21);
120
+ i0.ɵɵelementStart(1, "span", 22)(2, "span", 23);
92
121
  i0.ɵɵtext(3);
93
122
  i0.ɵɵelementEnd();
94
- i0.ɵɵtemplate(4, List_For_16_Conditional_4_Conditional_4_Template, 2, 1, "span", 23);
123
+ i0.ɵɵtemplate(4, List_For_11_Conditional_4_Conditional_4_Template, 2, 1, "span", 24);
95
124
  i0.ɵɵelementEnd();
96
- i0.ɵɵtemplate(5, List_For_16_Conditional_4_Conditional_5_Template, 2, 1, "span", 24);
125
+ i0.ɵɵtemplate(5, List_For_11_Conditional_4_Conditional_5_Template, 2, 1, "span", 25);
97
126
  } if (rf & 2) {
98
- const r_r5 = i0.ɵɵnextContext().$implicit;
99
- i0.ɵɵconditional(r_r5.item.icon ? 0 : -1);
127
+ const r_r6 = i0.ɵɵnextContext().$implicit;
128
+ i0.ɵɵconditional(r_r6.item.icon ? 0 : -1);
100
129
  i0.ɵɵadvance(3);
101
- i0.ɵɵtextInterpolate(r_r5.item.label);
130
+ i0.ɵɵtextInterpolate(r_r6.item.label);
102
131
  i0.ɵɵadvance();
103
- i0.ɵɵconditional(r_r5.item.description ? 4 : -1);
132
+ i0.ɵɵconditional(r_r6.item.description ? 4 : -1);
104
133
  i0.ɵɵadvance();
105
- i0.ɵɵconditional(r_r5.item.badge ? 5 : -1);
134
+ i0.ɵɵconditional(r_r6.item.badge ? 5 : -1);
106
135
  } }
107
- function List_For_16_Template(rf, ctx) { if (rf & 1) {
108
- const _r4 = i0.ɵɵgetCurrentView();
109
- i0.ɵɵelementStart(0, "div", 16);
110
- i0.ɵɵlistener("pointerdown", function List_For_16_Template_div_pointerdown_0_listener($event) { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowPointerDown($event, r_r5.item.id)); })("click", function List_For_16_Template_div_click_0_listener($event) { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowClick($event, r_r5.item.id)); })("dblclick", function List_For_16_Template_div_dblclick_0_listener() { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ctrl.startEdit(r_r5.item.id)); });
111
- i0.ɵɵelementStart(1, "span", 17);
136
+ function List_For_11_Template(rf, ctx) { if (rf & 1) {
137
+ const _r5 = i0.ɵɵgetCurrentView();
138
+ i0.ɵɵelementStart(0, "div", 18);
139
+ i0.ɵɵlistener("pointerdown", function List_For_11_Template_div_pointerdown_0_listener($event) { const r_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowPointerDown($event, r_r6.item.id)); })("click", function List_For_11_Template_div_click_0_listener($event) { const r_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowClick($event, r_r6.item.id)); })("dblclick", function List_For_11_Template_div_dblclick_0_listener() { const r_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ctrl.startEdit(r_r6.item.id)); });
140
+ i0.ɵɵelementStart(1, "span", 19);
112
141
  i0.ɵɵtext(2, "\u283F");
113
142
  i0.ɵɵelementEnd();
114
- i0.ɵɵtemplate(3, List_For_16_Conditional_3_Template, 2, 2, "input", 18)(4, List_For_16_Conditional_4_Template, 6, 4);
143
+ i0.ɵɵtemplate(3, List_For_11_Conditional_3_Template, 1, 4, "ng-container", 20)(4, List_For_11_Conditional_4_Template, 6, 4);
115
144
  i0.ɵɵelementEnd();
116
145
  } if (rf & 2) {
117
- const r_r5 = ctx.$implicit;
146
+ const r_r6 = ctx.$implicit;
118
147
  const ctx_r1 = i0.ɵɵnextContext();
119
- i0.ɵɵclassMap(ctx_r1.rowClass(r_r5));
120
- i0.ɵɵattribute("data-item-id", r_r5.item.id)("aria-selected", r_r5.selected)("aria-disabled", r_r5.item.disabled ? "true" : null)("tabindex", r_r5.item.id === ctx_r1.snapshot.navAnchor ? 0 : -1);
148
+ i0.ɵɵclassMap(ctx_r1.rowClass(r_r6));
149
+ i0.ɵɵattribute("data-item-id", r_r6.item.id)("aria-selected", r_r6.selected)("aria-disabled", r_r6.item.disabled ? "true" : null)("tabindex", r_r6.item.id === ctx_r1.snapshot.navAnchor ? 0 : -1);
121
150
  i0.ɵɵadvance(3);
122
- i0.ɵɵconditional((ctx_r1.snapshot.editing == null ? null : ctx_r1.snapshot.editing.itemId) === r_r5.item.id ? 3 : 4);
151
+ i0.ɵɵconditional(ctx_r1.renderItem ? 3 : 4);
123
152
  } }
124
- function List_Conditional_17_Template(rf, ctx) { if (rf & 1) {
125
- i0.ɵɵelement(0, "div", 15);
153
+ function List_Conditional_12_Template(rf, ctx) { if (rf & 1) {
154
+ i0.ɵɵelement(0, "div", 17);
126
155
  } if (rf & 2) {
127
156
  const ctx_r1 = i0.ɵɵnextContext();
128
157
  i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetBottom, "px");
129
158
  } }
130
- function List_Conditional_18_Template(rf, ctx) { if (rf & 1) {
159
+ function List_Conditional_13_Template(rf, ctx) { if (rf & 1) {
131
160
  const _r7 = i0.ɵɵgetCurrentView();
132
- i0.ɵɵelementStart(0, "div", 12)(1, "span", 25);
161
+ i0.ɵɵelementStart(0, "div", 11, 1)(2, "input", 26);
162
+ i0.ɵɵlistener("input", function List_Conditional_13_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDraft($event)); })("keydown", function List_Conditional_13_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEditKeydown($event)); })("focus", function List_Conditional_13_Template_input_focus_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEditFocus($event)); })("click", function List_Conditional_13_Template_input_click_2_listener($event) { i0.ɵɵrestoreView(_r7); return i0.ɵɵresetView($event.stopPropagation()); })("pointerdown", function List_Conditional_13_Template_input_pointerdown_2_listener($event) { i0.ɵɵrestoreView(_r7); return i0.ɵɵresetView($event.stopPropagation()); });
163
+ i0.ɵɵelementEnd()();
164
+ } if (rf & 2) {
165
+ const ctx_r1 = i0.ɵɵnextContext();
166
+ i0.ɵɵadvance(2);
167
+ i0.ɵɵproperty("value", ctx_r1.snapshot.editing.draft);
168
+ i0.ɵɵattribute("placeholder", ctx_r1.locale.titlePlaceholder);
169
+ } }
170
+ function List_Conditional_14_Template(rf, ctx) { if (rf & 1) {
171
+ const _r8 = i0.ɵɵgetCurrentView();
172
+ i0.ɵɵelementStart(0, "div")(1, "span", 27);
133
173
  i0.ɵɵtext(2);
134
174
  i0.ɵɵelementEnd();
135
- i0.ɵɵelementStart(3, "button", 26);
136
- i0.ɵɵlistener("click", function List_Conditional_18_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDismiss()); });
175
+ i0.ɵɵelementStart(3, "button", 28);
176
+ i0.ɵɵlistener("click", function List_Conditional_14_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDismiss()); });
137
177
  i0.ɵɵtext(4, "\u00D7");
138
178
  i0.ɵɵelementEnd()();
139
179
  } if (rf & 2) {
180
+ const undo_r9 = ctx;
181
+ i0.ɵɵclassMap("bm-list__toast" + (undo_r9.kind === "error" ? " bm-list__toast--error" : ""));
182
+ i0.ɵɵattribute("role", undo_r9.kind === "error" ? "alert" : "status");
140
183
  i0.ɵɵadvance(2);
141
- i0.ɵɵtextInterpolate(ctx.description);
184
+ i0.ɵɵtextInterpolate(undo_r9.description);
142
185
  } }
143
- /** Focus (and select) a freshly-mounted in-place rename input — parity with the
144
- * React `autoFocus` + `onFocus → select()`. The `@if`-rendered input is a fresh
145
- * element each time editing opens, so this fires once per open. */
146
- export class ListAutofocusDirective {
147
- el = inject(ElementRef);
148
- ngAfterViewInit() {
149
- queueMicrotask(() => {
150
- const input = this.el.nativeElement;
151
- input.focus?.();
152
- input.select?.();
153
- });
154
- }
155
- static ɵfac = function ListAutofocusDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ListAutofocusDirective)(); };
156
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ListAutofocusDirective, selectors: [["", "bmListAutofocus", ""]] });
157
- }
158
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListAutofocusDirective, [{
159
- type: Directive,
160
- args: [{ selector: '[bmListAutofocus]', standalone: true }]
161
- }], null, null); })();
162
186
  /**
163
187
  * The Angular list / catalog — a thin binding over the canonical
164
188
  * `@bimetal/list-headless` controller (instance #7 of the shipped component
@@ -195,6 +219,10 @@ export class List {
195
219
  onError;
196
220
  /** OBSERVE hook (STANDALONE only): fires when the selected ids change. */
197
221
  onSelectionChange;
222
+ /** Replace an item row's CONTENT cell (icon/label/secondary/badge). Context:
223
+ * `{ $implicit: ListItemView }`. Row structure, selection and rename editor stay
224
+ * component-owned. Mirrors tree's `renderNode`. */
225
+ renderItem;
198
226
  binding; // STANDALONE only — bound path leaves the owned controller untouched
199
227
  ctrlRef;
200
228
  snapshotSig;
@@ -203,6 +231,8 @@ export class List {
203
231
  // THIS list's own DOM (with two lists on a page the global elementFromPoint /
204
232
  // focus query would otherwise reach into the other one).
205
233
  listRef;
234
+ editOverlayRef;
235
+ overlayWasMounted = false;
206
236
  // Injected via the field API so the binding works under JIT (vitest/esbuild
207
237
  // does not emit constructor-parameter decorator metadata). `optional` keeps
208
238
  // direct `new List()` instantiation (non-TestBed unit use) working.
@@ -212,6 +242,20 @@ export class List {
212
242
  // The last navAnchor focused, so the roving-focus effect fires only when the
213
243
  // controller actually MOVED the anchor — not on every re-render.
214
244
  lastNavAnchor = null;
245
+ // The editing open-flag from the previous checked pass, so we can detect the
246
+ // commit/cancel edge (non-null→null) even when navAnchor is unchanged.
247
+ wasEditing = false;
248
+ // Whether focus was inside THIS list on the last editor-close NOTIFY edge —
249
+ // captured (below) BEFORE change detection tears the editor <input> down and DOM
250
+ // focus falls to <body>. Captured on the EDGE (not every notify) so the second
251
+ // markChanged a persisted rename fires AFTER its async dispatch — by which point
252
+ // focus is <body> — can't clobber the true value before ngAfterViewChecked reads
253
+ // it. The editClosed re-focus consults it so a host/external editor close
254
+ // (reconcile, a programmatic commit/cancel) while focus sits elsewhere never
255
+ // steals it. Framework analogue of vanilla's pre-teardown `hadListFocus`.
256
+ hadListFocus = false;
257
+ wasEditingNotify = false;
258
+ unsubFocus;
215
259
  get ctrl() { return this.ctrlRef; }
216
260
  get snapshot() { return this.snapshotSig(); }
217
261
  get locale() { return this.snapshot.config.locale; }
@@ -219,6 +263,14 @@ export class List {
219
263
  // The window slice when virtualizing, else the full (filtered) list. The binding
220
264
  // never computes the window — it renders `virtual.rows` + the controller's spacers.
221
265
  get renderedRows() { return this.snapshot.virtual ? this.snapshot.virtual.rows : this.snapshot.rows; }
266
+ /** bimetal-133: the overlay renders only while its row is in the rendered set
267
+ * (parity with the in-row days: an editor whose row scrolled out of the
268
+ * virtual window has no DOM). Cheap per CD — no array minting (mcp-129/131
269
+ * class), a `some` over the identity-stable rendered rows. */
270
+ get editRowRendered() {
271
+ const id = this.snapshot.editing?.itemId;
272
+ return !!id && this.renderedRows.some(r => r.item.id === id);
273
+ }
222
274
  // The controller owns the keyboard semantics (arrows, shift-range, Ctrl/Cmd+
223
275
  // arrows move, Enter/Delete/Escape/undo). Bound to THIS component's root via
224
276
  // `(keydown)` in the template (NOT window), so a keystroke in one list never
@@ -263,6 +315,35 @@ export class List {
263
315
  this.ctrl.setViewport(el.scrollTop, el.clientHeight);
264
316
  };
265
317
  resizeObserver;
318
+ // bimetal-139 — WENN DIE FOKUSSIERTE ZEILE AUS DEM FENSTER SCROLLT, nimmt ihr
319
+ // Unmount den DOM-Fokus mit auf <body>: die Pfeiltasten gehen danach ins Leere.
320
+ // Chromium feuert dafuer KEIN `focusout` (in mcp-60 am tree gemessen), deshalb
321
+ // Buchfuehrung statt Ereignis: `focusin` markiert „drin", ein echter Abgang
322
+ // (focusout mit verbundenem `relatedTarget`) loescht die Marke;
323
+ // `relatedTarget === null` ist entweder Klick ins Leere oder das Unmount — eine
324
+ // Mikrotask spaeter ist die entfernte Zeile getrennt, das Klick-Ziel nicht.
325
+ // Auffangpunkt ist der Container (`tabindex="-1"`), wo der keydown-Handler sitzt.
326
+ // Begruendung im Detail: list-react.
327
+ focusInside = false;
328
+ onFocusIn = () => { this.focusInside = true; };
329
+ onFocusOut = (e) => {
330
+ const el = this.listRef?.nativeElement;
331
+ if (!el)
332
+ return;
333
+ if (e.relatedTarget instanceof Node) {
334
+ this.focusInside = el.contains(e.relatedTarget);
335
+ return;
336
+ }
337
+ const target = e.target;
338
+ queueMicrotask(() => {
339
+ if (target.isConnected) {
340
+ this.focusInside = false;
341
+ return;
342
+ }
343
+ if (this.focusInside && document.activeElement === document.body)
344
+ el.focus({ preventScroll: true });
345
+ });
346
+ };
266
347
  ngOnInit() {
267
348
  if (this.controller) {
268
349
  // BOUND: adapt the owned controller to a signal; never create/destroy/mutate it.
@@ -275,16 +356,36 @@ export class List {
275
356
  this.snapshotSig = sig;
276
357
  }
277
358
  else {
278
- this.binding = createListControllerBinding({
359
+ // bimetal-181: der GETTER ist die Aussage — die Pfeilfunktion liest `this` bei
360
+ // jedem Callback-Aufruf erneut, statt den Stand von ngOnInit festzunageln.
361
+ this.binding = createListControllerBinding(() => ({
279
362
  store: this.store,
280
363
  listId: this.listId,
281
364
  config: this.config,
282
- onError: (err) => this.onError?.(err),
365
+ onError: (err) => (this.onError ?? reportUnroutedListError)(err),
283
366
  onSelectionChange: this.onSelectionChange,
284
- }, this.zone);
367
+ }), this.zone);
285
368
  this.ctrlRef = this.binding.ctrl;
286
369
  this.snapshotSig = this.binding.snapshot;
287
370
  }
371
+ // Capture focus-within on the editor-close edge at notify time (before CD tears
372
+ // the editor input down). A dedicated subscription so it runs for BOTH the bound
373
+ // and standalone paths.
374
+ // Seed the edge tracker from the CURRENT snapshot: controller-core.subscribe()
375
+ // does NOT invoke the listener on subscribe (only on later markChanged), so a
376
+ // host that hands us a controller with an already-open editor — or a remount
377
+ // while snapshot.editing is non-null — would otherwise start at false and the
378
+ // first commit/cancel notify would skip the pre-teardown capture (roving focus
379
+ // then falls to <body>). Parity with vanilla's live per-render read.
380
+ this.wasEditingNotify = !!this.ctrlRef.getSnapshot().editing;
381
+ this.unsubFocus = this.ctrlRef.subscribe(() => {
382
+ const isEditing = !!this.ctrlRef.getSnapshot().editing;
383
+ if (this.wasEditingNotify && !isEditing) {
384
+ const el = this.listRef?.nativeElement;
385
+ this.hadListFocus = !!el && el.contains(document.activeElement);
386
+ }
387
+ this.wasEditingNotify = isEditing;
388
+ });
288
389
  if (typeof window !== 'undefined') {
289
390
  window.addEventListener('pointermove', this.onMove);
290
391
  window.addEventListener('pointerup', this.onUp);
@@ -300,6 +401,8 @@ export class List {
300
401
  return;
301
402
  this.report(); // initial measure
302
403
  el.addEventListener('scroll', this.report, { passive: true });
404
+ el.addEventListener('focusin', this.onFocusIn);
405
+ el.addEventListener('focusout', this.onFocusOut);
303
406
  if (typeof ResizeObserver !== 'undefined') {
304
407
  this.resizeObserver = new ResizeObserver(this.report);
305
408
  this.resizeObserver.observe(el);
@@ -311,15 +414,53 @@ export class List {
311
414
  // dependency, no injection). Guarded on a stable key so it fires only when the
312
415
  // controller moved the anchor — parity with the React focus effect.
313
416
  ngAfterViewChecked() {
417
+ // bimetal-133: glue the edit overlay onto its row — offset* is the scroll
418
+ // container's CONTENT coordinate space, so the overlay scrolls with the row
419
+ // and needs no scroll listener. Focus on the overlay's MOUNT edge only (a CD
420
+ // pass must not steal focus back from the search box), AFTER positioning.
421
+ const overlay = this.editOverlayRef?.nativeElement ?? null;
422
+ const editingId = this.snapshot.editing?.itemId;
423
+ const host = this.listRef?.nativeElement;
424
+ if (overlay && host && editingId) {
425
+ const row = Array.from(host.querySelectorAll('.bm-list__row')).find(r => r.dataset['itemId'] === editingId);
426
+ if (row) {
427
+ overlay.style.top = `${row.offsetTop}px`;
428
+ // offsetLeft is PHYSICAL — pair it with the physical property (direction
429
+ // discipline: geometry is physical, semantics are logical).
430
+ overlay.style.left = `${row.offsetLeft}px`;
431
+ overlay.style.width = `${row.offsetWidth}px`;
432
+ overlay.style.height = `${row.offsetHeight}px`;
433
+ }
434
+ // bimetal-137: a mount edge caused by the FILTER re-admitting the edited
435
+ // row (user typing in the search box) must not steal focus.
436
+ const searchActive = document.activeElement?.classList.contains('bm-list__search') === true;
437
+ if (!this.overlayWasMounted && !searchActive)
438
+ overlay.querySelector('input')?.focus();
439
+ }
440
+ this.overlayWasMounted = !!overlay;
314
441
  const anchor = this.snapshot.navAnchor;
315
- if (anchor === this.lastNavAnchor)
316
- return;
442
+ const editing = !!this.snapshot.editing;
443
+ // Commit/cancel edge: when the editor closes, the focused <input> has already
444
+ // unmounted and DOM focus fell to <body>. On this edge navAnchor is unchanged,
445
+ // so the anchor-moved guard would bail; and the live activeElement guard would
446
+ // bail too. Re-focus navAnchor on the editing non-null→null edge — but ONLY when
447
+ // focus was in this list right before the teardown (hadListFocus, captured at
448
+ // notify time). An Enter/Escape commit had focus on the editor input → restore;
449
+ // a host/external close while focus sits elsewhere → hadListFocus is false, so we
450
+ // fall through to the live guard and never steal. Parity with vanilla.
451
+ const editClosed = this.wasEditing && !editing;
452
+ this.wasEditing = editing;
453
+ const anchorMoved = anchor !== this.lastNavAnchor;
317
454
  this.lastNavAnchor = anchor;
455
+ if (!anchorMoved && !editClosed)
456
+ return; // fire only when the anchor moved or the editor just closed
318
457
  // An open inline editor owns DOM focus — don't steal it back to the roving row.
319
- if (this.snapshot.editing)
458
+ if (editing)
320
459
  return;
321
460
  const el = this.listRef?.nativeElement;
322
- if (!anchor || !el || !el.contains(document.activeElement))
461
+ if (!anchor || !el)
462
+ return;
463
+ if (!(editClosed && this.hadListFocus) && !el.contains(document.activeElement))
323
464
  return;
324
465
  const target = Array.from(el.querySelectorAll('.bm-list__row')).find(r => r.dataset['itemId'] === anchor);
325
466
  target?.focus();
@@ -338,8 +479,11 @@ export class List {
338
479
  window.removeEventListener('pointercancel', this.onCancel);
339
480
  }
340
481
  this.listRef?.nativeElement.removeEventListener('scroll', this.report);
482
+ this.listRef?.nativeElement.removeEventListener('focusin', this.onFocusIn);
483
+ this.listRef?.nativeElement.removeEventListener('focusout', this.onFocusOut);
341
484
  this.resizeObserver?.disconnect();
342
485
  this.unsub?.();
486
+ this.unsubFocus?.();
343
487
  this.binding?.destroy(); // undefined on the bound path → the owned controller is left intact
344
488
  }
345
489
  // ── Derived view helpers (Angular templates forbid arrow functions) ──
@@ -399,42 +543,33 @@ export class List {
399
543
  static ɵfac = function List_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || List)(); };
400
544
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: List, selectors: [["bm-list"]], viewQuery: function List_Query(rf, ctx) { if (rf & 1) {
401
545
  i0.ɵɵviewQuery(_c0, 5);
546
+ i0.ɵɵviewQuery(_c1, 5);
402
547
  } if (rf & 2) {
403
548
  let _t;
404
549
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listRef = _t.first);
405
- } }, inputs: { controller: "controller", store: "store", listId: "listId", config: "config", darkMode: "darkMode", dir: "dir", title: "title", tag: "tag", showUndoRedo: "showUndoRedo", onError: "onError", onSelectionChange: "onSelectionChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 19, vars: 21, consts: [["listbox", ""], ["editInput", ""], [1, "bm-list", 3, "keydown", "ngStyle"], [1, "bm-list__toolbar"], [1, "bm-list__title"], [1, "bm-list__tag"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--primary", 3, "click"], ["type", "button", 1, "bm-list__btn", 3, "click", "disabled"], ["type", "search", 1, "bm-list__search", 3, "input", "value"], ["role", "listbox", "aria-multiselectable", "true", 1, "bm-list__listbox"], ["aria-hidden", "true", 1, "bm-list__spacer", 3, "height"], ["role", "option", 3, "class"], ["role", "status", 1, "bm-list__toast"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--undo", 3, "click", "disabled"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--redo", 3, "click", "disabled"], ["aria-hidden", "true", 1, "bm-list__spacer"], ["role", "option", 3, "pointerdown", "click", "dblclick"], ["aria-hidden", "true", 1, "bm-list__handle"], ["bmListAutofocus", "", 1, "bm-list__edit", 3, "value"], ["bmListAutofocus", "", 1, "bm-list__edit", 3, "input", "keydown", "focus", "click", "pointerdown", "value"], ["aria-hidden", "true", 1, "bm-list__icon"], [1, "bm-list__text"], [1, "bm-list__label"], [1, "bm-list__secondary"], [1, "bm-list__badge"], [1, "bm-list__toast-msg"], ["type", "button", 1, "bm-list__toast-dismiss", 3, "click"]], template: function List_Template(rf, ctx) { if (rf & 1) {
550
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editOverlayRef = _t.first);
551
+ } }, inputs: { controller: "controller", store: "store", listId: "listId", config: "config", darkMode: "darkMode", dir: "dir", title: "title", tag: "tag", showUndoRedo: "showUndoRedo", onError: "onError", onSelectionChange: "onSelectionChange", renderItem: "renderItem" }, features: [i0.ɵɵNgOnChangesFeature], decls: 15, vars: 16, consts: [["listbox", ""], ["editOverlay", ""], [1, "bm-list", 3, "keydown", "ngStyle"], [1, "bm-list__toolbar"], [1, "bm-list__title"], [1, "bm-list__tag"], ["type", "search", 1, "bm-list__search", 3, "input", "value"], ["tabindex", "-1", 1, "bm-list__listbox"], ["role", "listbox", "aria-multiselectable", "true", 1, "bm-list__options"], ["aria-hidden", "true", 1, "bm-list__spacer", 3, "height"], ["role", "option", 3, "class"], [1, "bm-list__edit-overlay"], [3, "class"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--primary", 3, "click"], ["type", "button", 1, "bm-list__btn", 3, "click", "disabled"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--undo", 3, "click", "disabled"], ["type", "button", 1, "bm-list__btn", "bm-list__btn--redo", 3, "click", "disabled"], ["aria-hidden", "true", 1, "bm-list__spacer"], ["role", "option", 3, "pointerdown", "click", "dblclick"], ["aria-hidden", "true", 1, "bm-list__handle"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["aria-hidden", "true", 1, "bm-list__icon"], [1, "bm-list__text"], [1, "bm-list__label"], [1, "bm-list__secondary"], [1, "bm-list__badge"], [1, "bm-list__edit", 3, "input", "keydown", "focus", "click", "pointerdown", "value"], [1, "bm-list__toast-msg"], ["type", "button", 1, "bm-list__toast-dismiss", 3, "click"]], template: function List_Template(rf, ctx) { if (rf & 1) {
406
552
  const _r1 = i0.ɵɵgetCurrentView();
407
553
  i0.ɵɵelementStart(0, "div", 2);
408
554
  i0.ɵɵlistener("keydown", function List_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKey($event)); });
409
555
  i0.ɵɵelementStart(1, "div", 3);
410
- i0.ɵɵtemplate(2, List_Conditional_2_Template, 2, 1, "h1", 4)(3, List_Conditional_3_Template, 2, 1, "span", 5);
411
- i0.ɵɵelementStart(4, "button", 6);
412
- i0.ɵɵlistener("click", function List_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onAddItem()); });
413
- i0.ɵɵtext(5);
414
- i0.ɵɵelementEnd();
415
- i0.ɵɵelementStart(6, "button", 7);
416
- i0.ɵɵlistener("click", function List_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.startRename()); });
417
- i0.ɵɵtext(7);
418
- i0.ɵɵelementEnd();
419
- i0.ɵɵelementStart(8, "button", 7);
420
- i0.ɵɵlistener("click", function List_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onDeleteSelection()); });
421
- i0.ɵɵtext(9);
422
- i0.ɵɵelementEnd();
423
- i0.ɵɵtemplate(10, List_Conditional_10_Template, 4, 6);
424
- i0.ɵɵelementStart(11, "input", 8);
425
- i0.ɵɵlistener("input", function List_Template_input_input_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); });
556
+ i0.ɵɵtemplate(2, List_Conditional_2_Template, 2, 1, "h1", 4)(3, List_Conditional_3_Template, 2, 1, "span", 5)(4, List_Conditional_4_Template, 7, 7);
557
+ i0.ɵɵelementStart(5, "input", 6);
558
+ i0.ɵɵlistener("input", function List_Template_input_input_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); });
426
559
  i0.ɵɵelementEnd()();
427
- i0.ɵɵelementStart(12, "div", 9, 0);
428
- i0.ɵɵtemplate(14, List_Conditional_14_Template, 1, 2, "div", 10);
429
- i0.ɵɵrepeaterCreate(15, List_For_16_Template, 5, 7, "div", 11, _forTrack0);
430
- i0.ɵɵtemplate(17, List_Conditional_17_Template, 1, 2, "div", 10);
560
+ i0.ɵɵelementStart(6, "div", 7, 0)(8, "div", 8);
561
+ i0.ɵɵtemplate(9, List_Conditional_9_Template, 1, 2, "div", 9);
562
+ i0.ɵɵrepeaterCreate(10, List_For_11_Template, 5, 7, "div", 10, _forTrack0);
563
+ i0.ɵɵtemplate(12, List_Conditional_12_Template, 1, 2, "div", 9);
564
+ i0.ɵɵelementEnd();
565
+ i0.ɵɵtemplate(13, List_Conditional_13_Template, 3, 2, "div", 11);
431
566
  i0.ɵɵelementEnd();
432
- i0.ɵɵtemplate(18, List_Conditional_18_Template, 5, 1, "div", 12);
567
+ i0.ɵɵtemplate(14, List_Conditional_14_Template, 5, 4, "div", 12);
433
568
  i0.ɵɵelementEnd();
434
569
  } if (rf & 2) {
435
570
  let tmp_4_0;
571
+ let tmp_11_0;
436
572
  let tmp_16_0;
437
- let tmp_20_0;
438
573
  i0.ɵɵclassProp("bm-list--virtual", !!ctx.snapshot.virtual);
439
574
  i0.ɵɵproperty("ngStyle", ctx.cssVars());
440
575
  i0.ɵɵattribute("data-theme", ctx.darkMode ? "dark" : null)("dir", (tmp_4_0 = ctx.dir) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
@@ -442,39 +577,31 @@ export class List {
442
577
  i0.ɵɵconditional(ctx.title ? 2 : -1);
443
578
  i0.ɵɵadvance();
444
579
  i0.ɵɵconditional(ctx.tag ? 3 : -1);
445
- i0.ɵɵadvance(2);
446
- i0.ɵɵtextInterpolate1("+ ", ctx.locale.addItem, "");
447
- i0.ɵɵadvance();
448
- i0.ɵɵproperty("disabled", ctx.snapshot.selectedIds.length !== 1);
449
580
  i0.ɵɵadvance();
450
- i0.ɵɵtextInterpolate(ctx.locale.rename);
451
- i0.ɵɵadvance();
452
- i0.ɵɵproperty("disabled", !ctx.hasSel);
453
- i0.ɵɵadvance();
454
- i0.ɵɵtextInterpolate2("", ctx.locale.delete, "", ctx.hasSel ? " (" + ctx.snapshot.selectedIds.length + ")" : "", "");
455
- i0.ɵɵadvance();
456
- i0.ɵɵconditional(ctx.showUndoRedo ? 10 : -1);
581
+ i0.ɵɵconditional(!ctx.snapshot.config.readOnly ? 4 : -1);
457
582
  i0.ɵɵadvance();
458
583
  i0.ɵɵproperty("value", ctx.snapshot.filterQuery);
459
584
  i0.ɵɵattribute("placeholder", ctx.locale.searchPlaceholder)("aria-label", ctx.locale.searchPlaceholder);
585
+ i0.ɵɵadvance(3);
586
+ i0.ɵɵattribute("aria-label", (tmp_11_0 = ctx.title) !== null && tmp_11_0 !== undefined ? tmp_11_0 : ctx.locale.label);
460
587
  i0.ɵɵadvance();
461
- i0.ɵɵattribute("aria-label", (tmp_16_0 = ctx.title) !== null && tmp_16_0 !== undefined ? tmp_16_0 : ctx.locale.label);
462
- i0.ɵɵadvance(2);
463
- i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 14 : -1);
588
+ i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 9 : -1);
464
589
  i0.ɵɵadvance();
465
590
  i0.ɵɵrepeater(ctx.renderedRows);
466
591
  i0.ɵɵadvance(2);
467
- i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ? 17 : -1);
592
+ i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ? 12 : -1);
593
+ i0.ɵɵadvance();
594
+ i0.ɵɵconditional(ctx.snapshot.editing && ctx.editRowRendered ? 13 : -1);
468
595
  i0.ɵɵadvance();
469
- i0.ɵɵconditional((tmp_20_0 = ctx.snapshot.lastAction) ? 18 : -1, tmp_20_0);
470
- } }, dependencies: [CommonModule, i1.NgStyle, ListAutofocusDirective], encapsulation: 2, changeDetection: 0 });
596
+ i0.ɵɵconditional((tmp_16_0 = ctx.snapshot.lastAction) ? 14 : -1, tmp_16_0);
597
+ } }, dependencies: [CommonModule, i1.NgTemplateOutlet, i1.NgStyle], encapsulation: 2, changeDetection: 0 });
471
598
  }
472
599
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(List, [{
473
600
  type: Component,
474
601
  args: [{
475
602
  selector: 'bm-list',
476
603
  standalone: true,
477
- imports: [CommonModule, ListAutofocusDirective],
604
+ imports: [CommonModule],
478
605
  changeDetection: ChangeDetectionStrategy.OnPush,
479
606
  template: `
480
607
  <div class="bm-list" [class.bm-list--virtual]="!!snapshot.virtual" [attr.data-theme]="darkMode ? 'dark' : null" [attr.dir]="dir ?? null" [ngStyle]="cssVars()" (keydown)="onKey($event)">
@@ -485,6 +612,8 @@ export class List {
485
612
  @if (tag) {
486
613
  <span class="bm-list__tag">{{ tag }}</span>
487
614
  }
615
+ <!-- mcp-64: Mutations-Affordanzen fallen im View-Only-Modus (kein toter Knopf). -->
616
+ @if (!snapshot.config.readOnly) {
488
617
  <button class="bm-list__btn bm-list__btn--primary" type="button" (click)="onAddItem()">+ {{ locale.addItem }}</button>
489
618
  <button class="bm-list__btn" type="button" [disabled]="snapshot.selectedIds.length !== 1" (click)="startRename()">{{ locale.rename }}</button>
490
619
  <button class="bm-list__btn" type="button" [disabled]="!hasSel" (click)="onDeleteSelection()">{{ locale.delete }}{{ hasSel ? ' (' + snapshot.selectedIds.length + ')' : '' }}</button>
@@ -492,10 +621,24 @@ export class List {
492
621
  <button class="bm-list__btn bm-list__btn--undo" type="button" [attr.aria-label]="locale.undo" [attr.title]="locale.undo" [disabled]="!snapshot.canUndo" (click)="onUndo()">↶</button>
493
622
  <button class="bm-list__btn bm-list__btn--redo" type="button" [attr.aria-label]="locale.redo" [attr.title]="locale.redo" [disabled]="!snapshot.canRedo" (click)="onRedo()">↷</button>
494
623
  }
624
+ }
495
625
  <input class="bm-list__search" type="search" [value]="snapshot.filterQuery" [attr.placeholder]="locale.searchPlaceholder" [attr.aria-label]="locale.searchPlaceholder" (input)="onFilter($event)" />
496
626
  </div>
497
627
 
498
- <div class="bm-list__listbox" role="listbox" aria-multiselectable="true" [attr.aria-label]="title ?? locale.label" #listbox>
628
+ <!-- bimetal-133: scroll container and ARIA listbox are two elements. \`option\`
629
+ forbids focusable descendants (nested-interactive, serious), and every
630
+ role-swap on the row merely trades that for aria-required-children
631
+ (critical) — measured with axe. The in-place editor is therefore a
632
+ sibling OF THE OPTIONS LIST, absolutely positioned over the edited row,
633
+ inside the scroll container, so it scrolls with the content by
634
+ construction. -->
635
+ <!-- bimetal-139: programmatisch fokussierbar als Auffangpunkt fuer den Fokus
636
+ einer aus dem Fenster gescrollten Zeile — nicht tabbbar, die
637
+ Tab-Reihenfolge traegt weiterhin genau eine Zeile (der navAnchor).
638
+ KEINE Backticks in diesem Kommentar: das Template ist ein
639
+ Template-Literal, sie wuerden es beenden. -->
640
+ <div class="bm-list__listbox" #listbox tabindex="-1">
641
+ <div class="bm-list__options" role="listbox" aria-multiselectable="true" [attr.aria-label]="title ?? locale.label">
499
642
  <!-- Virtual spacers: the controller's px offsets — the binding applies them, no math. -->
500
643
  @if (snapshot.virtual && snapshot.virtual.offsetTop > 0) {
501
644
  <div class="bm-list__spacer" aria-hidden="true" [style.height.px]="snapshot.virtual.offsetTop"></div>
@@ -512,22 +655,8 @@ export class List {
512
655
  (click)="onRowClick($event, r.item.id)"
513
656
  (dblclick)="ctrl.startEdit(r.item.id)">
514
657
  <span class="bm-list__handle" aria-hidden="true">⠿</span>
515
- @if (snapshot.editing?.itemId === r.item.id) {
516
- <!-- In-place editor: controlled by snapshot.editing.draft (so it survives
517
- re-render). No blur-commit — Enter commits, Escape cancels (handled by
518
- the root keydown). stopPropagation keeps input clicks from re-selecting
519
- / arming a drag on the row. -->
520
- <input
521
- bmListAutofocus
522
- #editInput
523
- class="bm-list__edit"
524
- [value]="snapshot.editing!.draft"
525
- [attr.placeholder]="locale.titlePlaceholder"
526
- (input)="onDraft($event)"
527
- (keydown)="onEditKeydown($event)"
528
- (focus)="onEditFocus($event)"
529
- (click)="$event.stopPropagation()"
530
- (pointerdown)="$event.stopPropagation()" />
658
+ @if (renderItem) {
659
+ <ng-container [ngTemplateOutlet]="renderItem" [ngTemplateOutletContext]="{ $implicit: r }"></ng-container>
531
660
  } @else {
532
661
  @if (r.item.icon) { <span class="bm-list__icon" aria-hidden="true">{{ r.item.icon }}</span> }
533
662
  <span class="bm-list__text">
@@ -541,10 +670,35 @@ export class List {
541
670
  @if (snapshot.virtual && snapshot.virtual.offsetBottom > 0) {
542
671
  <div class="bm-list__spacer" aria-hidden="true" [style.height.px]="snapshot.virtual.offsetBottom"></div>
543
672
  }
673
+ </div>
674
+
675
+ @if (snapshot.editing && editRowRendered) {
676
+ <!-- In-place editor as an OVERLAY: controlled by snapshot.editing.draft (so
677
+ it survives re-render). Rendered only while its row is in the rendered
678
+ set — the "open editor survives a scroll-out" semantics are unchanged.
679
+ No blur-commit — Enter commits, Escape cancels (root keydown).
680
+ stopPropagation keeps input clicks from re-selecting / arming a drag
681
+ on the row below. Positioning + mount-edge focus live in
682
+ ngAfterViewChecked — NOT bmListAutofocus: focus must come AFTER
683
+ positioning (an unpositioned overlay sits at the bottom of the scroll
684
+ content; focusing there scrolls a virtualized list to its end and the
685
+ editor unmounts itself — measured in the react port of this fix). -->
686
+ <div class="bm-list__edit-overlay" #editOverlay>
687
+ <input
688
+ class="bm-list__edit"
689
+ [value]="snapshot.editing!.draft"
690
+ [attr.placeholder]="locale.titlePlaceholder"
691
+ (input)="onDraft($event)"
692
+ (keydown)="onEditKeydown($event)"
693
+ (focus)="onEditFocus($event)"
694
+ (click)="$event.stopPropagation()"
695
+ (pointerdown)="$event.stopPropagation()" />
696
+ </div>
697
+ }
544
698
  </div>
545
699
 
546
700
  @if (snapshot.lastAction; as undo) {
547
- <div class="bm-list__toast" role="status">
701
+ <div [class]="'bm-list__toast' + (undo.kind === 'error' ? ' bm-list__toast--error' : '')" [attr.role]="undo.kind === 'error' ? 'alert' : 'status'">
548
702
  <span class="bm-list__toast-msg">{{ undo.description }}</span>
549
703
  <button class="bm-list__toast-dismiss" type="button" (click)="onDismiss()">×</button>
550
704
  </div>
@@ -576,9 +730,14 @@ export class List {
576
730
  type: Input
577
731
  }], onSelectionChange: [{
578
732
  type: Input
733
+ }], renderItem: [{
734
+ type: Input
579
735
  }], listRef: [{
580
736
  type: ViewChild,
581
737
  args: ['listbox']
738
+ }], editOverlayRef: [{
739
+ type: ViewChild,
740
+ args: ['editOverlay']
582
741
  }] }); })();
583
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber: 122 }); })();
742
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber: 134 }); })();
584
743
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../src/components/List.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAAE,SAAS,EAAE,UAAU,EAAmC,SAAS,EAAE,KAAK,EACnF,uBAAuB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAChD,MAAM,eAAe,C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E,MAAM;kBAAhC,KAAK;mBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;YAEhB,MAAM;kBAAd,KAAK;YAEG,QAAQ;kBAAhB,KAAK;YAEG,GAAG;kBAAX,KAAK;YAEG,KAAK;kBAAb,KAAK;YAEG,GAAG;kBAAX,KAAK;YAGG,YAAY;kBAApB,KAAK;YAGG,OAAO;kBAAf,KAAK;YAEG,iBAAiB;kBAAzB,KAAK;YAIG,UAAU;kBAAlB,KAAK;YAUgB,OAAO;kBAA5B,SAAS;mBAAC,SAAS;YACM,cAAc;kBAAvC,SAAS;mBAAC,aAAa;;kFAzCb,IAAI"}
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/generate-css-stubs.mjs — DO NOT EDIT.
2
+ // Type-stub for side-effect CSS import (TS moduleResolution: nodenext/bundler).
3
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimetal/list-angular-components",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Angular list / catalog — multi-select, batch reorder (keyboard + pointer drag), batch delete, rename, undo, theming.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -10,7 +10,10 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.js"
12
12
  },
13
- "./styles": "./dist/styles/index.css"
13
+ "./styles": {
14
+ "types": "./dist/styles/index.css.d.ts",
15
+ "default": "./dist/styles/index.css"
16
+ }
14
17
  },
15
18
  "files": [
16
19
  "dist",
@@ -18,17 +21,17 @@
18
21
  "LICENSE"
19
22
  ],
20
23
  "scripts": {
21
- "build": "ngc -p tsconfig.json && node scripts/copy-css.mjs",
22
- "typecheck": "ngc -p tsconfig.json --noEmit",
24
+ "build": "ngc -p tsconfig.json && node scripts/copy-css.mjs && node ../../../scripts/generate-css-stubs.mjs",
25
+ "typecheck": "ngc -p tsconfig.test.json --noEmit",
23
26
  "test": "vitest run",
24
27
  "prepublishOnly": "npm run build"
25
28
  },
26
29
  "dependencies": {
27
- "@bimetal/angular": "^0.35.0",
28
- "@bimetal/list-data": "^0.35.0",
29
- "@bimetal/list-headless": "^0.35.0",
30
- "@bimetal/list-themes": "^0.35.0",
31
- "@bimetal/a11y-dom": "^0.35.0"
30
+ "@bimetal/angular": "^0.37.0",
31
+ "@bimetal/list-data": "^0.37.0",
32
+ "@bimetal/list-headless": "^0.37.0",
33
+ "@bimetal/list-themes": "^0.37.0",
34
+ "@bimetal/a11y-dom": "^0.37.0"
32
35
  },
33
36
  "peerDependencies": {
34
37
  "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
@@ -43,7 +46,8 @@
43
46
  "@angular/platform-browser": "^19.2.0",
44
47
  "happy-dom": "^18.0.1",
45
48
  "typescript": "~5.8.3",
46
- "vitest": "^3.2.4"
49
+ "vitest": "^5.0.0",
50
+ "vite": "^8.0.1"
47
51
  },
48
52
  "sideEffects": [
49
53
  "**/*.css"