push
github
56 of 145 branches covered (38.62%)
48 of 50 new or added lines in 5 files covered. (96.0%)
3395 existing lines in 78 files now uncovered.8599 of 20189 relevant lines covered (42.59%)
701.76 hits per line
UNCOV
1
|
/** @format */
|
|
UNCOV
2
|
/* eslint-disable class-methods-use-this, max-classes-per-file */
|
× |
UNCOV
3
|
|
× |
UNCOV
4
|
import { LsmbBaseInput } from "@/elements/lsmb-base-input"; |
× |
UNCOV
5
|
|
× |
6 |
const dojoDateBox = require("lsmb/DateTextBox");
|
× |
UNCOV
7
|
|
× |
UNCOV
8
|
export class LsmbDate extends LsmbBaseInput { |
× |
9 |
widgetWrapper = null;
|
× |
UNCOV
10
|
|
× |
UNCOV
11
|
_stdProps() { |
× |
12 |
return { size: 10 }; |
× |
UNCOV
13
|
} |
× |
UNCOV
14
|
|
× |
UNCOV
15
|
_widgetRoot() { |
× |
16 |
if (this.widgetWrapper) { |
× |
17 |
return this.widgetWrapper; |
× |
UNCOV
18
|
} |
× |
19 |
this.widgetWrapper = document.createElement("span"); |
× |
20 |
this.appendChild(this.widgetWrapper); |
× |
UNCOV
21
|
|
× |
22 |
return this.widgetWrapper; |
× |
UNCOV
23
|
} |
× |
UNCOV
24
|
|
× |
UNCOV
25
|
_widgetClass() { |
× |
26 |
return dojoDateBox;
|
× |
UNCOV
27
|
} |
× |
UNCOV
28
|
} |
× |
UNCOV
29
|
|
× |
30 |
customElements.define("lsmb-date", LsmbDate);
|
× |