@veltdev/sdk 6.0.0 → 6.0.2
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/app/models/data/user-contact.data.model.d.ts +1 -1
- package/{chunk-SQFKJHOG.js → chunk-26DIV6E7.js} +1 -1
- package/{chunk-XRZNM4CN.js → chunk-46B2CUKN.js} +1 -1
- package/{chunk-OHAJBWNV.js → chunk-5BR26BEV.js} +1 -1
- package/{chunk-EDWMHG7H.js → chunk-A2ADOTT2.js} +1 -1
- package/{chunk-C7KQ5A32.js → chunk-ABE6BRLA.js} +1 -1
- package/{chunk-5SLN7FX7.js → chunk-BIKJZQI7.js} +1 -1
- package/{chunk-CWFSD2US.js → chunk-CKREFLIC.js} +1 -1
- package/{chunk-2XHK7MT5.js → chunk-CV2DVQ74.js} +1 -1
- package/{chunk-2AUPKOSH.js → chunk-DWRAZJUS.js} +1 -1
- package/{chunk-4HIBO2GD.js → chunk-ESGKIKD2.js} +1 -1
- package/{chunk-LFCRBNLB.js → chunk-HPAD3YMX.js} +1 -1
- package/{chunk-R7HP4WGH.js → chunk-HQF64VAX.js} +1 -1
- package/{chunk-K5KXIRF7.js → chunk-HRABDLFX.js} +1 -1
- package/{chunk-IOK5YXEI.js → chunk-KPSBV456.js} +1 -1
- package/{chunk-5ROEET52.js → chunk-KYNZQ2VL.js} +1 -1
- package/chunk-KZQUBQYS.js +1 -0
- package/{chunk-QVZDFTLL.js → chunk-NERQ7VJ7.js} +1 -1
- package/{chunk-4E2D7C2M.js → chunk-NRLCAVAA.js} +1 -1
- package/{chunk-DFNXOOOA.js → chunk-OBGPRH2B.js} +1 -1
- package/chunk-OS3EVGBB.js +1 -0
- package/{chunk-LTLUBTAT.js → chunk-PKEYLSUH.js} +1 -1
- package/{chunk-EK7JAX4S.js → chunk-QBNL7SGL.js} +1 -1
- package/{chunk-J3WXD4FD.js → chunk-QZ6KWEAA.js} +1 -1
- package/{chunk-UE6Q32NL.js → chunk-UKNMRBCC.js} +1 -1
- package/{chunk-HOBZYAGJ.js → chunk-WD2RX4QO.js} +1 -1
- package/{chunk-6OCT2HU6.js → chunk-WYYARLR4.js} +1 -1
- package/{chunk-2ERBDTRD.js → chunk-Y2ECWETM.js} +6 -6
- package/{chunk-4SWLI5F7.js → chunk-Y4O7RRPO.js} +1 -1
- package/{chunk-NKVJUESV.js → chunk-Z7YM7F6H.js} +1 -1
- package/{chunk-UPGKWTDL.js → chunk-ZDJNFA2R.js} +1 -1
- package/{chunk-ZBBBP7WD.js → chunk-ZERJYX6N.js} +1 -1
- package/{chunk-EZJYHVD5.js → chunk-ZJ7LHKCQ.js} +1 -1
- package/{chunk-7F6IKICX.js → chunk-ZNFTWKSJ.js} +1 -1
- package/package.json +1 -1
- package/velt-activity-log.js +1 -1
- package/velt-area.js +1 -1
- package/velt-arrow.js +1 -1
- package/velt-comment.js +6 -6
- package/velt-crdt.js +1 -1
- package/velt-cursor.js +1 -1
- package/velt-huddle.js +1 -1
- package/velt-live-state-sync.js +1 -1
- package/velt-notification.js +1 -1
- package/velt-presence.js +1 -1
- package/velt-reaction.js +1 -1
- package/velt-recorder.js +1 -1
- package/velt-rewriter.js +1 -1
- package/velt-selection.js +1 -1
- package/velt-tag.js +1 -1
- package/velt-user-invite.js +1 -1
- package/velt-user-request.js +1 -1
- package/velt-video-player.js +1 -1
- package/velt-views.js +1 -1
- package/velt.js +2 -2
- package/chunk-DEMYK7GQ.js +0 -1
- package/chunk-EUB6XEZW.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ab as a,Bb as h,Pa as o,Ua as c,db as m,ki as g,si as l,wa as s}from"./chunk-
|
|
1
|
+
import{Ab as a,Bb as h,Pa as o,Ua as c,db as m,ki as g,si as l,wa as s}from"./chunk-UKNMRBCC.js";var d=["*"],C=(()=>{let i=class i{constructor(t,e,n){this.elementRef=t,this.domService=e,this.loggingService=n,this.veltElement=!0}ngAfterViewInit(){try{this.customCssSubscription=this.domService.subscribeInjectCustomCss(this.elementRef)}catch(t){this.loggingService.catch("Error in ShadowDomComponent ngAfterViewInit: ",t)}}ngOnDestroy(){try{this.customCssSubscription?.unsubscribe()}catch(t){this.loggingService.catch("Error in ShadowDomComponent ngOnDestroy: ",t)}}};i.\u0275fac=function(e){return new(e||i)(o(s),o(l),o(g))},i.\u0275cmp=c({type:i,selectors:[["velt-shadow-dom-internal"]],hostVars:1,hostBindings:function(e,n){e&2&&m("data-velt-element",n.veltElement)},ngContentSelectors:d,decls:1,vars:0,template:function(e,n){e&1&&(a(),h(0))},styles:[`:host{width:100%}
|
|
2
2
|
`],encapsulation:3,changeDetection:0});let r=i;return r})();export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ga as c,Pa as n,Wa as o,si as h,ua as a,wa as r}from"./chunk-
|
|
1
|
+
import{Ga as c,Pa as n,Wa as o,si as h,ua as a,wa as r}from"./chunk-UKNMRBCC.js";var I=(()=>{let e=class e{constructor(t,i){this.domService=t,this.elementRef=i,this.clickOutside=new c}ngOnInit(){}ngAfterViewInit(){setTimeout(()=>{this.subscription=this.domService.onDocumentClickSubject$().subscribe(t=>{let i=this.checkInsideClick(t,this.elementRef.nativeElement);!i&&this.clickOutsideHandler&&typeof this.clickOutsideHandler=="function"&&(i=this.clickOutsideHandler(t.target,this.elementRef.nativeElement)),i||this.clickOutside.emit()})},500)}ngOnDestroy(){this.subscription?.unsubscribe()}checkInsideClick(t,i){return t.composedPath().includes(i)}};e.\u0275fac=function(i){return new(i||e)(n(h),n(r))},e.\u0275dir=o({type:e,selectors:[["","snippylyClickOutside",""]],inputs:{clickOutsideHandler:"clickOutsideHandler"},outputs:{clickOutside:"clickOutside"}});let s=e;return s})();var b=(()=>{let e=class e{constructor(t){this.elementRef=t,this.lastPosition=null,this.positionChange=new c,this.disabled=!1,this.timeSpentInMs=0,this.MAX_TIME_SPENT_IN_MS=6e4}ngAfterViewInit(){try{this.toggleTrackingPosition()}catch{}}toggleTrackingPosition(){try{this.disabled?this.stopTracking():this.startTrackingPosition()}catch{}}startTrackingPosition(){try{if(this.intervalId)return;this.intervalId=setInterval(()=>{if(this.timeSpentInMs+=10,this.timeSpentInMs>this.MAX_TIME_SPENT_IN_MS){this.stopTracking();return}let t=this.elementRef.nativeElement.getBoundingClientRect();(!this.lastPosition||!this.arePositionsEqual(this.lastPosition,t))&&(this.lastPosition=t,this.positionChange.emit(t))},10)}catch{}}stopTracking(){try{this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null,this.timeSpentInMs=0)}catch{}}arePositionsEqual(t,i){try{return t.top===i.top&&t.left===i.left&&t.bottom===i.bottom&&t.right===i.right&&t.width===i.width&&t.height===i.height}catch{return!0}}ngOnChanges(){try{this.toggleTrackingPosition()}catch{}}ngOnDestroy(){try{this.stopTracking()}catch{}}};e.\u0275fac=function(i){return new(i||e)(n(r))},e.\u0275dir=o({type:e,selectors:[["","veltPositionObserver",""]],inputs:{disabled:[0,"veltPositionObserverDisabled","disabled"]},outputs:{positionChange:"positionChange"},features:[a]});let s=e;return s})();export{I as a,b};
|