cloud-ide-element 1.1.251 → 1.1.255
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 +102 -22
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +27 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, ElementRef, AfterContentInit, QueryList, ViewContainerRef, Renderer2, InjectionToken, Type, Signal, AfterViewInit, Injector, ComponentRef, WritableSignal } from '@angular/core';
|
|
2
|
+
import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, ElementRef, AfterContentInit, QueryList, ViewContainerRef, Renderer2, ChangeDetectorRef, InjectionToken, Type, Signal, AfterViewInit, Injector, ComponentRef, WritableSignal } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, FormGroup } from '@angular/forms';
|
|
4
4
|
import { elementStyleType, labelPlacementType, labelDirType, autocapitalizeType, autocompleteType, controlType, inputType, themeSize, selectSearchType, ICoreSype, GetElementDataRequest, iconType, spinnerType, fileManagerListByGroupIdControllerResponse } from 'cloud-ide-lms-model';
|
|
5
5
|
import * as cloud_ide_element from 'cloud-ide-element';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
import { Router, NavigationExtras } from '@angular/router';
|
|
9
|
+
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
9
10
|
import { HttpClient, HttpEvent } from '@angular/common/http';
|
|
10
11
|
|
|
11
12
|
declare class CapitalizePipe implements PipeTransform {
|
|
@@ -1445,14 +1446,30 @@ declare class CideEleButtonComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1445
1446
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleButtonComponent, "button[cideEleButton], a[cideEleButton], cide-ele-button", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "routerExtras": { "alias": "routerExtras"; "required": false; }; "preventDoubleClick": { "alias": "preventDoubleClick"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; }, { "btnClick": "btnClick"; "doubleClick": "doubleClick"; }, never, ["*", "*"], true, never>;
|
|
1446
1447
|
}
|
|
1447
1448
|
|
|
1448
|
-
declare class CideIconComponent {
|
|
1449
|
+
declare class CideIconComponent implements OnChanges {
|
|
1450
|
+
private sanitizer;
|
|
1451
|
+
private cdr;
|
|
1449
1452
|
size: themeSize;
|
|
1450
1453
|
type: iconType;
|
|
1451
1454
|
toolTip: string;
|
|
1455
|
+
/** Custom icon name with cide- prefix (e.g. 'cide-ai-sparkle'). When set, renders SVG from assets/icons/svg/*.svg. */
|
|
1456
|
+
name: string;
|
|
1457
|
+
customSvg: SafeHtml | null;
|
|
1458
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
1459
|
+
ngOnChanges(): void;
|
|
1452
1460
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideIconComponent, never>;
|
|
1453
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideIconComponent, "cide-ele-icon", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "toolTip": { "alias": "toolTip"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1461
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideIconComponent, "cide-ele-icon", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "toolTip": { "alias": "toolTip"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1454
1462
|
}
|
|
1455
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
* Load SVG icons directly from assets/icons/svg/*.svg files.
|
|
1466
|
+
* Add .svg files to projects/cloud-ide-element/src/lib/assets/icons/svg/
|
|
1467
|
+
*/
|
|
1468
|
+
/** Fetch SVG from assets/icons/svg/{name}.svg */
|
|
1469
|
+
declare function fetchCideIcon(name: string): Promise<string>;
|
|
1470
|
+
/** Returns SVG with unique gradient ID to avoid conflicts when multiple instances. */
|
|
1471
|
+
declare function getCideIconSvg(name: string, uniqueId?: string): Promise<string | undefined>;
|
|
1472
|
+
|
|
1456
1473
|
declare class CideSpinnerComponent {
|
|
1457
1474
|
/**
|
|
1458
1475
|
* @description
|
|
@@ -2796,6 +2813,12 @@ declare const OPEN_AI_ASSISTANT_ACTION: InjectionToken<() => void>;
|
|
|
2796
2813
|
* can render it without importing the AI package (avoids circular dependencies).
|
|
2797
2814
|
*/
|
|
2798
2815
|
declare const CIDE_AI_DRAWER_COMPONENT: InjectionToken<Type<any>>;
|
|
2816
|
+
/**
|
|
2817
|
+
* Injection token for lazy-loading the AI drawer component.
|
|
2818
|
+
* Provide a factory that returns Promise<Type> so layout can lazy-load the chat
|
|
2819
|
+
* and show a skeleton until loaded.
|
|
2820
|
+
*/
|
|
2821
|
+
declare const CIDE_AI_DRAWER_LOADER: InjectionToken<() => Promise<Type<any>>>;
|
|
2799
2822
|
|
|
2800
2823
|
/**
|
|
2801
2824
|
* Service to open the AI assistant drawer from header/shortcut without navigating.
|
|
@@ -4152,5 +4175,5 @@ declare class CideEleSkeletonLoaderComponent {
|
|
|
4152
4175
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleSkeletonLoaderComponent, "cide-ele-skeleton-loader", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "count": { "alias": "count"; "required": false; }; "circle": { "alias": "circle"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, {}, never, never, true, never>;
|
|
4153
4176
|
}
|
|
4154
4177
|
|
|
4155
|
-
export { AiAssistantTriggerService, CIDE_AI_DRAWER_COMPONENT, CapitalizePipe, CideCoreFileManagerService, CideEleBreadcrumbComponent, CideEleButtonComponent, CideEleCardComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingContainerComponent, CideEleFloatingContainerDynamicDirective, CideEleFloatingContainerManagerComponent, CideEleFloatingContainerService, CideEleFloatingFeaturesService, CideEleFloatingFileUploaderComponent, CideEleFloatingFileUploaderService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleThemeToggleComponent, CideEleToastNotificationComponent, CideElementsService, CideFormFieldErrorComponent, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, CideThemeService, ConfirmationService, CoreFileManagerInsertUpdatePayload, CurrencyPipe, CurrencyService, DEFAULT_CURRENCY_CONFIG, DEFAULT_GRID_CONFIG, DropdownManagerService, ExportService, FloatingContainerShortcutsService, ICoreCyfmSave, KeyboardShortcutService, MFileManager, NotificationApiService, NotificationService, OPEN_AI_ASSISTANT_ACTION, PortalService, TooltipDirective, WebSocketNotificationService, cidePath, hostManagerRoutesUrl, notificationRoutesUrl };
|
|
4178
|
+
export { AiAssistantTriggerService, CIDE_AI_DRAWER_COMPONENT, CIDE_AI_DRAWER_LOADER, CapitalizePipe, CideCoreFileManagerService, CideEleBreadcrumbComponent, CideEleButtonComponent, CideEleCardComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingContainerComponent, CideEleFloatingContainerDynamicDirective, CideEleFloatingContainerManagerComponent, CideEleFloatingContainerService, CideEleFloatingFeaturesService, CideEleFloatingFileUploaderComponent, CideEleFloatingFileUploaderService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleThemeToggleComponent, CideEleToastNotificationComponent, CideElementsService, CideFormFieldErrorComponent, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, CideThemeService, ConfirmationService, CoreFileManagerInsertUpdatePayload, CurrencyPipe, CurrencyService, DEFAULT_CURRENCY_CONFIG, DEFAULT_GRID_CONFIG, DropdownManagerService, ExportService, FloatingContainerShortcutsService, ICoreCyfmSave, KeyboardShortcutService, MFileManager, NotificationApiService, NotificationService, OPEN_AI_ASSISTANT_ACTION, PortalService, TooltipDirective, WebSocketNotificationService, cidePath, fetchCideIcon, getCideIconSvg, hostManagerRoutesUrl, notificationRoutesUrl };
|
|
4156
4179
|
export type { BreadcrumbConfig, BreadcrumbDropdownOption, BreadcrumbItem, BreadcrumbSeparator, BreadcrumbStyle, ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CardConfig, CardSize, CardState, CardVariant, CideEleResizerDirection, CideEleResizerDirectionTo, CideTheme, CideThemeConfig, ColumnFilter, ColumnGroup, ColumnSort, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, ConnectionStatus, CoreFileManagerInsertUpdateResponse, CreateNotificationDto, CurrencyConfig, CurrencyDisplayFormat, DeviceType, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, FileUploaderData, FloatingComponentConfig, FloatingContainerConfig, FloatingContainerInstance, FloatingFileUploaderData, GridAction, GridColumn, GridColumnMenuConfig, GridConfiguration, GridCustomFormatter, GridCustomRenderer, GridDragDropConfig, GridEvent, GridEventHandler, GridExportConfig, GridFormatter, GridLoadingConfig, GridMobileLayoutConfig, GridPaginationConfig, GridScrollConfig, GridSearchConfig, GridState, GridTreeConfig, ICoreCyfm, ICoreFileManager, IFileDeleteResponse, IFileFilterOptions, IFileGroupingOptions, IFileListRequest, IFileListResponse, IFileManagerErrorLogger, IFileUpdateRequest, IFileUpdateResponse, IFileUploadProgress, IFileUploadQueueItem, IFileUploadRequest, IFileUploadResponse, JsonEditorConfig, JsonEditorError, KeyboardShortcut, NotificationItem, NotificationListResponse, NotificationOptions, NotificationPayload, NotificationResponse, PortalConfig, PortalPosition, SelectOption, SelectOptionObject, ServerNotification, ServiceState, ShortcutOverride, StatusConfig, TabItem, TemplateContext, TemplatePortalConfig, TemplateRenderer, TextAlign, ThemeToggleSize, TooltipPlacement, TooltipType, UnreadCountResponse, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData, mongooseObjectIdCreateControllerResponse };
|