@molecule/app-filter-bar-angular 1.1.0 → 1.1.1
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/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-11-
|
|
6
|
+
Generated: 2026-11-23T14:53:28.773Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-filter-bar-angular
|
|
@@ -201,13 +201,15 @@ matching React's root exactly, so its class list is the row's.
|
|
|
201
201
|
|
|
202
202
|
This is the Angular counterpart of `@molecule/app-filter-bar-react`: the
|
|
203
203
|
same props (React names) and the same DOM for the same input. The
|
|
204
|
-
right-side `actions` slot is projected content (`[slot=actions]`),
|
|
205
|
-
out of its capture span
|
|
204
|
+
right-side `actions` slot is projected content (`[slot=actions]`), placed
|
|
205
|
+
out of its capture span by the component's placement function, exactly as
|
|
206
|
+
React renders it — bare.
|
|
206
207
|
|
|
207
208
|
```typescript
|
|
208
209
|
@Component({
|
|
209
210
|
selector: 'div[mol-filter-bar]',
|
|
210
211
|
standalone: true,
|
|
212
|
+
hostDirectives: [MolPlacement],
|
|
211
213
|
imports: [Button, Input, NgTemplateOutlet, Select],
|
|
212
214
|
inputs: ['fields', 'values', 'onChange', 'onClear', 'showLabels', 'className'],
|
|
213
215
|
host: {
|
|
@@ -289,7 +291,7 @@ out of its capture span at view init exactly as React renders it — bare.
|
|
|
289
291
|
}
|
|
290
292
|
</ng-template>`,
|
|
291
293
|
})
|
|
292
|
-
export class FilterBar
|
|
294
|
+
export class FilterBar {
|
|
293
295
|
/** Field definitions. */
|
|
294
296
|
fields: FilterField[] = []
|
|
295
297
|
/** Current filter values keyed by field id. */
|
|
@@ -303,13 +305,15 @@ export class FilterBar implements AfterViewInit {
|
|
|
303
305
|
/** Extra classes on the outer row. */
|
|
304
306
|
className?: string
|
|
305
307
|
|
|
306
|
-
/** The actions slot capture span (its
|
|
308
|
+
/** The actions slot capture span (its content is placed out of it, React-bare). */
|
|
307
309
|
@ViewChild('actionsSlot') actionsSlot?: ElementRef<HTMLSpanElement>
|
|
308
310
|
|
|
309
|
-
private readonly renderer = inject(Renderer2)
|
|
310
|
-
|
|
311
311
|
private readonly translate = useTranslation()
|
|
312
312
|
|
|
313
|
+
constructor() {
|
|
314
|
+
usePlacement(() => this.placeActions())
|
|
315
|
+
}
|
|
316
|
+
|
|
313
317
|
/**
|
|
314
318
|
* The current class map.
|
|
315
319
|
* @returns The UIClassMap.
|
|
@@ -373,12 +377,22 @@ export class FilterBar implements AfterViewInit {
|
|
|
373
377
|
return (this.values[f.id] as string) ?? ''
|
|
374
378
|
}
|
|
375
379
|
|
|
376
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* The comma-joined value of a multi field.
|
|
382
|
+
*
|
|
383
|
+
* @param f - The field definition.
|
|
384
|
+
* @returns The comma-joined values.
|
|
385
|
+
*/
|
|
377
386
|
multiValue(f: FilterField): string {
|
|
378
387
|
return ((this.values[f.id] as string[] | undefined) ?? []).join(', ')
|
|
379
388
|
}
|
|
380
389
|
|
|
381
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* The bounds of a date-range field.
|
|
392
|
+
*
|
|
393
|
+
* @param f - The field definition.
|
|
394
|
+
* @returns The stored from/to bounds.
|
|
395
|
+
*/
|
|
382
396
|
rangeValue(f: FilterField): { from?: string; to?: string } {
|
|
383
397
|
return (this.values[f.id] as { from?: string; to?: string } | undefined) ?? {}
|
|
384
398
|
}
|
|
@@ -457,23 +471,17 @@ export class FilterBar implements AfterViewInit {
|
|
|
457
471
|
notify?.(event)
|
|
458
472
|
}
|
|
459
473
|
|
|
460
|
-
/**
|
|
461
|
-
|
|
462
|
-
* detaches the span — React renders `{actions}` with no wrapper element.
|
|
463
|
-
*/
|
|
464
|
-
ngAfterViewInit(): void {
|
|
474
|
+
/** Places the projected actions at their slot position and takes the capture span out of the DOM — React renders `{actions}` with no wrapper element. */
|
|
475
|
+
private placeActions(): void {
|
|
465
476
|
const span = this.actionsSlot?.nativeElement
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
parent.insertBefore(anchor, span)
|
|
470
|
-
for (const node of Array.from(span.childNodes)) parent.insertBefore(node, anchor)
|
|
471
|
-
parent.removeChild(span)
|
|
477
|
+
if (!span) return
|
|
478
|
+
placeContentBefore(span, span)
|
|
479
|
+
setElementPresent(span, false)
|
|
472
480
|
}
|
|
473
481
|
}
|
|
474
482
|
```
|
|
475
483
|
|
|
476
|
-
_(The
|
|
484
|
+
_(The 8 longest member comments are shortened to their first sentence to fit; the full declaration is in `node_modules/@molecule/app-filter-bar-angular/dist/filter-bar.component.d.ts`.)_
|
|
477
485
|
|
|
478
486
|
## Injection Notes
|
|
479
487
|
|
|
@@ -484,7 +492,7 @@ Peer dependencies:
|
|
|
484
492
|
- `@angular/common` ^22.0.0
|
|
485
493
|
- `@angular/core` ^22.0.0
|
|
486
494
|
- `@angular/platform-browser` ^22.0.0
|
|
487
|
-
- `@molecule/app-angular` ^3.
|
|
495
|
+
- `@molecule/app-angular` ^3.13.0
|
|
488
496
|
- `@molecule/app-ui` ^1.0.1
|
|
489
497
|
- `@molecule/app-ui-angular` ^1.1.0
|
|
490
498
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ElementRef } from '@angular/core';
|
|
2
2
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
3
3
|
import type { FilterField, FilterValues } from './types.js';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@molecule/app-angular";
|
|
5
6
|
/**
|
|
6
7
|
* FilterBar component.
|
|
7
8
|
*
|
|
@@ -12,10 +13,11 @@ import * as i0 from "@angular/core";
|
|
|
12
13
|
*
|
|
13
14
|
* This is the Angular counterpart of `@molecule/app-filter-bar-react`: the
|
|
14
15
|
* same props (React names) and the same DOM for the same input. The
|
|
15
|
-
* right-side `actions` slot is projected content (`[slot=actions]`),
|
|
16
|
-
* out of its capture span
|
|
16
|
+
* right-side `actions` slot is projected content (`[slot=actions]`), placed
|
|
17
|
+
* out of its capture span by the component's placement function, exactly as
|
|
18
|
+
* React renders it — bare.
|
|
17
19
|
*/
|
|
18
|
-
export declare class FilterBar
|
|
20
|
+
export declare class FilterBar {
|
|
19
21
|
/** Field definitions. */
|
|
20
22
|
fields: FilterField[];
|
|
21
23
|
/** Current filter values keyed by field id. */
|
|
@@ -28,10 +30,10 @@ export declare class FilterBar implements AfterViewInit {
|
|
|
28
30
|
showLabels: boolean;
|
|
29
31
|
/** Extra classes on the outer row. */
|
|
30
32
|
className?: string;
|
|
31
|
-
/** The actions slot capture span (its
|
|
33
|
+
/** The actions slot capture span (its content is placed out of it, React-bare). */
|
|
32
34
|
actionsSlot?: ElementRef<HTMLSpanElement>;
|
|
33
|
-
private readonly renderer;
|
|
34
35
|
private readonly translate;
|
|
36
|
+
constructor();
|
|
35
37
|
/**
|
|
36
38
|
* The current class map.
|
|
37
39
|
* @returns The UIClassMap.
|
|
@@ -153,11 +155,13 @@ export declare class FilterBar implements AfterViewInit {
|
|
|
153
155
|
*/
|
|
154
156
|
clearAll(event: MouseEvent): void;
|
|
155
157
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
+
* Places the projected actions at their slot position and takes the capture
|
|
159
|
+
* span out of the DOM — React renders `{actions}` with no wrapper element.
|
|
160
|
+
* The content stands bare in front of the span's own place, so it follows
|
|
161
|
+
* wherever Angular puts the span, and the span itself leaves the page.
|
|
158
162
|
*/
|
|
159
|
-
|
|
163
|
+
private placeActions;
|
|
160
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterBar, never>;
|
|
161
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBar, "div[mol-filter-bar]", never, { "fields": { "alias": "fields"; "required": false; }; "values": { "alias": "values"; "required": false; }; "onChange": { "alias": "onChange"; "required": false; }; "onClear": { "alias": "onClear"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["[slot=actions]"], true,
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBar, "div[mol-filter-bar]", never, { "fields": { "alias": "fields"; "required": false; }; "values": { "alias": "values"; "required": false; }; "onChange": { "alias": "onChange"; "required": false; }; "onClear": { "alias": "onClear"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["[slot=actions]"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
|
|
162
166
|
}
|
|
163
167
|
//# sourceMappingURL=filter-bar.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-bar.component.d.ts","sourceRoot":"","sources":["../src/filter-bar.component.ts"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"filter-bar.component.d.ts","sourceRoot":"","sources":["../src/filter-bar.component.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AASrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;;;AAE3D;;;;;;;;;;;;;GAaG;AACH,qBAqFa,SAAS;IACpB,yBAAyB;IACzB,MAAM,EAAE,WAAW,EAAE,CAAK;IAC1B,+CAA+C;IAC/C,MAAM,EAAE,YAAY,CAAK;IACzB,6CAA6C;IAC7C,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA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G,IAAI;IAU/C;;;;;OAKG;IACH,UAAU,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAI9C;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAI5C;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAKjC;;;;;OAKG;IACH,OAAO,CAAC,YAAY;yCAhOT,SAAS;2CAAT,SAAS;CAsOrB"}
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
6
|
import { NgTemplateOutlet } from '@angular/common';
|
|
7
|
-
import { Component,
|
|
8
|
-
import { useTranslation } from '@molecule/app-angular';
|
|
7
|
+
import { Component, ViewChild } from '@angular/core';
|
|
8
|
+
import { MolPlacement, placeContentBefore, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
|
|
9
9
|
import { getClassMap } from '@molecule/app-ui';
|
|
10
10
|
import { Button, Input, Select } from '@molecule/app-ui-angular';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@molecule/app-angular";
|
|
12
13
|
const _c0 = ["actionsSlot"];
|
|
13
14
|
const _c1 = [[["", "slot", "actions"]]];
|
|
14
15
|
const _c2 = ["[slot=actions]"];
|
|
@@ -129,8 +130,9 @@ function FilterBar_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
129
130
|
*
|
|
130
131
|
* This is the Angular counterpart of `@molecule/app-filter-bar-react`: the
|
|
131
132
|
* same props (React names) and the same DOM for the same input. The
|
|
132
|
-
* right-side `actions` slot is projected content (`[slot=actions]`),
|
|
133
|
-
* out of its capture span
|
|
133
|
+
* right-side `actions` slot is projected content (`[slot=actions]`), placed
|
|
134
|
+
* out of its capture span by the component's placement function, exactly as
|
|
135
|
+
* React renders it — bare.
|
|
134
136
|
*/
|
|
135
137
|
export class FilterBar {
|
|
136
138
|
/** Field definitions. */
|
|
@@ -145,10 +147,12 @@ export class FilterBar {
|
|
|
145
147
|
showLabels = false;
|
|
146
148
|
/** Extra classes on the outer row. */
|
|
147
149
|
className;
|
|
148
|
-
/** The actions slot capture span (its
|
|
150
|
+
/** The actions slot capture span (its content is placed out of it, React-bare). */
|
|
149
151
|
actionsSlot;
|
|
150
|
-
renderer = inject(Renderer2);
|
|
151
152
|
translate = useTranslation();
|
|
153
|
+
constructor() {
|
|
154
|
+
usePlacement(() => this.placeActions());
|
|
155
|
+
}
|
|
152
156
|
/**
|
|
153
157
|
* The current class map.
|
|
154
158
|
* @returns The UIClassMap.
|
|
@@ -311,19 +315,17 @@ export class FilterBar {
|
|
|
311
315
|
notify?.(event);
|
|
312
316
|
}
|
|
313
317
|
/**
|
|
314
|
-
*
|
|
315
|
-
*
|
|
318
|
+
* Places the projected actions at their slot position and takes the capture
|
|
319
|
+
* span out of the DOM — React renders `{actions}` with no wrapper element.
|
|
320
|
+
* The content stands bare in front of the span's own place, so it follows
|
|
321
|
+
* wherever Angular puts the span, and the span itself leaves the page.
|
|
316
322
|
*/
|
|
317
|
-
|
|
323
|
+
placeActions() {
|
|
318
324
|
const span = this.actionsSlot?.nativeElement;
|
|
319
|
-
|
|
320
|
-
if (!span || !parent)
|
|
325
|
+
if (!span)
|
|
321
326
|
return;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
for (const node of Array.from(span.childNodes))
|
|
325
|
-
parent.insertBefore(node, anchor);
|
|
326
|
-
parent.removeChild(span);
|
|
327
|
+
placeContentBefore(span, span);
|
|
328
|
+
setElementPresent(span, false);
|
|
327
329
|
}
|
|
328
330
|
static ɵfac = function FilterBar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBar)(); };
|
|
329
331
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilterBar, selectors: [["div", "mol-filter-bar", ""]], viewQuery: function FilterBar_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -333,7 +335,7 @@ export class FilterBar {
|
|
|
333
335
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsSlot = _t.first);
|
|
334
336
|
} }, hostVars: 2, hostBindings: function FilterBar_HostBindings(rf, ctx) { if (rf & 2) {
|
|
335
337
|
i0.ɵɵclassMap(ctx.classes());
|
|
336
|
-
} }, inputs: { fields: "fields", values: "values", onChange: "onChange", onClear: "onClear", showLabels: "showLabels", className: "className" }, ngContentSelectors: _c2, decls: 8, vars: 1, consts: [["actionsSlot", ""], ["control", ""], ["mol-button", "", 3, "variant", "size"], [3, "class"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["mol-button", "", 3, "click", "variant", "size"], ["mol-input", "", 3, "id", "type", "value", "placeholder"], ["mol-select", "", 3, "id", "options", "value"], ["mol-input", "", 3, "change", "id", "type", "value", "placeholder"], ["mol-select", "", 3, "valueChange", "id", "options", "value"], ["mol-input", "", 3, "change", "id", "type", "value"]], template: function FilterBar_Template(rf, ctx) { if (rf & 1) {
|
|
338
|
+
} }, inputs: { fields: "fields", values: "values", onChange: "onChange", onClear: "onClear", showLabels: "showLabels", className: "className" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 8, vars: 1, consts: [["actionsSlot", ""], ["control", ""], ["mol-button", "", 3, "variant", "size"], [3, "class"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["mol-button", "", 3, "click", "variant", "size"], ["mol-input", "", 3, "id", "type", "value", "placeholder"], ["mol-select", "", 3, "id", "options", "value"], ["mol-input", "", 3, "change", "id", "type", "value", "placeholder"], ["mol-select", "", 3, "valueChange", "id", "options", "value"], ["mol-input", "", 3, "change", "id", "type", "value"]], template: function FilterBar_Template(rf, ctx) { if (rf & 1) {
|
|
337
339
|
i0.ɵɵprojectionDef(_c1);
|
|
338
340
|
i0.ɵɵrepeaterCreate(0, FilterBar_For_1_Template, 2, 1, null, null, _forTrack0);
|
|
339
341
|
i0.ɵɵconditionalCreate(2, FilterBar_Conditional_2_Template, 2, 3, "button", 2);
|
|
@@ -352,6 +354,7 @@ export class FilterBar {
|
|
|
352
354
|
args: [{
|
|
353
355
|
selector: 'div[mol-filter-bar]',
|
|
354
356
|
standalone: true,
|
|
357
|
+
hostDirectives: [MolPlacement],
|
|
355
358
|
imports: [Button, Input, NgTemplateOutlet, Select],
|
|
356
359
|
inputs: ['fields', 'values', 'onChange', 'onClear', 'showLabels', 'className'],
|
|
357
360
|
host: {
|
|
@@ -433,9 +436,9 @@ export class FilterBar {
|
|
|
433
436
|
}
|
|
434
437
|
</ng-template>`,
|
|
435
438
|
}]
|
|
436
|
-
}],
|
|
439
|
+
}], () => [], { actionsSlot: [{
|
|
437
440
|
type: ViewChild,
|
|
438
441
|
args: ['actionsSlot']
|
|
439
442
|
}] }); })();
|
|
440
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilterBar, { className: "FilterBar", filePath: "filter-bar.component.ts", lineNumber:
|
|
443
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilterBar, { className: "FilterBar", filePath: "filter-bar.component.ts", lineNumber: 122 }); })();
|
|
441
444
|
//# sourceMappingURL=filter-bar.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-bar.component.js","sourceRoot":"","sources":["../src/filter-bar.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"filter-bar.component.js","sourceRoot":"","sources":["../src/filter-bar.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAErE,OAAO,EACL,YAAY,EACZ,kBAAkB,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA0EO;aAClB;;kBAgBE,SAAS;mBAAC,aAAa;;kFAfb,SAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-filter-bar-angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Composable, field-driven Angular filter bar",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-filter-bar-angular",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@angular/common": "^22.0.0",
|
|
46
46
|
"@angular/core": "^22.0.0",
|
|
47
47
|
"@angular/platform-browser": "^22.0.0",
|
|
48
|
-
"@molecule/app-angular": "^3.
|
|
48
|
+
"@molecule/app-angular": "^3.13.0",
|
|
49
49
|
"@molecule/app-ui": "^1.0.1",
|
|
50
50
|
"@molecule/app-ui-angular": "^1.1.0"
|
|
51
51
|
},
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"@angular/compiler-cli": "22.2.3",
|
|
56
56
|
"@angular/core": "22.2.3",
|
|
57
57
|
"@angular/platform-browser": "22.2.3",
|
|
58
|
-
"@molecule/app-angular": "3.
|
|
58
|
+
"@molecule/app-angular": "3.13.0",
|
|
59
59
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
60
60
|
"@molecule/app-i18n": "1.2.2",
|
|
61
61
|
"@molecule/app-icons": "1.0.4",
|
|
62
|
-
"@molecule/app-ui": "1.
|
|
63
|
-
"@molecule/app-ui-angular": "1.
|
|
62
|
+
"@molecule/app-ui": "1.5.0",
|
|
63
|
+
"@molecule/app-ui-angular": "1.5.1",
|
|
64
64
|
"@types/node": "26.6.5",
|
|
65
|
-
"jsdom": "
|
|
65
|
+
"jsdom": "31.0.1",
|
|
66
66
|
"rxjs": "7.8.2",
|
|
67
67
|
"typescript": "6.0.3",
|
|
68
68
|
"vitest": "4.1.12",
|