@bimetal/list-angular-components 0.34.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +57 -129
- package/README.md +1 -1
- package/dist/components/List.d.ts +28 -11
- package/dist/components/List.d.ts.map +1 -1
- package/dist/components/List.js +292 -142
- package/dist/components/List.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css.d.ts +3 -0
- package/package.json +13 -10
package/LICENSE
CHANGED
|
@@ -1,129 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
the
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Personal use for research, experiment, and testing for
|
|
59
|
-
the benefit of public knowledge, personal study, private
|
|
60
|
-
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
-
observance, without any anticipated commercial application,
|
|
62
|
-
is use for a permitted purpose.
|
|
63
|
-
|
|
64
|
-
## Noncommercial Organizations
|
|
65
|
-
|
|
66
|
-
Use by any charitable organization, educational institution,
|
|
67
|
-
public research organization, public safety or health
|
|
68
|
-
organization, environmental protection organization,
|
|
69
|
-
or government institution is use for a permitted purpose
|
|
70
|
-
regardless of the source of funding or obligations resulting
|
|
71
|
-
from the funding.
|
|
72
|
-
|
|
73
|
-
## Fair Use
|
|
74
|
-
|
|
75
|
-
You may have "fair use" rights for the software under the
|
|
76
|
-
law. These terms do not limit them.
|
|
77
|
-
|
|
78
|
-
## No Other Rights
|
|
79
|
-
|
|
80
|
-
These terms do not allow you to sublicense or transfer any of
|
|
81
|
-
your licenses to anyone else, or prevent the licensor from
|
|
82
|
-
granting licenses to anyone else. These terms do not imply
|
|
83
|
-
any other licenses.
|
|
84
|
-
|
|
85
|
-
## Patent Defense
|
|
86
|
-
|
|
87
|
-
If you make any written claim that the software infringes or
|
|
88
|
-
contributes to infringement of any patent, your patent license
|
|
89
|
-
for the software granted under these terms ends immediately. If
|
|
90
|
-
your company makes such a claim, your patent license ends
|
|
91
|
-
immediately for work on behalf of your company.
|
|
92
|
-
|
|
93
|
-
## Violations
|
|
94
|
-
|
|
95
|
-
The first time you are notified in writing that you have
|
|
96
|
-
violated any of these terms, or any agreement made under them,
|
|
97
|
-
you have 32 calendar days to come into compliance. If you come
|
|
98
|
-
into compliance, your licenses revive and continue as if you had
|
|
99
|
-
never violated.
|
|
100
|
-
|
|
101
|
-
## No Liability
|
|
102
|
-
|
|
103
|
-
***As far as the law allows, the software comes as is, without
|
|
104
|
-
any warranty or condition, and the licensor will not be liable
|
|
105
|
-
to you for any damages arising out of these terms or the use
|
|
106
|
-
or nature of the software, under any kind of legal claim.***
|
|
107
|
-
|
|
108
|
-
## Definitions
|
|
109
|
-
|
|
110
|
-
The **licensor** is the individual or entity offering these
|
|
111
|
-
terms, and the **software** is the software the licensor makes
|
|
112
|
-
available under these terms.
|
|
113
|
-
|
|
114
|
-
**You** refers to the individual or entity agreeing to these
|
|
115
|
-
terms.
|
|
116
|
-
|
|
117
|
-
**Your company** is any legal entity, sole proprietorship,
|
|
118
|
-
or other kind of organization that you work for, plus all
|
|
119
|
-
organizations that have control over, are under the control of,
|
|
120
|
-
or are under common control with that organization. **Control**
|
|
121
|
-
means ownership of substantially all the assets of an entity,
|
|
122
|
-
or the power to direct its management and policies by vote,
|
|
123
|
-
contract, or otherwise. Control can be direct or indirect.
|
|
124
|
-
|
|
125
|
-
**Your licenses** are all the licenses granted to you for the
|
|
126
|
-
software under these terms.
|
|
127
|
-
|
|
128
|
-
**Use** means anything you do with the software requiring one
|
|
129
|
-
of your licenses.
|
|
1
|
+
Copyright 2026 Andreas Biederbeck
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
|
|
5
|
+
Version 2.0, January 2004
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/
|
|
8
|
+
|
|
9
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
10
|
+
|
|
11
|
+
1. Definitions.
|
|
12
|
+
|
|
13
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
14
|
+
|
|
15
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
18
|
+
|
|
19
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
20
|
+
|
|
21
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
22
|
+
|
|
23
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
24
|
+
|
|
25
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
26
|
+
|
|
27
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
28
|
+
|
|
29
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
30
|
+
|
|
31
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
32
|
+
|
|
33
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
34
|
+
|
|
35
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
36
|
+
|
|
37
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
38
|
+
|
|
39
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
40
|
+
|
|
41
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
42
|
+
|
|
43
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
44
|
+
|
|
45
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
46
|
+
|
|
47
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
48
|
+
|
|
49
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
50
|
+
|
|
51
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
52
|
+
|
|
53
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
54
|
+
|
|
55
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
56
|
+
|
|
57
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
CHANGED
|
@@ -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
|
|
@@ -25,33 +16,58 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
|
|
|
25
16
|
* present the component renders its snapshot and forwards intents, but NEVER
|
|
26
17
|
* creates/destroys/setConfigs it. `null` tolerated (no template narrowing). */
|
|
27
18
|
controller?: ListController | null;
|
|
19
|
+
/** The domain store backing the list (unused on the BOUND path). */
|
|
28
20
|
store: ListStore;
|
|
21
|
+
/** The list aggregate id to render/control within `store`. */
|
|
29
22
|
listId: string;
|
|
23
|
+
/** Controller configuration (locale, row height, virtualization, …). */
|
|
30
24
|
config?: ListConfigInput;
|
|
25
|
+
/** Renders the dark theme variant. */
|
|
31
26
|
darkMode: boolean;
|
|
27
|
+
/** Text direction for the rendered DOM; omitted → inherits ambient direction. */
|
|
32
28
|
dir?: 'ltr' | 'rtl';
|
|
33
29
|
/** Optional toolbar heading. Omitted → no heading is rendered. */
|
|
34
30
|
title?: string;
|
|
35
31
|
/** Optional small toolbar tagline next to the heading. */
|
|
36
32
|
tag?: string;
|
|
33
|
+
/** Show the undo/redo button pair in the toolbar (default true). UI-only — the
|
|
34
|
+
* controller's undo()/redo() and the keyboard shortcuts stay active when hidden. */
|
|
35
|
+
showUndoRedo: boolean;
|
|
37
36
|
/** Controller error channel: domain rejections surface as the undo toast;
|
|
38
37
|
* any other error (e.g. ConcurrencyError) is passed here instead of rejecting. */
|
|
39
38
|
onError?: (err: unknown) => void;
|
|
40
39
|
/** OBSERVE hook (STANDALONE only): fires when the selected ids change. */
|
|
41
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
|
+
}>;
|
|
42
47
|
private binding?;
|
|
43
48
|
private ctrlRef;
|
|
44
49
|
private snapshotSig;
|
|
45
50
|
private unsub?;
|
|
46
51
|
listRef?: ElementRef<HTMLElement>;
|
|
52
|
+
editOverlayRef?: ElementRef<HTMLElement>;
|
|
53
|
+
private overlayWasMounted;
|
|
47
54
|
private zone;
|
|
48
55
|
private suppressClick;
|
|
49
56
|
private lastNavAnchor;
|
|
57
|
+
private wasEditing;
|
|
58
|
+
private hadListFocus;
|
|
59
|
+
private wasEditingNotify;
|
|
60
|
+
private unsubFocus?;
|
|
50
61
|
get ctrl(): ListController;
|
|
51
62
|
get snapshot(): ListControllerSnapshot;
|
|
52
63
|
get locale(): ListLocale;
|
|
53
64
|
get hasSel(): boolean;
|
|
54
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;
|
|
55
71
|
onKey(e: KeyboardEvent): void;
|
|
56
72
|
private onMove;
|
|
57
73
|
private onUp;
|
|
@@ -72,6 +88,7 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
|
|
|
72
88
|
onAddItem(): void;
|
|
73
89
|
onDeleteSelection(): void;
|
|
74
90
|
onUndo(): void;
|
|
91
|
+
onRedo(): void;
|
|
75
92
|
onDismiss(): void;
|
|
76
93
|
/** Open the in-place editor for the single selected row (toolbar button). */
|
|
77
94
|
startRename(): void;
|
|
@@ -82,6 +99,6 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
|
|
|
82
99
|
/** Select the input's contents on focus — parity with the React `onFocus`. */
|
|
83
100
|
onEditFocus(e: Event): void;
|
|
84
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<List, never>;
|
|
85
|
-
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; }; "onError": { "alias": "onError"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
102
|
+
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>;
|
|
86
103
|
}
|
|
87
104
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.ts"],"names":[],"mappings":"AAAA,OAAO,EACM,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAoB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EACvD,KAAK,WAAW,EAC/E,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;;AAOpD;;;;;;;;GAQG;AACH,qBAuGa,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,EAAE,eAAe,CAAC;IAClC,sCAAsC;IAC7B,QAAQ,UAAS;IAC1B,iFAAiF;IACxE,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC7B,kEAAkE;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,0DAA0D;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB;yFACqF;IAC5E,YAAY,UAAQ;IAC7B;uFACmF;IAC1E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,0EAA0E;IACjE,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;IACtE;;wDAEoD;IAC3C,UAAU,CAAC,EAAE,WAAW,CAAC;Q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,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;yCApUT,IAAI;2CAAJ,IAAI;CAqUhB"}
|
package/dist/components/List.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { Component,
|
|
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,122 +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
|
|
29
|
-
i0.ɵɵ
|
|
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()); });
|
|
34
|
+
i0.ɵɵtext(1, "\u21B6");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
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()); });
|
|
38
|
+
i0.ɵɵtext(3, "\u21B7");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
42
|
+
i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canUndo);
|
|
43
|
+
i0.ɵɵattribute("aria-label", ctx_r1.locale.undo)("title", ctx_r1.locale.undo);
|
|
44
|
+
i0.ɵɵadvance(2);
|
|
45
|
+
i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canRedo);
|
|
46
|
+
i0.ɵɵattribute("aria-label", ctx_r1.locale.redo)("title", ctx_r1.locale.redo);
|
|
47
|
+
} }
|
|
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);
|
|
30
80
|
} if (rf & 2) {
|
|
31
81
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
82
|
i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetTop, "px");
|
|
33
83
|
} }
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
i0.ɵɵelementStart(0, "input", 18, 1);
|
|
37
|
-
i0.ɵɵlistener("input", function List_For_17_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onDraft($event)); })("keydown", function List_For_17_Conditional_3_Template_input_keydown_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onEditKeydown($event)); })("focus", function List_For_17_Conditional_3_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onEditFocus($event)); })("click", function List_For_17_Conditional_3_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); })("pointerdown", function List_For_17_Conditional_3_Template_input_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
38
|
-
i0.ɵɵelementEnd();
|
|
84
|
+
function List_For_11_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
i0.ɵɵelementContainer(0, 20);
|
|
39
86
|
} if (rf & 2) {
|
|
40
|
-
const
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵ
|
|
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));
|
|
43
90
|
} }
|
|
44
|
-
function
|
|
45
|
-
i0.ɵɵelementStart(0, "span",
|
|
91
|
+
function List_For_11_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelementStart(0, "span", 21);
|
|
46
93
|
i0.ɵɵtext(1);
|
|
47
94
|
i0.ɵɵelementEnd();
|
|
48
95
|
} if (rf & 2) {
|
|
49
|
-
const
|
|
96
|
+
const r_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
50
97
|
i0.ɵɵadvance();
|
|
51
|
-
i0.ɵɵtextInterpolate(
|
|
98
|
+
i0.ɵɵtextInterpolate(r_r6.item.icon);
|
|
52
99
|
} }
|
|
53
|
-
function
|
|
54
|
-
i0.ɵɵelementStart(0, "span",
|
|
100
|
+
function List_For_11_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
101
|
+
i0.ɵɵelementStart(0, "span", 24);
|
|
55
102
|
i0.ɵɵtext(1);
|
|
56
103
|
i0.ɵɵelementEnd();
|
|
57
104
|
} if (rf & 2) {
|
|
58
|
-
const
|
|
105
|
+
const r_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
59
106
|
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵtextInterpolate(
|
|
107
|
+
i0.ɵɵtextInterpolate(r_r6.item.description);
|
|
61
108
|
} }
|
|
62
|
-
function
|
|
63
|
-
i0.ɵɵelementStart(0, "span",
|
|
109
|
+
function List_For_11_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
110
|
+
i0.ɵɵelementStart(0, "span", 25);
|
|
64
111
|
i0.ɵɵtext(1);
|
|
65
112
|
i0.ɵɵelementEnd();
|
|
66
113
|
} if (rf & 2) {
|
|
67
|
-
const
|
|
114
|
+
const r_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
68
115
|
i0.ɵɵadvance();
|
|
69
|
-
i0.ɵɵtextInterpolate(
|
|
116
|
+
i0.ɵɵtextInterpolate(r_r6.item.badge);
|
|
70
117
|
} }
|
|
71
|
-
function
|
|
72
|
-
i0.ɵɵtemplate(0,
|
|
73
|
-
i0.ɵɵelementStart(1, "span",
|
|
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);
|
|
74
121
|
i0.ɵɵtext(3);
|
|
75
122
|
i0.ɵɵelementEnd();
|
|
76
|
-
i0.ɵɵtemplate(4,
|
|
123
|
+
i0.ɵɵtemplate(4, List_For_11_Conditional_4_Conditional_4_Template, 2, 1, "span", 24);
|
|
77
124
|
i0.ɵɵelementEnd();
|
|
78
|
-
i0.ɵɵtemplate(5,
|
|
125
|
+
i0.ɵɵtemplate(5, List_For_11_Conditional_4_Conditional_5_Template, 2, 1, "span", 25);
|
|
79
126
|
} if (rf & 2) {
|
|
80
|
-
const
|
|
81
|
-
i0.ɵɵconditional(
|
|
127
|
+
const r_r6 = i0.ɵɵnextContext().$implicit;
|
|
128
|
+
i0.ɵɵconditional(r_r6.item.icon ? 0 : -1);
|
|
82
129
|
i0.ɵɵadvance(3);
|
|
83
|
-
i0.ɵɵtextInterpolate(
|
|
130
|
+
i0.ɵɵtextInterpolate(r_r6.item.label);
|
|
84
131
|
i0.ɵɵadvance();
|
|
85
|
-
i0.ɵɵconditional(
|
|
132
|
+
i0.ɵɵconditional(r_r6.item.description ? 4 : -1);
|
|
86
133
|
i0.ɵɵadvance();
|
|
87
|
-
i0.ɵɵconditional(
|
|
134
|
+
i0.ɵɵconditional(r_r6.item.badge ? 5 : -1);
|
|
88
135
|
} }
|
|
89
|
-
function
|
|
90
|
-
const
|
|
91
|
-
i0.ɵɵelementStart(0, "div",
|
|
92
|
-
i0.ɵɵlistener("pointerdown", function
|
|
93
|
-
i0.ɵɵelementStart(1, "span",
|
|
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);
|
|
94
141
|
i0.ɵɵtext(2, "\u283F");
|
|
95
142
|
i0.ɵɵelementEnd();
|
|
96
|
-
i0.ɵɵtemplate(3,
|
|
143
|
+
i0.ɵɵtemplate(3, List_For_11_Conditional_3_Template, 1, 4, "ng-container", 20)(4, List_For_11_Conditional_4_Template, 6, 4);
|
|
97
144
|
i0.ɵɵelementEnd();
|
|
98
145
|
} if (rf & 2) {
|
|
99
|
-
const
|
|
146
|
+
const r_r6 = ctx.$implicit;
|
|
100
147
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
101
|
-
i0.ɵɵclassMap(ctx_r1.rowClass(
|
|
102
|
-
i0.ɵɵattribute("data-item-id",
|
|
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);
|
|
103
150
|
i0.ɵɵadvance(3);
|
|
104
|
-
i0.ɵɵconditional(
|
|
151
|
+
i0.ɵɵconditional(ctx_r1.renderItem ? 3 : 4);
|
|
105
152
|
} }
|
|
106
|
-
function
|
|
107
|
-
i0.ɵɵelement(0, "div",
|
|
153
|
+
function List_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
154
|
+
i0.ɵɵelement(0, "div", 17);
|
|
108
155
|
} if (rf & 2) {
|
|
109
156
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
110
157
|
i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetBottom, "px");
|
|
111
158
|
} }
|
|
112
|
-
function
|
|
113
|
-
const
|
|
114
|
-
i0.ɵɵelementStart(0, "div",
|
|
159
|
+
function List_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
160
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
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);
|
|
115
173
|
i0.ɵɵtext(2);
|
|
116
174
|
i0.ɵɵelementEnd();
|
|
117
|
-
i0.ɵɵelementStart(3, "button",
|
|
118
|
-
i0.ɵɵlistener("click", function
|
|
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()); });
|
|
119
177
|
i0.ɵɵtext(4, "\u00D7");
|
|
120
178
|
i0.ɵɵelementEnd()();
|
|
121
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");
|
|
122
183
|
i0.ɵɵadvance(2);
|
|
123
|
-
i0.ɵɵtextInterpolate(
|
|
184
|
+
i0.ɵɵtextInterpolate(undo_r9.description);
|
|
124
185
|
} }
|
|
125
|
-
/** Focus (and select) a freshly-mounted in-place rename input — parity with the
|
|
126
|
-
* React `autoFocus` + `onFocus → select()`. The `@if`-rendered input is a fresh
|
|
127
|
-
* element each time editing opens, so this fires once per open. */
|
|
128
|
-
export class ListAutofocusDirective {
|
|
129
|
-
el = inject(ElementRef);
|
|
130
|
-
ngAfterViewInit() {
|
|
131
|
-
queueMicrotask(() => {
|
|
132
|
-
const input = this.el.nativeElement;
|
|
133
|
-
input.focus?.();
|
|
134
|
-
input.select?.();
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
static ɵfac = function ListAutofocusDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ListAutofocusDirective)(); };
|
|
138
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ListAutofocusDirective, selectors: [["", "bmListAutofocus", ""]] });
|
|
139
|
-
}
|
|
140
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListAutofocusDirective, [{
|
|
141
|
-
type: Directive,
|
|
142
|
-
args: [{ selector: '[bmListAutofocus]', standalone: true }]
|
|
143
|
-
}], null, null); })();
|
|
144
186
|
/**
|
|
145
187
|
* The Angular list / catalog — a thin binding over the canonical
|
|
146
188
|
* `@bimetal/list-headless` controller (instance #7 of the shipped component
|
|
@@ -155,20 +197,32 @@ export class List {
|
|
|
155
197
|
* present the component renders its snapshot and forwards intents, but NEVER
|
|
156
198
|
* creates/destroys/setConfigs it. `null` tolerated (no template narrowing). */
|
|
157
199
|
controller;
|
|
200
|
+
/** The domain store backing the list (unused on the BOUND path). */
|
|
158
201
|
store;
|
|
202
|
+
/** The list aggregate id to render/control within `store`. */
|
|
159
203
|
listId;
|
|
204
|
+
/** Controller configuration (locale, row height, virtualization, …). */
|
|
160
205
|
config;
|
|
206
|
+
/** Renders the dark theme variant. */
|
|
161
207
|
darkMode = false;
|
|
208
|
+
/** Text direction for the rendered DOM; omitted → inherits ambient direction. */
|
|
162
209
|
dir;
|
|
163
210
|
/** Optional toolbar heading. Omitted → no heading is rendered. */
|
|
164
211
|
title;
|
|
165
212
|
/** Optional small toolbar tagline next to the heading. */
|
|
166
213
|
tag;
|
|
214
|
+
/** Show the undo/redo button pair in the toolbar (default true). UI-only — the
|
|
215
|
+
* controller's undo()/redo() and the keyboard shortcuts stay active when hidden. */
|
|
216
|
+
showUndoRedo = true;
|
|
167
217
|
/** Controller error channel: domain rejections surface as the undo toast;
|
|
168
218
|
* any other error (e.g. ConcurrencyError) is passed here instead of rejecting. */
|
|
169
219
|
onError;
|
|
170
220
|
/** OBSERVE hook (STANDALONE only): fires when the selected ids change. */
|
|
171
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;
|
|
172
226
|
binding; // STANDALONE only — bound path leaves the owned controller untouched
|
|
173
227
|
ctrlRef;
|
|
174
228
|
snapshotSig;
|
|
@@ -177,6 +231,8 @@ export class List {
|
|
|
177
231
|
// THIS list's own DOM (with two lists on a page the global elementFromPoint /
|
|
178
232
|
// focus query would otherwise reach into the other one).
|
|
179
233
|
listRef;
|
|
234
|
+
editOverlayRef;
|
|
235
|
+
overlayWasMounted = false;
|
|
180
236
|
// Injected via the field API so the binding works under JIT (vitest/esbuild
|
|
181
237
|
// does not emit constructor-parameter decorator metadata). `optional` keeps
|
|
182
238
|
// direct `new List()` instantiation (non-TestBed unit use) working.
|
|
@@ -186,6 +242,20 @@ export class List {
|
|
|
186
242
|
// The last navAnchor focused, so the roving-focus effect fires only when the
|
|
187
243
|
// controller actually MOVED the anchor — not on every re-render.
|
|
188
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;
|
|
189
259
|
get ctrl() { return this.ctrlRef; }
|
|
190
260
|
get snapshot() { return this.snapshotSig(); }
|
|
191
261
|
get locale() { return this.snapshot.config.locale; }
|
|
@@ -193,6 +263,14 @@ export class List {
|
|
|
193
263
|
// The window slice when virtualizing, else the full (filtered) list. The binding
|
|
194
264
|
// never computes the window — it renders `virtual.rows` + the controller's spacers.
|
|
195
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
|
+
}
|
|
196
274
|
// The controller owns the keyboard semantics (arrows, shift-range, Ctrl/Cmd+
|
|
197
275
|
// arrows move, Enter/Delete/Escape/undo). Bound to THIS component's root via
|
|
198
276
|
// `(keydown)` in the template (NOT window), so a keystroke in one list never
|
|
@@ -249,16 +327,36 @@ export class List {
|
|
|
249
327
|
this.snapshotSig = sig;
|
|
250
328
|
}
|
|
251
329
|
else {
|
|
252
|
-
this
|
|
330
|
+
// bimetal-181: der GETTER ist die Aussage — die Pfeilfunktion liest `this` bei
|
|
331
|
+
// jedem Callback-Aufruf erneut, statt den Stand von ngOnInit festzunageln.
|
|
332
|
+
this.binding = createListControllerBinding(() => ({
|
|
253
333
|
store: this.store,
|
|
254
334
|
listId: this.listId,
|
|
255
335
|
config: this.config,
|
|
256
|
-
onError: (err) => this.onError
|
|
336
|
+
onError: (err) => (this.onError ?? reportUnroutedListError)(err),
|
|
257
337
|
onSelectionChange: this.onSelectionChange,
|
|
258
|
-
}, this.zone);
|
|
338
|
+
}), this.zone);
|
|
259
339
|
this.ctrlRef = this.binding.ctrl;
|
|
260
340
|
this.snapshotSig = this.binding.snapshot;
|
|
261
341
|
}
|
|
342
|
+
// Capture focus-within on the editor-close edge at notify time (before CD tears
|
|
343
|
+
// the editor input down). A dedicated subscription so it runs for BOTH the bound
|
|
344
|
+
// and standalone paths.
|
|
345
|
+
// Seed the edge tracker from the CURRENT snapshot: controller-core.subscribe()
|
|
346
|
+
// does NOT invoke the listener on subscribe (only on later markChanged), so a
|
|
347
|
+
// host that hands us a controller with an already-open editor — or a remount
|
|
348
|
+
// while snapshot.editing is non-null — would otherwise start at false and the
|
|
349
|
+
// first commit/cancel notify would skip the pre-teardown capture (roving focus
|
|
350
|
+
// then falls to <body>). Parity with vanilla's live per-render read.
|
|
351
|
+
this.wasEditingNotify = !!this.ctrlRef.getSnapshot().editing;
|
|
352
|
+
this.unsubFocus = this.ctrlRef.subscribe(() => {
|
|
353
|
+
const isEditing = !!this.ctrlRef.getSnapshot().editing;
|
|
354
|
+
if (this.wasEditingNotify && !isEditing) {
|
|
355
|
+
const el = this.listRef?.nativeElement;
|
|
356
|
+
this.hadListFocus = !!el && el.contains(document.activeElement);
|
|
357
|
+
}
|
|
358
|
+
this.wasEditingNotify = isEditing;
|
|
359
|
+
});
|
|
262
360
|
if (typeof window !== 'undefined') {
|
|
263
361
|
window.addEventListener('pointermove', this.onMove);
|
|
264
362
|
window.addEventListener('pointerup', this.onUp);
|
|
@@ -285,15 +383,53 @@ export class List {
|
|
|
285
383
|
// dependency, no injection). Guarded on a stable key so it fires only when the
|
|
286
384
|
// controller moved the anchor — parity with the React focus effect.
|
|
287
385
|
ngAfterViewChecked() {
|
|
386
|
+
// bimetal-133: glue the edit overlay onto its row — offset* is the scroll
|
|
387
|
+
// container's CONTENT coordinate space, so the overlay scrolls with the row
|
|
388
|
+
// and needs no scroll listener. Focus on the overlay's MOUNT edge only (a CD
|
|
389
|
+
// pass must not steal focus back from the search box), AFTER positioning.
|
|
390
|
+
const overlay = this.editOverlayRef?.nativeElement ?? null;
|
|
391
|
+
const editingId = this.snapshot.editing?.itemId;
|
|
392
|
+
const host = this.listRef?.nativeElement;
|
|
393
|
+
if (overlay && host && editingId) {
|
|
394
|
+
const row = Array.from(host.querySelectorAll('.bm-list__row')).find(r => r.dataset['itemId'] === editingId);
|
|
395
|
+
if (row) {
|
|
396
|
+
overlay.style.top = `${row.offsetTop}px`;
|
|
397
|
+
// offsetLeft is PHYSICAL — pair it with the physical property (direction
|
|
398
|
+
// discipline: geometry is physical, semantics are logical).
|
|
399
|
+
overlay.style.left = `${row.offsetLeft}px`;
|
|
400
|
+
overlay.style.width = `${row.offsetWidth}px`;
|
|
401
|
+
overlay.style.height = `${row.offsetHeight}px`;
|
|
402
|
+
}
|
|
403
|
+
// bimetal-137: a mount edge caused by the FILTER re-admitting the edited
|
|
404
|
+
// row (user typing in the search box) must not steal focus.
|
|
405
|
+
const searchActive = document.activeElement?.classList.contains('bm-list__search') === true;
|
|
406
|
+
if (!this.overlayWasMounted && !searchActive)
|
|
407
|
+
overlay.querySelector('input')?.focus();
|
|
408
|
+
}
|
|
409
|
+
this.overlayWasMounted = !!overlay;
|
|
288
410
|
const anchor = this.snapshot.navAnchor;
|
|
289
|
-
|
|
290
|
-
|
|
411
|
+
const editing = !!this.snapshot.editing;
|
|
412
|
+
// Commit/cancel edge: when the editor closes, the focused <input> has already
|
|
413
|
+
// unmounted and DOM focus fell to <body>. On this edge navAnchor is unchanged,
|
|
414
|
+
// so the anchor-moved guard would bail; and the live activeElement guard would
|
|
415
|
+
// bail too. Re-focus navAnchor on the editing non-null→null edge — but ONLY when
|
|
416
|
+
// focus was in this list right before the teardown (hadListFocus, captured at
|
|
417
|
+
// notify time). An Enter/Escape commit had focus on the editor input → restore;
|
|
418
|
+
// a host/external close while focus sits elsewhere → hadListFocus is false, so we
|
|
419
|
+
// fall through to the live guard and never steal. Parity with vanilla.
|
|
420
|
+
const editClosed = this.wasEditing && !editing;
|
|
421
|
+
this.wasEditing = editing;
|
|
422
|
+
const anchorMoved = anchor !== this.lastNavAnchor;
|
|
291
423
|
this.lastNavAnchor = anchor;
|
|
424
|
+
if (!anchorMoved && !editClosed)
|
|
425
|
+
return; // fire only when the anchor moved or the editor just closed
|
|
292
426
|
// An open inline editor owns DOM focus — don't steal it back to the roving row.
|
|
293
|
-
if (
|
|
427
|
+
if (editing)
|
|
294
428
|
return;
|
|
295
429
|
const el = this.listRef?.nativeElement;
|
|
296
|
-
if (!anchor || !el
|
|
430
|
+
if (!anchor || !el)
|
|
431
|
+
return;
|
|
432
|
+
if (!(editClosed && this.hadListFocus) && !el.contains(document.activeElement))
|
|
297
433
|
return;
|
|
298
434
|
const target = Array.from(el.querySelectorAll('.bm-list__row')).find(r => r.dataset['itemId'] === anchor);
|
|
299
435
|
target?.focus();
|
|
@@ -314,6 +450,7 @@ export class List {
|
|
|
314
450
|
this.listRef?.nativeElement.removeEventListener('scroll', this.report);
|
|
315
451
|
this.resizeObserver?.disconnect();
|
|
316
452
|
this.unsub?.();
|
|
453
|
+
this.unsubFocus?.();
|
|
317
454
|
this.binding?.destroy(); // undefined on the bound path → the owned controller is left intact
|
|
318
455
|
}
|
|
319
456
|
// ── Derived view helpers (Angular templates forbid arrow functions) ──
|
|
@@ -353,6 +490,7 @@ export class List {
|
|
|
353
490
|
onAddItem() { this.ctrl.voidAddItem(); }
|
|
354
491
|
onDeleteSelection() { this.ctrl.voidDeleteSelection(); }
|
|
355
492
|
onUndo() { this.ctrl.voidUndo(); }
|
|
493
|
+
onRedo() { this.ctrl.voidRedo(); }
|
|
356
494
|
onDismiss() { this.ctrl.dismissUndo(); }
|
|
357
495
|
/** Open the in-place editor for the single selected row (toolbar button). */
|
|
358
496
|
startRename() {
|
|
@@ -372,45 +510,33 @@ export class List {
|
|
|
372
510
|
static ɵfac = function List_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || List)(); };
|
|
373
511
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: List, selectors: [["bm-list"]], viewQuery: function List_Query(rf, ctx) { if (rf & 1) {
|
|
374
512
|
i0.ɵɵviewQuery(_c0, 5);
|
|
513
|
+
i0.ɵɵviewQuery(_c1, 5);
|
|
375
514
|
} if (rf & 2) {
|
|
376
515
|
let _t;
|
|
377
516
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listRef = _t.first);
|
|
378
|
-
|
|
517
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editOverlayRef = _t.first);
|
|
518
|
+
} }, 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"], [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) {
|
|
379
519
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
380
520
|
i0.ɵɵelementStart(0, "div", 2);
|
|
381
521
|
i0.ɵɵlistener("keydown", function List_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKey($event)); });
|
|
382
522
|
i0.ɵɵelementStart(1, "div", 3);
|
|
383
|
-
i0.ɵɵtemplate(2, List_Conditional_2_Template, 2, 1, "h1", 4)(3, List_Conditional_3_Template, 2, 1, "span", 5);
|
|
384
|
-
i0.ɵɵelementStart(
|
|
385
|
-
i0.ɵɵlistener("
|
|
386
|
-
i0.ɵɵtext(5);
|
|
387
|
-
i0.ɵɵelementEnd();
|
|
388
|
-
i0.ɵɵelementStart(6, "button", 7);
|
|
389
|
-
i0.ɵɵlistener("click", function List_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.startRename()); });
|
|
390
|
-
i0.ɵɵtext(7);
|
|
391
|
-
i0.ɵɵelementEnd();
|
|
392
|
-
i0.ɵɵelementStart(8, "button", 7);
|
|
393
|
-
i0.ɵɵlistener("click", function List_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onDeleteSelection()); });
|
|
394
|
-
i0.ɵɵtext(9);
|
|
395
|
-
i0.ɵɵelementEnd();
|
|
396
|
-
i0.ɵɵelementStart(10, "button", 8);
|
|
397
|
-
i0.ɵɵlistener("click", function List_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onUndo()); });
|
|
398
|
-
i0.ɵɵtext(11);
|
|
399
|
-
i0.ɵɵelementEnd();
|
|
400
|
-
i0.ɵɵelementStart(12, "input", 9);
|
|
401
|
-
i0.ɵɵlistener("input", function List_Template_input_input_12_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); });
|
|
523
|
+
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);
|
|
524
|
+
i0.ɵɵelementStart(5, "input", 6);
|
|
525
|
+
i0.ɵɵlistener("input", function List_Template_input_input_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); });
|
|
402
526
|
i0.ɵɵelementEnd()();
|
|
403
|
-
i0.ɵɵelementStart(
|
|
404
|
-
i0.ɵɵtemplate(
|
|
405
|
-
i0.ɵɵrepeaterCreate(
|
|
406
|
-
i0.ɵɵtemplate(
|
|
527
|
+
i0.ɵɵelementStart(6, "div", 7, 0)(8, "div", 8);
|
|
528
|
+
i0.ɵɵtemplate(9, List_Conditional_9_Template, 1, 2, "div", 9);
|
|
529
|
+
i0.ɵɵrepeaterCreate(10, List_For_11_Template, 5, 7, "div", 10, _forTrack0);
|
|
530
|
+
i0.ɵɵtemplate(12, List_Conditional_12_Template, 1, 2, "div", 9);
|
|
407
531
|
i0.ɵɵelementEnd();
|
|
408
|
-
i0.ɵɵtemplate(
|
|
532
|
+
i0.ɵɵtemplate(13, List_Conditional_13_Template, 3, 2, "div", 11);
|
|
533
|
+
i0.ɵɵelementEnd();
|
|
534
|
+
i0.ɵɵtemplate(14, List_Conditional_14_Template, 5, 4, "div", 12);
|
|
409
535
|
i0.ɵɵelementEnd();
|
|
410
536
|
} if (rf & 2) {
|
|
411
537
|
let tmp_4_0;
|
|
538
|
+
let tmp_11_0;
|
|
412
539
|
let tmp_16_0;
|
|
413
|
-
let tmp_20_0;
|
|
414
540
|
i0.ɵɵclassProp("bm-list--virtual", !!ctx.snapshot.virtual);
|
|
415
541
|
i0.ɵɵproperty("ngStyle", ctx.cssVars());
|
|
416
542
|
i0.ɵɵattribute("data-theme", ctx.darkMode ? "dark" : null)("dir", (tmp_4_0 = ctx.dir) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
|
|
@@ -418,39 +544,31 @@ export class List {
|
|
|
418
544
|
i0.ɵɵconditional(ctx.title ? 2 : -1);
|
|
419
545
|
i0.ɵɵadvance();
|
|
420
546
|
i0.ɵɵconditional(ctx.tag ? 3 : -1);
|
|
421
|
-
i0.ɵɵadvance(2);
|
|
422
|
-
i0.ɵɵtextInterpolate1("+ ", ctx.locale.addItem, "");
|
|
423
547
|
i0.ɵɵadvance();
|
|
424
|
-
i0.ɵɵ
|
|
425
|
-
i0.ɵɵadvance();
|
|
426
|
-
i0.ɵɵtextInterpolate(ctx.locale.rename);
|
|
427
|
-
i0.ɵɵadvance();
|
|
428
|
-
i0.ɵɵproperty("disabled", !ctx.hasSel);
|
|
429
|
-
i0.ɵɵadvance();
|
|
430
|
-
i0.ɵɵtextInterpolate2("", ctx.locale.delete, "", ctx.hasSel ? " (" + ctx.snapshot.selectedIds.length + ")" : "", "");
|
|
431
|
-
i0.ɵɵadvance(2);
|
|
432
|
-
i0.ɵɵtextInterpolate1("\u21B6 ", ctx.locale.undo, "");
|
|
548
|
+
i0.ɵɵconditional(!ctx.snapshot.config.readOnly ? 4 : -1);
|
|
433
549
|
i0.ɵɵadvance();
|
|
434
550
|
i0.ɵɵproperty("value", ctx.snapshot.filterQuery);
|
|
435
551
|
i0.ɵɵattribute("placeholder", ctx.locale.searchPlaceholder)("aria-label", ctx.locale.searchPlaceholder);
|
|
552
|
+
i0.ɵɵadvance(3);
|
|
553
|
+
i0.ɵɵattribute("aria-label", (tmp_11_0 = ctx.title) !== null && tmp_11_0 !== undefined ? tmp_11_0 : ctx.locale.label);
|
|
436
554
|
i0.ɵɵadvance();
|
|
437
|
-
i0.ɵɵ
|
|
438
|
-
i0.ɵɵadvance(2);
|
|
439
|
-
i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 15 : -1);
|
|
555
|
+
i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 9 : -1);
|
|
440
556
|
i0.ɵɵadvance();
|
|
441
557
|
i0.ɵɵrepeater(ctx.renderedRows);
|
|
442
558
|
i0.ɵɵadvance(2);
|
|
443
|
-
i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ?
|
|
559
|
+
i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ? 12 : -1);
|
|
560
|
+
i0.ɵɵadvance();
|
|
561
|
+
i0.ɵɵconditional(ctx.snapshot.editing && ctx.editRowRendered ? 13 : -1);
|
|
444
562
|
i0.ɵɵadvance();
|
|
445
|
-
i0.ɵɵconditional((
|
|
446
|
-
} }, dependencies: [CommonModule, i1.
|
|
563
|
+
i0.ɵɵconditional((tmp_16_0 = ctx.snapshot.lastAction) ? 14 : -1, tmp_16_0);
|
|
564
|
+
} }, dependencies: [CommonModule, i1.NgTemplateOutlet, i1.NgStyle], encapsulation: 2, changeDetection: 0 });
|
|
447
565
|
}
|
|
448
566
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(List, [{
|
|
449
567
|
type: Component,
|
|
450
568
|
args: [{
|
|
451
569
|
selector: 'bm-list',
|
|
452
570
|
standalone: true,
|
|
453
|
-
imports: [CommonModule
|
|
571
|
+
imports: [CommonModule],
|
|
454
572
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
455
573
|
template: `
|
|
456
574
|
<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)">
|
|
@@ -461,14 +579,28 @@ export class List {
|
|
|
461
579
|
@if (tag) {
|
|
462
580
|
<span class="bm-list__tag">{{ tag }}</span>
|
|
463
581
|
}
|
|
582
|
+
<!-- mcp-64: Mutations-Affordanzen fallen im View-Only-Modus (kein toter Knopf). -->
|
|
583
|
+
@if (!snapshot.config.readOnly) {
|
|
464
584
|
<button class="bm-list__btn bm-list__btn--primary" type="button" (click)="onAddItem()">+ {{ locale.addItem }}</button>
|
|
465
585
|
<button class="bm-list__btn" type="button" [disabled]="snapshot.selectedIds.length !== 1" (click)="startRename()">{{ locale.rename }}</button>
|
|
466
586
|
<button class="bm-list__btn" type="button" [disabled]="!hasSel" (click)="onDeleteSelection()">{{ locale.delete }}{{ hasSel ? ' (' + snapshot.selectedIds.length + ')' : '' }}</button>
|
|
467
|
-
|
|
587
|
+
@if (showUndoRedo) {
|
|
588
|
+
<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>
|
|
589
|
+
<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>
|
|
590
|
+
}
|
|
591
|
+
}
|
|
468
592
|
<input class="bm-list__search" type="search" [value]="snapshot.filterQuery" [attr.placeholder]="locale.searchPlaceholder" [attr.aria-label]="locale.searchPlaceholder" (input)="onFilter($event)" />
|
|
469
593
|
</div>
|
|
470
594
|
|
|
471
|
-
|
|
595
|
+
<!-- bimetal-133: scroll container and ARIA listbox are two elements. \`option\`
|
|
596
|
+
forbids focusable descendants (nested-interactive, serious), and every
|
|
597
|
+
role-swap on the row merely trades that for aria-required-children
|
|
598
|
+
(critical) — measured with axe. The in-place editor is therefore a
|
|
599
|
+
sibling OF THE OPTIONS LIST, absolutely positioned over the edited row,
|
|
600
|
+
inside the scroll container, so it scrolls with the content by
|
|
601
|
+
construction. -->
|
|
602
|
+
<div class="bm-list__listbox" #listbox>
|
|
603
|
+
<div class="bm-list__options" role="listbox" aria-multiselectable="true" [attr.aria-label]="title ?? locale.label">
|
|
472
604
|
<!-- Virtual spacers: the controller's px offsets — the binding applies them, no math. -->
|
|
473
605
|
@if (snapshot.virtual && snapshot.virtual.offsetTop > 0) {
|
|
474
606
|
<div class="bm-list__spacer" aria-hidden="true" [style.height.px]="snapshot.virtual.offsetTop"></div>
|
|
@@ -485,22 +617,8 @@ export class List {
|
|
|
485
617
|
(click)="onRowClick($event, r.item.id)"
|
|
486
618
|
(dblclick)="ctrl.startEdit(r.item.id)">
|
|
487
619
|
<span class="bm-list__handle" aria-hidden="true">⠿</span>
|
|
488
|
-
@if (
|
|
489
|
-
|
|
490
|
-
re-render). No blur-commit — Enter commits, Escape cancels (handled by
|
|
491
|
-
the root keydown). stopPropagation keeps input clicks from re-selecting
|
|
492
|
-
/ arming a drag on the row. -->
|
|
493
|
-
<input
|
|
494
|
-
bmListAutofocus
|
|
495
|
-
#editInput
|
|
496
|
-
class="bm-list__edit"
|
|
497
|
-
[value]="snapshot.editing!.draft"
|
|
498
|
-
[attr.placeholder]="locale.titlePlaceholder"
|
|
499
|
-
(input)="onDraft($event)"
|
|
500
|
-
(keydown)="onEditKeydown($event)"
|
|
501
|
-
(focus)="onEditFocus($event)"
|
|
502
|
-
(click)="$event.stopPropagation()"
|
|
503
|
-
(pointerdown)="$event.stopPropagation()" />
|
|
620
|
+
@if (renderItem) {
|
|
621
|
+
<ng-container [ngTemplateOutlet]="renderItem" [ngTemplateOutletContext]="{ $implicit: r }"></ng-container>
|
|
504
622
|
} @else {
|
|
505
623
|
@if (r.item.icon) { <span class="bm-list__icon" aria-hidden="true">{{ r.item.icon }}</span> }
|
|
506
624
|
<span class="bm-list__text">
|
|
@@ -514,10 +632,35 @@ export class List {
|
|
|
514
632
|
@if (snapshot.virtual && snapshot.virtual.offsetBottom > 0) {
|
|
515
633
|
<div class="bm-list__spacer" aria-hidden="true" [style.height.px]="snapshot.virtual.offsetBottom"></div>
|
|
516
634
|
}
|
|
635
|
+
</div>
|
|
636
|
+
|
|
637
|
+
@if (snapshot.editing && editRowRendered) {
|
|
638
|
+
<!-- In-place editor as an OVERLAY: controlled by snapshot.editing.draft (so
|
|
639
|
+
it survives re-render). Rendered only while its row is in the rendered
|
|
640
|
+
set — the "open editor survives a scroll-out" semantics are unchanged.
|
|
641
|
+
No blur-commit — Enter commits, Escape cancels (root keydown).
|
|
642
|
+
stopPropagation keeps input clicks from re-selecting / arming a drag
|
|
643
|
+
on the row below. Positioning + mount-edge focus live in
|
|
644
|
+
ngAfterViewChecked — NOT bmListAutofocus: focus must come AFTER
|
|
645
|
+
positioning (an unpositioned overlay sits at the bottom of the scroll
|
|
646
|
+
content; focusing there scrolls a virtualized list to its end and the
|
|
647
|
+
editor unmounts itself — measured in the react port of this fix). -->
|
|
648
|
+
<div class="bm-list__edit-overlay" #editOverlay>
|
|
649
|
+
<input
|
|
650
|
+
class="bm-list__edit"
|
|
651
|
+
[value]="snapshot.editing!.draft"
|
|
652
|
+
[attr.placeholder]="locale.titlePlaceholder"
|
|
653
|
+
(input)="onDraft($event)"
|
|
654
|
+
(keydown)="onEditKeydown($event)"
|
|
655
|
+
(focus)="onEditFocus($event)"
|
|
656
|
+
(click)="$event.stopPropagation()"
|
|
657
|
+
(pointerdown)="$event.stopPropagation()" />
|
|
658
|
+
</div>
|
|
659
|
+
}
|
|
517
660
|
</div>
|
|
518
661
|
|
|
519
662
|
@if (snapshot.lastAction; as undo) {
|
|
520
|
-
<div class="bm-list__toast" role="status">
|
|
663
|
+
<div [class]="'bm-list__toast' + (undo.kind === 'error' ? ' bm-list__toast--error' : '')" [attr.role]="undo.kind === 'error' ? 'alert' : 'status'">
|
|
521
664
|
<span class="bm-list__toast-msg">{{ undo.description }}</span>
|
|
522
665
|
<button class="bm-list__toast-dismiss" type="button" (click)="onDismiss()">×</button>
|
|
523
666
|
</div>
|
|
@@ -543,13 +686,20 @@ export class List {
|
|
|
543
686
|
type: Input
|
|
544
687
|
}], tag: [{
|
|
545
688
|
type: Input
|
|
689
|
+
}], showUndoRedo: [{
|
|
690
|
+
type: Input
|
|
546
691
|
}], onError: [{
|
|
547
692
|
type: Input
|
|
548
693
|
}], onSelectionChange: [{
|
|
549
694
|
type: Input
|
|
695
|
+
}], renderItem: [{
|
|
696
|
+
type: Input
|
|
550
697
|
}], listRef: [{
|
|
551
698
|
type: ViewChild,
|
|
552
699
|
args: ['listbox']
|
|
700
|
+
}], editOverlayRef: [{
|
|
701
|
+
type: ViewChild,
|
|
702
|
+
args: ['editOverlay']
|
|
553
703
|
}] }); })();
|
|
554
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber:
|
|
704
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber: 129 }); })();
|
|
555
705
|
//# 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,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAKrD,OAAO,EACL,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;;;;;;IAoC3C,6BA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eAAyC;;YAEjH,cAEC;YAFD,qFAEC;YACD,cAuBC;YAvBD,+BAuBC;YACD,eAEC;YAFD,yFAEC;YAGF,cAsBC;YAtBD,uEAsBC;YAGF,cAKC;YALD,0EAKC;4BAhGK,YAAY;;iFAoGX,IAAI;cAvGhB,SAAS;eAAC;gBACT,QAAQ,EAAE,SAAS;gBACnB,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGT;aACF;gBAKU,UAAU;kBAAlB,KAAK;YAEqB,KAAK;kBAA/B,KAAK;mBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;YAEE,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"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,mEAAmE;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE5C,mEAAmE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,mEAAmE;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE5C,mEAAmE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimetal/list-angular-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.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":
|
|
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.
|
|
28
|
-
"@bimetal/list-data": "^0.
|
|
29
|
-
"@bimetal/list-headless": "^0.
|
|
30
|
-
"@bimetal/list-themes": "^0.
|
|
31
|
-
"@bimetal/a11y-dom": "^0.
|
|
30
|
+
"@bimetal/angular": "^0.36.0",
|
|
31
|
+
"@bimetal/list-data": "^0.36.0",
|
|
32
|
+
"@bimetal/list-headless": "^0.36.0",
|
|
33
|
+
"@bimetal/list-themes": "^0.36.0",
|
|
34
|
+
"@bimetal/a11y-dom": "^0.36.0"
|
|
32
35
|
},
|
|
33
36
|
"peerDependencies": {
|
|
34
37
|
"@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
"sideEffects": [
|
|
49
52
|
"**/*.css"
|
|
50
53
|
],
|
|
51
|
-
"license": "
|
|
54
|
+
"license": "Apache-2.0",
|
|
52
55
|
"author": "Andreas Biederbeck",
|
|
53
56
|
"repository": {
|
|
54
57
|
"type": "git",
|