fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-27 13:30:02 +02:00
parent 5639c152a2
commit b546d1a2c5
4 changed files with 19565 additions and 3498 deletions

22961
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,19 +13,19 @@
"author": "Lossless GmbH",
"license": "UNLICENSED",
"dependencies": {
"@designestate/dees-domtools": "^1.0.87",
"@designestate/dees-element": "^1.0.19",
"@gitzone/tsrun": "^1.2.12",
"@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartexpress": "^3.0.100",
"lit-element": "^2.4.0",
"lit-html": "^1.3.0",
"typescript": "^4.2.3"
"@designestate/dees-domtools": "^1.0.96",
"@designestate/dees-element": "^1.0.26",
"@gitzone/tsrun": "^1.2.17",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartexpress": "^3.0.106",
"lit-element": "^3.0.0",
"lit-html": "^2.0.0",
"typescript": "^4.4.3"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tswatch": "^1.0.52",
"@gitzone/tsbuild": "^2.1.27",
"@gitzone/tsbundle": "^1.0.87",
"@gitzone/tswatch": "^1.0.56",
"@pushrocks/projectinfo": "^4.0.5",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.17.0"

View File

@ -16,7 +16,7 @@ enum ETestEnum {
@customElement('test-demoelement')
export class TestDemoelement extends DeesElement {
public static demo = () => html`<test-demoelement></test-demoelement>`;
public static demo = () => html`<test-demoelement>This is a slot text</test-demoelement>`;
@property({
type: Boolean,

View File

@ -4,7 +4,7 @@ import {
html,
customElement,
TemplateResult,
internalProperty,
state,
} from 'lit-element';
import { WccDashboard } from './wcc-dashboard';
@ -36,7 +36,7 @@ export class WccProperties extends LitElement {
@property()
public warning: string = null;
@internalProperty()
@state()
propertyContent: TemplateResult[] = [];
public render(): TemplateResult {
@ -258,7 +258,7 @@ export class WccProperties extends LitElement {
: 'Object';
}
};
if (this.selectedItem && !(this.selectedItem instanceof TemplateResult)) {
if (this.selectedItem && !((this.selectedItem as any)._classProperties)) {
const anonItem: any = this.selectedItem;
if (!anonItem._classProperties) {
return html`You have selected a page!`;