@molecule/app-comparison-row-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-16T20:21:09.154Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-comparison-row-angular
|
|
@@ -93,9 +93,9 @@ ComparisonRow component.
|
|
|
93
93
|
|
|
94
94
|
Period-over-period stat comparison row — current value, optional previous
|
|
95
95
|
value, and a coloured delta% chip. The host IS the root `<div>`
|
|
96
|
-
(`div[mol-comparison-row]`), matching React's root exactly. The delta
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
(`div[mol-comparison-row]`), matching React's root exactly. The delta's
|
|
97
|
+
tone class and the layout and type classes come from the ClassMap bond.
|
|
98
|
+
Same props, same
|
|
99
99
|
DOM as `@molecule/app-comparison-row-react`'s `ComparisonRow`. Node-valued
|
|
100
100
|
`label`, `current`, `previous` and `periodLabel` content is projected
|
|
101
101
|
(`[slot=<name>]`); a string or number input renders as text. A custom
|
|
@@ -116,7 +116,7 @@ without one the default arrow + percentage renders.
|
|
|
116
116
|
<span [class]="labelClass()">@if (hasLabel) {<ng-container>{{ label }}</ng-container>}<ng-content select="[slot=label]" /></span>@if (showPeriodLabel) {<span #periodSpan [class]="cm().textSize('xs')">@if (hasPeriodLabel) {<ng-container>{{ periodLabel }}</ng-container>}<ng-content select="[slot=periodLabel]" /></span>}
|
|
117
117
|
</div>
|
|
118
118
|
<div [class]="valuesClass()">
|
|
119
|
-
<span [class]="currentClass()">@if (hasCurrent) {<ng-container>{{ current }}</ng-container>}<ng-content select="[slot=current]" /></span>@if (showPrevious) {<span #previousSpan [class]="cm().cn(cm().textSize('xs'))" [style.text-decoration]="'line-through'" [style.opacity]="0.6">@if (hasPrevious) {<ng-container>{{ previous }}</ng-container>}<ng-content select="[slot=previous]" /></span>}@if (hasDelta) {<span [class]="deltaClass()"
|
|
119
|
+
<span [class]="currentClass()">@if (hasCurrent) {<ng-container>{{ current }}</ng-container>}<ng-content select="[slot=current]" /></span>@if (showPrevious) {<span #previousSpan [class]="cm().cn(cm().textSize('xs'))" [style.text-decoration]="'line-through'" [style.opacity]="0.6">@if (hasPrevious) {<ng-container>{{ previous }}</ng-container>}<ng-content select="[slot=previous]" /></span>}@if (hasDelta) {<span [class]="deltaClass()">@if (formatDelta) {<ng-container [ngTemplateOutlet]="formatDelta" [ngTemplateOutletContext]="deltaContext()" />}@else {<ng-container>{{ arrow() }} {{ pct() }}%</ng-container>}</span>}
|
|
120
120
|
</div>`,
|
|
121
121
|
})
|
|
122
122
|
export class ComparisonRow implements AfterViewInit {
|
|
@@ -240,11 +240,15 @@ export class ComparisonRow implements AfterViewInit {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
|
-
* The delta chip's class.
|
|
243
|
+
* The delta chip's class, with the tone of the current direction.
|
|
244
244
|
* @returns The class string.
|
|
245
245
|
*/
|
|
246
246
|
deltaClass(): string {
|
|
247
|
-
return this.cm().cn(
|
|
247
|
+
return this.cm().cn(
|
|
248
|
+
this.cm().textSize('xs'),
|
|
249
|
+
this.cm().fontWeight('semibold'),
|
|
250
|
+
this.cm().textTone(TONE(this.deltaPct ?? 0)),
|
|
251
|
+
)
|
|
248
252
|
}
|
|
249
253
|
|
|
250
254
|
/**
|
|
@@ -306,14 +310,6 @@ export class ComparisonRow implements AfterViewInit {
|
|
|
306
310
|
return this.deltaPct === undefined ? '' : Math.abs(this.deltaPct).toFixed(1)
|
|
307
311
|
}
|
|
308
312
|
|
|
309
|
-
/**
|
|
310
|
-
* The delta chip's inline color of the current direction.
|
|
311
|
-
* @returns The hex color.
|
|
312
|
-
*/
|
|
313
|
-
deltaColor(): string {
|
|
314
|
-
return COLOR(this.deltaPct ?? 0)
|
|
315
|
-
}
|
|
316
|
-
|
|
317
313
|
/**
|
|
318
314
|
* The template outlet context for a custom formatter.
|
|
319
315
|
* @returns The delta as `$implicit` and `a0`.
|
|
@@ -335,7 +331,7 @@ Peer dependencies:
|
|
|
335
331
|
- `@angular/core` ^22.0.0
|
|
336
332
|
- `@angular/platform-browser` ^22.0.0
|
|
337
333
|
- `@molecule/app-angular` ^3.5.0
|
|
338
|
-
- `@molecule/app-ui` ^1.0
|
|
334
|
+
- `@molecule/app-ui` ^1.4.0
|
|
339
335
|
- `@molecule/app-ui-angular` ^1.1.0
|
|
340
336
|
|
|
341
337
|
### Runtime Dependencies
|
|
@@ -6,9 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*
|
|
7
7
|
* Period-over-period stat comparison row — current value, optional previous
|
|
8
8
|
* value, and a coloured delta% chip. The host IS the root `<div>`
|
|
9
|
-
* (`div[mol-comparison-row]`), matching React's root exactly. The delta
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* (`div[mol-comparison-row]`), matching React's root exactly. The delta's
|
|
10
|
+
* tone class and the layout and type classes come from the ClassMap bond.
|
|
11
|
+
* Same props, same
|
|
12
12
|
* DOM as `@molecule/app-comparison-row-react`'s `ComparisonRow`. Node-valued
|
|
13
13
|
* `label`, `current`, `previous` and `periodLabel` content is projected
|
|
14
14
|
* (`[slot=<name>]`); a string or number input renders as text. A custom
|
|
@@ -96,7 +96,7 @@ export declare class ComparisonRow implements AfterViewInit {
|
|
|
96
96
|
*/
|
|
97
97
|
currentClass(): string;
|
|
98
98
|
/**
|
|
99
|
-
* The delta chip's class.
|
|
99
|
+
* The delta chip's class, with the tone of the current direction.
|
|
100
100
|
* @returns The class string.
|
|
101
101
|
*/
|
|
102
102
|
deltaClass(): string;
|
|
@@ -138,11 +138,6 @@ export declare class ComparisonRow implements AfterViewInit {
|
|
|
138
138
|
* @returns The formatted magnitude.
|
|
139
139
|
*/
|
|
140
140
|
pct(): string;
|
|
141
|
-
/**
|
|
142
|
-
* The delta chip's inline color of the current direction.
|
|
143
|
-
* @returns The hex color.
|
|
144
|
-
*/
|
|
145
|
-
deltaColor(): string;
|
|
146
141
|
/**
|
|
147
142
|
* The template outlet context for a custom formatter.
|
|
148
143
|
* @returns The delta as `$implicit` and `a0`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comparison-row.component.d.ts","sourceRoot":"","sources":["../src/comparison-row.component.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,aAAa,EAIlB,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"comparison-row.component.d.ts","sourceRoot":"","sources":["../src/comparison-row.component.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,aAAa,EAIlB,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAgB,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAgChE;;;;;;;;;;;;;GAaG;AACH,qBAgBa,aAAc,YAAW,aAAa;IACjD,8EAA8E;IAC9E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kFAAkF;IAClF,WAAW,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,kFAAkF;IAClF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,gFAAgF;IACvD,OAAO,CAAC,UAAU,CAAC,CAA6B;IACzE,kFAAkF;IACvD,OAAO,CAAC,YAAY,CAAC,CAA6B;IAE7E;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAe;IAC/C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAe;IAEjD;;;;;;OAMG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;;;OAIG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED;;;;;OAKG;IACH,eAAe,IAAI,IAAI;IAWvB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAOjB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAIpB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAIpB;;;OAGG;IACH,WAAW,IAAI,MAAM;IAIrB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAItB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAQpB;;;OAGG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;;;OAIG;IACH,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED;;;;OAIG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;;OAGG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;;OAGG;IACH,KAAK,IAAI,MAAM;IAIf;;;;OAIG;IACH,GAAG,IAAI,MAAM;IAIb;;;OAGG;IACH,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;yCAnM5B,aAAa;2CAAb,aAAa;CAuMzB"}
|
|
@@ -71,7 +71,7 @@ function ComparisonRow_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
71
71
|
i0.ɵɵconditional(ctx_r0.hasPrevious ? 2 : -1);
|
|
72
72
|
} }
|
|
73
73
|
function ComparisonRow_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵelementContainer(0,
|
|
74
|
+
i0.ɵɵelementContainer(0, 4);
|
|
75
75
|
} if (rf & 2) {
|
|
76
76
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
77
77
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.formatDelta)("ngTemplateOutletContext", ctx_r0.deltaContext());
|
|
@@ -87,17 +87,20 @@ function ComparisonRow_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf &
|
|
|
87
87
|
} }
|
|
88
88
|
function ComparisonRow_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
89
89
|
i0.ɵɵelementStart(0, "span");
|
|
90
|
-
i0.ɵɵconditionalCreate(1, ComparisonRow_Conditional_10_Conditional_1_Template, 1, 2, "ng-container",
|
|
90
|
+
i0.ɵɵconditionalCreate(1, ComparisonRow_Conditional_10_Conditional_1_Template, 1, 2, "ng-container", 4)(2, ComparisonRow_Conditional_10_Conditional_2_Template, 2, 2, "ng-container");
|
|
91
91
|
i0.ɵɵelementEnd();
|
|
92
92
|
} if (rf & 2) {
|
|
93
93
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
94
94
|
i0.ɵɵclassMap(ctx_r0.deltaClass());
|
|
95
|
-
i0.ɵɵstyleProp("color", ctx_r0.deltaColor());
|
|
96
95
|
i0.ɵɵadvance();
|
|
97
96
|
i0.ɵɵconditional(ctx_r0.formatDelta ? 1 : 2);
|
|
98
97
|
} }
|
|
99
98
|
const ARROW = (n) => (n > 0 ? '▲' : n < 0 ? '▼' : '–');
|
|
100
|
-
|
|
99
|
+
/**
|
|
100
|
+
* The semantic tone colouring the delta: the theme's success green for a
|
|
101
|
+
* rise, its error red for a fall, its secondary grey for no change.
|
|
102
|
+
*/
|
|
103
|
+
const TONE = (n) => (n > 0 ? 'success' : n < 0 ? 'error' : 'secondary');
|
|
101
104
|
/**
|
|
102
105
|
* Whether a projected node renders anything (an element, or text with
|
|
103
106
|
* content beyond whitespace).
|
|
@@ -120,9 +123,9 @@ const hasRenderableContent = (el) => Array.from(el.childNodes).some(hasRenderabl
|
|
|
120
123
|
*
|
|
121
124
|
* Period-over-period stat comparison row — current value, optional previous
|
|
122
125
|
* value, and a coloured delta% chip. The host IS the root `<div>`
|
|
123
|
-
* (`div[mol-comparison-row]`), matching React's root exactly. The delta
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
+
* (`div[mol-comparison-row]`), matching React's root exactly. The delta's
|
|
127
|
+
* tone class and the layout and type classes come from the ClassMap bond.
|
|
128
|
+
* Same props, same
|
|
126
129
|
* DOM as `@molecule/app-comparison-row-react`'s `ComparisonRow`. Node-valued
|
|
127
130
|
* `label`, `current`, `previous` and `periodLabel` content is projected
|
|
128
131
|
* (`[slot=<name>]`); a string or number input renders as text. A custom
|
|
@@ -237,11 +240,11 @@ export class ComparisonRow {
|
|
|
237
240
|
return this.cm().cn(this.cm().textSize('lg'), this.cm().fontWeight('bold'));
|
|
238
241
|
}
|
|
239
242
|
/**
|
|
240
|
-
* The delta chip's class.
|
|
243
|
+
* The delta chip's class, with the tone of the current direction.
|
|
241
244
|
* @returns The class string.
|
|
242
245
|
*/
|
|
243
246
|
deltaClass() {
|
|
244
|
-
return this.cm().cn(this.cm().textSize('xs'), this.cm().fontWeight('semibold'));
|
|
247
|
+
return this.cm().cn(this.cm().textSize('xs'), this.cm().fontWeight('semibold'), this.cm().textTone(TONE(this.deltaPct ?? 0)));
|
|
245
248
|
}
|
|
246
249
|
/**
|
|
247
250
|
* Whether a text label input is present (a projected label is not).
|
|
@@ -295,13 +298,6 @@ export class ComparisonRow {
|
|
|
295
298
|
pct() {
|
|
296
299
|
return this.deltaPct === undefined ? '' : Math.abs(this.deltaPct).toFixed(1);
|
|
297
300
|
}
|
|
298
|
-
/**
|
|
299
|
-
* The delta chip's inline color of the current direction.
|
|
300
|
-
* @returns The hex color.
|
|
301
|
-
*/
|
|
302
|
-
deltaColor() {
|
|
303
|
-
return COLOR(this.deltaPct ?? 0);
|
|
304
|
-
}
|
|
305
301
|
/**
|
|
306
302
|
* The template outlet context for a custom formatter.
|
|
307
303
|
* @returns The delta as `$implicit` and `a0`.
|
|
@@ -319,7 +315,7 @@ export class ComparisonRow {
|
|
|
319
315
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousSpan = _t.first);
|
|
320
316
|
} }, hostVars: 2, hostBindings: function ComparisonRow_HostBindings(rf, ctx) { if (rf & 2) {
|
|
321
317
|
i0.ɵɵclassMap(ctx.classes());
|
|
322
|
-
} }, inputs: { label: "label", current: "current", previous: "previous", deltaPct: "deltaPct", formatDelta: "formatDelta", periodLabel: "periodLabel", className: "className" }, ngContentSelectors: _c3, decls: 11, vars: 13, consts: [["periodSpan", ""], ["previousSpan", ""], [3, "class"], [3, "class", "text-decoration", "opacity"], [3, "
|
|
318
|
+
} }, inputs: { label: "label", current: "current", previous: "previous", deltaPct: "deltaPct", formatDelta: "formatDelta", periodLabel: "periodLabel", className: "className" }, ngContentSelectors: _c3, decls: 11, vars: 13, consts: [["periodSpan", ""], ["previousSpan", ""], [3, "class"], [3, "class", "text-decoration", "opacity"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function ComparisonRow_Template(rf, ctx) { if (rf & 1) {
|
|
323
319
|
i0.ɵɵprojectionDef(_c2);
|
|
324
320
|
i0.ɵɵelementStart(0, "div")(1, "span");
|
|
325
321
|
i0.ɵɵconditionalCreate(2, ComparisonRow_Conditional_2_Template, 2, 1, "ng-container");
|
|
@@ -332,7 +328,7 @@ export class ComparisonRow {
|
|
|
332
328
|
i0.ɵɵprojection(8, 1);
|
|
333
329
|
i0.ɵɵelementEnd();
|
|
334
330
|
i0.ɵɵconditionalCreate(9, ComparisonRow_Conditional_9_Template, 4, 7, "span", 3);
|
|
335
|
-
i0.ɵɵconditionalCreate(10, ComparisonRow_Conditional_10_Template, 3,
|
|
331
|
+
i0.ɵɵconditionalCreate(10, ComparisonRow_Conditional_10_Template, 3, 3, "span", 2);
|
|
336
332
|
i0.ɵɵelementEnd();
|
|
337
333
|
} if (rf & 2) {
|
|
338
334
|
i0.ɵɵclassMap(ctx.stackClass());
|
|
@@ -369,7 +365,7 @@ export class ComparisonRow {
|
|
|
369
365
|
<span [class]="labelClass()">@if (hasLabel) {<ng-container>{{ label }}</ng-container>}<ng-content select="[slot=label]" /></span>@if (showPeriodLabel) {<span #periodSpan [class]="cm().textSize('xs')">@if (hasPeriodLabel) {<ng-container>{{ periodLabel }}</ng-container>}<ng-content select="[slot=periodLabel]" /></span>}
|
|
370
366
|
</div>
|
|
371
367
|
<div [class]="valuesClass()">
|
|
372
|
-
<span [class]="currentClass()">@if (hasCurrent) {<ng-container>{{ current }}</ng-container>}<ng-content select="[slot=current]" /></span>@if (showPrevious) {<span #previousSpan [class]="cm().cn(cm().textSize('xs'))" [style.text-decoration]="'line-through'" [style.opacity]="0.6">@if (hasPrevious) {<ng-container>{{ previous }}</ng-container>}<ng-content select="[slot=previous]" /></span>}@if (hasDelta) {<span [class]="deltaClass()"
|
|
368
|
+
<span [class]="currentClass()">@if (hasCurrent) {<ng-container>{{ current }}</ng-container>}<ng-content select="[slot=current]" /></span>@if (showPrevious) {<span #previousSpan [class]="cm().cn(cm().textSize('xs'))" [style.text-decoration]="'line-through'" [style.opacity]="0.6">@if (hasPrevious) {<ng-container>{{ previous }}</ng-container>}<ng-content select="[slot=previous]" /></span>}@if (hasDelta) {<span [class]="deltaClass()">@if (formatDelta) {<ng-container [ngTemplateOutlet]="formatDelta" [ngTemplateOutletContext]="deltaContext()" />}@else {<ng-container>{{ arrow() }} {{ pct() }}%</ng-container>}</span>}
|
|
373
369
|
</div>`,
|
|
374
370
|
}]
|
|
375
371
|
}], null, { periodSpan: [{
|
|
@@ -379,5 +375,5 @@ export class ComparisonRow {
|
|
|
379
375
|
type: ViewChild,
|
|
380
376
|
args: ['previousSpan']
|
|
381
377
|
}] }); })();
|
|
382
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComparisonRow, { className: "ComparisonRow", filePath: "comparison-row.component.ts", lineNumber:
|
|
378
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComparisonRow, { className: "ComparisonRow", filePath: "comparison-row.component.ts", lineNumber: 79 }); })();
|
|
383
379
|
//# sourceMappingURL=comparison-row.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comparison-row.component.js","sourceRoot":"","sources":["../src/comparison-row.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAEL,SAAS,EAET,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"comparison-row.component.js","sourceRoot":"","sources":["../src/comparison-row.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAEL,SAAS,EAET,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;;;;IAuDK,6BAAc;IAAA,YAAW;;;;IAAX,cAAW;IAAX,kCAAW;;;IAAwJ,6BAAc;IAAA,YAAiB;;;;IAAjB,cAAiB;IAAjB,wCAAiB;;;IAArG,qCAAgD;IAAA,mGAAsB;IAA+C,qBAA0C;IAAA,iBAAO;;;IAApJ,yCAA6B;IAAC,eAAqE;IAArE,gDAAqE;;;IAG5N,6BAAc;IAAA,YAAa;;;;IAAb,cAAa;IAAb,oCAAa;;;IAA8N,6BAAc;IAAA,YAAc;;;;IAAd,cAAc;IAAd,qCAAc;;;IAAzK,qCAA0H;IAAA,mGAAmB;IAA4C,qBAAuC;IAAA,iBAA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,kBAAoC;YAAA,iBAAO;YAAA,gFAAuB;YAC1J,iBAAM;YAEJ,AADF,2BAA6B,WACI;YAAA,qFAAkB;YAA2C,qBAAsC;YAAA,iBAAO;YAAA,gFAAoB;YAAwO,kFAAgB;YACvZ,iBAAM;;YALQ,+BAAsB;YAC5B,cAAsB;YAAtB,+BAAsB;YAAC,cAAyD;YAAzD,uCAAyD;YAA2C,eAA8L;YAA9L,8CAA8L;YAE5T,cAAuB;YAAvB,gCAAuB;YACpB,cAAwB;YAAxB,iCAAwB;YAAC,cAA6D;YAA7D,yCAA6D;YAA6C,eAA4P;YAA5P,2CAA4P;YAAA,cAAoO;YAApO,wCAAoO;4BAVnmB,gBAAgB;;iFAaf,aAAa;cAhBzB,SAAS;eAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,gBAAgB,CAAC;gBAC3B,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,CAAC;gBAC/F,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,kBAAkB;gBAClB,QAAQ,EAAE;;;;;WAKD;aACV;;kBAkBE,SAAS;mBAAC,YAAY;;kBAEtB,SAAS;mBAAC,cAAc;;kFAnBd,aAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-comparison-row-angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Period-over-period stat comparison (\"$X vs $Y\", with delta)",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-comparison-row-angular",
|
|
6
6
|
"type": "module",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@angular/core": "^22.0.0",
|
|
47
47
|
"@angular/platform-browser": "^22.0.0",
|
|
48
48
|
"@molecule/app-angular": "^3.5.0",
|
|
49
|
-
"@molecule/app-ui": "^1.0
|
|
49
|
+
"@molecule/app-ui": "^1.4.0",
|
|
50
50
|
"@molecule/app-ui-angular": "^1.1.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|