@voicenter-team/opensips-js 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/opensips-js.es.js
CHANGED
@@ -82495,6 +82495,9 @@ class u_e extends Pw {
|
|
82495
82495
|
setupDrawerOptions(e) {
|
82496
82496
|
this.konvaDrawer && this.konvaDrawer.setupDrawerOptions(e);
|
82497
82497
|
}
|
82498
|
+
setMode(e, t) {
|
82499
|
+
this.mode = e, t && (this.imageSrc = t);
|
82500
|
+
}
|
82498
82501
|
setupDrawerImage(e) {
|
82499
82502
|
this.imageSrc = e;
|
82500
82503
|
}
|
@@ -82511,7 +82514,9 @@ class u_e extends Pw {
|
|
82511
82514
|
this.konvaDrawer.addRect(s, t, n), this.konvaDrawer.initFreeDrawing(s);
|
82512
82515
|
}
|
82513
82516
|
async drawImageWhiteboard() {
|
82514
|
-
const e = this.selectors.document.getElementById(this.selectors.container)
|
82517
|
+
const e = this.selectors.document.getElementById(this.selectors.container);
|
82518
|
+
e.style.setProperty("min-width", "100%"), e.style.setProperty("height", "100%");
|
82519
|
+
const t = e.clientWidth, n = e.clientHeight, i = await dde(this.imageSrc), s = this.selectors.document.getElementById(this.selectors.drawerContainer);
|
82515
82520
|
console.log("konvaContainer", s), this.konvaDrawer = new Ub({
|
82516
82521
|
container: s,
|
82517
82522
|
width: t,
|