@avakhula/ui 0.0.111 → 0.0.115
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/index.js
CHANGED
|
@@ -19558,10 +19558,10 @@ class sa {
|
|
|
19558
19558
|
top: 0px;
|
|
19559
19559
|
left: 0px;
|
|
19560
19560
|
`;
|
|
19561
|
-
this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), this.tooltipInstance = ga(Qt, {
|
|
19561
|
+
this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), console.log(this.tooltipContainer, "this.tooltipContainer"), this.tooltipInstance = ga(Qt, {
|
|
19562
19562
|
text: e,
|
|
19563
19563
|
alwaysVisible: !0
|
|
19564
|
-
}), this.tooltipInstance.mount(this.tooltipContainer), setTimeout(() => {
|
|
19564
|
+
}), this.tooltipInstance.mount(this.tooltipContainer), console.log(this.tooltipContainer, "this.tooltipContainer second"), setTimeout(() => {
|
|
19565
19565
|
var o;
|
|
19566
19566
|
if ((o = this.tooltipContainer) != null && o.firstChild) {
|
|
19567
19567
|
const { top: r, left: l, width: a } = n.getBoundingClientRect(), { width: d, height: f } = this.tooltipContainer.firstChild.getBoundingClientRect(), h = document.documentElement.scrollTop, c = `
|
package/dist/index.umd.cjs
CHANGED
|
@@ -210,7 +210,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
210
210
|
position: absolute;
|
|
211
211
|
top: 0px;
|
|
212
212
|
left: 0px;
|
|
213
|
-
`;this.tooltipContainer=document.createElement("div"),this.tooltipContainer.setAttribute("style",o),document.body.appendChild(this.tooltipContainer),this.tooltipInstance=i.createApp(Ct,{text:e,alwaysVisible:!0}),this.tooltipInstance.mount(this.tooltipContainer),setTimeout(()=>{var a;if((a=this.tooltipContainer)!=null&&a.firstChild){const{top:r,left:s,width:l}=n.getBoundingClientRect(),{width:u,height:h}=this.tooltipContainer.firstChild.getBoundingClientRect(),p=document.documentElement.scrollTop,f=`
|
|
213
|
+
`;this.tooltipContainer=document.createElement("div"),this.tooltipContainer.setAttribute("style",o),document.body.appendChild(this.tooltipContainer),console.log(this.tooltipContainer,"this.tooltipContainer"),this.tooltipInstance=i.createApp(Ct,{text:e,alwaysVisible:!0}),this.tooltipInstance.mount(this.tooltipContainer),console.log(this.tooltipContainer,"this.tooltipContainer second"),setTimeout(()=>{var a;if((a=this.tooltipContainer)!=null&&a.firstChild){const{top:r,left:s,width:l}=n.getBoundingClientRect(),{width:u,height:h}=this.tooltipContainer.firstChild.getBoundingClientRect(),p=document.documentElement.scrollTop,f=`
|
|
214
214
|
left: ${s+l/2-u/2}px!important;
|
|
215
215
|
top: ${r-h+p-5}px!important;
|
|
216
216
|
bottom: auto!important;
|
package/package.json
CHANGED
|
@@ -32,6 +32,8 @@ export default class Tooltip {
|
|
|
32
32
|
this.tooltipContainer.setAttribute("style", tooltipContainerStyles);
|
|
33
33
|
|
|
34
34
|
document.body.appendChild(this.tooltipContainer);
|
|
35
|
+
console.log(this.tooltipContainer, 'this.tooltipContainer');
|
|
36
|
+
|
|
35
37
|
this.tooltipInstance = createApp(IbTooltip, {
|
|
36
38
|
text: text,
|
|
37
39
|
alwaysVisible: true,
|
|
@@ -39,6 +41,8 @@ export default class Tooltip {
|
|
|
39
41
|
|
|
40
42
|
this.tooltipInstance.mount(this.tooltipContainer);
|
|
41
43
|
|
|
44
|
+
console.log(this.tooltipContainer, 'this.tooltipContainer second');
|
|
45
|
+
|
|
42
46
|
setTimeout(() => {
|
|
43
47
|
if (this.tooltipContainer?.firstChild) {
|
|
44
48
|
const { top, left, width } = el.getBoundingClientRect();
|