mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-11 20:10:24 +00:00
Compare commits
12 Commits
copilot/fi
...
renovate/n
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
624a2b81d3 | ||
|
|
2107b7c267 | ||
|
|
1c05afebd7 | ||
|
|
7179bb2d26 | ||
|
|
95cf1fdcf7 | ||
|
|
9617956cc6 | ||
|
|
65df464731 | ||
|
|
bd4e9a3d05 | ||
|
|
963fc13a99 | ||
|
|
ff614918d4 | ||
|
|
48aa5fb970 | ||
|
|
190af65756 |
10
package.json
10
package.json
@@ -89,8 +89,8 @@
|
||||
"@thomasloven/round-slider": "0.6.0",
|
||||
"@tsparticles/engine": "3.9.1",
|
||||
"@tsparticles/preset-links": "3.2.0",
|
||||
"@vaadin/combo-box": "24.9.4",
|
||||
"@vaadin/vaadin-themable-mixin": "24.9.4",
|
||||
"@vaadin/combo-box": "24.9.5",
|
||||
"@vaadin/vaadin-themable-mixin": "24.9.5",
|
||||
"@vibrant/color": "4.0.0",
|
||||
"@vue/web-component-wrapper": "1.3.0",
|
||||
"@webcomponents/scoped-custom-element-registry": "0.0.10",
|
||||
@@ -178,7 +178,7 @@
|
||||
"@types/tar": "6.1.13",
|
||||
"@types/ua-parser-js": "0.7.39",
|
||||
"@types/webspeechapi": "0.0.29",
|
||||
"@vitest/coverage-v8": "4.0.7",
|
||||
"@vitest/coverage-v8": "4.0.8",
|
||||
"babel-loader": "10.0.0",
|
||||
"babel-plugin-template-html-minifier": "4.1.0",
|
||||
"browserslist-useragent-regexp": "4.1.3",
|
||||
@@ -219,7 +219,7 @@
|
||||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "8.46.3",
|
||||
"vite-tsconfig-paths": "5.1.4",
|
||||
"vitest": "4.0.7",
|
||||
"vitest": "4.0.8",
|
||||
"webpack-stats-plugin": "1.1.3",
|
||||
"webpackbar": "7.0.0",
|
||||
"workbox-build": "patch:workbox-build@npm%3A7.1.1#~/.yarn/patches/workbox-build-npm-7.1.1-a854f3faae.patch"
|
||||
@@ -237,6 +237,6 @@
|
||||
},
|
||||
"packageManager": "yarn@4.10.3",
|
||||
"volta": {
|
||||
"node": "22.21.1"
|
||||
"node": "24.11.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,8 +119,8 @@ type Thresholds = Record<
|
||||
>;
|
||||
|
||||
export const DEFAULT_THRESHOLDS: Thresholds = {
|
||||
second: 45, // seconds to minute
|
||||
minute: 45, // minutes to hour
|
||||
second: 59, // seconds to minute
|
||||
minute: 59, // minutes to hour
|
||||
hour: 22, // hour to day
|
||||
day: 5, // day to week
|
||||
week: 4, // week to months
|
||||
|
||||
@@ -6,7 +6,8 @@ export function downSampleLineData<
|
||||
data: T[] | undefined,
|
||||
maxDetails: number,
|
||||
minX?: number,
|
||||
maxX?: number
|
||||
maxX?: number,
|
||||
useMean = false
|
||||
): T[] {
|
||||
if (!data) {
|
||||
return [];
|
||||
@@ -17,15 +18,13 @@ export function downSampleLineData<
|
||||
const min = minX ?? getPointData(data[0]!)[0];
|
||||
const max = maxX ?? getPointData(data[data.length - 1]!)[0];
|
||||
const step = Math.ceil((max - min) / Math.floor(maxDetails));
|
||||
const frames = new Map<
|
||||
number,
|
||||
{
|
||||
min: { point: (typeof data)[number]; x: number; y: number };
|
||||
max: { point: (typeof data)[number]; x: number; y: number };
|
||||
}
|
||||
>();
|
||||
|
||||
// Group points into frames
|
||||
const frames = new Map<
|
||||
number,
|
||||
{ point: (typeof data)[number]; x: number; y: number }[]
|
||||
>();
|
||||
|
||||
for (const point of data) {
|
||||
const pointData = getPointData(point);
|
||||
if (!Array.isArray(pointData)) continue;
|
||||
@@ -36,28 +35,53 @@ export function downSampleLineData<
|
||||
const frameIndex = Math.floor((x - min) / step);
|
||||
const frame = frames.get(frameIndex);
|
||||
if (!frame) {
|
||||
frames.set(frameIndex, { min: { point, x, y }, max: { point, x, y } });
|
||||
frames.set(frameIndex, [{ point, x, y }]);
|
||||
} else {
|
||||
if (frame.min.y > y) {
|
||||
frame.min = { point, x, y };
|
||||
}
|
||||
if (frame.max.y < y) {
|
||||
frame.max = { point, x, y };
|
||||
}
|
||||
frame.push({ point, x, y });
|
||||
}
|
||||
}
|
||||
|
||||
// Convert frames back to points
|
||||
const result: T[] = [];
|
||||
for (const [_i, frame] of frames) {
|
||||
// Use min/max points to preserve visual accuracy
|
||||
// The order of the data must be preserved so max may be before min
|
||||
if (frame.min.x > frame.max.x) {
|
||||
result.push(frame.max.point);
|
||||
|
||||
if (useMean) {
|
||||
// Use mean values for each frame
|
||||
for (const [_i, framePoints] of frames) {
|
||||
const sumY = framePoints.reduce((acc, p) => acc + p.y, 0);
|
||||
const meanY = sumY / framePoints.length;
|
||||
const sumX = framePoints.reduce((acc, p) => acc + p.x, 0);
|
||||
const meanX = sumX / framePoints.length;
|
||||
|
||||
const firstPoint = framePoints[0].point;
|
||||
const pointData = getPointData(firstPoint);
|
||||
const meanPoint = (
|
||||
Array.isArray(pointData) ? [meanX, meanY] : { value: [meanX, meanY] }
|
||||
) as T;
|
||||
result.push(meanPoint);
|
||||
}
|
||||
result.push(frame.min.point);
|
||||
if (frame.min.x < frame.max.x) {
|
||||
result.push(frame.max.point);
|
||||
} else {
|
||||
// Use min/max values for each frame
|
||||
for (const [_i, framePoints] of frames) {
|
||||
let minPoint = framePoints[0];
|
||||
let maxPoint = framePoints[0];
|
||||
|
||||
for (const p of framePoints) {
|
||||
if (p.y < minPoint.y) {
|
||||
minPoint = p;
|
||||
}
|
||||
if (p.y > maxPoint.y) {
|
||||
maxPoint = p;
|
||||
}
|
||||
}
|
||||
|
||||
// The order of the data must be preserved so max may be before min
|
||||
if (minPoint.x > maxPoint.x) {
|
||||
result.push(maxPoint.point);
|
||||
}
|
||||
result.push(minPoint.point);
|
||||
if (minPoint.x < maxPoint.x) {
|
||||
result.push(maxPoint.point);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -427,6 +427,7 @@ export class HaChartBase extends LitElement {
|
||||
...axis.axisPointer?.handle,
|
||||
show: true,
|
||||
},
|
||||
label: { show: false },
|
||||
},
|
||||
}
|
||||
: axis
|
||||
|
||||
@@ -62,6 +62,7 @@ class HaDataTableLabels extends LitElement {
|
||||
@click=${clickAction ? this._labelClicked : undefined}
|
||||
@keydown=${clickAction ? this._labelClicked : undefined}
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label?.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
|
||||
@@ -109,7 +109,10 @@ export class HaFilterLabels extends SubscribeMixin(LitElement) {
|
||||
.selected=${(this.value || []).includes(label.label_id)}
|
||||
hasMeta
|
||||
>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon
|
||||
slot="icon"
|
||||
|
||||
@@ -1,17 +1,32 @@
|
||||
import type { CSSResultGroup, TemplateResult } from "lit";
|
||||
import { css, html, LitElement } from "lit";
|
||||
import { customElement, property } from "lit/decorators";
|
||||
import { uid } from "../common/util/uid";
|
||||
import "./ha-tooltip";
|
||||
|
||||
@customElement("ha-label")
|
||||
class HaLabel extends LitElement {
|
||||
@property({ type: Boolean, reflect: true }) dense = false;
|
||||
|
||||
@property({ attribute: "description" })
|
||||
public description?: string;
|
||||
|
||||
private _elementId = "label-" + uid();
|
||||
|
||||
protected render(): TemplateResult {
|
||||
return html`
|
||||
<span class="content">
|
||||
<slot name="icon"></slot>
|
||||
<slot></slot>
|
||||
</span>
|
||||
<ha-tooltip
|
||||
.for=${this._elementId}
|
||||
.disabled=${!this.description?.trim()}
|
||||
>
|
||||
${this.description}
|
||||
</ha-tooltip>
|
||||
<div class="container" .id=${this._elementId}>
|
||||
<span class="content">
|
||||
<slot name="icon"></slot>
|
||||
<slot></slot>
|
||||
</span>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
@@ -36,9 +51,7 @@ class HaLabel extends LitElement {
|
||||
font-weight: var(--ha-font-weight-medium);
|
||||
line-height: var(--ha-line-height-condensed);
|
||||
letter-spacing: 0.1px;
|
||||
vertical-align: middle;
|
||||
height: 32px;
|
||||
padding: 0 16px;
|
||||
border-radius: var(--ha-border-radius-xl);
|
||||
color: var(--ha-label-text-color);
|
||||
--mdc-icon-size: 12px;
|
||||
@@ -66,15 +79,24 @@ class HaLabel extends LitElement {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
:host([dense]) {
|
||||
height: 20px;
|
||||
padding: 0 12px;
|
||||
border-radius: var(--ha-border-radius-md);
|
||||
}
|
||||
:host([dense]) .container {
|
||||
padding: 0 12px;
|
||||
}
|
||||
:host([dense]) ::slotted([slot="icon"]) {
|
||||
margin-right: 4px;
|
||||
margin-left: -4px;
|
||||
|
||||
@@ -21,6 +21,7 @@ import "./chips/ha-input-chip";
|
||||
import type { HaDevicePickerDeviceFilterFunc } from "./device/ha-device-picker";
|
||||
import "./ha-label-picker";
|
||||
import type { HaLabelPicker } from "./ha-label-picker";
|
||||
import "./ha-tooltip";
|
||||
|
||||
@customElement("ha-labels-picker")
|
||||
export class HaLabelsPicker extends SubscribeMixin(LitElement) {
|
||||
@@ -142,9 +143,17 @@ export class HaLabelsPicker extends SubscribeMixin(LitElement) {
|
||||
const color = label?.color
|
||||
? computeCssColor(label.color)
|
||||
: undefined;
|
||||
const elementId = "label-" + label.label_id;
|
||||
return html`
|
||||
<ha-tooltip
|
||||
.for=${elementId}
|
||||
.disabled=${!label?.description?.trim()}
|
||||
>
|
||||
${label?.description}
|
||||
</ha-tooltip>
|
||||
<ha-input-chip
|
||||
.item=${label}
|
||||
.id=${elementId}
|
||||
@remove=${this._removeItem}
|
||||
@click=${this._openDetail}
|
||||
.disabled=${this.disabled}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { ListItemEl } from "@material/web/list/internal/listitem/list-item";
|
||||
import { styles } from "@material/web/list/internal/listitem/list-item-styles";
|
||||
import { css } from "lit";
|
||||
import { css, html, nothing, type TemplateResult } from "lit";
|
||||
import { customElement } from "lit/decorators";
|
||||
import "./ha-ripple";
|
||||
|
||||
export const haMdListStyles = [
|
||||
styles,
|
||||
@@ -25,6 +26,18 @@ export const haMdListStyles = [
|
||||
@customElement("ha-md-list-item")
|
||||
export class HaMdListItem extends ListItemEl {
|
||||
static override styles = haMdListStyles;
|
||||
|
||||
protected renderRipple(): TemplateResult | typeof nothing {
|
||||
if (this.type === "text") {
|
||||
return nothing;
|
||||
}
|
||||
|
||||
return html`<ha-ripple
|
||||
part="ripple"
|
||||
for="item"
|
||||
?disabled=${this.disabled && this.type !== "link"}
|
||||
></ha-ripple>`;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@@ -158,7 +158,8 @@ export const computePanels = memoizeOne(
|
||||
if (
|
||||
hiddenPanels.includes(panel.url_path) ||
|
||||
(!panel.title && panel.url_path !== defaultPanel) ||
|
||||
(!panel.default_visible && !panelsOrder.includes(panel.url_path))
|
||||
(panel.default_visible === false &&
|
||||
!panelsOrder.includes(panel.url_path))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -545,7 +545,7 @@ export class HaTargetPickerItemRow extends LitElement {
|
||||
name: entityName || deviceName || item,
|
||||
context,
|
||||
stateObject,
|
||||
notFound: !stateObject && item !== "all",
|
||||
notFound: !stateObject && item !== "all" && item !== "none",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ class DialogEditSidebar extends LitElement {
|
||||
// Add default hidden panels that are missing in hidden
|
||||
for (const panel of panels) {
|
||||
if (
|
||||
!panel.default_visible &&
|
||||
panel.default_visible === false &&
|
||||
!this._order.includes(panel.url_path) &&
|
||||
!this._hidden.includes(panel.url_path)
|
||||
) {
|
||||
|
||||
@@ -452,7 +452,10 @@ class HaAutomationPicker extends SubscribeMixin(LitElement) {
|
||||
.indeterminate=${partial}
|
||||
reducedTouchTarget
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -771,7 +771,10 @@ export class HaConfigDeviceDashboard extends SubscribeMixin(LitElement) {
|
||||
.indeterminate=${partial}
|
||||
reducedTouchTarget
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -792,7 +792,10 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) {
|
||||
.indeterminate=${partial}
|
||||
reducedTouchTarget
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -634,7 +634,10 @@ export class HaConfigHelpers extends SubscribeMixin(LitElement) {
|
||||
.indeterminate=${partial}
|
||||
reducedTouchTarget
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -473,7 +473,10 @@ class HaSceneDashboard extends SubscribeMixin(LitElement) {
|
||||
.indeterminate=${partial}
|
||||
reducedTouchTarget
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -458,7 +458,10 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
|
||||
.checked=${selected}
|
||||
.indeterminate=${partial}
|
||||
></ha-checkbox>
|
||||
<ha-label style=${color ? `--color: ${color}` : ""}>
|
||||
<ha-label
|
||||
style=${color ? `--color: ${color}` : ""}
|
||||
.description=${label.description}
|
||||
>
|
||||
${label.icon
|
||||
? html`<ha-icon slot="icon" .icon=${label.icon}></ha-icon>`
|
||||
: nothing}
|
||||
|
||||
@@ -50,7 +50,8 @@ export const coordinates = (
|
||||
width: number,
|
||||
height: number,
|
||||
maxDetails: number,
|
||||
limits?: { minX?: number; maxX?: number; minY?: number; maxY?: number }
|
||||
limits?: { minX?: number; maxX?: number; minY?: number; maxY?: number },
|
||||
useMean = false
|
||||
) => {
|
||||
history = history.filter((item) => !Number.isNaN(item[1]));
|
||||
|
||||
@@ -58,7 +59,8 @@ export const coordinates = (
|
||||
history,
|
||||
maxDetails,
|
||||
limits?.minX,
|
||||
limits?.maxX
|
||||
limits?.maxX,
|
||||
useMean
|
||||
);
|
||||
return calcPoints(sampledData, width, height, limits);
|
||||
};
|
||||
@@ -68,7 +70,8 @@ export const coordinatesMinimalResponseCompressedState = (
|
||||
width: number,
|
||||
height: number,
|
||||
maxDetails: number,
|
||||
limits?: { minX?: number; maxX?: number; minY?: number; maxY?: number }
|
||||
limits?: { minX?: number; maxX?: number; minY?: number; maxY?: number },
|
||||
useMean = false
|
||||
) => {
|
||||
if (!history?.length) {
|
||||
return { points: [], yAxisOrigin: 0 };
|
||||
@@ -80,5 +83,5 @@ export const coordinatesMinimalResponseCompressedState = (
|
||||
item.lu * 1000,
|
||||
Number(item.s),
|
||||
]);
|
||||
return coordinates(mappedHistory, width, height, maxDetails, limits);
|
||||
return coordinates(mappedHistory, width, height, maxDetails, limits, useMean);
|
||||
};
|
||||
|
||||
@@ -39,29 +39,31 @@ export class HuiEntityEditor extends LitElement {
|
||||
private _renderItem(item: EntityConfig, index: number) {
|
||||
const stateObj = this.hass.states[item.entity];
|
||||
|
||||
const useDeviceName = entityUseDeviceName(
|
||||
stateObj,
|
||||
this.hass.entities,
|
||||
this.hass.devices
|
||||
);
|
||||
const useDeviceName =
|
||||
stateObj &&
|
||||
entityUseDeviceName(stateObj, this.hass.entities, this.hass.devices);
|
||||
|
||||
const isRTL = computeRTL(this.hass);
|
||||
|
||||
const primary =
|
||||
(stateObj &&
|
||||
this.hass.formatEntityName(
|
||||
stateObj,
|
||||
useDeviceName ? { type: "device" } : { type: "entity" }
|
||||
)) ||
|
||||
item.entity;
|
||||
|
||||
const secondary =
|
||||
stateObj &&
|
||||
this.hass.formatEntityName(
|
||||
stateObj,
|
||||
useDeviceName ? { type: "device" } : { type: "entity" }
|
||||
) || item.entity;
|
||||
|
||||
const secondary = this.hass.formatEntityName(
|
||||
stateObj,
|
||||
useDeviceName
|
||||
? [{ type: "area" }]
|
||||
: [{ type: "area" }, { type: "device" }],
|
||||
{
|
||||
separator: isRTL ? " ◂ " : " ▸ ",
|
||||
}
|
||||
);
|
||||
useDeviceName
|
||||
? [{ type: "area" }]
|
||||
: [{ type: "area" }, { type: "device" }],
|
||||
{
|
||||
separator: isRTL ? " ◂ " : " ▸ ",
|
||||
}
|
||||
);
|
||||
|
||||
return html`
|
||||
<ha-md-list-item class="item">
|
||||
|
||||
@@ -4,11 +4,14 @@ import { customElement, property } from "lit/decorators";
|
||||
import { classMap } from "lit/directives/class-map";
|
||||
import { ifDefined } from "lit/directives/if-defined";
|
||||
import { DOMAINS_INPUT_ROW } from "../../../common/const";
|
||||
import { uid } from "../../../common/util/uid";
|
||||
import { stopPropagation } from "../../../common/dom/stop_propagation";
|
||||
import { toggleAttribute } from "../../../common/dom/toggle_attribute";
|
||||
import { computeDomain } from "../../../common/entity/compute_domain";
|
||||
import { formatDateTimeWithSeconds } from "../../../common/datetime/format_date_time";
|
||||
import "../../../components/entity/state-badge";
|
||||
import "../../../components/ha-relative-time";
|
||||
import "../../../components/ha-tooltip";
|
||||
import type { ActionHandlerEvent } from "../../../data/lovelace/action_handler";
|
||||
import type { HomeAssistant } from "../../../types";
|
||||
import type { EntitiesCardEntityConfig } from "../cards/types";
|
||||
@@ -36,6 +39,8 @@ export class HuiGenericEntityRow extends LitElement {
|
||||
@property({ attribute: "catch-interaction", type: Boolean })
|
||||
public catchInteraction?;
|
||||
|
||||
private _secondaryInfoElementId = "-" + uid();
|
||||
|
||||
protected render() {
|
||||
if (!this.hass || !this.config) {
|
||||
return nothing;
|
||||
@@ -100,7 +105,19 @@ export class HuiGenericEntityRow extends LitElement {
|
||||
? stateObj.entity_id
|
||||
: this.config.secondary_info === "last-changed"
|
||||
? html`
|
||||
<ha-tooltip
|
||||
for="last-changed${this
|
||||
._secondaryInfoElementId}"
|
||||
placement="right"
|
||||
>
|
||||
${formatDateTimeWithSeconds(
|
||||
new Date(stateObj.last_changed),
|
||||
this.hass.locale,
|
||||
this.hass.config
|
||||
)}
|
||||
</ha-tooltip>
|
||||
<ha-relative-time
|
||||
id="last-changed${this._secondaryInfoElementId}"
|
||||
.hass=${this.hass}
|
||||
.datetime=${stateObj.last_changed}
|
||||
capitalize
|
||||
@@ -108,7 +125,20 @@ export class HuiGenericEntityRow extends LitElement {
|
||||
`
|
||||
: this.config.secondary_info === "last-updated"
|
||||
? html`
|
||||
<ha-tooltip
|
||||
for="last-updated${this
|
||||
._secondaryInfoElementId}"
|
||||
placement="right"
|
||||
>
|
||||
${formatDateTimeWithSeconds(
|
||||
new Date(stateObj.last_updated),
|
||||
this.hass.locale,
|
||||
this.hass.config
|
||||
)}
|
||||
</ha-tooltip>
|
||||
<ha-relative-time
|
||||
id="last-updated${this
|
||||
._secondaryInfoElementId}"
|
||||
.hass=${this.hass}
|
||||
.datetime=${stateObj.last_updated}
|
||||
capitalize
|
||||
@@ -117,7 +147,22 @@ export class HuiGenericEntityRow extends LitElement {
|
||||
: this.config.secondary_info === "last-triggered"
|
||||
? stateObj.attributes.last_triggered
|
||||
? html`
|
||||
<ha-tooltip
|
||||
for="last-triggered${this
|
||||
._secondaryInfoElementId}"
|
||||
placement="right"
|
||||
>
|
||||
${formatDateTimeWithSeconds(
|
||||
new Date(
|
||||
stateObj.attributes.last_triggered
|
||||
),
|
||||
this.hass.locale,
|
||||
this.hass.config
|
||||
)}
|
||||
</ha-tooltip>
|
||||
<ha-relative-time
|
||||
id="last-triggered${this
|
||||
._secondaryInfoElementId}"
|
||||
.hass=${this.hass}
|
||||
.datetime=${stateObj.attributes
|
||||
.last_triggered}
|
||||
|
||||
@@ -155,16 +155,20 @@ export class HuiGraphHeaderFooter
|
||||
}
|
||||
const width = this.clientWidth || this.offsetWidth;
|
||||
// sample to 1 point per hour or 1 point per 5 pixels
|
||||
const maxDetails =
|
||||
const maxDetails = Math.max(
|
||||
10,
|
||||
this._config.detail! > 1
|
||||
? Math.max(width / 5, this._config.hours_to_show!)
|
||||
: this._config.hours_to_show!;
|
||||
: this._config.hours_to_show!
|
||||
);
|
||||
const useMean = this._config.detail !== 2;
|
||||
const { points } = coordinatesMinimalResponseCompressedState(
|
||||
combinedHistory[this._config.entity],
|
||||
width,
|
||||
width / 5,
|
||||
maxDetails,
|
||||
{ minY: this._config.limits?.min, maxY: this._config.limits?.max }
|
||||
{ minY: this._config.limits?.min, maxY: this._config.limits?.max },
|
||||
useMean
|
||||
);
|
||||
this._coordinates = points;
|
||||
},
|
||||
|
||||
336
yarn.lock
336
yarn.lock
@@ -324,7 +324,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/parser@npm:^7.23.5, @babel/parser@npm:^7.25.4, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5":
|
||||
"@babel/parser@npm:^7.23.5, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5":
|
||||
version: 7.28.5
|
||||
resolution: "@babel/parser@npm:7.28.5"
|
||||
dependencies:
|
||||
@@ -1180,7 +1180,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/types@npm:^7.25.4, @babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.4, @babel/types@npm:^7.28.5, @babel/types@npm:^7.4.4":
|
||||
"@babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.4, @babel/types@npm:^7.28.5, @babel/types@npm:^7.4.4":
|
||||
version: 7.28.5
|
||||
resolution: "@babel/types@npm:7.28.5"
|
||||
dependencies:
|
||||
@@ -5082,131 +5082,131 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/a11y-base@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/a11y-base@npm:24.9.4"
|
||||
"@vaadin/a11y-base@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/a11y-base@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/911df9a219d17b8028e3e491973600b2604b7441a7c45fea9f03cc4bf69ba64c7310a31c9a43f277050e251112e38c87a224e1c91a85301276f7ce40957cb0af
|
||||
checksum: 10/2b77100c1525c9213d66348c789350e7e943c4fb163f478082a58a7cbc8fcdbcb49e6e3eb842ff5a4c7223b80c0210cb906466c5ceb3d0cf6eed3a83e5e30c0c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/combo-box@npm:24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/combo-box@npm:24.9.4"
|
||||
"@vaadin/combo-box@npm:24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/combo-box@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/a11y-base": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/field-base": "npm:~24.9.4"
|
||||
"@vaadin/input-container": "npm:~24.9.4"
|
||||
"@vaadin/item": "npm:~24.9.4"
|
||||
"@vaadin/lit-renderer": "npm:~24.9.4"
|
||||
"@vaadin/overlay": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
"@vaadin/a11y-base": "npm:~24.9.5"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/field-base": "npm:~24.9.5"
|
||||
"@vaadin/input-container": "npm:~24.9.5"
|
||||
"@vaadin/item": "npm:~24.9.5"
|
||||
"@vaadin/lit-renderer": "npm:~24.9.5"
|
||||
"@vaadin/overlay": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/3af6d052c2791774af9091877af808c1a9e15bb80c3c6278fea6e015464cbb350aed5c4913f94745be9d02110119b7354f82412cd54b56d5df90f22c48cdee75
|
||||
checksum: 10/b3b1d17fc34519458a39b6adf7bff7b109f0e4523472308d7482f53230c48ef94bf17b46155ed83a71c780fc093c8c1660c9f66676ffe95cef340fa1293b01ad
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/component-base@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/component-base@npm:24.9.4"
|
||||
"@vaadin/component-base@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/component-base@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/vaadin-development-mode-detector": "npm:^2.0.0"
|
||||
"@vaadin/vaadin-usage-statistics": "npm:^2.1.0"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/fa8e8819de4564f5333d76402467500fd35fa399333abccd709fbe5b6d53a02e7438bc19ffda4d9119776e6c8d44abcbe5d996a0a4d415f4199fe9f3eb64dc58
|
||||
checksum: 10/cc68b44dd5001a139c32e3d0d6025b7285d9173c070a91ca5dfda8b4a999ed9b30a13d3638646e791d7567fbe2992eff2ccbecd41af10bd7058c212a64e06680
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/field-base@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/field-base@npm:24.9.4"
|
||||
"@vaadin/field-base@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/field-base@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/a11y-base": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/a11y-base": "npm:~24.9.5"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/0153fc5fcf912b8e5351270d026da3967300d2b8358e2ef89d354444254022ef4efa0f575d6d4bf41d7a3bc965e9afd62b8488dd2cb782c105a689230d5c7a33
|
||||
checksum: 10/a42fde9f88a783b3899a64b238eea0022e2b02432116da03d70e92ce6280872477fc5d907f6541700fb56da6b776196ffe2958f02cea1a5bfa3e830a4f279b44
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/icon@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/icon@npm:24.9.4"
|
||||
"@vaadin/icon@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/icon@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/ff9742abcf55b233a00b9ea3a18fcf816bec9cd49f5d2b88e2441716318fa81a9034916e55308a9db1ea789da48b86b3e25322fb8d4c74d192a6574ac42d00f8
|
||||
checksum: 10/cbe339af9d15b8be7b6796e0e50643a606ad53d0f21ad0571fdb257d62cfd21af9e9666f9a33864d26339749fe0c62ee8937b19d5d7a2fe0c9c48f9ac7d1e1f4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/input-container@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/input-container@npm:24.9.4"
|
||||
"@vaadin/input-container@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/input-container@npm:24.9.5"
|
||||
dependencies:
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/8b8565b8af0b01fdbcd2e89951d258e7f59690140c25606c32eba481262d47918cc792ce9cb4563b045a83ab9a314f45cc7901fca563f0098cee57b769fdb24e
|
||||
checksum: 10/340abe99169b5a5c268df3b9febcc1b56867b875d22ab9af51db332a00a7187cae2eff222f65f6ff4523f7be890cd74d4fe62ca33f50520ab90b3336308833cb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/item@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/item@npm:24.9.4"
|
||||
"@vaadin/item@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/item@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/a11y-base": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
"@vaadin/a11y-base": "npm:~24.9.5"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/9bb351e013d8066d48edea19af7ebb0718d63582c3753e2d8d49cf7837fc771d7989411b878a4ae3bd4ddd1f586622bdd7cf9a58202bb406bec6d17530c70b70
|
||||
checksum: 10/4cf5251f5ea8bd24559d91b002e722fb33dd550eb944a2a00272a216e4168e501b71e2fcdcf9889b8fe1aed7c3e1c46355feb37283ceb5b02e5c9f4e026e199b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/lit-renderer@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/lit-renderer@npm:24.9.4"
|
||||
"@vaadin/lit-renderer@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/lit-renderer@npm:24.9.5"
|
||||
dependencies:
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/73b1dfe4a028232eadcf6f5ecbf676f38c94651a2147441b44d62a7954a100938c013f2e201e1d290c5b498b2e0130b8b50ad5b501d1fff653f9edce1bc6c58a
|
||||
checksum: 10/abf3cfb4b76b1a696ca9138addc52a26519ff8d4a5dc1dc6e2f4a637cb749678188cf492f4931e623e999708d059babd73b01df973a89fe7486be4b9abc19104
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/overlay@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/overlay@npm:24.9.4"
|
||||
"@vaadin/overlay@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/overlay@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/a11y-base": "npm:~24.9.4"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
"@vaadin/a11y-base": "npm:~24.9.5"
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-lumo-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-material-styles": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
lit: "npm:^3.0.0"
|
||||
checksum: 10/dedd7c1aa062e05679d0f7597f3e1e7f07d93f6a645fff83733a5e5245e18431ac94b8de6f9322c5b7239b6efb733d677c3bc09785921e267b682ee07b4f9cff
|
||||
checksum: 10/c20e67923605d94866a6d513b529a9ddf5e0baa7f208e3a3d974a040e645658b92e6501129648c20c6389d188af38ba07ece59cfb1c9a5997d10eb9b4eeebcce
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -5217,37 +5217,37 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/vaadin-lumo-styles@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/vaadin-lumo-styles@npm:24.9.4"
|
||||
"@vaadin/vaadin-lumo-styles@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/vaadin-lumo-styles@npm:24.9.5"
|
||||
dependencies:
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/icon": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
checksum: 10/e892ab2187bf4e7f6889b8d4ae93009794313e07af24921176abcdf08067123b07840d4018d75340bf2b41dd0ac7d36a71a9a999ff1e04c14cde24878dd1d5d3
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/icon": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
checksum: 10/fd7aa0c45d71e64e4356fcb58612a1345eb5b2d5a67258826dcbad0215a3606d56340a511a4eeb6d4608c4e4237af6ad72c6cc44bb2989dd40acb1f629e9915a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/vaadin-material-styles@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/vaadin-material-styles@npm:24.9.4"
|
||||
"@vaadin/vaadin-material-styles@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/vaadin-material-styles@npm:24.9.5"
|
||||
dependencies:
|
||||
"@polymer/polymer": "npm:^3.0.0"
|
||||
"@vaadin/component-base": "npm:~24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.4"
|
||||
checksum: 10/955b9fd2a09e3ee5ba403b6745a3a164caeea8fc76b04f57abd0cf6aa7f9d9bd24f984f95987956be5e0457b5343dc275970311937ac8a22e491b3a072cbaa00
|
||||
"@vaadin/component-base": "npm:~24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:~24.9.5"
|
||||
checksum: 10/104278b687a3acb621e0296e83aa9c8cc77358d2f80dbfe4b9a38cdd81709891b6c40f4cd5a7884021aeef5dd6553a4b5a288318c01f5d33831c338e6dbd42bd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vaadin/vaadin-themable-mixin@npm:24.9.4, @vaadin/vaadin-themable-mixin@npm:~24.9.4":
|
||||
version: 24.9.4
|
||||
resolution: "@vaadin/vaadin-themable-mixin@npm:24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin@npm:24.9.5, @vaadin/vaadin-themable-mixin@npm:~24.9.5":
|
||||
version: 24.9.5
|
||||
resolution: "@vaadin/vaadin-themable-mixin@npm:24.9.5"
|
||||
dependencies:
|
||||
"@open-wc/dedupe-mixin": "npm:^1.3.0"
|
||||
lit: "npm:^3.0.0"
|
||||
style-observer: "npm:^0.0.8"
|
||||
checksum: 10/3cb428fd3649512a1c026f56eb9df21d24ff29d2c87813f1e8055f211241c6e93840cba46e5ac49ae459e7f9ba4a319c012255c88b71b0d4d44d6cb0d0ef9066
|
||||
checksum: 10/e5f5d756abddd5c60eb4fa27d2c5ed1bbe9013850be55b12aa3c16316bd1a308ff333220be3266ad2085626f214316c53c11b7a2a0552ef913e8d500bbd4723f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -5368,52 +5368,52 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/coverage-v8@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/coverage-v8@npm:4.0.7"
|
||||
"@vitest/coverage-v8@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/coverage-v8@npm:4.0.8"
|
||||
dependencies:
|
||||
"@bcoe/v8-coverage": "npm:^1.0.2"
|
||||
"@vitest/utils": "npm:4.0.7"
|
||||
ast-v8-to-istanbul: "npm:^0.3.5"
|
||||
"@vitest/utils": "npm:4.0.8"
|
||||
ast-v8-to-istanbul: "npm:^0.3.8"
|
||||
debug: "npm:^4.4.3"
|
||||
istanbul-lib-coverage: "npm:^3.2.2"
|
||||
istanbul-lib-report: "npm:^3.0.1"
|
||||
istanbul-lib-source-maps: "npm:^5.0.6"
|
||||
istanbul-reports: "npm:^3.2.0"
|
||||
magicast: "npm:^0.3.5"
|
||||
std-env: "npm:^3.9.0"
|
||||
magicast: "npm:^0.5.1"
|
||||
std-env: "npm:^3.10.0"
|
||||
tinyrainbow: "npm:^3.0.3"
|
||||
peerDependencies:
|
||||
"@vitest/browser": 4.0.7
|
||||
vitest: 4.0.7
|
||||
"@vitest/browser": 4.0.8
|
||||
vitest: 4.0.8
|
||||
peerDependenciesMeta:
|
||||
"@vitest/browser":
|
||||
optional: true
|
||||
checksum: 10/eab89e5da9e8b3ebc0abe08419adfcd2cd54a9cd203252a8cf739017f3a3bbd87a7a6e2dd1ea50105f2edca36618c5f0a394c6f88790d9dc4523440a3588f166
|
||||
checksum: 10/f97d933c7a776eccbd293fd3f77c0dcdc683e528094ce802b2b309e282c01cca0e8ad51a03b61ec623da7034527879824df2e30f70062d7ca587db40bfa5ffd2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/expect@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/expect@npm:4.0.7"
|
||||
"@vitest/expect@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/expect@npm:4.0.8"
|
||||
dependencies:
|
||||
"@standard-schema/spec": "npm:^1.0.0"
|
||||
"@types/chai": "npm:^5.2.2"
|
||||
"@vitest/spy": "npm:4.0.7"
|
||||
"@vitest/utils": "npm:4.0.7"
|
||||
chai: "npm:^6.0.1"
|
||||
"@vitest/spy": "npm:4.0.8"
|
||||
"@vitest/utils": "npm:4.0.8"
|
||||
chai: "npm:^6.2.0"
|
||||
tinyrainbow: "npm:^3.0.3"
|
||||
checksum: 10/d64fa5e17b3fd1894200263c36584673e4e9f8ff055158a4fc5339a00e5132038533e8f7aa45f4f4daf0bfbedd9ccb1de2a543e11eac8c4fd507768874dbd11f
|
||||
checksum: 10/342934870fb2b11b7a47db4df2a9df2b711087fe48118568ac013386cd659b9bff8f8252bef643e9519a88d018d54e6758a733c9dedf907e9d5dc53040aa0dc3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/mocker@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/mocker@npm:4.0.7"
|
||||
"@vitest/mocker@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/mocker@npm:4.0.8"
|
||||
dependencies:
|
||||
"@vitest/spy": "npm:4.0.7"
|
||||
"@vitest/spy": "npm:4.0.8"
|
||||
estree-walker: "npm:^3.0.3"
|
||||
magic-string: "npm:^0.30.19"
|
||||
magic-string: "npm:^0.30.21"
|
||||
peerDependencies:
|
||||
msw: ^2.4.9
|
||||
vite: ^6.0.0 || ^7.0.0-0
|
||||
@@ -5422,54 +5422,54 @@ __metadata:
|
||||
optional: true
|
||||
vite:
|
||||
optional: true
|
||||
checksum: 10/cdba9cb3808b6944b9533c9b4152c33b731b89c8204390f2e29ae5851eccb1241a12a02223d4934bf25607e967c17b89ad9fa153d939ea42c9b5171552044df7
|
||||
checksum: 10/6a624e04a6fa78cc45205961bd0638486674d1cbf4589599772fdd49f58f433c821bcb1eea013ac772171fb9c81154e6f9ffcf1704f27e245860e982c3988cd4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/pretty-format@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/pretty-format@npm:4.0.7"
|
||||
"@vitest/pretty-format@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/pretty-format@npm:4.0.8"
|
||||
dependencies:
|
||||
tinyrainbow: "npm:^3.0.3"
|
||||
checksum: 10/c936c0d503c665bd9565348c52280f10c990da43504fa7da027521b298bab16a6c83866d0eb91c82d7c53ba4aa299042b34a94a6545f1b7b999bf40a1d8b9c13
|
||||
checksum: 10/7e438ba6875a72b58cfe429dedc1de3025c8f87f523db24c687b2ad298e0c1a3e171e7e22ab938518a52c44383acff58d3e9936620dc45f4e97f1669e3e275da
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/runner@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/runner@npm:4.0.7"
|
||||
"@vitest/runner@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/runner@npm:4.0.8"
|
||||
dependencies:
|
||||
"@vitest/utils": "npm:4.0.7"
|
||||
"@vitest/utils": "npm:4.0.8"
|
||||
pathe: "npm:^2.0.3"
|
||||
checksum: 10/9dedaefc0c33736cfe721e1e53ecea05bb6bc9b32611bd55ca486555814aac319f0d7c6df155cebc6ece54f8c7870d810a6285c30006b49b6e511eb68a173873
|
||||
checksum: 10/cb66c1121c2701bb2400fb0969b7504aee34b400278d03f1ed19d78f8180adb88dbbd0f3f5d4ff1db49a5ae50f0e139964ff7ae32aa1d99f6e9d91d6a57c1ffe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/snapshot@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/snapshot@npm:4.0.7"
|
||||
"@vitest/snapshot@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/snapshot@npm:4.0.8"
|
||||
dependencies:
|
||||
"@vitest/pretty-format": "npm:4.0.7"
|
||||
magic-string: "npm:^0.30.19"
|
||||
"@vitest/pretty-format": "npm:4.0.8"
|
||||
magic-string: "npm:^0.30.21"
|
||||
pathe: "npm:^2.0.3"
|
||||
checksum: 10/df9b0c736d1a7a063eea9b9527e37acb53acaf8158469db49b1deb8b64229db30219bf0596e1981e1d7beec194085c07b06f34c466fc5b5cf114cdfa7b04de47
|
||||
checksum: 10/d703a4bb4979f94cc9b3c8ecaf5ce9c4741066772f1d4414db7faa1d1ed209ad5da9c85a98118e340f5f5652d680a1895efa39c060b6e3700a95806eefdf40a7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/spy@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/spy@npm:4.0.7"
|
||||
checksum: 10/44f17971c1e8f4aaa4dcc8b26e86bcc9249a4ce8a131baac515980f3befede719494b548e2e48f871060ce2b22b8959fc85bf49db51ba4785fb6c025785b1a7b
|
||||
"@vitest/spy@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/spy@npm:4.0.8"
|
||||
checksum: 10/944223ffef7d64299d92c94ab895209b27a307ef59d2ef6f5c6c006fc1e85612c9547069b0fde7b2d93adfa484b3770b459a716f6b82f8839226132767fb661c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/utils@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "@vitest/utils@npm:4.0.7"
|
||||
"@vitest/utils@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "@vitest/utils@npm:4.0.8"
|
||||
dependencies:
|
||||
"@vitest/pretty-format": "npm:4.0.7"
|
||||
"@vitest/pretty-format": "npm:4.0.8"
|
||||
tinyrainbow: "npm:^3.0.3"
|
||||
checksum: 10/82110c390309d3bac0ecf314f0428873db8d1df93e0a0bbc5214dca9ec820eb767666ccf2f66593d0b82bfe455ee9037727d2eb310fe24bacb3f71c45a107497
|
||||
checksum: 10/9f241a8aafbd81caec766143c8c99b8e1e76671460ff6bd1fc0921ea968c2f0d3d8305551b52509c0fb427d436ec9e2f75cafdc273d2f23c1ccaea504269a160
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -5951,7 +5951,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ast-v8-to-istanbul@npm:^0.3.5":
|
||||
"ast-v8-to-istanbul@npm:^0.3.8":
|
||||
version: 0.3.8
|
||||
resolution: "ast-v8-to-istanbul@npm:0.3.8"
|
||||
dependencies:
|
||||
@@ -6479,7 +6479,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"chai@npm:^6.0.1":
|
||||
"chai@npm:^6.2.0":
|
||||
version: 6.2.0
|
||||
resolution: "chai@npm:6.2.0"
|
||||
checksum: 10/199422854e253d8711ea3f220365c6a850c450abf68b31131d2a0f703cbfc5cb48e6c81567e0adbe80e83cdcae6dba82d069a41a77c16bdf6703329c5c3447ef
|
||||
@@ -9288,10 +9288,10 @@ __metadata:
|
||||
"@types/tar": "npm:6.1.13"
|
||||
"@types/ua-parser-js": "npm:0.7.39"
|
||||
"@types/webspeechapi": "npm:0.0.29"
|
||||
"@vaadin/combo-box": "npm:24.9.4"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:24.9.4"
|
||||
"@vaadin/combo-box": "npm:24.9.5"
|
||||
"@vaadin/vaadin-themable-mixin": "npm:24.9.5"
|
||||
"@vibrant/color": "npm:4.0.0"
|
||||
"@vitest/coverage-v8": "npm:4.0.7"
|
||||
"@vitest/coverage-v8": "npm:4.0.8"
|
||||
"@vue/web-component-wrapper": "npm:1.3.0"
|
||||
"@webcomponents/scoped-custom-element-registry": "npm:0.0.10"
|
||||
"@webcomponents/webcomponentsjs": "npm:2.8.0"
|
||||
@@ -9376,7 +9376,7 @@ __metadata:
|
||||
typescript-eslint: "npm:8.46.3"
|
||||
ua-parser-js: "npm:2.0.6"
|
||||
vite-tsconfig-paths: "npm:5.1.4"
|
||||
vitest: "npm:4.0.7"
|
||||
vitest: "npm:4.0.8"
|
||||
vue: "npm:2.7.16"
|
||||
vue2-daterange-picker: "npm:0.6.8"
|
||||
webpack-stats-plugin: "npm:1.1.3"
|
||||
@@ -10922,7 +10922,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"magic-string@npm:^0.30.19":
|
||||
"magic-string@npm:^0.30.21":
|
||||
version: 0.30.21
|
||||
resolution: "magic-string@npm:0.30.21"
|
||||
dependencies:
|
||||
@@ -10931,14 +10931,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"magicast@npm:^0.3.5":
|
||||
version: 0.3.5
|
||||
resolution: "magicast@npm:0.3.5"
|
||||
"magicast@npm:^0.5.1":
|
||||
version: 0.5.1
|
||||
resolution: "magicast@npm:0.5.1"
|
||||
dependencies:
|
||||
"@babel/parser": "npm:^7.25.4"
|
||||
"@babel/types": "npm:^7.25.4"
|
||||
source-map-js: "npm:^1.2.0"
|
||||
checksum: 10/3a2dba6b0bdde957797361d09c7931ebdc1b30231705360eeb40ed458d28e1c3112841c3ed4e1b87ceb28f741e333c7673cd961193aa9fdb4f4946b202e6205a
|
||||
"@babel/parser": "npm:^7.28.5"
|
||||
"@babel/types": "npm:^7.28.5"
|
||||
source-map-js: "npm:^1.2.1"
|
||||
checksum: 10/ee6149994760f0b539a07f1d36631fed366ae19b9fc82e338c1cdd2a2e0b33a773635327514a6aa73faca9dc0ca37df5e5376b7b0687fb56353f431f299714c4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -13314,7 +13314,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1":
|
||||
"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1":
|
||||
version: 1.2.1
|
||||
resolution: "source-map-js@npm:1.2.1"
|
||||
checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3
|
||||
@@ -13469,10 +13469,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"std-env@npm:^3.7.0, std-env@npm:^3.9.0":
|
||||
version: 3.9.0
|
||||
resolution: "std-env@npm:3.9.0"
|
||||
checksum: 10/3044b2c54a74be4f460db56725571241ab3ac89a91f39c7709519bc90fa37148784bc4cd7d3a301aa735f43bd174496f263563f76703ce3e81370466ab7c235b
|
||||
"std-env@npm:^3.10.0, std-env@npm:^3.7.0":
|
||||
version: 3.10.0
|
||||
resolution: "std-env@npm:3.10.0"
|
||||
checksum: 10/19c9cda4f370b1ffae2b8b08c72167d8c3e5cfa972aaf5c6873f85d0ed2faa729407f5abb194dc33380708c00315002febb6f1e1b484736bfcf9361ad366013a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -14751,24 +14751,24 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vitest@npm:4.0.7":
|
||||
version: 4.0.7
|
||||
resolution: "vitest@npm:4.0.7"
|
||||
"vitest@npm:4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "vitest@npm:4.0.8"
|
||||
dependencies:
|
||||
"@vitest/expect": "npm:4.0.7"
|
||||
"@vitest/mocker": "npm:4.0.7"
|
||||
"@vitest/pretty-format": "npm:4.0.7"
|
||||
"@vitest/runner": "npm:4.0.7"
|
||||
"@vitest/snapshot": "npm:4.0.7"
|
||||
"@vitest/spy": "npm:4.0.7"
|
||||
"@vitest/utils": "npm:4.0.7"
|
||||
"@vitest/expect": "npm:4.0.8"
|
||||
"@vitest/mocker": "npm:4.0.8"
|
||||
"@vitest/pretty-format": "npm:4.0.8"
|
||||
"@vitest/runner": "npm:4.0.8"
|
||||
"@vitest/snapshot": "npm:4.0.8"
|
||||
"@vitest/spy": "npm:4.0.8"
|
||||
"@vitest/utils": "npm:4.0.8"
|
||||
debug: "npm:^4.4.3"
|
||||
es-module-lexer: "npm:^1.7.0"
|
||||
expect-type: "npm:^1.2.2"
|
||||
magic-string: "npm:^0.30.19"
|
||||
magic-string: "npm:^0.30.21"
|
||||
pathe: "npm:^2.0.3"
|
||||
picomatch: "npm:^4.0.3"
|
||||
std-env: "npm:^3.9.0"
|
||||
std-env: "npm:^3.10.0"
|
||||
tinybench: "npm:^2.9.0"
|
||||
tinyexec: "npm:^0.3.2"
|
||||
tinyglobby: "npm:^0.2.15"
|
||||
@@ -14779,10 +14779,10 @@ __metadata:
|
||||
"@edge-runtime/vm": "*"
|
||||
"@types/debug": ^4.1.12
|
||||
"@types/node": ^20.0.0 || ^22.0.0 || >=24.0.0
|
||||
"@vitest/browser-playwright": 4.0.7
|
||||
"@vitest/browser-preview": 4.0.7
|
||||
"@vitest/browser-webdriverio": 4.0.7
|
||||
"@vitest/ui": 4.0.7
|
||||
"@vitest/browser-playwright": 4.0.8
|
||||
"@vitest/browser-preview": 4.0.8
|
||||
"@vitest/browser-webdriverio": 4.0.8
|
||||
"@vitest/ui": 4.0.8
|
||||
happy-dom: "*"
|
||||
jsdom: "*"
|
||||
peerDependenciesMeta:
|
||||
@@ -14806,7 +14806,7 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
vitest: vitest.mjs
|
||||
checksum: 10/23f872860f2f8ef7aa4a44830ff52fb385ee7879bd6952a116013cada7cc6bad7a2b72d9034d0bbf0134028b662bd00e8827021e5ff4ef6e232e8108e4f4851d
|
||||
checksum: 10/b2fd9e2bb0740860f998f1ecfb948da330cc2e8dc15376669ef742420ad77fedea491731dfaefff17379457d21f06740afaa725952cbcbdcd499a532b95e5717
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user