@educarehq/solaris-components 0.5.4 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@educarehq/solaris-components",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^21.1.0",
6
6
  "intl-tel-input": "^26.0.9",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, ComponentRef, InjectionToken, EnvironmentProviders, Injector, ViewContainerRef, Type, OnInit, Signal, AfterViewInit, WritableSignal } from '@angular/core';
2
+ import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, ComponentRef, InjectionToken, EnvironmentProviders, AfterViewInit, Injector, ViewContainerRef, Type, OnInit, Signal, WritableSignal } from '@angular/core';
3
3
  import * as _educarehq_solaris_components from '@educarehq/solaris-components';
4
4
  import { SolarisTranslationParams, TranslationInterface } from '@educarehq/solaris-services';
5
5
  import { Observable } from 'rxjs';
@@ -854,7 +854,7 @@ declare class SolarisDivider {
854
854
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDivider, "solaris-divider", never, { "label": { "alias": "label"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "strength": { "alias": "strength"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "labelAlign": { "alias": "label-align"; "required": false; }; }, {}, never, never, true, never>;
855
855
  }
856
856
 
857
- declare class SolarisDialogStepsContainer<TResult = unknown> {
857
+ declare class SolarisDialogStepsContainer<TResult = unknown> implements AfterViewInit {
858
858
  private readonly destroyRef;
859
859
  private readonly injector;
860
860
  private readonly configuration;
@@ -868,6 +868,10 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
868
868
  protected readonly transitioning: _angular_core.WritableSignal<boolean>;
869
869
  protected readonly transitionHalfway: _angular_core.WritableSignal<boolean>;
870
870
  protected readonly currentStepIndex: _angular_core.WritableSignal<number>;
871
+ private readonly stepElements;
872
+ protected readonly activeStepHeight: _angular_core.WritableSignal<string>;
873
+ private measureRaf;
874
+ private resizeObserver?;
871
875
  private halfwayTimer;
872
876
  private transitionTimer;
873
877
  private readonly stepInjectors;
@@ -876,6 +880,7 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
876
880
  protected readonly isLastStep: _angular_core.Signal<boolean>;
877
881
  protected readonly transitionDuration: _angular_core.Signal<string>;
878
882
  constructor();
883
+ ngAfterViewInit(): void;
879
884
  protected stepInjector(index: number): Injector;
880
885
  private handleAction;
881
886
  private goToStep;
@@ -886,6 +891,9 @@ declare class SolarisDialogStepsContainer<TResult = unknown> {
886
891
  private resolveInitialStepIndex;
887
892
  private runTransitionTo;
888
893
  private updateDialogHeader;
894
+ private scheduleActiveStepHeightMeasure;
895
+ private measureStepHeight;
896
+ private observeActiveStepHeight;
889
897
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDialogStepsContainer<any>, never>;
890
898
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDialogStepsContainer<any>, "solaris-dialog-steps-container", never, {}, {}, never, never, true, never>;
891
899
  }
@@ -2278,6 +2286,7 @@ interface StackLevel {
2278
2286
  }
2279
2287
 
2280
2288
  declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewInit {
2289
+ private readonly translationService;
2281
2290
  private readonly destroyRef;
2282
2291
  private readonly injector;
2283
2292
  private readonly field;
@@ -2290,7 +2299,6 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
2290
2299
  get dataMultiple(): "true" | "false";
2291
2300
  private readonly _rootNodes;
2292
2301
  set items(v: SolarisSelectNode[] | null | undefined);
2293
- private sameCvaValue;
2294
2302
  private _multiple;
2295
2303
  set multiple(v: boolean);
2296
2304
  get multiple(): boolean;
@@ -2316,15 +2324,15 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
2316
2324
  readonly searchTerm: _angular_core.WritableSignal<string>;
2317
2325
  readonly activeIndex: _angular_core.WritableSignal<number>;
2318
2326
  readonly showCount: _angular_core.WritableSignal<boolean>;
2327
+ private readonly _value;
2328
+ private readonly _stack;
2329
+ readonly selectedItems: _angular_core.Signal<SolarisSelectItem<any>[]>;
2319
2330
  readonly showToken: _angular_core.Signal<boolean>;
2320
2331
  readonly selectedText: _angular_core.Signal<string>;
2321
2332
  readonly triggerValue: _angular_core.Signal<string>;
2322
2333
  readonly activeOptionId: _angular_core.Signal<string>;
2323
2334
  readonly inputPlaceholderKey: _angular_core.Signal<string>;
2324
2335
  readonly inputPlaceholderText: _angular_core.Signal<string>;
2325
- private readonly _value;
2326
- readonly selectedItems: _angular_core.Signal<SolarisSelectItem<any>[]>;
2327
- private readonly _stack;
2328
2336
  readonly viewModel: _angular_core.Signal<{
2329
2337
  rows: SolarisSelectRow[];
2330
2338
  itemRows: {
@@ -2359,10 +2367,10 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
2359
2367
  private static seq;
2360
2368
  private _measureNonce;
2361
2369
  private resizeObs?;
2362
- matchWidthEl: HTMLElement | null;
2363
2370
  private propagateTouched;
2364
2371
  private propagateChange;
2365
2372
  private resolvedNgControl;
2373
+ matchWidthEl: HTMLElement | null;
2366
2374
  readonly _id: string;
2367
2375
  constructor();
2368
2376
  ngOnInit(): void;
@@ -2371,9 +2379,14 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
2371
2379
  registerOnChange(fn: any): void;
2372
2380
  registerOnTouched(fn: any): void;
2373
2381
  setDisabledState?(isDisabled: boolean): void;
2382
+ private translate;
2383
+ private itemLabel;
2384
+ private itemDescription;
2385
+ private itemEndText;
2386
+ private itemSearchText;
2387
+ private sameCvaValue;
2374
2388
  private eq;
2375
2389
  private resolveNgControlOnce;
2376
- private itemLabel;
2377
2390
  private collectAllItems;
2378
2391
  private resetStack;
2379
2392
  goBack(): void;