cloud-ide-element 1.0.121 → 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 +316 -282
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +15 -8
- 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: {
|
|
@@ -765,6 +769,7 @@ interface FloatingFileUploaderData {
|
|
|
765
769
|
declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy {
|
|
766
770
|
private destroyRef;
|
|
767
771
|
private fileManagerService;
|
|
772
|
+
fileInputRef: ElementRef<HTMLInputElement>;
|
|
768
773
|
data: FloatingFileUploaderData;
|
|
769
774
|
isVisible: _angular_core.WritableSignal<boolean>;
|
|
770
775
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
@@ -2529,10 +2534,10 @@ interface FloatingContainerConfig {
|
|
|
2529
2534
|
componentId?: string;
|
|
2530
2535
|
componentConfig?: {
|
|
2531
2536
|
inputs?: {
|
|
2532
|
-
[key: string]: any
|
|
2537
|
+
[key: string]: Signal<any>;
|
|
2533
2538
|
};
|
|
2534
2539
|
outputs?: {
|
|
2535
|
-
[key: string]: (event: any) => void;
|
|
2540
|
+
[key: string]: (event: Signal<any>) => void;
|
|
2536
2541
|
};
|
|
2537
2542
|
};
|
|
2538
2543
|
}
|
|
@@ -2541,6 +2546,7 @@ declare class CideEleFloatingContainerComponent implements AfterViewInit, OnDest
|
|
|
2541
2546
|
isMinimized: Signal<boolean>;
|
|
2542
2547
|
isMaximized: Signal<boolean>;
|
|
2543
2548
|
isVisible: Signal<boolean>;
|
|
2549
|
+
zIndex: Signal<number>;
|
|
2544
2550
|
closeEvent: EventEmitter<string>;
|
|
2545
2551
|
minimizeEvent: EventEmitter<string>;
|
|
2546
2552
|
maximizeEvent: EventEmitter<string>;
|
|
@@ -2579,7 +2585,7 @@ declare class CideEleFloatingContainerComponent implements AfterViewInit, OnDest
|
|
|
2579
2585
|
close(): void;
|
|
2580
2586
|
getHeaderBackground(): string;
|
|
2581
2587
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingContainerComponent, never>;
|
|
2582
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingContainerComponent, "cide-ele-floating-container", never, { "config": { "alias": "config"; "required": false; }; "isMinimized": { "alias": "isMinimized"; "required": false; }; "isMaximized": { "alias": "isMaximized"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; }, { "closeEvent": "closeEvent"; "minimizeEvent": "minimizeEvent"; "maximizeEvent": "maximizeEvent"; "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
2588
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingContainerComponent, "cide-ele-floating-container", never, { "config": { "alias": "config"; "required": false; }; "isMinimized": { "alias": "isMinimized"; "required": false; }; "isMaximized": { "alias": "isMaximized"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; }, { "closeEvent": "closeEvent"; "minimizeEvent": "minimizeEvent"; "maximizeEvent": "maximizeEvent"; "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
2583
2589
|
}
|
|
2584
2590
|
|
|
2585
2591
|
interface FloatingComponentConfig {
|
|
@@ -2707,10 +2713,10 @@ declare class CideEleFloatingContainerService {
|
|
|
2707
2713
|
getComponentConfig(config: FloatingContainerConfig): {
|
|
2708
2714
|
componentId: string;
|
|
2709
2715
|
inputs: {
|
|
2710
|
-
[key: string]: any
|
|
2716
|
+
[key: string]: _angular_core.Signal<any>;
|
|
2711
2717
|
} | undefined;
|
|
2712
2718
|
outputs: {
|
|
2713
|
-
[key: string]: (event: any) => void;
|
|
2719
|
+
[key: string]: (event: _angular_core.Signal<any>) => void;
|
|
2714
2720
|
} | undefined;
|
|
2715
2721
|
} | undefined;
|
|
2716
2722
|
/**
|
|
@@ -2738,6 +2744,7 @@ declare class CideEleFloatingContainerManagerComponent {
|
|
|
2738
2744
|
|
|
2739
2745
|
declare class CideEleFloatingFeaturesService {
|
|
2740
2746
|
private containerService;
|
|
2747
|
+
private shortcutsService;
|
|
2741
2748
|
constructor();
|
|
2742
2749
|
showFeature(featureId: string, config: FloatingContainerConfig): string;
|
|
2743
2750
|
showComponent(containerId: string, componentId: string, title: string, componentType?: any, config?: Partial<FloatingContainerConfig>): string;
|