@veltdev/sdk-dev 6.0.8-beta.1 → 6.0.8-beta.3
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/element/comment-element.model.d.ts +18 -0
- package/{chunk-T4CM6UKZ.js → chunk-AVALXKWQ.js} +1 -1
- package/{chunk-N4APL3ZG.js → chunk-E4HJ7YKV.js} +1 -1
- package/chunk-F46FHE6O.js +1 -0
- package/{chunk-QC3HLRNI.js → chunk-FIFNF23O.js} +1 -1
- package/{chunk-MRNSRINQ.js → chunk-FSDMNA2X.js} +1 -1
- package/chunk-FXBACOQJ.js +1 -0
- package/{chunk-LS3GLCPX.js → chunk-HG6W5JZA.js} +1 -1
- package/{chunk-I3U6YUMT.js → chunk-JGICU6Z4.js} +1 -1
- package/{chunk-D2BOLY5Q.js → chunk-JPCBTXDG.js} +1 -1
- package/{chunk-OTEHXO3L.js → chunk-NUVYBRLN.js} +1 -1
- package/{chunk-WNOKX7ML.js → chunk-NVHVXSVC.js} +1 -1
- package/{chunk-ANVOXADQ.js → chunk-OSXZUDM4.js} +1 -1
- package/{chunk-7DVALKQ7.js → chunk-QGHDOJHE.js} +1 -1
- package/{chunk-KES24H7E.js → chunk-QNQ45SC7.js} +1 -1
- package/{chunk-MIANWP6R.js → chunk-QU2E3FYA.js} +1 -1
- package/{chunk-NCVN3JXT.js → chunk-SF2KIWKT.js} +6 -6
- package/{chunk-23NZV3J5.js → chunk-U4GFMH6I.js} +1 -1
- package/chunk-VGZY4BCZ.js +1 -0
- package/{chunk-KMCCIFJ3.js → chunk-XA3PEI3J.js} +1 -1
- package/chunk-XXJBBXBG.js +193 -0
- 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 +7 -7
- 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 +3 -3
- package/chunk-7LUSUNI3.js +0 -1
- package/chunk-BARZUD2Z.js +0 -1
- package/chunk-G4MWCI3H.js +0 -193
- package/chunk-QVPRXGEH.js +0 -1
- /package/{chunk-52DNHP4V.js → chunk-HCZGU3VQ.js} +0 -0
package/chunk-QVPRXGEH.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as x}from"./chunk-7LUSUNI3.js";import{Ba as L,Ca as D,Ea as V,L as C,Q as v,R as y}from"./chunk-NCVN3JXT.js";import{Ua as d,Uh as I,Ya as m,a,b as l,da as o,ii as E,ki as U,qa as f,vc as u,wa as S,xc as p}from"./chunk-CRZGZZVQ.js";var A=(()=>{let r=class r extends V{set parentLocalUIState(t){try{t&&(this.localUIStateSignal=t,this.isLocalUIStateOwner=!1)}catch{}}get elementRef(){try{return this.hostElementRef}catch{return null}}getServiceComponentConfigSignal(){}constructor(){let t=o(S),e=o(D),i=o(p),h=o(E).get(I),g=o(L),c=o(U);super(t,e,i,h??void 0,void 0,g,c),this.defaultCondition=u(!0,{transform:n=>{try{return typeof n=="string"?n==="true"||n==="":n}catch{return!0}}}),this.isLocalUIStateOwner=!1,this.veltContextHost=new x({getHost:()=>this.hostElementRef?.nativeElement,ownerRef:this,getEntity:()=>this.getPublishedVeltEntity(),getLocalUIState:()=>this.isLocalUIStateOwner?this.localUIStateSignal:void 0,onContextChanged:()=>{this.adoptInheritedLocalUIState(),this.rebindServiceConfigFromPlacement(),this.onVeltContextChanged()},markForCheck:()=>this.cd?.markForCheck()}),this.isLocalUIStateRoot=!1,this.selfConnectedConfig=!1;try{this.hostElementRef=t,this.themeService=e,this.dynamicDataService=g,this.loggingService=c,this.cd=i,this.commentService=h??void 0,this.initializeLocalUIState()}catch(n){this.loggingService=this.loggingService||c,this.loggingService?.catch?.("Error in V2PrimitiveThemedBase constructor:",n)}}initializeLocalUIState(){this.localUIStateSignal=f(this.getDefaultLocalUIState()),this.isLocalUIStateOwner=!0}getConditionalClassesContext(){return{componentConfigSignal:this.componentConfigSignal}}ngOnInit(){try{this.adoptInheritedLocalUIState(),this.connectToServiceSignalIfStandalone(),this.dynamicDataService.applyConditionalClasses(this.hostElementRef?.nativeElement,this.getConditionalClassesContext()),this.setupA11yAttributes(),this.isLocalUIStateOwner&&this.setupDarkModeSync(),this.finalizeVeltContext()}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase ngOnInit:",t)}}adoptInheritedLocalUIState(){try{v({host:this.hostElementRef?.nativeElement,current:this.localUIStateSignal,isOwner:this.isLocalUIStateOwner,isRoot:this.isLocalUIStateRoot,adopt:t=>{this.localUIStateSignal=t,this.isLocalUIStateOwner=!1}})}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase adoptInheritedLocalUIState:",t)}}rebindServiceConfigFromPlacement(){try{if(!this.selfConnectedConfig)return;let t=this.getServiceComponentConfigSignal();if(!t||t===this.componentConfigSignal)return;let e=this.componentConfigSignal;this.componentConfigSignal=t;try{e?.update(i=>a({},i))}catch{}this.cd?.markForCheck()}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase rebindServiceConfigFromPlacement:",t)}}finalizeVeltContext(){this.veltContextHost.finalize()}getPublishedVeltEntity(){}getInheritedVeltEntity(){try{return y(this.hostElementRef?.nativeElement)}catch{return}}refreshVeltContextFromPlacement(){this.veltContextHost.refreshFromPlacement()}onVeltContextChanged(){}getInheritedVeltContextData(){try{return C(this.hostElementRef?.nativeElement)?.payload?.contextData||{}}catch{return{}}}connectToServiceSignalIfStandalone(){try{let t=this.componentConfigSignal();if(!t||!t?.uiState){this.selfConnectedConfig=!0;let e=this.getServiceComponentConfigSignal();e&&(this.componentConfigSignal=e)}}catch(t){this.loggingService.catch("Error connecting to service signal:",t)}}ngOnDestroy(){try{this.darkModeConfigSyncSubscription&&this.darkModeConfigSyncSubscription.unsubscribe(),this.veltContextHost.destroy(),super.ngOnDestroy()}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase ngOnDestroy:",t)}}setupA11yAttributes(){}setupDarkModeSync(){try{this.darkModeConfigSyncSubscription=this.onDarkModeChange().subscribe(t=>{try{if(this.componentConfigSignal&&typeof this.componentConfigSignal=="function"){let e=this.componentConfigSignal();e&&e.uiState&&e.uiState.darkMode!==t&&this.componentConfigSignal.update(i=>l(a({},i),{uiState:l(a({},i.uiState),{darkMode:t})}))}}catch(e){this.loggingService.catch("Error in darkMode sync subscription:",e)}})}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase setupDarkModeSync:",t)}}};r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=d({type:r,selectors:[["app-v2-primitive-themed-base"]],inputs:{defaultCondition:[1,"defaultCondition"],parentLocalUIState:"parentLocalUIState"},standalone:!1,features:[m],decls:0,vars:0,template:function(e,i){},encapsulation:2});let s=r;return s})();export{A as a};
|
|
File without changes
|