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

23033
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -16,7 +16,7 @@ enum ETestEnum {
@customElement('test-demoelement') @customElement('test-demoelement')
export class TestDemoelement extends DeesElement { 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({ @property({
type: Boolean, type: Boolean,

View File

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