mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
Update eslint (#4554)
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.20.0 to 8.0.3. - [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases) - [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.0.3) --- updated-dependencies: - dependency-name: eslint-plugin-vue dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * bump eslint to 8.11.0 * bump eslint-plugin-vue to 8.5.0 * disable eslint rule for multi-word component names. TODO enable it and follow conventions Co-authored-by: Nikhil Mandlik <nikhil.k.mandlik@nasa.gov> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hill <john.c.hill@nasa.gov> Co-authored-by: unlikelyzero <jchill2@gmail.com> Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -20,43 +20,51 @@
|
||||
at runtime from the About dialog for additional information.
|
||||
-->
|
||||
<template>
|
||||
<div class="c-plot-legend gl-plot-legend"
|
||||
:class="{
|
||||
'hover-on-plot': !!highlights.length,
|
||||
'is-legend-hidden': isLegendHidden
|
||||
}"
|
||||
<div
|
||||
class="c-plot-legend gl-plot-legend"
|
||||
:class="{
|
||||
'hover-on-plot': !!highlights.length,
|
||||
'is-legend-hidden': isLegendHidden
|
||||
}"
|
||||
>
|
||||
<div class="c-plot-legend__view-control gl-plot-legend__view-control c-disclosure-triangle is-enabled"
|
||||
:class="{ 'c-disclosure-triangle--expanded': isLegendExpanded }"
|
||||
@click="expandLegend"
|
||||
<div
|
||||
class="c-plot-legend__view-control gl-plot-legend__view-control c-disclosure-triangle is-enabled"
|
||||
:class="{ 'c-disclosure-triangle--expanded': isLegendExpanded }"
|
||||
@click="expandLegend"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="c-plot-legend__wrapper"
|
||||
:class="{ 'is-cursor-locked': cursorLocked }"
|
||||
<div
|
||||
class="c-plot-legend__wrapper"
|
||||
:class="{ 'is-cursor-locked': cursorLocked }"
|
||||
>
|
||||
|
||||
<!-- COLLAPSED PLOT LEGEND -->
|
||||
<div class="plot-wrapper-collapsed-legend"
|
||||
:class="{'is-cursor-locked': cursorLocked }"
|
||||
<div
|
||||
class="plot-wrapper-collapsed-legend"
|
||||
:class="{'is-cursor-locked': cursorLocked }"
|
||||
>
|
||||
<div class="c-state-indicator__alert-cursor-lock icon-cursor-lock"
|
||||
title="Cursor is point locked. Click anywhere in the plot to unlock."
|
||||
<div
|
||||
class="c-state-indicator__alert-cursor-lock icon-cursor-lock"
|
||||
title="Cursor is point locked. Click anywhere in the plot to unlock."
|
||||
></div>
|
||||
<plot-legend-item-collapsed v-for="seriesObject in series"
|
||||
:key="seriesObject.keyString"
|
||||
:highlights="highlights"
|
||||
:value-to-show-when-collapsed="legend.get('valueToShowWhenCollapsed')"
|
||||
:series-object="seriesObject"
|
||||
@legendHoverChanged="legendHoverChanged"
|
||||
<plot-legend-item-collapsed
|
||||
v-for="seriesObject in series"
|
||||
:key="seriesObject.keyString"
|
||||
:highlights="highlights"
|
||||
:value-to-show-when-collapsed="legend.get('valueToShowWhenCollapsed')"
|
||||
:series-object="seriesObject"
|
||||
@legendHoverChanged="legendHoverChanged"
|
||||
/>
|
||||
</div>
|
||||
<!-- EXPANDED PLOT LEGEND -->
|
||||
<div class="plot-wrapper-expanded-legend"
|
||||
:class="{'is-cursor-locked': cursorLocked }"
|
||||
<div
|
||||
class="plot-wrapper-expanded-legend"
|
||||
:class="{'is-cursor-locked': cursorLocked }"
|
||||
>
|
||||
<div class="c-state-indicator__alert-cursor-lock--verbose icon-cursor-lock"
|
||||
title="Click anywhere in the plot to unlock."
|
||||
<div
|
||||
class="c-state-indicator__alert-cursor-lock--verbose icon-cursor-lock"
|
||||
title="Click anywhere in the plot to unlock."
|
||||
> Cursor locked to point</div>
|
||||
<table>
|
||||
<thead>
|
||||
@ -71,12 +79,14 @@
|
||||
<th v-if="showUnitsWhenExpanded">
|
||||
Unit
|
||||
</th>
|
||||
<th v-if="showMinimumWhenExpanded"
|
||||
<th
|
||||
v-if="showMinimumWhenExpanded"
|
||||
class="mobile-hide"
|
||||
>
|
||||
Min
|
||||
</th>
|
||||
<th v-if="showMaximumWhenExpanded"
|
||||
<th
|
||||
v-if="showMaximumWhenExpanded"
|
||||
class="mobile-hide"
|
||||
>
|
||||
Max
|
||||
@ -84,12 +94,13 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<plot-legend-item-expanded v-for="seriesObject in series"
|
||||
:key="seriesObject.keyString"
|
||||
:series-object="seriesObject"
|
||||
:highlights="highlights"
|
||||
:legend="legend"
|
||||
@legendHoverChanged="legendHoverChanged"
|
||||
<plot-legend-item-expanded
|
||||
v-for="seriesObject in series"
|
||||
:key="seriesObject.keyString"
|
||||
:series-object="seriesObject"
|
||||
:highlights="highlights"
|
||||
:legend="legend"
|
||||
@legendHoverChanged="legendHoverChanged"
|
||||
/>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user