cloud-ide-element 1.0.72 → 1.0.74

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/index.d.ts CHANGED
@@ -595,7 +595,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
595
595
  readonly id: _angular_core.WritableSignal<string>;
596
596
  readonly isUploading: _angular_core.WritableSignal<boolean>;
597
597
  readonly uploadProgress: _angular_core.WritableSignal<number>;
598
- readonly uploadStatus: _angular_core.WritableSignal<"idle" | "start" | "uploading" | "success" | "error">;
598
+ readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "idle">;
599
599
  readonly files: _angular_core.WritableSignal<FileList | null>;
600
600
  readonly fileNames: _angular_core.WritableSignal<string[]>;
601
601
  readonly previewUrls: _angular_core.WritableSignal<string[]>;
@@ -676,7 +676,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
676
676
  multiple: boolean;
677
677
  showPreview: boolean;
678
678
  autoUpload: boolean;
679
- uploadStatus: "idle" | "start" | "uploading" | "success" | "error";
679
+ uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
680
680
  isUploading: boolean;
681
681
  uploadProgress: number;
682
682
  files: {
@@ -1769,12 +1769,14 @@ declare class CideEleFileManagerService {
1769
1769
  private readonly http;
1770
1770
  private readonly destroyRef;
1771
1771
  private readonly _baseUrl;
1772
+ private readonly _objectIdEndpoint;
1772
1773
  private readonly _userId;
1773
1774
  private readonly _isUploading;
1774
1775
  private readonly _uploadQueue;
1775
1776
  private readonly _activeUploads;
1776
1777
  private readonly _error;
1777
1778
  readonly baseUrl: _angular_core.Signal<string>;
1779
+ readonly objectIdEndpoint: _angular_core.Signal<string>;
1778
1780
  readonly userId: _angular_core.Signal<string>;
1779
1781
  readonly isUploading: _angular_core.Signal<boolean>;
1780
1782
  readonly uploadQueue: _angular_core.Signal<string[]>;
@@ -1810,9 +1812,16 @@ declare class CideEleFileManagerService {
1810
1812
  * @param userId The user ID to associate with uploaded files
1811
1813
  */
1812
1814
  setUserId(userId: string): void;
1815
+ /**
1816
+ * Set the object ID generation endpoint
1817
+ * Angular 20: Using signal-based state management
1818
+ * @param endpoint The endpoint for generating object IDs (e.g., '/utility/generateObjectId')
1819
+ */
1820
+ setObjectIdEndpoint(endpoint: string): void;
1813
1821
  /**
1814
1822
  * Generate Object ID for group uploads
1815
1823
  * Calls the backend API to generate a unique ObjectId for grouping multiple files
1824
+ * Uses the configurable object ID endpoint instead of hardcoded path
1816
1825
  * @returns Observable with the generated ObjectId
1817
1826
  */
1818
1827
  generateObjectId(): Observable<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"