@design.estate/dees-catalog 21.30.0 → 21.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +250 -214
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/demos/charts.js +5 -3
- package/dist_ts_web/elements/00group-chart/dees-chart-area/component.d.ts +14 -3
- package/dist_ts_web/elements/00group-chart/dees-chart-area/component.js +23 -5
- package/dist_ts_web/elements/00group-chart/dees-chart-area/styles.js +7 -2
- package/dist_ts_web/elements/00group-chart/dees-chart-area/template.js +28 -32
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-base.d.ts +2 -8
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-base.js +21 -33
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-styles.d.ts +0 -7
- package/dist_ts_web/elements/00group-chart/dees-chart-echarts-styles.js +3 -42
- package/dist_ts_web/elements/00group-chart/dees-chart-frame.d.ts +41 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-frame.js +78 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.d.ts +10 -2
- package/dist_ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.demo.d.ts +1 -0
- package/dist_ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.demo.js +7 -2
- package/dist_ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.js +88 -96
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.d.ts +8 -1
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.js +10 -2
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.d.ts +17 -0
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.js +8 -1
- package/dist_ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.js +36 -6
- package/dist_ts_web/elements/00group-layout/dees-stepper/dees-stepper.d.ts +4 -3
- package/dist_ts_web/elements/00group-layout/dees-stepper/dees-stepper.demo.js +8 -4
- package/dist_ts_web/elements/00group-layout/dees-stepper/dees-stepper.js +7 -6
- package/package.json +1 -1
- package/readme.md +35 -14
- package/scripts/reflect-allowlist.json +2 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/demos/charts.ts +4 -2
- package/ts_web/elements/00group-chart/dees-chart-area/component.ts +16 -3
- package/ts_web/elements/00group-chart/dees-chart-area/styles.ts +6 -1
- package/ts_web/elements/00group-chart/dees-chart-area/template.ts +27 -31
- package/ts_web/elements/00group-chart/dees-chart-echarts-base.ts +13 -26
- package/ts_web/elements/00group-chart/dees-chart-echarts-styles.ts +2 -42
- package/ts_web/elements/00group-chart/dees-chart-frame.ts +100 -0
- package/ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.demo.ts +6 -1
- package/ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.ts +81 -94
- package/ts_web/elements/00group-form/dees-form/dees-form.ts +10 -2
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.demo.ts +10 -0
- package/ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.ts +31 -1
- package/ts_web/elements/00group-layout/dees-stepper/dees-stepper.demo.ts +7 -3
- package/ts_web/elements/00group-layout/dees-stepper/dees-stepper.ts +5 -4
package/readme.md
CHANGED
|
@@ -860,9 +860,9 @@ public render() {
|
|
|
860
860
|
full-page button alone. Either way the chart's `summary` still names it to a screen reader.
|
|
861
861
|
- A legend in a footer bar is a [`dees-legend`](#deeslegend): every chart's is one, and a host
|
|
862
862
|
that draws its own chart or timeline puts one in its footer bar the same way.
|
|
863
|
-
- In the catalog, the charts' titles and legends
|
|
864
|
-
header and footer of `dees-table`, the
|
|
865
|
-
`dees-dataview-statusobject`, and `dees-settings`' heading are these bars. Deliberately other
|
|
863
|
+
- In the catalog, the charts' titles and legends (`dees-chart-area` and `dees-chart-log`
|
|
864
|
+
included), the dashboard grid's widget titles, the header and footer of `dees-table`, the
|
|
865
|
+
footer of `dees-dataview-statusobject`, and `dees-settings`' heading are these bars. Deliberately other
|
|
866
866
|
sizes: a status object's summary, the editors' and the PDF viewer's toolbars, the code box's and the
|
|
867
867
|
terminal's window chrome, the stepper, the file upload, the input list's add row and a compact
|
|
868
868
|
dashboard's smaller titles.
|
|
@@ -1507,6 +1507,9 @@ from `formData` when a `dees-form-submit` is activated. `changeSubject` publishe
|
|
|
1507
1507
|
updated form data as fields change. Required values and fields implementing
|
|
1508
1508
|
`checkValidity()` control the submit button. Invalid fields implementing
|
|
1509
1509
|
`reportValidity()` receive a validation/focus request on attempted submission.
|
|
1510
|
+
`await form.gatherAndDispatch()` submits through the form: it resolves to `true` once
|
|
1511
|
+
`formData` went out and to `false` when a field refused, after that field reported why
|
|
1512
|
+
and took the focus, so a host that submits through the form can stop where it did.
|
|
1510
1513
|
Fields notify the form with a bubbling `validation-change` event when their
|
|
1511
1514
|
validity changes; this does not publish a successful value change. Disabled fields
|
|
1512
1515
|
do not block submission. `reset()` calls each field's reset method when available
|
|
@@ -1886,6 +1889,8 @@ Radio-style single-choice form input, including required validation and optional
|
|
|
1886
1889
|
|
|
1887
1890
|
The options sit in one `radiogroup` named by the label (with `aria-required`, `aria-disabled` and `aria-invalid`), and the group is one tab stop: Tab reaches the chosen option, or the first while nothing is chosen. The arrow keys move the choice with the focus and wrap; Space chooses the focused option. Enter belongs to the form, as in a native radio group: it moves to the next field, or submits from the last.
|
|
1888
1891
|
|
|
1892
|
+
Where a heading or a step title already asks the question, leave the label out and name the group with `aria-label` (the `ariaLabel` property). The name moves from the host, which has no role, to the `radiogroup`, and it takes precedence over `label`; set `ariaLabel` to `null` to name the group by its label again. A group with neither carries no name.
|
|
1893
|
+
|
|
1889
1894
|
```typescript
|
|
1890
1895
|
<dees-input-radiogroup
|
|
1891
1896
|
key="plan"
|
|
@@ -1917,6 +1922,13 @@ The options sit in one `radiogroup` named by the label (with `aria-required`, `a
|
|
|
1917
1922
|
{ key: 'text', option: 'Read them from a text', description: 'Paste a signature; a language model picks out the details.' }
|
|
1918
1923
|
]}
|
|
1919
1924
|
></dees-input-radiogroup>
|
|
1925
|
+
|
|
1926
|
+
// Named by the question a step title already asks
|
|
1927
|
+
<dees-input-radiogroup
|
|
1928
|
+
key="source"
|
|
1929
|
+
aria-label="How do you want to add the contact?"
|
|
1930
|
+
.options=${sourceOptions}
|
|
1931
|
+
></dees-input-radiogroup>
|
|
1920
1932
|
```
|
|
1921
1933
|
|
|
1922
1934
|
#### `DeesInputTags`
|
|
@@ -3908,18 +3920,19 @@ with their container and recreate their engines when reattached. Assign a bounde
|
|
|
3908
3920
|
height when embedding in a dashboard. Every chart, `dees-chart-log` included, accepts
|
|
3909
3921
|
[`frameless`](#frameless-components) when the dashboard cell or panel owns the frame.
|
|
3910
3922
|
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3923
|
+
Every chart also carries what a host would otherwise wrap it in a tile for. `meta` is a short
|
|
3924
|
+
text in the header bar, beside the `label` and before the chart's own controls (the area chart's
|
|
3925
|
+
full-page button, the log's search): what the figures cover, or the terms they are stated in. It is muted, as a
|
|
3914
3926
|
table's `heading2`, in the header's size, and where the bar is too narrow for both it wraps under
|
|
3915
3927
|
the title at its start and the bar grows. The host's own rows go into the tile around the plot:
|
|
3916
|
-
an element with `slot="above"` sits between the header and the plot, one
|
|
3917
|
-
between the plot and the legend, both at the header's inset, framed or
|
|
3928
|
+
an element with `slot="above"` sits between the header and the plot (the log's terminal), one
|
|
3929
|
+
with `slot="below"` between the plot and the legend, both at the header's inset, framed or
|
|
3930
|
+
frameless. The legend
|
|
3918
3931
|
stays the tile's last row, at its full width. The host's height holds the whole tile (400px by
|
|
3919
3932
|
default) and the plot takes what the header, the rows and the legend leave; a chart whose rows
|
|
3920
3933
|
vary takes `height: auto`, and its plot is then `--dees-chart-plot-height` tall (320px by
|
|
3921
|
-
default; a donut keeps its own plot height).
|
|
3922
|
-
|
|
3934
|
+
default; a donut keeps its own plot height). All charts draw this frame through one module,
|
|
3935
|
+
so a chart's header, rows and legend line up with every other chart's.
|
|
3923
3936
|
|
|
3924
3937
|
```typescript
|
|
3925
3938
|
html`<dees-chart-line label="Bank balances" meta="as each bank statement states them"
|
|
@@ -4210,6 +4223,10 @@ already owns its heading and frame. Compact mode dedicates the bounded component
|
|
|
4210
4223
|
height to the plot and omits the nested tile chrome, chart heading, full-page
|
|
4211
4224
|
action, and legend. The default framed presentation is unchanged.
|
|
4212
4225
|
|
|
4226
|
+
`meta` stands beside the `label`, before the full-page button, and the host's rows go into the
|
|
4227
|
+
slots `above` and `below` the plot, as for [every chart](#visualization-components); a compact
|
|
4228
|
+
chart draws no `meta`.
|
|
4229
|
+
|
|
4213
4230
|
```typescript
|
|
4214
4231
|
<dees-chart-area
|
|
4215
4232
|
label="System Usage"
|
|
@@ -4243,7 +4260,9 @@ A log stream on a terminal surface: the search field, the filter/highlight toggl
|
|
|
4243
4260
|
></dees-chart-log>
|
|
4244
4261
|
```
|
|
4245
4262
|
|
|
4246
|
-
`addLog(level, message, source?)` adds one entry and `updateLog(entries)` a batch; `logEntries` binds a list the host owns, where a list that only grew at the end costs one write for the new tail and any other change repaints once. Binding is an assignment: a host that mutates its array in place and re-assigns the same reference changes nothing the component can see, so hand over a new array. `maxEntries` (10 000) bounds the entries and sizes the grid's scrollback with them. `writeRaw(data)` and `writelnRaw(line)` forward output that is already a terminal stream (container logs): it is not an entry, so it is not filtered, not counted by level and not repainted after a move. `clearLogs()` empties entries, metrics and screen the way a terminal clear does: a bound list that afterwards grows at the end paints only the entries added after the clear, while a list the host replaces is a new list and paints in full. `scrollToBottom()` follows the newest output, and `search(query)` / `searchNext()` / `searchPrevious()` drive xterm's search addon. `autoScroll`, `highlightKeywords`, `showMetrics`, `label` and `frameless` are properties; `mode` is gone, because nothing read it.
|
|
4263
|
+
`addLog(level, message, source?)` adds one entry and `updateLog(entries)` a batch; `logEntries` binds a list the host owns, where a list that only grew at the end costs one write for the new tail and any other change repaints once. Binding is an assignment: a host that mutates its array in place and re-assigns the same reference changes nothing the component can see, so hand over a new array. `maxEntries` (10 000) bounds the entries and sizes the grid's scrollback with them. `writeRaw(data)` and `writelnRaw(line)` forward output that is already a terminal stream (container logs): it is not an entry, so it is not filtered, not counted by level and not repainted after a move. `clearLogs()` empties entries, metrics and screen the way a terminal clear does: a bound list that afterwards grows at the end paints only the entries added after the clear, while a list the host replaces is a new list and paints in full. `scrollToBottom()` follows the newest output, and `search(query)` / `searchNext()` / `searchPrevious()` drive xterm's search addon. `autoScroll`, `highlightKeywords`, `showMetrics`, `label`, `meta` and `frameless` are properties; `mode` is gone, because nothing read it.
|
|
4264
|
+
|
|
4265
|
+
The log's tile is every chart's [frame](#visualization-components): `label` and `meta` head the [standard header bar](#tile-bars), the search and the controls follow them and, where the bar is too narrow, wrap onto further lines; the host's rows go into the slots `above` and `below` the terminal, and the metrics are the standard footer bar. Header, rows and footer keep the tile's inset, 16px, or the region inset `--dees-inset-inline` while `frameless`.
|
|
4247
4266
|
|
|
4248
4267
|
The entries live in the component rather than in the grid: the view builds a terminal per connection and every connection is painted from the entries, so a log moved between containers reads the same afterwards. An entry that arrives while the log is connected is written on its own, and only a changed filter, a changed query or a fresh surface repaints the buffer — one write for the batch, one scroll after it. In filter mode the log shows the matching entries and counts the rest into a `[n log lines hidden by filter ...]` placeholder; in highlight mode the search addon marks the query on the grid instead. That addon is an optional capability of the terminal, so `canJumpToMatch` reports whether it came up: if it did not, the two match buttons are disabled with a title that says why, while filtering, highlighting and the log itself keep working. The metrics footer, a [`dees-legend`](#deeslegend) of the level counts with the rate at its end, counts levels and shows the rate over the last ten seconds, measured when an entry arrives — nothing recomputes it behind a log that is not moving. Only entries that arrive count as arrivals: a list the host binds is adopted, so history reaches the level counters without pretending to be traffic, and the rate follows what is appended to it afterwards.
|
|
4249
4268
|
|
|
@@ -4585,8 +4604,9 @@ modal with `DeesStepper.createAndShow({ steps, cancelable: true })`.
|
|
|
4585
4604
|
step whose actions are all `primary: false` has none, so a lookup's own Cancel is
|
|
4586
4605
|
an ordinary button that stays usable while the lookup runs and after it failed.
|
|
4587
4606
|
A nested `dees-form` gates the primary on its required fields and dispatches
|
|
4588
|
-
collected `formData` before the action runs; a
|
|
4589
|
-
holds
|
|
4607
|
+
collected `formData` before the action runs; a field the form refuses (its
|
|
4608
|
+
`checkValidity()` fails) holds the action: the field says why and takes the focus,
|
|
4609
|
+
and the step stays. A running or failed progress step holds the primary too. While required fields are empty, "Complete required fields" shows
|
|
4590
4610
|
in the footer right before the primary; it fades without changing the footer's size.
|
|
4591
4611
|
- **A stable footer.** Back (when the step allows it) holds the footer's inline start;
|
|
4592
4612
|
the hint and the actions sit at its inline end, the primary last. The hint is always
|
|
@@ -4688,7 +4708,8 @@ The catalog demo combines setup fields, preferences, a review, background work,
|
|
|
4688
4708
|
and completion. **Retry example** fails the first background attempt and preserves
|
|
4689
4709
|
the choices for recovery, **Lookup** a flow of unknown length (`'position'`),
|
|
4690
4710
|
**Choice first** a flow whose later steps follow the first step's answer (three
|
|
4691
|
-
described choices in a `dees-input-radiogroup
|
|
4711
|
+
described choices in a `dees-input-radiogroup` named by the step's question; a text
|
|
4712
|
+
that names no way to reach the contact stays on its step; its `beforeClose` asks first only once
|
|
4692
4713
|
something was read), and **Long flow** a ribbon that
|
|
4693
4714
|
scrolls. **Narrow** shows the strip, **Centred** the centred card. It also shows
|
|
4694
4715
|
optional and required-completion overlays.
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
"value": "user-data: the chosen quantity"
|
|
67
67
|
},
|
|
68
68
|
"ts_web/elements/00group-input/dees-input-radiogroup/dees-input-radiogroup.ts": {
|
|
69
|
-
"selectedOption": "user-data: the chosen option, the field value"
|
|
69
|
+
"selectedOption": "user-data: the chosen option, the field value",
|
|
70
|
+
"ariaLabel": "global-attribute: aria-label on the host would name an element without a role; the inner radiogroup carries it"
|
|
70
71
|
},
|
|
71
72
|
"ts_web/elements/00group-input/dees-input-textarea/dees-input-textarea.ts": {
|
|
72
73
|
"value": "user-data: the typed text"
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '21.
|
|
6
|
+
version: '21.31.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|
package/ts_web/demos/charts.ts
CHANGED
|
@@ -74,7 +74,7 @@ export const chartSamples = (step = 0, sampledAt = Date.now()) => {
|
|
|
74
74
|
type TChartDemo = 'area' | 'bar' | 'donut' | 'gauge' | 'line' | 'radar';
|
|
75
75
|
const languages = [{ key: 'en', label: 'English' }, { key: 'de', label: 'Deutsch' }];
|
|
76
76
|
const descriptions = {
|
|
77
|
-
area: ['Activity over time', 'Follow a service through the latest sample. Drag across the plot to inspect a time range. Below, the host states throughput unrounded: hovering shows each value in full, while the axis keeps the width of its own labels.'],
|
|
77
|
+
area: ['Activity over time', 'Follow a service through the latest sample. Drag across the plot to inspect a time range. Below, the host states throughput unrounded: hovering shows each value in full, while the axis keeps the width of its own labels. Its terms stand beside the title, before the full-page button, and a note of the host\'s own sits under the plot, at the header\'s inset: the chart grows with it, its plot keeping 240 px.'],
|
|
78
78
|
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.'],
|
|
79
79
|
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.'],
|
|
80
80
|
gauge: ['Capacity', 'See used capacity against a defined range and warning thresholds.'],
|
|
@@ -175,7 +175,9 @@ export class DeesDemoChartWorkspace extends DeesElement {
|
|
|
175
175
|
<p slot="below" class="note">Left out: 0480 Office equipment and 1800 Private withdrawals, which are none of these parts.</p>
|
|
176
176
|
</dees-chart-bar>` : ''}
|
|
177
177
|
${this.kind === 'area' ? html`<dees-chart-area label="Requests per minute" .series=${this.empty ? [] : data.timeline} .yAxisFormatter=${(value: number) => `${Math.round(value)}k`} .legendStats=${['latest', 'min', 'max']} .chartLines=${[]} .rangeSelectionEnabled=${true}></dees-chart-area>
|
|
178
|
-
<dees-chart-area label="Network throughput" .series=${this.empty ? [] : data.throughput} .yAxisFormatter=${(value: number) => `${value} Mbit/s`} .legendStats=${['latest', 'max']}
|
|
178
|
+
<dees-chart-area class="withRows" label="Network throughput" meta="edge-1 · per minute" .series=${this.empty ? [] : data.throughput} .yAxisFormatter=${(value: number) => `${value} Mbit/s`} .legendStats=${['latest', 'max']}>
|
|
179
|
+
<p slot="below" class="note">Outbound leaves out the nightly backup to the offsite store, which runs on a link of its own.</p>
|
|
180
|
+
</dees-chart-area>` : ''}
|
|
179
181
|
${this.kind === 'donut' ? html`<dees-chart-donut label="Requests by region" .data=${this.empty ? [] : data.regions} .showLabels=${!this.alternate} .showLegend=${!this.secondary} .valueFormatter=${(value: number) => `${Math.round(value)}k`}></dees-chart-donut>
|
|
180
182
|
${this.renderSpending(data)}` : ''}
|
|
181
183
|
${this.kind === 'gauge' ? html`<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>` : ''}
|
|
@@ -126,6 +126,11 @@ declare global {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
/**
|
|
130
|
+
* A time series as filled areas, drawn by Lightweight Charts, in the frame every chart shares
|
|
131
|
+
* (`chartFrame`): `label` and `meta` in the tile's header bar, with the full-page button at its end,
|
|
132
|
+
* the host's rows in the slots `above` and `below` the plot, the legend in the footer bar.
|
|
133
|
+
*/
|
|
129
134
|
@customElement('dees-chart-area')
|
|
130
135
|
export class DeesChartArea extends DeesElement {
|
|
131
136
|
/** The element's words and formats, in the reader's language; read by its template module too. */
|
|
@@ -144,13 +149,21 @@ export class DeesChartArea extends DeesElement {
|
|
|
144
149
|
accessor isFullPage: boolean = false;
|
|
145
150
|
|
|
146
151
|
/**
|
|
147
|
-
* The chart's heading, in its tile's standard header bar
|
|
148
|
-
* header holds the button alone, as in a pane whose header names the
|
|
149
|
-
* alternative then starts with the catalog's `chart.untitled`.
|
|
152
|
+
* The chart's heading, in its tile's standard header bar before the full-page button. Empty, the
|
|
153
|
+
* header holds the button alone, or `meta` and the button, as in a pane whose header names the
|
|
154
|
+
* chart; its text alternative then starts with the catalog's `chart.untitled`.
|
|
150
155
|
*/
|
|
151
156
|
@property({ reflect: true })
|
|
152
157
|
accessor label: string = '';
|
|
153
158
|
|
|
159
|
+
/**
|
|
160
|
+
* A short text beside `label`, at the end of its line before the full-page button: what the
|
|
161
|
+
* chart covers or in which terms ("Last 24 hours · per minute"). Muted; where the header is too
|
|
162
|
+
* narrow for both it wraps under the label. `compact` draws neither.
|
|
163
|
+
*/
|
|
164
|
+
@property({ reflect: true })
|
|
165
|
+
accessor meta: string = '';
|
|
166
|
+
|
|
154
167
|
@property({ type: Array })
|
|
155
168
|
accessor series: ChartSeriesConfig = [];
|
|
156
169
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, cssManager } from '@design.estate/dees-element';
|
|
2
2
|
import { themeDefaultStyles } from '../../00theme.js';
|
|
3
|
-
import { chartFrameStyles, chartInsetStyles } from '../dees-chart-
|
|
3
|
+
import { chartFrameStyles, chartInsetStyles } from '../dees-chart-frame.js';
|
|
4
4
|
|
|
5
5
|
export const chartAreaStyles = [
|
|
6
6
|
themeDefaultStyles,
|
|
@@ -15,6 +15,11 @@ export const chartAreaStyles = [
|
|
|
15
15
|
.chartContainer {
|
|
16
16
|
margin: 12px max(0px, calc(var(--chart-inset-inline, 16px) - 16px)) 8px var(--chart-inset-inline, 16px);
|
|
17
17
|
}
|
|
18
|
+
/* The full-page action, at the header bar's end. */
|
|
19
|
+
.expandBtn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-inline-start: auto; width: 28px; height: 28px; border: 0; border-radius: var(--dees-radius-md); background: transparent; color: var(--dees-color-text-secondary); cursor: pointer; padding: 0; }
|
|
20
|
+
.expandBtn:focus-visible { outline: var(--dees-line-width-focus-ring) solid var(--dees-color-focus-ring); outline-offset: 2px; }
|
|
21
|
+
@media (hover: hover) { .expandBtn:hover { background: var(--dees-color-hover); } }
|
|
22
|
+
@media (pointer: coarse) { .expandBtn { width: var(--dees-control-height-touch); height: var(--dees-control-height-touch); } }
|
|
18
23
|
/* compact also drops the content divider; its frame goes through the tile's frameless mode. */
|
|
19
24
|
:host([compact]) dees-tile::part(content) { border: 0; }
|
|
20
25
|
:host([compact]) .chartContainer { margin: 4px 0 0; }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { html, type TemplateResult } from '@design.estate/dees-element';
|
|
2
2
|
import type { DeesChartArea } from './component.js';
|
|
3
|
+
import { chartFrame } from '../dees-chart-frame.js';
|
|
3
4
|
import '../../00group-utility/dees-icon/dees-icon.js';
|
|
4
5
|
import '../dees-legend/dees-legend.js';
|
|
5
6
|
import type { IDeesLegendItem } from '../dees-legend/dees-legend.js';
|
|
@@ -12,35 +13,30 @@ const statWords = {
|
|
|
12
13
|
} as const;
|
|
13
14
|
|
|
14
15
|
export const renderChartArea = (component: DeesChartArea): TemplateResult => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}))}></dees-legend>
|
|
42
|
-
</div>
|
|
43
|
-
` : ''}
|
|
44
|
-
</dees-tile>
|
|
45
|
-
`;
|
|
16
|
+
return chartFrame(component, {
|
|
17
|
+
label: component.compact ? '' : component.label,
|
|
18
|
+
meta: component.compact ? '' : component.meta,
|
|
19
|
+
frameless: component.frameless || component.compact,
|
|
20
|
+
headerTools: component.compact
|
|
21
|
+
? undefined
|
|
22
|
+
: html`<button type="button" aria-label=${component.t(component.isFullPage ? 'chartarea.exitFullPage' : 'chartarea.expand')} class="expandBtn" @click=${() => component.toggleFullPage()} title=${component.t(component.isFullPage ? 'chartarea.exitFullPage' : 'chartarea.fullPage')}>
|
|
23
|
+
<dees-icon .icon=${component.isFullPage ? 'lucide:Minimize2' : 'lucide:Maximize2'} .iconSize=${14}></dees-icon>
|
|
24
|
+
</button>`,
|
|
25
|
+
plot: html`<div class="chartContainer" aria-hidden="true">
|
|
26
|
+
<div class="rangeSelectionOverlay"></div>
|
|
27
|
+
</div>`,
|
|
28
|
+
state: component.chartSeries.some(series => series.data.some(point => point.y !== null))
|
|
29
|
+
? undefined
|
|
30
|
+
: component.t('chart.noData'),
|
|
31
|
+
summary: component.summaryText,
|
|
32
|
+
footer: component.seriesStats.length > 0 && !component.hideLegend && !component.compact
|
|
33
|
+
? html`<dees-legend label=${component.t('chart.series')} .items=${component.seriesStats.map((s): IDeesLegendItem => ({
|
|
34
|
+
label: s.name,
|
|
35
|
+
color: s.color,
|
|
36
|
+
values: component.legendStats
|
|
37
|
+
.filter(key => key === 'latest' || key === 'min' || key === 'max' || key === 'avg')
|
|
38
|
+
.map(key => ({ caption: component.t(statWords[key]), value: s[key] === null ? '—' : component.yAxisFormatter(s[key]) })),
|
|
39
|
+
}))}></dees-legend>`
|
|
40
|
+
: undefined,
|
|
41
|
+
});
|
|
46
42
|
};
|
|
@@ -10,7 +10,7 @@ import * as domtools from '@design.estate/dees-domtools';
|
|
|
10
10
|
import { DeesServiceLibLoader, type IEchartsBundle, type IEchartsInstance } from '../../services/index.js';
|
|
11
11
|
import { reducedMotionQuery } from '../00motion.js';
|
|
12
12
|
import { getEchartsThemeOptions } from './dees-chart-echarts-theme.js';
|
|
13
|
-
import '
|
|
13
|
+
import { chartFrame } from './dees-chart-frame.js';
|
|
14
14
|
import './dees-legend/dees-legend.js';
|
|
15
15
|
import type { IDeesLegendItem, IDeesLegendToggleDetail } from './dees-legend/dees-legend.js';
|
|
16
16
|
import { dcLocalize } from '../../i18n/localize.js';
|
|
@@ -25,7 +25,8 @@ import { dcLocalize } from '../../i18n/localize.js';
|
|
|
25
25
|
* standard footer bar. Rows of the host's own about the chart (a notice, what the chart leaves out,
|
|
26
26
|
* figures it does not end on) go into the slots `above` and `below`, over and under the plot: at
|
|
27
27
|
* the tile's inset, the header's, with the legend still the tile's last row at its full width. A
|
|
28
|
-
* host so needs no tile of its own around a chart: the chart is the tile.
|
|
28
|
+
* host so needs no tile of its own around a chart: the chart is the tile. The frame is
|
|
29
|
+
* `chartFrame`, which `dees-chart-area` and `dees-chart-log` draw in as well. One header per tile: a
|
|
29
30
|
* chart in a pane that heads it already hands its title to the pane's header and leaves `label`
|
|
30
31
|
* and `meta` empty, and then draws no header row of its own; `summary` still names it to a screen
|
|
31
32
|
* reader.
|
|
@@ -155,33 +156,19 @@ export abstract class DeesChartEchartsBase extends DeesElement {
|
|
|
155
156
|
values: item.value === undefined ? undefined : [{ value: item.value }],
|
|
156
157
|
off: !this.legendShown(item.name),
|
|
157
158
|
}));
|
|
158
|
-
return
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
</div>
|
|
167
|
-
${this.renderRows('below')}
|
|
168
|
-
<p class="chartSummary">${this.summary || this.dataSummary()}</p>
|
|
169
|
-
${legend.length ? html`<div slot="footer" class="chartLegend"><dees-legend interactive label=${this.t('chart.series')} .items=${legend} @item-toggle=${(event: CustomEvent<IDeesLegendToggleDetail>) => {
|
|
159
|
+
return chartFrame(this, {
|
|
160
|
+
label: this.label,
|
|
161
|
+
meta: this.meta,
|
|
162
|
+
frameless: this.frameless,
|
|
163
|
+
plot: html`<div class="chartContainer" aria-hidden="true"><div class="chartPlot"></div></div>`,
|
|
164
|
+
state: message,
|
|
165
|
+
summary: this.summary || this.dataSummary(),
|
|
166
|
+
footer: legend.length ? html`<dees-legend interactive label=${this.t('chart.series')} .items=${legend} @item-toggle=${(event: CustomEvent<IDeesLegendToggleDetail>) => {
|
|
170
167
|
const hidden = new Set(this.hiddenSeries);
|
|
171
168
|
if (event.detail.on) hidden.delete(event.detail.item.label); else hidden.add(event.detail.item.label);
|
|
172
169
|
this.hiddenSeries = hidden; this.updateChart();
|
|
173
|
-
}}></dees-legend
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* The host's rows over or under the plot, from the slot `above` or `below`; no row, and no room,
|
|
179
|
-
* while nothing is slotted there. Read from the light DOM as each render runs, so the first frame
|
|
180
|
-
* already has them; a `slotchange` renders again.
|
|
181
|
-
*/
|
|
182
|
-
private renderRows(placeArg: 'above' | 'below'): TemplateResult {
|
|
183
|
-
const slotted = this.querySelector(`:scope > [slot="${placeArg}"]`) !== null;
|
|
184
|
-
return html`<div class="chartRows ${placeArg} ${slotted ? '' : 'empty'}"><slot name=${placeArg} @slotchange=${() => this.requestUpdate()}></slot></div>`;
|
|
170
|
+
}}></dees-legend>` : undefined,
|
|
171
|
+
});
|
|
185
172
|
}
|
|
186
173
|
|
|
187
174
|
public async updated(changedProperties: Map<PropertyKey, unknown>) {
|
|
@@ -1,53 +1,13 @@
|
|
|
1
1
|
import { css, cssManager } from '@design.estate/dees-element';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { tileFooterBar, tileHeaderBar } from '../00tilebar.js';
|
|
2
|
+
import { themeDefaultStyles } from '../00theme.js';
|
|
3
|
+
import { chartFrameStyles, chartInsetStyles } from './dees-chart-frame.js';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
|
-
* The region inset: `--chart-inset-inline` while frameless, unset otherwise. The chart hands it
|
|
8
|
-
* on to its tile, whose header and footer bars, the chart's title and legend, pad to it.
|
|
9
|
-
*/
|
|
10
|
-
export const chartInsetStyles = insetInlineStyles('--chart-inset-inline');
|
|
11
|
-
|
|
12
|
-
/** Shared frame for canvas and SVG chart engines. Include `chartInsetStyles` before it. */
|
|
13
|
-
export const chartFrameStyles = css`
|
|
14
|
-
:host { display: block; height: 400px; min-width: 0; font: 13px/1.5 var(--dees-font-family); color: var(--dees-color-text-primary); }
|
|
15
|
-
dees-tile { height: 100%; min-width: 0; }
|
|
16
|
-
/* The title and the legend are the tile's standard bars, as tall as any tile's, at the tile's
|
|
17
|
-
inset: the tile gets the region inset, and what the chart slots into it resets it. */
|
|
18
|
-
:host > dees-tile { --dees-inset-inline: var(--chart-inset-inline); }
|
|
19
|
-
:host > dees-tile > * { --dees-inset-inline: initial; }
|
|
20
|
-
dees-tile::part(outer) { border-color: var(--dees-color-border-subtle); }
|
|
21
|
-
.chartHeader { ${tileHeaderBar} }
|
|
22
|
-
.chartLabel { flex: 1; min-width: 0; margin: 0; font: inherit; overflow-wrap: anywhere; }
|
|
23
|
-
/* The meta text at the end of the header's line, muted as a table's subtitle; where the tile is
|
|
24
|
-
too narrow for both it wraps under the title, at its start, and the bar grows by that line. */
|
|
25
|
-
.chartHeader.hasMeta { flex-wrap: wrap; gap: var(--dees-spacing-2xs) var(--dees-spacing-md); }
|
|
26
|
-
.chartHeader.hasMeta .chartLabel { flex: 1 1 auto; }
|
|
27
|
-
.chartMeta { min-width: 0; color: var(--dees-color-text-muted); font-weight: 400; overflow-wrap: anywhere; }
|
|
28
|
-
.chartLegend { ${tileFooterBar} }
|
|
29
|
-
.chartContainer { position: absolute; inset: 0; }
|
|
30
|
-
.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); }
|
|
31
|
-
.chartSummary { ${visuallyHidden} }
|
|
32
|
-
.expandBtn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-inline-start: auto; width: 28px; height: 28px; border: 0; border-radius: var(--dees-radius-md); background: transparent; color: var(--dees-color-text-secondary); cursor: pointer; padding: 0; }
|
|
33
|
-
.expandBtn:focus-visible { outline: var(--dees-line-width-focus-ring) solid var(--dees-color-focus-ring); outline-offset: 2px; }
|
|
34
|
-
@media (hover: hover) { .expandBtn:hover { background: var(--dees-color-hover); } }
|
|
35
|
-
@media (pointer: coarse) { .expandBtn { width: var(--dees-control-height-touch); height: var(--dees-control-height-touch); } }
|
|
36
|
-
`;
|
|
37
|
-
/**
|
|
38
|
-
* The tile's content is a column: the host's rows above, the plot, the host's rows below. The rows
|
|
39
|
-
* keep their height and sit at the tile's inset, the header's; the plot takes the rest of the
|
|
40
|
-
* host's height, or, while the host's height is `auto`, `--dees-chart-plot-height`.
|
|
41
|
-
*
|
|
42
6
|
* The element ECharts draws into fills the plot's frame, whatever position ECharts writes on it.
|
|
43
7
|
* ECharts insets its plot by 16px itself; under a region inset the frame adds the rest, so axes
|
|
44
8
|
* and labels line up with the header.
|
|
45
9
|
*/
|
|
46
10
|
const echartsPlotStyles = css`
|
|
47
|
-
dees-tile::part(content) { display: flex; flex-direction: column; }
|
|
48
|
-
.chartArea { position: relative; flex: 1 1 var(--dees-chart-plot-height, 320px); min-height: 0; }
|
|
49
|
-
.chartRows { flex: none; display: flex; flex-direction: column; gap: var(--dees-spacing-md); padding: var(--dees-spacing-md) var(--chart-inset-inline, var(--dees-spacing-lg)); }
|
|
50
|
-
.chartRows.empty { display: none; }
|
|
51
11
|
.chartContainer { inset-inline: calc(var(--chart-inset-inline, 16px) - 16px); }
|
|
52
12
|
.chartPlot { width: 100%; height: 100%; }
|
|
53
13
|
`;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { css, html, type DeesElement, type TemplateResult } from '@design.estate/dees-element';
|
|
2
|
+
import { insetInlineStyles } from '../00theme.js';
|
|
3
|
+
import { visuallyHidden } from '../00visuallyhidden.js';
|
|
4
|
+
import { tileFooterBar, tileHeaderBar } from '../00tilebar.js';
|
|
5
|
+
import '../00group-layout/dees-tile/dees-tile.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The region inset: `--chart-inset-inline` while frameless, unset otherwise. The chart hands it
|
|
9
|
+
* on to its tile, whose header and footer bars, the chart's title and legend, pad to it.
|
|
10
|
+
*/
|
|
11
|
+
export const chartInsetStyles = insetInlineStyles('--chart-inset-inline');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The frame every chart draws in, whatever draws its plot: ECharts, Lightweight Charts, a
|
|
15
|
+
* terminal. Include `chartInsetStyles` before it.
|
|
16
|
+
*
|
|
17
|
+
* The tile's content is a column: the host's rows above, the plot, the host's rows below. The rows
|
|
18
|
+
* keep their height and sit at the tile's inset, the header's; the plot takes the rest of the
|
|
19
|
+
* host's height, or, while the host's height is `auto`, `--dees-chart-plot-height`.
|
|
20
|
+
*/
|
|
21
|
+
export const chartFrameStyles = css`
|
|
22
|
+
:host { display: block; height: 400px; min-width: 0; font: 13px/1.5 var(--dees-font-family); color: var(--dees-color-text-primary); }
|
|
23
|
+
dees-tile { height: 100%; min-width: 0; }
|
|
24
|
+
/* The title and the legend are the tile's standard bars, as tall as any tile's, at the tile's
|
|
25
|
+
inset: the tile gets the region inset, and what the chart slots into it resets it. */
|
|
26
|
+
:host > dees-tile { --dees-inset-inline: var(--chart-inset-inline); }
|
|
27
|
+
:host > dees-tile > * { --dees-inset-inline: initial; }
|
|
28
|
+
dees-tile::part(outer) { border-color: var(--dees-color-border-subtle); }
|
|
29
|
+
.chartHeader { ${tileHeaderBar} }
|
|
30
|
+
/* The label, and the meta text at the end of its line, muted as a table's subtitle; where the
|
|
31
|
+
heading is too narrow for both the meta wraps under the label, at its start, and the bar grows
|
|
32
|
+
by that line. Controls of the chart's own follow the heading, at the bar's end. */
|
|
33
|
+
.chartHeading { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--dees-spacing-2xs) var(--dees-spacing-md); }
|
|
34
|
+
.chartLabel { flex: 1 1 auto; min-width: 0; margin: 0; font: inherit; overflow-wrap: anywhere; }
|
|
35
|
+
.chartMeta { min-width: 0; color: var(--dees-color-text-muted); font-weight: 400; overflow-wrap: anywhere; }
|
|
36
|
+
.chartLegend { ${tileFooterBar} }
|
|
37
|
+
dees-tile::part(content) { display: flex; flex-direction: column; }
|
|
38
|
+
.chartRows { flex: none; display: flex; flex-direction: column; gap: var(--dees-spacing-md); padding: var(--dees-spacing-md) var(--chart-inset-inline, var(--dees-spacing-lg)); }
|
|
39
|
+
.chartRows.empty { display: none; }
|
|
40
|
+
.chartArea { position: relative; flex: 1 1 var(--dees-chart-plot-height, 320px); min-height: 0; }
|
|
41
|
+
.chartContainer { position: absolute; inset: 0; }
|
|
42
|
+
.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); }
|
|
43
|
+
.chartSummary { ${visuallyHidden} }
|
|
44
|
+
`;
|
|
45
|
+
|
|
46
|
+
/** What a chart puts into its frame; see `chartFrame`. */
|
|
47
|
+
export interface IChartFrameContent {
|
|
48
|
+
/** The heading, in the header bar. */
|
|
49
|
+
label: string;
|
|
50
|
+
/** The muted text at the end of the heading's line. */
|
|
51
|
+
meta: string;
|
|
52
|
+
frameless: boolean;
|
|
53
|
+
/** Controls of the chart's own, in the header bar after the heading: a full-page button, a search. */
|
|
54
|
+
headerTools?: TemplateResult;
|
|
55
|
+
/** What the chart draws into; it fills `.chartArea`, which is positioned. */
|
|
56
|
+
plot: TemplateResult;
|
|
57
|
+
/** A message in place of the plot: loading, an error, no data. */
|
|
58
|
+
state?: string;
|
|
59
|
+
/** The text alternative, which a screen reader reads in place of the drawing. */
|
|
60
|
+
summary?: string;
|
|
61
|
+
/** The footer bar's content: the legend, figures about the chart. */
|
|
62
|
+
footer?: TemplateResult;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The host's rows over or under the plot, from the slot `above` or `below`; no row, and no room,
|
|
67
|
+
* while nothing is slotted there. Read from the light DOM as each render runs, so the first frame
|
|
68
|
+
* already has them; a `slotchange` renders again.
|
|
69
|
+
*/
|
|
70
|
+
const chartRows = (hostArg: DeesElement, placeArg: 'above' | 'below'): TemplateResult => {
|
|
71
|
+
const slotted = hostArg.querySelector(`:scope > [slot="${placeArg}"]`) !== null;
|
|
72
|
+
return html`<div class="chartRows ${placeArg} ${slotted ? '' : 'empty'}"><slot name=${placeArg} @slotchange=${() => hostArg.requestUpdate()}></slot></div>`;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* A chart's tile (`dees-tile`): the label, with the meta at its end, and the chart's controls in
|
|
77
|
+
* the standard header bar; the host's rows `above` and `below` the plot; the footer bar. Without a
|
|
78
|
+
* label, a meta or controls the tile draws no header row; without a footer, no footer row. Render
|
|
79
|
+
* it from the host, with `chartFrameStyles` in the host's styles.
|
|
80
|
+
*/
|
|
81
|
+
export const chartFrame = (hostArg: DeesElement, contentArg: IChartFrameContent): TemplateResult => {
|
|
82
|
+
const heading = contentArg.label || contentArg.meta
|
|
83
|
+
? html`<div class="chartHeading">${contentArg.label
|
|
84
|
+
? html`<h2 class="chartLabel">${contentArg.label}</h2>`
|
|
85
|
+
: ''}${contentArg.meta ? html`<span class="chartMeta">${contentArg.meta}</span>` : ''}</div>`
|
|
86
|
+
: '';
|
|
87
|
+
return html`<dees-tile .frameless=${contentArg.frameless}>
|
|
88
|
+
${heading || contentArg.headerTools
|
|
89
|
+
? html`<div slot="header" class="chartHeader">${heading}${contentArg.headerTools ?? ''}</div>`
|
|
90
|
+
: ''}
|
|
91
|
+
${chartRows(hostArg, 'above')}
|
|
92
|
+
<div class="chartArea">
|
|
93
|
+
${contentArg.plot}
|
|
94
|
+
${contentArg.state ? html`<div class="chartState" role="status">${contentArg.state}</div>` : ''}
|
|
95
|
+
</div>
|
|
96
|
+
${chartRows(hostArg, 'below')}
|
|
97
|
+
${contentArg.summary === undefined ? '' : html`<p class="chartSummary">${contentArg.summary}</p>`}
|
|
98
|
+
${contentArg.footer ? html`<div slot="footer" class="chartLegend">${contentArg.footer}</div>` : ''}
|
|
99
|
+
</dees-tile>`;
|
|
100
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { html, css, cssManager } from '@design.estate/dees-element';
|
|
2
2
|
import type { DeesChartLog } from '../dees-chart-log/dees-chart-log.js';
|
|
3
3
|
import '@design.estate/dees-element/demotools';
|
|
4
|
+
import '../../00group-feedback/dees-hint/dees-hint.js';
|
|
4
5
|
|
|
5
6
|
export const demoFunc = () => {
|
|
6
7
|
return html`
|
|
@@ -239,6 +240,7 @@ export const demoFunc = () => {
|
|
|
239
240
|
<div class="section-title">Structured Logs (ILogEntry)</div>
|
|
240
241
|
<div class="section-description">
|
|
241
242
|
Structured log entries with level, message, and source. Supports search and keyword highlighting.
|
|
243
|
+
The log states its source beside the title, and a notice of the host's own sits over the terminal.
|
|
242
244
|
</div>
|
|
243
245
|
<div class="controls">
|
|
244
246
|
<dees-button>Add Structured Log</dees-button>
|
|
@@ -248,9 +250,12 @@ export const demoFunc = () => {
|
|
|
248
250
|
<dees-chart-log
|
|
249
251
|
id="structured-log"
|
|
250
252
|
.label=${'Production Server Logs'}
|
|
253
|
+
.meta=${'api-7f9c · eu-central'}
|
|
251
254
|
.highlightKeywords=${['error', 'failed', 'timeout']}
|
|
252
255
|
.showMetrics=${true}
|
|
253
|
-
|
|
256
|
+
>
|
|
257
|
+
<dees-hint slot="above" text="Debug entries are sampled: the server keeps one in ten."></dees-hint>
|
|
258
|
+
</dees-chart-log>
|
|
254
259
|
</div>
|
|
255
260
|
|
|
256
261
|
<!-- Raw Logs Section -->
|