cloud-ide-element 1.0.69 → 1.0.70

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.
@@ -3154,7 +3154,6 @@ class CideEleFileInputComponent {
3154
3154
  placeholderIcon = '📷';
3155
3155
  autoUpload = false;
3156
3156
  uploadData = {};
3157
- multi = false; // New property for multiple file upload mode
3158
3157
  // Traditional @Output() decorators
3159
3158
  fileChange = new EventEmitter();
3160
3159
  uploadSuccess = new EventEmitter();
@@ -3177,7 +3176,6 @@ class CideEleFileInputComponent {
3177
3176
  placeholderIconSignal = signal(this.placeholderIcon, ...(ngDevMode ? [{ debugName: "placeholderIconSignal" }] : []));
3178
3177
  autoUploadSignal = signal(this.autoUpload, ...(ngDevMode ? [{ debugName: "autoUploadSignal" }] : []));
3179
3178
  uploadDataSignal = signal(this.uploadData, ...(ngDevMode ? [{ debugName: "uploadDataSignal" }] : []));
3180
- multiSignal = signal(this.multi, ...(ngDevMode ? [{ debugName: "multiSignal" }] : []));
3181
3179
  // Reactive state with signals
3182
3180
  id = signal(Math.random().toString(36).substring(2, 10), ...(ngDevMode ? [{ debugName: "id" }] : []));
3183
3181
  isUploading = signal(false, ...(ngDevMode ? [{ debugName: "isUploading" }] : []));
@@ -3251,7 +3249,6 @@ class CideEleFileInputComponent {
3251
3249
  this.placeholderIconSignal.set(this.placeholderIcon);
3252
3250
  this.autoUploadSignal.set(this.autoUpload);
3253
3251
  this.uploadDataSignal.set(this.uploadData);
3254
- this.multiSignal.set(this.multi);
3255
3252
  }
3256
3253
  ngOnChanges(changes) {
3257
3254
  // Angular 20: Update signals when @Input() values change
@@ -3287,8 +3284,6 @@ class CideEleFileInputComponent {
3287
3284
  this.autoUploadSignal.set(this.autoUpload);
3288
3285
  if (changes['uploadData'])
3289
3286
  this.uploadDataSignal.set(this.uploadData);
3290
- if (changes['multi'])
3291
- this.multiSignal.set(this.multi);
3292
3287
  }
3293
3288
  writeValue(value) {
3294
3289
  console.log('📝 [FileInput] writeValue called with:', value);
@@ -3346,7 +3341,7 @@ class CideEleFileInputComponent {
3346
3341
  this.onTouched();
3347
3342
  // Auto upload if enabled
3348
3343
  if (this.autoUploadSignal() && selectedFiles && selectedFiles.length > 0) {
3349
- if (this.multiSignal() && this.multipleSignal()) {
3344
+ if (this.multipleSignal() && selectedFiles.length > 1) {
3350
3345
  console.log('🚀 [FileInput] Auto upload enabled for multiple files:', selectedFiles.length);
3351
3346
  this.uploadMultipleFiles(Array.from(selectedFiles));
3352
3347
  }
@@ -3921,7 +3916,7 @@ class CideEleFileInputComponent {
3921
3916
  return null; // No validation errors
3922
3917
  }
3923
3918
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideEleFileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3924
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: CideEleFileInputComponent, isStandalone: true, selector: "cide-ele-file-input", inputs: { label: "label", accept: "accept", multiple: "multiple", disabled: "disabled", required: "required", helperText: "helperText", errorText: "errorText", showPreview: "showPreview", previewWidth: "previewWidth", previewHeight: "previewHeight", previewBoxMode: "previewBoxMode", showFileName: "showFileName", placeholderText: "placeholderText", placeholderIcon: "placeholderIcon", autoUpload: "autoUpload", uploadData: "uploadData", multi: "multi" }, outputs: { fileChange: "fileChange", uploadSuccess: "uploadSuccess", uploadError: "uploadError", uploadProgressChange: "uploadProgressChange" }, providers: [
3919
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: CideEleFileInputComponent, isStandalone: true, selector: "cide-ele-file-input", inputs: { label: "label", accept: "accept", multiple: "multiple", disabled: "disabled", required: "required", helperText: "helperText", errorText: "errorText", showPreview: "showPreview", previewWidth: "previewWidth", previewHeight: "previewHeight", previewBoxMode: "previewBoxMode", showFileName: "showFileName", placeholderText: "placeholderText", placeholderIcon: "placeholderIcon", autoUpload: "autoUpload", uploadData: "uploadData" }, outputs: { fileChange: "fileChange", uploadSuccess: "uploadSuccess", uploadError: "uploadError", uploadProgressChange: "uploadProgressChange" }, providers: [
3925
3920
  {
3926
3921
  provide: NG_VALUE_ACCESSOR,
3927
3922
  useExisting: CideEleFileInputComponent,
@@ -3980,8 +3975,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
3980
3975
  type: Input
3981
3976
  }], uploadData: [{
3982
3977
  type: Input
3983
- }], multi: [{
3984
- type: Input
3985
3978
  }], fileChange: [{
3986
3979
  type: Output
3987
3980
  }], uploadSuccess: [{