File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { html , css , LitElement , PropertyValueMap } from 'lit'
22import { repeat } from 'lit/directives/repeat.js'
3- import { property , state } from 'lit/decorators.js'
3+ import { customElement , property , state } from 'lit/decorators.js'
44import { InputData } from './definition-schema.js'
55
66type Dataseries = Exclude < InputData [ 'dataseries' ] , undefined > [ number ] & { needleValue ?: number }
@@ -9,6 +9,8 @@ type Theme = {
99 theme_name : string
1010 theme_object : any
1111}
12+
13+ @customElement ( 'widget-value-versionplaceholder' )
1214export class WidgetValue extends LitElement {
1315 @property ( { type : Object } )
1416 inputData ?: InputData
@@ -80,8 +82,6 @@ export class WidgetValue extends LitElement {
8082 }
8183
8284 sizingSetup ( ) {
83- if ( this . origWidth !== 0 && this . origHeight !== 0 ) return
84-
8585 const boxes = Array . from (
8686 this ?. shadowRoot ?. querySelectorAll (
8787 '.sizing-container > .single-value'
@@ -388,5 +388,3 @@ export class WidgetValue extends LitElement {
388388 `
389389 }
390390}
391-
392- window . customElements . define ( 'widget-value-versionplaceholder' , WidgetValue )
You can’t perform that action at this time.
0 commit comments