@bimetal/list-angular-components 0.32.0 → 0.35.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 CHANGED
@@ -1,129 +1,57 @@
1
- # PolyForm Noncommercial License 1.0.0
2
-
3
- <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
-
5
- ## Acceptance
6
-
7
- In order to get any license under these terms, you must agree
8
- to them as both strict obligations and conditions to all
9
- your licenses.
10
-
11
- ## Copyright License
12
-
13
- The licensor grants you a copyright license for the
14
- software to do everything you might do with the software
15
- that would otherwise infringe the licensor's copyright
16
- in it for any permitted purpose. However, you may
17
- only distribute the software according to [Distribution
18
- License](#distribution-license) and make changes or new works
19
- based on the software according to [Changes and New Works
20
- License](#changes-and-new-works-license).
21
-
22
- ## Distribution License
23
-
24
- The licensor grants you an additional copyright license
25
- to distribute copies of the software. Your license
26
- to distribute covers distributing the software with
27
- changes and new works permitted by [Changes and New Works
28
- License](#changes-and-new-works-license).
29
-
30
- ## Notices
31
-
32
- You must ensure that anyone who gets a copy of any part of
33
- the software from you also gets a copy of these terms or the
34
- URL for them above, as well as copies of any plain-text lines
35
- beginning with `Required Notice:` that the licensor provided
36
- with the software. For example:
37
-
38
- > Required Notice: Copyright Andreas Biederbeck (https://bimetal.dev)
39
-
40
- ## Changes and New Works License
41
-
42
- The licensor grants you an additional copyright license to
43
- make changes and new works based on the software for any
44
- permitted purpose.
45
-
46
- ## Patent License
47
-
48
- The licensor grants you a patent license for the software that
49
- covers patent claims the licensor can license, or becomes able
50
- to license, that you would infringe by using the software.
51
-
52
- ## Noncommercial Purposes
53
-
54
- Any noncommercial purpose is a permitted purpose.
55
-
56
- ## Personal Uses
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
@@ -48,4 +48,4 @@ export class CatalogPage {
48
48
 
49
49
  ## License
50
50
 
51
- PolyForm-Noncommercial-1.0.0 — see [LICENSE](./LICENSE).
51
+ Apache-2.0 — see [LICENSE](./LICENSE).
@@ -25,15 +25,23 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
25
25
  * present the component renders its snapshot and forwards intents, but NEVER
26
26
  * creates/destroys/setConfigs it. `null` tolerated (no template narrowing). */
27
27
  controller?: ListController | null;
28
+ /** The domain store backing the list (unused on the BOUND path). */
28
29
  store: ListStore;
30
+ /** The list aggregate id to render/control within `store`. */
29
31
  listId: string;
32
+ /** Controller configuration (locale, row height, virtualization, …). */
30
33
  config?: ListConfigInput;
34
+ /** Renders the dark theme variant. */
31
35
  darkMode: boolean;
36
+ /** Text direction for the rendered DOM; omitted → inherits ambient direction. */
32
37
  dir?: 'ltr' | 'rtl';
33
38
  /** Optional toolbar heading. Omitted → no heading is rendered. */
34
39
  title?: string;
35
40
  /** Optional small toolbar tagline next to the heading. */
36
41
  tag?: string;
42
+ /** Show the undo/redo button pair in the toolbar (default true). UI-only — the
43
+ * controller's undo()/redo() and the keyboard shortcuts stay active when hidden. */
44
+ showUndoRedo: boolean;
37
45
  /** Controller error channel: domain rejections surface as the undo toast;
38
46
  * any other error (e.g. ConcurrencyError) is passed here instead of rejecting. */
39
47
  onError?: (err: unknown) => void;
@@ -72,6 +80,7 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
72
80
  onAddItem(): void;
73
81
  onDeleteSelection(): void;
74
82
  onUndo(): void;
83
+ onRedo(): void;
75
84
  onDismiss(): void;
76
85
  /** Open the in-place editor for the single selected row (toolbar button). */
77
86
  startRename(): void;
@@ -82,6 +91,6 @@ export declare class List implements OnInit, AfterViewInit, AfterViewChecked, On
82
91
  /** Select the input's contents on focus — parity with the React `onFocus`. */
83
92
  onEditFocus(e: Event): void;
84
93
  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>;
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>;
86
95
  }
87
96
  //# 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,qBA8Ea,IAAK,YAAW,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS;IACxF;;oFAEgF;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AMlF,OAAO,CAAC,MAAM,CAGZ;IACF,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC,QAAQ;IAgCR,eAAe;IAgBf,kBAAkB;IAYlB,WAAW,CAAC,OAAO,EAAE,aAAa;IAOlC,WAAW;IAcX,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;yCA3OT,IAAI;2CAAJ,IAAI;CA4OhB"}
@@ -25,97 +25,115 @@ function List_Conditional_3_Template(rf, ctx) { if (rf & 1) {
25
25
  i0.ɵɵadvance();
26
26
  i0.ɵɵtextInterpolate(ctx_r1.tag);
27
27
  } }
28
- function List_Conditional_15_Template(rf, ctx) { if (rf & 1) {
29
- i0.ɵɵelement(0, "div", 14);
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()); });
32
+ i0.ɵɵtext(1, "\u21B6");
33
+ 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.ɵɵtext(3, "\u21B7");
37
+ i0.ɵɵelementEnd();
38
+ } if (rf & 2) {
39
+ const ctx_r1 = i0.ɵɵnextContext();
40
+ i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canUndo);
41
+ i0.ɵɵattribute("aria-label", ctx_r1.locale.undo)("title", ctx_r1.locale.undo);
42
+ i0.ɵɵadvance(2);
43
+ i0.ɵɵproperty("disabled", !ctx_r1.snapshot.canRedo);
44
+ i0.ɵɵattribute("aria-label", ctx_r1.locale.redo)("title", ctx_r1.locale.redo);
45
+ } }
46
+ function List_Conditional_14_Template(rf, ctx) { if (rf & 1) {
47
+ i0.ɵɵelement(0, "div", 15);
30
48
  } if (rf & 2) {
31
49
  const ctx_r1 = i0.ɵɵnextContext();
32
50
  i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetTop, "px");
33
51
  } }
34
- function List_For_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
35
- const _r5 = i0.ɵɵgetCurrentView();
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()); });
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()); });
38
56
  i0.ɵɵelementEnd();
39
57
  } if (rf & 2) {
40
58
  const ctx_r1 = i0.ɵɵnextContext(2);
41
59
  i0.ɵɵproperty("value", ctx_r1.snapshot.editing.draft);
42
60
  i0.ɵɵattribute("placeholder", ctx_r1.locale.titlePlaceholder);
43
61
  } }
44
- function List_For_17_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
45
- i0.ɵɵelementStart(0, "span", 19);
62
+ function List_For_16_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
63
+ i0.ɵɵelementStart(0, "span", 20);
46
64
  i0.ɵɵtext(1);
47
65
  i0.ɵɵelementEnd();
48
66
  } if (rf & 2) {
49
- const r_r4 = i0.ɵɵnextContext(2).$implicit;
67
+ const r_r5 = i0.ɵɵnextContext(2).$implicit;
50
68
  i0.ɵɵadvance();
51
- i0.ɵɵtextInterpolate(r_r4.item.icon);
69
+ i0.ɵɵtextInterpolate(r_r5.item.icon);
52
70
  } }
53
- function List_For_17_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
54
- i0.ɵɵelementStart(0, "span", 22);
71
+ function List_For_16_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
72
+ i0.ɵɵelementStart(0, "span", 23);
55
73
  i0.ɵɵtext(1);
56
74
  i0.ɵɵelementEnd();
57
75
  } if (rf & 2) {
58
- const r_r4 = i0.ɵɵnextContext(2).$implicit;
76
+ const r_r5 = i0.ɵɵnextContext(2).$implicit;
59
77
  i0.ɵɵadvance();
60
- i0.ɵɵtextInterpolate(r_r4.item.description);
78
+ i0.ɵɵtextInterpolate(r_r5.item.description);
61
79
  } }
62
- function List_For_17_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
63
- i0.ɵɵelementStart(0, "span", 23);
80
+ function List_For_16_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
81
+ i0.ɵɵelementStart(0, "span", 24);
64
82
  i0.ɵɵtext(1);
65
83
  i0.ɵɵelementEnd();
66
84
  } if (rf & 2) {
67
- const r_r4 = i0.ɵɵnextContext(2).$implicit;
85
+ const r_r5 = i0.ɵɵnextContext(2).$implicit;
68
86
  i0.ɵɵadvance();
69
- i0.ɵɵtextInterpolate(r_r4.item.badge);
87
+ i0.ɵɵtextInterpolate(r_r5.item.badge);
70
88
  } }
71
- function List_For_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
72
- i0.ɵɵtemplate(0, List_For_17_Conditional_4_Conditional_0_Template, 2, 1, "span", 19);
73
- i0.ɵɵelementStart(1, "span", 20)(2, "span", 21);
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);
74
92
  i0.ɵɵtext(3);
75
93
  i0.ɵɵelementEnd();
76
- i0.ɵɵtemplate(4, List_For_17_Conditional_4_Conditional_4_Template, 2, 1, "span", 22);
94
+ i0.ɵɵtemplate(4, List_For_16_Conditional_4_Conditional_4_Template, 2, 1, "span", 23);
77
95
  i0.ɵɵelementEnd();
78
- i0.ɵɵtemplate(5, List_For_17_Conditional_4_Conditional_5_Template, 2, 1, "span", 23);
96
+ i0.ɵɵtemplate(5, List_For_16_Conditional_4_Conditional_5_Template, 2, 1, "span", 24);
79
97
  } if (rf & 2) {
80
- const r_r4 = i0.ɵɵnextContext().$implicit;
81
- i0.ɵɵconditional(r_r4.item.icon ? 0 : -1);
98
+ const r_r5 = i0.ɵɵnextContext().$implicit;
99
+ i0.ɵɵconditional(r_r5.item.icon ? 0 : -1);
82
100
  i0.ɵɵadvance(3);
83
- i0.ɵɵtextInterpolate(r_r4.item.label);
101
+ i0.ɵɵtextInterpolate(r_r5.item.label);
84
102
  i0.ɵɵadvance();
85
- i0.ɵɵconditional(r_r4.item.description ? 4 : -1);
103
+ i0.ɵɵconditional(r_r5.item.description ? 4 : -1);
86
104
  i0.ɵɵadvance();
87
- i0.ɵɵconditional(r_r4.item.badge ? 5 : -1);
105
+ i0.ɵɵconditional(r_r5.item.badge ? 5 : -1);
88
106
  } }
89
- function List_For_17_Template(rf, ctx) { if (rf & 1) {
90
- const _r3 = i0.ɵɵgetCurrentView();
91
- i0.ɵɵelementStart(0, "div", 15);
92
- i0.ɵɵlistener("pointerdown", function List_For_17_Template_div_pointerdown_0_listener($event) { const r_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowPointerDown($event, r_r4.item.id)); })("click", function List_For_17_Template_div_click_0_listener($event) { const r_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRowClick($event, r_r4.item.id)); })("dblclick", function List_For_17_Template_div_dblclick_0_listener() { const r_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ctrl.startEdit(r_r4.item.id)); });
93
- i0.ɵɵelementStart(1, "span", 16);
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);
94
112
  i0.ɵɵtext(2, "\u283F");
95
113
  i0.ɵɵelementEnd();
96
- i0.ɵɵtemplate(3, List_For_17_Conditional_3_Template, 2, 2, "input", 17)(4, List_For_17_Conditional_4_Template, 6, 4);
114
+ i0.ɵɵtemplate(3, List_For_16_Conditional_3_Template, 2, 2, "input", 18)(4, List_For_16_Conditional_4_Template, 6, 4);
97
115
  i0.ɵɵelementEnd();
98
116
  } if (rf & 2) {
99
- const r_r4 = ctx.$implicit;
117
+ const r_r5 = ctx.$implicit;
100
118
  const ctx_r1 = i0.ɵɵnextContext();
101
- i0.ɵɵclassMap(ctx_r1.rowClass(r_r4));
102
- i0.ɵɵattribute("data-item-id", r_r4.item.id)("aria-selected", r_r4.selected)("aria-disabled", r_r4.item.disabled ? "true" : null)("tabindex", r_r4.item.id === ctx_r1.snapshot.navAnchor ? 0 : -1);
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);
103
121
  i0.ɵɵadvance(3);
104
- i0.ɵɵconditional((ctx_r1.snapshot.editing == null ? null : ctx_r1.snapshot.editing.itemId) === r_r4.item.id ? 3 : 4);
122
+ i0.ɵɵconditional((ctx_r1.snapshot.editing == null ? null : ctx_r1.snapshot.editing.itemId) === r_r5.item.id ? 3 : 4);
105
123
  } }
106
- function List_Conditional_18_Template(rf, ctx) { if (rf & 1) {
107
- i0.ɵɵelement(0, "div", 14);
124
+ function List_Conditional_17_Template(rf, ctx) { if (rf & 1) {
125
+ i0.ɵɵelement(0, "div", 15);
108
126
  } if (rf & 2) {
109
127
  const ctx_r1 = i0.ɵɵnextContext();
110
128
  i0.ɵɵstyleProp("height", ctx_r1.snapshot.virtual.offsetBottom, "px");
111
129
  } }
112
- function List_Conditional_19_Template(rf, ctx) { if (rf & 1) {
113
- const _r6 = i0.ɵɵgetCurrentView();
114
- i0.ɵɵelementStart(0, "div", 13)(1, "span", 24);
130
+ function List_Conditional_18_Template(rf, ctx) { if (rf & 1) {
131
+ const _r7 = i0.ɵɵgetCurrentView();
132
+ i0.ɵɵelementStart(0, "div", 12)(1, "span", 25);
115
133
  i0.ɵɵtext(2);
116
134
  i0.ɵɵelementEnd();
117
- i0.ɵɵelementStart(3, "button", 25);
118
- i0.ɵɵlistener("click", function List_Conditional_19_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onDismiss()); });
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()); });
119
137
  i0.ɵɵtext(4, "\u00D7");
120
138
  i0.ɵɵelementEnd()();
121
139
  } if (rf & 2) {
@@ -155,15 +173,23 @@ export class List {
155
173
  * present the component renders its snapshot and forwards intents, but NEVER
156
174
  * creates/destroys/setConfigs it. `null` tolerated (no template narrowing). */
157
175
  controller;
176
+ /** The domain store backing the list (unused on the BOUND path). */
158
177
  store;
178
+ /** The list aggregate id to render/control within `store`. */
159
179
  listId;
180
+ /** Controller configuration (locale, row height, virtualization, …). */
160
181
  config;
182
+ /** Renders the dark theme variant. */
161
183
  darkMode = false;
184
+ /** Text direction for the rendered DOM; omitted → inherits ambient direction. */
162
185
  dir;
163
186
  /** Optional toolbar heading. Omitted → no heading is rendered. */
164
187
  title;
165
188
  /** Optional small toolbar tagline next to the heading. */
166
189
  tag;
190
+ /** Show the undo/redo button pair in the toolbar (default true). UI-only — the
191
+ * controller's undo()/redo() and the keyboard shortcuts stay active when hidden. */
192
+ showUndoRedo = true;
167
193
  /** Controller error channel: domain rejections surface as the undo toast;
168
194
  * any other error (e.g. ConcurrencyError) is passed here instead of rejecting. */
169
195
  onError;
@@ -353,6 +379,7 @@ export class List {
353
379
  onAddItem() { this.ctrl.voidAddItem(); }
354
380
  onDeleteSelection() { this.ctrl.voidDeleteSelection(); }
355
381
  onUndo() { this.ctrl.voidUndo(); }
382
+ onRedo() { this.ctrl.voidRedo(); }
356
383
  onDismiss() { this.ctrl.dismissUndo(); }
357
384
  /** Open the in-place editor for the single selected row (toolbar button). */
358
385
  startRename() {
@@ -375,7 +402,7 @@ export class List {
375
402
  } if (rf & 2) {
376
403
  let _t;
377
404
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listRef = _t.first);
378
- } }, inputs: { controller: "controller", store: "store", listId: "listId", config: "config", darkMode: "darkMode", dir: "dir", title: "title", tag: "tag", onError: "onError", onSelectionChange: "onSelectionChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 20, 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", "button", 1, "bm-list__btn", 3, "click"], ["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"], ["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) {
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) {
379
406
  const _r1 = i0.ɵɵgetCurrentView();
380
407
  i0.ɵɵelementStart(0, "div", 2);
381
408
  i0.ɵɵlistener("keydown", function List_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKey($event)); });
@@ -393,19 +420,16 @@ export class List {
393
420
  i0.ɵɵlistener("click", function List_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onDeleteSelection()); });
394
421
  i0.ɵɵtext(9);
395
422
  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)); });
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)); });
402
426
  i0.ɵɵelementEnd()();
403
- i0.ɵɵelementStart(13, "div", 10, 0);
404
- i0.ɵɵtemplate(15, List_Conditional_15_Template, 1, 2, "div", 11);
405
- i0.ɵɵrepeaterCreate(16, List_For_17_Template, 5, 7, "div", 12, _forTrack0);
406
- i0.ɵɵtemplate(18, List_Conditional_18_Template, 1, 2, "div", 11);
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);
407
431
  i0.ɵɵelementEnd();
408
- i0.ɵɵtemplate(19, List_Conditional_19_Template, 5, 1, "div", 13);
432
+ i0.ɵɵtemplate(18, List_Conditional_18_Template, 5, 1, "div", 12);
409
433
  i0.ɵɵelementEnd();
410
434
  } if (rf & 2) {
411
435
  let tmp_4_0;
@@ -428,21 +452,21 @@ export class List {
428
452
  i0.ɵɵproperty("disabled", !ctx.hasSel);
429
453
  i0.ɵɵadvance();
430
454
  i0.ɵɵtextInterpolate2("", ctx.locale.delete, "", ctx.hasSel ? " (" + ctx.snapshot.selectedIds.length + ")" : "", "");
431
- i0.ɵɵadvance(2);
432
- i0.ɵɵtextInterpolate1("\u21B6 ", ctx.locale.undo, "");
455
+ i0.ɵɵadvance();
456
+ i0.ɵɵconditional(ctx.showUndoRedo ? 10 : -1);
433
457
  i0.ɵɵadvance();
434
458
  i0.ɵɵproperty("value", ctx.snapshot.filterQuery);
435
459
  i0.ɵɵattribute("placeholder", ctx.locale.searchPlaceholder)("aria-label", ctx.locale.searchPlaceholder);
436
460
  i0.ɵɵadvance();
437
461
  i0.ɵɵattribute("aria-label", (tmp_16_0 = ctx.title) !== null && tmp_16_0 !== undefined ? tmp_16_0 : ctx.locale.label);
438
462
  i0.ɵɵadvance(2);
439
- i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 15 : -1);
463
+ i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetTop > 0 ? 14 : -1);
440
464
  i0.ɵɵadvance();
441
465
  i0.ɵɵrepeater(ctx.renderedRows);
442
466
  i0.ɵɵadvance(2);
443
- i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ? 18 : -1);
467
+ i0.ɵɵconditional(ctx.snapshot.virtual && ctx.snapshot.virtual.offsetBottom > 0 ? 17 : -1);
444
468
  i0.ɵɵadvance();
445
- i0.ɵɵconditional((tmp_20_0 = ctx.snapshot.lastAction) ? 19 : -1, tmp_20_0);
469
+ i0.ɵɵconditional((tmp_20_0 = ctx.snapshot.lastAction) ? 18 : -1, tmp_20_0);
446
470
  } }, dependencies: [CommonModule, i1.NgStyle, ListAutofocusDirective], encapsulation: 2, changeDetection: 0 });
447
471
  }
448
472
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(List, [{
@@ -464,7 +488,10 @@ export class List {
464
488
  <button class="bm-list__btn bm-list__btn--primary" type="button" (click)="onAddItem()">+ {{ locale.addItem }}</button>
465
489
  <button class="bm-list__btn" type="button" [disabled]="snapshot.selectedIds.length !== 1" (click)="startRename()">{{ locale.rename }}</button>
466
490
  <button class="bm-list__btn" type="button" [disabled]="!hasSel" (click)="onDeleteSelection()">{{ locale.delete }}{{ hasSel ? ' (' + snapshot.selectedIds.length + ')' : '' }}</button>
467
- <button class="bm-list__btn" type="button" (click)="onUndo()">↶ {{ locale.undo }}</button>
491
+ @if (showUndoRedo) {
492
+ <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
+ <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
+ }
468
495
  <input class="bm-list__search" type="search" [value]="snapshot.filterQuery" [attr.placeholder]="locale.searchPlaceholder" [attr.aria-label]="locale.searchPlaceholder" (input)="onFilter($event)" />
469
496
  </div>
470
497
 
@@ -543,6 +570,8 @@ export class List {
543
570
  type: Input
544
571
  }], tag: [{
545
572
  type: Input
573
+ }], showUndoRedo: [{
574
+ type: Input
546
575
  }], onError: [{
547
576
  type: Input
548
577
  }], onSelectionChange: [{
@@ -551,5 +580,5 @@ export class List {
551
580
  type: ViewChild,
552
581
  args: ['listbox']
553
582
  }] }); })();
554
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber: 119 }); })();
583
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(List, { className: "List", filePath: "components/list.ts", lineNumber: 122 }); })();
555
584
  //# 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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M;gBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0ET;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;YAUgB,OAAO;kBAA5B,SAAS;mBAAC,SAAS;;kFApCT,IAAI"}
package/dist/index.d.ts CHANGED
@@ -10,5 +10,4 @@
10
10
  * `@bimetal/list-themes`.
11
11
  */
12
12
  export { List } from './components/List.js';
13
- export * from '@bimetal/angular';
14
13
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAG5C,cAAc,kBAAkB,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
@@ -12,5 +12,4 @@
12
12
  // ── Main Component ──────────────────────────────────────────────
13
13
  export { List } from './components/List.js';
14
14
  // ── Re-export the generic Angular list binding for convenience ──
15
- export * from '@bimetal/angular';
16
15
  //# sourceMappingURL=index.js.map
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;AACnE,cAAc,kBAAkB,CAAC"}
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.32.0",
3
+ "version": "0.35.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",
@@ -24,11 +24,11 @@
24
24
  "prepublishOnly": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "@bimetal/angular": "^0.32.0",
28
- "@bimetal/list-data": "^0.32.0",
29
- "@bimetal/list-headless": "^0.32.0",
30
- "@bimetal/list-themes": "^0.32.0",
31
- "@bimetal/a11y-dom": "^0.32.0"
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"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
@@ -48,7 +48,7 @@
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "license": "PolyForm-Noncommercial-1.0.0",
51
+ "license": "Apache-2.0",
52
52
  "author": "Andreas Biederbeck",
53
53
  "repository": {
54
54
  "type": "git",