File tree Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { css , html , LitElement } from 'lit' ;
2
2
import { customElement , property } from 'lit/decorators.js' ;
3
3
import './core-icon' ;
4
- import { applyTypography } from " ../../styles/theme" ;
5
- import { Variant } from " ./core-button" ;
4
+ import { applyTypography } from ' ../../styles/theme' ;
5
+ import { Variant } from ' ./core-button' ;
6
6
7
7
@customElement ( 'ngm-core-chip' )
8
8
export class CoreChip extends LitElement {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import {debounce} from '../../../utils';
8
8
import { setExaggeration } from '../../../permalink' ;
9
9
import NavToolsStore from '../../../store/navTools' ;
10
10
import { updateExaggerationForKmlDataSource } from '../../../cesiumutils' ;
11
- import '../../core'
12
- import { SliderValueChangeEvent } from " ../../core/core-slider" ;
11
+ import '../../core' ;
12
+ import { SliderValueChangeEvent } from ' ../../core/core-slider' ;
13
13
14
14
@customElement ( 'ngm-layer-options' )
15
15
export class NgmLayerOptions extends LitElementI18n {
@@ -41,7 +41,7 @@ export class NgmLayerOptions extends LitElementI18n {
41
41
42
42
private toggleExaggerationVisibility ( ) {
43
43
if ( ! this . viewer ) {
44
- return
44
+ return ;
45
45
}
46
46
this . hideExaggeration = ! this . hideExaggeration ;
47
47
const exaggeration = this . hideExaggeration ? 1 : this . exaggeration ;
Original file line number Diff line number Diff line change 1
- import { html } from " lit" ;
1
+ import { html } from ' lit' ;
2
2
3
3
export const invisibleIcon = html `< svg width ="20 " height ="20 " viewBox ="0 0 20 20 " fill ="none " xmlns ="http://www.w3.org/2000/svg ">
4
4
< path d ="M8.94418 4.23033C10.8853 3.999 12.8489 4.40934 14.5349 5.3987C16.221 6.38806 17.5369 7.90206 18.2817 9.70949C18.3511 9.89659 18.3511 10.1024 18.2817 10.2895C17.9754 11.032 17.5707 11.7299 17.0783 12.3645M11.7367 11.7987C11.2652 12.2541 10.6337 12.506 9.97818 12.5003C9.32269 12.4946 8.69565 12.2317 8.23213 11.7682C7.76861 11.3047 7.50569 10.6777 7.5 10.0222C7.4943 9.36667 7.74629 8.73516 8.20168 8.26366M14.5658 14.5828C13.4604 15.2376 12.2271 15.647 10.9495 15.7832C9.6719 15.9193 8.37997 15.779 7.16137 15.3719C5.94277 14.9647 4.82601 14.3002 3.88686 13.4234C2.94771 12.5467 2.20814 11.4781 1.71835 10.2903C1.6489 10.1032 1.6489 9.89742 1.71835 9.71033C2.45721 7.91854 3.75724 6.4147 5.42335 5.42449M1.66668 1.66699L18.3333 18.3337 " stroke ="currentColor " stroke-width ="1.4 " stroke-linecap ="round " stroke-linejoin ="round "/>
5
- </ svg > `
5
+ </ svg > `;
Original file line number Diff line number Diff line change 1
- import { html } from " lit" ;
1
+ import { html } from ' lit' ;
2
2
3
3
export const visibleIcon = html `< svg width ="20 " height ="14 " viewBox ="0 0 20 14 " fill ="none " xmlns ="http://www.w3.org/2000/svg ">
4
4
< path d ="M1.71835 7.29079C1.6489 7.10369 1.6489 6.89788 1.71835 6.71079C2.39476 5.07067 3.54294 3.66832 5.01732 2.68154C6.4917 1.69475 8.22588 1.16797 10 1.16797C11.7741 1.16797 13.5083 1.69475 14.9827 2.68154C16.4571 3.66832 17.6053 5.07067 18.2817 6.71079C18.3511 6.89788 18.3511 7.10369 18.2817 7.29079C17.6053 8.93091 16.4571 10.3333 14.9827 11.32C13.5083 12.3068 11.7741 12.8336 10 12.8336C8.22588 12.8336 6.4917 12.3068 5.01732 11.32C3.54294 10.3333 2.39476 8.93091 1.71835 7.29079Z " stroke ="#337083 " stroke-width ="1.4 " stroke-linecap ="round " stroke-linejoin ="round "/>
5
5
< path d ="M10 9.50079C11.3807 9.50079 12.5 8.3815 12.5 7.00079C12.5 5.62008 11.3807 4.50079 10 4.50079C8.6193 4.50079 7.50001 5.62008 7.50001 7.00079C7.50001 8.3815 8.6193 9.50079 10 9.50079Z " stroke ="currentColor " stroke-width ="1.4 " stroke-linecap ="round " stroke-linejoin ="round "/>
6
- </ svg >
7
- `
6
+ </ svg > `;
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import {closeIcon} from './i_close';
12
12
import { dropdownIcon } from './i_dropdown' ;
13
13
import { uploadIcon } from './i_upload' ;
14
14
import { cesiumIcon } from './i_cesium' ;
15
- import { visibleIcon } from " ./i_visible" ;
16
- import { invisibleIcon } from " ./i_invisible" ;
15
+ import { visibleIcon } from ' ./i_visible' ;
16
+ import { invisibleIcon } from ' ./i_invisible' ;
17
17
18
18
export const icons = {
19
19
cesium : cesiumIcon ,
You can’t perform that action at this time.
0 commit comments