@veltdev/sdk-dev 6.0.50-beta.4 → 6.0.50-beta.6
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/custom-css.data.model.d.ts +3 -2
- package/{chunk-TBXKEMWQ.js → chunk-22I4DH53.js} +1 -1
- package/{chunk-Z5HOZ663.js → chunk-2UZN24LU.js} +1 -1
- package/{chunk-LTJOCETF.js → chunk-4F4E7EFW.js} +1 -1
- package/{chunk-NZHMGDTH.js → chunk-5GGSP4VM.js} +1 -1
- package/{chunk-T6V4S7QH.js → chunk-6YADUX5R.js} +1 -1
- package/{chunk-ZLYWK2VG.js → chunk-77YRJB6U.js} +1 -1
- package/{chunk-BV4TNIOZ.js → chunk-7XUMHBJU.js} +1 -1
- package/{chunk-FXWWWEBW.js → chunk-A3NJZPJU.js} +1 -1
- package/{chunk-AB2WGHOS.js → chunk-AF2PV57S.js} +1 -1
- package/{chunk-IVZUDPN3.js → chunk-AZPZ6YNE.js} +1 -1
- package/{chunk-HLC2AZHF.js → chunk-DQRA6TYX.js} +1 -1
- package/{chunk-FCOBFDQS.js → chunk-IWNLZTY7.js} +1 -1
- package/{chunk-4IBV5UCY.js → chunk-JNWDY6EC.js} +1 -1
- package/{chunk-2X43K3RH.js → chunk-MQWR574P.js} +1 -1
- package/{chunk-DRRKYAJ2.js → chunk-NPHXJUYD.js} +1 -1
- package/{chunk-FQ4KYGRK.js → chunk-NTUJPDO3.js} +1 -1
- package/{chunk-YPU2HZ7F.js → chunk-OC27IKXX.js} +1 -1
- package/{chunk-HVVSOIIK.js → chunk-PNGL2BK2.js} +1 -1
- package/{chunk-CKTADJ5E.js → chunk-RQ7JAEYC.js} +1 -1
- package/{chunk-JW6XN3VT.js → chunk-RSU53L4Z.js} +1 -1
- package/{chunk-YJ72I5DT.js → chunk-S7GV42W6.js} +1 -1
- package/{chunk-L7CPPZOT.js → chunk-TIAQKD26.js} +1 -1
- package/{chunk-GQQEMXF4.js → chunk-TV5RRJEX.js} +1 -1
- package/{chunk-FNNVYVET.js → chunk-U5WQDAMR.js} +1 -1
- package/{chunk-PTU55FCA.js → chunk-U65L5XOP.js} +1 -1
- package/{chunk-3EEXUWWU.js → chunk-V5JKL7XI.js} +1 -1
- package/{chunk-LC6FO2ZL.js → chunk-VJ47SA66.js} +20 -20
- package/{chunk-6YAIJWR5.js → chunk-WIO7FLS6.js} +1 -1
- package/{chunk-B7AYR5M5.js → chunk-XBR7WTYL.js} +1 -1
- package/{chunk-RAZFUE7H.js → chunk-Y2R3M2JH.js} +1 -1
- package/{chunk-FFATDE7D.js → chunk-YOXKQAJM.js} +1 -1
- package/{chunk-NJ4DESBW.js → chunk-ZB27UMZA.js} +1 -1
- package/{chunk-KC7IFS73.js → chunk-ZGDIZTBA.js} +1 -1
- package/chunk-ZHFA5BHC.js +6 -0
- package/{chunk-B7VI7OAD.js → chunk-ZJ2MICFG.js} +1 -1
- package/{chunk-LUEDRA66.js → chunk-ZZE4KN4N.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 +1 -1
- 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-portable.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 +5 -5
- package/chunk-A5Z4DFLZ.js +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as V}from"./chunk-
|
|
1
|
+
import{i as V}from"./chunk-ZZE4KN4N.js";import{Ha as x,Ia as L,Ka as D,M as C,R as v,S as I}from"./chunk-ZHFA5BHC.js";import{Wa as m,_a as d,_i as y,a as s,b as h,fa as o,oj as E,qj as U,sa as f,xc as u,ya as S,zc as p}from"./chunk-VJ47SA66.js";var A=(()=>{let r=class r extends D{set parentLocalUIState(t){try{t&&(this.localUIStateSignal=t,this.isLocalUIStateOwner=!1,this._localUIStateFromExplicitInput=!0)}catch{}}get elementRef(){try{return this.hostElementRef}catch{return null}}getServiceComponentConfigSignal(){}constructor(){let t=o(S),e=o(L),i=o(p),a=o(E).get(y),g=o(x),l=o(U);super(t,e,i,a??void 0,void 0,g,l),this.defaultCondition=u(!0,{transform:n=>{try{return typeof n=="string"?n==="true"||n==="":n}catch{return!0}}}),this.isLocalUIStateOwner=!1,this._localUIStateFromExplicitInput=!1,this.veltContextHost=new V({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,this.ownsConfigSignal=!0;try{this.hostElementRef=t,this.themeService=e,this.dynamicDataService=g,this.loggingService=l,this.cd=i,this.commentService=a??void 0,this.initializeLocalUIState()}catch(n){this.loggingService=this.loggingService||l,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,fromExplicitInput:this._localUIStateFromExplicitInput,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,i=this.ownsConfigSignal;if(this.componentConfigSignal=t,this.ownsConfigSignal=!1,i)try{e?.update(a=>s({},a))}catch{}this.cd?.markForCheck()}catch(t){this.loggingService.catch("Error in V2PrimitiveThemedBase rebindServiceConfigFromPlacement:",t)}}finalizeVeltContext(){this.veltContextHost.finalize()}getPublishedVeltEntity(){}getInheritedVeltEntity(){try{return I(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,this.ownsConfigSignal=!1)}}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=>h(s({},i),{uiState:h(s({},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=m({type:r,selectors:[["app-v2-primitive-themed-base"]],inputs:{defaultCondition:[1,"defaultCondition"],parentLocalUIState:"parentLocalUIState"},standalone:!1,features:[d],decls:0,vars:0,template:function(e,i){},encapsulation:2});let c=r;return c})();export{A as a};
|