@rtsee/ngx 0.0.109 → 0.0.110

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, Type, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { OnInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, OnChanges, SimpleChanges, Type } from '@angular/core';
3
3
  import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
4
4
  import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask } from '@rtsee/messenger';
5
5
  import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
@@ -677,7 +677,7 @@ declare class ChatComponent implements OnInit, OnDestroy {
677
677
  static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "rtsee-chat", never, { "chat": { "alias": "chat"; "required": false; }; "chatData": { "alias": "chatData"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
678
678
  }
679
679
 
680
- declare class MessageComponent implements OnInit, AfterViewInit {
680
+ declare class MessageComponent implements OnInit, AfterViewInit, OnChanges {
681
681
  private widgetsService;
682
682
  private componentFactoryResolver;
683
683
  timeFormatService: TimeFormatHelperService;
@@ -686,8 +686,11 @@ declare class MessageComponent implements OnInit, AfterViewInit {
686
686
  member: RTSeeChatMember<any>;
687
687
  messenger: RTSeeMessenger;
688
688
  widgetHost: WidgetDirective;
689
+ private widgetRef;
690
+ private widgetHasMessageInput;
689
691
  constructor(widgetsService: MessageWidgetsService, componentFactoryResolver: ComponentFactoryResolver, timeFormatService: TimeFormatHelperService);
690
692
  ngOnInit(): void;
693
+ ngOnChanges(changes: SimpleChanges): void;
691
694
  ngAfterViewInit(): void;
692
695
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
693
696
  static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "rtsee-message", never, { "chat": { "alias": "chat"; "required": false; }; "message": { "alias": "message"; "required": false; }; "member": { "alias": "member"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
@@ -96,6 +96,54 @@
96
96
  right: $rts-offset-sm;
97
97
  cursor: pointer;
98
98
  font-size: 24px;
99
+ transition: right 0.2s ease;
100
+
101
+ &.rtsee-shifted {
102
+ right: calc(#{$rts-offset-sm} + 44px);
103
+ }
99
104
  }
105
+
106
+ .rtsee-image-uploader-optimize-btn {
107
+ position: absolute;
108
+ bottom: $rts-offset-sm;
109
+ right: $rts-offset-sm;
110
+ z-index: 5;
111
+ cursor: pointer;
112
+
113
+ .p-button {
114
+ width: 36px;
115
+ height: 36px;
116
+ padding: 0;
117
+ background: linear-gradient(135deg, #ffd166 0%, #f8961e 100%);
118
+ border: 1px solid rgba(255, 255, 255, 0.35);
119
+ box-shadow: 0 4px 12px rgba(248, 150, 30, 0.45);
120
+ animation: rtsee-optimize-pulse 2.4s ease-in-out infinite;
121
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
122
+
123
+ .p-button-icon {
124
+ font-size: 15px;
125
+ color: #3d2600;
126
+ }
127
+
128
+ &:hover {
129
+ transform: scale(1.1);
130
+ box-shadow: 0 6px 18px rgba(248, 150, 30, 0.65);
131
+ }
132
+ }
133
+
134
+ &.rtsee-optimizing .p-button {
135
+ animation: none;
136
+ opacity: 0.85;
137
+ }
138
+ }
139
+ }
140
+ }
141
+
142
+ @keyframes rtsee-optimize-pulse {
143
+ 0%, 100% {
144
+ box-shadow: 0 4px 12px rgba(248, 150, 30, 0.45);
145
+ }
146
+ 50% {
147
+ box-shadow: 0 0 0 6px rgba(248, 150, 30, 0.18), 0 4px 12px rgba(248, 150, 30, 0.45);
100
148
  }
101
149
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.109",
2
+ "version": "0.0.110",
3
3
  "name": "@rtsee/ngx",
4
4
  "module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
5
5
  "types": "./dist/ngx/index.d.ts",
@@ -40,15 +40,15 @@
40
40
  "@angular/platform-browser-dynamic": "^20.1.2",
41
41
  "@angular/router": "^20.1.2",
42
42
  "@primeuix/themes": "^1.2.3",
43
- "@rtsee/common": "^0.0.80",
44
- "@rtsee/conference": "^0.0.81",
45
- "@rtsee/core": "^0.0.124",
46
- "@rtsee/events-dashboard": "^0.0.114",
47
- "@rtsee/factory": "^0.0.123",
48
- "@rtsee/messenger": "^0.0.114",
49
- "@rtsee/presentation": "^0.0.113",
50
- "@rtsee/signaling-client": "^0.0.127",
51
- "@rtsee/utilities-ui": "^0.0.45",
43
+ "@rtsee/common": "^0.0.81",
44
+ "@rtsee/conference": "^0.0.82",
45
+ "@rtsee/core": "^0.0.125",
46
+ "@rtsee/events-dashboard": "^0.0.115",
47
+ "@rtsee/factory": "^0.0.124",
48
+ "@rtsee/messenger": "^0.0.115",
49
+ "@rtsee/presentation": "^0.0.114",
50
+ "@rtsee/signaling-client": "^0.0.128",
51
+ "@rtsee/utilities-ui": "^0.0.46",
52
52
  "@stripe/stripe-js": "^8.6.1",
53
53
  "@types/gtag.js": "^0.0.20",
54
54
  "@types/node": "~24.0.14",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "eb5dfac490a2147ea4c83232925ebc2904914211"
74
+ "gitHead": "b103c5583d87f361e10ab55e44807600d573b588"
75
75
  }