fix(core): update
This commit is contained in:
parent
68375a5e58
commit
2e2ad98ed8
14
package-lock.json
generated
14
package-lock.json
generated
@ -16,7 +16,7 @@
|
|||||||
"@pushrocks/smartexpress": "^4.0.0"
|
"@pushrocks/smartexpress": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.60",
|
"@gitzone/tsbuild": "^2.1.61",
|
||||||
"@gitzone/tsbundle": "^1.0.101",
|
"@gitzone/tsbundle": "^1.0.101",
|
||||||
"@gitzone/tswatch": "^1.0.73",
|
"@gitzone/tswatch": "^1.0.73",
|
||||||
"@pushrocks/projectinfo": "^4.0.5",
|
"@pushrocks/projectinfo": "^4.0.5",
|
||||||
@ -1889,9 +1889,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@gitzone/tsbuild": {
|
"node_modules/@gitzone/tsbuild": {
|
||||||
"version": "2.1.60",
|
"version": "2.1.61",
|
||||||
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.60.tgz",
|
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.61.tgz",
|
||||||
"integrity": "sha512-uGFp5Al8hGz/XsYnaWOvfIDHa34bik06JH/fo248TDmpBxk4dgmA2N/VV3qEnUEwGNaO7n2x+4Tc8K6ZnhRhEg==",
|
"integrity": "sha512-wKMl3OK6YcXcPutQqOtuZvt2GhxpO+DrvLJ/75zyfEF5JVzOtBdfdfd4Nv3prDKBpViXaqgQVVf1BARKQVA7wA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -11541,9 +11541,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@gitzone/tsbuild": {
|
"@gitzone/tsbuild": {
|
||||||
"version": "2.1.60",
|
"version": "2.1.61",
|
||||||
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.60.tgz",
|
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.61.tgz",
|
||||||
"integrity": "sha512-uGFp5Al8hGz/XsYnaWOvfIDHa34bik06JH/fo248TDmpBxk4dgmA2N/VV3qEnUEwGNaO7n2x+4Tc8K6ZnhRhEg==",
|
"integrity": "sha512-wKMl3OK6YcXcPutQqOtuZvt2GhxpO+DrvLJ/75zyfEF5JVzOtBdfdfd4Nv3prDKBpViXaqgQVVf1BARKQVA7wA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@pushrocks/early": "^3.0.6",
|
"@pushrocks/early": "^3.0.6",
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"@pushrocks/smartexpress": "^4.0.0"
|
"@pushrocks/smartexpress": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.60",
|
"@gitzone/tsbuild": "^2.1.61",
|
||||||
"@gitzone/tsbundle": "^1.0.101",
|
"@gitzone/tsbundle": "^1.0.101",
|
||||||
"@gitzone/tswatch": "^1.0.73",
|
"@gitzone/tswatch": "^1.0.73",
|
||||||
"@pushrocks/projectinfo": "^4.0.5",
|
"@pushrocks/projectinfo": "^4.0.5",
|
||||||
|
@ -99,17 +99,16 @@ export class WccDashboard extends DeesElement {
|
|||||||
></wcc-properties>
|
></wcc-properties>
|
||||||
<wcc-frame id="wccFrame" viewport=${this.selectedViewport}>
|
<wcc-frame id="wccFrame" viewport=${this.selectedViewport}>
|
||||||
${(() => {
|
${(() => {
|
||||||
console.log('jojo');
|
|
||||||
if (this.selectedType === 'page' && this.selectedItem) {
|
if (this.selectedType === 'page' && this.selectedItem) {
|
||||||
if (typeof this.selectedItem === 'function') {
|
if (typeof this.selectedItem === 'function') {
|
||||||
console.log('jojo page')
|
console.log('slotting page.');
|
||||||
return this.selectedItem();
|
return this.selectedItem();
|
||||||
} else {
|
} else {
|
||||||
console.error('The selected item looks strange:');
|
console.error('The selected item looks strange:');
|
||||||
console.log(this.selectedItem);
|
console.log(this.selectedItem);
|
||||||
}
|
}
|
||||||
} else if (this.selectedType === 'element' && this.selectedItem) {
|
} else if (this.selectedType === 'element' && this.selectedItem) {
|
||||||
// console.log(this.selectedItem);
|
console.log('slotting element.');
|
||||||
const anonItem: any = this.selectedItem;
|
const anonItem: any = this.selectedItem;
|
||||||
if (!anonItem.demo) {
|
if (!anonItem.demo) {
|
||||||
this.setWarning(`component ${anonItem.name} does not expose a demo property.`);
|
this.setWarning(`component ${anonItem.name} does not expose a demo property.`);
|
||||||
|
Loading…
Reference in New Issue
Block a user