cloud-ide-element 1.0.28 → 1.0.30

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, Renderer2, ElementRef, AfterContentInit, QueryList } from '@angular/core';
2
+ import { PipeTransform, OnChanges, OnInit, OnDestroy, EventEmitter, TemplateRef, SimpleChanges, Renderer2, ElementRef, AfterContentInit, QueryList, ViewContainerRef } 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 } from 'cloud-ide-lms-model';
5
5
  import { Router, NavigationExtras } from '@angular/router';
@@ -444,6 +444,10 @@ declare class CideSelectComponent implements ControlValueAccessor, Validator, On
444
444
  searchTerm: string;
445
445
  filteredOptions: (SelectOption | SelectOptionObject)[];
446
446
  private searchDebounceTimeout;
447
+ private portalService;
448
+ private dropdownPortalId;
449
+ dropdownTemplate: TemplateRef<any>;
450
+ dropdownContainer: ViewContainerRef;
447
451
  dropdownPosition: 'bottom' | 'top';
448
452
  private isDropdownInteraction;
449
453
  private debugId;
@@ -464,7 +468,12 @@ declare class CideSelectComponent implements ControlValueAccessor, Validator, On
464
468
  validate(control: AbstractControl): ValidationErrors | null;
465
469
  validateValue(value: string | number): ValidationErrors | null;
466
470
  toggleDropdown(): void;
471
+ private openDropdown;
472
+ private closeDropdown;
467
473
  ngOnDestroy(): void;
474
+ private createDropdownPortal;
475
+ private destroyDropdownPortal;
476
+ private updatePortalContext;
468
477
  private onWindowResize;
469
478
  private calculateDropdownPosition;
470
479
  selectOption(option: SelectOption | SelectOptionObject): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"