fix(core): update

This commit is contained in:
Philipp Kunz 2022-04-21 23:15:14 +02:00
parent 6dd5277f9e
commit 76841a6b25
3 changed files with 11 additions and 10 deletions

14
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "2.0.10", "version": "2.0.10",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^2.0.8", "@designestate/dees-domtools": "^2.0.14",
"@pushrocks/isounique": "^1.0.5", "@pushrocks/isounique": "^1.0.5",
"@pushrocks/smartrx": "^2.0.25", "@pushrocks/smartrx": "^2.0.25",
"lit": "^2.2.2" "lit": "^2.2.2"
@ -1819,9 +1819,9 @@
} }
}, },
"node_modules/@designestate/dees-domtools": { "node_modules/@designestate/dees-domtools": {
"version": "2.0.8", "version": "2.0.14",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.8.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.14.tgz",
"integrity": "sha512-FASCGhuZcdTxJ3rQO4SWChHv/6PI6Ye6OamNDEwUq4oHZf4nbOA+zseBMLrN1JAcyeUqNUVGSprf7l8r7FP/Dg==", "integrity": "sha512-rcbcMsqS6gIpHUp409IDXNmup57cq4bYp3N4R3lkJ0KDmMuHdniRjPxjx7KQB7oE+k8UGfjZbEgb1IodOHiC6w==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@apiglobal/typedrequest": "^2.0.3", "@apiglobal/typedrequest": "^2.0.3",
@ -12632,9 +12632,9 @@
} }
}, },
"@designestate/dees-domtools": { "@designestate/dees-domtools": {
"version": "2.0.8", "version": "2.0.14",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.8.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.14.tgz",
"integrity": "sha512-FASCGhuZcdTxJ3rQO4SWChHv/6PI6Ye6OamNDEwUq4oHZf4nbOA+zseBMLrN1JAcyeUqNUVGSprf7l8r7FP/Dg==", "integrity": "sha512-rcbcMsqS6gIpHUp409IDXNmup57cq4bYp3N4R3lkJ0KDmMuHdniRjPxjx7KQB7oE+k8UGfjZbEgb1IodOHiC6w==",
"requires": { "requires": {
"@apiglobal/typedrequest": "^2.0.3", "@apiglobal/typedrequest": "^2.0.3",
"@designestate/dees-comms": "^1.0.22", "@designestate/dees-comms": "^1.0.22",

View File

@ -22,7 +22,7 @@
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^2.0.8", "@designestate/dees-domtools": "^2.0.14",
"@pushrocks/isounique": "^1.0.5", "@pushrocks/isounique": "^1.0.5",
"@pushrocks/smartrx": "^2.0.25", "@pushrocks/smartrx": "^2.0.25",
"lit": "^2.2.2" "lit": "^2.2.2"

View File

@ -6,7 +6,7 @@ export class DeesElement extends plugins.lit.LitElement {
public goBright: boolean = false; public goBright: boolean = false;
// domtools // domtools
public domtoolsPromise = plugins.domtools.elementBasic.setup(this); public domtoolsPromise: Promise<plugins.domtools.DomTools>;
@plugins.lit.property() @plugins.lit.property()
domtools?: plugins.domtools.DomTools; domtools?: plugins.domtools.DomTools;
@ -16,8 +16,9 @@ export class DeesElement extends plugins.lit.LitElement {
private elementDomReadyDeferred = plugins.domtools.plugins.smartpromise.defer(); private elementDomReadyDeferred = plugins.domtools.plugins.smartpromise.defer();
public elementDomReady = this.elementDomReadyDeferred.promise; public elementDomReady = this.elementDomReadyDeferred.promise;
constructor() { constructor(optionsArg: plugins.domtools.IDomToolsContructorOptions = {}) {
super(); super();
this.domtoolsPromise = plugins.domtools.elementBasic.setup(this, optionsArg);
this.domtoolsPromise.then((domtoolsArg) => { this.domtoolsPromise.then((domtoolsArg) => {
this.domtools = domtoolsArg; this.domtools = domtoolsArg;
}); });