cloud-ide-element 1.1.0 → 1.1.1
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/fesm2022/cloud-ide-element.mjs +32 -19
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +11 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, Renderer2, ElementRef, AfterContentInit, QueryList, ViewContainerRef,
|
|
2
|
+
import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, Renderer2, ElementRef, AfterContentInit, QueryList, ViewContainerRef, Signal, AfterViewInit, Type, Injector, ComponentRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
4
|
import { elementStyleType, labelPlacementType, labelDirType, autocapitalizeType, autocompleteType, controlType, inputType, themeSize, spinnerType, iconType, selectSearchType, ICoreSype, GetElementDataRequest, fileManagerListByGroupIdControllerResponse } from 'cloud-ide-lms-model';
|
|
5
5
|
import { Router, NavigationExtras } from '@angular/router';
|
|
@@ -454,6 +454,10 @@ declare class CideSelectComponent implements ControlValueAccessor, Validator, On
|
|
|
454
454
|
dropdownContainer: ViewContainerRef;
|
|
455
455
|
dropdownPosition: 'bottom' | 'top';
|
|
456
456
|
private isDropdownInteraction;
|
|
457
|
+
dropdownWidthConstraints: {
|
|
458
|
+
minWidth: number;
|
|
459
|
+
maxWidth: number;
|
|
460
|
+
};
|
|
457
461
|
private debugId;
|
|
458
462
|
private timeoutIds;
|
|
459
463
|
private interactionCount;
|
|
@@ -600,7 +604,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
600
604
|
readonly id: _angular_core.WritableSignal<string>;
|
|
601
605
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
602
606
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
603
|
-
readonly uploadStatus: _angular_core.WritableSignal<"
|
|
607
|
+
readonly uploadStatus: _angular_core.WritableSignal<"start" | "success" | "error" | "uploading" | "idle">;
|
|
604
608
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
605
609
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
606
610
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -727,7 +731,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
727
731
|
multiple: boolean;
|
|
728
732
|
showPreview: boolean;
|
|
729
733
|
autoUpload: boolean;
|
|
730
|
-
uploadStatus: "
|
|
734
|
+
uploadStatus: "start" | "success" | "error" | "uploading" | "idle";
|
|
731
735
|
isUploading: boolean;
|
|
732
736
|
uploadProgress: number;
|
|
733
737
|
files: {
|
|
@@ -2530,10 +2534,10 @@ interface FloatingContainerConfig {
|
|
|
2530
2534
|
componentId?: string;
|
|
2531
2535
|
componentConfig?: {
|
|
2532
2536
|
inputs?: {
|
|
2533
|
-
[key: string]: any
|
|
2537
|
+
[key: string]: Signal<any>;
|
|
2534
2538
|
};
|
|
2535
2539
|
outputs?: {
|
|
2536
|
-
[key: string]: (event: any) => void;
|
|
2540
|
+
[key: string]: (event: Signal<any>) => void;
|
|
2537
2541
|
};
|
|
2538
2542
|
};
|
|
2539
2543
|
}
|
|
@@ -2709,10 +2713,10 @@ declare class CideEleFloatingContainerService {
|
|
|
2709
2713
|
getComponentConfig(config: FloatingContainerConfig): {
|
|
2710
2714
|
componentId: string;
|
|
2711
2715
|
inputs: {
|
|
2712
|
-
[key: string]: any
|
|
2716
|
+
[key: string]: _angular_core.Signal<any>;
|
|
2713
2717
|
} | undefined;
|
|
2714
2718
|
outputs: {
|
|
2715
|
-
[key: string]: (event: any) => void;
|
|
2719
|
+
[key: string]: (event: _angular_core.Signal<any>) => void;
|
|
2716
2720
|
} | undefined;
|
|
2717
2721
|
} | undefined;
|
|
2718
2722
|
/**
|