cloud-ide-element 1.0.104 → 1.0.106

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.
@@ -2972,6 +2972,9 @@ class CideEleFileManagerService {
2972
2972
  * @returns Array of files for the group
2973
2973
  */
2974
2974
  getFetchedFilesByGroupId(groupId) {
2975
+ console.log("getFetchedFilesByGroupId getFetchedFilesByGroupId", groupId);
2976
+ console.log("getFetchedFilesByGroupId this._fetchedFiles()", this._fetchedFiles());
2977
+ console.log("getFetchedFilesByGroupId this._fetchedFiles().get(groupId)", this._fetchedFiles().get(groupId));
2975
2978
  return this._fetchedFiles().get(groupId) || [];
2976
2979
  }
2977
2980
  /**
@@ -2983,7 +2986,7 @@ class CideEleFileManagerService {
2983
2986
  * Trigger floating uploader to show
2984
2987
  */
2985
2988
  triggerFloatingUploaderShow() {
2986
- console.log('🎬 [FileManagerService] Triggering floating uploader to show');
2989
+ console.log('🎬 [FileManagerService] Triggering floating uploader to show groupId');
2987
2990
  this._showFloatingUploader.set(true);
2988
2991
  // Reset after a short delay to allow components to react
2989
2992
  setTimeout(() => {
@@ -3344,8 +3347,10 @@ class CideEleFloatingFileUploaderComponent {
3344
3347
  console.log('🔍 [FloatingFileUploader] No group ID set, returning empty array');
3345
3348
  return [];
3346
3349
  }
3350
+ console.log("groupId groupId", groupId);
3347
3351
  const files = this.fileManagerService.getAllFilesForGroup(groupId);
3348
3352
  const fetchedFiles = this.fileManagerService.getFetchedFilesByGroupId(groupId);
3353
+ console.log("fetchedFiles fetchedFiles", fetchedFiles);
3349
3354
  const activeUploads = Array.from(this.fileManagerService.activeUploads().entries()).filter(([_, upload]) => upload.groupId === groupId);
3350
3355
  console.log('🔍 [FloatingFileUploader] allFilesForGroup computed - DETAILED:', {
3351
3356
  groupId,
@@ -4686,12 +4691,13 @@ class CideEleFileInputComponent {
4686
4691
  }
4687
4692
  const groupId = this.groupId();
4688
4693
  if (groupId) {
4694
+ console.log("groupId groupId", groupId);
4689
4695
  // Fetch files for the group and trigger floating uploader to show
4690
4696
  this.fileManagerService.fetchAndStoreFilesByGroupId(groupId)
4691
4697
  .pipe(takeUntilDestroyed(this.destroyRef))
4692
4698
  .subscribe({
4693
4699
  next: (files) => {
4694
- console.log('✅ [FileInput] Files fetched for floating uploader:', files.length);
4700
+ console.log('✅ [FileInput] Files fetched for floating uploader: groupId', files.length);
4695
4701
  // Trigger the floating uploader to show via service
4696
4702
  this.fileManagerService.triggerFloatingUploaderShow();
4697
4703
  },