Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
1639a57bd1 | |||
b546d1a2c5 | |||
5639c152a2 | |||
05a093f080 | |||
08156b2d47 | |||
0b119c481c |
22963
package-lock.json
generated
22963
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@designestate/dees-wcctools",
|
"name": "@designestate/dees-wcctools",
|
||||||
"version": "1.0.55",
|
"version": "1.0.58",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "wcc tools for creating element catalogues",
|
"description": "wcc tools for creating element catalogues",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
@ -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"
|
||||||
|
@ -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,
|
||||||
@ -68,9 +68,9 @@ export class TestDemoelement extends DeesElement {
|
|||||||
<div class="themeindicator">
|
<div class="themeindicator">
|
||||||
You have selected the ${this.goBright ? 'bright' : 'dark'} theme.
|
You have selected the ${this.goBright ? 'bright' : 'dark'} theme.
|
||||||
<pre>
|
<pre>
|
||||||
demoBoolean is <b>"${this.demoBoolean}"</b>
|
demoBoolean is <b>${this.demoBoolean}</b>
|
||||||
demoString is <b>"${this.demoString}"</b>
|
demoString is <b>"${this.demoString}"</b>
|
||||||
demoNumber is <b>"${this.demoNumber}"</b>
|
demoNumber is <b>${this.demoNumber}</b>
|
||||||
demoEnum is <b>"${this.demoENum}"</b>
|
demoEnum is <b>"${this.demoENum}"</b>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,8 +2,6 @@ import { LitElement, property, html, customElement, TemplateResult, queryAsync }
|
|||||||
|
|
||||||
import * as plugins from '../wcctools.plugins';
|
import * as plugins from '../wcctools.plugins';
|
||||||
|
|
||||||
import { WccDefaultElement } from './wcc-defaultelement';
|
|
||||||
|
|
||||||
// wcc tools
|
// wcc tools
|
||||||
import './wcc-frame';
|
import './wcc-frame';
|
||||||
import './wcc-sidebar';
|
import './wcc-sidebar';
|
||||||
|
@ -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!`;
|
||||||
|
Reference in New Issue
Block a user