@ferrlabs/ui-ng 1.37.1 → 1.39.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/fesm2022/ferrlabs-ui-ng-docs.mjs +23 -23
- package/fesm2022/ferrlabs-ui-ng-docs.mjs.map +1 -1
- package/fesm2022/ferrlabs-ui-ng.mjs +671 -465
- package/fesm2022/ferrlabs-ui-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ferrlabs-ui-ng.d.ts +47 -1
- package/types/ferrlabs-ui-ng.d.ts.map +1 -1
|
@@ -32,24 +32,24 @@ const SIZE$6 = {
|
|
|
32
32
|
const DANGER = "var(--color-danger, #dc2626)";
|
|
33
33
|
var ButtonComponent = class ButtonComponent {
|
|
34
34
|
constructor() {
|
|
35
|
-
this.variant = input("primary", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
36
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
37
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
38
|
-
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] :
|
|
39
|
-
this.fullWidth = input(false, ...ngDevMode ? [{ debugName: "fullWidth" }] :
|
|
40
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
41
|
-
this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] :
|
|
42
|
-
this.form = input(null, ...ngDevMode ? [{ debugName: "form" }] :
|
|
43
|
-
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] :
|
|
44
|
-
this.target = input(null, ...ngDevMode ? [{ debugName: "target" }] :
|
|
45
|
-
this.rel = input(null, ...ngDevMode ? [{ debugName: "rel" }] :
|
|
35
|
+
this.variant = input("primary", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
36
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
37
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
38
|
+
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
39
|
+
this.fullWidth = input(false, ...ngDevMode ? [{ debugName: "fullWidth" }] : /* istanbul ignore next */ []);
|
|
40
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
41
|
+
this.type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
42
|
+
this.form = input(null, ...ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []);
|
|
43
|
+
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []);
|
|
44
|
+
this.target = input(null, ...ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []);
|
|
45
|
+
this.rel = input(null, ...ngDevMode ? [{ debugName: "rel" }] : /* istanbul ignore next */ []);
|
|
46
46
|
this.ariaLabel = input(null, {
|
|
47
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
47
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
48
48
|
alias: "aria-label"
|
|
49
49
|
});
|
|
50
50
|
this.pressed = output();
|
|
51
|
-
this.inactive = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "inactive" }] :
|
|
52
|
-
this.dim = computed(() => SIZE$6[this.size()], ...ngDevMode ? [{ debugName: "dim" }] :
|
|
51
|
+
this.inactive = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "inactive" }] : /* istanbul ignore next */ []);
|
|
52
|
+
this.dim = computed(() => SIZE$6[this.size()], ...ngDevMode ? [{ debugName: "dim" }] : /* istanbul ignore next */ []);
|
|
53
53
|
this.styles = computed(() => {
|
|
54
54
|
const accent = this.accent();
|
|
55
55
|
let bg;
|
|
@@ -83,7 +83,7 @@ var ButtonComponent = class ButtonComponent {
|
|
|
83
83
|
background: bg,
|
|
84
84
|
color: fg
|
|
85
85
|
};
|
|
86
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
86
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
87
87
|
}
|
|
88
88
|
handleClick(event) {
|
|
89
89
|
if (this.inactive()) {
|
|
@@ -415,17 +415,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
415
415
|
});
|
|
416
416
|
var ComparisonTableComponent = class ComparisonTableComponent {
|
|
417
417
|
constructor() {
|
|
418
|
-
this.columns = input.required(...ngDevMode ? [{ debugName: "columns" }] :
|
|
419
|
-
this.groups = input.required(...ngDevMode ? [{ debugName: "groups" }] :
|
|
420
|
-
this.caption = input("", ...ngDevMode ? [{ debugName: "caption" }] :
|
|
421
|
-
this.yesLabel = input("Yes", ...ngDevMode ? [{ debugName: "yesLabel" }] :
|
|
422
|
-
this.noLabel = input("No", ...ngDevMode ? [{ debugName: "noLabel" }] :
|
|
423
|
-
this.partialLabel = input("Partial", ...ngDevMode ? [{ debugName: "partialLabel" }] :
|
|
424
|
-
this.eyebrow = input("", ...ngDevMode ? [{ debugName: "eyebrow" }] :
|
|
425
|
-
this.heading = input("", ...ngDevMode ? [{ debugName: "heading" }] :
|
|
426
|
-
this.headingAccent = input("", ...ngDevMode ? [{ debugName: "headingAccent" }] :
|
|
427
|
-
this.lead = input("", ...ngDevMode ? [{ debugName: "lead" }] :
|
|
428
|
-
this.hasHeader = computed(() => !!(this.eyebrow() || this.heading() || this.lead()), ...ngDevMode ? [{ debugName: "hasHeader" }] :
|
|
418
|
+
this.columns = input.required(...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
|
|
419
|
+
this.groups = input.required(...ngDevMode ? [{ debugName: "groups" }] : /* istanbul ignore next */ []);
|
|
420
|
+
this.caption = input("", ...ngDevMode ? [{ debugName: "caption" }] : /* istanbul ignore next */ []);
|
|
421
|
+
this.yesLabel = input("Yes", ...ngDevMode ? [{ debugName: "yesLabel" }] : /* istanbul ignore next */ []);
|
|
422
|
+
this.noLabel = input("No", ...ngDevMode ? [{ debugName: "noLabel" }] : /* istanbul ignore next */ []);
|
|
423
|
+
this.partialLabel = input("Partial", ...ngDevMode ? [{ debugName: "partialLabel" }] : /* istanbul ignore next */ []);
|
|
424
|
+
this.eyebrow = input("", ...ngDevMode ? [{ debugName: "eyebrow" }] : /* istanbul ignore next */ []);
|
|
425
|
+
this.heading = input("", ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
426
|
+
this.headingAccent = input("", ...ngDevMode ? [{ debugName: "headingAccent" }] : /* istanbul ignore next */ []);
|
|
427
|
+
this.lead = input("", ...ngDevMode ? [{ debugName: "lead" }] : /* istanbul ignore next */ []);
|
|
428
|
+
this.hasHeader = computed(() => !!(this.eyebrow() || this.heading() || this.lead()), ...ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []);
|
|
429
429
|
this.headingParts = computed(() => {
|
|
430
430
|
const heading = this.heading();
|
|
431
431
|
const accent = this.headingAccent();
|
|
@@ -448,9 +448,9 @@ var ComparisonTableComponent = class ComparisonTableComponent {
|
|
|
448
448
|
accent: false
|
|
449
449
|
}
|
|
450
450
|
].filter((part) => part.text.length > 0);
|
|
451
|
-
}, ...ngDevMode ? [{ debugName: "headingParts" }] :
|
|
452
|
-
this.oursIndex = computed(() => this.columns().findIndex((c) => c.ours), ...ngDevMode ? [{ debugName: "oursIndex" }] :
|
|
453
|
-
this.accent = computed(() => this.columns().find((c) => c.ours)?.accent ?? "var(--color-ink, #1e293b)", ...ngDevMode ? [{ debugName: "accent" }] :
|
|
451
|
+
}, ...ngDevMode ? [{ debugName: "headingParts" }] : /* istanbul ignore next */ []);
|
|
452
|
+
this.oursIndex = computed(() => this.columns().findIndex((c) => c.ours), ...ngDevMode ? [{ debugName: "oursIndex" }] : /* istanbul ignore next */ []);
|
|
453
|
+
this.accent = computed(() => this.columns().find((c) => c.ours)?.accent ?? "var(--color-ink, #1e293b)", ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
454
454
|
}
|
|
455
455
|
cell(value) {
|
|
456
456
|
if (value === true) return {
|
|
@@ -840,9 +840,9 @@ const PADDING$1 = {
|
|
|
840
840
|
};
|
|
841
841
|
var CardComponent = class CardComponent {
|
|
842
842
|
constructor() {
|
|
843
|
-
this.padding = input("md", ...ngDevMode ? [{ debugName: "padding" }] :
|
|
844
|
-
this.variant = input("outlined", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
845
|
-
this.interactive = input(false, ...ngDevMode ? [{ debugName: "interactive" }] :
|
|
843
|
+
this.padding = input("md", ...ngDevMode ? [{ debugName: "padding" }] : /* istanbul ignore next */ []);
|
|
844
|
+
this.variant = input("outlined", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
845
|
+
this.interactive = input(false, ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
846
846
|
this.styles = computed(() => {
|
|
847
847
|
const variant = this.variant();
|
|
848
848
|
return {
|
|
@@ -852,7 +852,7 @@ var CardComponent = class CardComponent {
|
|
|
852
852
|
border: variant === "outlined" ? "1px solid var(--color-card-rule, rgba(30, 41, 59, 0.1))" : "1px solid transparent",
|
|
853
853
|
"box-shadow": variant === "raised" ? "0 1px 2px rgba(15, 23, 42, 0.06)" : null
|
|
854
854
|
};
|
|
855
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
855
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
856
856
|
}
|
|
857
857
|
static {
|
|
858
858
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -953,8 +953,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
953
953
|
});
|
|
954
954
|
var CardHeaderComponent = class CardHeaderComponent {
|
|
955
955
|
constructor() {
|
|
956
|
-
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] :
|
|
957
|
-
this.description = input(null, ...ngDevMode ? [{ debugName: "description" }] :
|
|
956
|
+
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
957
|
+
this.description = input(null, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
958
958
|
}
|
|
959
959
|
static {
|
|
960
960
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1056,8 +1056,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1056
1056
|
});
|
|
1057
1057
|
var DividerComponent = class DividerComponent {
|
|
1058
1058
|
constructor() {
|
|
1059
|
-
this.orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] :
|
|
1060
|
-
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] :
|
|
1059
|
+
this.orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
1060
|
+
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
1061
1061
|
}
|
|
1062
1062
|
static {
|
|
1063
1063
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1173,12 +1173,12 @@ const PADDING = {
|
|
|
1173
1173
|
};
|
|
1174
1174
|
var ContainerComponent = class ContainerComponent {
|
|
1175
1175
|
constructor() {
|
|
1176
|
-
this.size = input("lg", ...ngDevMode ? [{ debugName: "size" }] :
|
|
1177
|
-
this.padding = input("md", ...ngDevMode ? [{ debugName: "padding" }] :
|
|
1176
|
+
this.size = input("lg", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1177
|
+
this.padding = input("md", ...ngDevMode ? [{ debugName: "padding" }] : /* istanbul ignore next */ []);
|
|
1178
1178
|
this.styles = computed(() => ({
|
|
1179
1179
|
"max-width": MAX_WIDTH$1[this.size()],
|
|
1180
1180
|
padding: PADDING[this.padding()]
|
|
1181
|
-
}), ...ngDevMode ? [{ debugName: "styles" }] :
|
|
1181
|
+
}), ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
1182
1182
|
}
|
|
1183
1183
|
static {
|
|
1184
1184
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1274,9 +1274,9 @@ const SIZE$5 = {
|
|
|
1274
1274
|
};
|
|
1275
1275
|
var SpinnerComponent = class SpinnerComponent {
|
|
1276
1276
|
constructor() {
|
|
1277
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
1278
|
-
this.color = input("accent", ...ngDevMode ? [{ debugName: "color" }] :
|
|
1279
|
-
this.label = input("Loading…", ...ngDevMode ? [{ debugName: "label" }] :
|
|
1277
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1278
|
+
this.color = input("accent", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
1279
|
+
this.label = input("Loading…", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
1280
1280
|
this.styles = computed(() => {
|
|
1281
1281
|
const dim = SIZE$5[this.size()];
|
|
1282
1282
|
const ring = this.color() === "accent" ? "var(--color-accent, #e8733a)" : this.color() === "current" ? "currentColor" : "var(--color-ink-3, #64748b)";
|
|
@@ -1287,7 +1287,7 @@ var SpinnerComponent = class SpinnerComponent {
|
|
|
1287
1287
|
"border-color": ring,
|
|
1288
1288
|
"border-right-color": "transparent"
|
|
1289
1289
|
};
|
|
1290
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
1290
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
1291
1291
|
}
|
|
1292
1292
|
static {
|
|
1293
1293
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1392,9 +1392,9 @@ function toLength(value) {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
var SkeletonComponent = class SkeletonComponent {
|
|
1394
1394
|
constructor() {
|
|
1395
|
-
this.shape = input("rect", ...ngDevMode ? [{ debugName: "shape" }] :
|
|
1396
|
-
this.width = input(null, ...ngDevMode ? [{ debugName: "width" }] :
|
|
1397
|
-
this.height = input(null, ...ngDevMode ? [{ debugName: "height" }] :
|
|
1395
|
+
this.shape = input("rect", ...ngDevMode ? [{ debugName: "shape" }] : /* istanbul ignore next */ []);
|
|
1396
|
+
this.width = input(null, ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
|
|
1397
|
+
this.height = input(null, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
1398
1398
|
this.styles = computed(() => {
|
|
1399
1399
|
const shape = this.shape();
|
|
1400
1400
|
const w = this.width();
|
|
@@ -1404,7 +1404,7 @@ var SkeletonComponent = class SkeletonComponent {
|
|
|
1404
1404
|
width: w != null ? toLength(w) : shape === "circle" ? "32px" : "100%",
|
|
1405
1405
|
height: h != null ? toLength(h) : shape === "circle" ? "32px" : shape === "text" ? "12px" : "16px"
|
|
1406
1406
|
};
|
|
1407
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
1407
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
1408
1408
|
}
|
|
1409
1409
|
static {
|
|
1410
1410
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1523,12 +1523,12 @@ const TOKENS = {
|
|
|
1523
1523
|
};
|
|
1524
1524
|
var BannerComponent = class BannerComponent {
|
|
1525
1525
|
constructor() {
|
|
1526
|
-
this.variant = input("info", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
1527
|
-
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] :
|
|
1528
|
-
this.dismissible = input(false, ...ngDevMode ? [{ debugName: "dismissible" }] :
|
|
1526
|
+
this.variant = input("info", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
1527
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
1528
|
+
this.dismissible = input(false, ...ngDevMode ? [{ debugName: "dismissible" }] : /* istanbul ignore next */ []);
|
|
1529
1529
|
this.dismissed = output();
|
|
1530
|
-
this.hidden = signal(false, ...ngDevMode ? [{ debugName: "hidden" }] :
|
|
1531
|
-
this.tokens = computed(() => TOKENS[this.variant()], ...ngDevMode ? [{ debugName: "tokens" }] :
|
|
1530
|
+
this.hidden = signal(false, ...ngDevMode ? [{ debugName: "hidden" }] : /* istanbul ignore next */ []);
|
|
1531
|
+
this.tokens = computed(() => TOKENS[this.variant()], ...ngDevMode ? [{ debugName: "tokens" }] : /* istanbul ignore next */ []);
|
|
1532
1532
|
this.styles = computed(() => {
|
|
1533
1533
|
const t = this.tokens();
|
|
1534
1534
|
return {
|
|
@@ -1536,7 +1536,7 @@ var BannerComponent = class BannerComponent {
|
|
|
1536
1536
|
background: t.bg,
|
|
1537
1537
|
color: t.fg
|
|
1538
1538
|
};
|
|
1539
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
1539
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
1540
1540
|
}
|
|
1541
1541
|
dismiss() {
|
|
1542
1542
|
this.hidden.set(true);
|
|
@@ -1707,17 +1707,17 @@ const FILL = {
|
|
|
1707
1707
|
};
|
|
1708
1708
|
var ProgressBarComponent = class ProgressBarComponent {
|
|
1709
1709
|
constructor() {
|
|
1710
|
-
this.value = input(0, ...ngDevMode ? [{ debugName: "value" }] :
|
|
1711
|
-
this.max = input(100, ...ngDevMode ? [{ debugName: "max" }] :
|
|
1712
|
-
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] :
|
|
1713
|
-
this.showValue = input(false, ...ngDevMode ? [{ debugName: "showValue" }] :
|
|
1714
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
1715
|
-
this.variant = input("accent", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
1716
|
-
this.indeterminate = input(false, ...ngDevMode ? [{ debugName: "indeterminate" }] :
|
|
1717
|
-
this.pct = computed(() => Math.max(0, Math.min(100, this.value() / this.max() * 100)), ...ngDevMode ? [{ debugName: "pct" }] :
|
|
1718
|
-
this.displayValue = computed(() => this.showValue() ? `${Math.round(this.pct())}%` : null, ...ngDevMode ? [{ debugName: "displayValue" }] :
|
|
1719
|
-
this.height = computed(() => HEIGHT[this.size()], ...ngDevMode ? [{ debugName: "height" }] :
|
|
1720
|
-
this.fill = computed(() => FILL[this.variant()], ...ngDevMode ? [{ debugName: "fill" }] :
|
|
1710
|
+
this.value = input(0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
1711
|
+
this.max = input(100, ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
|
|
1712
|
+
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
1713
|
+
this.showValue = input(false, ...ngDevMode ? [{ debugName: "showValue" }] : /* istanbul ignore next */ []);
|
|
1714
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1715
|
+
this.variant = input("accent", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
1716
|
+
this.indeterminate = input(false, ...ngDevMode ? [{ debugName: "indeterminate" }] : /* istanbul ignore next */ []);
|
|
1717
|
+
this.pct = computed(() => Math.max(0, Math.min(100, this.value() / this.max() * 100)), ...ngDevMode ? [{ debugName: "pct" }] : /* istanbul ignore next */ []);
|
|
1718
|
+
this.displayValue = computed(() => this.showValue() ? `${Math.round(this.pct())}%` : null, ...ngDevMode ? [{ debugName: "displayValue" }] : /* istanbul ignore next */ []);
|
|
1719
|
+
this.height = computed(() => HEIGHT[this.size()], ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
1720
|
+
this.fill = computed(() => FILL[this.variant()], ...ngDevMode ? [{ debugName: "fill" }] : /* istanbul ignore next */ []);
|
|
1721
1721
|
}
|
|
1722
1722
|
static {
|
|
1723
1723
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -1954,26 +1954,26 @@ const SIZE$4 = {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
var TagComponent = class TagComponent {
|
|
1956
1956
|
constructor() {
|
|
1957
|
-
this.variant = input(null, ...ngDevMode ? [{ debugName: "variant" }] :
|
|
1958
|
-
this.color = input(null, ...ngDevMode ? [{ debugName: "color" }] :
|
|
1959
|
-
this.soft = input(false, ...ngDevMode ? [{ debugName: "soft" }] :
|
|
1960
|
-
this.dot = input(true, ...ngDevMode ? [{ debugName: "dot" }] :
|
|
1961
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
1962
|
-
this.removable = input(false, ...ngDevMode ? [{ debugName: "removable" }] :
|
|
1957
|
+
this.variant = input(null, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
1958
|
+
this.color = input(null, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
1959
|
+
this.soft = input(false, ...ngDevMode ? [{ debugName: "soft" }] : /* istanbul ignore next */ []);
|
|
1960
|
+
this.dot = input(true, ...ngDevMode ? [{ debugName: "dot" }] : /* istanbul ignore next */ []);
|
|
1961
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1962
|
+
this.removable = input(false, ...ngDevMode ? [{ debugName: "removable" }] : /* istanbul ignore next */ []);
|
|
1963
1963
|
this.removed = output();
|
|
1964
|
-
this.dim = computed(() => SIZE$4[this.size()], ...ngDevMode ? [{ debugName: "dim" }] :
|
|
1964
|
+
this.dim = computed(() => SIZE$4[this.size()], ...ngDevMode ? [{ debugName: "dim" }] : /* istanbul ignore next */ []);
|
|
1965
1965
|
this.resolvedColor = computed(() => {
|
|
1966
1966
|
const explicit = this.color();
|
|
1967
1967
|
if (explicit) return explicit;
|
|
1968
1968
|
const variant = this.variant();
|
|
1969
1969
|
return variant ? VARIANT_COLOR[variant] : VARIANT_COLOR.neutral;
|
|
1970
|
-
}, ...ngDevMode ? [{ debugName: "resolvedColor" }] :
|
|
1970
|
+
}, ...ngDevMode ? [{ debugName: "resolvedColor" }] : /* istanbul ignore next */ []);
|
|
1971
1971
|
this.resolvedTextColor = computed(() => {
|
|
1972
1972
|
const explicit = this.color();
|
|
1973
1973
|
if (explicit) return explicit;
|
|
1974
1974
|
const variant = this.variant();
|
|
1975
1975
|
return variant ? VARIANT_TEXT[variant] : VARIANT_TEXT.neutral;
|
|
1976
|
-
}, ...ngDevMode ? [{ debugName: "resolvedTextColor" }] :
|
|
1976
|
+
}, ...ngDevMode ? [{ debugName: "resolvedTextColor" }] : /* istanbul ignore next */ []);
|
|
1977
1977
|
this.styles = computed(() => {
|
|
1978
1978
|
const dim = this.dim();
|
|
1979
1979
|
const c = this.resolvedColor();
|
|
@@ -1985,7 +1985,7 @@ var TagComponent = class TagComponent {
|
|
|
1985
1985
|
border: this.soft() ? "none" : "1px solid var(--color-rule, rgba(30, 41, 59, 0.14))",
|
|
1986
1986
|
color: this.resolvedTextColor()
|
|
1987
1987
|
};
|
|
1988
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
1988
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
1989
1989
|
this.dotStyles = computed(() => {
|
|
1990
1990
|
const dim = this.dim();
|
|
1991
1991
|
return {
|
|
@@ -1993,7 +1993,7 @@ var TagComponent = class TagComponent {
|
|
|
1993
1993
|
height: `${dim.dot}px`,
|
|
1994
1994
|
background: this.resolvedColor()
|
|
1995
1995
|
};
|
|
1996
|
-
}, ...ngDevMode ? [{ debugName: "dotStyles" }] :
|
|
1996
|
+
}, ...ngDevMode ? [{ debugName: "dotStyles" }] : /* istanbul ignore next */ []);
|
|
1997
1997
|
}
|
|
1998
1998
|
remove(event) {
|
|
1999
1999
|
event.stopPropagation();
|
|
@@ -2194,25 +2194,25 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2194
2194
|
});
|
|
2195
2195
|
var StatComponent = class StatComponent {
|
|
2196
2196
|
constructor() {
|
|
2197
|
-
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] :
|
|
2198
|
-
this.value = input.required(...ngDevMode ? [{ debugName: "value" }] :
|
|
2199
|
-
this.delta = input(null, ...ngDevMode ? [{ debugName: "delta" }] :
|
|
2200
|
-
this.deltaType = input("flat", ...ngDevMode ? [{ debugName: "deltaType" }] :
|
|
2201
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
2197
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
2198
|
+
this.value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2199
|
+
this.delta = input(null, ...ngDevMode ? [{ debugName: "delta" }] : /* istanbul ignore next */ []);
|
|
2200
|
+
this.deltaType = input("flat", ...ngDevMode ? [{ debugName: "deltaType" }] : /* istanbul ignore next */ []);
|
|
2201
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
2202
2202
|
this.deltaColor = computed(() => {
|
|
2203
2203
|
switch (this.deltaType()) {
|
|
2204
2204
|
case "up": return this.accent() ?? "var(--color-accent, var(--accent, var(--color-ferrlabs-slate, #1e293b)))";
|
|
2205
2205
|
case "down": return "var(--color-danger, #dc2626)";
|
|
2206
2206
|
default: return "var(--color-fg-3, var(--color-ink-3, #64748b))";
|
|
2207
2207
|
}
|
|
2208
|
-
}, ...ngDevMode ? [{ debugName: "deltaColor" }] :
|
|
2208
|
+
}, ...ngDevMode ? [{ debugName: "deltaColor" }] : /* istanbul ignore next */ []);
|
|
2209
2209
|
this.deltaSymbol = computed(() => {
|
|
2210
2210
|
switch (this.deltaType()) {
|
|
2211
2211
|
case "up": return "↑";
|
|
2212
2212
|
case "down": return "↓";
|
|
2213
2213
|
default: return "·";
|
|
2214
2214
|
}
|
|
2215
|
-
}, ...ngDevMode ? [{ debugName: "deltaSymbol" }] :
|
|
2215
|
+
}, ...ngDevMode ? [{ debugName: "deltaSymbol" }] : /* istanbul ignore next */ []);
|
|
2216
2216
|
}
|
|
2217
2217
|
static {
|
|
2218
2218
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -2377,33 +2377,33 @@ const SIZE$3 = {
|
|
|
2377
2377
|
const ERROR$2 = "var(--color-danger, #dc2626)";
|
|
2378
2378
|
var InputComponent = class InputComponent {
|
|
2379
2379
|
constructor() {
|
|
2380
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
2381
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
2382
|
-
this.type = input("text", ...ngDevMode ? [{ debugName: "type" }] :
|
|
2383
|
-
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
2384
|
-
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] :
|
|
2385
|
-
this.autocomplete = input(null, ...ngDevMode ? [{ debugName: "autocomplete" }] :
|
|
2380
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
2381
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
2382
|
+
this.type = input("text", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
2383
|
+
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
2384
|
+
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
2385
|
+
this.autocomplete = input(null, ...ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []);
|
|
2386
2386
|
this.inputMode = input(null, {
|
|
2387
|
-
...ngDevMode ? { debugName: "inputMode" } :
|
|
2387
|
+
...ngDevMode ? { debugName: "inputMode" } : /* istanbul ignore next */ {},
|
|
2388
2388
|
alias: "inputmode"
|
|
2389
2389
|
});
|
|
2390
|
-
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] :
|
|
2391
|
-
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] :
|
|
2390
|
+
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []);
|
|
2391
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
2392
2392
|
this.inputId = input(null, {
|
|
2393
|
-
...ngDevMode ? { debugName: "inputId" } :
|
|
2393
|
+
...ngDevMode ? { debugName: "inputId" } : /* istanbul ignore next */ {},
|
|
2394
2394
|
alias: "id"
|
|
2395
2395
|
});
|
|
2396
2396
|
this.ariaLabel = input(null, {
|
|
2397
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
2397
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
2398
2398
|
alias: "aria-label"
|
|
2399
2399
|
});
|
|
2400
2400
|
this.describedBy = input(null, {
|
|
2401
|
-
...ngDevMode ? { debugName: "describedBy" } :
|
|
2401
|
+
...ngDevMode ? { debugName: "describedBy" } : /* istanbul ignore next */ {},
|
|
2402
2402
|
alias: "aria-describedby"
|
|
2403
2403
|
});
|
|
2404
|
-
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
2405
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
2406
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
2404
|
+
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2405
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
2406
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
2407
2407
|
this.onChange = () => {};
|
|
2408
2408
|
this.onTouched = () => {};
|
|
2409
2409
|
this.styles = computed(() => {
|
|
@@ -2420,7 +2420,7 @@ var InputComponent = class InputComponent {
|
|
|
2420
2420
|
cursor: this.disabled() ? "not-allowed" : "text",
|
|
2421
2421
|
opacity: this.disabled() ? "0.65" : "1"
|
|
2422
2422
|
};
|
|
2423
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
2423
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
2424
2424
|
}
|
|
2425
2425
|
writeValue(value) {
|
|
2426
2426
|
this.value.set(value ?? "");
|
|
@@ -2722,27 +2722,27 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2722
2722
|
const ERROR$1 = "var(--color-danger, #dc2626)";
|
|
2723
2723
|
var TextareaComponent = class TextareaComponent {
|
|
2724
2724
|
constructor() {
|
|
2725
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
2726
|
-
this.rows = input(4, ...ngDevMode ? [{ debugName: "rows" }] :
|
|
2727
|
-
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
2728
|
-
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] :
|
|
2729
|
-
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] :
|
|
2730
|
-
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] :
|
|
2725
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
2726
|
+
this.rows = input(4, ...ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []);
|
|
2727
|
+
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
2728
|
+
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
2729
|
+
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []);
|
|
2730
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
2731
2731
|
this.textareaId = input(null, {
|
|
2732
|
-
...ngDevMode ? { debugName: "textareaId" } :
|
|
2732
|
+
...ngDevMode ? { debugName: "textareaId" } : /* istanbul ignore next */ {},
|
|
2733
2733
|
alias: "id"
|
|
2734
2734
|
});
|
|
2735
2735
|
this.ariaLabel = input(null, {
|
|
2736
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
2736
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
2737
2737
|
alias: "aria-label"
|
|
2738
2738
|
});
|
|
2739
2739
|
this.describedBy = input(null, {
|
|
2740
|
-
...ngDevMode ? { debugName: "describedBy" } :
|
|
2740
|
+
...ngDevMode ? { debugName: "describedBy" } : /* istanbul ignore next */ {},
|
|
2741
2741
|
alias: "aria-describedby"
|
|
2742
2742
|
});
|
|
2743
|
-
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
2744
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
2745
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
2743
|
+
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2744
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
2745
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
2746
2746
|
this.onChange = () => {};
|
|
2747
2747
|
this.onTouched = () => {};
|
|
2748
2748
|
this.styles = computed(() => {
|
|
@@ -2755,7 +2755,7 @@ var TextareaComponent = class TextareaComponent {
|
|
|
2755
2755
|
cursor: this.disabled() ? "not-allowed" : "text",
|
|
2756
2756
|
opacity: this.disabled() ? "0.65" : "1"
|
|
2757
2757
|
};
|
|
2758
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
2758
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
2759
2759
|
}
|
|
2760
2760
|
writeValue(value) {
|
|
2761
2761
|
this.value.set(value ?? "");
|
|
@@ -3049,51 +3049,51 @@ function segmentsFor(value, diagnostics) {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
var AnnotatedTextareaComponent = class AnnotatedTextareaComponent {
|
|
3051
3051
|
constructor() {
|
|
3052
|
-
this.diagnostics = input([], ...ngDevMode ? [{ debugName: "diagnostics" }] :
|
|
3052
|
+
this.diagnostics = input([], ...ngDevMode ? [{ debugName: "diagnostics" }] : /* istanbul ignore next */ []);
|
|
3053
3053
|
this.rows_ = input(8, {
|
|
3054
|
-
...ngDevMode ? { debugName: "rows_" } :
|
|
3054
|
+
...ngDevMode ? { debugName: "rows_" } : /* istanbul ignore next */ {},
|
|
3055
3055
|
alias: "rows"
|
|
3056
3056
|
});
|
|
3057
|
-
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
3058
|
-
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] :
|
|
3059
|
-
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] :
|
|
3060
|
-
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] :
|
|
3057
|
+
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
3058
|
+
this.name = input(null, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
3059
|
+
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []);
|
|
3060
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
3061
3061
|
this.textareaId = input(null, {
|
|
3062
|
-
...ngDevMode ? { debugName: "textareaId" } :
|
|
3062
|
+
...ngDevMode ? { debugName: "textareaId" } : /* istanbul ignore next */ {},
|
|
3063
3063
|
alias: "id"
|
|
3064
3064
|
});
|
|
3065
3065
|
this.ariaLabel = input(null, {
|
|
3066
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
3066
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
3067
3067
|
alias: "aria-label"
|
|
3068
3068
|
});
|
|
3069
3069
|
this.describedBy = input(null, {
|
|
3070
|
-
...ngDevMode ? { debugName: "describedBy" } :
|
|
3070
|
+
...ngDevMode ? { debugName: "describedBy" } : /* istanbul ignore next */ {},
|
|
3071
3071
|
alias: "aria-describedby"
|
|
3072
3072
|
});
|
|
3073
|
-
this.bubbleEl = viewChild("bubbleEl", ...ngDevMode ? [{ debugName: "bubbleEl" }] :
|
|
3074
|
-
this.mirror = viewChild.required("mirror", ...ngDevMode ? [{ debugName: "mirror" }] :
|
|
3075
|
-
this.editor = viewChild.required("editor", ...ngDevMode ? [{ debugName: "editor" }] :
|
|
3076
|
-
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
3077
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
3078
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
3079
|
-
this.bubble = signal(null, ...ngDevMode ? [{ debugName: "bubble" }] :
|
|
3080
|
-
this.segments = computed(() => segmentsFor(this.value(), this.diagnostics()), ...ngDevMode ? [{ debugName: "segments" }] :
|
|
3073
|
+
this.bubbleEl = viewChild("bubbleEl", ...ngDevMode ? [{ debugName: "bubbleEl" }] : /* istanbul ignore next */ []);
|
|
3074
|
+
this.mirror = viewChild.required("mirror", ...ngDevMode ? [{ debugName: "mirror" }] : /* istanbul ignore next */ []);
|
|
3075
|
+
this.editor = viewChild.required("editor", ...ngDevMode ? [{ debugName: "editor" }] : /* istanbul ignore next */ []);
|
|
3076
|
+
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
3077
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
3078
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
3079
|
+
this.bubble = signal(null, ...ngDevMode ? [{ debugName: "bubble" }] : /* istanbul ignore next */ []);
|
|
3080
|
+
this.segments = computed(() => segmentsFor(this.value(), this.diagnostics()), ...ngDevMode ? [{ debugName: "segments" }] : /* istanbul ignore next */ []);
|
|
3081
3081
|
this.listId = `flr-at-diagnostics-${++sequence}`;
|
|
3082
3082
|
this.shown = computed(() => {
|
|
3083
3083
|
const seen = /* @__PURE__ */ new Set();
|
|
3084
3084
|
for (const seg of this.segments()) if (seg.diagnostic) seen.add(seg.diagnostic);
|
|
3085
3085
|
return [...seen];
|
|
3086
|
-
}, ...ngDevMode ? [{ debugName: "shown" }] :
|
|
3087
|
-
this.hasErrors = computed(() => this.shown().some((d) => d.severity !== "warning"), ...ngDevMode ? [{ debugName: "hasErrors" }] :
|
|
3086
|
+
}, ...ngDevMode ? [{ debugName: "shown" }] : /* istanbul ignore next */ []);
|
|
3087
|
+
this.hasErrors = computed(() => this.shown().some((d) => d.severity !== "warning"), ...ngDevMode ? [{ debugName: "hasErrors" }] : /* istanbul ignore next */ []);
|
|
3088
3088
|
this.describedByAttr = computed(() => {
|
|
3089
3089
|
const outer = this.describedBy();
|
|
3090
3090
|
return outer ? `${outer} ${this.listId}` : this.listId;
|
|
3091
|
-
}, ...ngDevMode ? [{ debugName: "describedByAttr" }] :
|
|
3091
|
+
}, ...ngDevMode ? [{ debugName: "describedByAttr" }] : /* istanbul ignore next */ []);
|
|
3092
3092
|
this.srSummary = computed(() => {
|
|
3093
3093
|
const count = this.shown().length;
|
|
3094
3094
|
if (count === 0) return "";
|
|
3095
3095
|
return count === 1 ? "1 problem found" : `${count} problems found`;
|
|
3096
|
-
}, ...ngDevMode ? [{ debugName: "srSummary" }] :
|
|
3096
|
+
}, ...ngDevMode ? [{ debugName: "srSummary" }] : /* istanbul ignore next */ []);
|
|
3097
3097
|
this.frameStyles = computed(() => {
|
|
3098
3098
|
const border = this.hasErrors() ? "var(--color-danger, #dc2626)" : this.focused() ? "var(--color-accent, var(--color-ink, #1e293b))" : "var(--color-rule-strong, rgba(30, 41, 59, 0.28))";
|
|
3099
3099
|
const ring = this.hasErrors() ? "color-mix(in oklab, var(--color-danger, #dc2626) 25%, transparent)" : "color-mix(in oklab, var(--color-accent, var(--color-ink, #1e293b)) 30%, transparent)";
|
|
@@ -3103,7 +3103,7 @@ var AnnotatedTextareaComponent = class AnnotatedTextareaComponent {
|
|
|
3103
3103
|
"box-shadow": this.focused() ? `0 0 0 3px ${ring}` : null,
|
|
3104
3104
|
opacity: this.disabled() ? "0.65" : "1"
|
|
3105
3105
|
};
|
|
3106
|
-
}, ...ngDevMode ? [{ debugName: "frameStyles" }] :
|
|
3106
|
+
}, ...ngDevMode ? [{ debugName: "frameStyles" }] : /* istanbul ignore next */ []);
|
|
3107
3107
|
this.frame = 0;
|
|
3108
3108
|
this.onChange = () => {};
|
|
3109
3109
|
this.onTouched = () => {};
|
|
@@ -3578,12 +3578,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3578
3578
|
let fieldCounter = 0;
|
|
3579
3579
|
var FieldComponent = class FieldComponent {
|
|
3580
3580
|
constructor() {
|
|
3581
|
-
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] :
|
|
3582
|
-
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] :
|
|
3583
|
-
this.error = input(null, ...ngDevMode ? [{ debugName: "error" }] :
|
|
3584
|
-
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] :
|
|
3585
|
-
this.optional = input(false, ...ngDevMode ? [{ debugName: "optional" }] :
|
|
3586
|
-
this.optionalLabel = input("optional", ...ngDevMode ? [{ debugName: "optionalLabel" }] :
|
|
3581
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
3582
|
+
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
3583
|
+
this.error = input(null, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
3584
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
3585
|
+
this.optional = input(false, ...ngDevMode ? [{ debugName: "optional" }] : /* istanbul ignore next */ []);
|
|
3586
|
+
this.optionalLabel = input("optional", ...ngDevMode ? [{ debugName: "optionalLabel" }] : /* istanbul ignore next */ []);
|
|
3587
3587
|
this.host = inject(ElementRef);
|
|
3588
3588
|
this.fieldId = `flr-field-${++fieldCounter}`;
|
|
3589
3589
|
this.hintId = `${this.fieldId}-hint`;
|
|
@@ -3592,11 +3592,11 @@ var FieldComponent = class FieldComponent {
|
|
|
3592
3592
|
if (this.error()) return this.errorId;
|
|
3593
3593
|
if (this.hint()) return this.hintId;
|
|
3594
3594
|
return null;
|
|
3595
|
-
}, ...ngDevMode ? [{ debugName: "describedBy" }] :
|
|
3595
|
+
}, ...ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []);
|
|
3596
3596
|
this.invalid = computed(() => {
|
|
3597
3597
|
const error = this.error();
|
|
3598
3598
|
return error != null && error !== "";
|
|
3599
|
-
}, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
3599
|
+
}, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
3600
3600
|
afterRenderEffect(() => {
|
|
3601
3601
|
const describedBy = this.describedBy();
|
|
3602
3602
|
const control = this.host.nativeElement.querySelector("input, textarea, select");
|
|
@@ -3789,18 +3789,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3789
3789
|
});
|
|
3790
3790
|
var CheckboxComponent = class CheckboxComponent {
|
|
3791
3791
|
constructor() {
|
|
3792
|
-
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] :
|
|
3793
|
-
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] :
|
|
3794
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
3795
|
-
this.indeterminate = input(false, ...ngDevMode ? [{ debugName: "indeterminate" }] :
|
|
3792
|
+
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
3793
|
+
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
3794
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
3795
|
+
this.indeterminate = input(false, ...ngDevMode ? [{ debugName: "indeterminate" }] : /* istanbul ignore next */ []);
|
|
3796
3796
|
this.inputId = input(null, {
|
|
3797
|
-
...ngDevMode ? { debugName: "inputId" } :
|
|
3797
|
+
...ngDevMode ? { debugName: "inputId" } : /* istanbul ignore next */ {},
|
|
3798
3798
|
alias: "id"
|
|
3799
3799
|
});
|
|
3800
|
-
this.checked = signal(false, ...ngDevMode ? [{ debugName: "checked" }] :
|
|
3801
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
3802
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
3803
|
-
this.isOn = computed(() => this.checked() || this.indeterminate(), ...ngDevMode ? [{ debugName: "isOn" }] :
|
|
3800
|
+
this.checked = signal(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
3801
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
3802
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
3803
|
+
this.isOn = computed(() => this.checked() || this.indeterminate(), ...ngDevMode ? [{ debugName: "isOn" }] : /* istanbul ignore next */ []);
|
|
3804
3804
|
this.onChange = () => {};
|
|
3805
3805
|
this.onTouched = () => {};
|
|
3806
3806
|
}
|
|
@@ -4046,13 +4046,13 @@ const SIZE$2 = {
|
|
|
4046
4046
|
};
|
|
4047
4047
|
var SwitchComponent = class SwitchComponent {
|
|
4048
4048
|
constructor() {
|
|
4049
|
-
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] :
|
|
4050
|
-
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] :
|
|
4051
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
4052
|
-
this.checked = signal(false, ...ngDevMode ? [{ debugName: "checked" }] :
|
|
4053
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
4054
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
4055
|
-
this.dim = computed(() => SIZE$2[this.size()], ...ngDevMode ? [{ debugName: "dim" }] :
|
|
4049
|
+
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
4050
|
+
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
4051
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
4052
|
+
this.checked = signal(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
4053
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
4054
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
4055
|
+
this.dim = computed(() => SIZE$2[this.size()], ...ngDevMode ? [{ debugName: "dim" }] : /* istanbul ignore next */ []);
|
|
4056
4056
|
this.onChange = () => {};
|
|
4057
4057
|
this.onTouched = () => {};
|
|
4058
4058
|
this.trackStyles = computed(() => {
|
|
@@ -4063,7 +4063,7 @@ var SwitchComponent = class SwitchComponent {
|
|
|
4063
4063
|
background: this.checked() ? "var(--color-accent, var(--color-ink, #1e293b))" : "var(--color-rule-strong, rgba(30, 41, 59, 0.28))",
|
|
4064
4064
|
"box-shadow": this.focused() ? "0 0 0 3px color-mix(in oklab, var(--color-accent, var(--color-ink, #1e293b)) 30%, transparent)" : null
|
|
4065
4065
|
};
|
|
4066
|
-
}, ...ngDevMode ? [{ debugName: "trackStyles" }] :
|
|
4066
|
+
}, ...ngDevMode ? [{ debugName: "trackStyles" }] : /* istanbul ignore next */ []);
|
|
4067
4067
|
this.thumbStyles = computed(() => {
|
|
4068
4068
|
const d = this.dim();
|
|
4069
4069
|
const x = this.checked() ? d.trackW - d.thumb - d.offset - 2 : d.offset;
|
|
@@ -4072,7 +4072,7 @@ var SwitchComponent = class SwitchComponent {
|
|
|
4072
4072
|
height: `${d.thumb}px`,
|
|
4073
4073
|
transform: `translateX(${x}px)`
|
|
4074
4074
|
};
|
|
4075
|
-
}, ...ngDevMode ? [{ debugName: "thumbStyles" }] :
|
|
4075
|
+
}, ...ngDevMode ? [{ debugName: "thumbStyles" }] : /* istanbul ignore next */ []);
|
|
4076
4076
|
}
|
|
4077
4077
|
writeValue(value) {
|
|
4078
4078
|
this.checked.set(!!value);
|
|
@@ -4282,19 +4282,19 @@ const SIZE$1 = {
|
|
|
4282
4282
|
const ERROR = "var(--color-danger, #dc2626)";
|
|
4283
4283
|
var SelectComponent = class SelectComponent {
|
|
4284
4284
|
constructor() {
|
|
4285
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
4286
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
4285
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
4286
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
4287
4287
|
this.selectId = input(null, {
|
|
4288
|
-
...ngDevMode ? { debugName: "selectId" } :
|
|
4288
|
+
...ngDevMode ? { debugName: "selectId" } : /* istanbul ignore next */ {},
|
|
4289
4289
|
alias: "id"
|
|
4290
4290
|
});
|
|
4291
4291
|
this.ariaLabel = input(null, {
|
|
4292
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
4292
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
4293
4293
|
alias: "aria-label"
|
|
4294
4294
|
});
|
|
4295
|
-
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
4296
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
4297
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
4295
|
+
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
4296
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
4297
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
4298
4298
|
this.onChange = () => {};
|
|
4299
4299
|
this.onTouched = () => {};
|
|
4300
4300
|
this.styles = computed(() => {
|
|
@@ -4314,7 +4314,7 @@ var SelectComponent = class SelectComponent {
|
|
|
4314
4314
|
cursor: this.disabled() ? "not-allowed" : "pointer",
|
|
4315
4315
|
opacity: this.disabled() ? "0.65" : "1"
|
|
4316
4316
|
};
|
|
4317
|
-
}, ...ngDevMode ? [{ debugName: "styles" }] :
|
|
4317
|
+
}, ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
|
|
4318
4318
|
}
|
|
4319
4319
|
writeValue(value) {
|
|
4320
4320
|
this.value.set(value ?? "");
|
|
@@ -4483,25 +4483,25 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4483
4483
|
});
|
|
4484
4484
|
var MultiSelectComponent = class MultiSelectComponent {
|
|
4485
4485
|
constructor() {
|
|
4486
|
-
this.options = input.required(...ngDevMode ? [{ debugName: "options" }] :
|
|
4487
|
-
this.label = input("Options", ...ngDevMode ? [{ debugName: "label" }] :
|
|
4488
|
-
this.searchable = input(true, ...ngDevMode ? [{ debugName: "searchable" }] :
|
|
4489
|
-
this.searchPlaceholder = input("Filter…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] :
|
|
4490
|
-
this.searchLabel = input("Filter options", ...ngDevMode ? [{ debugName: "searchLabel" }] :
|
|
4491
|
-
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] :
|
|
4492
|
-
this.loadingText = input("Loading…", ...ngDevMode ? [{ debugName: "loadingText" }] :
|
|
4493
|
-
this.emptyText = input("Nothing to choose from.", ...ngDevMode ? [{ debugName: "emptyText" }] :
|
|
4494
|
-
this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] :
|
|
4495
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
4496
|
-
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] :
|
|
4497
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
4498
|
-
this.selected = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "selected" }] :
|
|
4486
|
+
this.options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
4487
|
+
this.label = input("Options", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
4488
|
+
this.searchable = input(true, ...ngDevMode ? [{ debugName: "searchable" }] : /* istanbul ignore next */ []);
|
|
4489
|
+
this.searchPlaceholder = input("Filter…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
4490
|
+
this.searchLabel = input("Filter options", ...ngDevMode ? [{ debugName: "searchLabel" }] : /* istanbul ignore next */ []);
|
|
4491
|
+
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
4492
|
+
this.loadingText = input("Loading…", ...ngDevMode ? [{ debugName: "loadingText" }] : /* istanbul ignore next */ []);
|
|
4493
|
+
this.emptyText = input("Nothing to choose from.", ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
4494
|
+
this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] : /* istanbul ignore next */ []);
|
|
4495
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
4496
|
+
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
|
|
4497
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
4498
|
+
this.selected = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
4499
4499
|
this.visible = computed(() => {
|
|
4500
4500
|
const q = this.query().trim().toLowerCase();
|
|
4501
4501
|
if (!q) return this.options();
|
|
4502
4502
|
return this.options().filter((o) => o.label.toLowerCase().includes(q) || (o.hint?.toLowerCase().includes(q) ?? false));
|
|
4503
|
-
}, ...ngDevMode ? [{ debugName: "visible" }] :
|
|
4504
|
-
this.selectedCount = computed(() => this.selected().size, ...ngDevMode ? [{ debugName: "selectedCount" }] :
|
|
4503
|
+
}, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
4504
|
+
this.selectedCount = computed(() => this.selected().size, ...ngDevMode ? [{ debugName: "selectedCount" }] : /* istanbul ignore next */ []);
|
|
4505
4505
|
this.onChange = () => {};
|
|
4506
4506
|
this.onTouched = () => {};
|
|
4507
4507
|
}
|
|
@@ -4865,17 +4865,17 @@ function niceCeil(raw) {
|
|
|
4865
4865
|
}
|
|
4866
4866
|
var BarChartComponent = class BarChartComponent {
|
|
4867
4867
|
constructor() {
|
|
4868
|
-
this.points = input.required(...ngDevMode ? [{ debugName: "points" }] :
|
|
4869
|
-
this.title = input("", ...ngDevMode ? [{ debugName: "title" }] :
|
|
4870
|
-
this.summary = input("", ...ngDevMode ? [{ debugName: "summary" }] :
|
|
4871
|
-
this.color = input("var(--flr-accent, #f59e0b)", ...ngDevMode ? [{ debugName: "color" }] :
|
|
4872
|
-
this.height = input(96, ...ngDevMode ? [{ debugName: "height" }] :
|
|
4873
|
-
this.labelEvery = input(7, ...ngDevMode ? [{ debugName: "labelEvery" }] :
|
|
4874
|
-
this.emptyText = input("No data yet.", ...ngDevMode ? [{ debugName: "emptyText" }] :
|
|
4875
|
-
this.format = input((v) => `${v}`, ...ngDevMode ? [{ debugName: "format" }] :
|
|
4876
|
-
this.dangerLabel = input("of which failed", ...ngDevMode ? [{ debugName: "dangerLabel" }] :
|
|
4877
|
-
this.hover = signal(-1, ...ngDevMode ? [{ debugName: "hover" }] :
|
|
4878
|
-
this.max = computed(() => niceCeil(Math.max(1, ...this.points().map((p) => p.value))), ...ngDevMode ? [{ debugName: "max" }] :
|
|
4868
|
+
this.points = input.required(...ngDevMode ? [{ debugName: "points" }] : /* istanbul ignore next */ []);
|
|
4869
|
+
this.title = input("", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
4870
|
+
this.summary = input("", ...ngDevMode ? [{ debugName: "summary" }] : /* istanbul ignore next */ []);
|
|
4871
|
+
this.color = input("var(--flr-accent, #f59e0b)", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
4872
|
+
this.height = input(96, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
4873
|
+
this.labelEvery = input(7, ...ngDevMode ? [{ debugName: "labelEvery" }] : /* istanbul ignore next */ []);
|
|
4874
|
+
this.emptyText = input("No data yet.", ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
4875
|
+
this.format = input((v) => `${v}`, ...ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []);
|
|
4876
|
+
this.dangerLabel = input("of which failed", ...ngDevMode ? [{ debugName: "dangerLabel" }] : /* istanbul ignore next */ []);
|
|
4877
|
+
this.hover = signal(-1, ...ngDevMode ? [{ debugName: "hover" }] : /* istanbul ignore next */ []);
|
|
4878
|
+
this.max = computed(() => niceCeil(Math.max(1, ...this.points().map((p) => p.value))), ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
|
|
4879
4879
|
this.ticks = computed(() => {
|
|
4880
4880
|
const max = this.max();
|
|
4881
4881
|
const fmt = this.format();
|
|
@@ -4887,8 +4887,8 @@ var BarChartComponent = class BarChartComponent {
|
|
|
4887
4887
|
at: f * 100,
|
|
4888
4888
|
text: fmt(max * f)
|
|
4889
4889
|
}));
|
|
4890
|
-
}, ...ngDevMode ? [{ debugName: "ticks" }] :
|
|
4891
|
-
this.widestTick = computed(() => this.ticks().reduce((a, t) => t.text.length > a.length ? t.text : a, ""), ...ngDevMode ? [{ debugName: "widestTick" }] :
|
|
4890
|
+
}, ...ngDevMode ? [{ debugName: "ticks" }] : /* istanbul ignore next */ []);
|
|
4891
|
+
this.widestTick = computed(() => this.ticks().reduce((a, t) => t.text.length > a.length ? t.text : a, ""), ...ngDevMode ? [{ debugName: "widestTick" }] : /* istanbul ignore next */ []);
|
|
4892
4892
|
this.bars = computed(() => {
|
|
4893
4893
|
const pts = this.points();
|
|
4894
4894
|
const max = this.max();
|
|
@@ -4916,7 +4916,7 @@ var BarChartComponent = class BarChartComponent {
|
|
|
4916
4916
|
].filter(Boolean).join(", ")
|
|
4917
4917
|
};
|
|
4918
4918
|
});
|
|
4919
|
-
}, ...ngDevMode ? [{ debugName: "bars" }] :
|
|
4919
|
+
}, ...ngDevMode ? [{ debugName: "bars" }] : /* istanbul ignore next */ []);
|
|
4920
4920
|
this.tip = computed(() => {
|
|
4921
4921
|
const i = this.hover();
|
|
4922
4922
|
const bars = this.bars();
|
|
@@ -4930,7 +4930,7 @@ var BarChartComponent = class BarChartComponent {
|
|
|
4930
4930
|
value: b.value,
|
|
4931
4931
|
danger: b.danger
|
|
4932
4932
|
};
|
|
4933
|
-
}, ...ngDevMode ? [{ debugName: "tip" }] :
|
|
4933
|
+
}, ...ngDevMode ? [{ debugName: "tip" }] : /* istanbul ignore next */ []);
|
|
4934
4934
|
}
|
|
4935
4935
|
static {
|
|
4936
4936
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -5281,19 +5281,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5281
5281
|
});
|
|
5282
5282
|
var TreeSelectComponent = class TreeSelectComponent {
|
|
5283
5283
|
constructor() {
|
|
5284
|
-
this.groups = input.required(...ngDevMode ? [{ debugName: "groups" }] :
|
|
5285
|
-
this.label = input("Options", ...ngDevMode ? [{ debugName: "label" }] :
|
|
5286
|
-
this.searchable = input(true, ...ngDevMode ? [{ debugName: "searchable" }] :
|
|
5287
|
-
this.searchPlaceholder = input("Filter…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] :
|
|
5288
|
-
this.searchLabel = input("Filter options", ...ngDevMode ? [{ debugName: "searchLabel" }] :
|
|
5289
|
-
this.startExpanded = input(false, ...ngDevMode ? [{ debugName: "startExpanded" }] :
|
|
5290
|
-
this.emptyText = input("Nothing to choose from.", ...ngDevMode ? [{ debugName: "emptyText" }] :
|
|
5291
|
-
this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] :
|
|
5292
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
5293
|
-
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] :
|
|
5294
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
5295
|
-
this.selected = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "selected" }] :
|
|
5296
|
-
this.flipped = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "flipped" }] :
|
|
5284
|
+
this.groups = input.required(...ngDevMode ? [{ debugName: "groups" }] : /* istanbul ignore next */ []);
|
|
5285
|
+
this.label = input("Options", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
5286
|
+
this.searchable = input(true, ...ngDevMode ? [{ debugName: "searchable" }] : /* istanbul ignore next */ []);
|
|
5287
|
+
this.searchPlaceholder = input("Filter…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
5288
|
+
this.searchLabel = input("Filter options", ...ngDevMode ? [{ debugName: "searchLabel" }] : /* istanbul ignore next */ []);
|
|
5289
|
+
this.startExpanded = input(false, ...ngDevMode ? [{ debugName: "startExpanded" }] : /* istanbul ignore next */ []);
|
|
5290
|
+
this.emptyText = input("Nothing to choose from.", ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
5291
|
+
this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] : /* istanbul ignore next */ []);
|
|
5292
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
5293
|
+
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
|
|
5294
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
5295
|
+
this.selected = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
5296
|
+
this.flipped = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "flipped" }] : /* istanbul ignore next */ []);
|
|
5297
5297
|
this.visible = computed(() => {
|
|
5298
5298
|
const q = this.query().trim().toLowerCase();
|
|
5299
5299
|
if (!q) return this.groups();
|
|
@@ -5305,8 +5305,8 @@ var TreeSelectComponent = class TreeSelectComponent {
|
|
|
5305
5305
|
options: g.options.filter((o) => hit(o.label) || hit(o.hint))
|
|
5306
5306
|
};
|
|
5307
5307
|
}).filter((g) => g.options.length > 0);
|
|
5308
|
-
}, ...ngDevMode ? [{ debugName: "visible" }] :
|
|
5309
|
-
this.selectedCount = computed(() => this.selected().size, ...ngDevMode ? [{ debugName: "selectedCount" }] :
|
|
5308
|
+
}, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
5309
|
+
this.selectedCount = computed(() => this.selected().size, ...ngDevMode ? [{ debugName: "selectedCount" }] : /* istanbul ignore next */ []);
|
|
5310
5310
|
this.onChange = () => {};
|
|
5311
5311
|
this.onTouched = () => {};
|
|
5312
5312
|
}
|
|
@@ -5730,14 +5730,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5730
5730
|
let radioGroupCounter = 0;
|
|
5731
5731
|
var RadioGroupComponent = class RadioGroupComponent {
|
|
5732
5732
|
constructor() {
|
|
5733
|
-
this.orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] :
|
|
5733
|
+
this.orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
5734
5734
|
this.ariaLabel = input(null, {
|
|
5735
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
5735
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
5736
5736
|
alias: "aria-label"
|
|
5737
5737
|
});
|
|
5738
|
-
this.name = input(`flr-radio-${++radioGroupCounter}`, ...ngDevMode ? [{ debugName: "name" }] :
|
|
5739
|
-
this.value = signal(null, ...ngDevMode ? [{ debugName: "value" }] :
|
|
5740
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
5738
|
+
this.name = input(`flr-radio-${++radioGroupCounter}`, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
5739
|
+
this.value = signal(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
5740
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
5741
5741
|
this.onChange = () => {};
|
|
5742
5742
|
this.onTouched = () => {};
|
|
5743
5743
|
}
|
|
@@ -5880,22 +5880,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5880
5880
|
var RadioComponent = class RadioComponent {
|
|
5881
5881
|
constructor() {
|
|
5882
5882
|
this.group = inject(RadioGroupComponent, { optional: true });
|
|
5883
|
-
this.value = input.required(...ngDevMode ? [{ debugName: "value" }] :
|
|
5884
|
-
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] :
|
|
5885
|
-
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] :
|
|
5886
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
5887
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
5883
|
+
this.value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
5884
|
+
this.label = input(null, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
5885
|
+
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
5886
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
5887
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
5888
5888
|
this.inputId = input(null, {
|
|
5889
|
-
...ngDevMode ? { debugName: "inputId" } :
|
|
5889
|
+
...ngDevMode ? { debugName: "inputId" } : /* istanbul ignore next */ {},
|
|
5890
5890
|
alias: "id"
|
|
5891
5891
|
});
|
|
5892
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
5892
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
5893
5893
|
this.checked = computed(() => {
|
|
5894
5894
|
const groupValue = this.group?.value();
|
|
5895
5895
|
return groupValue != null && String(groupValue) === String(this.value());
|
|
5896
|
-
}, ...ngDevMode ? [{ debugName: "checked" }] :
|
|
5897
|
-
this.isDisabled = computed(() => this.disabled() || (this.group?.disabled() ?? false), ...ngDevMode ? [{ debugName: "isDisabled" }] :
|
|
5898
|
-
this.groupName = computed(() => this.group?.name() ?? null, ...ngDevMode ? [{ debugName: "groupName" }] :
|
|
5896
|
+
}, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
5897
|
+
this.isDisabled = computed(() => this.disabled() || (this.group?.disabled() ?? false), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
|
|
5898
|
+
this.groupName = computed(() => this.group?.name() ?? null, ...ngDevMode ? [{ debugName: "groupName" }] : /* istanbul ignore next */ []);
|
|
5899
5899
|
}
|
|
5900
5900
|
select() {
|
|
5901
5901
|
this.group?.select(this.value());
|
|
@@ -6114,10 +6114,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6114
6114
|
});
|
|
6115
6115
|
var SubmitComponent = class SubmitComponent {
|
|
6116
6116
|
constructor() {
|
|
6117
|
-
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] :
|
|
6118
|
-
this.fullWidth = input(false, ...ngDevMode ? [{ debugName: "fullWidth" }] :
|
|
6119
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
6120
|
-
this.inactive = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "inactive" }] :
|
|
6117
|
+
this.loading = input(false, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
6118
|
+
this.fullWidth = input(false, ...ngDevMode ? [{ debugName: "fullWidth" }] : /* istanbul ignore next */ []);
|
|
6119
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
6120
|
+
this.inactive = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "inactive" }] : /* istanbul ignore next */ []);
|
|
6121
6121
|
}
|
|
6122
6122
|
static {
|
|
6123
6123
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -6259,22 +6259,22 @@ const SIZE = {
|
|
|
6259
6259
|
};
|
|
6260
6260
|
var SearchFieldComponent = class SearchFieldComponent {
|
|
6261
6261
|
constructor() {
|
|
6262
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
6263
|
-
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] :
|
|
6264
|
-
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
6262
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
6263
|
+
this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
6264
|
+
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
6265
6265
|
this.inputId = input(null, {
|
|
6266
|
-
...ngDevMode ? { debugName: "inputId" } :
|
|
6266
|
+
...ngDevMode ? { debugName: "inputId" } : /* istanbul ignore next */ {},
|
|
6267
6267
|
alias: "id"
|
|
6268
6268
|
});
|
|
6269
6269
|
this.ariaLabel = input(null, {
|
|
6270
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
6270
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
6271
6271
|
alias: "aria-label"
|
|
6272
6272
|
});
|
|
6273
6273
|
this.cleared = output();
|
|
6274
|
-
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
6275
|
-
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
6276
|
-
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] :
|
|
6277
|
-
this.dim = computed(() => SIZE[this.size()], ...ngDevMode ? [{ debugName: "dim" }] :
|
|
6274
|
+
this.value = signal("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
6275
|
+
this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
6276
|
+
this.focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
|
|
6277
|
+
this.dim = computed(() => SIZE[this.size()], ...ngDevMode ? [{ debugName: "dim" }] : /* istanbul ignore next */ []);
|
|
6278
6278
|
this.onChange = () => {};
|
|
6279
6279
|
this.onTouched = () => {};
|
|
6280
6280
|
this.inputStyles = computed(() => {
|
|
@@ -6291,7 +6291,7 @@ var SearchFieldComponent = class SearchFieldComponent {
|
|
|
6291
6291
|
color: this.disabled() ? "var(--color-ink-3, #64748b)" : "var(--color-ink, #1e293b)",
|
|
6292
6292
|
"box-shadow": this.focused() ? ring : "none"
|
|
6293
6293
|
};
|
|
6294
|
-
}, ...ngDevMode ? [{ debugName: "inputStyles" }] :
|
|
6294
|
+
}, ...ngDevMode ? [{ debugName: "inputStyles" }] : /* istanbul ignore next */ []);
|
|
6295
6295
|
}
|
|
6296
6296
|
writeValue(value) {
|
|
6297
6297
|
this.value.set(value ?? "");
|
|
@@ -6576,18 +6576,18 @@ const MAX_WIDTH = {
|
|
|
6576
6576
|
let modalCounter = 0;
|
|
6577
6577
|
var ModalComponent = class ModalComponent {
|
|
6578
6578
|
constructor() {
|
|
6579
|
-
this.open = input(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
6580
|
-
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] :
|
|
6581
|
-
this.description = input(null, ...ngDevMode ? [{ debugName: "description" }] :
|
|
6582
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
6583
|
-
this.dismissOnBackdrop = input(true, ...ngDevMode ? [{ debugName: "dismissOnBackdrop" }] :
|
|
6579
|
+
this.open = input(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
6580
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
6581
|
+
this.description = input(null, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
6582
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
6583
|
+
this.dismissOnBackdrop = input(true, ...ngDevMode ? [{ debugName: "dismissOnBackdrop" }] : /* istanbul ignore next */ []);
|
|
6584
6584
|
this.closed = output();
|
|
6585
6585
|
this.titleId = `flr-modal-${++modalCounter}-title`;
|
|
6586
6586
|
this.descId = `flr-modal-${modalCounter}-desc`;
|
|
6587
|
-
this.maxWidth = computed(() => MAX_WIDTH[this.size()], ...ngDevMode ? [{ debugName: "maxWidth" }] :
|
|
6587
|
+
this.maxWidth = computed(() => MAX_WIDTH[this.size()], ...ngDevMode ? [{ debugName: "maxWidth" }] : /* istanbul ignore next */ []);
|
|
6588
6588
|
this.overlay = inject(Overlay);
|
|
6589
6589
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
6590
|
-
this.panelTpl = viewChild("panel", ...ngDevMode ? [{ debugName: "panelTpl" }] :
|
|
6590
|
+
this.panelTpl = viewChild("panel", ...ngDevMode ? [{ debugName: "panelTpl" }] : /* istanbul ignore next */ []);
|
|
6591
6591
|
this.overlayRef = null;
|
|
6592
6592
|
effect(() => {
|
|
6593
6593
|
if (this.open()) this.attach();
|
|
@@ -6831,17 +6831,17 @@ const WIDTH = {
|
|
|
6831
6831
|
let drawerCounter = 0;
|
|
6832
6832
|
var DrawerComponent = class DrawerComponent {
|
|
6833
6833
|
constructor() {
|
|
6834
|
-
this.open = input(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
6835
|
-
this.side = input("right", ...ngDevMode ? [{ debugName: "side" }] :
|
|
6836
|
-
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] :
|
|
6837
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
6838
|
-
this.dismissOnBackdrop = input(true, ...ngDevMode ? [{ debugName: "dismissOnBackdrop" }] :
|
|
6834
|
+
this.open = input(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
6835
|
+
this.side = input("right", ...ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []);
|
|
6836
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
6837
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
6838
|
+
this.dismissOnBackdrop = input(true, ...ngDevMode ? [{ debugName: "dismissOnBackdrop" }] : /* istanbul ignore next */ []);
|
|
6839
6839
|
this.closed = output();
|
|
6840
6840
|
this.titleId = `flr-drawer-${++drawerCounter}-title`;
|
|
6841
|
-
this.width = computed(() => WIDTH[this.size()], ...ngDevMode ? [{ debugName: "width" }] :
|
|
6841
|
+
this.width = computed(() => WIDTH[this.size()], ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
|
|
6842
6842
|
this.overlay = inject(Overlay);
|
|
6843
6843
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
6844
|
-
this.panelTpl = viewChild("panel", ...ngDevMode ? [{ debugName: "panelTpl" }] :
|
|
6844
|
+
this.panelTpl = viewChild("panel", ...ngDevMode ? [{ debugName: "panelTpl" }] : /* istanbul ignore next */ []);
|
|
6845
6845
|
this.overlayRef = null;
|
|
6846
6846
|
effect(() => {
|
|
6847
6847
|
if (this.open()) this.attach();
|
|
@@ -7075,7 +7075,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7075
7075
|
var ToastService = class ToastService {
|
|
7076
7076
|
constructor() {
|
|
7077
7077
|
this.liveAnnouncer = inject(LiveAnnouncer);
|
|
7078
|
-
this.items = signal([], ...ngDevMode ? [{ debugName: "items" }] :
|
|
7078
|
+
this.items = signal([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
7079
7079
|
this.counter = 0;
|
|
7080
7080
|
this.toasts = this.items.asReadonly();
|
|
7081
7081
|
}
|
|
@@ -7235,11 +7235,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7235
7235
|
});
|
|
7236
7236
|
var SidebarComponent = class SidebarComponent {
|
|
7237
7237
|
constructor() {
|
|
7238
|
-
this.collapsed = model(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
7239
|
-
this.navLabel = input("Sections", ...ngDevMode ? [{ debugName: "navLabel" }] :
|
|
7240
|
-
this.width = input(256, ...ngDevMode ? [{ debugName: "width" }] :
|
|
7241
|
-
this.collapsedWidth = input(64, ...ngDevMode ? [{ debugName: "collapsedWidth" }] :
|
|
7242
|
-
this.widthPx = computed(() => this.collapsed() ? `${this.collapsedWidth()}px` : `${this.width()}px`, ...ngDevMode ? [{ debugName: "widthPx" }] :
|
|
7238
|
+
this.collapsed = model(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
7239
|
+
this.navLabel = input("Sections", ...ngDevMode ? [{ debugName: "navLabel" }] : /* istanbul ignore next */ []);
|
|
7240
|
+
this.width = input(256, ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
|
|
7241
|
+
this.collapsedWidth = input(64, ...ngDevMode ? [{ debugName: "collapsedWidth" }] : /* istanbul ignore next */ []);
|
|
7242
|
+
this.widthPx = computed(() => this.collapsed() ? `${this.collapsedWidth()}px` : `${this.width()}px`, ...ngDevMode ? [{ debugName: "widthPx" }] : /* istanbul ignore next */ []);
|
|
7243
7243
|
}
|
|
7244
7244
|
toggle() {
|
|
7245
7245
|
this.collapsed.set(!this.collapsed());
|
|
@@ -7382,8 +7382,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7382
7382
|
});
|
|
7383
7383
|
var SidebarSectionComponent = class SidebarSectionComponent {
|
|
7384
7384
|
constructor() {
|
|
7385
|
-
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] :
|
|
7386
|
-
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
7385
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
7386
|
+
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
7387
7387
|
}
|
|
7388
7388
|
static {
|
|
7389
7389
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -7485,16 +7485,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7485
7485
|
});
|
|
7486
7486
|
var SidebarItemComponent = class SidebarItemComponent {
|
|
7487
7487
|
constructor() {
|
|
7488
|
-
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] :
|
|
7489
|
-
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] :
|
|
7490
|
-
this.active = input(false, ...ngDevMode ? [{ debugName: "active" }] :
|
|
7491
|
-
this.badge = input(null, ...ngDevMode ? [{ debugName: "badge" }] :
|
|
7492
|
-
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
7493
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
7494
|
-
this.danger = input(false, ...ngDevMode ? [{ debugName: "danger" }] :
|
|
7495
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
7488
|
+
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []);
|
|
7489
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
7490
|
+
this.active = input(false, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
7491
|
+
this.badge = input(null, ...ngDevMode ? [{ debugName: "badge" }] : /* istanbul ignore next */ []);
|
|
7492
|
+
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
7493
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
7494
|
+
this.danger = input(false, ...ngDevMode ? [{ debugName: "danger" }] : /* istanbul ignore next */ []);
|
|
7495
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
7496
7496
|
this.selected = output();
|
|
7497
|
-
this.accentColor = computed(() => this.accent() ?? "var(--color-accent, var(--color-ink, #1e293b))", ...ngDevMode ? [{ debugName: "accentColor" }] :
|
|
7497
|
+
this.accentColor = computed(() => this.accent() ?? "var(--color-accent, var(--color-ink, #1e293b))", ...ngDevMode ? [{ debugName: "accentColor" }] : /* istanbul ignore next */ []);
|
|
7498
7498
|
}
|
|
7499
7499
|
handleClick(event) {
|
|
7500
7500
|
if (this.disabled()) {
|
|
@@ -7840,14 +7840,14 @@ function isTrustedIconMarkup(markup) {
|
|
|
7840
7840
|
const SHELL_CONTEXT = new InjectionToken("SHELL_CONTEXT");
|
|
7841
7841
|
var ShellComponent = class ShellComponent {
|
|
7842
7842
|
constructor() {
|
|
7843
|
-
this.productName = input("", ...ngDevMode ? [{ debugName: "productName" }] :
|
|
7844
|
-
this.marketingHref = input(null, ...ngDevMode ? [{ debugName: "marketingHref" }] :
|
|
7845
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
7846
|
-
this.sections = input([], ...ngDevMode ? [{ debugName: "sections" }] :
|
|
7847
|
-
this.currentPath = input("/", ...ngDevMode ? [{ debugName: "currentPath" }] :
|
|
7848
|
-
this.breadcrumb = input([], ...ngDevMode ? [{ debugName: "breadcrumb" }] :
|
|
7849
|
-
this.searchEnabled = input(false, ...ngDevMode ? [{ debugName: "searchEnabled" }] :
|
|
7850
|
-
this.collapsed = model(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
7843
|
+
this.productName = input("", ...ngDevMode ? [{ debugName: "productName" }] : /* istanbul ignore next */ []);
|
|
7844
|
+
this.marketingHref = input(null, ...ngDevMode ? [{ debugName: "marketingHref" }] : /* istanbul ignore next */ []);
|
|
7845
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
7846
|
+
this.sections = input([], ...ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []);
|
|
7847
|
+
this.currentPath = input("/", ...ngDevMode ? [{ debugName: "currentPath" }] : /* istanbul ignore next */ []);
|
|
7848
|
+
this.breadcrumb = input([], ...ngDevMode ? [{ debugName: "breadcrumb" }] : /* istanbul ignore next */ []);
|
|
7849
|
+
this.searchEnabled = input(false, ...ngDevMode ? [{ debugName: "searchEnabled" }] : /* istanbul ignore next */ []);
|
|
7850
|
+
this.collapsed = model(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
7851
7851
|
this.navigate = output();
|
|
7852
7852
|
this.search = output();
|
|
7853
7853
|
this.sanitizer = inject(DomSanitizer);
|
|
@@ -8278,19 +8278,19 @@ const SIZE_MAP = {
|
|
|
8278
8278
|
};
|
|
8279
8279
|
var AvatarComponent = class AvatarComponent {
|
|
8280
8280
|
constructor() {
|
|
8281
|
-
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] :
|
|
8282
|
-
this.src = input(null, ...ngDevMode ? [{ debugName: "src" }] :
|
|
8283
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
8284
|
-
this.size = input(28, ...ngDevMode ? [{ debugName: "size" }] :
|
|
8285
|
-
this.shape = input("circle", ...ngDevMode ? [{ debugName: "shape" }] :
|
|
8286
|
-
this.alt = input(null, ...ngDevMode ? [{ debugName: "alt" }] :
|
|
8287
|
-
this.errored = signal(false, ...ngDevMode ? [{ debugName: "errored" }] :
|
|
8281
|
+
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
8282
|
+
this.src = input(null, ...ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []);
|
|
8283
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
8284
|
+
this.size = input(28, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
8285
|
+
this.shape = input("circle", ...ngDevMode ? [{ debugName: "shape" }] : /* istanbul ignore next */ []);
|
|
8286
|
+
this.alt = input(null, ...ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []);
|
|
8287
|
+
this.errored = signal(false, ...ngDevMode ? [{ debugName: "errored" }] : /* istanbul ignore next */ []);
|
|
8288
8288
|
this.px = computed(() => {
|
|
8289
8289
|
const s = this.size();
|
|
8290
8290
|
return typeof s === "number" ? s : SIZE_MAP[s];
|
|
8291
|
-
}, ...ngDevMode ? [{ debugName: "px" }] :
|
|
8292
|
-
this.radius = computed(() => this.shape() === "circle" ? this.px() / 2 : Math.max(4, this.px() * .18), ...ngDevMode ? [{ debugName: "radius" }] :
|
|
8293
|
-
this.initials = computed(() => this.name().split(" ").map((s) => s[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() || "?", ...ngDevMode ? [{ debugName: "initials" }] :
|
|
8291
|
+
}, ...ngDevMode ? [{ debugName: "px" }] : /* istanbul ignore next */ []);
|
|
8292
|
+
this.radius = computed(() => this.shape() === "circle" ? this.px() / 2 : Math.max(4, this.px() * .18), ...ngDevMode ? [{ debugName: "radius" }] : /* istanbul ignore next */ []);
|
|
8293
|
+
this.initials = computed(() => this.name().split(" ").map((s) => s[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() || "?", ...ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []);
|
|
8294
8294
|
}
|
|
8295
8295
|
static {
|
|
8296
8296
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -8478,9 +8478,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8478
8478
|
});
|
|
8479
8479
|
var LogoMarkComponent = class LogoMarkComponent {
|
|
8480
8480
|
constructor() {
|
|
8481
|
-
this.size = input(24, ...ngDevMode ? [{ debugName: "size" }] :
|
|
8482
|
-
this.accent = input("currentColor", ...ngDevMode ? [{ debugName: "accent" }] :
|
|
8483
|
-
this.product = input.required(...ngDevMode ? [{ debugName: "product" }] :
|
|
8481
|
+
this.size = input(24, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
8482
|
+
this.accent = input("currentColor", ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
8483
|
+
this.product = input.required(...ngDevMode ? [{ debugName: "product" }] : /* istanbul ignore next */ []);
|
|
8484
8484
|
}
|
|
8485
8485
|
static {
|
|
8486
8486
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -8996,9 +8996,9 @@ const PRODUCT_SLUGS$1 = /* @__PURE__ */ new Set([
|
|
|
8996
8996
|
]);
|
|
8997
8997
|
var AppRailComponent = class AppRailComponent {
|
|
8998
8998
|
constructor() {
|
|
8999
|
-
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] :
|
|
9000
|
-
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] :
|
|
9001
|
-
this.ariaLabel = input("Products", ...ngDevMode ? [{ debugName: "ariaLabel" }] :
|
|
8999
|
+
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
9000
|
+
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
9001
|
+
this.ariaLabel = input("Products", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
9002
9002
|
this.selected = output();
|
|
9003
9003
|
}
|
|
9004
9004
|
glyph(item) {
|
|
@@ -9154,42 +9154,42 @@ const PRODUCT_SLUGS = /* @__PURE__ */ new Set([
|
|
|
9154
9154
|
]);
|
|
9155
9155
|
var AppSwitcherComponent = class AppSwitcherComponent {
|
|
9156
9156
|
constructor() {
|
|
9157
|
-
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] :
|
|
9158
|
-
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] :
|
|
9159
|
-
this.caption = input("Switch app", ...ngDevMode ? [{ debugName: "caption" }] :
|
|
9160
|
-
this.listLabel = input("Your apps", ...ngDevMode ? [{ debugName: "listLabel" }] :
|
|
9161
|
-
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
9157
|
+
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
9158
|
+
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
9159
|
+
this.caption = input("Switch app", ...ngDevMode ? [{ debugName: "caption" }] : /* istanbul ignore next */ []);
|
|
9160
|
+
this.listLabel = input("Your apps", ...ngDevMode ? [{ debugName: "listLabel" }] : /* istanbul ignore next */ []);
|
|
9161
|
+
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
9162
9162
|
this.ariaLabel = input(null, {
|
|
9163
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
9163
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
9164
9164
|
alias: "aria-label"
|
|
9165
9165
|
});
|
|
9166
|
-
this.customizeLabel = input("Customize apps", ...ngDevMode ? [{ debugName: "customizeLabel" }] :
|
|
9167
|
-
this.customizeHint = input("Pick the apps this menu shows. FerrLabs always stays, it holds your account.", ...ngDevMode ? [{ debugName: "customizeHint" }] :
|
|
9168
|
-
this.doneLabel = input("Done", ...ngDevMode ? [{ debugName: "doneLabel" }] :
|
|
9169
|
-
this.hidden = model([], ...ngDevMode ? [{ debugName: "hidden" }] :
|
|
9166
|
+
this.customizeLabel = input("Customize apps", ...ngDevMode ? [{ debugName: "customizeLabel" }] : /* istanbul ignore next */ []);
|
|
9167
|
+
this.customizeHint = input("Pick the apps this menu shows. FerrLabs always stays, it holds your account.", ...ngDevMode ? [{ debugName: "customizeHint" }] : /* istanbul ignore next */ []);
|
|
9168
|
+
this.doneLabel = input("Done", ...ngDevMode ? [{ debugName: "doneLabel" }] : /* istanbul ignore next */ []);
|
|
9169
|
+
this.hidden = model([], ...ngDevMode ? [{ debugName: "hidden" }] : /* istanbul ignore next */ []);
|
|
9170
9170
|
this.selected = output();
|
|
9171
9171
|
this.host = inject(ElementRef);
|
|
9172
|
-
this.trigger = viewChild.required("trigger", ...ngDevMode ? [{ debugName: "trigger" }] :
|
|
9172
|
+
this.trigger = viewChild.required("trigger", ...ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []);
|
|
9173
9173
|
this.shell = inject(SHELL_CONTEXT, { optional: true });
|
|
9174
|
-
this.compact = computed(() => this.collapsed() || (this.shell?.collapsed() ?? false), ...ngDevMode ? [{ debugName: "compact" }] :
|
|
9174
|
+
this.compact = computed(() => this.collapsed() || (this.shell?.collapsed() ?? false), ...ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []);
|
|
9175
9175
|
this.panelId = `flr-as-list-${panelCount += 1}`;
|
|
9176
|
-
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
9177
|
-
this.customizing = signal(false, ...ngDevMode ? [{ debugName: "customizing" }] :
|
|
9176
|
+
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
9177
|
+
this.customizing = signal(false, ...ngDevMode ? [{ debugName: "customizing" }] : /* istanbul ignore next */ []);
|
|
9178
9178
|
this.visibleItems = computed(() => {
|
|
9179
9179
|
const hidden = new Set(this.hidden());
|
|
9180
9180
|
const current = this.current();
|
|
9181
9181
|
return this.items().filter((item) => item.id === "ferrlabs" || item.id === current || !hidden.has(item.id));
|
|
9182
|
-
}, ...ngDevMode ? [{ debugName: "visibleItems" }] :
|
|
9182
|
+
}, ...ngDevMode ? [{ debugName: "visibleItems" }] : /* istanbul ignore next */ []);
|
|
9183
9183
|
this.currentItem = computed(() => {
|
|
9184
9184
|
const id = this.current();
|
|
9185
9185
|
return this.items().find((item) => item.id === id) ?? null;
|
|
9186
|
-
}, ...ngDevMode ? [{ debugName: "currentItem" }] :
|
|
9186
|
+
}, ...ngDevMode ? [{ debugName: "currentItem" }] : /* istanbul ignore next */ []);
|
|
9187
9187
|
this.triggerLabel = computed(() => {
|
|
9188
9188
|
const label = this.ariaLabel();
|
|
9189
9189
|
if (label) return label;
|
|
9190
9190
|
const item = this.currentItem();
|
|
9191
9191
|
return item ? `${this.caption()}, ${item.label}` : this.caption();
|
|
9192
|
-
}, ...ngDevMode ? [{ debugName: "triggerLabel" }] :
|
|
9192
|
+
}, ...ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []);
|
|
9193
9193
|
}
|
|
9194
9194
|
toggle() {
|
|
9195
9195
|
this.open.update((open) => !open);
|
|
@@ -9571,11 +9571,11 @@ function switcherState(apps) {
|
|
|
9571
9571
|
}
|
|
9572
9572
|
var MenuComponent = class MenuComponent {
|
|
9573
9573
|
constructor() {
|
|
9574
|
-
this.align = input("start", ...ngDevMode ? [{ debugName: "align" }] :
|
|
9575
|
-
this.direction = input("down", ...ngDevMode ? [{ debugName: "direction" }] :
|
|
9576
|
-
this.block = input(false, ...ngDevMode ? [{ debugName: "block" }] :
|
|
9577
|
-
this.minWidth = input(220, ...ngDevMode ? [{ debugName: "minWidth" }] :
|
|
9578
|
-
this.open = model(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
9574
|
+
this.align = input("start", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
|
|
9575
|
+
this.direction = input("down", ...ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []);
|
|
9576
|
+
this.block = input(false, ...ngDevMode ? [{ debugName: "block" }] : /* istanbul ignore next */ []);
|
|
9577
|
+
this.minWidth = input(220, ...ngDevMode ? [{ debugName: "minWidth" }] : /* istanbul ignore next */ []);
|
|
9578
|
+
this.open = model(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
9579
9579
|
this.host = inject(ElementRef);
|
|
9580
9580
|
this.positions = computed(() => {
|
|
9581
9581
|
const x = this.align() === "end" ? "end" : "start";
|
|
@@ -9594,7 +9594,7 @@ var MenuComponent = class MenuComponent {
|
|
|
9594
9594
|
offsetY: -6
|
|
9595
9595
|
};
|
|
9596
9596
|
return this.direction() === "up" ? [above, below] : [below, above];
|
|
9597
|
-
}, ...ngDevMode ? [{ debugName: "positions" }] :
|
|
9597
|
+
}, ...ngDevMode ? [{ debugName: "positions" }] : /* istanbul ignore next */ []);
|
|
9598
9598
|
afterRenderEffect(() => {
|
|
9599
9599
|
const expanded = this.open();
|
|
9600
9600
|
const trigger = this.host.nativeElement.querySelector("[flr-menu-trigger]");
|
|
@@ -9848,9 +9848,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9848
9848
|
});
|
|
9849
9849
|
var MenuItemComponent = class MenuItemComponent {
|
|
9850
9850
|
constructor() {
|
|
9851
|
-
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] :
|
|
9852
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
9853
|
-
this.destructive = input(false, ...ngDevMode ? [{ debugName: "destructive" }] :
|
|
9851
|
+
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []);
|
|
9852
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
9853
|
+
this.destructive = input(false, ...ngDevMode ? [{ debugName: "destructive" }] : /* istanbul ignore next */ []);
|
|
9854
9854
|
this.selected = output();
|
|
9855
9855
|
}
|
|
9856
9856
|
onClick() {
|
|
@@ -10102,16 +10102,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10102
10102
|
});
|
|
10103
10103
|
var UserMenuComponent = class UserMenuComponent {
|
|
10104
10104
|
constructor() {
|
|
10105
|
-
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] :
|
|
10106
|
-
this.email = input(null, ...ngDevMode ? [{ debugName: "email" }] :
|
|
10107
|
-
this.avatarSrc = input(null, ...ngDevMode ? [{ debugName: "avatarSrc" }] :
|
|
10108
|
-
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] :
|
|
10109
|
-
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] :
|
|
10110
|
-
this.showName = input(true, ...ngDevMode ? [{ debugName: "showName" }] :
|
|
10105
|
+
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
10106
|
+
this.email = input(null, ...ngDevMode ? [{ debugName: "email" }] : /* istanbul ignore next */ []);
|
|
10107
|
+
this.avatarSrc = input(null, ...ngDevMode ? [{ debugName: "avatarSrc" }] : /* istanbul ignore next */ []);
|
|
10108
|
+
this.accent = input(null, ...ngDevMode ? [{ debugName: "accent" }] : /* istanbul ignore next */ []);
|
|
10109
|
+
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
10110
|
+
this.showName = input(true, ...ngDevMode ? [{ debugName: "showName" }] : /* istanbul ignore next */ []);
|
|
10111
10111
|
this.select = output();
|
|
10112
10112
|
this.shell = inject(SHELL_CONTEXT, { optional: true });
|
|
10113
10113
|
this.inRail = this.shell !== null;
|
|
10114
|
-
this.compact = computed(() => this.shell?.collapsed() ?? false, ...ngDevMode ? [{ debugName: "compact" }] :
|
|
10114
|
+
this.compact = computed(() => this.shell?.collapsed() ?? false, ...ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []);
|
|
10115
10115
|
}
|
|
10116
10116
|
static {
|
|
10117
10117
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -10468,12 +10468,12 @@ const SWITCH_OVERLAY_DELAY_MS = 200;
|
|
|
10468
10468
|
var BrandDropdownComponent = class BrandDropdownComponent {
|
|
10469
10469
|
constructor() {
|
|
10470
10470
|
this.host = inject(ElementRef);
|
|
10471
|
-
this.current = input.required(...ngDevMode ? [{ debugName: "current" }] :
|
|
10472
|
-
this.apps = input(DEFAULT_APPS, ...ngDevMode ? [{ debugName: "apps" }] :
|
|
10473
|
-
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] :
|
|
10474
|
-
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
10475
|
-
this.switchVisible = signal(null, ...ngDevMode ? [{ debugName: "switchVisible" }] :
|
|
10476
|
-
this.switchOverlay = viewChild("switchOverlay", ...ngDevMode ? [{ debugName: "switchOverlay" }] :
|
|
10471
|
+
this.current = input.required(...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
10472
|
+
this.apps = input(DEFAULT_APPS, ...ngDevMode ? [{ debugName: "apps" }] : /* istanbul ignore next */ []);
|
|
10473
|
+
this.collapsed = input(false, ...ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []);
|
|
10474
|
+
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
10475
|
+
this.switchVisible = signal(null, ...ngDevMode ? [{ debugName: "switchVisible" }] : /* istanbul ignore next */ []);
|
|
10476
|
+
this.switchOverlay = viewChild("switchOverlay", ...ngDevMode ? [{ debugName: "switchOverlay" }] : /* istanbul ignore next */ []);
|
|
10477
10477
|
this.rows = computed(() => {
|
|
10478
10478
|
const apps = this.apps();
|
|
10479
10479
|
const collapsed = this.collapsed();
|
|
@@ -10485,11 +10485,11 @@ var BrandDropdownComponent = class BrandDropdownComponent {
|
|
|
10485
10485
|
showHeader: !collapsed && app.section !== void 0 && app.section !== prevSection
|
|
10486
10486
|
};
|
|
10487
10487
|
});
|
|
10488
|
-
}, ...ngDevMode ? [{ debugName: "rows" }] :
|
|
10488
|
+
}, ...ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []);
|
|
10489
10489
|
this.triggerTitle = computed(() => {
|
|
10490
10490
|
const cur = this.apps().find((a) => a.id === this.current());
|
|
10491
10491
|
return cur ? `${cur.label}, switch to another FerrLabs app` : "Switch app";
|
|
10492
|
-
}, ...ngDevMode ? [{ debugName: "triggerTitle" }] :
|
|
10492
|
+
}, ...ngDevMode ? [{ debugName: "triggerTitle" }] : /* istanbul ignore next */ []);
|
|
10493
10493
|
effect(() => {
|
|
10494
10494
|
this.switchOverlay()?.nativeElement.togglePopover?.(true);
|
|
10495
10495
|
});
|
|
@@ -10783,9 +10783,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10783
10783
|
});
|
|
10784
10784
|
var SiteCardComponent = class SiteCardComponent {
|
|
10785
10785
|
constructor() {
|
|
10786
|
-
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] :
|
|
10787
|
-
this.showChevron = input(true, ...ngDevMode ? [{ debugName: "showChevron" }] :
|
|
10788
|
-
this.interactive = input(true, ...ngDevMode ? [{ debugName: "interactive" }] :
|
|
10786
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
10787
|
+
this.showChevron = input(true, ...ngDevMode ? [{ debugName: "showChevron" }] : /* istanbul ignore next */ []);
|
|
10788
|
+
this.interactive = input(true, ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
10789
10789
|
this.select = output();
|
|
10790
10790
|
}
|
|
10791
10791
|
onActivate() {
|
|
@@ -10965,34 +10965,34 @@ var ProjectSwitcherComponent = class ProjectSwitcherComponent {
|
|
|
10965
10965
|
this.hostEl = inject(ElementRef);
|
|
10966
10966
|
this.sanitizer = inject(DomSanitizer);
|
|
10967
10967
|
this.shell = inject(SHELL_CONTEXT, { optional: true });
|
|
10968
|
-
this.searchInput = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInput" }] :
|
|
10969
|
-
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] :
|
|
10970
|
-
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] :
|
|
10971
|
-
this.title = input("Switch", ...ngDevMode ? [{ debugName: "title" }] :
|
|
10972
|
-
this.searchPlaceholder = input("Search…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] :
|
|
10973
|
-
this.createLabel = input(null, ...ngDevMode ? [{ debugName: "createLabel" }] :
|
|
10974
|
-
this.viewAllLabel = input(null, ...ngDevMode ? [{ debugName: "viewAllLabel" }] :
|
|
10975
|
-
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
10976
|
-
this.variant = input("card", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
10977
|
-
this.triggerEyebrow = input(null, ...ngDevMode ? [{ debugName: "triggerEyebrow" }] :
|
|
10978
|
-
this.emptyState = input("No results", ...ngDevMode ? [{ debugName: "emptyState" }] :
|
|
10968
|
+
this.searchInput = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInput" }] : /* istanbul ignore next */ []);
|
|
10969
|
+
this.current = input(null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
10970
|
+
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
10971
|
+
this.title = input("Switch", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
10972
|
+
this.searchPlaceholder = input("Search…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
10973
|
+
this.createLabel = input(null, ...ngDevMode ? [{ debugName: "createLabel" }] : /* istanbul ignore next */ []);
|
|
10974
|
+
this.viewAllLabel = input(null, ...ngDevMode ? [{ debugName: "viewAllLabel" }] : /* istanbul ignore next */ []);
|
|
10975
|
+
this.placeholder = input(null, ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
10976
|
+
this.variant = input("card", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
10977
|
+
this.triggerEyebrow = input(null, ...ngDevMode ? [{ debugName: "triggerEyebrow" }] : /* istanbul ignore next */ []);
|
|
10978
|
+
this.emptyState = input("No results", ...ngDevMode ? [{ debugName: "emptyState" }] : /* istanbul ignore next */ []);
|
|
10979
10979
|
this.selectItem = output();
|
|
10980
10980
|
this.create = output();
|
|
10981
10981
|
this.viewAll = output();
|
|
10982
|
-
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
10983
|
-
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] :
|
|
10984
|
-
this.highlight = signal(0, ...ngDevMode ? [{ debugName: "highlight" }] :
|
|
10982
|
+
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
10983
|
+
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
|
|
10984
|
+
this.highlight = signal(0, ...ngDevMode ? [{ debugName: "highlight" }] : /* istanbul ignore next */ []);
|
|
10985
10985
|
this.filtered = computed(() => {
|
|
10986
10986
|
const q = this.query().trim().toLowerCase();
|
|
10987
10987
|
const items = this.items();
|
|
10988
10988
|
if (!q) return items;
|
|
10989
10989
|
return items.filter((it) => it.label.toLowerCase().includes(q) || (it.searchTerms?.toLowerCase().includes(q) ?? false));
|
|
10990
|
-
}, ...ngDevMode ? [{ debugName: "filtered" }] :
|
|
10991
|
-
this.displayedIcon = computed(() => this.current()?.icon ?? this.placeholder()?.icon ?? "", ...ngDevMode ? [{ debugName: "displayedIcon" }] :
|
|
10992
|
-
this.displayedLabel = computed(() => this.current()?.label ?? this.placeholder()?.label ?? "All items", ...ngDevMode ? [{ debugName: "displayedLabel" }] :
|
|
10993
|
-
this.compact = computed(() => this.variant() === "brand" && (this.shell?.collapsed() ?? false), ...ngDevMode ? [{ debugName: "compact" }] :
|
|
10994
|
-
this.monogram = computed(() => Array.from(this.displayedLabel().trim())[0]?.toLocaleUpperCase() ?? "", ...ngDevMode ? [{ debugName: "monogram" }] :
|
|
10995
|
-
this.displayedMeta = computed(() => this.current()?.meta ?? this.placeholder()?.meta ?? "", ...ngDevMode ? [{ debugName: "displayedMeta" }] :
|
|
10990
|
+
}, ...ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []);
|
|
10991
|
+
this.displayedIcon = computed(() => this.current()?.icon ?? this.placeholder()?.icon ?? "", ...ngDevMode ? [{ debugName: "displayedIcon" }] : /* istanbul ignore next */ []);
|
|
10992
|
+
this.displayedLabel = computed(() => this.current()?.label ?? this.placeholder()?.label ?? "All items", ...ngDevMode ? [{ debugName: "displayedLabel" }] : /* istanbul ignore next */ []);
|
|
10993
|
+
this.compact = computed(() => this.variant() === "brand" && (this.shell?.collapsed() ?? false), ...ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []);
|
|
10994
|
+
this.monogram = computed(() => Array.from(this.displayedLabel().trim())[0]?.toLocaleUpperCase() ?? "", ...ngDevMode ? [{ debugName: "monogram" }] : /* istanbul ignore next */ []);
|
|
10995
|
+
this.displayedMeta = computed(() => this.current()?.meta ?? this.placeholder()?.meta ?? "", ...ngDevMode ? [{ debugName: "displayedMeta" }] : /* istanbul ignore next */ []);
|
|
10996
10996
|
effect(() => {
|
|
10997
10997
|
this.query();
|
|
10998
10998
|
this.open();
|
|
@@ -11540,32 +11540,32 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11540
11540
|
var SiteSwitcherComponent = class SiteSwitcherComponent {
|
|
11541
11541
|
constructor() {
|
|
11542
11542
|
this.hostEl = inject(ElementRef);
|
|
11543
|
-
this.searchInput = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInput" }] :
|
|
11544
|
-
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] :
|
|
11545
|
-
this.activeId = input(null, ...ngDevMode ? [{ debugName: "activeId" }] :
|
|
11546
|
-
this.placeholder = input("Select site", ...ngDevMode ? [{ debugName: "placeholder" }] :
|
|
11547
|
-
this.searchPlaceholder = input("Search…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] :
|
|
11548
|
-
this.createLabel = input(null, ...ngDevMode ? [{ debugName: "createLabel" }] :
|
|
11549
|
-
this.emptyState = input("No results", ...ngDevMode ? [{ debugName: "emptyState" }] :
|
|
11550
|
-
this.showTriggerMeta = input(true, ...ngDevMode ? [{ debugName: "showTriggerMeta" }] :
|
|
11543
|
+
this.searchInput = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInput" }] : /* istanbul ignore next */ []);
|
|
11544
|
+
this.items = input([], ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
11545
|
+
this.activeId = input(null, ...ngDevMode ? [{ debugName: "activeId" }] : /* istanbul ignore next */ []);
|
|
11546
|
+
this.placeholder = input("Select site", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
11547
|
+
this.searchPlaceholder = input("Search…", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
11548
|
+
this.createLabel = input(null, ...ngDevMode ? [{ debugName: "createLabel" }] : /* istanbul ignore next */ []);
|
|
11549
|
+
this.emptyState = input("No results", ...ngDevMode ? [{ debugName: "emptyState" }] : /* istanbul ignore next */ []);
|
|
11550
|
+
this.showTriggerMeta = input(true, ...ngDevMode ? [{ debugName: "showTriggerMeta" }] : /* istanbul ignore next */ []);
|
|
11551
11551
|
this.select = output();
|
|
11552
11552
|
this.create = output();
|
|
11553
|
-
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] :
|
|
11554
|
-
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] :
|
|
11555
|
-
this.highlight = signal(0, ...ngDevMode ? [{ debugName: "highlight" }] :
|
|
11553
|
+
this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
11554
|
+
this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
|
|
11555
|
+
this.highlight = signal(0, ...ngDevMode ? [{ debugName: "highlight" }] : /* istanbul ignore next */ []);
|
|
11556
11556
|
this.active = computed(() => {
|
|
11557
11557
|
const id = this.activeId();
|
|
11558
11558
|
if (!id) return null;
|
|
11559
11559
|
return this.items().find((it) => it.id === id) ?? null;
|
|
11560
|
-
}, ...ngDevMode ? [{ debugName: "active" }] :
|
|
11561
|
-
this.triggerLabel = computed(() => this.active()?.label ?? this.placeholder(), ...ngDevMode ? [{ debugName: "triggerLabel" }] :
|
|
11562
|
-
this.triggerMeta = computed(() => this.showTriggerMeta() ? this.active()?.meta ?? null : null, ...ngDevMode ? [{ debugName: "triggerMeta" }] :
|
|
11560
|
+
}, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
11561
|
+
this.triggerLabel = computed(() => this.active()?.label ?? this.placeholder(), ...ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []);
|
|
11562
|
+
this.triggerMeta = computed(() => this.showTriggerMeta() ? this.active()?.meta ?? null : null, ...ngDevMode ? [{ debugName: "triggerMeta" }] : /* istanbul ignore next */ []);
|
|
11563
11563
|
this.filtered = computed(() => {
|
|
11564
11564
|
const q = this.query().trim().toLowerCase();
|
|
11565
11565
|
const items = this.items();
|
|
11566
11566
|
if (!q) return items;
|
|
11567
11567
|
return items.filter((it) => it.label.toLowerCase().includes(q) || (it.searchTerms?.toLowerCase().includes(q) ?? false));
|
|
11568
|
-
}, ...ngDevMode ? [{ debugName: "filtered" }] :
|
|
11568
|
+
}, ...ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []);
|
|
11569
11569
|
effect(() => {
|
|
11570
11570
|
this.query();
|
|
11571
11571
|
this.open();
|
|
@@ -11792,11 +11792,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11792
11792
|
});
|
|
11793
11793
|
var PageHeaderComponent = class PageHeaderComponent {
|
|
11794
11794
|
constructor() {
|
|
11795
|
-
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] :
|
|
11796
|
-
this.eyebrow = input(null, ...ngDevMode ? [{ debugName: "eyebrow" }] :
|
|
11797
|
-
this.count = input(null, ...ngDevMode ? [{ debugName: "count" }] :
|
|
11798
|
-
this.sub = input(null, ...ngDevMode ? [{ debugName: "sub" }] :
|
|
11799
|
-
this.breadcrumbs = input([], ...ngDevMode ? [{ debugName: "breadcrumbs" }] :
|
|
11795
|
+
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
11796
|
+
this.eyebrow = input(null, ...ngDevMode ? [{ debugName: "eyebrow" }] : /* istanbul ignore next */ []);
|
|
11797
|
+
this.count = input(null, ...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
|
|
11798
|
+
this.sub = input(null, ...ngDevMode ? [{ debugName: "sub" }] : /* istanbul ignore next */ []);
|
|
11799
|
+
this.breadcrumbs = input([], ...ngDevMode ? [{ debugName: "breadcrumbs" }] : /* istanbul ignore next */ []);
|
|
11800
|
+
this.helpHref = input(null, ...ngDevMode ? [{ debugName: "helpHref" }] : /* istanbul ignore next */ []);
|
|
11800
11801
|
}
|
|
11801
11802
|
static {
|
|
11802
11803
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -11850,6 +11851,13 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
11850
11851
|
isSignal: true,
|
|
11851
11852
|
isRequired: false,
|
|
11852
11853
|
transformFunction: null
|
|
11854
|
+
},
|
|
11855
|
+
helpHref: {
|
|
11856
|
+
classPropertyName: "helpHref",
|
|
11857
|
+
publicName: "helpHref",
|
|
11858
|
+
isSignal: true,
|
|
11859
|
+
isRequired: false,
|
|
11860
|
+
transformFunction: null
|
|
11853
11861
|
}
|
|
11854
11862
|
},
|
|
11855
11863
|
ngImport: i0,
|
|
@@ -11890,11 +11898,37 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
11890
11898
|
<p class="flr-ph__sub">{{ sub() }}</p>
|
|
11891
11899
|
}
|
|
11892
11900
|
</div>
|
|
11893
|
-
<div class="flr-ph__actions"
|
|
11901
|
+
<div class="flr-ph__actions">
|
|
11902
|
+
<ng-content select="[page-header-actions]" />
|
|
11903
|
+
@if (helpHref(); as href) {
|
|
11904
|
+
<a
|
|
11905
|
+
class="flr-ph__help"
|
|
11906
|
+
[href]="href"
|
|
11907
|
+
target="_blank"
|
|
11908
|
+
rel="noopener"
|
|
11909
|
+
aria-label="Open the documentation"
|
|
11910
|
+
title="Documentation"
|
|
11911
|
+
>
|
|
11912
|
+
<svg
|
|
11913
|
+
viewBox="0 0 24 24"
|
|
11914
|
+
fill="none"
|
|
11915
|
+
stroke="currentColor"
|
|
11916
|
+
stroke-width="1.75"
|
|
11917
|
+
stroke-linecap="round"
|
|
11918
|
+
stroke-linejoin="round"
|
|
11919
|
+
aria-hidden="true"
|
|
11920
|
+
>
|
|
11921
|
+
<circle cx="12" cy="12" r="9" />
|
|
11922
|
+
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
|
|
11923
|
+
<line x1="12" y1="17" x2="12.01" y2="17" />
|
|
11924
|
+
</svg>
|
|
11925
|
+
</a>
|
|
11926
|
+
}
|
|
11927
|
+
</div>
|
|
11894
11928
|
</div>
|
|
11895
11929
|
`,
|
|
11896
11930
|
isInline: true,
|
|
11897
|
-
styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;gap:10px;flex-wrap:wrap}.flr-ph__actions:empty{display:none}\n"],
|
|
11931
|
+
styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.flr-ph__help{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;color:var(--color-ink-3, #64748b);transition:color .12s ease,background-color .12s ease}.flr-ph__help:hover{color:var(--color-ink, #1e293b);background:var(--color-app-nav-active, rgba(30, 41, 59, .06))}.flr-ph__help:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:2px}.flr-ph__help svg{width:18px;height:18px}.flr-ph__actions:empty{display:none}\n"],
|
|
11898
11932
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
11899
11933
|
});
|
|
11900
11934
|
}
|
|
@@ -11946,10 +11980,36 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11946
11980
|
<p class="flr-ph__sub">{{ sub() }}</p>
|
|
11947
11981
|
}
|
|
11948
11982
|
</div>
|
|
11949
|
-
<div class="flr-ph__actions"
|
|
11983
|
+
<div class="flr-ph__actions">
|
|
11984
|
+
<ng-content select="[page-header-actions]" />
|
|
11985
|
+
@if (helpHref(); as href) {
|
|
11986
|
+
<a
|
|
11987
|
+
class="flr-ph__help"
|
|
11988
|
+
[href]="href"
|
|
11989
|
+
target="_blank"
|
|
11990
|
+
rel="noopener"
|
|
11991
|
+
aria-label="Open the documentation"
|
|
11992
|
+
title="Documentation"
|
|
11993
|
+
>
|
|
11994
|
+
<svg
|
|
11995
|
+
viewBox="0 0 24 24"
|
|
11996
|
+
fill="none"
|
|
11997
|
+
stroke="currentColor"
|
|
11998
|
+
stroke-width="1.75"
|
|
11999
|
+
stroke-linecap="round"
|
|
12000
|
+
stroke-linejoin="round"
|
|
12001
|
+
aria-hidden="true"
|
|
12002
|
+
>
|
|
12003
|
+
<circle cx="12" cy="12" r="9" />
|
|
12004
|
+
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
|
|
12005
|
+
<line x1="12" y1="17" x2="12.01" y2="17" />
|
|
12006
|
+
</svg>
|
|
12007
|
+
</a>
|
|
12008
|
+
}
|
|
12009
|
+
</div>
|
|
11950
12010
|
</div>
|
|
11951
12011
|
`,
|
|
11952
|
-
styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;gap:10px;flex-wrap:wrap}.flr-ph__actions:empty{display:none}\n"]
|
|
12012
|
+
styles: [":host{display:block}.flr-ph{display:flex;align-items:flex-end;gap:24px;padding:32px 32px 24px;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));flex-wrap:wrap}.flr-ph__main{flex:1;min-width:240px}.flr-ph__crumbs{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.06em;color:var(--color-ink-3, #64748b);margin-bottom:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flr-ph__crumbs--tight{margin-bottom:8px}.flr-ph__crumb-sep{opacity:.5}.flr-ph__crumb-link{color:inherit;text-decoration:none}.flr-ph__crumb-link:hover{color:var(--color-ink, #1e293b)}.flr-ph__crumb-current{color:var(--color-ink-2, #475569)}.flr-ph__eyebrow{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b);margin-bottom:12px}.flr-ph__title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flr-ph__title{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.025em;margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.flr-ph__count{font-family:var(--font-mono, \"DM Mono\", ui-monospace, monospace);font-size:14px;font-weight:400;letter-spacing:.04em;color:var(--color-ink-3, #64748b)}.flr-ph__sub{font-size:15px;color:var(--color-ink-2, #475569);margin-top:8px;margin-bottom:0;max-width:600px}.flr-ph__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.flr-ph__help{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;color:var(--color-ink-3, #64748b);transition:color .12s ease,background-color .12s ease}.flr-ph__help:hover{color:var(--color-ink, #1e293b);background:var(--color-app-nav-active, rgba(30, 41, 59, .06))}.flr-ph__help:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:2px}.flr-ph__help svg{width:18px;height:18px}.flr-ph__actions:empty{display:none}\n"]
|
|
11953
12013
|
}]
|
|
11954
12014
|
}],
|
|
11955
12015
|
propDecorators: {
|
|
@@ -11992,13 +12052,21 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11992
12052
|
alias: "breadcrumbs",
|
|
11993
12053
|
required: false
|
|
11994
12054
|
}]
|
|
12055
|
+
}],
|
|
12056
|
+
helpHref: [{
|
|
12057
|
+
type: i0.Input,
|
|
12058
|
+
args: [{
|
|
12059
|
+
isSignal: true,
|
|
12060
|
+
alias: "helpHref",
|
|
12061
|
+
required: false
|
|
12062
|
+
}]
|
|
11995
12063
|
}]
|
|
11996
12064
|
}
|
|
11997
12065
|
});
|
|
11998
12066
|
var SectionComponent = class SectionComponent {
|
|
11999
12067
|
constructor() {
|
|
12000
|
-
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] :
|
|
12001
|
-
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] :
|
|
12068
|
+
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
12069
|
+
this.hint = input(null, ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
12002
12070
|
}
|
|
12003
12071
|
static {
|
|
12004
12072
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -12096,7 +12164,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12096
12164
|
});
|
|
12097
12165
|
var EmptyStateComponent = class EmptyStateComponent {
|
|
12098
12166
|
constructor() {
|
|
12099
|
-
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] :
|
|
12167
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
12100
12168
|
}
|
|
12101
12169
|
static {
|
|
12102
12170
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -12173,7 +12241,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12173
12241
|
});
|
|
12174
12242
|
var LoadingStateComponent = class LoadingStateComponent {
|
|
12175
12243
|
constructor() {
|
|
12176
|
-
this.label = input("Loading…", ...ngDevMode ? [{ debugName: "label" }] :
|
|
12244
|
+
this.label = input("Loading…", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
12177
12245
|
}
|
|
12178
12246
|
static {
|
|
12179
12247
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -12232,10 +12300,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12232
12300
|
});
|
|
12233
12301
|
var ErrorStateComponent = class ErrorStateComponent {
|
|
12234
12302
|
constructor() {
|
|
12235
|
-
this.message = input.required(...ngDevMode ? [{ debugName: "message" }] :
|
|
12236
|
-
this.title = input("Something went wrong.", ...ngDevMode ? [{ debugName: "title" }] :
|
|
12237
|
-
this.retryLabel = input("Retry", ...ngDevMode ? [{ debugName: "retryLabel" }] :
|
|
12238
|
-
this.canRetry = input(true, ...ngDevMode ? [{ debugName: "canRetry" }] :
|
|
12303
|
+
this.message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
12304
|
+
this.title = input("Something went wrong.", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
12305
|
+
this.retryLabel = input("Retry", ...ngDevMode ? [{ debugName: "retryLabel" }] : /* istanbul ignore next */ []);
|
|
12306
|
+
this.canRetry = input(true, ...ngDevMode ? [{ debugName: "canRetry" }] : /* istanbul ignore next */ []);
|
|
12239
12307
|
this.retry = output();
|
|
12240
12308
|
}
|
|
12241
12309
|
static {
|
|
@@ -12412,45 +12480,45 @@ function pageSlots(page, totalPages, siblings) {
|
|
|
12412
12480
|
}
|
|
12413
12481
|
var PaginationComponent = class PaginationComponent {
|
|
12414
12482
|
constructor() {
|
|
12415
|
-
this.page = input.required(...ngDevMode ? [{ debugName: "page" }] :
|
|
12416
|
-
this.totalPages = input(null, ...ngDevMode ? [{ debugName: "totalPages" }] :
|
|
12417
|
-
this.totalItems = input(null, ...ngDevMode ? [{ debugName: "totalItems" }] :
|
|
12418
|
-
this.pageSize = input(20, ...ngDevMode ? [{ debugName: "pageSize" }] :
|
|
12419
|
-
this.siblingCount = input(1, ...ngDevMode ? [{ debugName: "siblingCount" }] :
|
|
12420
|
-
this.showFirstLast = input(true, ...ngDevMode ? [{ debugName: "showFirstLast" }] :
|
|
12421
|
-
this.showSummary = input(false, ...ngDevMode ? [{ debugName: "showSummary" }] :
|
|
12422
|
-
this.hideOnSinglePage = input(true, ...ngDevMode ? [{ debugName: "hideOnSinglePage" }] :
|
|
12423
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
12424
|
-
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] :
|
|
12425
|
-
this.variant = input("pages", ...ngDevMode ? [{ debugName: "variant" }] :
|
|
12426
|
-
this.align = input("center", ...ngDevMode ? [{ debugName: "align" }] :
|
|
12427
|
-
this.pageHref = input(null, ...ngDevMode ? [{ debugName: "pageHref" }] :
|
|
12428
|
-
this.labels = input({}, ...ngDevMode ? [{ debugName: "labels" }] :
|
|
12483
|
+
this.page = input.required(...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
|
|
12484
|
+
this.totalPages = input(null, ...ngDevMode ? [{ debugName: "totalPages" }] : /* istanbul ignore next */ []);
|
|
12485
|
+
this.totalItems = input(null, ...ngDevMode ? [{ debugName: "totalItems" }] : /* istanbul ignore next */ []);
|
|
12486
|
+
this.pageSize = input(20, ...ngDevMode ? [{ debugName: "pageSize" }] : /* istanbul ignore next */ []);
|
|
12487
|
+
this.siblingCount = input(1, ...ngDevMode ? [{ debugName: "siblingCount" }] : /* istanbul ignore next */ []);
|
|
12488
|
+
this.showFirstLast = input(true, ...ngDevMode ? [{ debugName: "showFirstLast" }] : /* istanbul ignore next */ []);
|
|
12489
|
+
this.showSummary = input(false, ...ngDevMode ? [{ debugName: "showSummary" }] : /* istanbul ignore next */ []);
|
|
12490
|
+
this.hideOnSinglePage = input(true, ...ngDevMode ? [{ debugName: "hideOnSinglePage" }] : /* istanbul ignore next */ []);
|
|
12491
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
12492
|
+
this.size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
12493
|
+
this.variant = input("pages", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
12494
|
+
this.align = input("center", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
|
|
12495
|
+
this.pageHref = input(null, ...ngDevMode ? [{ debugName: "pageHref" }] : /* istanbul ignore next */ []);
|
|
12496
|
+
this.labels = input({}, ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
12429
12497
|
this.ariaLabel = input(null, {
|
|
12430
|
-
...ngDevMode ? { debugName: "ariaLabel" } :
|
|
12498
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
12431
12499
|
alias: "aria-label"
|
|
12432
12500
|
});
|
|
12433
12501
|
this.pageChange = output();
|
|
12434
12502
|
this.resolvedLabels = computed(() => ({
|
|
12435
12503
|
...DEFAULT_PAGINATION_LABELS,
|
|
12436
12504
|
...this.labels()
|
|
12437
|
-
}), ...ngDevMode ? [{ debugName: "resolvedLabels" }] :
|
|
12505
|
+
}), ...ngDevMode ? [{ debugName: "resolvedLabels" }] : /* istanbul ignore next */ []);
|
|
12438
12506
|
this.resolvedTotalPages = computed(() => {
|
|
12439
12507
|
const explicit = this.totalPages();
|
|
12440
12508
|
if (explicit !== null) return Math.max(1, Math.floor(explicit));
|
|
12441
12509
|
const total = this.totalItems();
|
|
12442
12510
|
if (total === null) return 1;
|
|
12443
12511
|
return Math.max(1, Math.ceil(total / Math.max(1, this.pageSize())));
|
|
12444
|
-
}, ...ngDevMode ? [{ debugName: "resolvedTotalPages" }] :
|
|
12445
|
-
this.currentPage = computed(() => clamp(Math.floor(this.page()), 1, this.resolvedTotalPages()), ...ngDevMode ? [{ debugName: "currentPage" }] :
|
|
12446
|
-
this.visible = computed(() => !this.hideOnSinglePage() || this.resolvedTotalPages() > 1, ...ngDevMode ? [{ debugName: "visible" }] :
|
|
12512
|
+
}, ...ngDevMode ? [{ debugName: "resolvedTotalPages" }] : /* istanbul ignore next */ []);
|
|
12513
|
+
this.currentPage = computed(() => clamp(Math.floor(this.page()), 1, this.resolvedTotalPages()), ...ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []);
|
|
12514
|
+
this.visible = computed(() => !this.hideOnSinglePage() || this.resolvedTotalPages() > 1, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
12447
12515
|
this.summary = computed(() => {
|
|
12448
12516
|
const total = this.totalItems();
|
|
12449
12517
|
if (!this.showSummary() || total === null) return null;
|
|
12450
12518
|
const size = Math.max(1, this.pageSize());
|
|
12451
12519
|
const from = total === 0 ? 0 : (this.currentPage() - 1) * size + 1;
|
|
12452
12520
|
return this.resolvedLabels().summary(from, Math.min(this.currentPage() * size, total), total);
|
|
12453
|
-
}, ...ngDevMode ? [{ debugName: "summary" }] :
|
|
12521
|
+
}, ...ngDevMode ? [{ debugName: "summary" }] : /* istanbul ignore next */ []);
|
|
12454
12522
|
this.items = computed(() => {
|
|
12455
12523
|
const page = this.currentPage();
|
|
12456
12524
|
const totalPages = this.resolvedTotalPages();
|
|
@@ -12490,7 +12558,7 @@ var PaginationComponent = class PaginationComponent {
|
|
|
12490
12558
|
items.push(this.control("next", page + 1, labels.next, page === totalPages));
|
|
12491
12559
|
if (this.showFirstLast()) items.push(this.control("last", totalPages, labels.last, page === totalPages));
|
|
12492
12560
|
return items;
|
|
12493
|
-
}, ...ngDevMode ? [{ debugName: "items" }] :
|
|
12561
|
+
}, ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
12494
12562
|
}
|
|
12495
12563
|
goTo(page) {
|
|
12496
12564
|
const target = clamp(page, 1, this.resolvedTotalPages());
|
|
@@ -12799,17 +12867,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12799
12867
|
});
|
|
12800
12868
|
const DEFAULT_PAGE_SIZE = 25;
|
|
12801
12869
|
function paged(source, pageSize = 25) {
|
|
12802
|
-
const requested = signal(1, ...ngDevMode ? [{ debugName: "requested" }] :
|
|
12803
|
-
const total = computed(() => source().length, ...ngDevMode ? [{ debugName: "total" }] :
|
|
12804
|
-
const lastPage = computed(() => Math.max(1, Math.ceil(total() / pageSize)), ...ngDevMode ? [{ debugName: "lastPage" }] :
|
|
12805
|
-
const page = computed(() => Math.min(Math.max(1, requested()), lastPage()), ...ngDevMode ? [{ debugName: "page" }] :
|
|
12870
|
+
const requested = signal(1, ...ngDevMode ? [{ debugName: "requested" }] : /* istanbul ignore next */ []);
|
|
12871
|
+
const total = computed(() => source().length, ...ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []);
|
|
12872
|
+
const lastPage = computed(() => Math.max(1, Math.ceil(total() / pageSize)), ...ngDevMode ? [{ debugName: "lastPage" }] : /* istanbul ignore next */ []);
|
|
12873
|
+
const page = computed(() => Math.min(Math.max(1, requested()), lastPage()), ...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
|
|
12806
12874
|
return {
|
|
12807
12875
|
page,
|
|
12808
12876
|
total,
|
|
12809
12877
|
items: computed(() => {
|
|
12810
12878
|
const start = (page() - 1) * pageSize;
|
|
12811
12879
|
return source().slice(start, start + pageSize);
|
|
12812
|
-
}, ...ngDevMode ? [{ debugName: "items" }] :
|
|
12880
|
+
}, ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []),
|
|
12813
12881
|
pageSize,
|
|
12814
12882
|
setPage: (next) => requested.set(next)
|
|
12815
12883
|
};
|
|
@@ -12872,8 +12940,8 @@ var SiteNavbarComponent = class SiteNavbarComponent {
|
|
|
12872
12940
|
label: this.chrome.cta.label,
|
|
12873
12941
|
href: withLocaleBase(this.locale, this.chrome.cta.href)
|
|
12874
12942
|
} : null;
|
|
12875
|
-
this.scrolled = signal(false, ...ngDevMode ? [{ debugName: "scrolled" }] :
|
|
12876
|
-
this.mobileOpen = signal(false, ...ngDevMode ? [{ debugName: "mobileOpen" }] :
|
|
12943
|
+
this.scrolled = signal(false, ...ngDevMode ? [{ debugName: "scrolled" }] : /* istanbul ignore next */ []);
|
|
12944
|
+
this.mobileOpen = signal(false, ...ngDevMode ? [{ debugName: "mobileOpen" }] : /* istanbul ignore next */ []);
|
|
12877
12945
|
this.locales = siteLocales(this.chrome);
|
|
12878
12946
|
}
|
|
12879
12947
|
langHref(target) {
|
|
@@ -13225,9 +13293,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13225
13293
|
});
|
|
13226
13294
|
var SiteShellComponent = class SiteShellComponent {
|
|
13227
13295
|
constructor() {
|
|
13228
|
-
this.title = input("", ...ngDevMode ? [{ debugName: "title" }] :
|
|
13229
|
-
this.description = input("", ...ngDevMode ? [{ debugName: "description" }] :
|
|
13230
|
-
this.canonical = input(null, ...ngDevMode ? [{ debugName: "canonical" }] :
|
|
13296
|
+
this.title = input("", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
13297
|
+
this.description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
13298
|
+
this.canonical = input(null, ...ngDevMode ? [{ debugName: "canonical" }] : /* istanbul ignore next */ []);
|
|
13231
13299
|
this.chrome = inject(SITE_CHROME);
|
|
13232
13300
|
this.location = inject(Location);
|
|
13233
13301
|
this.titleService = inject(Title);
|
|
@@ -13496,6 +13564,144 @@ function userMenuItems(options = {}) {
|
|
|
13496
13564
|
});
|
|
13497
13565
|
return items;
|
|
13498
13566
|
}
|
|
13567
|
+
var SegmentedComponent = class SegmentedComponent {
|
|
13568
|
+
constructor() {
|
|
13569
|
+
this.sanitizer = inject(DomSanitizer);
|
|
13570
|
+
this.options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
13571
|
+
this.value = model.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
13572
|
+
this.iconOnly = input(false, ...ngDevMode ? [{ debugName: "iconOnly" }] : /* istanbul ignore next */ []);
|
|
13573
|
+
this.ariaLabel = input(null, {
|
|
13574
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
13575
|
+
alias: "aria-label"
|
|
13576
|
+
});
|
|
13577
|
+
}
|
|
13578
|
+
trustedIcon(markup) {
|
|
13579
|
+
return markup && isTrustedIconMarkup(markup) ? this.sanitizer.bypassSecurityTrustHtml(markup) : null;
|
|
13580
|
+
}
|
|
13581
|
+
select(option) {
|
|
13582
|
+
this.value.set(option.value);
|
|
13583
|
+
}
|
|
13584
|
+
handleKeydown(event, index, buttons) {
|
|
13585
|
+
const options = this.options();
|
|
13586
|
+
const step = {
|
|
13587
|
+
ArrowRight: 1,
|
|
13588
|
+
ArrowDown: 1,
|
|
13589
|
+
ArrowLeft: -1,
|
|
13590
|
+
ArrowUp: -1
|
|
13591
|
+
}[event.key];
|
|
13592
|
+
if (step === void 0) return;
|
|
13593
|
+
event.preventDefault();
|
|
13594
|
+
const next = (index + step + options.length) % options.length;
|
|
13595
|
+
this.value.set(options[next].value);
|
|
13596
|
+
buttons.querySelectorAll("button")[next]?.focus();
|
|
13597
|
+
}
|
|
13598
|
+
static {
|
|
13599
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
13600
|
+
minVersion: "12.0.0",
|
|
13601
|
+
version: "22.2.0",
|
|
13602
|
+
ngImport: i0,
|
|
13603
|
+
type: SegmentedComponent,
|
|
13604
|
+
deps: [],
|
|
13605
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
13606
|
+
});
|
|
13607
|
+
}
|
|
13608
|
+
static {
|
|
13609
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
13610
|
+
minVersion: "17.0.0",
|
|
13611
|
+
version: "22.2.0",
|
|
13612
|
+
type: SegmentedComponent,
|
|
13613
|
+
isStandalone: true,
|
|
13614
|
+
selector: "flr-segmented",
|
|
13615
|
+
inputs: {
|
|
13616
|
+
options: {
|
|
13617
|
+
classPropertyName: "options",
|
|
13618
|
+
publicName: "options",
|
|
13619
|
+
isSignal: true,
|
|
13620
|
+
isRequired: true,
|
|
13621
|
+
transformFunction: null
|
|
13622
|
+
},
|
|
13623
|
+
value: {
|
|
13624
|
+
classPropertyName: "value",
|
|
13625
|
+
publicName: "value",
|
|
13626
|
+
isSignal: true,
|
|
13627
|
+
isRequired: true,
|
|
13628
|
+
transformFunction: null
|
|
13629
|
+
},
|
|
13630
|
+
iconOnly: {
|
|
13631
|
+
classPropertyName: "iconOnly",
|
|
13632
|
+
publicName: "iconOnly",
|
|
13633
|
+
isSignal: true,
|
|
13634
|
+
isRequired: false,
|
|
13635
|
+
transformFunction: null
|
|
13636
|
+
},
|
|
13637
|
+
ariaLabel: {
|
|
13638
|
+
classPropertyName: "ariaLabel",
|
|
13639
|
+
publicName: "aria-label",
|
|
13640
|
+
isSignal: true,
|
|
13641
|
+
isRequired: false,
|
|
13642
|
+
transformFunction: null
|
|
13643
|
+
}
|
|
13644
|
+
},
|
|
13645
|
+
outputs: { value: "valueChange" },
|
|
13646
|
+
ngImport: i0,
|
|
13647
|
+
template: "<div #group class=\"flr-seg\" role=\"radiogroup\" [attr.aria-label]=\"ariaLabel()\">\n @for (option of options(); track option.value; let i = $index) {\n @let selected = option.value === value();\n <button\n type=\"button\"\n role=\"radio\"\n class=\"flr-seg__option\"\n [class.flr-seg__option--selected]=\"selected\"\n [class.flr-seg__option--icon-only]=\"iconOnly() && option.icon\"\n [attr.aria-checked]=\"selected\"\n [attr.aria-label]=\"iconOnly() && option.icon ? option.label : null\"\n [attr.title]=\"iconOnly() && option.icon ? option.label : null\"\n [tabindex]=\"selected ? 0 : -1\"\n (click)=\"select(option)\"\n (keydown)=\"handleKeydown($event, i, group)\"\n >\n @let icon = trustedIcon(option.icon);\n @if (icon) {\n <span class=\"flr-seg__icon\" aria-hidden=\"true\" [innerHTML]=\"icon\"></span>\n }\n @if (!iconOnly() || !icon) {\n <span>{{ option.label }}</span>\n }\n </button>\n }\n</div>\n",
|
|
13648
|
+
styles: [":host{display:inline-block}.flr-seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:10px;background:var(--color-app-bg-2, #f4f4f2)}.flr-seg__option{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--color-ink-3, #64748b);font:inherit;font-size:13px;cursor:pointer;transition:color .12s ease,background-color .12s ease}.flr-seg__option:hover{color:var(--color-ink, #1e293b)}.flr-seg__option:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:1px}.flr-seg__option--selected{background:var(--color-card, #ffffff);color:var(--color-ink, #1e293b);box-shadow:0 1px 2px #1e293b1f}.flr-seg__option--icon-only{width:30px;padding:0;justify-content:center}.flr-seg__icon{display:inline-flex}.flr-seg__icon ::ng-deep svg{width:16px;height:16px}\n"],
|
|
13649
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
13650
|
+
});
|
|
13651
|
+
}
|
|
13652
|
+
};
|
|
13653
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
13654
|
+
minVersion: "12.0.0",
|
|
13655
|
+
version: "22.2.0",
|
|
13656
|
+
ngImport: i0,
|
|
13657
|
+
type: SegmentedComponent,
|
|
13658
|
+
decorators: [{
|
|
13659
|
+
type: Component,
|
|
13660
|
+
args: [{
|
|
13661
|
+
selector: "flr-segmented",
|
|
13662
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13663
|
+
template: "<div #group class=\"flr-seg\" role=\"radiogroup\" [attr.aria-label]=\"ariaLabel()\">\n @for (option of options(); track option.value; let i = $index) {\n @let selected = option.value === value();\n <button\n type=\"button\"\n role=\"radio\"\n class=\"flr-seg__option\"\n [class.flr-seg__option--selected]=\"selected\"\n [class.flr-seg__option--icon-only]=\"iconOnly() && option.icon\"\n [attr.aria-checked]=\"selected\"\n [attr.aria-label]=\"iconOnly() && option.icon ? option.label : null\"\n [attr.title]=\"iconOnly() && option.icon ? option.label : null\"\n [tabindex]=\"selected ? 0 : -1\"\n (click)=\"select(option)\"\n (keydown)=\"handleKeydown($event, i, group)\"\n >\n @let icon = trustedIcon(option.icon);\n @if (icon) {\n <span class=\"flr-seg__icon\" aria-hidden=\"true\" [innerHTML]=\"icon\"></span>\n }\n @if (!iconOnly() || !icon) {\n <span>{{ option.label }}</span>\n }\n </button>\n }\n</div>\n",
|
|
13664
|
+
styles: [":host{display:inline-block}.flr-seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:10px;background:var(--color-app-bg-2, #f4f4f2)}.flr-seg__option{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--color-ink-3, #64748b);font:inherit;font-size:13px;cursor:pointer;transition:color .12s ease,background-color .12s ease}.flr-seg__option:hover{color:var(--color-ink, #1e293b)}.flr-seg__option:focus-visible{outline:2px solid var(--color-accent, currentColor);outline-offset:1px}.flr-seg__option--selected{background:var(--color-card, #ffffff);color:var(--color-ink, #1e293b);box-shadow:0 1px 2px #1e293b1f}.flr-seg__option--icon-only{width:30px;padding:0;justify-content:center}.flr-seg__icon{display:inline-flex}.flr-seg__icon ::ng-deep svg{width:16px;height:16px}\n"]
|
|
13665
|
+
}]
|
|
13666
|
+
}],
|
|
13667
|
+
propDecorators: {
|
|
13668
|
+
options: [{
|
|
13669
|
+
type: i0.Input,
|
|
13670
|
+
args: [{
|
|
13671
|
+
isSignal: true,
|
|
13672
|
+
alias: "options",
|
|
13673
|
+
required: true
|
|
13674
|
+
}]
|
|
13675
|
+
}],
|
|
13676
|
+
value: [{
|
|
13677
|
+
type: i0.Input,
|
|
13678
|
+
args: [{
|
|
13679
|
+
isSignal: true,
|
|
13680
|
+
alias: "value",
|
|
13681
|
+
required: true
|
|
13682
|
+
}]
|
|
13683
|
+
}, {
|
|
13684
|
+
type: i0.Output,
|
|
13685
|
+
args: ["valueChange"]
|
|
13686
|
+
}],
|
|
13687
|
+
iconOnly: [{
|
|
13688
|
+
type: i0.Input,
|
|
13689
|
+
args: [{
|
|
13690
|
+
isSignal: true,
|
|
13691
|
+
alias: "iconOnly",
|
|
13692
|
+
required: false
|
|
13693
|
+
}]
|
|
13694
|
+
}],
|
|
13695
|
+
ariaLabel: [{
|
|
13696
|
+
type: i0.Input,
|
|
13697
|
+
args: [{
|
|
13698
|
+
isSignal: true,
|
|
13699
|
+
alias: "aria-label",
|
|
13700
|
+
required: false
|
|
13701
|
+
}]
|
|
13702
|
+
}]
|
|
13703
|
+
}
|
|
13704
|
+
});
|
|
13499
13705
|
const LABEL = {
|
|
13500
13706
|
up: "Operational",
|
|
13501
13707
|
degraded: "Degraded",
|
|
@@ -13504,10 +13710,10 @@ const LABEL = {
|
|
|
13504
13710
|
};
|
|
13505
13711
|
var StatusBarsComponent = class StatusBarsComponent {
|
|
13506
13712
|
constructor() {
|
|
13507
|
-
this.buckets = input([], ...ngDevMode ? [{ debugName: "buckets" }] :
|
|
13508
|
-
this.slots = input(90, ...ngDevMode ? [{ debugName: "slots" }] :
|
|
13509
|
-
this.label = input("Availability", ...ngDevMode ? [{ debugName: "label" }] :
|
|
13510
|
-
this.locale = input(void 0, ...ngDevMode ? [{ debugName: "locale" }] :
|
|
13713
|
+
this.buckets = input([], ...ngDevMode ? [{ debugName: "buckets" }] : /* istanbul ignore next */ []);
|
|
13714
|
+
this.slots = input(90, ...ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []);
|
|
13715
|
+
this.label = input("Availability", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
13716
|
+
this.locale = input(void 0, ...ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []);
|
|
13511
13717
|
this.bars = computed(() => {
|
|
13512
13718
|
const slots = Math.max(1, this.slots());
|
|
13513
13719
|
const source = this.buckets().slice(-slots);
|
|
@@ -13523,13 +13729,13 @@ var StatusBarsComponent = class StatusBarsComponent {
|
|
|
13523
13729
|
title: this.titleFor(bucket, locale)
|
|
13524
13730
|
});
|
|
13525
13731
|
return padded;
|
|
13526
|
-
}, ...ngDevMode ? [{ debugName: "bars" }] :
|
|
13732
|
+
}, ...ngDevMode ? [{ debugName: "bars" }] : /* istanbul ignore next */ []);
|
|
13527
13733
|
this.summary = computed(() => {
|
|
13528
13734
|
const counted = this.buckets().filter((b) => b.status !== "unknown");
|
|
13529
13735
|
if (counted.length === 0) return `${this.label()}: no data`;
|
|
13530
13736
|
const pct = (counted.filter((b) => b.status === "up").length / counted.length * 100).toFixed(2);
|
|
13531
13737
|
return `${this.label()}: ${pct}% operational over the last ${counted.length} intervals`;
|
|
13532
|
-
}, ...ngDevMode ? [{ debugName: "summary" }] :
|
|
13738
|
+
}, ...ngDevMode ? [{ debugName: "summary" }] : /* istanbul ignore next */ []);
|
|
13533
13739
|
}
|
|
13534
13740
|
titleFor(bucket, locale) {
|
|
13535
13741
|
const when = new Date(bucket.at);
|
|
@@ -13643,18 +13849,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13643
13849
|
const TABS_STRIP = new InjectionToken("flr-tabs");
|
|
13644
13850
|
var TabComponent = class TabComponent {
|
|
13645
13851
|
constructor() {
|
|
13646
|
-
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] :
|
|
13647
|
-
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] :
|
|
13648
|
-
this.active = input(false, ...ngDevMode ? [{ debugName: "active" }] :
|
|
13649
|
-
this.count = input(null, ...ngDevMode ? [{ debugName: "count" }] :
|
|
13650
|
-
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] :
|
|
13651
|
-
this.panelId = input(null, ...ngDevMode ? [{ debugName: "panelId" }] :
|
|
13852
|
+
this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
13853
|
+
this.href = input(null, ...ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []);
|
|
13854
|
+
this.active = input(false, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
13855
|
+
this.count = input(null, ...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
|
|
13856
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
13857
|
+
this.panelId = input(null, ...ngDevMode ? [{ debugName: "panelId" }] : /* istanbul ignore next */ []);
|
|
13652
13858
|
this.selected = output();
|
|
13653
13859
|
this.strip = inject(TABS_STRIP);
|
|
13654
|
-
this.control = viewChild("control", ...ngDevMode ? [{ debugName: "control" }] :
|
|
13655
|
-
this.isPanel = computed(() => this.strip.mode() === "panel", ...ngDevMode ? [{ debugName: "isPanel" }] :
|
|
13656
|
-
this.asLink = computed(() => !this.isPanel() && !!this.href() && !this.disabled(), ...ngDevMode ? [{ debugName: "asLink" }] :
|
|
13657
|
-
this.tabIndex = computed(() => this.isPanel() ? this.strip.isFocusable(this) ? 0 : -1 : null, ...ngDevMode ? [{ debugName: "tabIndex" }] :
|
|
13860
|
+
this.control = viewChild("control", ...ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []);
|
|
13861
|
+
this.isPanel = computed(() => this.strip.mode() === "panel", ...ngDevMode ? [{ debugName: "isPanel" }] : /* istanbul ignore next */ []);
|
|
13862
|
+
this.asLink = computed(() => !this.isPanel() && !!this.href() && !this.disabled(), ...ngDevMode ? [{ debugName: "asLink" }] : /* istanbul ignore next */ []);
|
|
13863
|
+
this.tabIndex = computed(() => this.isPanel() ? this.strip.isFocusable(this) ? 0 : -1 : null, ...ngDevMode ? [{ debugName: "tabIndex" }] : /* istanbul ignore next */ []);
|
|
13658
13864
|
}
|
|
13659
13865
|
focus() {
|
|
13660
13866
|
this.control()?.nativeElement.focus();
|
|
@@ -13833,16 +14039,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13833
14039
|
});
|
|
13834
14040
|
var TabsComponent = class TabsComponent {
|
|
13835
14041
|
constructor() {
|
|
13836
|
-
this.mode = input("nav", ...ngDevMode ? [{ debugName: "mode" }] :
|
|
13837
|
-
this.ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] :
|
|
14042
|
+
this.mode = input("nav", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
14043
|
+
this.ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
13838
14044
|
this.tabs = contentChildren(TabComponent, {
|
|
13839
|
-
...ngDevMode ? { debugName: "tabs" } :
|
|
14045
|
+
...ngDevMode ? { debugName: "tabs" } : /* istanbul ignore next */ {},
|
|
13840
14046
|
descendants: true
|
|
13841
14047
|
});
|
|
13842
14048
|
this.role = computed(() => {
|
|
13843
14049
|
if (this.mode() === "panel") return "tablist";
|
|
13844
14050
|
return this.ariaLabel() ? "navigation" : null;
|
|
13845
|
-
}, ...ngDevMode ? [{ debugName: "role" }] :
|
|
14051
|
+
}, ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
13846
14052
|
}
|
|
13847
14053
|
isFocusable(tab) {
|
|
13848
14054
|
const reachable = this.tabs().filter((t) => !t.disabled());
|
|
@@ -14101,35 +14307,35 @@ async function readContactResponse(response, labels) {
|
|
|
14101
14307
|
}
|
|
14102
14308
|
var ContactFormComponent = class ContactFormComponent {
|
|
14103
14309
|
constructor() {
|
|
14104
|
-
this.endpoint = input.required(...ngDevMode ? [{ debugName: "endpoint" }] :
|
|
14105
|
-
this.product = input("ferrlabs", ...ngDevMode ? [{ debugName: "product" }] :
|
|
14106
|
-
this.kind = input("question", ...ngDevMode ? [{ debugName: "kind" }] :
|
|
14107
|
-
this.email = input("", ...ngDevMode ? [{ debugName: "email" }] :
|
|
14108
|
-
this.name = input("", ...ngDevMode ? [{ debugName: "name" }] :
|
|
14109
|
-
this.orgId = input(null, ...ngDevMode ? [{ debugName: "orgId" }] :
|
|
14110
|
-
this.fromUrl = input(null, ...ngDevMode ? [{ debugName: "fromUrl" }] :
|
|
14111
|
-
this.locale = input("en", ...ngDevMode ? [{ debugName: "locale" }] :
|
|
14112
|
-
this.labels = input(CONTACT_FORM_LABELS_EN, ...ngDevMode ? [{ debugName: "labels" }] :
|
|
14310
|
+
this.endpoint = input.required(...ngDevMode ? [{ debugName: "endpoint" }] : /* istanbul ignore next */ []);
|
|
14311
|
+
this.product = input("ferrlabs", ...ngDevMode ? [{ debugName: "product" }] : /* istanbul ignore next */ []);
|
|
14312
|
+
this.kind = input("question", ...ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []);
|
|
14313
|
+
this.email = input("", ...ngDevMode ? [{ debugName: "email" }] : /* istanbul ignore next */ []);
|
|
14314
|
+
this.name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
14315
|
+
this.orgId = input(null, ...ngDevMode ? [{ debugName: "orgId" }] : /* istanbul ignore next */ []);
|
|
14316
|
+
this.fromUrl = input(null, ...ngDevMode ? [{ debugName: "fromUrl" }] : /* istanbul ignore next */ []);
|
|
14317
|
+
this.locale = input("en", ...ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []);
|
|
14318
|
+
this.labels = input(CONTACT_FORM_LABELS_EN, ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
14113
14319
|
this.sent = output();
|
|
14114
14320
|
this.products = CONTACT_PRODUCTS;
|
|
14115
14321
|
this.kinds = CONTACT_KINDS;
|
|
14116
|
-
this.selectedProduct = signal("ferrlabs", ...ngDevMode ? [{ debugName: "selectedProduct" }] :
|
|
14117
|
-
this.selectedKind = signal("question", ...ngDevMode ? [{ debugName: "selectedKind" }] :
|
|
14118
|
-
this.emailValue = signal("", ...ngDevMode ? [{ debugName: "emailValue" }] :
|
|
14119
|
-
this.nameValue = signal("", ...ngDevMode ? [{ debugName: "nameValue" }] :
|
|
14120
|
-
this.subject = signal("", ...ngDevMode ? [{ debugName: "subject" }] :
|
|
14121
|
-
this.message = signal("", ...ngDevMode ? [{ debugName: "message" }] :
|
|
14122
|
-
this.website = signal("", ...ngDevMode ? [{ debugName: "website" }] :
|
|
14123
|
-
this.sending = signal(false, ...ngDevMode ? [{ debugName: "sending" }] :
|
|
14124
|
-
this.outcome = signal(null, ...ngDevMode ? [{ debugName: "outcome" }] :
|
|
14322
|
+
this.selectedProduct = signal("ferrlabs", ...ngDevMode ? [{ debugName: "selectedProduct" }] : /* istanbul ignore next */ []);
|
|
14323
|
+
this.selectedKind = signal("question", ...ngDevMode ? [{ debugName: "selectedKind" }] : /* istanbul ignore next */ []);
|
|
14324
|
+
this.emailValue = signal("", ...ngDevMode ? [{ debugName: "emailValue" }] : /* istanbul ignore next */ []);
|
|
14325
|
+
this.nameValue = signal("", ...ngDevMode ? [{ debugName: "nameValue" }] : /* istanbul ignore next */ []);
|
|
14326
|
+
this.subject = signal("", ...ngDevMode ? [{ debugName: "subject" }] : /* istanbul ignore next */ []);
|
|
14327
|
+
this.message = signal("", ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
14328
|
+
this.website = signal("", ...ngDevMode ? [{ debugName: "website" }] : /* istanbul ignore next */ []);
|
|
14329
|
+
this.sending = signal(false, ...ngDevMode ? [{ debugName: "sending" }] : /* istanbul ignore next */ []);
|
|
14330
|
+
this.outcome = signal(null, ...ngDevMode ? [{ debugName: "outcome" }] : /* istanbul ignore next */ []);
|
|
14125
14331
|
this.error = computed(() => {
|
|
14126
14332
|
const outcome = this.outcome();
|
|
14127
14333
|
return outcome?.state === "error" ? outcome.message : null;
|
|
14128
|
-
}, ...ngDevMode ? [{ debugName: "error" }] :
|
|
14334
|
+
}, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
14129
14335
|
this.reference = computed(() => {
|
|
14130
14336
|
const outcome = this.outcome();
|
|
14131
14337
|
return outcome?.state === "sent" ? outcome.reference : null;
|
|
14132
|
-
}, ...ngDevMode ? [{ debugName: "reference" }] :
|
|
14338
|
+
}, ...ngDevMode ? [{ debugName: "reference" }] : /* istanbul ignore next */ []);
|
|
14133
14339
|
effect(() => this.selectedProduct.set(this.product()));
|
|
14134
14340
|
effect(() => this.selectedKind.set(this.kind()));
|
|
14135
14341
|
effect(() => {
|
|
@@ -14518,6 +14724,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14518
14724
|
}]
|
|
14519
14725
|
}
|
|
14520
14726
|
});
|
|
14521
|
-
export { AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComparisonTableComponent, ContactFormComponent, ContainerComponent, DEFAULT_APPS, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LoadingStateComponent, LogoMarkComponent, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SectionComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, TabComponent, TabsComponent, TagComponent, TextareaComponent, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, localeBase, localeSwitchHref, marketingUrl, orgCreateUrl, paged, provideSiteChrome, readContactPrefill, readRuntimeEnv, resolveLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, userMenuItems, withHiddenApps, withLocaleBase };
|
|
14727
|
+
export { AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComparisonTableComponent, ContactFormComponent, ContainerComponent, DEFAULT_APPS, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LoadingStateComponent, LogoMarkComponent, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SectionComponent, SegmentedComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, TabComponent, TabsComponent, TagComponent, TextareaComponent, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, localeBase, localeSwitchHref, marketingUrl, orgCreateUrl, paged, provideSiteChrome, readContactPrefill, readRuntimeEnv, resolveLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, userMenuItems, withHiddenApps, withLocaleBase };
|
|
14522
14728
|
|
|
14523
14729
|
//# sourceMappingURL=ferrlabs-ui-ng.mjs.map
|