fix(core): update

This commit is contained in:
Philipp Kunz 2022-08-17 18:49:33 +02:00
parent b016b959cf
commit 076f8c7a91
4 changed files with 5736 additions and 1389 deletions

7087
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,22 +14,22 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^2.0.22", "@designestate/dees-domtools": "^2.0.23",
"@designestate/dees-element": "^2.0.16", "@designestate/dees-element": "^2.0.16",
"@designestate/dees-wcctools": "^1.0.74", "@designestate/dees-wcctools": "^1.0.74",
"@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/fontawesome-svg-core": "^6.1.2",
"@fortawesome/free-brands-svg-icons": "^6.1.1", "@fortawesome/free-brands-svg-icons": "^6.1.2",
"@fortawesome/free-regular-svg-icons": "^6.1.1", "@fortawesome/free-regular-svg-icons": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.2",
"pdfjs-dist": "^2.14.305" "pdfjs-dist": "^2.15.349"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.63", "@gitzone/tsbuild": "^2.1.65",
"@gitzone/tsbundle": "^2.0.5", "@gitzone/tsbundle": "^2.0.7",
"@gitzone/tstest": "^1.0.71", "@gitzone/tstest": "^1.0.73",
"@gitzone/tswatch": "^2.0.1", "@gitzone/tswatch": "^2.0.5",
"@pushrocks/projectinfo": "^5.0.1", "@pushrocks/projectinfo": "^5.0.1",
"@pushrocks/tapbundle": "^5.0.3" "@pushrocks/tapbundle": "^5.0.4"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-catalog', name: '@designestate/dees-catalog',
version: '1.0.94', version: '1.0.95',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -63,10 +63,22 @@ export class DeesWindowLayer extends DeesElement {
} }
dispatchClicked() { dispatchClicked() {
this.dispatchEvent(new CustomEvent('clicked')) this.dispatchEvent(new CustomEvent('clicked'));
} }
public toggleVisibility () { public toggleVisibility () {
this.visible = !this.visible; this.visible = !this.visible;
} }
public async show() {
const domtools = await this.domtoolsPromise;
await domtools.convenience.smartdelay.delayFor(0);
this.visible = true;
}
public async hide() {
const domtools = await this.domtoolsPromise;
await domtools.convenience.smartdelay.delayFor(0);
this.visible = false;
}
} }