@design.estate/dees-catalog 22.4.1 → 22.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +370 -174
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-RITCTBBY.js → chunk-K2WA4NFI.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IGD4DLG4.js → chunk-OFVHJYUS.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MK42UYWT.js → chunk-TCT6JQUS.js} +5 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MK42UYWT.js.map → chunk-TCT6JQUS.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-TN6FRTSU.js → de-VUUYAWTZ.js} +5 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-VUUYAWTZ.js.map +1 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PLLCPO5V.js → dees-modal-KNFCFUX6.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-7N6EXGH6.js → dees-workspace-terminal-GCBL7RVQ.js} +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/demos/appui.state.d.ts +7 -0
- package/dist_ts_web/demos/charts.d.ts +14 -0
- package/dist_ts_web/demos/charts.js +62 -20
- package/dist_ts_web/elements/00firstload.d.ts +24 -0
- package/dist_ts_web/elements/00firstload.js +52 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-base.d.ts +29 -1
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-base.js +64 -15
- package/dist_ts_web/elements/00group-chart/dees-chart-frame.d.ts +15 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-frame.js +20 -2
- package/dist_ts_web/elements/00group-chart/dees-chart-gauge/component.d.ts +2 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-gauge/component.js +3 -1
- package/dist_ts_web/elements/00group-chart/dees-chart-line/component.d.ts +33 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-line/component.js +104 -8
- package/dist_ts_web/elements/00group-feedback/dees-progressbar/dees-progressbar.js +5 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.d.ts +4 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +22 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.d.ts +16 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.js +9 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.js +55 -6
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +3 -3
- package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.js +3 -3
- package/dist_ts_web/i18n/de.d.ts +12 -0
- package/dist_ts_web/i18n/de.js +4 -1
- package/dist_ts_web/i18n/messages.d.ts +12 -0
- package/dist_ts_web/i18n/messages.js +4 -1
- package/package.json +2 -2
- package/readme.md +36 -2
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/demos/charts.ts +48 -18
- package/ts_web/elements/{00group-kanban/kanban.firstload.ts → 00firstload.ts} +8 -7
- package/ts_web/elements/00group-chart/dees-chart-echarts-base.ts +55 -4
- package/ts_web/elements/00group-chart/dees-chart-frame.ts +31 -1
- package/ts_web/elements/00group-chart/dees-chart-gauge/component.ts +2 -0
- package/ts_web/elements/00group-chart/dees-chart-line/component.ts +100 -7
- package/ts_web/elements/00group-feedback/dees-progressbar/dees-progressbar.ts +4 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +10 -0
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.ts +9 -1
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts +43 -4
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +2 -2
- package/ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts +2 -2
- package/ts_web/i18n/de.ts +3 -0
- package/ts_web/i18n/messages.ts +3 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-TN6FRTSU.js.map +0 -1
- package/dist_ts_web/elements/00group-kanban/kanban.firstload.d.ts +0 -23
- package/dist_ts_web/elements/00group-kanban/kanban.firstload.js +0 -51
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-RITCTBBY.js.map → chunk-K2WA4NFI.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IGD4DLG4.js.map → chunk-OFVHJYUS.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PLLCPO5V.js.map → dees-modal-KNFCFUX6.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-7N6EXGH6.js.map → dees-workspace-terminal-GCBL7RVQ.js.map} +0 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
ownAppuiLabels,
|
|
26
26
|
resolveAppuiLabels,
|
|
27
27
|
xtermStyles
|
|
28
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
28
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-OFVHJYUS.js";
|
|
29
29
|
import {
|
|
30
30
|
ActionRunController,
|
|
31
31
|
BarInfoController,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
workspaceVisibility,
|
|
129
129
|
zIndexLayers,
|
|
130
130
|
zIndexRegistry
|
|
131
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
131
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-K2WA4NFI.js";
|
|
132
132
|
import {
|
|
133
133
|
dcMessages,
|
|
134
134
|
dcSourceI18n,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
firstDayOfWeek,
|
|
139
139
|
iso_exports,
|
|
140
140
|
momentFormat
|
|
141
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
141
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-TCT6JQUS.js";
|
|
142
142
|
import {
|
|
143
143
|
__decorateElement,
|
|
144
144
|
__decoratorMetadata,
|
|
@@ -854,7 +854,7 @@ __runInitializers(_init3, 1, _DeesHint);
|
|
|
854
854
|
var DeesHint = _DeesHint;
|
|
855
855
|
|
|
856
856
|
// ts_web/demos/charts.ts
|
|
857
|
-
var _language_dec, _dotless_dec, _latest_dec, _filled_dec, _secondary_dec, _alternate_dec, _empty_dec, _sample_dec, _kind_dec, _a3, _DeesDemoChartWorkspace_decorators, _init4, _kind, _sample, _empty, _alternate, _secondary, _filled, _latest, _dotless, _language;
|
|
857
|
+
var _language_dec, _load_dec, _stackedLines_dec, _dotless_dec, _latest_dec, _filled_dec, _secondary_dec, _alternate_dec, _empty_dec, _sample_dec, _kind_dec, _a3, _DeesDemoChartWorkspace_decorators, _init4, _kind, _sample, _empty, _alternate, _secondary, _filled, _latest, _dotless, _stackedLines, _load, _language;
|
|
858
858
|
var chartSamples = /* @__PURE__ */ __name((step = 0, sampledAt = Date.now()) => {
|
|
859
859
|
const offset = [0, 8, -4, 12][step % 4];
|
|
860
860
|
return {
|
|
@@ -917,6 +917,19 @@ var chartSamples = /* @__PURE__ */ __name((step = 0, sampledAt = Date.now()) =>
|
|
|
917
917
|
{ time: "2026-09-30", value: 5600.4 + offset * 10 }
|
|
918
918
|
] }
|
|
919
919
|
],
|
|
920
|
+
// Cloud spend by service, stacked into the week's total: compute every Monday, storage as its
|
|
921
|
+
// invoices state it, and a network service booked from August on.
|
|
922
|
+
cloudSpend: [
|
|
923
|
+
{ name: "Compute", data: [1840, 1920, 2010, 1980, 2240, 2310, 2190, 2460, 2520 + offset * 10, 2380, 2610, 2700].map((value, index) => ({ time: new Date(Date.UTC(2026, 6, 6 + index * 7)).toISOString().slice(0, 10), value })) },
|
|
924
|
+
{ name: "Storage", data: [
|
|
925
|
+
{ time: "2026-07-06", value: 640 },
|
|
926
|
+
{ time: "2026-07-24", value: 700 },
|
|
927
|
+
{ time: "2026-08-14", value: 760 },
|
|
928
|
+
{ time: "2026-09-04", value: 820 + offset * 5 },
|
|
929
|
+
{ time: "2026-09-21", value: 880 }
|
|
930
|
+
] },
|
|
931
|
+
{ name: "Network", data: [420, 460, 510, 480, 530, 590, 620 + offset * 5, 640].map((value, index) => ({ time: new Date(Date.UTC(2026, 7, 3 + index * 7)).toISOString().slice(0, 10), value })) }
|
|
932
|
+
],
|
|
920
933
|
// A dollar account stated on two days in a row, and a year of month-end statements.
|
|
921
934
|
dayApart: [{ name: "Dollar account", data: [{ time: "2026-09-29", value: 3120 + offset * 10 }, { time: "2026-09-30", value: 2980 }] }],
|
|
922
935
|
monthEnds: [{ name: "Current account", data: [8200, 9400, 7600, 10100, 11800, 9900, 12400, 13100, 11200, 14300, 12900, 15234 + offset * 10].map((value, index) => ({ time: new Date(Date.UTC(2025, 10 + index, 0)).toISOString().slice(0, 10), value })) }],
|
|
@@ -933,11 +946,11 @@ var descriptions = {
|
|
|
933
946
|
bar: ["Compare traffic", "Compare requests and cache hits across the week. Switch orientation or stack related series. Below, each month has two columns that reach both ways from zero: money in above, money out below, and the operating column marks its surplus or deficit at its end. Its header states what the chart covers beside the title, and a line of the host's own under the plot, at the header's inset, names what the chart leaves out: the legend stays the tile's last row."],
|
|
934
947
|
donut: ["Traffic distribution", "Understand the share of requests from each region. Labels and legends remain optional. Below, three months of spending: each donut keeps one size whatever its legend holds, and the host's own list draws its dots in the charts' palette."],
|
|
935
948
|
gauge: ["Capacity", "See used capacity against a defined range and warning thresholds."],
|
|
936
|
-
line: ["Stated balances", "Balances where the statements state them, on an axis proportional to time. A quarterly statement sits three months after the one before. With lines, an area can tint each course down to zero, and the legend can state each account's latest balance. The time axis labels whole days, months or years that differ and keep apart at any width: two statements a day apart are labelled by their days, and a year of month ends month by month where there is room. The value axis of the balances states whole euros, while hovering, the legend and the text summary keep the cents. A year of daily balances crowds its line with a dot a day: with markers hidden, lines and steps draw the course alone, hovering marks and reads out the day nearest the pointer, and a value with no neighbour, such as the single savings statement, keeps its dot. The balances state their terms beside the title, with a notice of the host's own over the plot and the balances the course does not end on under it, at the header's inset: the chart grows with these rows, its plot keeping 240 px, and the legend stays the tile's last row."],
|
|
949
|
+
line: ["Stated balances", "Balances where the statements state them, on an axis proportional to time. A quarterly statement sits three months after the one before. With lines, an area can tint each course down to zero, and the legend can state each account's latest balance. The time axis labels whole days, months or years that differ and keep apart at any width: two statements a day apart are labelled by their days, and a year of month ends month by month where there is room. The value axis of the balances states whole euros, while hovering, the legend and the text summary keep the cents. A year of daily balances crowds its line with a dot a day: with markers hidden, lines and steps draw the course alone, hovering marks and reads out the day nearest the pointer, and a value with no neighbour, such as the single savings statement, keeps its dot. Stacked, each account sits on the ones before it, so the topmost line is the total held, and the cloud spend below stacks services stated on different days into the week's total: each tints its own band, a service switched off in the legend leaves the stack, and hovering reads each service's own amount. The balances state their terms beside the title, with a notice of the host's own over the plot and the balances the course does not end on under it, at the header's inset: the chart grows with these rows, its plot keeping 240 px, and the legend stays the tile's last row."],
|
|
937
950
|
radar: ["Service profile", "Compare the current service with its targets across five dimensions."]
|
|
938
951
|
};
|
|
939
952
|
_DeesDemoChartWorkspace_decorators = [customElement("dees-demo-chart-workspace")];
|
|
940
|
-
var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesElement, _kind_dec = [n()], _sample_dec = [r2()], _empty_dec = [r2()], _alternate_dec = [r2()], _secondary_dec = [r2()], _filled_dec = [r2()], _latest_dec = [r2()], _dotless_dec = [r2()], _language_dec = [r2()], _a3) {
|
|
953
|
+
var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesElement, _kind_dec = [n()], _sample_dec = [r2()], _empty_dec = [r2()], _alternate_dec = [r2()], _secondary_dec = [r2()], _filled_dec = [r2()], _latest_dec = [r2()], _dotless_dec = [r2()], _stackedLines_dec = [r2()], _load_dec = [r2()], _language_dec = [r2()], _a3) {
|
|
941
954
|
constructor() {
|
|
942
955
|
super();
|
|
943
956
|
__privateAdd(this, _kind, __runInitializers(_init4, 8, this, "bar")), __runInitializers(_init4, 11, this);
|
|
@@ -948,12 +961,26 @@ var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesE
|
|
|
948
961
|
__privateAdd(this, _filled, __runInitializers(_init4, 28, this, false)), __runInitializers(_init4, 31, this);
|
|
949
962
|
__privateAdd(this, _latest, __runInitializers(_init4, 32, this, false)), __runInitializers(_init4, 35, this);
|
|
950
963
|
__privateAdd(this, _dotless, __runInitializers(_init4, 36, this, false)), __runInitializers(_init4, 39, this);
|
|
951
|
-
__privateAdd(this,
|
|
964
|
+
__privateAdd(this, _stackedLines, __runInitializers(_init4, 40, this, false)), __runInitializers(_init4, 43, this);
|
|
965
|
+
__privateAdd(this, _load, __runInitializers(_init4, 44, this, "none")), __runInitializers(_init4, 47, this);
|
|
966
|
+
__privateAdd(this, _language, __runInitializers(_init4, 48, this, "en")), __runInitializers(_init4, 51, this);
|
|
952
967
|
__publicField(this, "sampledAt", Date.now());
|
|
953
968
|
/** The language this demo's charts speak, apart from the page's: their own words and the host's numbers follow it. */
|
|
954
969
|
__publicField(this, "i18n", dist_ts_exports.createI18n({ locale: "en", locales: ["en", "de"] }));
|
|
955
970
|
provideI18n(this, this.i18n);
|
|
956
971
|
}
|
|
972
|
+
/** A refresh loads over what the charts show: from a first load, the charts show their data first. */
|
|
973
|
+
async toggleRefresh() {
|
|
974
|
+
if (this.load === "first") {
|
|
975
|
+
this.load = "none";
|
|
976
|
+
await new Promise((resolve) => requestAnimationFrame(resolve));
|
|
977
|
+
}
|
|
978
|
+
this.load = this.load === "refresh" ? "none" : "refresh";
|
|
979
|
+
}
|
|
980
|
+
/** Nothing to show: an empty period, or a first load still on its way. */
|
|
981
|
+
get noData() {
|
|
982
|
+
return this.empty || this.load === "first";
|
|
983
|
+
}
|
|
957
984
|
/** Euros in the demo's language, with a true minus: `−2,900.00 €`, in German `−2.900,00 €`. */
|
|
958
985
|
euro(fractionDigitsArg) {
|
|
959
986
|
const format = this.i18n.format.intlNumberFormat({ minimumFractionDigits: fractionDigitsArg, maximumFractionDigits: fractionDigitsArg });
|
|
@@ -975,7 +1002,7 @@ var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesE
|
|
|
975
1002
|
const palette = getChartPalette(this.goBright);
|
|
976
1003
|
const totals = /* @__PURE__ */ new Map();
|
|
977
1004
|
for (const { data: slices } of data.spending) for (const slice of slices) totals.set(slice.name, (totals.get(slice.name) ?? 0) + slice.value);
|
|
978
|
-
return b`<div class="donuts" role="group" aria-label="Spending by month">${data.spending.map(({ month: moment, data: slices }) => b`<dees-chart-donut label=${month.format(moment)} .data=${this.
|
|
1005
|
+
return b`<div class="donuts" role="group" aria-label="Spending by month">${data.spending.map(({ month: moment, data: slices }) => b`<dees-chart-donut .loading=${this.load !== "none"} label=${month.format(moment)} .data=${this.noData ? [] : slices} .showLabels=${!this.alternate} .showLegend=${!this.secondary} .valueFormatter=${wholeEuro}></dees-chart-donut>`)}</div>
|
|
979
1006
|
<ul class="key" aria-label="Spending over the quarter">${[...totals].map(([name, total], index) => b`<li><span class="dot" style="background: ${palette[index % palette.length]}"></span>${name} <strong>${wholeEuro(total)}</strong></li>`)}</ul>`;
|
|
980
1007
|
}
|
|
981
1008
|
render() {
|
|
@@ -992,6 +1019,8 @@ var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesE
|
|
|
992
1019
|
this.filled = false;
|
|
993
1020
|
this.latest = false;
|
|
994
1021
|
this.dotless = false;
|
|
1022
|
+
this.stackedLines = false;
|
|
1023
|
+
this.load = "none";
|
|
995
1024
|
}}></dees-button>
|
|
996
1025
|
<dees-button type="outline" text="Next sample" icon="lucide:RefreshCw" @clicked=${() => {
|
|
997
1026
|
this.sample++;
|
|
@@ -1031,37 +1060,45 @@ var _DeesDemoChartWorkspace = class _DeesDemoChartWorkspace extends (_a3 = DeesE
|
|
|
1031
1060
|
if (this.dotless && !this.alternate) this.secondary = true;
|
|
1032
1061
|
})}${toggle2("Latest values", this.latest, () => {
|
|
1033
1062
|
this.latest = !this.latest;
|
|
1063
|
+
})}${toggle2("Stack series", this.stackedLines, () => {
|
|
1064
|
+
this.stackedLines = !this.stackedLines;
|
|
1065
|
+
})}` : ""}
|
|
1066
|
+
${this.kind !== "area" ? b`${toggle2("First load", this.load === "first", () => {
|
|
1067
|
+
this.load = this.load === "first" ? "none" : "first";
|
|
1068
|
+
})}${toggle2("Loading a refresh", this.load === "refresh", () => {
|
|
1069
|
+
void this.toggleRefresh();
|
|
1034
1070
|
})}` : ""}
|
|
1035
1071
|
</div>
|
|
1036
1072
|
<div class="options" role="group" aria-label="Language of the charts">${languages.map(({ key, label }) => toggle2(label, this.language === key, () => {
|
|
1037
1073
|
void this.setLanguage(key);
|
|
1038
1074
|
}))}</div>
|
|
1039
|
-
${this.kind === "bar" ? b`<dees-chart-bar label="Requests and cache hits" .categories=${data.categories} .series=${this.
|
|
1040
|
-
<dees-chart-bar label="Month by month, as booked" meta="Fiscal year 2026 to date · net of VAT" .categories=${data.bookings.categories} .series=${this.
|
|
1075
|
+
${directives_exports.keyed(this.load === "first", b`${this.kind === "bar" ? b`<dees-chart-bar .loading=${this.load !== "none"} label="Requests and cache hits" .categories=${data.categories} .series=${this.noData ? [] : data.series} .horizontal=${this.alternate} .stacked=${this.secondary} .valueFormatter=${(value) => `${Math.round(value)}k`}></dees-chart-bar>
|
|
1076
|
+
<dees-chart-bar .loading=${this.load !== "none"} label="Month by month, as booked" meta="Fiscal year 2026 to date · net of VAT" .categories=${data.bookings.categories} .series=${this.noData ? [] : data.bookings.series} .stacks=${data.bookings.stacks} .nets=${data.bookings.nets} .horizontal=${this.alternate} .valueFormatter=${this.euro(2)} .netLabelFormatter=${this.compactEuro()}>
|
|
1041
1077
|
<p slot="below" class="note">Left out: 0480 Office equipment and 1800 Private withdrawals, which are none of these parts.</p>
|
|
1042
1078
|
</dees-chart-bar>` : ""}
|
|
1043
|
-
${this.kind === "area" ? b`<dees-chart-area label="Requests per minute" .series=${this.
|
|
1044
|
-
<dees-chart-area class="withRows" label="Network throughput" meta="edge-1 · per minute" .series=${this.
|
|
1079
|
+
${this.kind === "area" ? b`<dees-chart-area label="Requests per minute" .series=${this.noData ? [] : data.timeline} .yAxisFormatter=${(value) => `${Math.round(value)}k`} .legendStats=${["latest", "min", "max"]} .chartLines=${[]} .rangeSelectionEnabled=${true}></dees-chart-area>
|
|
1080
|
+
<dees-chart-area class="withRows" label="Network throughput" meta="edge-1 · per minute" .series=${this.noData ? [] : data.throughput} .yAxisFormatter=${(value) => `${value} Mbit/s`} .legendStats=${["latest", "max"]}>
|
|
1045
1081
|
<p slot="below" class="note">Outbound leaves out the nightly backup to the offsite store, which runs on a link of its own.</p>
|
|
1046
1082
|
</dees-chart-area>` : ""}
|
|
1047
|
-
${this.kind === "donut" ? b`<dees-chart-donut label="Requests by region" .data=${this.
|
|
1083
|
+
${this.kind === "donut" ? b`<dees-chart-donut .loading=${this.load !== "none"} label="Requests by region" .data=${this.noData ? [] : data.regions} .showLabels=${!this.alternate} .showLegend=${!this.secondary} .valueFormatter=${(value) => `${Math.round(value)}k`}></dees-chart-donut>
|
|
1048
1084
|
${this.renderSpending(data)}` : ""}
|
|
1049
|
-
${this.kind === "gauge" ? b`<dees-chart-gauge label="Queue capacity" .value=${data.capacity} .showTicks=${this.alternate} .thresholds=${[{ value: 60, tone: "success" }, { value: 80, tone: "warning" }, { value: 100, tone: "danger" }]}></dees-chart-gauge>` : ""}
|
|
1050
|
-
${this.kind === "line" ? b`<dees-chart-line class="withRows" label="Account balances" meta="as each bank statement states them" .series=${this.
|
|
1085
|
+
${this.kind === "gauge" ? b`<dees-chart-gauge .loading=${this.load !== "none"} label="Queue capacity" .value=${data.capacity} .showTicks=${this.alternate} .thresholds=${[{ value: 60, tone: "success" }, { value: 80, tone: "warning" }, { value: 100, tone: "danger" }]}></dees-chart-gauge>` : ""}
|
|
1086
|
+
${this.kind === "line" ? b`<dees-chart-line .loading=${this.load !== "none"} class="withRows" label="Account balances" meta="as each bank statement states them" .series=${this.noData ? [] : data.statements} .presentation=${presentation} .fillArea=${this.filled} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${this.euro(2)} .stacked=${this.stackedLines} .axisValueFormatter=${wholeEuro}>
|
|
1051
1087
|
<dees-hint slot="above" type="warning" text="Two statements of the current account for 30 September 2026 state different balances: 2,246.86 € and 2,264.86 €."></dees-hint>
|
|
1052
1088
|
<ul slot="below" class="rowList">
|
|
1053
1089
|
<li>Savings: 6,000.00 € on 31 July 2026, its latest statement</li>
|
|
1054
1090
|
<li>Credit card: no statement states a balance</li>
|
|
1055
1091
|
</ul>
|
|
1056
1092
|
</dees-chart-line>
|
|
1057
|
-
<dees-chart-line label="
|
|
1058
|
-
<dees-chart-line label="
|
|
1093
|
+
<dees-chart-line .loading=${this.load !== "none"} label="Cloud spend by service" meta="per week, stacked into the total" stacked fillArea .series=${this.noData ? [] : data.cloudSpend} .presentation=${this.alternate ? "step" : "line"} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${this.euro(2)} .axisValueFormatter=${wholeEuro}></dees-chart-line>
|
|
1094
|
+
<dees-chart-line .loading=${this.load !== "none"} label="Stated a day apart" .series=${this.noData ? [] : data.dayApart} .presentation=${presentation} .fillArea=${this.filled} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${(value) => `$${this.i18n.format.number(value, "integer")}`}></dees-chart-line>
|
|
1095
|
+
<dees-chart-line .loading=${this.load !== "none"} label="A year of daily balances" .series=${this.noData ? [] : data.daily} .presentation=${presentation} .fillArea=${this.filled} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${this.euro(2)} .axisValueFormatter=${wholeEuro}></dees-chart-line>
|
|
1059
1096
|
<div class="widths" role="group" aria-label="A year of month ends at two widths">
|
|
1060
|
-
<dees-chart-line class="wide" label="A year of month ends, 1440 px wide" .series=${this.
|
|
1061
|
-
<dees-chart-line class="narrow" label="420 px wide" .series=${this.
|
|
1097
|
+
<dees-chart-line .loading=${this.load !== "none"} class="wide" label="A year of month ends, 1440 px wide" .series=${this.noData ? [] : data.monthEnds} .presentation=${presentation} .fillArea=${this.filled} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${wholeEuro}></dees-chart-line>
|
|
1098
|
+
<dees-chart-line .loading=${this.load !== "none"} class="narrow" label="420 px wide" .series=${this.noData ? [] : data.monthEnds} .presentation=${presentation} .fillArea=${this.filled} .showMarkers=${!this.dotless} .showLatestValue=${this.latest} .valueFormatter=${wholeEuro}></dees-chart-line>
|
|
1062
1099
|
</div>` : ""}
|
|
1063
|
-
${this.kind === "radar" ? b`<dees-chart-radar label="Current service and target" .indicators=${data.indicators} .series=${this.
|
|
1064
|
-
<p class="feedback" role="status">${this.empty ? "There are no measurements for this period." : `Sample ${this.sample + 1} \xB7 Values stay in this example. Use Next sample to compare an update.`}</p>`;
|
|
1100
|
+
${this.kind === "radar" ? b`<dees-chart-radar .loading=${this.load !== "none"} label="Current service and target" .indicators=${data.indicators} .series=${this.noData ? [] : data.profiles} .fillArea=${!this.alternate}></dees-chart-radar>` : ""}`)}
|
|
1101
|
+
<p class="feedback" role="status">${this.load === "first" ? "First load: each chart keeps its place empty for a moment, then shows its placeholder, and after ten seconds says it is still loading." : this.load === "refresh" ? "Loading a refresh: each chart keeps what it shows and states that it is busy." : this.empty ? "There are no measurements for this period." : `Sample ${this.sample + 1} \xB7 Values stay in this example. Use Next sample to compare an update.`}</p>`;
|
|
1065
1102
|
}
|
|
1066
1103
|
};
|
|
1067
1104
|
_init4 = __decoratorStart(_a3);
|
|
@@ -1073,6 +1110,8 @@ _secondary = new WeakMap();
|
|
|
1073
1110
|
_filled = new WeakMap();
|
|
1074
1111
|
_latest = new WeakMap();
|
|
1075
1112
|
_dotless = new WeakMap();
|
|
1113
|
+
_stackedLines = new WeakMap();
|
|
1114
|
+
_load = new WeakMap();
|
|
1076
1115
|
_language = new WeakMap();
|
|
1077
1116
|
__decorateElement(_init4, 4, "kind", _kind_dec, _DeesDemoChartWorkspace, _kind);
|
|
1078
1117
|
__decorateElement(_init4, 4, "sample", _sample_dec, _DeesDemoChartWorkspace, _sample);
|
|
@@ -1082,6 +1121,8 @@ __decorateElement(_init4, 4, "secondary", _secondary_dec, _DeesDemoChartWorkspac
|
|
|
1082
1121
|
__decorateElement(_init4, 4, "filled", _filled_dec, _DeesDemoChartWorkspace, _filled);
|
|
1083
1122
|
__decorateElement(_init4, 4, "latest", _latest_dec, _DeesDemoChartWorkspace, _latest);
|
|
1084
1123
|
__decorateElement(_init4, 4, "dotless", _dotless_dec, _DeesDemoChartWorkspace, _dotless);
|
|
1124
|
+
__decorateElement(_init4, 4, "stackedLines", _stackedLines_dec, _DeesDemoChartWorkspace, _stackedLines);
|
|
1125
|
+
__decorateElement(_init4, 4, "load", _load_dec, _DeesDemoChartWorkspace, _load);
|
|
1085
1126
|
__decorateElement(_init4, 4, "language", _language_dec, _DeesDemoChartWorkspace, _language);
|
|
1086
1127
|
_DeesDemoChartWorkspace = __decorateElement(_init4, 0, "DeesDemoChartWorkspace", _DeesDemoChartWorkspace_decorators, _DeesDemoChartWorkspace);
|
|
1087
1128
|
__name(_DeesDemoChartWorkspace, "DeesDemoChartWorkspace");
|
|
@@ -19191,6 +19232,18 @@ var chartFrameStyles = i`
|
|
|
19191
19232
|
.chartContainer { position: absolute; inset: 0; }
|
|
19192
19233
|
.chartState { position: absolute; inset: 0; display: grid; place-content: center; padding: 24px; text-align: center; color: var(--dees-color-text-muted); background: var(--dees-color-bg-primary); }
|
|
19193
19234
|
.chartSummary { ${visuallyHidden} }
|
|
19235
|
+
/* The first load covers the plot at once, so a quick load flashes neither empty axes nor a
|
|
19236
|
+
placeholder; the placeholder shows after 200 ms, pulsing until the load is said to take long. */
|
|
19237
|
+
.chartLoading { position: absolute; inset: 0; display: grid; padding: var(--dees-spacing-lg); background: var(--dees-color-bg-primary); }
|
|
19238
|
+
.chartPlaceholder { grid-area: 1 / 1; border-radius: var(--dees-radius-md); corner-shape: var(--dees-corner-shape); background: var(--dees-color-fill-secondary); visibility: hidden; animation: dees-chart-placeholder-reveal 1ms linear 200ms both, dees-chart-placeholder-pulse var(--dees-loading-pulse-duration) var(--dees-ease-standard) 200ms infinite; }
|
|
19239
|
+
.chartLoading.stalled .chartPlaceholder { animation: dees-chart-placeholder-reveal 1ms linear 200ms both; }
|
|
19240
|
+
.chartStillLoading { grid-area: 1 / 1; place-self: center; padding: var(--dees-spacing-lg); text-align: center; color: var(--dees-color-text-muted); }
|
|
19241
|
+
.chartLoadingStatus { ${visuallyHidden} }
|
|
19242
|
+
@keyframes dees-chart-placeholder-reveal { from { visibility: hidden; } to { visibility: visible; } }
|
|
19243
|
+
@keyframes dees-chart-placeholder-pulse { 0%, 100% { opacity: 1; } 50% { opacity: var(--dees-loading-pulse-opacity); } }
|
|
19244
|
+
@media (prefers-reduced-motion: reduce) {
|
|
19245
|
+
.chartPlaceholder { animation: dees-chart-placeholder-reveal 1ms linear 200ms both; }
|
|
19246
|
+
}
|
|
19194
19247
|
`;
|
|
19195
19248
|
var chartRows = /* @__PURE__ */ __name((hostArg, placeArg) => {
|
|
19196
19249
|
const slotted = hostArg.querySelector(`:scope > [slot="${placeArg}"]`) !== null;
|
|
@@ -19198,13 +19251,19 @@ var chartRows = /* @__PURE__ */ __name((hostArg, placeArg) => {
|
|
|
19198
19251
|
}, "chartRows");
|
|
19199
19252
|
var chartFrame = /* @__PURE__ */ __name((hostArg, contentArg) => {
|
|
19200
19253
|
const heading = contentArg.label || contentArg.meta ? b`<div class="chartHeading">${contentArg.label ? b`<h2 class="chartLabel">${contentArg.label}</h2>` : ""}${contentArg.meta ? b`<span class="chartMeta">${contentArg.meta}</span>` : ""}</div>` : "";
|
|
19201
|
-
|
|
19254
|
+
const firstLoad = contentArg.firstLoad;
|
|
19255
|
+
return b`<dees-tile .frameless=${contentArg.frameless} aria-busy=${contentArg.busy ? "true" : "false"}>
|
|
19202
19256
|
${heading || contentArg.headerTools ? b`<div slot="header" class="chartHeader">${heading}${contentArg.headerTools ?? ""}</div>` : ""}
|
|
19203
19257
|
${chartRows(hostArg, "above")}
|
|
19204
19258
|
<div class="chartArea">
|
|
19205
19259
|
${contentArg.plot}
|
|
19206
19260
|
${contentArg.state ? b`<div class="chartState" role="status">${contentArg.state}</div>` : ""}
|
|
19261
|
+
${firstLoad ? b`<div class="chartLoading ${firstLoad.stillLoading ? "stalled" : ""}" aria-hidden="true">
|
|
19262
|
+
<span class="chartPlaceholder"></span>
|
|
19263
|
+
${firstLoad.stillLoading ? b`<span class="chartStillLoading">${firstLoad.stillLoadingText}</span>` : ""}
|
|
19264
|
+
</div>` : ""}
|
|
19207
19265
|
</div>
|
|
19266
|
+
${contentArg.loadingStatus === void 0 ? "" : b`<p class="chartLoadingStatus" role="status">${contentArg.loadingStatus}</p>`}
|
|
19208
19267
|
${chartRows(hostArg, "below")}
|
|
19209
19268
|
${contentArg.summary === void 0 ? "" : b`<p class="chartSummary">${contentArg.summary}</p>`}
|
|
19210
19269
|
${contentArg.footer ? b`<div slot="footer" class="chartLegend">${contentArg.footer}</div>` : ""}
|
|
@@ -21063,28 +21122,81 @@ __publicField(_DeesChartArea, "styles", chartAreaStyles);
|
|
|
21063
21122
|
__runInitializers(_init33, 1, _DeesChartArea);
|
|
21064
21123
|
var DeesChartArea = _DeesChartArea;
|
|
21065
21124
|
|
|
21125
|
+
// ts_web/elements/00firstload.ts
|
|
21126
|
+
var FirstLoadController = class {
|
|
21127
|
+
constructor(host, isFirstLoad, stillLoadingAfter) {
|
|
21128
|
+
this.host = host;
|
|
21129
|
+
this.isFirstLoad = isFirstLoad;
|
|
21130
|
+
this.stillLoadingAfter = stillLoadingAfter;
|
|
21131
|
+
host.addController(this);
|
|
21132
|
+
}
|
|
21133
|
+
host;
|
|
21134
|
+
isFirstLoad;
|
|
21135
|
+
stillLoadingAfter;
|
|
21136
|
+
static {
|
|
21137
|
+
__name(this, "FirstLoadController");
|
|
21138
|
+
}
|
|
21139
|
+
timer;
|
|
21140
|
+
stalled = false;
|
|
21141
|
+
/** The first load has run past `stillLoadingAfter()`. */
|
|
21142
|
+
get stillLoading() {
|
|
21143
|
+
return this.stalled;
|
|
21144
|
+
}
|
|
21145
|
+
hostConnected() {
|
|
21146
|
+
if (this.isFirstLoad()) this.host.requestUpdate();
|
|
21147
|
+
}
|
|
21148
|
+
hostUpdate() {
|
|
21149
|
+
if (!this.host.isConnected || !this.isFirstLoad()) {
|
|
21150
|
+
this.clear();
|
|
21151
|
+
return;
|
|
21152
|
+
}
|
|
21153
|
+
if (this.stalled || this.timer) return;
|
|
21154
|
+
this.timer = setTimeout(() => {
|
|
21155
|
+
this.timer = void 0;
|
|
21156
|
+
this.stalled = true;
|
|
21157
|
+
this.host.requestUpdate();
|
|
21158
|
+
}, this.stillLoadingAfter());
|
|
21159
|
+
}
|
|
21160
|
+
hostDisconnected() {
|
|
21161
|
+
this.clear();
|
|
21162
|
+
}
|
|
21163
|
+
clear() {
|
|
21164
|
+
if (this.timer) clearTimeout(this.timer);
|
|
21165
|
+
this.timer = void 0;
|
|
21166
|
+
this.stalled = false;
|
|
21167
|
+
}
|
|
21168
|
+
};
|
|
21169
|
+
|
|
21066
21170
|
// ts_web/elements/00group-chart/dees-chart-echarts-base.ts
|
|
21067
|
-
var _hiddenSeries_dec, _loadError_dec,
|
|
21068
|
-
var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElement, _label_dec5 = [n({ reflect: true })], _meta_dec3 = [n({ reflect: true })], _frameless_dec7 = [n({ type: Boolean, reflect: true })], _summary_dec2 = [n({ type: String, reflect: true })],
|
|
21171
|
+
var _hiddenSeries_dec, _loadError_dec, _libraryLoading_dec, _summary_dec2, _frameless_dec7, _meta_dec3, _label_dec5, _loading_dec6, _a32, _init34, _loading6, _label5, _meta3, _frameless7, _summary2, _libraryLoading, _loadError, _hiddenSeries;
|
|
21172
|
+
var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElement, _loading_dec6 = [n({ type: Boolean, reflect: true })], _label_dec5 = [n({ reflect: true })], _meta_dec3 = [n({ reflect: true })], _frameless_dec7 = [n({ type: Boolean, reflect: true })], _summary_dec2 = [n({ type: String, reflect: true })], _libraryLoading_dec = [r2()], _loadError_dec = [r2()], _hiddenSeries_dec = [r2()], _a32) {
|
|
21069
21173
|
constructor() {
|
|
21070
21174
|
super();
|
|
21071
21175
|
/** The chart's words and formats, in the reader's language. */
|
|
21072
21176
|
__publicField(this, "t", dcLocalize(this));
|
|
21073
|
-
__privateAdd(this,
|
|
21074
|
-
__privateAdd(this,
|
|
21075
|
-
__privateAdd(this,
|
|
21076
|
-
__privateAdd(this,
|
|
21177
|
+
__privateAdd(this, _loading6, __runInitializers(_init34, 8, this, false)), __runInitializers(_init34, 11, this);
|
|
21178
|
+
__privateAdd(this, _label5, __runInitializers(_init34, 12, this, "")), __runInitializers(_init34, 15, this);
|
|
21179
|
+
__privateAdd(this, _meta3, __runInitializers(_init34, 16, this, "")), __runInitializers(_init34, 19, this);
|
|
21180
|
+
__privateAdd(this, _frameless7, __runInitializers(_init34, 20, this, false)), __runInitializers(_init34, 23, this);
|
|
21181
|
+
__privateAdd(this, _summary2, __runInitializers(_init34, 24, this, "")), __runInitializers(_init34, 27, this);
|
|
21077
21182
|
__publicField(this, "chartInstance", null);
|
|
21078
21183
|
__publicField(this, "echartsBundle", null);
|
|
21079
21184
|
__publicField(this, "resizeObserver", null);
|
|
21080
|
-
__privateAdd(this,
|
|
21081
|
-
__privateAdd(this, _loadError, __runInitializers(_init34,
|
|
21082
|
-
|
|
21185
|
+
__privateAdd(this, _libraryLoading, __runInitializers(_init34, 28, this, true)), __runInitializers(_init34, 31, this);
|
|
21186
|
+
__privateAdd(this, _loadError, __runInitializers(_init34, 32, this, "")), __runInitializers(_init34, 35, this);
|
|
21187
|
+
/** The chart has shown data: from then on, a load keeps it on show. */
|
|
21188
|
+
__publicField(this, "shownData", false);
|
|
21189
|
+
__publicField(this, "firstLoad", new FirstLoadController(
|
|
21190
|
+
this,
|
|
21191
|
+
() => this.isFirstLoad(),
|
|
21192
|
+
() => this.constructor.stillLoadingAfter
|
|
21193
|
+
));
|
|
21194
|
+
__privateAdd(this, _hiddenSeries, __runInitializers(_init34, 36, this, /* @__PURE__ */ new Set())), __runInitializers(_init34, 39, this);
|
|
21083
21195
|
__publicField(this, "reducedMotion", false);
|
|
21084
21196
|
__publicField(this, "chartWidth", 0);
|
|
21085
21197
|
domtools_elementbasic_exports.setup();
|
|
21086
21198
|
this.registerStartupFunction(async (signal) => {
|
|
21087
|
-
this.
|
|
21199
|
+
this.libraryLoading = true;
|
|
21088
21200
|
this.loadError = "";
|
|
21089
21201
|
const motion = matchMedia(reducedMotionQuery);
|
|
21090
21202
|
const updateMotion = /* @__PURE__ */ __name(() => {
|
|
@@ -21115,7 +21227,7 @@ var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElem
|
|
|
21115
21227
|
if (!signal.aborted) this.loadError = this.t("chart.loadFailed");
|
|
21116
21228
|
console.error("Failed to initialize ECharts:", error);
|
|
21117
21229
|
} finally {
|
|
21118
|
-
if (!signal.aborted) this.
|
|
21230
|
+
if (!signal.aborted) this.libraryLoading = false;
|
|
21119
21231
|
}
|
|
21120
21232
|
});
|
|
21121
21233
|
this.registerGarbageFunction(async () => {
|
|
@@ -21157,8 +21269,26 @@ var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElem
|
|
|
21157
21269
|
render() {
|
|
21158
21270
|
return this.renderChartFrame();
|
|
21159
21271
|
}
|
|
21272
|
+
/**
|
|
21273
|
+
* Whether data the host sets while it still loads has arrived: the chart shows it at once. A
|
|
21274
|
+
* chart that always holds a value to draw, such as a gauge, says no, and its first load ends
|
|
21275
|
+
* when the host stops loading.
|
|
21276
|
+
*/
|
|
21277
|
+
dataArrivesWhileLoading() {
|
|
21278
|
+
return true;
|
|
21279
|
+
}
|
|
21280
|
+
/** The first load: the host loads, and the chart has no data on show. */
|
|
21281
|
+
isFirstLoad() {
|
|
21282
|
+
return this.loading && !(this.hasChartData() && (this.shownData || this.dataArrivesWhileLoading()));
|
|
21283
|
+
}
|
|
21284
|
+
willUpdate(changedProperties) {
|
|
21285
|
+
super.willUpdate(changedProperties);
|
|
21286
|
+
if (!this.loading && this.hasChartData()) this.shownData = true;
|
|
21287
|
+
}
|
|
21160
21288
|
renderChartFrame() {
|
|
21161
|
-
const
|
|
21289
|
+
const firstLoad = this.isFirstLoad() && !this.loadError;
|
|
21290
|
+
const stillLoading = firstLoad && this.firstLoad.stillLoading;
|
|
21291
|
+
const message = this.loadError || (firstLoad ? "" : this.libraryLoading ? this.t("chart.loading") : !this.hasChartData() ? this.t("chart.noData") : "");
|
|
21162
21292
|
const legend = this.legendItems().map((item) => ({
|
|
21163
21293
|
label: item.name,
|
|
21164
21294
|
color: item.color,
|
|
@@ -21171,6 +21301,9 @@ var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElem
|
|
|
21171
21301
|
frameless: this.frameless,
|
|
21172
21302
|
plot: b`<div class="chartContainer" aria-hidden="true"><div class="chartPlot"></div></div>`,
|
|
21173
21303
|
state: message,
|
|
21304
|
+
busy: this.loading,
|
|
21305
|
+
firstLoad: firstLoad ? { stillLoading, stillLoadingText: this.t("chart.stillLoading") } : void 0,
|
|
21306
|
+
loadingStatus: firstLoad ? this.t(stillLoading ? "chart.stillLoading" : "chart.loading") : "",
|
|
21174
21307
|
summary: this.summary || this.dataSummary(),
|
|
21175
21308
|
footer: legend.length ? b`<dees-legend interactive label=${this.t("chart.series")} .items=${legend} @item-toggle=${(event) => {
|
|
21176
21309
|
const hidden = new Set(this.hiddenSeries);
|
|
@@ -21226,22 +21359,26 @@ var _DeesChartEchartsBase = class _DeesChartEchartsBase extends (_a32 = DeesElem
|
|
|
21226
21359
|
}
|
|
21227
21360
|
};
|
|
21228
21361
|
_init34 = __decoratorStart(_a32);
|
|
21362
|
+
_loading6 = new WeakMap();
|
|
21229
21363
|
_label5 = new WeakMap();
|
|
21230
21364
|
_meta3 = new WeakMap();
|
|
21231
21365
|
_frameless7 = new WeakMap();
|
|
21232
21366
|
_summary2 = new WeakMap();
|
|
21233
|
-
|
|
21367
|
+
_libraryLoading = new WeakMap();
|
|
21234
21368
|
_loadError = new WeakMap();
|
|
21235
21369
|
_hiddenSeries = new WeakMap();
|
|
21370
|
+
__decorateElement(_init34, 4, "loading", _loading_dec6, _DeesChartEchartsBase, _loading6);
|
|
21236
21371
|
__decorateElement(_init34, 4, "label", _label_dec5, _DeesChartEchartsBase, _label5);
|
|
21237
21372
|
__decorateElement(_init34, 4, "meta", _meta_dec3, _DeesChartEchartsBase, _meta3);
|
|
21238
21373
|
__decorateElement(_init34, 4, "frameless", _frameless_dec7, _DeesChartEchartsBase, _frameless7);
|
|
21239
21374
|
__decorateElement(_init34, 4, "summary", _summary_dec2, _DeesChartEchartsBase, _summary2);
|
|
21240
|
-
__decorateElement(_init34, 4, "
|
|
21375
|
+
__decorateElement(_init34, 4, "libraryLoading", _libraryLoading_dec, _DeesChartEchartsBase, _libraryLoading);
|
|
21241
21376
|
__decorateElement(_init34, 4, "loadError", _loadError_dec, _DeesChartEchartsBase, _loadError);
|
|
21242
21377
|
__decorateElement(_init34, 4, "hiddenSeries", _hiddenSeries_dec, _DeesChartEchartsBase, _hiddenSeries);
|
|
21243
21378
|
__decoratorMetadata(_init34, _DeesChartEchartsBase);
|
|
21244
21379
|
__name(_DeesChartEchartsBase, "DeesChartEchartsBase");
|
|
21380
|
+
/** How long a first load runs, in milliseconds, before the chart says it is still loading. */
|
|
21381
|
+
__publicField(_DeesChartEchartsBase, "stillLoadingAfter", 1e4);
|
|
21245
21382
|
var DeesChartEchartsBase = _DeesChartEchartsBase;
|
|
21246
21383
|
|
|
21247
21384
|
// ts_web/elements/00group-chart/dees-chart-bar/demo.ts
|
|
@@ -21931,6 +22068,10 @@ var _DeesChartGauge = class _DeesChartGauge extends (_a35 = DeesChartEchartsBase
|
|
|
21931
22068
|
hasChartData() {
|
|
21932
22069
|
return Number.isFinite(this.value);
|
|
21933
22070
|
}
|
|
22071
|
+
/** The gauge always holds a value: its first load ends when the host stops loading. */
|
|
22072
|
+
dataArrivesWhileLoading() {
|
|
22073
|
+
return false;
|
|
22074
|
+
}
|
|
21934
22075
|
dataSummary() {
|
|
21935
22076
|
return `${this.value}${this.unit}, range ${this.min} to ${this.max}`;
|
|
21936
22077
|
}
|
|
@@ -55729,6 +55870,7 @@ var workers = [
|
|
|
55729
55870
|
state: "working",
|
|
55730
55871
|
statusLabel: "Working",
|
|
55731
55872
|
harness: { id: "claude", name: "Claude Code" },
|
|
55873
|
+
projectLabel: "storefront",
|
|
55732
55874
|
preview: "SHOP-41 \xB7 Cache keys use the route manifest hash"
|
|
55733
55875
|
},
|
|
55734
55876
|
{
|
|
@@ -55737,6 +55879,7 @@ var workers = [
|
|
|
55737
55879
|
state: "attention",
|
|
55738
55880
|
statusLabel: "Needs input",
|
|
55739
55881
|
harness: { id: "codex", name: "Codex" },
|
|
55882
|
+
projectLabel: "storefront",
|
|
55740
55883
|
preview: "SHOP-44 \xB7 Which version goes out first?"
|
|
55741
55884
|
},
|
|
55742
55885
|
{
|
|
@@ -55745,9 +55888,11 @@ var workers = [
|
|
|
55745
55888
|
state: "finished",
|
|
55746
55889
|
statusLabel: "Stopped",
|
|
55747
55890
|
harness: { id: "claude", name: "Claude Code" },
|
|
55891
|
+
projectLabel: "catalog",
|
|
55748
55892
|
preview: "SHOP-39"
|
|
55749
55893
|
}
|
|
55750
55894
|
];
|
|
55895
|
+
var workerQuestionCounts = { "worker-release": 2 };
|
|
55751
55896
|
var draftScratchpad = {
|
|
55752
55897
|
id: "draft",
|
|
55753
55898
|
text: "",
|
|
@@ -55771,7 +55916,7 @@ var showEvent = /* @__PURE__ */ __name((event) => {
|
|
|
55771
55916
|
detail: event.detail
|
|
55772
55917
|
});
|
|
55773
55918
|
}, "showEvent");
|
|
55774
|
-
var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details",
|
|
55919
|
+
var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", 'Tasks, workers, context usage, scratchpad, attached resources and session intelligence alongside a conversation. The third panel names its workers "Direct reports": each row states its harness, project and task, and a badge counts the questions a worker has open for its owner.', b`
|
|
55775
55920
|
<style>
|
|
55776
55921
|
.harnessSessionSidebarDemos {
|
|
55777
55922
|
display: flex;
|
|
@@ -55815,6 +55960,8 @@ var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks
|
|
|
55815
55960
|
<dees-harness-session-sidebar
|
|
55816
55961
|
.showTasks=${false}
|
|
55817
55962
|
.workers=${workers}
|
|
55963
|
+
workersHeading="Direct reports"
|
|
55964
|
+
.workerQuestionCounts=${workerQuestionCounts}
|
|
55818
55965
|
selectedWorkerId="worker-release"
|
|
55819
55966
|
.scratchpad=${scratchpad}
|
|
55820
55967
|
@harness-worker-open=${showEvent}
|
|
@@ -55841,10 +55988,10 @@ var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks
|
|
|
55841
55988
|
`), "demoFunc");
|
|
55842
55989
|
|
|
55843
55990
|
// ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts
|
|
55844
|
-
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec4, _sessionKey_dec, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceHeading_dec, _intelligenceAvailabilityAction_dec, _intelligenceUnavailableReason_dec, _intelligenceAvailabilityStatus_dec, _intelligenceEnabled_dec, _selectedWorkerId_dec, _workers_dec, _attachedResources_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a68, _DeesHarnessSessionSidebar_decorators, _init70, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics, _scratchpad, _scratchpadBusy, _scratchpadError, _attachedResources, _workers, _selectedWorkerId, _intelligenceEnabled, _intelligenceAvailabilityStatus, _intelligenceUnavailableReason, _intelligenceAvailabilityAction, _intelligenceHeading, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _sessionKey, _disabled4, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
55991
|
+
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec4, _sessionKey_dec, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceHeading_dec, _intelligenceAvailabilityAction_dec, _intelligenceUnavailableReason_dec, _intelligenceAvailabilityStatus_dec, _intelligenceEnabled_dec, _workerQuestionCounts_dec, _workersHeading_dec, _selectedWorkerId_dec, _workers_dec, _attachedResources_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a68, _DeesHarnessSessionSidebar_decorators, _init70, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics, _scratchpad, _scratchpadBusy, _scratchpadError, _attachedResources, _workers, _selectedWorkerId, _workersHeading, _workerQuestionCounts, _intelligenceEnabled, _intelligenceAvailabilityStatus, _intelligenceUnavailableReason, _intelligenceAvailabilityAction, _intelligenceHeading, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _sessionKey, _disabled4, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
55845
55992
|
var { repeat: repeat4 } = directives_exports;
|
|
55846
55993
|
_DeesHarnessSessionSidebar_decorators = [customElement("dees-harness-session-sidebar")];
|
|
55847
|
-
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68 = DeesElement, _todos_dec2 = [n({ attribute: false })], _showTasks_dec = [n({ type: Boolean, reflect: true })], _toolMessages_dec = [n({ attribute: false })], _toolRegistry_dec5 = [n({ attribute: false })], _metrics_dec = [n({ attribute: false })], _scratchpad_dec = [n({ attribute: false })], _scratchpadBusy_dec = [n({ type: Boolean, reflect: true })], _scratchpadError_dec = [n({ reflect: true })], _attachedResources_dec = [n({ attribute: false })], _workers_dec = [n({ attribute: false })], _selectedWorkerId_dec = [n({ reflect: true })], _intelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec = [n({ reflect: true })], _intelligenceUnavailableReason_dec = [n({ reflect: true })], _intelligenceAvailabilityAction_dec = [n({ attribute: false })], _intelligenceHeading_dec = [n({ reflect: true })], _intelligenceExchanges_dec = [n({ attribute: false })], _intelligenceBusy_dec = [n({ type: Boolean, reflect: true })], _intelligenceError_dec = [n({ reflect: true })], _sessionKey_dec = [n({ reflect: true })], _disabled_dec4 = [n({ type: Boolean, reflect: true })], _scratchpadDraft_dec = [r2()], _scratchpadDraftRevision_dec = [r2()], _scratchpadDirty_dec = [r2()], _scratchpadStale_dec = [r2()], _intelligenceQuestion_dec = [r2()], _expandedSection_dec = [r2()], _a68) {
|
|
55994
|
+
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68 = DeesElement, _todos_dec2 = [n({ attribute: false })], _showTasks_dec = [n({ type: Boolean, reflect: true })], _toolMessages_dec = [n({ attribute: false })], _toolRegistry_dec5 = [n({ attribute: false })], _metrics_dec = [n({ attribute: false })], _scratchpad_dec = [n({ attribute: false })], _scratchpadBusy_dec = [n({ type: Boolean, reflect: true })], _scratchpadError_dec = [n({ reflect: true })], _attachedResources_dec = [n({ attribute: false })], _workers_dec = [n({ attribute: false })], _selectedWorkerId_dec = [n({ reflect: true })], _workersHeading_dec = [n({ reflect: true })], _workerQuestionCounts_dec = [n({ attribute: false })], _intelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec = [n({ reflect: true })], _intelligenceUnavailableReason_dec = [n({ reflect: true })], _intelligenceAvailabilityAction_dec = [n({ attribute: false })], _intelligenceHeading_dec = [n({ reflect: true })], _intelligenceExchanges_dec = [n({ attribute: false })], _intelligenceBusy_dec = [n({ type: Boolean, reflect: true })], _intelligenceError_dec = [n({ reflect: true })], _sessionKey_dec = [n({ reflect: true })], _disabled_dec4 = [n({ type: Boolean, reflect: true })], _scratchpadDraft_dec = [r2()], _scratchpadDraftRevision_dec = [r2()], _scratchpadDirty_dec = [r2()], _scratchpadStale_dec = [r2()], _intelligenceQuestion_dec = [r2()], _expandedSection_dec = [r2()], _a68) {
|
|
55848
55995
|
constructor() {
|
|
55849
55996
|
super(...arguments);
|
|
55850
55997
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -55859,22 +56006,24 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
55859
56006
|
__privateAdd(this, _attachedResources, __runInitializers(_init70, 40, this)), __runInitializers(_init70, 43, this);
|
|
55860
56007
|
__privateAdd(this, _workers, __runInitializers(_init70, 44, this)), __runInitializers(_init70, 47, this);
|
|
55861
56008
|
__privateAdd(this, _selectedWorkerId, __runInitializers(_init70, 48, this, "")), __runInitializers(_init70, 51, this);
|
|
55862
|
-
__privateAdd(this,
|
|
55863
|
-
__privateAdd(this,
|
|
55864
|
-
__privateAdd(this,
|
|
55865
|
-
__privateAdd(this,
|
|
55866
|
-
__privateAdd(this,
|
|
55867
|
-
__privateAdd(this,
|
|
55868
|
-
__privateAdd(this,
|
|
55869
|
-
__privateAdd(this,
|
|
55870
|
-
__privateAdd(this,
|
|
55871
|
-
__privateAdd(this,
|
|
55872
|
-
__privateAdd(this,
|
|
55873
|
-
__privateAdd(this,
|
|
55874
|
-
__privateAdd(this,
|
|
55875
|
-
__privateAdd(this,
|
|
55876
|
-
__privateAdd(this,
|
|
55877
|
-
__privateAdd(this,
|
|
56009
|
+
__privateAdd(this, _workersHeading, __runInitializers(_init70, 52, this, "")), __runInitializers(_init70, 55, this);
|
|
56010
|
+
__privateAdd(this, _workerQuestionCounts, __runInitializers(_init70, 56, this, {})), __runInitializers(_init70, 59, this);
|
|
56011
|
+
__privateAdd(this, _intelligenceEnabled, __runInitializers(_init70, 60, this, false)), __runInitializers(_init70, 63, this);
|
|
56012
|
+
__privateAdd(this, _intelligenceAvailabilityStatus, __runInitializers(_init70, 64, this, "available")), __runInitializers(_init70, 67, this);
|
|
56013
|
+
__privateAdd(this, _intelligenceUnavailableReason, __runInitializers(_init70, 68, this, "")), __runInitializers(_init70, 71, this);
|
|
56014
|
+
__privateAdd(this, _intelligenceAvailabilityAction, __runInitializers(_init70, 72, this)), __runInitializers(_init70, 75, this);
|
|
56015
|
+
__privateAdd(this, _intelligenceHeading, __runInitializers(_init70, 76, this, "")), __runInitializers(_init70, 79, this);
|
|
56016
|
+
__privateAdd(this, _intelligenceExchanges, __runInitializers(_init70, 80, this, [])), __runInitializers(_init70, 83, this);
|
|
56017
|
+
__privateAdd(this, _intelligenceBusy, __runInitializers(_init70, 84, this, false)), __runInitializers(_init70, 87, this);
|
|
56018
|
+
__privateAdd(this, _intelligenceError, __runInitializers(_init70, 88, this, "")), __runInitializers(_init70, 91, this);
|
|
56019
|
+
__privateAdd(this, _sessionKey, __runInitializers(_init70, 92, this, "")), __runInitializers(_init70, 95, this);
|
|
56020
|
+
__privateAdd(this, _disabled4, __runInitializers(_init70, 96, this, false)), __runInitializers(_init70, 99, this);
|
|
56021
|
+
__privateAdd(this, _scratchpadDraft, __runInitializers(_init70, 100, this, "")), __runInitializers(_init70, 103, this);
|
|
56022
|
+
__privateAdd(this, _scratchpadDraftRevision, __runInitializers(_init70, 104, this, 0)), __runInitializers(_init70, 107, this);
|
|
56023
|
+
__privateAdd(this, _scratchpadDirty, __runInitializers(_init70, 108, this, false)), __runInitializers(_init70, 111, this);
|
|
56024
|
+
__privateAdd(this, _scratchpadStale, __runInitializers(_init70, 112, this, false)), __runInitializers(_init70, 115, this);
|
|
56025
|
+
__privateAdd(this, _intelligenceQuestion, __runInitializers(_init70, 116, this, "")), __runInitializers(_init70, 119, this);
|
|
56026
|
+
__privateAdd(this, _expandedSection, __runInitializers(_init70, 120, this)), __runInitializers(_init70, 123, this);
|
|
55878
56027
|
__publicField(this, "sectionStateInitialized", false);
|
|
55879
56028
|
/** The scratchpad's `unsavedText` the editor took up, so it is taken up once per id and text. */
|
|
55880
56029
|
__publicField(this, "takenUnsavedText");
|
|
@@ -56440,7 +56589,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56440
56589
|
const workers2 = this.workers ?? [];
|
|
56441
56590
|
return this.renderSection(
|
|
56442
56591
|
"workers",
|
|
56443
|
-
this.t("sidebar.workers"),
|
|
56592
|
+
this.workersHeading.trim() || this.t("sidebar.workers"),
|
|
56444
56593
|
"lucide:Users",
|
|
56445
56594
|
workers2.length ? b`
|
|
56446
56595
|
<div class="resourceList">
|
|
@@ -56454,18 +56603,24 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56454
56603
|
workers2.length ? this.t.format.number(workers2.length) : ""
|
|
56455
56604
|
);
|
|
56456
56605
|
}
|
|
56457
|
-
/**
|
|
56606
|
+
/**
|
|
56607
|
+
* One worker: its harness, name, open questions and state over its project and what it works on,
|
|
56608
|
+
* as one button that opens it.
|
|
56609
|
+
*/
|
|
56458
56610
|
renderWorker(workerArg) {
|
|
56459
56611
|
const title = workerArg.title || workerArg.id;
|
|
56460
|
-
const meta = [workerArg.harness?.name, workerArg.preview?.trim()].filter(Boolean).join(" \xB7 ");
|
|
56612
|
+
const meta = [workerArg.harness?.name, workerArg.projectLabel?.trim(), workerArg.preview?.trim()].filter(Boolean).join(" \xB7 ");
|
|
56461
56613
|
const current = this.selectedWorkerId !== "" && this.selectedWorkerId === workerArg.id;
|
|
56614
|
+
const rawQuestions = this.workerQuestionCounts?.[workerArg.id];
|
|
56615
|
+
const questions = Number.isFinite(rawQuestions) && rawQuestions > 0 ? Math.floor(rawQuestions) : 0;
|
|
56616
|
+
const questionsText = questions ? this.t("sidebar.openQuestions", { count: questions }) : "";
|
|
56462
56617
|
return b`
|
|
56463
56618
|
<button
|
|
56464
56619
|
class=${`resourceItem workerItem state-${workerArg.state ?? "normal"}`}
|
|
56465
56620
|
type="button"
|
|
56466
56621
|
data-worker-id=${workerArg.id}
|
|
56467
56622
|
aria-current=${current ? "true" : "false"}
|
|
56468
|
-
aria-label=${this.t("sidebar.openWorker", { title })}
|
|
56623
|
+
aria-label=${questions ? this.t("sidebar.openWorkerQuestions", { title, questions: questionsText }) : this.t("sidebar.openWorker", { title })}
|
|
56469
56624
|
@click=${() => this.openWorker(workerArg)}
|
|
56470
56625
|
>
|
|
56471
56626
|
<span class="resourceIcon">
|
|
@@ -56474,6 +56629,14 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56474
56629
|
<span class="resourceCopy">
|
|
56475
56630
|
<span class="resourceTitleRow">
|
|
56476
56631
|
<span class="resourceTitle" title=${title}>${title}</span>
|
|
56632
|
+
${questions ? b`<dees-badge
|
|
56633
|
+
class="workerQuestions"
|
|
56634
|
+
type="warning"
|
|
56635
|
+
size="compact"
|
|
56636
|
+
rounded
|
|
56637
|
+
title=${questionsText}
|
|
56638
|
+
.text=${this.t.format.number(questions)}
|
|
56639
|
+
></dees-badge>` : ""}
|
|
56477
56640
|
${workerArg.statusLabel ? b`<span class="resourceState">${workerArg.statusLabel}</span>` : ""}
|
|
56478
56641
|
</span>
|
|
56479
56642
|
${meta ? b`<dees-harness-overflow-text class="resourceMeta" title=${meta}>${meta}</dees-harness-overflow-text>` : ""}
|
|
@@ -56642,6 +56805,8 @@ _scratchpadError = new WeakMap();
|
|
|
56642
56805
|
_attachedResources = new WeakMap();
|
|
56643
56806
|
_workers = new WeakMap();
|
|
56644
56807
|
_selectedWorkerId = new WeakMap();
|
|
56808
|
+
_workersHeading = new WeakMap();
|
|
56809
|
+
_workerQuestionCounts = new WeakMap();
|
|
56645
56810
|
_intelligenceEnabled = new WeakMap();
|
|
56646
56811
|
_intelligenceAvailabilityStatus = new WeakMap();
|
|
56647
56812
|
_intelligenceUnavailableReason = new WeakMap();
|
|
@@ -56669,6 +56834,8 @@ __decorateElement(_init70, 4, "scratchpadError", _scratchpadError_dec, _DeesHarn
|
|
|
56669
56834
|
__decorateElement(_init70, 4, "attachedResources", _attachedResources_dec, _DeesHarnessSessionSidebar, _attachedResources);
|
|
56670
56835
|
__decorateElement(_init70, 4, "workers", _workers_dec, _DeesHarnessSessionSidebar, _workers);
|
|
56671
56836
|
__decorateElement(_init70, 4, "selectedWorkerId", _selectedWorkerId_dec, _DeesHarnessSessionSidebar, _selectedWorkerId);
|
|
56837
|
+
__decorateElement(_init70, 4, "workersHeading", _workersHeading_dec, _DeesHarnessSessionSidebar, _workersHeading);
|
|
56838
|
+
__decorateElement(_init70, 4, "workerQuestionCounts", _workerQuestionCounts_dec, _DeesHarnessSessionSidebar, _workerQuestionCounts);
|
|
56672
56839
|
__decorateElement(_init70, 4, "intelligenceEnabled", _intelligenceEnabled_dec, _DeesHarnessSessionSidebar, _intelligenceEnabled);
|
|
56673
56840
|
__decorateElement(_init70, 4, "intelligenceAvailabilityStatus", _intelligenceAvailabilityStatus_dec, _DeesHarnessSessionSidebar, _intelligenceAvailabilityStatus);
|
|
56674
56841
|
__decorateElement(_init70, 4, "intelligenceUnavailableReason", _intelligenceUnavailableReason_dec, _DeesHarnessSessionSidebar, _intelligenceUnavailableReason);
|
|
@@ -57021,6 +57188,10 @@ __publicField(_DeesHarnessSessionSidebar, "styles", [
|
|
|
57021
57188
|
white-space: nowrap;
|
|
57022
57189
|
}
|
|
57023
57190
|
|
|
57191
|
+
.workerQuestions {
|
|
57192
|
+
flex: none;
|
|
57193
|
+
}
|
|
57194
|
+
|
|
57024
57195
|
.workerItem[aria-current='true'] {
|
|
57025
57196
|
background: var(--dees-color-fill-secondary);
|
|
57026
57197
|
}
|
|
@@ -57304,9 +57475,9 @@ __runInitializers(_init71, 1, _DeesHarnessUsage);
|
|
|
57304
57475
|
var DeesHarnessUsage = _DeesHarnessUsage;
|
|
57305
57476
|
|
|
57306
57477
|
// ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts
|
|
57307
|
-
var _toolRegistry_dec6, _menuActions_dec2, _modeOptions_dec2, _mode_dec2, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountNote_dec2, _accountOptions_dec2, _account_dec2, _attachmentAccept_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _starterPrompts_dec2, _commands_dec2, _attachmentsEnabled_dec2, _attachments_dec2, _composerValue_dec, _busyDeliveryModes_dec2, _queuedCount_dec2, _abortDisabledReason_dec2, _abortEnabled_dec2, _busy_dec4, _inputLocked_dec2, _disabled_dec5, _markdownWhileStreaming_dec5, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec2, _toolbarActions_dec, _subheading_dec, _heading_dec7, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _intelligenceHeading_dec2, _intelligenceAvailabilityAction_dec2, _intelligenceUnavailableReason_dec2, _intelligenceAvailabilityStatus_dec2, _sessionIntelligenceEnabled_dec, _selectedWorkerId_dec2, _workers_dec2, _attachedResources_dec2, _scratchpadError_dec2, _scratchpadBusy_dec2, _scratchpad_dec2, _sessionMetrics_dec, _showSessionSidebar_dec, _showTodosPanel_dec, _todosAuthoritative_dec, _todos_dec3, _usage_dec2, _loadingEarlier_dec2, _hasEarlierMessages_dec2, _transcriptKey_dec2, _status_dec4, _questions_dec2, _permissions_dec2, _resolveAttachment_dec3, _loadEarlierHistory_dec2, _hasEarlierHistory_dec2, _history_dec2, _messages_dec2, _a70, _DeesHarnessChat_decorators, _init72, _messages2, _history2, _hasEarlierHistory2, _loadEarlierHistory2, _resolveAttachment3, _permissions2, _questions2, _status4, _transcriptKey2, _hasEarlierMessages2, _loadingEarlier2, _usage2, _todos3, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _attachedResources2, _workers2, _selectedWorkerId2, _sessionIntelligenceEnabled, _intelligenceAvailabilityStatus2, _intelligenceUnavailableReason2, _intelligenceAvailabilityAction2, _intelligenceHeading2, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading7, _subheading, _toolbarActions, _showToolbar2, _showRoles2, _showTimestamps2, _markdownWhileStreaming5, _disabled5, _inputLocked2, _busy4, _abortEnabled2, _abortDisabledReason2, _queuedCount2, _busyDeliveryModes2, _composerValue, _attachments2, _attachmentsEnabled2, _commands2, _starterPrompts2, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _attachmentAccept2, _account2, _accountOptions2, _accountNote2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode2, _modeOptions2, _menuActions2, _toolRegistry6;
|
|
57478
|
+
var _toolRegistry_dec6, _menuActions_dec2, _modeOptions_dec2, _mode_dec2, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountNote_dec2, _accountOptions_dec2, _account_dec2, _attachmentAccept_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _starterPrompts_dec2, _commands_dec2, _attachmentsEnabled_dec2, _attachments_dec2, _composerValue_dec, _busyDeliveryModes_dec2, _queuedCount_dec2, _abortDisabledReason_dec2, _abortEnabled_dec2, _busy_dec4, _inputLocked_dec2, _disabled_dec5, _markdownWhileStreaming_dec5, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec2, _toolbarActions_dec, _subheading_dec, _heading_dec7, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _intelligenceHeading_dec2, _intelligenceAvailabilityAction_dec2, _intelligenceUnavailableReason_dec2, _intelligenceAvailabilityStatus_dec2, _sessionIntelligenceEnabled_dec, _workerQuestionCounts_dec2, _workersHeading_dec2, _selectedWorkerId_dec2, _workers_dec2, _attachedResources_dec2, _scratchpadError_dec2, _scratchpadBusy_dec2, _scratchpad_dec2, _sessionMetrics_dec, _showSessionSidebar_dec, _showTodosPanel_dec, _todosAuthoritative_dec, _todos_dec3, _usage_dec2, _loadingEarlier_dec2, _hasEarlierMessages_dec2, _transcriptKey_dec2, _status_dec4, _questions_dec2, _permissions_dec2, _resolveAttachment_dec3, _loadEarlierHistory_dec2, _hasEarlierHistory_dec2, _history_dec2, _messages_dec2, _a70, _DeesHarnessChat_decorators, _init72, _messages2, _history2, _hasEarlierHistory2, _loadEarlierHistory2, _resolveAttachment3, _permissions2, _questions2, _status4, _transcriptKey2, _hasEarlierMessages2, _loadingEarlier2, _usage2, _todos3, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _attachedResources2, _workers2, _selectedWorkerId2, _workersHeading2, _workerQuestionCounts2, _sessionIntelligenceEnabled, _intelligenceAvailabilityStatus2, _intelligenceUnavailableReason2, _intelligenceAvailabilityAction2, _intelligenceHeading2, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading7, _subheading, _toolbarActions, _showToolbar2, _showRoles2, _showTimestamps2, _markdownWhileStreaming5, _disabled5, _inputLocked2, _busy4, _abortEnabled2, _abortDisabledReason2, _queuedCount2, _busyDeliveryModes2, _composerValue, _attachments2, _attachmentsEnabled2, _commands2, _starterPrompts2, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _attachmentAccept2, _account2, _accountOptions2, _accountNote2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode2, _modeOptions2, _menuActions2, _toolRegistry6;
|
|
57308
57479
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
57309
|
-
var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _messages_dec2 = [n({ attribute: false })], _history_dec2 = [n({ attribute: false })], _hasEarlierHistory_dec2 = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec2 = [n({ attribute: false })], _resolveAttachment_dec3 = [n({ attribute: false })], _permissions_dec2 = [n({ attribute: false })], _questions_dec2 = [n({ attribute: false })], _status_dec4 = [n({ attribute: false })], _transcriptKey_dec2 = [n({ reflect: true })], _hasEarlierMessages_dec2 = [n({ type: Boolean, reflect: true })], _loadingEarlier_dec2 = [n({ type: Boolean, reflect: true })], _usage_dec2 = [n({ attribute: false })], _todos_dec3 = [n({ attribute: false })], _todosAuthoritative_dec = [n({ type: Boolean, reflect: true })], _showTodosPanel_dec = [n({ type: Boolean, reflect: true })], _showSessionSidebar_dec = [n({ type: Boolean, reflect: true })], _sessionMetrics_dec = [n({ attribute: false })], _scratchpad_dec2 = [n({ attribute: false })], _scratchpadBusy_dec2 = [n({ type: Boolean, reflect: true })], _scratchpadError_dec2 = [n({ reflect: true })], _attachedResources_dec2 = [n({ attribute: false })], _workers_dec2 = [n({ attribute: false })], _selectedWorkerId_dec2 = [n({ reflect: true })], _sessionIntelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec2 = [n({ reflect: true })], _intelligenceUnavailableReason_dec2 = [n({ reflect: true })], _intelligenceAvailabilityAction_dec2 = [n({ attribute: false })], _intelligenceHeading_dec2 = [n({ reflect: true })], _intelligenceExchanges_dec2 = [n({ attribute: false })], _intelligenceBusy_dec2 = [n({ type: Boolean, reflect: true })], _intelligenceError_dec2 = [n({ reflect: true })], _sessionSidebarOpen_dec = [r2()], _desktopSessionSidebarVisible_dec = [r2()], _narrowSessionLayout_dec = [r2()], _heading_dec7 = [n({ reflect: true })], _subheading_dec = [n({ reflect: true })], _toolbarActions_dec = [n({ attribute: false })], _showToolbar_dec2 = [n({ type: Boolean, reflect: true })], _showRoles_dec2 = [n({ type: Boolean, reflect: true })], _showTimestamps_dec2 = [n({ type: Boolean, reflect: true })], _markdownWhileStreaming_dec5 = [n({ type: Boolean, reflect: true })], _disabled_dec5 = [n({ type: Boolean, reflect: true })], _inputLocked_dec2 = [n({ type: Boolean, reflect: true })], _busy_dec4 = [n({ type: Boolean, reflect: true })], _abortEnabled_dec2 = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec2 = [n({ reflect: true })], _queuedCount_dec2 = [n({ type: Number, reflect: true })], _busyDeliveryModes_dec2 = [n({ attribute: false })], _composerValue_dec = [n()], _attachments_dec2 = [n({ attribute: false })], _attachmentsEnabled_dec2 = [n({ attribute: false })], _commands_dec2 = [n({ attribute: false })], _starterPrompts_dec2 = [n({ attribute: false })], _maxAttachmentCount_dec2 = [n({ type: Number, reflect: true })], _maxAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _attachmentAccept_dec2 = [n({ type: String, reflect: true })], _account_dec2 = [n({ reflect: true })], _accountOptions_dec2 = [n({ attribute: false })], _accountNote_dec2 = [n({ reflect: true })], _model_dec2 = [n({ reflect: true })], _modelOptions_dec2 = [n({ attribute: false })], _reasoningEffort_dec2 = [n({ reflect: true })], _effortOptions_dec2 = [n({ attribute: false })], _mode_dec2 = [n({ reflect: true })], _modeOptions_dec2 = [n({ attribute: false })], _menuActions_dec2 = [n({ attribute: false })], _toolRegistry_dec6 = [n({ attribute: false })], _a70) {
|
|
57480
|
+
var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _messages_dec2 = [n({ attribute: false })], _history_dec2 = [n({ attribute: false })], _hasEarlierHistory_dec2 = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec2 = [n({ attribute: false })], _resolveAttachment_dec3 = [n({ attribute: false })], _permissions_dec2 = [n({ attribute: false })], _questions_dec2 = [n({ attribute: false })], _status_dec4 = [n({ attribute: false })], _transcriptKey_dec2 = [n({ reflect: true })], _hasEarlierMessages_dec2 = [n({ type: Boolean, reflect: true })], _loadingEarlier_dec2 = [n({ type: Boolean, reflect: true })], _usage_dec2 = [n({ attribute: false })], _todos_dec3 = [n({ attribute: false })], _todosAuthoritative_dec = [n({ type: Boolean, reflect: true })], _showTodosPanel_dec = [n({ type: Boolean, reflect: true })], _showSessionSidebar_dec = [n({ type: Boolean, reflect: true })], _sessionMetrics_dec = [n({ attribute: false })], _scratchpad_dec2 = [n({ attribute: false })], _scratchpadBusy_dec2 = [n({ type: Boolean, reflect: true })], _scratchpadError_dec2 = [n({ reflect: true })], _attachedResources_dec2 = [n({ attribute: false })], _workers_dec2 = [n({ attribute: false })], _selectedWorkerId_dec2 = [n({ reflect: true })], _workersHeading_dec2 = [n({ reflect: true })], _workerQuestionCounts_dec2 = [n({ attribute: false })], _sessionIntelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec2 = [n({ reflect: true })], _intelligenceUnavailableReason_dec2 = [n({ reflect: true })], _intelligenceAvailabilityAction_dec2 = [n({ attribute: false })], _intelligenceHeading_dec2 = [n({ reflect: true })], _intelligenceExchanges_dec2 = [n({ attribute: false })], _intelligenceBusy_dec2 = [n({ type: Boolean, reflect: true })], _intelligenceError_dec2 = [n({ reflect: true })], _sessionSidebarOpen_dec = [r2()], _desktopSessionSidebarVisible_dec = [r2()], _narrowSessionLayout_dec = [r2()], _heading_dec7 = [n({ reflect: true })], _subheading_dec = [n({ reflect: true })], _toolbarActions_dec = [n({ attribute: false })], _showToolbar_dec2 = [n({ type: Boolean, reflect: true })], _showRoles_dec2 = [n({ type: Boolean, reflect: true })], _showTimestamps_dec2 = [n({ type: Boolean, reflect: true })], _markdownWhileStreaming_dec5 = [n({ type: Boolean, reflect: true })], _disabled_dec5 = [n({ type: Boolean, reflect: true })], _inputLocked_dec2 = [n({ type: Boolean, reflect: true })], _busy_dec4 = [n({ type: Boolean, reflect: true })], _abortEnabled_dec2 = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec2 = [n({ reflect: true })], _queuedCount_dec2 = [n({ type: Number, reflect: true })], _busyDeliveryModes_dec2 = [n({ attribute: false })], _composerValue_dec = [n()], _attachments_dec2 = [n({ attribute: false })], _attachmentsEnabled_dec2 = [n({ attribute: false })], _commands_dec2 = [n({ attribute: false })], _starterPrompts_dec2 = [n({ attribute: false })], _maxAttachmentCount_dec2 = [n({ type: Number, reflect: true })], _maxAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _attachmentAccept_dec2 = [n({ type: String, reflect: true })], _account_dec2 = [n({ reflect: true })], _accountOptions_dec2 = [n({ attribute: false })], _accountNote_dec2 = [n({ reflect: true })], _model_dec2 = [n({ reflect: true })], _modelOptions_dec2 = [n({ attribute: false })], _reasoningEffort_dec2 = [n({ reflect: true })], _effortOptions_dec2 = [n({ attribute: false })], _mode_dec2 = [n({ reflect: true })], _modeOptions_dec2 = [n({ attribute: false })], _menuActions_dec2 = [n({ attribute: false })], _toolRegistry_dec6 = [n({ attribute: false })], _a70) {
|
|
57310
57481
|
constructor() {
|
|
57311
57482
|
super(...arguments);
|
|
57312
57483
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -57333,52 +57504,54 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
57333
57504
|
__privateAdd(this, _attachedResources2, __runInitializers(_init72, 88, this)), __runInitializers(_init72, 91, this);
|
|
57334
57505
|
__privateAdd(this, _workers2, __runInitializers(_init72, 92, this)), __runInitializers(_init72, 95, this);
|
|
57335
57506
|
__privateAdd(this, _selectedWorkerId2, __runInitializers(_init72, 96, this, "")), __runInitializers(_init72, 99, this);
|
|
57336
|
-
__privateAdd(this,
|
|
57337
|
-
__privateAdd(this,
|
|
57338
|
-
__privateAdd(this,
|
|
57339
|
-
__privateAdd(this,
|
|
57340
|
-
__privateAdd(this,
|
|
57341
|
-
__privateAdd(this,
|
|
57342
|
-
__privateAdd(this,
|
|
57343
|
-
__privateAdd(this,
|
|
57344
|
-
__privateAdd(this,
|
|
57345
|
-
__privateAdd(this,
|
|
57346
|
-
__privateAdd(this,
|
|
57507
|
+
__privateAdd(this, _workersHeading2, __runInitializers(_init72, 100, this, "")), __runInitializers(_init72, 103, this);
|
|
57508
|
+
__privateAdd(this, _workerQuestionCounts2, __runInitializers(_init72, 104, this, {})), __runInitializers(_init72, 107, this);
|
|
57509
|
+
__privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init72, 108, this, false)), __runInitializers(_init72, 111, this);
|
|
57510
|
+
__privateAdd(this, _intelligenceAvailabilityStatus2, __runInitializers(_init72, 112, this, "available")), __runInitializers(_init72, 115, this);
|
|
57511
|
+
__privateAdd(this, _intelligenceUnavailableReason2, __runInitializers(_init72, 116, this, "")), __runInitializers(_init72, 119, this);
|
|
57512
|
+
__privateAdd(this, _intelligenceAvailabilityAction2, __runInitializers(_init72, 120, this)), __runInitializers(_init72, 123, this);
|
|
57513
|
+
__privateAdd(this, _intelligenceHeading2, __runInitializers(_init72, 124, this, "")), __runInitializers(_init72, 127, this);
|
|
57514
|
+
__privateAdd(this, _intelligenceExchanges2, __runInitializers(_init72, 128, this, [])), __runInitializers(_init72, 131, this);
|
|
57515
|
+
__privateAdd(this, _intelligenceBusy2, __runInitializers(_init72, 132, this, false)), __runInitializers(_init72, 135, this);
|
|
57516
|
+
__privateAdd(this, _intelligenceError2, __runInitializers(_init72, 136, this, "")), __runInitializers(_init72, 139, this);
|
|
57517
|
+
__privateAdd(this, _sessionSidebarOpen, __runInitializers(_init72, 140, this, false)), __runInitializers(_init72, 143, this);
|
|
57518
|
+
__privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init72, 144, this, true)), __runInitializers(_init72, 147, this);
|
|
57519
|
+
__privateAdd(this, _narrowSessionLayout, __runInitializers(_init72, 148, this, false)), __runInitializers(_init72, 151, this);
|
|
57347
57520
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
57348
|
-
__privateAdd(this, _heading7, __runInitializers(_init72,
|
|
57349
|
-
__privateAdd(this, _subheading, __runInitializers(_init72,
|
|
57350
|
-
__privateAdd(this, _toolbarActions, __runInitializers(_init72,
|
|
57351
|
-
__privateAdd(this, _showToolbar2, __runInitializers(_init72,
|
|
57352
|
-
__privateAdd(this, _showRoles2, __runInitializers(_init72,
|
|
57353
|
-
__privateAdd(this, _showTimestamps2, __runInitializers(_init72,
|
|
57354
|
-
__privateAdd(this, _markdownWhileStreaming5, __runInitializers(_init72,
|
|
57355
|
-
__privateAdd(this, _disabled5, __runInitializers(_init72,
|
|
57356
|
-
__privateAdd(this, _inputLocked2, __runInitializers(_init72,
|
|
57357
|
-
__privateAdd(this, _busy4, __runInitializers(_init72,
|
|
57358
|
-
__privateAdd(this, _abortEnabled2, __runInitializers(_init72,
|
|
57359
|
-
__privateAdd(this, _abortDisabledReason2, __runInitializers(_init72,
|
|
57360
|
-
__privateAdd(this, _queuedCount2, __runInitializers(_init72,
|
|
57361
|
-
__privateAdd(this, _busyDeliveryModes2, __runInitializers(_init72,
|
|
57362
|
-
__privateAdd(this, _composerValue, __runInitializers(_init72,
|
|
57363
|
-
__privateAdd(this, _attachments2, __runInitializers(_init72,
|
|
57364
|
-
__privateAdd(this, _attachmentsEnabled2, __runInitializers(_init72,
|
|
57365
|
-
__privateAdd(this, _commands2, __runInitializers(_init72,
|
|
57366
|
-
__privateAdd(this, _starterPrompts2, __runInitializers(_init72,
|
|
57367
|
-
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72,
|
|
57368
|
-
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72,
|
|
57369
|
-
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72,
|
|
57370
|
-
__privateAdd(this, _attachmentAccept2, __runInitializers(_init72,
|
|
57371
|
-
__privateAdd(this, _account2, __runInitializers(_init72,
|
|
57372
|
-
__privateAdd(this, _accountOptions2, __runInitializers(_init72,
|
|
57373
|
-
__privateAdd(this, _accountNote2, __runInitializers(_init72,
|
|
57374
|
-
__privateAdd(this, _model2, __runInitializers(_init72,
|
|
57375
|
-
__privateAdd(this, _modelOptions2, __runInitializers(_init72,
|
|
57376
|
-
__privateAdd(this, _reasoningEffort2, __runInitializers(_init72,
|
|
57377
|
-
__privateAdd(this, _effortOptions2, __runInitializers(_init72,
|
|
57378
|
-
__privateAdd(this, _mode2, __runInitializers(_init72,
|
|
57379
|
-
__privateAdd(this, _modeOptions2, __runInitializers(_init72,
|
|
57380
|
-
__privateAdd(this, _menuActions2, __runInitializers(_init72,
|
|
57381
|
-
__privateAdd(this, _toolRegistry6, __runInitializers(_init72,
|
|
57521
|
+
__privateAdd(this, _heading7, __runInitializers(_init72, 152, this, "")), __runInitializers(_init72, 155, this);
|
|
57522
|
+
__privateAdd(this, _subheading, __runInitializers(_init72, 156, this, "")), __runInitializers(_init72, 159, this);
|
|
57523
|
+
__privateAdd(this, _toolbarActions, __runInitializers(_init72, 160, this, [])), __runInitializers(_init72, 163, this);
|
|
57524
|
+
__privateAdd(this, _showToolbar2, __runInitializers(_init72, 164, this, true)), __runInitializers(_init72, 167, this);
|
|
57525
|
+
__privateAdd(this, _showRoles2, __runInitializers(_init72, 168, this, true)), __runInitializers(_init72, 171, this);
|
|
57526
|
+
__privateAdd(this, _showTimestamps2, __runInitializers(_init72, 172, this, true)), __runInitializers(_init72, 175, this);
|
|
57527
|
+
__privateAdd(this, _markdownWhileStreaming5, __runInitializers(_init72, 176, this, true)), __runInitializers(_init72, 179, this);
|
|
57528
|
+
__privateAdd(this, _disabled5, __runInitializers(_init72, 180, this, false)), __runInitializers(_init72, 183, this);
|
|
57529
|
+
__privateAdd(this, _inputLocked2, __runInitializers(_init72, 184, this, false)), __runInitializers(_init72, 187, this);
|
|
57530
|
+
__privateAdd(this, _busy4, __runInitializers(_init72, 188, this, false)), __runInitializers(_init72, 191, this);
|
|
57531
|
+
__privateAdd(this, _abortEnabled2, __runInitializers(_init72, 192, this, true)), __runInitializers(_init72, 195, this);
|
|
57532
|
+
__privateAdd(this, _abortDisabledReason2, __runInitializers(_init72, 196, this, "")), __runInitializers(_init72, 199, this);
|
|
57533
|
+
__privateAdd(this, _queuedCount2, __runInitializers(_init72, 200, this, 0)), __runInitializers(_init72, 203, this);
|
|
57534
|
+
__privateAdd(this, _busyDeliveryModes2, __runInitializers(_init72, 204, this, ["queue"])), __runInitializers(_init72, 207, this);
|
|
57535
|
+
__privateAdd(this, _composerValue, __runInitializers(_init72, 208, this, "")), __runInitializers(_init72, 211, this);
|
|
57536
|
+
__privateAdd(this, _attachments2, __runInitializers(_init72, 212, this, [])), __runInitializers(_init72, 215, this);
|
|
57537
|
+
__privateAdd(this, _attachmentsEnabled2, __runInitializers(_init72, 216, this, true)), __runInitializers(_init72, 219, this);
|
|
57538
|
+
__privateAdd(this, _commands2, __runInitializers(_init72, 220, this, [])), __runInitializers(_init72, 223, this);
|
|
57539
|
+
__privateAdd(this, _starterPrompts2, __runInitializers(_init72, 224, this, [])), __runInitializers(_init72, 227, this);
|
|
57540
|
+
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72, 228, this, Number.POSITIVE_INFINITY)), __runInitializers(_init72, 231, this);
|
|
57541
|
+
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72, 232, this, harnessMaxAttachmentBytes)), __runInitializers(_init72, 235, this);
|
|
57542
|
+
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72, 236, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init72, 239, this);
|
|
57543
|
+
__privateAdd(this, _attachmentAccept2, __runInitializers(_init72, 240, this, "")), __runInitializers(_init72, 243, this);
|
|
57544
|
+
__privateAdd(this, _account2, __runInitializers(_init72, 244, this, "")), __runInitializers(_init72, 247, this);
|
|
57545
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init72, 248, this, [])), __runInitializers(_init72, 251, this);
|
|
57546
|
+
__privateAdd(this, _accountNote2, __runInitializers(_init72, 252, this, "")), __runInitializers(_init72, 255, this);
|
|
57547
|
+
__privateAdd(this, _model2, __runInitializers(_init72, 256, this, "")), __runInitializers(_init72, 259, this);
|
|
57548
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init72, 260, this, [])), __runInitializers(_init72, 263, this);
|
|
57549
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init72, 264, this, "")), __runInitializers(_init72, 267, this);
|
|
57550
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init72, 268, this, [])), __runInitializers(_init72, 271, this);
|
|
57551
|
+
__privateAdd(this, _mode2, __runInitializers(_init72, 272, this, "")), __runInitializers(_init72, 275, this);
|
|
57552
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init72, 276, this, [])), __runInitializers(_init72, 279, this);
|
|
57553
|
+
__privateAdd(this, _menuActions2, __runInitializers(_init72, 280, this, [])), __runInitializers(_init72, 283, this);
|
|
57554
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init72, 284, this, DeesHarnessToolRegistry.default)), __runInitializers(_init72, 287, this);
|
|
57382
57555
|
/** Puts a chosen starter prompt into the composer as typing would, without sending it. */
|
|
57383
57556
|
__publicField(this, "handleStarterPrompt", /* @__PURE__ */ __name((event) => {
|
|
57384
57557
|
const prompt = event.detail?.prompt;
|
|
@@ -57604,6 +57777,8 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
57604
57777
|
.attachedResources=${this.attachedResources}
|
|
57605
57778
|
.workers=${this.workers}
|
|
57606
57779
|
.selectedWorkerId=${this.selectedWorkerId}
|
|
57780
|
+
.workersHeading=${this.workersHeading}
|
|
57781
|
+
.workerQuestionCounts=${this.workerQuestionCounts}
|
|
57607
57782
|
.intelligenceEnabled=${this.sessionIntelligenceEnabled}
|
|
57608
57783
|
.intelligenceAvailabilityStatus=${this.intelligenceAvailabilityStatus}
|
|
57609
57784
|
.intelligenceUnavailableReason=${this.intelligenceUnavailableReason}
|
|
@@ -57760,6 +57935,8 @@ _scratchpadError2 = new WeakMap();
|
|
|
57760
57935
|
_attachedResources2 = new WeakMap();
|
|
57761
57936
|
_workers2 = new WeakMap();
|
|
57762
57937
|
_selectedWorkerId2 = new WeakMap();
|
|
57938
|
+
_workersHeading2 = new WeakMap();
|
|
57939
|
+
_workerQuestionCounts2 = new WeakMap();
|
|
57763
57940
|
_sessionIntelligenceEnabled = new WeakMap();
|
|
57764
57941
|
_intelligenceAvailabilityStatus2 = new WeakMap();
|
|
57765
57942
|
_intelligenceUnavailableReason2 = new WeakMap();
|
|
@@ -57828,6 +58005,8 @@ __decorateElement(_init72, 4, "scratchpadError", _scratchpadError_dec2, _DeesHar
|
|
|
57828
58005
|
__decorateElement(_init72, 4, "attachedResources", _attachedResources_dec2, _DeesHarnessChat, _attachedResources2);
|
|
57829
58006
|
__decorateElement(_init72, 4, "workers", _workers_dec2, _DeesHarnessChat, _workers2);
|
|
57830
58007
|
__decorateElement(_init72, 4, "selectedWorkerId", _selectedWorkerId_dec2, _DeesHarnessChat, _selectedWorkerId2);
|
|
58008
|
+
__decorateElement(_init72, 4, "workersHeading", _workersHeading_dec2, _DeesHarnessChat, _workersHeading2);
|
|
58009
|
+
__decorateElement(_init72, 4, "workerQuestionCounts", _workerQuestionCounts_dec2, _DeesHarnessChat, _workerQuestionCounts2);
|
|
57831
58010
|
__decorateElement(_init72, 4, "sessionIntelligenceEnabled", _sessionIntelligenceEnabled_dec, _DeesHarnessChat, _sessionIntelligenceEnabled);
|
|
57832
58011
|
__decorateElement(_init72, 4, "intelligenceAvailabilityStatus", _intelligenceAvailabilityStatus_dec2, _DeesHarnessChat, _intelligenceAvailabilityStatus2);
|
|
57833
58012
|
__decorateElement(_init72, 4, "intelligenceUnavailableReason", _intelligenceUnavailableReason_dec2, _DeesHarnessChat, _intelligenceUnavailableReason2);
|
|
@@ -68936,7 +69115,7 @@ var fitTimeAxis = /* @__PURE__ */ __name((axisArg) => {
|
|
|
68936
69115
|
}, "fitTimeAxis");
|
|
68937
69116
|
|
|
68938
69117
|
// ts_web/elements/00group-chart/dees-chart-line/component.ts
|
|
68939
|
-
var _axisTimeFormatter_dec, _timeFormatter_dec, _axisValueFormatter_dec, _valueFormatter_dec3, _showLatestValue_dec, _showLegend_dec4, _showMarkers_dec, _fillArea_dec2, _includeZero_dec, _presentation_dec, _series_dec4, _a88, _DeesChartLine_decorators, _init89, _series4, _presentation, _includeZero, _fillArea2, _showMarkers, _showLegend4, _showLatestValue, _valueFormatter3, _axisValueFormatter, _timeFormatter, _axisTimeFormatter;
|
|
69118
|
+
var _axisTimeFormatter_dec, _timeFormatter_dec, _axisValueFormatter_dec, _valueFormatter_dec3, _showLatestValue_dec, _showLegend_dec4, _showMarkers_dec, _stacked_dec2, _fillArea_dec2, _includeZero_dec, _presentation_dec, _series_dec4, _a88, _DeesChartLine_decorators, _init89, _series4, _presentation, _includeZero, _fillArea2, _stacked2, _showMarkers, _showLegend4, _showLatestValue, _valueFormatter3, _axisValueFormatter, _timeFormatter, _axisTimeFormatter;
|
|
68940
69119
|
var dayMs = 864e5;
|
|
68941
69120
|
var areaAlpha = { bright: 0.2, dark: 0.26 };
|
|
68942
69121
|
var axisLabelFormats = {
|
|
@@ -68949,20 +69128,21 @@ var axisLabelFormats = {
|
|
|
68949
69128
|
};
|
|
68950
69129
|
var unlaidWidth = 96;
|
|
68951
69130
|
_DeesChartLine_decorators = [customElement("dees-chart-line")];
|
|
68952
|
-
var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase, _series_dec4 = [n({ type: Array })], _presentation_dec = [n({ type: String, reflect: true })], _includeZero_dec = [n({ type: Boolean, reflect: true })], _fillArea_dec2 = [n({ type: Boolean, reflect: true })], _showMarkers_dec = [n({ type: Boolean, reflect: true })], _showLegend_dec4 = [n({ type: Boolean, reflect: true })], _showLatestValue_dec = [n({ type: Boolean, reflect: true })], _valueFormatter_dec3 = [n({ attribute: false })], _axisValueFormatter_dec = [n({ attribute: false })], _timeFormatter_dec = [n({ attribute: false })], _axisTimeFormatter_dec = [n({ attribute: false })], _a88) {
|
|
69131
|
+
var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase, _series_dec4 = [n({ type: Array })], _presentation_dec = [n({ type: String, reflect: true })], _includeZero_dec = [n({ type: Boolean, reflect: true })], _fillArea_dec2 = [n({ type: Boolean, reflect: true })], _stacked_dec2 = [n({ type: Boolean, reflect: true })], _showMarkers_dec = [n({ type: Boolean, reflect: true })], _showLegend_dec4 = [n({ type: Boolean, reflect: true })], _showLatestValue_dec = [n({ type: Boolean, reflect: true })], _valueFormatter_dec3 = [n({ attribute: false })], _axisValueFormatter_dec = [n({ attribute: false })], _timeFormatter_dec = [n({ attribute: false })], _axisTimeFormatter_dec = [n({ attribute: false })], _a88) {
|
|
68953
69132
|
constructor() {
|
|
68954
69133
|
super(...arguments);
|
|
68955
69134
|
__privateAdd(this, _series4, __runInitializers(_init89, 8, this, [])), __runInitializers(_init89, 11, this);
|
|
68956
69135
|
__privateAdd(this, _presentation, __runInitializers(_init89, 12, this, "points")), __runInitializers(_init89, 15, this);
|
|
68957
69136
|
__privateAdd(this, _includeZero, __runInitializers(_init89, 16, this, true)), __runInitializers(_init89, 19, this);
|
|
68958
69137
|
__privateAdd(this, _fillArea2, __runInitializers(_init89, 20, this, false)), __runInitializers(_init89, 23, this);
|
|
68959
|
-
__privateAdd(this,
|
|
68960
|
-
__privateAdd(this,
|
|
68961
|
-
__privateAdd(this,
|
|
68962
|
-
__privateAdd(this,
|
|
68963
|
-
__privateAdd(this,
|
|
68964
|
-
__privateAdd(this,
|
|
68965
|
-
__privateAdd(this,
|
|
69138
|
+
__privateAdd(this, _stacked2, __runInitializers(_init89, 24, this, false)), __runInitializers(_init89, 27, this);
|
|
69139
|
+
__privateAdd(this, _showMarkers, __runInitializers(_init89, 28, this, true)), __runInitializers(_init89, 31, this);
|
|
69140
|
+
__privateAdd(this, _showLegend4, __runInitializers(_init89, 32, this, true)), __runInitializers(_init89, 35, this);
|
|
69141
|
+
__privateAdd(this, _showLatestValue, __runInitializers(_init89, 36, this, false)), __runInitializers(_init89, 39, this);
|
|
69142
|
+
__privateAdd(this, _valueFormatter3, __runInitializers(_init89, 40, this, /* @__PURE__ */ __name((value) => this.t.format.number(value), "valueFormatter"))), __runInitializers(_init89, 43, this);
|
|
69143
|
+
__privateAdd(this, _axisValueFormatter, __runInitializers(_init89, 44, this)), __runInitializers(_init89, 47, this);
|
|
69144
|
+
__privateAdd(this, _timeFormatter, __runInitializers(_init89, 48, this, /* @__PURE__ */ __name((epochMs) => this.t.format.intlDateTimeFormat({ dateStyle: "medium" }).format(epochMs), "timeFormatter"))), __runInitializers(_init89, 51, this);
|
|
69145
|
+
__privateAdd(this, _axisTimeFormatter, __runInitializers(_init89, 52, this)), __runInitializers(_init89, 55, this);
|
|
68966
69146
|
/**
|
|
68967
69147
|
* The time axis as last set: the span its values take, with room for the first and the last
|
|
68968
69148
|
* point, its ends, which reach further where the first or the last label needs room, the moments
|
|
@@ -68976,7 +69156,7 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
68976
69156
|
}
|
|
68977
69157
|
async updated(changedProperties) {
|
|
68978
69158
|
super.updated(changedProperties);
|
|
68979
|
-
if (this.chartInstance && (changedProperties.has("series") || changedProperties.has("presentation") || changedProperties.has("includeZero") || changedProperties.has("fillArea") || changedProperties.has("showMarkers") || changedProperties.has("showLegend") || changedProperties.has("valueFormatter") || changedProperties.has("axisValueFormatter") || changedProperties.has("timeFormatter") || changedProperties.has("axisTimeFormatter"))) {
|
|
69159
|
+
if (this.chartInstance && (changedProperties.has("series") || changedProperties.has("presentation") || changedProperties.has("includeZero") || changedProperties.has("fillArea") || changedProperties.has("stacked") || changedProperties.has("showMarkers") || changedProperties.has("showLegend") || changedProperties.has("valueFormatter") || changedProperties.has("axisValueFormatter") || changedProperties.has("timeFormatter") || changedProperties.has("axisTimeFormatter"))) {
|
|
68980
69160
|
this.updateChart();
|
|
68981
69161
|
}
|
|
68982
69162
|
}
|
|
@@ -69103,6 +69283,55 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69103
69283
|
];
|
|
69104
69284
|
return { origin: 0, color: { type: "linear", x: 0, y: 0, x2: 0, y2: 1, colorStops } };
|
|
69105
69285
|
}
|
|
69286
|
+
/**
|
|
69287
|
+
* The series on the moments any of them states, in time order, as a stack needs them: ECharts
|
|
69288
|
+
* stacks values on a time axis by their index, so each series takes a row of the same moments.
|
|
69289
|
+
* At a moment a series states, its value (or `null`); at one it does not, what its drawing reads
|
|
69290
|
+
* there, marked `derived`: under `step` its value before, under `line` its line between the
|
|
69291
|
+
* values around the moment. `null` under `points`, before its first value, after its last and
|
|
69292
|
+
* beside a missing one, where its drawing reads nothing.
|
|
69293
|
+
*/
|
|
69294
|
+
static stackRows(normalizedArg, presentationArg) {
|
|
69295
|
+
const moments = _DeesChartLine.allMoments(normalizedArg);
|
|
69296
|
+
return normalizedArg.map((points) => {
|
|
69297
|
+
let next = 0;
|
|
69298
|
+
return moments.map((time) => {
|
|
69299
|
+
while (next < points.length && points[next][0] < time) next++;
|
|
69300
|
+
if (points[next]?.[0] === time) return { time, value: points[next][1], derived: false };
|
|
69301
|
+
const before = points[next - 1]?.[1] ?? null;
|
|
69302
|
+
const after = points[next]?.[1] ?? null;
|
|
69303
|
+
if (presentationArg === "points" || before === null || after === null) return { time, value: null, derived: false };
|
|
69304
|
+
const value = presentationArg === "step" ? before : before + (after - before) * (time - points[next - 1][0]) / (points[next][0] - points[next - 1][0]);
|
|
69305
|
+
return { time, value, derived: true };
|
|
69306
|
+
});
|
|
69307
|
+
});
|
|
69308
|
+
}
|
|
69309
|
+
/** Every moment of the series, stated or missing, in time order and each once. */
|
|
69310
|
+
static allMoments(normalizedArg) {
|
|
69311
|
+
const moments = [];
|
|
69312
|
+
for (const points of normalizedArg) for (const [time] of points) moments.push(time);
|
|
69313
|
+
moments.sort((left, right) => left - right);
|
|
69314
|
+
return moments.filter((moment, index) => index === 0 || moment !== moments[index - 1]);
|
|
69315
|
+
}
|
|
69316
|
+
/**
|
|
69317
|
+
* Where each shown series' line runs in the stack, moment by moment, as ECharts stacks them
|
|
69318
|
+
* (`samesign`): a value adds the top of the nearest shown series beneath it whose top lies on
|
|
69319
|
+
* its side of zero. `null` where the series has no value, and for a series switched off.
|
|
69320
|
+
*/
|
|
69321
|
+
static stackTops(rowsArg, shownArg) {
|
|
69322
|
+
const tops = [];
|
|
69323
|
+
rowsArg.forEach((row, index) => {
|
|
69324
|
+
tops[index] = row.map(({ value }, at) => {
|
|
69325
|
+
if (!shownArg[index] || value === null) return null;
|
|
69326
|
+
for (let below = index - 1; below >= 0; below--) {
|
|
69327
|
+
const top = tops[below][at];
|
|
69328
|
+
if (top !== null && (value >= 0 && top > 0 || value <= 0 && top < 0)) return value + top;
|
|
69329
|
+
}
|
|
69330
|
+
return value;
|
|
69331
|
+
});
|
|
69332
|
+
});
|
|
69333
|
+
return tops;
|
|
69334
|
+
}
|
|
69106
69335
|
/**
|
|
69107
69336
|
* The values of a series that state no neighbour before or after them: no line reaches them,
|
|
69108
69337
|
* so a drawing without dots would not show them at all.
|
|
@@ -69136,6 +69365,8 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69136
69365
|
} : void 0;
|
|
69137
69366
|
const ticks = this.timeAxis ? this.labelTimeAxis(length) : void 0;
|
|
69138
69367
|
const filled = this.fillArea && this.presentation !== "points";
|
|
69368
|
+
const stacked = this.stacked;
|
|
69369
|
+
const rows = stacked ? _DeesChartLine.stackRows(normalized2, this.presentation) : void 0;
|
|
69139
69370
|
const alpha = this.goBright ? areaAlpha.bright : areaAlpha.dark;
|
|
69140
69371
|
const dotless = !this.showMarkers && this.presentation !== "points";
|
|
69141
69372
|
const dotStyle = /* @__PURE__ */ __name((color) => ({ color, borderColor: colors.bgPrimary, borderWidth: 1 }), "dotStyle");
|
|
@@ -69144,7 +69375,10 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69144
69375
|
return {
|
|
69145
69376
|
name: series.name,
|
|
69146
69377
|
type: "line",
|
|
69147
|
-
|
|
69378
|
+
// stacked, each series on every moment; a value its drawing reads between two it states
|
|
69379
|
+
// takes no dot and no tooltip
|
|
69380
|
+
data: rows ? rows[index].map(({ time, value, derived }) => derived ? { value: [time, value], derived: true, symbol: "none" } : [time, value]) : normalized2[index],
|
|
69381
|
+
...stacked ? { stack: "total", stackStrategy: "samesign" } : {},
|
|
69148
69382
|
connectNulls: false,
|
|
69149
69383
|
showSymbol: !dotless,
|
|
69150
69384
|
symbol: "circle",
|
|
@@ -69152,12 +69386,14 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69152
69386
|
step: this.presentation === "step" ? "end" : false,
|
|
69153
69387
|
itemStyle: dotStyle(color),
|
|
69154
69388
|
lineStyle: this.presentation === "points" ? { width: 0, opacity: 0 } : { width: 2, color },
|
|
69155
|
-
areaStyle: filled ? _DeesChartLine.areaFill(color, alpha, normalized2[index]) : void 0,
|
|
69389
|
+
areaStyle: filled ? stacked ? { color, opacity: alpha } : _DeesChartLine.areaFill(color, alpha, normalized2[index]) : void 0,
|
|
69156
69390
|
emphasis: this.presentation === "points" ? { scale: 1.4, lineStyle: { width: 0, opacity: 0 } } : { scale: 1.4, lineStyle: { width: 2 } }
|
|
69157
69391
|
};
|
|
69158
69392
|
});
|
|
69393
|
+
const shown = this.series.map((series) => this.legendShown(series.name));
|
|
69394
|
+
const tops = rows && dotless ? _DeesChartLine.stackTops(rows, shown) : void 0;
|
|
69159
69395
|
const loneDots = dotless ? this.series.flatMap((series, index) => {
|
|
69160
|
-
const lone = _DeesChartLine.loneValues(normalized2[index]);
|
|
69396
|
+
const lone = rows ? _DeesChartLine.loneValues(rows[index].map(({ time, value }) => [time, value])).map(([time]) => [time, tops[index][rows[index].findIndex((row) => row.time === time)]]).filter(([, top]) => top !== null && top !== void 0) : _DeesChartLine.loneValues(normalized2[index]);
|
|
69161
69397
|
return lone.length === 0 ? [] : [{
|
|
69162
69398
|
name: series.name,
|
|
69163
69399
|
type: "line",
|
|
@@ -69179,7 +69415,7 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69179
69415
|
trigger: "axis",
|
|
69180
69416
|
axisPointer: { type: "line", snap: true, lineStyle: { color: colors.borderStrong } },
|
|
69181
69417
|
formatter: /* @__PURE__ */ __name((params) => {
|
|
69182
|
-
const stated = params.filter((param) => param.value[1] !== null);
|
|
69418
|
+
const stated = params.filter((param) => param.value[1] !== null && !param.data?.derived);
|
|
69183
69419
|
if (stated.length === 0) return "";
|
|
69184
69420
|
return `<strong>${timeFormatter(stated[0].value[0])}</strong>` + stated.map((param) => `<br/>${reading(param.color, param.seriesName, param.value[1])}`).join("");
|
|
69185
69421
|
}, "formatter")
|
|
@@ -69187,7 +69423,7 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69187
69423
|
trigger: "item",
|
|
69188
69424
|
formatter: /* @__PURE__ */ __name((params) => {
|
|
69189
69425
|
const [time, value] = params.value;
|
|
69190
|
-
if (value === null) return "";
|
|
69426
|
+
if (value === null || params.data?.derived) return "";
|
|
69191
69427
|
return `<strong>${timeFormatter(time)}</strong><br/>${reading(params.color, params.seriesName, value)}`;
|
|
69192
69428
|
}, "formatter")
|
|
69193
69429
|
},
|
|
@@ -69215,7 +69451,7 @@ var _DeesChartLine = class _DeesChartLine extends (_a88 = DeesChartEchartsBase,
|
|
|
69215
69451
|
},
|
|
69216
69452
|
yAxis: {
|
|
69217
69453
|
type: "value",
|
|
69218
|
-
scale: !(this.includeZero || filled),
|
|
69454
|
+
scale: !(this.includeZero || filled || stacked),
|
|
69219
69455
|
axisLine: { show: false },
|
|
69220
69456
|
axisLabel: {
|
|
69221
69457
|
color: colors.textMuted,
|
|
@@ -69232,6 +69468,7 @@ _series4 = new WeakMap();
|
|
|
69232
69468
|
_presentation = new WeakMap();
|
|
69233
69469
|
_includeZero = new WeakMap();
|
|
69234
69470
|
_fillArea2 = new WeakMap();
|
|
69471
|
+
_stacked2 = new WeakMap();
|
|
69235
69472
|
_showMarkers = new WeakMap();
|
|
69236
69473
|
_showLegend4 = new WeakMap();
|
|
69237
69474
|
_showLatestValue = new WeakMap();
|
|
@@ -69243,6 +69480,7 @@ __decorateElement(_init89, 4, "series", _series_dec4, _DeesChartLine, _series4);
|
|
|
69243
69480
|
__decorateElement(_init89, 4, "presentation", _presentation_dec, _DeesChartLine, _presentation);
|
|
69244
69481
|
__decorateElement(_init89, 4, "includeZero", _includeZero_dec, _DeesChartLine, _includeZero);
|
|
69245
69482
|
__decorateElement(_init89, 4, "fillArea", _fillArea_dec2, _DeesChartLine, _fillArea2);
|
|
69483
|
+
__decorateElement(_init89, 4, "stacked", _stacked_dec2, _DeesChartLine, _stacked2);
|
|
69246
69484
|
__decorateElement(_init89, 4, "showMarkers", _showMarkers_dec, _DeesChartLine, _showMarkers);
|
|
69247
69485
|
__decorateElement(_init89, 4, "showLegend", _showLegend_dec4, _DeesChartLine, _showLegend4);
|
|
69248
69486
|
__decorateElement(_init89, 4, "showLatestValue", _showLatestValue_dec, _DeesChartLine, _showLatestValue);
|
|
@@ -72767,7 +73005,7 @@ __publicField(_DeesProgressbar, "styles", [
|
|
|
72767
73005
|
}
|
|
72768
73006
|
|
|
72769
73007
|
.progressBarContainer {
|
|
72770
|
-
min-width:
|
|
73008
|
+
min-width: 0;
|
|
72771
73009
|
padding: var(--dees-spacing-sm);
|
|
72772
73010
|
box-sizing: border-box;
|
|
72773
73011
|
}
|
|
@@ -72781,12 +73019,15 @@ __publicField(_DeesProgressbar, "styles", [
|
|
|
72781
73019
|
}
|
|
72782
73020
|
|
|
72783
73021
|
.progressLabel {
|
|
73022
|
+
min-width: 0;
|
|
73023
|
+
overflow-wrap: anywhere;
|
|
72784
73024
|
font-size: var(--dees-font-control-size);
|
|
72785
73025
|
font-weight: var(--dees-font-control-weight);
|
|
72786
73026
|
line-height: 1.3;
|
|
72787
73027
|
}
|
|
72788
73028
|
|
|
72789
73029
|
.progressValue {
|
|
73030
|
+
flex: none;
|
|
72790
73031
|
font-size: var(--dees-font-caption1-size);
|
|
72791
73032
|
line-height: 1.3;
|
|
72792
73033
|
color: var(--dees-color-text-secondary);
|
|
@@ -73834,7 +74075,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
73834
74075
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
73835
74076
|
*/
|
|
73836
74077
|
static async pick(optionsArg = {}) {
|
|
73837
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
74078
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-KNFCFUX6.js");
|
|
73838
74079
|
const picker = new _DeesHarnessConversationPicker();
|
|
73839
74080
|
picker.sessions = optionsArg.sessions ?? [];
|
|
73840
74081
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -74303,7 +74544,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
74303
74544
|
list.selectedResourceId = event.detail.resource.id;
|
|
74304
74545
|
}, "handleResourceContext");
|
|
74305
74546
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
74306
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
74547
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-KNFCFUX6.js");
|
|
74307
74548
|
const content = document.createElement("dees-harness-resource-list");
|
|
74308
74549
|
content.sessions = sessions;
|
|
74309
74550
|
content.groups = groups;
|
|
@@ -79279,51 +79520,6 @@ __publicField(_DeesKanbanDiscussion, "styles", [...kanbanStyles, kanbanFeedStyle
|
|
|
79279
79520
|
__runInitializers(_init107, 1, _DeesKanbanDiscussion);
|
|
79280
79521
|
var DeesKanbanDiscussion = _DeesKanbanDiscussion;
|
|
79281
79522
|
|
|
79282
|
-
// ts_web/elements/00group-kanban/kanban.firstload.ts
|
|
79283
|
-
var KanbanFirstLoadController = class {
|
|
79284
|
-
constructor(host, isFirstLoad, stillLoadingAfter) {
|
|
79285
|
-
this.host = host;
|
|
79286
|
-
this.isFirstLoad = isFirstLoad;
|
|
79287
|
-
this.stillLoadingAfter = stillLoadingAfter;
|
|
79288
|
-
host.addController(this);
|
|
79289
|
-
}
|
|
79290
|
-
host;
|
|
79291
|
-
isFirstLoad;
|
|
79292
|
-
stillLoadingAfter;
|
|
79293
|
-
static {
|
|
79294
|
-
__name(this, "KanbanFirstLoadController");
|
|
79295
|
-
}
|
|
79296
|
-
timer;
|
|
79297
|
-
stalled = false;
|
|
79298
|
-
/** The first load has run past `stillLoadingAfter()`. */
|
|
79299
|
-
get stillLoading() {
|
|
79300
|
-
return this.stalled;
|
|
79301
|
-
}
|
|
79302
|
-
hostConnected() {
|
|
79303
|
-
if (this.isFirstLoad()) this.host.requestUpdate();
|
|
79304
|
-
}
|
|
79305
|
-
hostUpdate() {
|
|
79306
|
-
if (!this.host.isConnected || !this.isFirstLoad()) {
|
|
79307
|
-
this.clear();
|
|
79308
|
-
return;
|
|
79309
|
-
}
|
|
79310
|
-
if (this.stalled || this.timer) return;
|
|
79311
|
-
this.timer = setTimeout(() => {
|
|
79312
|
-
this.timer = void 0;
|
|
79313
|
-
this.stalled = true;
|
|
79314
|
-
this.host.requestUpdate();
|
|
79315
|
-
}, this.stillLoadingAfter());
|
|
79316
|
-
}
|
|
79317
|
-
hostDisconnected() {
|
|
79318
|
-
this.clear();
|
|
79319
|
-
}
|
|
79320
|
-
clear() {
|
|
79321
|
-
if (this.timer) clearTimeout(this.timer);
|
|
79322
|
-
this.timer = void 0;
|
|
79323
|
-
this.stalled = false;
|
|
79324
|
-
}
|
|
79325
|
-
};
|
|
79326
|
-
|
|
79327
79523
|
// ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts
|
|
79328
79524
|
var _showHeader_dec3, _error_dec5, _loading_dec11, _projects_dec, _tickets_dec, _columns_dec3, _activity_dec, _ticketId_dec2, _a106, _DeesKanbanActivity_decorators, _init108, _ticketId2, _activity, _columns3, _tickets, _projects, _loading11, _error5, _showHeader3;
|
|
79329
79525
|
var placeholderEntries = 3;
|
|
@@ -79344,7 +79540,7 @@ var _DeesKanbanActivity = class _DeesKanbanActivity extends (_a106 = DeesElement
|
|
|
79344
79540
|
constructor() {
|
|
79345
79541
|
super(...arguments);
|
|
79346
79542
|
__publicField(this, "t", dcLocalize(this));
|
|
79347
|
-
__publicField(this, "firstLoad", new
|
|
79543
|
+
__publicField(this, "firstLoad", new FirstLoadController(
|
|
79348
79544
|
this,
|
|
79349
79545
|
() => this.isFirstLoad(),
|
|
79350
79546
|
() => _DeesKanbanActivity.stillLoadingAfter
|
|
@@ -83262,7 +83458,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83262
83458
|
(input) => this.persistMove(input),
|
|
83263
83459
|
() => !this.pendingTicketId
|
|
83264
83460
|
));
|
|
83265
|
-
__publicField(this, "firstLoad", new
|
|
83461
|
+
__publicField(this, "firstLoad", new FirstLoadController(
|
|
83266
83462
|
this,
|
|
83267
83463
|
() => this.isFirstLoad(),
|
|
83268
83464
|
() => _DeesKanban.stillLoadingAfter
|
|
@@ -120742,7 +120938,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a141 = DeesElement,
|
|
|
120742
120938
|
this.terminalOpen = true;
|
|
120743
120939
|
const request = ++this.terminalRequest;
|
|
120744
120940
|
try {
|
|
120745
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
120941
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-GCBL7RVQ.js");
|
|
120746
120942
|
await this.updateComplete;
|
|
120747
120943
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
120748
120944
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -127802,7 +127998,7 @@ var bright = {
|
|
|
127802
127998
|
// ts_web/00_commitinfo_data.ts
|
|
127803
127999
|
var commitinfo = {
|
|
127804
128000
|
name: "@design.estate/dees-catalog",
|
|
127805
|
-
version: "22.
|
|
128001
|
+
version: "22.5.1",
|
|
127806
128002
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
127807
128003
|
};
|
|
127808
128004
|
export {
|