@educarehq/solaris-components 0.4.4 → 0.4.7
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/educarehq-solaris-components.mjs +2410 -87
- package/fesm2022/educarehq-solaris-components.mjs.map +1 -1
- package/package.json +3 -3
- package/styles/layouts/dialog/dialog.styles.scss +35 -0
- package/styles/solaris-components.scss +2 -0
- package/styles/visual/avatar.styles.scss +6 -0
- package/types/educarehq-solaris-components.d.ts +945 -226
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, InjectionToken, EnvironmentProviders, OnInit, AfterViewInit, WritableSignal } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef, TemplateRef, AfterContentInit, OnDestroy, EventEmitter, OnChanges, ChangeDetectorRef, SimpleChanges, QueryList, ComponentRef, InjectionToken, EnvironmentProviders, Type, ViewContainerRef, OnInit, Signal, AfterViewInit, WritableSignal } from '@angular/core';
|
|
3
3
|
import * as _educarehq_solaris_components from '@educarehq/solaris-components';
|
|
4
|
-
import { SolarisTranslationParams } from '@educarehq/solaris-services';
|
|
5
|
-
import {
|
|
4
|
+
import { SolarisTranslationParams, TranslationInterface } from '@educarehq/solaris-services';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, NgControl } from '@angular/forms';
|
|
6
7
|
|
|
7
8
|
declare class SolarisDropdownContentTriggerDirective {
|
|
8
9
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
9
10
|
private readonly solarisRenderer;
|
|
10
11
|
ensureFocusable(): void;
|
|
11
12
|
setExpanded(isExpanded: boolean, panelId: string): void;
|
|
12
|
-
static ɵfac:
|
|
13
|
-
static ɵdir:
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDropdownContentTriggerDirective, never>;
|
|
14
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisDropdownContentTriggerDirective, "[solaris-dropdown-content-trigger]", never, {}, {}, never, never, true, never>;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
declare class SolarisDropdownContentPanelDirective {
|
|
17
18
|
readonly templateRef: TemplateRef<unknown>;
|
|
18
|
-
static ɵfac:
|
|
19
|
-
static ɵdir:
|
|
19
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDropdownContentPanelDirective, never>;
|
|
20
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisDropdownContentPanelDirective, "ng-template[solaris-dropdown-content-panel]", never, {}, {}, never, never, true, never>;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
interface SolarisDropdownContentInterface {
|
|
@@ -27,8 +28,8 @@ declare class SolarisDropdownContentRegistry {
|
|
|
27
28
|
register(instance: SolarisDropdownContentInterface): void;
|
|
28
29
|
unregister(instance: SolarisDropdownContentInterface): void;
|
|
29
30
|
notifyOpen(openingInstance: SolarisDropdownContentInterface): void;
|
|
30
|
-
static ɵfac:
|
|
31
|
-
static ɵprov:
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDropdownContentRegistry, never>;
|
|
32
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisDropdownContentRegistry>;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
type SolarisDropdownWidthMode = 'auto' | 'match-trigger' | 'full' | 'container';
|
|
@@ -76,8 +77,8 @@ declare class SolarisDropdownContent implements AfterContentInit, OnDestroy, Sol
|
|
|
76
77
|
private solarisGetContainerEl;
|
|
77
78
|
private solarisComputeOffsetX;
|
|
78
79
|
private solarisApplyOverlaySize;
|
|
79
|
-
static ɵfac:
|
|
80
|
-
static ɵcmp:
|
|
80
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDropdownContent, never>;
|
|
81
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDropdownContent, "solaris-dropdown-content", never, { "container": { "alias": "container"; "required": false; }; "widthMode": { "alias": "widthMode"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "closeDelay": { "alias": "closeDelay"; "required": false; }; "openDelay": { "alias": "openDelay"; "required": false; }; }, {}, ["trigger", "panel"], ["*"], true, never>;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
type SolarisBreadcrumbTarget = {
|
|
@@ -120,12 +121,13 @@ declare class SolarisBreadcrumb {
|
|
|
120
121
|
protected getRouterQueryParams(it: SolarisBreadcrumbItem): Record<string, any> | null;
|
|
121
122
|
protected shouldRenderSeparatorAfterHead(headIndex: number): boolean;
|
|
122
123
|
protected onAction(item: SolarisBreadcrumbItem): void;
|
|
123
|
-
static ɵfac:
|
|
124
|
-
static ɵcmp:
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisBreadcrumb, never>;
|
|
125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisBreadcrumb, "solaris-breadcrumb", never, { "minItems": { "alias": "min-items"; "required": false; }; "maxItems": { "alias": "max-items"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "items": { "alias": "items"; "required": true; }; }, { "itemSelect": "itemSelect"; }, never, never, true, never>;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
type SolarisSizePreset = 'sm' | 'md' | 'lg';
|
|
128
129
|
type SolarisRadiusPreset = 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
130
|
+
type SolarisShowErrors = 'dirtyOrTouched' | 'always' | 'submitted';
|
|
129
131
|
type SolarisColorPreset = 'primary' | 'surface' | 'success' | 'warning' | 'error' | 'info' | 'gradient';
|
|
130
132
|
|
|
131
133
|
type BadgeVariant = 'solid' | 'subtle' | 'outline';
|
|
@@ -166,8 +168,8 @@ declare class SolarisStepperItem {
|
|
|
166
168
|
index: number;
|
|
167
169
|
headerId: string;
|
|
168
170
|
panelId: string;
|
|
169
|
-
static ɵfac:
|
|
170
|
-
static ɵcmp:
|
|
171
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisStepperItem, never>;
|
|
172
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisStepperItem, "solaris-stepper-item", never, { "stepId": { "alias": "stepId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "description": { "alias": "description"; "required": false; }; "descriptionKey": { "alias": "descriptionKey"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "phase": { "alias": "phase"; "required": false; }; "status": { "alias": "status"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "badgeTextKey": { "alias": "badgeTextKey"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; }; "badgeSize": { "alias": "badgeSize"; "required": false; }; "badgePill": { "alias": "badgePill"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
declare class SolarisStepper implements AfterContentInit, OnChanges {
|
|
@@ -231,20 +233,20 @@ declare class SolarisStepper implements AfterContentInit, OnChanges {
|
|
|
231
233
|
private normalizeIndex;
|
|
232
234
|
private focusRelativeButton;
|
|
233
235
|
private focusButton;
|
|
234
|
-
static ɵfac:
|
|
235
|
-
static ɵcmp:
|
|
236
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisStepper, never>;
|
|
237
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisStepper, "solaris-stepper", never, { "orientation": { "alias": "orientation"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "defaultActiveIndex": { "alias": "defaultActiveIndex"; "required": false; }; "allowBackNavigation": { "alias": "allowBackNavigation"; "required": false; }; "allowFutureNavigation": { "alias": "allowFutureNavigation"; "required": false; }; "allowSkip": { "alias": "allowSkip"; "required": false; }; "renderPanels": { "alias": "renderPanels"; "required": false; }; "showStateBadges": { "alias": "showStateBadges"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "nextChange": "next"; "previousChange": "previous"; "stepChange": "stepChange"; }, ["itemsQuery"], ["*"], true, never>;
|
|
236
238
|
}
|
|
237
239
|
|
|
238
240
|
declare class SolarisPopoverTriggerDirective {
|
|
239
241
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
240
|
-
static ɵfac:
|
|
241
|
-
static ɵdir:
|
|
242
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPopoverTriggerDirective, never>;
|
|
243
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPopoverTriggerDirective, "[solaris-popover-trigger]", never, {}, {}, never, never, true, never>;
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
declare class SolarisPopoverPanelDirective {
|
|
245
247
|
readonly templateRef: TemplateRef<any>;
|
|
246
|
-
static ɵfac:
|
|
247
|
-
static ɵdir:
|
|
248
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPopoverPanelDirective, never>;
|
|
249
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPopoverPanelDirective, "ng-template[solaris-popover-panel]", never, {}, {}, never, never, true, never>;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
type SolarisPopoverPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end';
|
|
@@ -280,7 +282,7 @@ declare class SolarisPopover {
|
|
|
280
282
|
openChange: EventEmitter<boolean>;
|
|
281
283
|
private readonly _internalOpen;
|
|
282
284
|
private readonly _openInput;
|
|
283
|
-
readonly isOpen:
|
|
285
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
284
286
|
set open(v: boolean | null);
|
|
285
287
|
get open(): boolean | null;
|
|
286
288
|
panelDir?: SolarisPopoverPanelDirective;
|
|
@@ -299,8 +301,8 @@ declare class SolarisPopover {
|
|
|
299
301
|
private unmountHard;
|
|
300
302
|
private scheduleReposition;
|
|
301
303
|
private reposition;
|
|
302
|
-
static ɵfac:
|
|
303
|
-
static ɵcmp:
|
|
304
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPopover, never>;
|
|
305
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPopover, "solaris-popover", never, { "offset": { "alias": "offset"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "autoFlip": { "alias": "autoFlip"; "required": false; }; "autoShift": { "alias": "autoShift"; "required": false; }; "matchWidth": { "alias": "matchWidth"; "required": false; }; "viewportPadding": { "alias": "viewportPadding"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; }; "anchorElement": { "alias": "anchorElement"; "required": false; }; "matchWidthElement": { "alias": "matchWidthElement"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, ["panelDir", "triggerDir"], ["*"], true, never>;
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
type TabsSize = 'sm' | 'md';
|
|
@@ -317,15 +319,15 @@ declare class SolarisTabs implements AfterContentInit {
|
|
|
317
319
|
}>;
|
|
318
320
|
hostClass: string;
|
|
319
321
|
tabs: QueryList<SolarisTab>;
|
|
320
|
-
readonly focusId:
|
|
322
|
+
readonly focusId: _angular_core.WritableSignal<string | null>;
|
|
321
323
|
ngAfterContentInit(): void;
|
|
322
324
|
private syncTabs;
|
|
323
325
|
isActive(id: string): boolean;
|
|
324
326
|
isFocusable(id: string): boolean;
|
|
325
327
|
setActive(id: string, emit?: boolean): void;
|
|
326
328
|
onKeydown(ev: KeyboardEvent): void;
|
|
327
|
-
static ɵfac:
|
|
328
|
-
static ɵcmp:
|
|
329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTabs, never>;
|
|
330
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTabs, "solaris-tabs", never, { "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "activeId": { "alias": "active-id"; "required": false; }; }, { "activeIdChange": "active-idChange"; "tabChange": "tabChange"; }, ["tabs"], ["*"], true, never>;
|
|
329
331
|
}
|
|
330
332
|
|
|
331
333
|
declare class SolarisTab {
|
|
@@ -346,8 +348,8 @@ declare class SolarisTab {
|
|
|
346
348
|
get ariaSelected(): "true" | "false";
|
|
347
349
|
onClick(): void;
|
|
348
350
|
onFocus(): void;
|
|
349
|
-
static ɵfac:
|
|
350
|
-
static ɵcmp:
|
|
351
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTab, [null, { optional: true; }]>;
|
|
352
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTab, "solaris-tab", never, { "disabled": { "alias": "disabled"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "id": { "alias": "id"; "required": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
351
353
|
}
|
|
352
354
|
|
|
353
355
|
declare class SolarisLoadingOverlay implements OnChanges {
|
|
@@ -362,13 +364,110 @@ declare class SolarisLoadingOverlay implements OnChanges {
|
|
|
362
364
|
get overlayStyle(): {
|
|
363
365
|
'z-index': string;
|
|
364
366
|
} | null;
|
|
365
|
-
static ɵfac:
|
|
366
|
-
static ɵcmp:
|
|
367
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisLoadingOverlay, never>;
|
|
368
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisLoadingOverlay, "solaris-loading-overlay", never, { "zIndex": { "alias": "z-index"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "blur": { "alias": "blur"; "required": false; }; "open": { "alias": "open"; "required": false; }; "lockScroll": { "alias": "lock-scroll"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
367
369
|
static ngAcceptInputType_blur: any;
|
|
368
370
|
static ngAcceptInputType_open: any;
|
|
369
371
|
static ngAcceptInputType_lockScroll: any;
|
|
370
372
|
}
|
|
371
373
|
|
|
374
|
+
interface SolarisFloatingOverlayRef<T> {
|
|
375
|
+
id: string;
|
|
376
|
+
hostElement: HTMLDivElement;
|
|
377
|
+
componentRef: ComponentRef<T>;
|
|
378
|
+
setTransform(x: number, y: number): void;
|
|
379
|
+
destroy(): void;
|
|
380
|
+
}
|
|
381
|
+
interface SolarisFloatingOverlayOptions {
|
|
382
|
+
idPrefix?: string;
|
|
383
|
+
panelClass?: string;
|
|
384
|
+
zIndex?: string;
|
|
385
|
+
pointerEvents?: 'none' | 'auto';
|
|
386
|
+
}
|
|
387
|
+
interface SolarisTooltipRepositionOptions {
|
|
388
|
+
position: SolarisFloatingPosition;
|
|
389
|
+
offset: number;
|
|
390
|
+
viewportPadding: number;
|
|
391
|
+
autoFlip: boolean;
|
|
392
|
+
autoShift: boolean;
|
|
393
|
+
}
|
|
394
|
+
type SolarisFloatingPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
395
|
+
interface SolarisFloatingPositionConfiguration {
|
|
396
|
+
position: SolarisFloatingPosition;
|
|
397
|
+
offset: number;
|
|
398
|
+
viewportPadding: number;
|
|
399
|
+
autoFlip: boolean;
|
|
400
|
+
autoShift: boolean;
|
|
401
|
+
}
|
|
402
|
+
interface SolarisFloatingPositionResult {
|
|
403
|
+
x: number;
|
|
404
|
+
y: number;
|
|
405
|
+
appliedPosition: SolarisFloatingPosition;
|
|
406
|
+
}
|
|
407
|
+
interface SolarisFloatingRepositionOptions {
|
|
408
|
+
position: SolarisFloatingPosition;
|
|
409
|
+
offset: number;
|
|
410
|
+
viewportPadding: number;
|
|
411
|
+
autoFlip: boolean;
|
|
412
|
+
autoShift: boolean;
|
|
413
|
+
}
|
|
414
|
+
interface SolarisFloatingRepositionContext<T> {
|
|
415
|
+
anchor: HTMLElement;
|
|
416
|
+
overlayRef: SolarisFloatingOverlayRef<T>;
|
|
417
|
+
options: SolarisFloatingRepositionOptions;
|
|
418
|
+
setAppliedPosition: (position: SolarisFloatingPosition) => void;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
type SolarisTooltipSize = 'sm' | 'md' | 'lg';
|
|
422
|
+
type SolarisTooltipPosition = SolarisFloatingPosition;
|
|
423
|
+
type SolarisTooltipVariant = 'default' | 'inverse' | 'primary';
|
|
424
|
+
|
|
425
|
+
declare class SolarisRichTooltipDirective implements OnDestroy {
|
|
426
|
+
private readonly elementRef;
|
|
427
|
+
private readonly renderer;
|
|
428
|
+
private readonly floatingOverlay;
|
|
429
|
+
readonly template: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
430
|
+
readonly tooltipPosition: _angular_core.InputSignal<SolarisFloatingPosition>;
|
|
431
|
+
readonly tooltipVariant: _angular_core.InputSignal<SolarisTooltipVariant>;
|
|
432
|
+
readonly tooltipSize: _angular_core.InputSignal<SolarisTooltipSize>;
|
|
433
|
+
readonly tooltipDisabled: _angular_core.InputSignal<boolean>;
|
|
434
|
+
readonly tooltipShowDelay: _angular_core.InputSignal<number>;
|
|
435
|
+
readonly tooltipHideDelay: _angular_core.InputSignal<number>;
|
|
436
|
+
readonly tooltipOffset: _angular_core.InputSignal<number>;
|
|
437
|
+
readonly tooltipAutoFlip: _angular_core.InputSignal<boolean>;
|
|
438
|
+
readonly tooltipAutoShift: _angular_core.InputSignal<boolean>;
|
|
439
|
+
readonly tooltipViewportPadding: _angular_core.InputSignal<number>;
|
|
440
|
+
private overlayRef?;
|
|
441
|
+
private showTimer;
|
|
442
|
+
private hideTimer;
|
|
443
|
+
private raf;
|
|
444
|
+
private isTriggerHovered;
|
|
445
|
+
private isPanelHovered;
|
|
446
|
+
private hasFocusInside;
|
|
447
|
+
private readonly cleanups;
|
|
448
|
+
constructor();
|
|
449
|
+
private scheduleShow;
|
|
450
|
+
private scheduleHideIfSafe;
|
|
451
|
+
private show;
|
|
452
|
+
private bindPanelInteractions;
|
|
453
|
+
private hide;
|
|
454
|
+
private applyPanelInputs;
|
|
455
|
+
private scheduleReposition;
|
|
456
|
+
private reposition;
|
|
457
|
+
ngOnDestroy(): void;
|
|
458
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisRichTooltipDirective, never>;
|
|
459
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisRichTooltipDirective, "[solaris-rich-tooltip]", never, { "template": { "alias": "solaris-rich-tooltip"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltip-position"; "required": false; "isSignal": true; }; "tooltipVariant": { "alias": "tooltip-variant"; "required": false; "isSignal": true; }; "tooltipSize": { "alias": "tooltip-size"; "required": false; "isSignal": true; }; "tooltipDisabled": { "alias": "tooltip-disabled"; "required": false; "isSignal": true; }; "tooltipShowDelay": { "alias": "tooltip-show-delay"; "required": false; "isSignal": true; }; "tooltipHideDelay": { "alias": "tooltip-hide-delay"; "required": false; "isSignal": true; }; "tooltipOffset": { "alias": "tooltip-offset"; "required": false; "isSignal": true; }; "tooltipAutoFlip": { "alias": "tooltip-auto-flip"; "required": false; "isSignal": true; }; "tooltipAutoShift": { "alias": "tooltip-auto-shift"; "required": false; "isSignal": true; }; "tooltipViewportPadding": { "alias": "tooltip-viewport-padding"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
declare class SolarisRichTooltipPanel {
|
|
463
|
+
readonly template: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
464
|
+
readonly position: _angular_core.InputSignal<SolarisFloatingPosition>;
|
|
465
|
+
readonly variant: _angular_core.InputSignal<SolarisTooltipVariant>;
|
|
466
|
+
readonly size: _angular_core.InputSignal<SolarisTooltipSize>;
|
|
467
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisRichTooltipPanel, never>;
|
|
468
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisRichTooltipPanel, "solaris-rich-tooltip-panel", never, { "template": { "alias": "template"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
469
|
+
}
|
|
470
|
+
|
|
372
471
|
declare class SolarisNotificationIntlService {
|
|
373
472
|
private readonly translationService;
|
|
374
473
|
private readonly notificationConfig;
|
|
@@ -386,8 +485,8 @@ declare class SolarisNotificationIntlService {
|
|
|
386
485
|
emptyCenter(): string;
|
|
387
486
|
clearHistory(): string;
|
|
388
487
|
autoClose(seconds: number): string;
|
|
389
|
-
static ɵfac:
|
|
390
|
-
static ɵprov:
|
|
488
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisNotificationIntlService, never>;
|
|
489
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisNotificationIntlService>;
|
|
391
490
|
}
|
|
392
491
|
|
|
393
492
|
type SolarisButtonVariant = 'solid' | 'outline' | 'ghost' | 'soft';
|
|
@@ -485,11 +584,11 @@ declare class SolarisNotificationService {
|
|
|
485
584
|
private readonly destroyRef;
|
|
486
585
|
readonly config: SolarisNotificationConfig;
|
|
487
586
|
private readonly translationService;
|
|
488
|
-
readonly centerOpen:
|
|
587
|
+
readonly centerOpen: _angular_core.WritableSignal<boolean>;
|
|
489
588
|
private readonly _items;
|
|
490
|
-
readonly items:
|
|
491
|
-
readonly visibleItems:
|
|
492
|
-
readonly centerItems:
|
|
589
|
+
readonly items: _angular_core.Signal<SolarisNotificationRecord[]>;
|
|
590
|
+
readonly visibleItems: _angular_core.Signal<SolarisNotificationRecord[]>;
|
|
591
|
+
readonly centerItems: _angular_core.Signal<SolarisNotificationRecord[]>;
|
|
493
592
|
private lastTick;
|
|
494
593
|
private readonly intervalId;
|
|
495
594
|
constructor();
|
|
@@ -523,28 +622,28 @@ declare class SolarisNotificationService {
|
|
|
523
622
|
private resolveRequiredText;
|
|
524
623
|
private resolveOptionalText;
|
|
525
624
|
private hasOwn;
|
|
526
|
-
static ɵfac:
|
|
527
|
-
static ɵprov:
|
|
625
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisNotificationService, never>;
|
|
626
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisNotificationService>;
|
|
528
627
|
}
|
|
529
628
|
|
|
530
629
|
declare class SolarisNotificationCenterComponent {
|
|
531
630
|
protected readonly notificationService: SolarisNotificationService;
|
|
532
631
|
protected readonly intl: SolarisNotificationIntlService;
|
|
533
632
|
onEscape(): void;
|
|
534
|
-
static ɵfac:
|
|
535
|
-
static ɵcmp:
|
|
633
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisNotificationCenterComponent, never>;
|
|
634
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisNotificationCenterComponent, "solaris-notification-center", never, {}, {}, never, never, true, never>;
|
|
536
635
|
}
|
|
537
636
|
|
|
538
637
|
declare class SolarisNotificationItemComponent {
|
|
539
638
|
protected readonly notificationService: SolarisNotificationService;
|
|
540
639
|
protected readonly intl: SolarisNotificationIntlService;
|
|
541
|
-
readonly item:
|
|
542
|
-
readonly mode:
|
|
543
|
-
readonly paused:
|
|
544
|
-
readonly secondsLeft:
|
|
545
|
-
readonly progress:
|
|
546
|
-
readonly iconClass:
|
|
547
|
-
protected readonly isCompactHeader:
|
|
640
|
+
readonly item: _angular_core.InputSignal<SolarisNotificationRecord>;
|
|
641
|
+
readonly mode: _angular_core.InputSignal<"center" | "toast">;
|
|
642
|
+
readonly paused: _angular_core.Signal<boolean>;
|
|
643
|
+
readonly secondsLeft: _angular_core.Signal<number>;
|
|
644
|
+
readonly progress: _angular_core.Signal<number>;
|
|
645
|
+
readonly iconClass: _angular_core.Signal<"ph-x-circle" | "ph-warning-circle" | "ph-check-circle" | "ph-info">;
|
|
646
|
+
protected readonly isCompactHeader: _angular_core.Signal<boolean>;
|
|
548
647
|
toggleExpanded(): void;
|
|
549
648
|
toggleUserPause(): void;
|
|
550
649
|
close(): void;
|
|
@@ -552,17 +651,17 @@ declare class SolarisNotificationItemComponent {
|
|
|
552
651
|
onMouseLeave(): void;
|
|
553
652
|
runAction(action: SolarisNotificationAction): Promise<void>;
|
|
554
653
|
protected resolveActionLabel(action: SolarisNotificationAction): string;
|
|
555
|
-
static ɵfac:
|
|
556
|
-
static ɵcmp:
|
|
654
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisNotificationItemComponent, never>;
|
|
655
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisNotificationItemComponent, "solaris-notification-item", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
557
656
|
}
|
|
558
657
|
|
|
559
658
|
declare class SolarisNotificationHostComponent {
|
|
560
659
|
protected readonly notificationService: SolarisNotificationService;
|
|
561
660
|
protected readonly positions: readonly SolarisNotificationPosition[];
|
|
562
|
-
readonly withCenter:
|
|
661
|
+
readonly withCenter: _angular_core.InputSignal<boolean>;
|
|
563
662
|
visibleByPosition(position: SolarisNotificationPosition): _educarehq_solaris_components.SolarisNotificationRecord[];
|
|
564
|
-
static ɵfac:
|
|
565
|
-
static ɵcmp:
|
|
663
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisNotificationHostComponent, never>;
|
|
664
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisNotificationHostComponent, "solaris-notification-host", never, { "withCenter": { "alias": "withCenter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
566
665
|
}
|
|
567
666
|
|
|
568
667
|
declare const SOLARIS_NOTIFICATION_POSITIONS: readonly SolarisNotificationPosition[];
|
|
@@ -570,6 +669,53 @@ declare const SOLARIS_NOTIFICATION_DEFAULT_CONFIG: SolarisNotificationConfig;
|
|
|
570
669
|
declare const SOLARIS_NOTIFICATION_CONFIG: InjectionToken<SolarisNotificationConfig>;
|
|
571
670
|
declare function provideSolarisNotifications(input?: SolarisNotificationConfigInput): EnvironmentProviders;
|
|
572
671
|
|
|
672
|
+
declare class SolarisTooltipDirective implements OnDestroy {
|
|
673
|
+
private readonly elementRef;
|
|
674
|
+
private readonly floatingOverlay;
|
|
675
|
+
private readonly renderer;
|
|
676
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
677
|
+
readonly tooltipPosition: _angular_core.InputSignal<SolarisFloatingPosition>;
|
|
678
|
+
readonly tooltipVariant: _angular_core.InputSignal<SolarisTooltipVariant>;
|
|
679
|
+
readonly tooltipSize: _angular_core.InputSignal<SolarisTooltipSize>;
|
|
680
|
+
readonly tooltipPrefixIcon: _angular_core.InputSignal<string>;
|
|
681
|
+
readonly tooltipDisabled: _angular_core.InputSignal<boolean>;
|
|
682
|
+
readonly tooltipShowDelay: _angular_core.InputSignal<number>;
|
|
683
|
+
readonly tooltipHideDelay: _angular_core.InputSignal<number>;
|
|
684
|
+
readonly tooltipOffset: _angular_core.InputSignal<number>;
|
|
685
|
+
readonly tooltipAutoFlip: _angular_core.InputSignal<boolean>;
|
|
686
|
+
readonly tooltipAutoShift: _angular_core.InputSignal<boolean>;
|
|
687
|
+
readonly tooltipViewportPadding: _angular_core.InputSignal<number>;
|
|
688
|
+
readonly tooltipKey: _angular_core.InputSignal<string>;
|
|
689
|
+
readonly tooltipParams: _angular_core.InputSignal<Record<string, unknown> | undefined>;
|
|
690
|
+
private overlayRef?;
|
|
691
|
+
private showTimer;
|
|
692
|
+
private hideTimer;
|
|
693
|
+
private raf;
|
|
694
|
+
private readonly cleanups;
|
|
695
|
+
private readonly resolvedText;
|
|
696
|
+
constructor();
|
|
697
|
+
private scheduleShow;
|
|
698
|
+
private scheduleHide;
|
|
699
|
+
private show;
|
|
700
|
+
private hide;
|
|
701
|
+
private applyPanelInputs;
|
|
702
|
+
private scheduleReposition;
|
|
703
|
+
private reposition;
|
|
704
|
+
ngOnDestroy(): void;
|
|
705
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTooltipDirective, never>;
|
|
706
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisTooltipDirective, "[solaris-tooltip]", never, { "text": { "alias": "solaris-tooltip"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltip-position"; "required": false; "isSignal": true; }; "tooltipVariant": { "alias": "tooltip-variant"; "required": false; "isSignal": true; }; "tooltipSize": { "alias": "tooltip-size"; "required": false; "isSignal": true; }; "tooltipPrefixIcon": { "alias": "tooltip-prefix-icon"; "required": false; "isSignal": true; }; "tooltipDisabled": { "alias": "tooltip-disabled"; "required": false; "isSignal": true; }; "tooltipShowDelay": { "alias": "tooltip-show-delay"; "required": false; "isSignal": true; }; "tooltipHideDelay": { "alias": "tooltip-hide-delay"; "required": false; "isSignal": true; }; "tooltipOffset": { "alias": "tooltip-offset"; "required": false; "isSignal": true; }; "tooltipAutoFlip": { "alias": "tooltip-auto-flip"; "required": false; "isSignal": true; }; "tooltipAutoShift": { "alias": "tooltip-auto-shift"; "required": false; "isSignal": true; }; "tooltipViewportPadding": { "alias": "tooltip-viewport-padding"; "required": false; "isSignal": true; }; "tooltipKey": { "alias": "tooltip-key"; "required": false; "isSignal": true; }; "tooltipParams": { "alias": "tooltip-params"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
declare class SolarisTooltipPanel {
|
|
710
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
711
|
+
readonly prefixIcon: _angular_core.InputSignal<string>;
|
|
712
|
+
readonly size: _angular_core.InputSignal<SolarisTooltipSize>;
|
|
713
|
+
readonly position: _angular_core.InputSignal<SolarisFloatingPosition>;
|
|
714
|
+
readonly variant: _angular_core.InputSignal<SolarisTooltipVariant>;
|
|
715
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTooltipPanel, never>;
|
|
716
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTooltipPanel, "solaris-tooltip-panel", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
717
|
+
}
|
|
718
|
+
|
|
573
719
|
type SolarisLoadingTrail = 'forward' | 'reverse';
|
|
574
720
|
type SolarisLoadingSpeed = 'slow' | 'md' | 'fast';
|
|
575
721
|
type SolarisLoadingDashDensity = 'low' | 'md' | 'high';
|
|
@@ -599,8 +745,8 @@ declare class SolarisLoading {
|
|
|
599
745
|
get role(): 'status' | 'progressbar';
|
|
600
746
|
get dataColor(): SolarisLoadingPresetColor | null;
|
|
601
747
|
private get dashedCount();
|
|
602
|
-
static ɵfac:
|
|
603
|
-
static ɵcmp:
|
|
748
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisLoading, never>;
|
|
749
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisLoading, "solaris-loading", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "color": { "alias": "color"; "required": false; }; "easing": { "alias": "easing"; "required": false; }; "trail": { "alias": "trail"; "required": false; }; "dashDensity": { "alias": "dashDensity"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, never, true, never>;
|
|
604
750
|
static ngAcceptInputType_indeterminate: any;
|
|
605
751
|
}
|
|
606
752
|
type Spoke = {
|
|
@@ -621,8 +767,8 @@ declare class SolarisBadge {
|
|
|
621
767
|
get colorClass(): string;
|
|
622
768
|
get isCustomColor(): boolean;
|
|
623
769
|
get customColorValue(): string | null;
|
|
624
|
-
static ɵfac:
|
|
625
|
-
static ɵcmp:
|
|
770
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisBadge, never>;
|
|
771
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisBadge, "solaris-badge", never, { "pill": { "alias": "pill"; "required": false; }; "customTextColor": { "alias": "customTextColor"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
626
772
|
}
|
|
627
773
|
|
|
628
774
|
interface SolarisSliderItem {
|
|
@@ -642,23 +788,23 @@ type SolarisSliderOverlayContext = {
|
|
|
642
788
|
};
|
|
643
789
|
|
|
644
790
|
declare class SolarisImageSliderComponent {
|
|
645
|
-
readonly viewport:
|
|
791
|
+
readonly viewport: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
646
792
|
private timer;
|
|
647
793
|
private readonly destroyRef;
|
|
648
|
-
readonly items:
|
|
649
|
-
readonly radius:
|
|
650
|
-
readonly autoplay:
|
|
651
|
-
readonly showDots:
|
|
652
|
-
readonly intervalMs:
|
|
653
|
-
readonly showArrows:
|
|
654
|
-
readonly aspect:
|
|
655
|
-
readonly pauseOnHover:
|
|
656
|
-
readonly overlayTpl:
|
|
657
|
-
protected readonly paused:
|
|
658
|
-
protected readonly activeIndex:
|
|
794
|
+
readonly items: _angular_core.InputSignal<SolarisSliderItem[]>;
|
|
795
|
+
readonly radius: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
796
|
+
readonly autoplay: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
797
|
+
readonly showDots: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
798
|
+
readonly intervalMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
799
|
+
readonly showArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
800
|
+
readonly aspect: _angular_core.InputSignal<"auto" | "16/9" | "9/16" | "4/3" | "1/1">;
|
|
801
|
+
readonly pauseOnHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
802
|
+
readonly overlayTpl: _angular_core.InputSignal<TemplateRef<SolarisSliderOverlayContext> | undefined>;
|
|
803
|
+
protected readonly paused: _angular_core.WritableSignal<boolean>;
|
|
804
|
+
protected readonly activeIndex: _angular_core.WritableSignal<number>;
|
|
659
805
|
private readonly viewReady;
|
|
660
|
-
protected readonly count:
|
|
661
|
-
protected readonly canRun:
|
|
806
|
+
protected readonly count: _angular_core.Signal<number>;
|
|
807
|
+
protected readonly canRun: _angular_core.Signal<boolean>;
|
|
662
808
|
get dataAspect(): "auto" | "16/9" | "9/16" | "4/3" | "1/1";
|
|
663
809
|
get dataRadius(): "sm" | "md" | "lg";
|
|
664
810
|
constructor();
|
|
@@ -674,8 +820,8 @@ declare class SolarisImageSliderComponent {
|
|
|
674
820
|
private stopTimer;
|
|
675
821
|
private bumpAutoplay;
|
|
676
822
|
onKeyDown(ev: KeyboardEvent): void;
|
|
677
|
-
static ɵfac:
|
|
678
|
-
static ɵcmp:
|
|
823
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisImageSliderComponent, never>;
|
|
824
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisImageSliderComponent, "solaris-image-slider", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "autoplay": { "alias": "autoplay"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; "intervalMs": { "alias": "intervalMs"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "aspect": { "alias": "aspect"; "required": false; "isSignal": true; }; "pauseOnHover": { "alias": "pauseOnHover"; "required": false; "isSignal": true; }; "overlayTpl": { "alias": "overlayTpl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
679
825
|
}
|
|
680
826
|
|
|
681
827
|
declare class SolarisSectionComponent {
|
|
@@ -683,8 +829,8 @@ declare class SolarisSectionComponent {
|
|
|
683
829
|
description?: string;
|
|
684
830
|
appearance: 'plain' | 'card';
|
|
685
831
|
density: 'comfortable' | 'compact';
|
|
686
|
-
static ɵfac:
|
|
687
|
-
static ɵcmp:
|
|
832
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisSectionComponent, never>;
|
|
833
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisSectionComponent, "solaris-section", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "density": { "alias": "density"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
688
834
|
}
|
|
689
835
|
|
|
690
836
|
type DividerStrength = 'soft' | 'normal';
|
|
@@ -704,18 +850,100 @@ declare class SolarisDivider {
|
|
|
704
850
|
hostClass: string;
|
|
705
851
|
get ariaOrientation(): "horizontal" | "vertical";
|
|
706
852
|
get hasLabel(): boolean;
|
|
707
|
-
static ɵfac:
|
|
708
|
-
static ɵcmp:
|
|
853
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDivider, never>;
|
|
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
|
+
}
|
|
856
|
+
|
|
857
|
+
type SolarisDialogPosition = 'center' | 'top';
|
|
858
|
+
type SolarisDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'fullscreen';
|
|
859
|
+
type SolarisDialogActionVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
860
|
+
interface SolarisDialogAction<TResult = unknown> {
|
|
861
|
+
label?: string;
|
|
862
|
+
labelKey?: string;
|
|
863
|
+
labelParams?: Record<string, unknown>;
|
|
864
|
+
value?: TResult;
|
|
865
|
+
variant?: SolarisDialogActionVariant;
|
|
866
|
+
disabled?: boolean;
|
|
867
|
+
closesDialog?: boolean;
|
|
868
|
+
}
|
|
869
|
+
interface SolarisDialogConfiguration<TData = unknown, TResult = unknown> {
|
|
870
|
+
title?: string;
|
|
871
|
+
titleKey?: string;
|
|
872
|
+
titleParams?: Record<string, unknown>;
|
|
873
|
+
description?: string;
|
|
874
|
+
descriptionKey?: string;
|
|
875
|
+
descriptionParams?: Record<string, unknown>;
|
|
876
|
+
data?: TData;
|
|
877
|
+
size?: SolarisDialogSize;
|
|
878
|
+
panelClass?: string;
|
|
879
|
+
showCloseButton?: boolean;
|
|
880
|
+
disableClose?: boolean;
|
|
881
|
+
closeOnBackdropClick?: boolean;
|
|
882
|
+
closeOnEscape?: boolean;
|
|
883
|
+
position?: SolarisDialogPosition;
|
|
884
|
+
actions?: SolarisDialogAction<TResult>[];
|
|
885
|
+
ariaLabel?: string;
|
|
886
|
+
ariaLabelledBy?: string;
|
|
887
|
+
ariaDescribedBy?: string;
|
|
888
|
+
}
|
|
889
|
+
interface SolarisDialogOpenOptions<TData = unknown, TResult = unknown> extends SolarisDialogConfiguration<TData, TResult> {
|
|
890
|
+
component: Type<unknown>;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
declare class SolarisDialogContainer<TResult = unknown> {
|
|
894
|
+
readonly contentHost: ViewContainerRef;
|
|
895
|
+
title?: string;
|
|
896
|
+
titleKey?: string;
|
|
897
|
+
titleParams?: Record<string, unknown>;
|
|
898
|
+
description?: string;
|
|
899
|
+
descriptionKey?: string;
|
|
900
|
+
descriptionParams?: Record<string, unknown>;
|
|
901
|
+
size: SolarisDialogSize;
|
|
902
|
+
showCloseButton: boolean;
|
|
903
|
+
actions: SolarisDialogAction<TResult>[];
|
|
904
|
+
ariaLabel?: string;
|
|
905
|
+
ariaLabelledBy?: string;
|
|
906
|
+
ariaDescribedBy?: string;
|
|
907
|
+
readonly closeClick: EventEmitter<void>;
|
|
908
|
+
readonly actionClick: EventEmitter<SolarisDialogAction<TResult>>;
|
|
909
|
+
readonly titleId: string;
|
|
910
|
+
readonly descriptionId: string;
|
|
911
|
+
get hasHeader(): boolean;
|
|
912
|
+
get hasDescription(): boolean;
|
|
913
|
+
get hasActions(): boolean;
|
|
914
|
+
get resolvedAriaLabelledBy(): string | null;
|
|
915
|
+
get resolvedAriaDescribedBy(): string | null;
|
|
916
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDialogContainer<any>, never>;
|
|
917
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDialogContainer<any>, "solaris-dialog-container", never, { "title": { "alias": "title"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "titleParams": { "alias": "titleParams"; "required": false; }; "description": { "alias": "description"; "required": false; }; "descriptionKey": { "alias": "descriptionKey"; "required": false; }; "descriptionParams": { "alias": "descriptionParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; }, { "closeClick": "closeClick"; "actionClick": "actionClick"; }, never, never, true, never>;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
declare const SOLARIS_DIALOG_DATA: InjectionToken<unknown>;
|
|
921
|
+
|
|
922
|
+
declare class SolarisDialogRef<TResult = unknown> {
|
|
923
|
+
private readonly closedSubject;
|
|
924
|
+
private closeFn?;
|
|
925
|
+
afterClosed(): Observable<TResult | undefined>;
|
|
926
|
+
close(result?: TResult): void;
|
|
927
|
+
_attachCloseFn(fn: (result?: TResult) => void): void;
|
|
928
|
+
_finishClose(result?: TResult): void;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
declare class SolarisDialogService {
|
|
932
|
+
private readonly appRef;
|
|
933
|
+
private readonly environmentInjector;
|
|
934
|
+
open<TComponent, TData = unknown, TResult = unknown>(component: Type<TComponent>, configuration?: SolarisDialogConfiguration<TData, TResult>): SolarisDialogRef<TResult>;
|
|
935
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDialogService, never>;
|
|
936
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisDialogService>;
|
|
709
937
|
}
|
|
710
938
|
|
|
711
939
|
declare class SolarisDrawerHeaderDirective {
|
|
712
|
-
static ɵfac:
|
|
713
|
-
static ɵdir:
|
|
940
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDrawerHeaderDirective, never>;
|
|
941
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisDrawerHeaderDirective, "[solaris-drawer-header]", never, {}, {}, never, never, true, never>;
|
|
714
942
|
}
|
|
715
943
|
|
|
716
944
|
declare class SolarisDrawerFooterDirective {
|
|
717
|
-
static ɵfac:
|
|
718
|
-
static ɵdir:
|
|
945
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDrawerFooterDirective, never>;
|
|
946
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisDrawerFooterDirective, "[solaris-drawer-footer]", never, {}, {}, never, never, true, never>;
|
|
719
947
|
}
|
|
720
948
|
|
|
721
949
|
type SolarisDrawerSide = 'right' | 'left' | 'bottom';
|
|
@@ -741,7 +969,7 @@ declare class SolarisDrawer {
|
|
|
741
969
|
private readonly _internalOpen;
|
|
742
970
|
set open(v: boolean | null);
|
|
743
971
|
get open(): boolean | null;
|
|
744
|
-
readonly isOpen:
|
|
972
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
745
973
|
openChange: EventEmitter<boolean>;
|
|
746
974
|
headerSlot?: SolarisDrawerHeaderDirective;
|
|
747
975
|
footerSlot?: SolarisDrawerFooterDirective;
|
|
@@ -768,18 +996,18 @@ declare class SolarisDrawer {
|
|
|
768
996
|
private getFocusable;
|
|
769
997
|
private lockBodyScroll;
|
|
770
998
|
private unlockBodyScroll;
|
|
771
|
-
static ɵfac:
|
|
772
|
-
static ɵcmp:
|
|
999
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisDrawer, never>;
|
|
1000
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisDrawer, "solaris-drawer", never, { "title": { "alias": "title"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "trapFocus": { "alias": "trapFocus"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "lockScroll": { "alias": "lockScroll"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "width": { "alias": "width"; "required": false; }; "side": { "alias": "side"; "required": false; }; "height": { "alias": "height"; "required": false; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, ["headerSlot", "footerSlot"], ["[solaris-drawer-header]", "*", "[solaris-drawer-footer]"], true, never>;
|
|
773
1001
|
}
|
|
774
1002
|
|
|
775
1003
|
declare class SolarisFilterPanelFooterDirective {
|
|
776
|
-
static ɵfac:
|
|
777
|
-
static ɵdir:
|
|
1004
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterPanelFooterDirective, never>;
|
|
1005
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisFilterPanelFooterDirective, "[solaris-filter-panel-footer]", never, {}, {}, never, never, true, never>;
|
|
778
1006
|
}
|
|
779
1007
|
|
|
780
1008
|
declare class SolarisTableFilters {
|
|
781
|
-
static ɵfac:
|
|
782
|
-
static ɵcmp:
|
|
1009
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTableFilters, never>;
|
|
1010
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTableFilters, "solaris-table-filters", never, {}, {}, never, ["*"], true, never>;
|
|
783
1011
|
}
|
|
784
1012
|
|
|
785
1013
|
declare class SolarisFilterField {
|
|
@@ -791,13 +1019,13 @@ declare class SolarisFilterField {
|
|
|
791
1019
|
reset: EventEmitter<void>;
|
|
792
1020
|
get showReset(): boolean;
|
|
793
1021
|
onResetClick(ev: MouseEvent): void;
|
|
794
|
-
static ɵfac:
|
|
795
|
-
static ɵcmp:
|
|
1022
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterField, never>;
|
|
1023
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisFilterField, "solaris-filter-field", never, { "label": { "alias": "label"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "active": { "alias": "active"; "required": false; }; "resetLabel": { "alias": "resetLabel"; "required": false; }; "resetLabelKey": { "alias": "resetLabelKey"; "required": false; }; }, { "reset": "reset"; }, never, ["*"], true, never>;
|
|
796
1024
|
}
|
|
797
1025
|
|
|
798
1026
|
declare class SolarisFilterPanelChipsDirective {
|
|
799
|
-
static ɵfac:
|
|
800
|
-
static ɵdir:
|
|
1027
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterPanelChipsDirective, never>;
|
|
1028
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisFilterPanelChipsDirective, "[solaris-filter-panel-chips]", never, {}, {}, never, never, true, never>;
|
|
801
1029
|
}
|
|
802
1030
|
|
|
803
1031
|
type SolarisFilterPanelRadius = 'sm' | 'md' | 'full';
|
|
@@ -817,18 +1045,18 @@ declare class SolarisFilterPanel {
|
|
|
817
1045
|
private readonly _chipsSlot;
|
|
818
1046
|
set open(v: boolean | null);
|
|
819
1047
|
get open(): boolean | null;
|
|
820
|
-
readonly isOpen:
|
|
1048
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
821
1049
|
apply: EventEmitter<void>;
|
|
822
1050
|
clearAll: EventEmitter<void>;
|
|
823
1051
|
openChange: EventEmitter<boolean>;
|
|
824
1052
|
footerSlot?: SolarisFilterPanelFooterDirective;
|
|
825
1053
|
set chipsSlot(v: SolarisFilterPanelChipsDirective | undefined);
|
|
826
|
-
readonly hasChips:
|
|
1054
|
+
readonly hasChips: _angular_core.Signal<boolean>;
|
|
827
1055
|
get hasCustomFooter(): boolean;
|
|
828
1056
|
setOpen(next: boolean): void;
|
|
829
1057
|
toggle(): void;
|
|
830
|
-
static ɵfac:
|
|
831
|
-
static ɵcmp:
|
|
1058
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterPanel, never>;
|
|
1059
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisFilterPanel, "solaris-filter-panel", never, { "count": { "alias": "count"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "drawerSide": { "alias": "drawerSide"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "drawerWidth": { "alias": "drawerWidth"; "required": false; }; "label": { "alias": "label"; "required": false; }; "title": { "alias": "title"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "apply": "apply"; "clearAll": "clearAll"; "openChange": "openChange"; }, ["footerSlot", "chipsSlot"], ["[solarisFilterPanelChips]", "*", "[solarisFilterPanelFooter]"], true, never>;
|
|
832
1060
|
}
|
|
833
1061
|
|
|
834
1062
|
declare class SolarisFilterChip {
|
|
@@ -842,8 +1070,8 @@ declare class SolarisFilterChip {
|
|
|
842
1070
|
remove: EventEmitter<void>;
|
|
843
1071
|
chipClick: EventEmitter<void>;
|
|
844
1072
|
onRemoveClick(ev: MouseEvent): void;
|
|
845
|
-
static ɵfac:
|
|
846
|
-
static ɵcmp:
|
|
1073
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterChip, never>;
|
|
1074
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisFilterChip, "solaris-filter-chip", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "valueKey": { "alias": "valueKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, { "remove": "remove"; "chipClick": "chipClick"; }, never, never, true, never>;
|
|
847
1075
|
}
|
|
848
1076
|
|
|
849
1077
|
declare class SolarisTableSkeleton {
|
|
@@ -853,26 +1081,26 @@ declare class SolarisTableSkeleton {
|
|
|
853
1081
|
gridTemplateColumns: string;
|
|
854
1082
|
rowsArray(): number[];
|
|
855
1083
|
colsArray(): number[];
|
|
856
|
-
static ɵfac:
|
|
857
|
-
static ɵcmp:
|
|
1084
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTableSkeleton, never>;
|
|
1085
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTableSkeleton, "solaris-table-skeleton", never, { "rows": { "alias": "rows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "gridTemplateColumns": { "alias": "gridTemplateColumns"; "required": false; }; }, {}, never, never, true, never>;
|
|
858
1086
|
}
|
|
859
1087
|
|
|
860
1088
|
declare class SolarisFilterBar {
|
|
861
|
-
static ɵfac:
|
|
862
|
-
static ɵcmp:
|
|
1089
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFilterBar, never>;
|
|
1090
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisFilterBar, "solaris-filter-bar", never, {}, {}, never, ["*"], true, never>;
|
|
863
1091
|
}
|
|
864
1092
|
|
|
865
1093
|
declare class SolarisColumnCellDef {
|
|
866
1094
|
readonly template: TemplateRef<any>;
|
|
867
1095
|
constructor(template: TemplateRef<any>);
|
|
868
|
-
static ɵfac:
|
|
869
|
-
static ɵdir:
|
|
1096
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisColumnCellDef, never>;
|
|
1097
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisColumnCellDef, "ng-template[solaris-column-cell]", never, {}, {}, never, never, true, never>;
|
|
870
1098
|
}
|
|
871
1099
|
declare class SolarisColumnHeaderDef {
|
|
872
1100
|
readonly template: TemplateRef<any>;
|
|
873
1101
|
constructor(template: TemplateRef<any>);
|
|
874
|
-
static ɵfac:
|
|
875
|
-
static ɵdir:
|
|
1102
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisColumnHeaderDef, never>;
|
|
1103
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisColumnHeaderDef, "ng-template[solaris-column-header]", never, {}, {}, never, never, true, never>;
|
|
876
1104
|
}
|
|
877
1105
|
|
|
878
1106
|
type SolarisTableVariant = 'grid' | 'zebra';
|
|
@@ -912,8 +1140,8 @@ declare class SolarisTableColumn {
|
|
|
912
1140
|
sortable: boolean;
|
|
913
1141
|
cellDef?: SolarisColumnCellDef;
|
|
914
1142
|
headerDef?: SolarisColumnHeaderDef;
|
|
915
|
-
static ɵfac:
|
|
916
|
-
static ɵcmp:
|
|
1143
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTableColumn, never>;
|
|
1144
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTableColumn, "solaris-column", never, { "field": { "alias": "field"; "required": false; }; "width": { "alias": "width"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortKey": { "alias": "sortKey"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "headerKey": { "alias": "headerKey"; "required": false; }; "headerIconClass": { "alias": "headerIconClass"; "required": false; }; "align": { "alias": "align"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; }, {}, ["cellDef", "headerDef"], never, true, never>;
|
|
917
1145
|
static ngAcceptInputType_grow: unknown;
|
|
918
1146
|
static ngAcceptInputType_resizable: unknown;
|
|
919
1147
|
static ngAcceptInputType_sortable: unknown;
|
|
@@ -939,19 +1167,19 @@ declare class SolarisTable implements AfterContentInit, OnChanges {
|
|
|
939
1167
|
selectionChange: EventEmitter<SolarisRowKey[]>;
|
|
940
1168
|
private readonly columnQuery;
|
|
941
1169
|
private readonly tableRoot;
|
|
942
|
-
readonly needsScroll:
|
|
943
|
-
readonly measuredReady:
|
|
944
|
-
readonly sortState:
|
|
1170
|
+
readonly needsScroll: _angular_core.WritableSignal<boolean>;
|
|
1171
|
+
readonly measuredReady: _angular_core.WritableSignal<boolean>;
|
|
1172
|
+
readonly sortState: _angular_core.WritableSignal<SolarisSort[]>;
|
|
945
1173
|
private readonly measuredPx;
|
|
946
|
-
readonly columns:
|
|
1174
|
+
readonly columns: _angular_core.WritableSignal<SolarisTableColumn[]>;
|
|
947
1175
|
private readonly selectionSig;
|
|
948
1176
|
private readonly rowKeys;
|
|
949
1177
|
private readonly manualPx;
|
|
950
1178
|
private readonly selectionSetSig;
|
|
951
|
-
readonly selectAllChecked:
|
|
952
|
-
readonly selectAllIndeterminate:
|
|
953
|
-
readonly selectedCount:
|
|
954
|
-
readonly gridTemplateColumns:
|
|
1179
|
+
readonly selectAllChecked: _angular_core.Signal<boolean>;
|
|
1180
|
+
readonly selectAllIndeterminate: _angular_core.Signal<boolean>;
|
|
1181
|
+
readonly selectedCount: _angular_core.Signal<number>;
|
|
1182
|
+
readonly gridTemplateColumns: _angular_core.Signal<string>;
|
|
955
1183
|
private rafId;
|
|
956
1184
|
private resizeObserver?;
|
|
957
1185
|
get rangeStart(): number;
|
|
@@ -990,8 +1218,8 @@ declare class SolarisTable implements AfterContentInit, OnChanges {
|
|
|
990
1218
|
lastPage(): void;
|
|
991
1219
|
changePageSize(size: number): void;
|
|
992
1220
|
private buildGridTemplateColumns;
|
|
993
|
-
static ɵfac:
|
|
994
|
-
static ɵcmp:
|
|
1221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisTable, never>;
|
|
1222
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisTable, "solaris-table", never, { "length": { "alias": "length"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "rowsCount": { "alias": "rowsCount"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "tableDescription": { "alias": "tableDescription"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "emptyIconClass": { "alias": "emptyIconClass"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "emptyTextKey": { "alias": "emptyTextKey"; "required": false; }; }, { "sortChange": "sortChange"; "pageChange": "pageChange"; "selectionChange": "selectionChange"; }, ["columnQuery"], ["solaris-table-filters", "solaris-row"], true, never>;
|
|
995
1223
|
}
|
|
996
1224
|
|
|
997
1225
|
declare class SolarisRowComponent implements OnInit {
|
|
@@ -1002,45 +1230,45 @@ declare class SolarisRowComponent implements OnInit {
|
|
|
1002
1230
|
constructor(table: SolarisTable);
|
|
1003
1231
|
ngOnInit(): void;
|
|
1004
1232
|
get isSelected(): boolean;
|
|
1005
|
-
static ɵfac:
|
|
1006
|
-
static ɵcmp:
|
|
1233
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisRowComponent, [{ optional: true; host: true; }]>;
|
|
1234
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisRowComponent, "solaris-row", never, { "rowKey": { "alias": "rowKey"; "required": false; }; "value": { "alias": "value"; "required": true; }; }, {}, never, never, true, never>;
|
|
1007
1235
|
}
|
|
1008
1236
|
|
|
1009
1237
|
declare class SolarisHeaderDirective {
|
|
1010
|
-
static ɵfac:
|
|
1011
|
-
static ɵdir:
|
|
1238
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisHeaderDirective, never>;
|
|
1239
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisHeaderDirective, "[solaris-header]", never, {}, {}, never, never, true, never>;
|
|
1012
1240
|
}
|
|
1013
1241
|
|
|
1014
1242
|
declare class SolarisFooterDirective {
|
|
1015
|
-
static ɵfac:
|
|
1016
|
-
static ɵdir:
|
|
1243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFooterDirective, never>;
|
|
1244
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisFooterDirective, "[solaris-footer]", never, {}, {}, never, never, true, never>;
|
|
1017
1245
|
}
|
|
1018
1246
|
|
|
1019
1247
|
declare class SolarisBodyDirective {
|
|
1020
|
-
static ɵfac:
|
|
1021
|
-
static ɵdir:
|
|
1248
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisBodyDirective, never>;
|
|
1249
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisBodyDirective, "[solaris-body]", never, {}, {}, never, never, true, never>;
|
|
1022
1250
|
}
|
|
1023
1251
|
|
|
1024
1252
|
declare class SolarisPage {
|
|
1025
1253
|
stickyHeader: boolean;
|
|
1026
1254
|
container: 'contained' | 'fluid';
|
|
1027
|
-
static ɵfac:
|
|
1028
|
-
static ɵcmp:
|
|
1255
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPage, never>;
|
|
1256
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPage, "solaris-page", never, { "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "container": { "alias": "container"; "required": false; }; }, {}, never, ["[solaris-header]", "[solaris-body]", "[solaris-footer]"], true, never>;
|
|
1029
1257
|
}
|
|
1030
1258
|
|
|
1031
1259
|
declare class SolarisPageHeaderDescriptionDirective {
|
|
1032
|
-
static ɵfac:
|
|
1033
|
-
static ɵdir:
|
|
1260
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeaderDescriptionDirective, never>;
|
|
1261
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPageHeaderDescriptionDirective, "[solaris-page-header-description]", never, {}, {}, never, never, true, never>;
|
|
1034
1262
|
}
|
|
1035
1263
|
|
|
1036
1264
|
declare class SolarisPageHeaderBreadcrumbDirective {
|
|
1037
|
-
static ɵfac:
|
|
1038
|
-
static ɵdir:
|
|
1265
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeaderBreadcrumbDirective, never>;
|
|
1266
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPageHeaderBreadcrumbDirective, "[solaris-page-header-breadcrumb]", never, {}, {}, never, never, true, never>;
|
|
1039
1267
|
}
|
|
1040
1268
|
|
|
1041
1269
|
declare class SolarisPageHeaderTitleDirective {
|
|
1042
|
-
static ɵfac:
|
|
1043
|
-
static ɵdir:
|
|
1270
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeaderTitleDirective, never>;
|
|
1271
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPageHeaderTitleDirective, "[solaris-page-header-title]", never, {}, {}, never, never, true, never>;
|
|
1044
1272
|
}
|
|
1045
1273
|
|
|
1046
1274
|
declare class SolarisPageHeaderTitle {
|
|
@@ -1048,13 +1276,13 @@ declare class SolarisPageHeaderTitle {
|
|
|
1048
1276
|
overline?: string;
|
|
1049
1277
|
description?: string;
|
|
1050
1278
|
size: 'md' | 'lg';
|
|
1051
|
-
static ɵfac:
|
|
1052
|
-
static ɵcmp:
|
|
1279
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeaderTitle, never>;
|
|
1280
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPageHeaderTitle, "solaris-page-header-title", never, { "title": { "alias": "title"; "required": false; }; "overline": { "alias": "overline"; "required": false; }; "description": { "alias": "description"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
1053
1281
|
}
|
|
1054
1282
|
|
|
1055
1283
|
declare class SolarisPageHeaderActionsDirective {
|
|
1056
|
-
static ɵfac:
|
|
1057
|
-
static ɵdir:
|
|
1284
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeaderActionsDirective, never>;
|
|
1285
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPageHeaderActionsDirective, "[solaris-page-header-actions]", never, {}, {}, never, never, true, never>;
|
|
1058
1286
|
}
|
|
1059
1287
|
|
|
1060
1288
|
declare class SolarisPageHeader {
|
|
@@ -1064,8 +1292,8 @@ declare class SolarisPageHeader {
|
|
|
1064
1292
|
actionsSlot?: SolarisPageHeaderActionsDirective;
|
|
1065
1293
|
breadcrumbSlot?: SolarisPageHeaderBreadcrumbDirective;
|
|
1066
1294
|
descriptionSlot?: SolarisPageHeaderDescriptionDirective;
|
|
1067
|
-
static ɵfac:
|
|
1068
|
-
static ɵcmp:
|
|
1295
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPageHeader, never>;
|
|
1296
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPageHeader, "solaris-page-header", never, { "layout": { "alias": "layout"; "required": false; }; "density": { "alias": "density"; "required": false; }; }, {}, ["titleSlot", "actionsSlot", "breadcrumbSlot", "descriptionSlot"], ["[solaris-page-header-breadcrumb]", "[solaris-page-header-title]", "[solaris-page-header-title-meta]", "[solaris-page-header-title-meta]", "[solaris-page-header-description]", "[solaris-page-header-actions]"], true, never>;
|
|
1069
1297
|
}
|
|
1070
1298
|
|
|
1071
1299
|
type CheckboxAppearance = 'solid' | 'outline';
|
|
@@ -1076,24 +1304,24 @@ type SolarisCheckCustomString = string & {
|
|
|
1076
1304
|
};
|
|
1077
1305
|
|
|
1078
1306
|
declare class SolarisCheckbox implements ControlValueAccessor {
|
|
1079
|
-
readonly indeterminate:
|
|
1080
|
-
readonly ariaLabel:
|
|
1081
|
-
readonly size:
|
|
1082
|
-
readonly variant:
|
|
1083
|
-
readonly color:
|
|
1084
|
-
readonly inputId:
|
|
1085
|
-
readonly appearance:
|
|
1086
|
-
readonly checkColor:
|
|
1087
|
-
readonly checked:
|
|
1088
|
-
readonly disabled:
|
|
1089
|
-
readonly checkedChange:
|
|
1090
|
-
readonly indeterminateChange:
|
|
1307
|
+
readonly indeterminate: _angular_core.InputSignal<boolean>;
|
|
1308
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1309
|
+
readonly size: _angular_core.InputSignal<SolarisSizePreset>;
|
|
1310
|
+
readonly variant: _angular_core.InputSignal<CheckboxVariant>;
|
|
1311
|
+
readonly color: _angular_core.InputSignal<CheckboxColorInput>;
|
|
1312
|
+
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
1313
|
+
readonly appearance: _angular_core.InputSignal<CheckboxAppearance>;
|
|
1314
|
+
readonly checkColor: _angular_core.InputSignal<CheckboxColorInput | null>;
|
|
1315
|
+
readonly checked: _angular_core.WritableSignal<boolean>;
|
|
1316
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
1317
|
+
readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1318
|
+
readonly indeterminateChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1091
1319
|
private readonly native?;
|
|
1092
|
-
readonly customAccent:
|
|
1093
|
-
readonly colorKey:
|
|
1320
|
+
readonly customAccent: _angular_core.Signal<string | null>;
|
|
1321
|
+
readonly colorKey: _angular_core.Signal<SolarisColorPreset | "custom">;
|
|
1094
1322
|
private readonly autoId;
|
|
1095
|
-
readonly id:
|
|
1096
|
-
readonly ink:
|
|
1323
|
+
readonly id: _angular_core.Signal<string>;
|
|
1324
|
+
readonly ink: _angular_core.Signal<string | null>;
|
|
1097
1325
|
private onChange;
|
|
1098
1326
|
private onTouched;
|
|
1099
1327
|
constructor();
|
|
@@ -1103,8 +1331,8 @@ declare class SolarisCheckbox implements ControlValueAccessor {
|
|
|
1103
1331
|
registerOnTouched(fn: () => void): void;
|
|
1104
1332
|
setDisabledState(isDisabled: boolean): void;
|
|
1105
1333
|
registerOnChange(fn: (value: boolean) => void): void;
|
|
1106
|
-
static ɵfac:
|
|
1107
|
-
static ɵcmp:
|
|
1334
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCheckbox, never>;
|
|
1335
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisCheckbox, "solaris-checkbox", never, { "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inputId": { "alias": "id"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "checkColor": { "alias": "checkColor"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
|
|
1108
1336
|
}
|
|
1109
1337
|
|
|
1110
1338
|
declare class ButtonGroupDirective {
|
|
@@ -1112,11 +1340,11 @@ declare class ButtonGroupDirective {
|
|
|
1112
1340
|
set radius(v: SolarisRadiusInput | null | undefined);
|
|
1113
1341
|
readonly attr = "";
|
|
1114
1342
|
get groupRadius(): string | null;
|
|
1115
|
-
static ɵfac:
|
|
1116
|
-
static ɵdir:
|
|
1343
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonGroupDirective, never>;
|
|
1344
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ButtonGroupDirective, "[solaris-button-group]", never, { "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, true, never>;
|
|
1117
1345
|
}
|
|
1118
1346
|
|
|
1119
|
-
declare class
|
|
1347
|
+
declare class SolarisButtonDirective {
|
|
1120
1348
|
private readonly elementRef;
|
|
1121
1349
|
private readonly _loading;
|
|
1122
1350
|
private readonly _disabled;
|
|
@@ -1156,8 +1384,8 @@ declare class ButtonDirective {
|
|
|
1156
1384
|
get dataBadgeOverlay(): "true" | null;
|
|
1157
1385
|
get buttonRadius(): string | null;
|
|
1158
1386
|
onClick(ev: Event): void;
|
|
1159
|
-
static ɵfac:
|
|
1160
|
-
static ɵdir:
|
|
1387
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisButtonDirective, never>;
|
|
1388
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisButtonDirective, "button[solaris-button], a[solaris-button]", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "badgeOverlay": { "alias": "badgeOverlay"; "required": false; }; }, {}, never, never, true, never>;
|
|
1161
1389
|
static ngAcceptInputType_loading: unknown;
|
|
1162
1390
|
static ngAcceptInputType_iconOnly: unknown;
|
|
1163
1391
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -1165,11 +1393,503 @@ declare class ButtonDirective {
|
|
|
1165
1393
|
static ngAcceptInputType_badgeOverlay: unknown;
|
|
1166
1394
|
}
|
|
1167
1395
|
|
|
1396
|
+
type RadioVariant = 'dot' | 'icon';
|
|
1397
|
+
type RadioAppearance = 'solid' | 'outline';
|
|
1398
|
+
type RadioGroupOrientation = 'horizontal' | 'vertical';
|
|
1399
|
+
type RadioCompareWith = (a: unknown, b: unknown) => boolean;
|
|
1400
|
+
type RadioColorInput = SolarisRadioColorPreset | SolarisRadioCustomString;
|
|
1401
|
+
type SolarisRadioCustomString = string & {
|
|
1402
|
+
readonly __solarisCustom?: unique symbol;
|
|
1403
|
+
};
|
|
1404
|
+
type SolarisRadioColorPreset = Extract<SolarisColorPreset, 'primary' | 'success' | 'warning' | 'error' | 'info'>;
|
|
1405
|
+
|
|
1406
|
+
declare class SolarisRadio implements ControlValueAccessor {
|
|
1407
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1408
|
+
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
1409
|
+
readonly inputName: _angular_core.InputSignal<string | null>;
|
|
1410
|
+
readonly size: _angular_core.InputSignal<SolarisSizePreset>;
|
|
1411
|
+
readonly variant: _angular_core.InputSignal<RadioVariant>;
|
|
1412
|
+
readonly appearance: _angular_core.InputSignal<RadioAppearance>;
|
|
1413
|
+
readonly color: _angular_core.InputSignal<RadioColorInput>;
|
|
1414
|
+
readonly value: _angular_core.InputSignal<unknown>;
|
|
1415
|
+
readonly checkedInput: _angular_core.InputSignal<boolean>;
|
|
1416
|
+
readonly disabledInput: _angular_core.InputSignal<boolean>;
|
|
1417
|
+
readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1418
|
+
private readonly native?;
|
|
1419
|
+
private readonly group;
|
|
1420
|
+
private readonly autoId;
|
|
1421
|
+
private readonly autoName;
|
|
1422
|
+
private readonly localChecked;
|
|
1423
|
+
private readonly cvaDisabled;
|
|
1424
|
+
readonly id: _angular_core.Signal<string>;
|
|
1425
|
+
readonly name: _angular_core.Signal<string>;
|
|
1426
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
1427
|
+
readonly checked: _angular_core.Signal<boolean>;
|
|
1428
|
+
readonly tabIndex: _angular_core.Signal<number>;
|
|
1429
|
+
readonly customAccent: _angular_core.Signal<string | null>;
|
|
1430
|
+
readonly colorKey: _angular_core.Signal<SolarisColorPreset | "custom">;
|
|
1431
|
+
private onChange;
|
|
1432
|
+
private onTouched;
|
|
1433
|
+
constructor();
|
|
1434
|
+
onNativeChange(): void;
|
|
1435
|
+
onNativeKeydown(event: KeyboardEvent): void;
|
|
1436
|
+
onBlur(): void;
|
|
1437
|
+
focus(): void;
|
|
1438
|
+
writeValue(value: boolean | null): void;
|
|
1439
|
+
registerOnTouched(fn: () => void): void;
|
|
1440
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1441
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
1442
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisRadio, never>;
|
|
1443
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisRadio, "solaris-radio", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "inputId": { "alias": "id"; "required": false; "isSignal": true; }; "inputName": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "checkedInput": { "alias": "checked"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], true, never>;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
interface SolarisRadioGroupApi {
|
|
1447
|
+
readonly name: Signal<string>;
|
|
1448
|
+
readonly disabled: Signal<boolean>;
|
|
1449
|
+
readonly compareWith: Signal<RadioCompareWith>;
|
|
1450
|
+
notifyTouched(): void;
|
|
1451
|
+
select(radio: SolarisRadio): void;
|
|
1452
|
+
isSelected(value: unknown): boolean;
|
|
1453
|
+
tabIndexFor(radio: SolarisRadio): number;
|
|
1454
|
+
handleKeydown(event: KeyboardEvent, current: SolarisRadio): void;
|
|
1455
|
+
}
|
|
1456
|
+
declare const SOLARIS_RADIO_GROUP: InjectionToken<SolarisRadioGroupApi>;
|
|
1457
|
+
|
|
1458
|
+
declare class SolarisRadioGroup implements ControlValueAccessor, AfterContentInit, SolarisRadioGroupApi {
|
|
1459
|
+
readonly gap: _angular_core.InputSignal<string>;
|
|
1460
|
+
readonly compareWith: _angular_core.InputSignal<RadioCompareWith>;
|
|
1461
|
+
readonly nameInput: _angular_core.InputSignal<string | null>;
|
|
1462
|
+
readonly disabledInput: _angular_core.InputSignal<boolean>;
|
|
1463
|
+
readonly orientation: _angular_core.InputSignal<RadioGroupOrientation>;
|
|
1464
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1465
|
+
readonly valueChange: _angular_core.OutputEmitterRef<unknown>;
|
|
1466
|
+
private readonly radiosQuery?;
|
|
1467
|
+
private readonly destroyRef;
|
|
1468
|
+
private readonly autoName;
|
|
1469
|
+
private readonly cvaDisabled;
|
|
1470
|
+
private readonly internalValue;
|
|
1471
|
+
private readonly radiosVersion;
|
|
1472
|
+
readonly name: _angular_core.Signal<string>;
|
|
1473
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
1474
|
+
readonly resolvedGap: _angular_core.Signal<string>;
|
|
1475
|
+
private onChange;
|
|
1476
|
+
private onTouched;
|
|
1477
|
+
ngAfterContentInit(): void;
|
|
1478
|
+
isSelected(value: unknown): boolean;
|
|
1479
|
+
select(radio: SolarisRadio): void;
|
|
1480
|
+
tabIndexFor(radio: SolarisRadio): number;
|
|
1481
|
+
handleKeydown(event: KeyboardEvent, current: SolarisRadio): void;
|
|
1482
|
+
notifyTouched(): void;
|
|
1483
|
+
writeValue(value: unknown): void;
|
|
1484
|
+
registerOnTouched(fn: () => void): void;
|
|
1485
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1486
|
+
registerOnChange(fn: (value: unknown) => void): void;
|
|
1487
|
+
private move;
|
|
1488
|
+
private enabledRadios;
|
|
1489
|
+
private bumpRadiosVersion;
|
|
1490
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisRadioGroup, never>;
|
|
1491
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisRadioGroup, "solaris-radio-group", never, { "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "nameInput": { "alias": "name"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, ["radiosQuery"], ["*"], true, never>;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
type CardSize = SolarisSizePreset;
|
|
1495
|
+
type CardOrientation = 'vertical' | 'horizontal' | 'compact';
|
|
1496
|
+
type CardRadiusInput = SolarisRadiusPreset | SolarisCardCustomString;
|
|
1497
|
+
type SolarisCardCustomString = string & {
|
|
1498
|
+
readonly __solarisCustom?: unique symbol;
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
type SelectionCardAppearance = 'outline' | 'soft';
|
|
1502
|
+
type SelectionCardIndicator = 'auto' | 'radio' | 'checkbox' | 'icon';
|
|
1503
|
+
type ResolvedSelectionCardIndicator = 'radio' | 'checkbox' | 'icon' | 'none';
|
|
1504
|
+
type SelectionCardColorPreset = Extract<SolarisColorPreset, 'primary' | 'success' | 'warning' | 'error' | 'info'>;
|
|
1505
|
+
type SelectionCardColorInput = SelectionCardColorPreset | (string & {
|
|
1506
|
+
readonly __solarisCustom?: unique symbol;
|
|
1507
|
+
});
|
|
1508
|
+
type SelectionCardSize = CardSize;
|
|
1509
|
+
type SelectionCardOrientation = CardOrientation;
|
|
1510
|
+
type SelectionCardRadiusInput = CardRadiusInput;
|
|
1511
|
+
|
|
1512
|
+
type CardGroupLayout = 'stack' | 'grid';
|
|
1513
|
+
type CardGroupValue<T> = T | T[] | null;
|
|
1514
|
+
type SizeInput = SolarisSizePreset | (string & {});
|
|
1515
|
+
type CardGroupCompareWith<T> = (a: T, b: T) => boolean;
|
|
1516
|
+
type CardGroupSelectionMode = 'single' | 'multiple' | 'none';
|
|
1517
|
+
|
|
1518
|
+
interface SolarisSelectionCardHandle {
|
|
1519
|
+
value(): unknown;
|
|
1520
|
+
disabled(): boolean;
|
|
1521
|
+
focus(): void;
|
|
1522
|
+
}
|
|
1523
|
+
interface SolarisCardGroupApi {
|
|
1524
|
+
readonly disabled: Signal<boolean>;
|
|
1525
|
+
readonly selectionMode: Signal<CardGroupSelectionMode>;
|
|
1526
|
+
isSelected(value: unknown): boolean;
|
|
1527
|
+
activate(card: SolarisSelectionCardHandle): void;
|
|
1528
|
+
tabIndexFor(card: SolarisSelectionCardHandle): number;
|
|
1529
|
+
handleKeydown(event: KeyboardEvent, current: SolarisSelectionCardHandle): void;
|
|
1530
|
+
notifyTouched(): void;
|
|
1531
|
+
}
|
|
1532
|
+
declare const SOLARIS_CARD_GROUP: InjectionToken<SolarisCardGroupApi>;
|
|
1533
|
+
|
|
1534
|
+
declare class SolarisSelectionCard implements SolarisSelectionCardHandle {
|
|
1535
|
+
readonly value: _angular_core.InputSignal<unknown>;
|
|
1536
|
+
readonly size: _angular_core.InputSignal<_educarehq_solaris_components.SolarisSizePreset>;
|
|
1537
|
+
readonly color: _angular_core.InputSignal<SelectionCardColorInput>;
|
|
1538
|
+
readonly orientation: _angular_core.InputSignal<_educarehq_solaris_components.CardOrientation>;
|
|
1539
|
+
readonly radius: _angular_core.InputSignal<_educarehq_solaris_components.CardRadiusInput | null>;
|
|
1540
|
+
readonly appearance: _angular_core.InputSignal<SelectionCardAppearance>;
|
|
1541
|
+
readonly selectionIndicator: _angular_core.InputSignal<SelectionCardIndicator>;
|
|
1542
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1543
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1544
|
+
readonly selectedInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1545
|
+
readonly selectedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1546
|
+
readonly cardClick: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
1547
|
+
private readonly elementRef;
|
|
1548
|
+
private readonly group;
|
|
1549
|
+
private readonly localSelected;
|
|
1550
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
1551
|
+
readonly selected: _angular_core.Signal<boolean>;
|
|
1552
|
+
readonly resolvedMode: _angular_core.Signal<CardGroupSelectionMode>;
|
|
1553
|
+
onHostBlur(): void;
|
|
1554
|
+
readonly resolvedIndicator: _angular_core.Signal<ResolvedSelectionCardIndicator>;
|
|
1555
|
+
readonly tabIndex: _angular_core.Signal<number>;
|
|
1556
|
+
readonly role: _angular_core.Signal<"button" | "radio" | "checkbox">;
|
|
1557
|
+
readonly ariaChecked: _angular_core.Signal<"true" | "false" | null>;
|
|
1558
|
+
readonly customAccent: _angular_core.Signal<string | null>;
|
|
1559
|
+
readonly colorKey: _angular_core.Signal<SolarisColorPreset | "custom">;
|
|
1560
|
+
constructor();
|
|
1561
|
+
focus(): void;
|
|
1562
|
+
onHostClick(event: MouseEvent): void;
|
|
1563
|
+
onHostKeydown(event: KeyboardEvent): void;
|
|
1564
|
+
private activateStandalone;
|
|
1565
|
+
private isActionZone;
|
|
1566
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisSelectionCard, never>;
|
|
1567
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisSelectionCard, "solaris-selection-card", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "selectionIndicator": { "alias": "selectionIndicator"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectedInput": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; "cardClick": "cardClick"; }, never, ["[solaris-card-media]", "[solaris-card-eyebrow]", "[solaris-card-title]", "[solaris-card-description]", "[solaris-card-meta]", "[solaris-card-badge]", "[solaris-card-footer]", "[solaris-card-actions]"], true, never>;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
type CardGroupValidationError = 'required' | 'minSelected' | 'maxSelected' | null;
|
|
1571
|
+
|
|
1572
|
+
declare class SolarisCardGroup<T = unknown> implements ControlValueAccessor, Validator, AfterContentInit, SolarisCardGroupApi {
|
|
1573
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1574
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1575
|
+
readonly submitted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1576
|
+
readonly selectOnFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1577
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1578
|
+
readonly gap: _angular_core.InputSignal<SizeInput>;
|
|
1579
|
+
readonly invalid: _angular_core.InputSignal<boolean | null>;
|
|
1580
|
+
readonly minSelected: _angular_core.InputSignal<number | null>;
|
|
1581
|
+
readonly maxSelected: _angular_core.InputSignal<number | null>;
|
|
1582
|
+
readonly layout: _angular_core.InputSignal<CardGroupLayout>;
|
|
1583
|
+
readonly compareWith: _angular_core.InputSignal<CardGroupCompareWith<T>>;
|
|
1584
|
+
readonly showErrors: _angular_core.InputSignal<SolarisShowErrors>;
|
|
1585
|
+
readonly selectionMode: _angular_core.InputSignal<CardGroupSelectionMode>;
|
|
1586
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical" | "compact">;
|
|
1587
|
+
readonly requiredErrorKey: _angular_core.InputSignal<string>;
|
|
1588
|
+
readonly minSelectedErrorKey: _angular_core.InputSignal<string>;
|
|
1589
|
+
readonly maxSelectedErrorKey: _angular_core.InputSignal<string>;
|
|
1590
|
+
readonly valueChange: _angular_core.OutputEmitterRef<CardGroupValue<T>>;
|
|
1591
|
+
readonly selectionRejected: _angular_core.OutputEmitterRef<{
|
|
1592
|
+
reason: "readonly" | "maxSelected";
|
|
1593
|
+
value: unknown;
|
|
1594
|
+
}>;
|
|
1595
|
+
private readonly cardsQuery?;
|
|
1596
|
+
private readonly destroyRef;
|
|
1597
|
+
private readonly controlTick;
|
|
1598
|
+
private readonly dirtyState;
|
|
1599
|
+
private readonly cardsVersion;
|
|
1600
|
+
private readonly cvaDisabled;
|
|
1601
|
+
private readonly touchedState;
|
|
1602
|
+
private readonly internalValue;
|
|
1603
|
+
private onTouched;
|
|
1604
|
+
private onChange;
|
|
1605
|
+
private onValidatorChange;
|
|
1606
|
+
constructor();
|
|
1607
|
+
ngAfterContentInit(): void;
|
|
1608
|
+
readonly resolvedGap: _angular_core.Signal<string>;
|
|
1609
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
1610
|
+
readonly groupRole: _angular_core.Signal<"radiogroup" | "group">;
|
|
1611
|
+
readonly selectionCount: _angular_core.Signal<number>;
|
|
1612
|
+
readonly validationError: _angular_core.Signal<CardGroupValidationError>;
|
|
1613
|
+
readonly invalidComputed: _angular_core.Signal<boolean>;
|
|
1614
|
+
readonly errorKeyComputed: _angular_core.Signal<string | undefined>;
|
|
1615
|
+
readonly errorParamsComputed: _angular_core.Signal<SolarisTranslationParams | undefined>;
|
|
1616
|
+
isSelected(value: unknown): boolean;
|
|
1617
|
+
activate(card: SolarisSelectionCardHandle): void;
|
|
1618
|
+
tabIndexFor(card: SolarisSelectionCardHandle): number;
|
|
1619
|
+
handleKeydown(event: KeyboardEvent, current: SolarisSelectionCardHandle): void;
|
|
1620
|
+
notifyTouched(): void;
|
|
1621
|
+
writeValue(value: CardGroupValue<T>): void;
|
|
1622
|
+
registerOnTouched(fn: () => void): void;
|
|
1623
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1624
|
+
registerOnChange(fn: (value: CardGroupValue<T>) => void): void;
|
|
1625
|
+
validate(_: AbstractControl): ValidationErrors | null;
|
|
1626
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
1627
|
+
private move;
|
|
1628
|
+
private focusFirst;
|
|
1629
|
+
private focusLast;
|
|
1630
|
+
private enabledCards;
|
|
1631
|
+
private emitModelChange;
|
|
1632
|
+
private normalizeIncomingValue;
|
|
1633
|
+
private bumpCardsVersion;
|
|
1634
|
+
private bumpControlTick;
|
|
1635
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardGroup<any>, never>;
|
|
1636
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisCardGroup<any>, "solaris-card-group", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "submitted": { "alias": "submitted"; "required": false; "isSignal": true; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabledInput"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "minSelected": { "alias": "minSelected"; "required": false; "isSignal": true; }; "maxSelected": { "alias": "maxSelected"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "showErrors": { "alias": "showErrors"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "requiredErrorKey": { "alias": "requiredErrorKey"; "required": false; "isSignal": true; }; "minSelectedErrorKey": { "alias": "minSelectedErrorKey"; "required": false; "isSignal": true; }; "maxSelectedErrorKey": { "alias": "maxSelectedErrorKey"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "selectionRejected": "selectionRejected"; }, ["cardsQuery"], ["*", "[card-group-message]"], true, never>;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
declare class SolarisCardMediaDirective {
|
|
1640
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardMediaDirective, never>;
|
|
1641
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardMediaDirective, "[solaris-card-media]", never, {}, {}, never, never, true, never>;
|
|
1642
|
+
}
|
|
1643
|
+
declare class SolarisCardEyebrowDirective {
|
|
1644
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardEyebrowDirective, never>;
|
|
1645
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardEyebrowDirective, "[solaris-card-eyebrow]", never, {}, {}, never, never, true, never>;
|
|
1646
|
+
}
|
|
1647
|
+
declare class SolarisCardTitleDirective {
|
|
1648
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardTitleDirective, never>;
|
|
1649
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardTitleDirective, "[solaris-card-title]", never, {}, {}, never, never, true, never>;
|
|
1650
|
+
}
|
|
1651
|
+
declare class SolarisCardDescriptionDirective {
|
|
1652
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardDescriptionDirective, never>;
|
|
1653
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardDescriptionDirective, "[solaris-card-description]", never, {}, {}, never, never, true, never>;
|
|
1654
|
+
}
|
|
1655
|
+
declare class SolarisCardMetaDirective {
|
|
1656
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardMetaDirective, never>;
|
|
1657
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardMetaDirective, "[solaris-card-meta]", never, {}, {}, never, never, true, never>;
|
|
1658
|
+
}
|
|
1659
|
+
declare class SolarisCardBadgeDirective {
|
|
1660
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardBadgeDirective, never>;
|
|
1661
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardBadgeDirective, "[solaris-card-badge]", never, {}, {}, never, never, true, never>;
|
|
1662
|
+
}
|
|
1663
|
+
declare class SolarisCardActionsDirective {
|
|
1664
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardActionsDirective, never>;
|
|
1665
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardActionsDirective, "[solaris-card-actions]", never, {}, {}, never, never, true, never>;
|
|
1666
|
+
}
|
|
1667
|
+
declare class SolarisCardFooterDirective {
|
|
1668
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardFooterDirective, never>;
|
|
1669
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardFooterDirective, "[solaris-card-footer]", never, {}, {}, never, never, true, never>;
|
|
1670
|
+
}
|
|
1671
|
+
declare const SOLARIS_CARD_SLOT_DIRECTIVES: readonly [typeof SolarisCardMediaDirective, typeof SolarisCardEyebrowDirective, typeof SolarisCardTitleDirective, typeof SolarisCardDescriptionDirective, typeof SolarisCardMetaDirective, typeof SolarisCardBadgeDirective, typeof SolarisCardActionsDirective, typeof SolarisCardFooterDirective];
|
|
1672
|
+
|
|
1673
|
+
declare class SolarisCard {
|
|
1674
|
+
readonly size: _angular_core.InputSignal<_educarehq_solaris_components.SolarisSizePreset>;
|
|
1675
|
+
readonly orientation: _angular_core.InputSignal<CardOrientation>;
|
|
1676
|
+
readonly radius: _angular_core.InputSignal<CardRadiusInput | null>;
|
|
1677
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1678
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1679
|
+
readonly resolvedRadius: _angular_core.Signal<string | null>;
|
|
1680
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCard, never>;
|
|
1681
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisCard, "solaris-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; }, {}, never, ["[solaris-card-media]", "[solaris-card-eyebrow]", "[solaris-card-title]", "[solaris-card-badge]", "[solaris-card-description]", "[solaris-card-meta]", "[solaris-card-footer]", "[solaris-card-actions]"], true, never>;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
type SolarisPresenceQuietHours = boolean | 'auto';
|
|
1685
|
+
type SolarisPresenceState = 'online' | 'offline' | 'away' | 'busy' | 'dnd';
|
|
1686
|
+
type TimeContext = {
|
|
1687
|
+
hour: number;
|
|
1688
|
+
isWeekend: boolean;
|
|
1689
|
+
timezone: string;
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
type LiteralUnion<T extends string> = T | (string & {});
|
|
1693
|
+
type SolarisAvatarShape = 'circle' | 'square';
|
|
1694
|
+
type SolarisAvatarObjectFit = 'cover' | 'contain';
|
|
1695
|
+
type SolarisAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1696
|
+
type SolarisAvatarButtonType = 'button' | 'submit' | 'reset';
|
|
1697
|
+
type SolarisAvatarVariant = 'auto' | 'image' | 'letter' | 'default';
|
|
1698
|
+
type SolarisAvatarColorPreset = Exclude<SolarisColorPreset, 'gradient'>;
|
|
1699
|
+
type SolarisAvatarColorInput = LiteralUnion<SolarisAvatarColorPreset>;
|
|
1700
|
+
type SolarisAvatarRadiusInput = LiteralUnion<SolarisRadiusPreset> | null;
|
|
1701
|
+
|
|
1702
|
+
declare class SolarisPresenceAvatar {
|
|
1703
|
+
readonly translationService: TranslationInterface;
|
|
1704
|
+
readonly size: _angular_core.InputSignal<SolarisAvatarSize>;
|
|
1705
|
+
readonly shape: _angular_core.InputSignal<SolarisAvatarShape>;
|
|
1706
|
+
readonly variant: _angular_core.InputSignal<SolarisAvatarVariant>;
|
|
1707
|
+
readonly src: _angular_core.InputSignal<string | null>;
|
|
1708
|
+
readonly alt: _angular_core.InputSignal<string | null>;
|
|
1709
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
1710
|
+
readonly initials: _angular_core.InputSignal<string | null>;
|
|
1711
|
+
readonly color: _angular_core.InputSignal<SolarisAvatarColorInput>;
|
|
1712
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1713
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1714
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1715
|
+
readonly buttonType: _angular_core.InputSignal<SolarisAvatarButtonType>;
|
|
1716
|
+
readonly asButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1717
|
+
readonly radius: _angular_core.InputSignal<SolarisAvatarRadiusInput>;
|
|
1718
|
+
readonly objectFit: _angular_core.InputSignal<SolarisAvatarObjectFit>;
|
|
1719
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1720
|
+
readonly ariaHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1721
|
+
readonly presence: _angular_core.InputSignal<SolarisPresenceState>;
|
|
1722
|
+
readonly presenceAriaLabel: _angular_core.InputSignal<string | null>;
|
|
1723
|
+
readonly timezone: _angular_core.InputSignal<string | null>;
|
|
1724
|
+
readonly lastSeenAt: _angular_core.InputSignal<string | number | Date | null>;
|
|
1725
|
+
readonly quietHours: _angular_core.InputSignal<SolarisPresenceQuietHours>;
|
|
1726
|
+
readonly workHoursStart: _angular_core.InputSignal<number>;
|
|
1727
|
+
readonly workHoursEnd: _angular_core.InputSignal<number>;
|
|
1728
|
+
readonly presenceTooltipKey: _angular_core.Signal<string>;
|
|
1729
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPresenceAvatar, never>;
|
|
1730
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPresenceAvatar, "solaris-presence-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "buttonType": { "alias": "buttonType"; "required": false; "isSignal": true; }; "asButton": { "alias": "asButton"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "objectFit": { "alias": "objectFit"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; "isSignal": true; }; "presence": { "alias": "presence"; "required": false; "isSignal": true; }; "presenceAriaLabel": { "alias": "presenceAriaLabel"; "required": false; "isSignal": true; }; "timezone": { "alias": "timezone"; "required": false; "isSignal": true; }; "lastSeenAt": { "alias": "lastSeenAt"; "required": false; "isSignal": true; }; "quietHours": { "alias": "quietHours"; "required": false; "isSignal": true; }; "workHoursStart": { "alias": "workHoursStart"; "required": false; "isSignal": true; }; "workHoursEnd": { "alias": "workHoursEnd"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
type SolarisAvatarStackOverlap = 'sm' | 'md' | 'lg';
|
|
1734
|
+
type SolarisAvatarStackItem = {
|
|
1735
|
+
src?: string | null;
|
|
1736
|
+
alt?: string | null;
|
|
1737
|
+
name?: string | null;
|
|
1738
|
+
initials?: string | null;
|
|
1739
|
+
presence?: SolarisPresenceState | null;
|
|
1740
|
+
timezone?: string | null;
|
|
1741
|
+
lastSeenAt?: string | Date | number | null;
|
|
1742
|
+
quietHours?: SolarisPresenceQuietHours;
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
type SolarisAvatarDropdownPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end';
|
|
1746
|
+
type SolarisAvatarDropdownItem = SolarisAvatarStackItem & {
|
|
1747
|
+
id?: string | number;
|
|
1748
|
+
description?: string | null;
|
|
1749
|
+
disabled?: boolean;
|
|
1750
|
+
};
|
|
1751
|
+
interface SolarisAvatarDropdownSelectEvent {
|
|
1752
|
+
item: SolarisAvatarDropdownItem;
|
|
1753
|
+
index: number;
|
|
1754
|
+
}
|
|
1755
|
+
type SolarisAvatarDropdownConfig = {
|
|
1756
|
+
size?: SolarisAvatarSize;
|
|
1757
|
+
shape?: SolarisAvatarShape;
|
|
1758
|
+
overlap?: SolarisAvatarStackOverlap;
|
|
1759
|
+
maxVisible?: number;
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
declare class SolarisAvatarDropdown {
|
|
1763
|
+
readonly items: _angular_core.InputSignal<SolarisAvatarDropdownItem[]>;
|
|
1764
|
+
readonly size: _angular_core.InputSignal<SolarisAvatarSize>;
|
|
1765
|
+
readonly shape: _angular_core.InputSignal<SolarisAvatarShape>;
|
|
1766
|
+
readonly overlap: _angular_core.InputSignal<SolarisAvatarStackOverlap>;
|
|
1767
|
+
readonly maxVisible: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1768
|
+
readonly placement: _angular_core.InputSignal<SolarisAvatarDropdownPlacement>;
|
|
1769
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1770
|
+
readonly closeOnSelect: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1771
|
+
readonly panelLabel: _angular_core.InputSignal<string>;
|
|
1772
|
+
readonly itemSelect: EventEmitter<SolarisAvatarDropdownSelectEvent>;
|
|
1773
|
+
readonly openChange: EventEmitter<boolean>;
|
|
1774
|
+
onItemClick(item: SolarisAvatarDropdownItem, index: number, popover: SolarisPopover): void;
|
|
1775
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisAvatarDropdown, never>;
|
|
1776
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisAvatarDropdown, "solaris-avatar-dropdown", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "overlap": { "alias": "overlap"; "required": false; "isSignal": true; }; "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "panelLabel": { "alias": "panelLabel"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "openChange": "openChange"; }, never, never, true, never>;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
declare class SolarisAvatarStack {
|
|
1780
|
+
readonly items: _angular_core.InputSignal<SolarisAvatarStackItem[]>;
|
|
1781
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1782
|
+
readonly showPresence: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1783
|
+
readonly size: _angular_core.InputSignal<SolarisAvatarSize>;
|
|
1784
|
+
readonly shape: _angular_core.InputSignal<SolarisAvatarShape>;
|
|
1785
|
+
readonly overlap: _angular_core.InputSignal<SolarisAvatarStackOverlap>;
|
|
1786
|
+
readonly visibleItems: _angular_core.Signal<SolarisAvatarStackItem[]>;
|
|
1787
|
+
readonly hiddenCount: _angular_core.Signal<number>;
|
|
1788
|
+
readonly hasHiddenItems: _angular_core.Signal<boolean>;
|
|
1789
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisAvatarStack, never>;
|
|
1790
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisAvatarStack, "solaris-avatar-stack", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showPresence": { "alias": "showPresence"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "overlap": { "alias": "overlap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
declare class SolarisCardMediaOverlayDirective {
|
|
1794
|
+
readonly attr = "";
|
|
1795
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardMediaOverlayDirective, never>;
|
|
1796
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisCardMediaOverlayDirective, "[solaris-card-media-overlay]", never, {}, {}, never, never, true, never>;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
type SolarisCardMediaVariant = 'image' | 'avatar' | 'icon' | 'custom';
|
|
1800
|
+
type SolarisCardMediaRatio = 'auto' | '1:1' | '4:3' | '16:9' | '21:9';
|
|
1801
|
+
type SolarisCardMediaRadius = 'none' | 'sm' | 'md' | 'lg' | 'inherit';
|
|
1802
|
+
type SolarisCardMediaAlign = 'start' | 'center' | 'end';
|
|
1803
|
+
type SolarisCardMediaFit = 'cover' | 'contain';
|
|
1804
|
+
|
|
1805
|
+
declare class SolarisCardMedia {
|
|
1806
|
+
readonly variant: _angular_core.InputSignal<SolarisCardMediaVariant>;
|
|
1807
|
+
readonly src: _angular_core.InputSignal<string | null>;
|
|
1808
|
+
readonly alt: _angular_core.InputSignal<string | null>;
|
|
1809
|
+
readonly ratio: _angular_core.InputSignal<SolarisCardMediaRatio>;
|
|
1810
|
+
readonly fit: _angular_core.InputSignal<SolarisCardMediaFit>;
|
|
1811
|
+
readonly align: _angular_core.InputSignal<SolarisCardMediaAlign>;
|
|
1812
|
+
readonly radius: _angular_core.InputSignal<SolarisCardMediaRadius>;
|
|
1813
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1814
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1815
|
+
readonly normalizedSrc: _angular_core.Signal<string>;
|
|
1816
|
+
readonly normalizedAlt: _angular_core.Signal<string>;
|
|
1817
|
+
readonly showImage: _angular_core.Signal<boolean>;
|
|
1818
|
+
private normalize;
|
|
1819
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisCardMedia, never>;
|
|
1820
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisCardMedia, "solaris-card-media", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "fit": { "alias": "fit"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[solaris-card-media-overlay]"], true, never>;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
declare class SolarisAvatarOverlayDirective {
|
|
1824
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisAvatarOverlayDirective, never>;
|
|
1825
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisAvatarOverlayDirective, "[solaris-avatar-overlay]", never, {}, {}, never, never, true, never>;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
declare class SolarisAvatar {
|
|
1829
|
+
readonly size: _angular_core.InputSignal<SolarisAvatarSize>;
|
|
1830
|
+
readonly shape: _angular_core.InputSignal<SolarisAvatarShape>;
|
|
1831
|
+
readonly variant: _angular_core.InputSignal<SolarisAvatarVariant>;
|
|
1832
|
+
readonly src: _angular_core.InputSignal<string | null>;
|
|
1833
|
+
readonly alt: _angular_core.InputSignal<string | null>;
|
|
1834
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
1835
|
+
readonly initials: _angular_core.InputSignal<string | null>;
|
|
1836
|
+
readonly color: _angular_core.InputSignal<SolarisAvatarColorInput>;
|
|
1837
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1838
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1839
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1840
|
+
readonly buttonType: _angular_core.InputSignal<SolarisAvatarButtonType>;
|
|
1841
|
+
readonly asButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1842
|
+
readonly radius: _angular_core.InputSignal<SolarisAvatarRadiusInput>;
|
|
1843
|
+
readonly objectFit: _angular_core.InputSignal<SolarisAvatarObjectFit>;
|
|
1844
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
1845
|
+
readonly ariaHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1846
|
+
protected readonly hostClass = "solaris-avatar-host";
|
|
1847
|
+
private readonly imageFailed;
|
|
1848
|
+
private readonly presetColors;
|
|
1849
|
+
constructor();
|
|
1850
|
+
readonly normalizedSrc: _angular_core.Signal<string>;
|
|
1851
|
+
readonly normalizedAlt: _angular_core.Signal<string>;
|
|
1852
|
+
readonly normalizedName: _angular_core.Signal<string>;
|
|
1853
|
+
readonly normalizedInitials: _angular_core.Signal<string>;
|
|
1854
|
+
readonly normalizedAriaLabel: _angular_core.Signal<string>;
|
|
1855
|
+
readonly resolvedInitials: _angular_core.Signal<string>;
|
|
1856
|
+
readonly showImage: _angular_core.Signal<boolean>;
|
|
1857
|
+
readonly showLetter: _angular_core.Signal<boolean>;
|
|
1858
|
+
readonly showDefault: _angular_core.Signal<boolean>;
|
|
1859
|
+
readonly isCustomColor: _angular_core.Signal<boolean>;
|
|
1860
|
+
readonly colorClass: _angular_core.Signal<string>;
|
|
1861
|
+
readonly customColorValue: _angular_core.Signal<string | null>;
|
|
1862
|
+
readonly resolvedRadius: _angular_core.Signal<string>;
|
|
1863
|
+
readonly rootClasses: _angular_core.Signal<string[]>;
|
|
1864
|
+
readonly accessibleLabel: _angular_core.Signal<string | null>;
|
|
1865
|
+
readonly rootRole: _angular_core.Signal<"img" | null>;
|
|
1866
|
+
onImageLoad(): void;
|
|
1867
|
+
onImageError(): void;
|
|
1868
|
+
private normalize;
|
|
1869
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisAvatar, never>;
|
|
1870
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisAvatar, "solaris-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "buttonType": { "alias": "buttonType"; "required": false; "isSignal": true; }; "asButton": { "alias": "asButton"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "objectFit": { "alias": "objectFit"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; "isSignal": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
declare class SolarisFloatingOverlayService {
|
|
1874
|
+
private readonly appRef;
|
|
1875
|
+
private readonly injector;
|
|
1876
|
+
create<T>(component: Type<T>, options?: SolarisFloatingOverlayOptions): SolarisFloatingOverlayRef<T>;
|
|
1877
|
+
reposition<T>(context: SolarisFloatingRepositionContext<T>): void;
|
|
1878
|
+
clearFloatingTimers(showTimer: number, hideTimer: number, raf: number): void;
|
|
1879
|
+
destroyOverlay<T>(overlayRef?: SolarisFloatingOverlayRef<T>): void;
|
|
1880
|
+
private createId;
|
|
1881
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFloatingOverlayService, never>;
|
|
1882
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisFloatingOverlayService>;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
declare function computeFloatingPosition(anchorRect: DOMRect, panelRect: DOMRect, configuration: SolarisFloatingPositionConfiguration): SolarisFloatingPositionResult;
|
|
1886
|
+
declare function repositionTooltipOverlay<T>(anchor: ElementRef<HTMLElement>, overlayRef: SolarisFloatingOverlayRef<T>, options: SolarisTooltipRepositionOptions, setAppliedPosition: (position: SolarisFloatingPosition) => void): void;
|
|
1887
|
+
|
|
1168
1888
|
declare class SolarisIdGenerator {
|
|
1169
1889
|
private readonly counters;
|
|
1170
1890
|
next(prefix?: string): string;
|
|
1171
|
-
static ɵfac:
|
|
1172
|
-
static ɵprov:
|
|
1891
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisIdGenerator, never>;
|
|
1892
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisIdGenerator>;
|
|
1173
1893
|
}
|
|
1174
1894
|
|
|
1175
1895
|
declare function uniqueId(prefix: string): string;
|
|
@@ -1232,8 +1952,8 @@ declare class SolarisPhoneInput implements AfterViewInit, OnDestroy, ControlValu
|
|
|
1232
1952
|
private getUtils;
|
|
1233
1953
|
private safe;
|
|
1234
1954
|
private get el();
|
|
1235
|
-
static ɵfac:
|
|
1236
|
-
static ɵcmp:
|
|
1955
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPhoneInput, never>;
|
|
1956
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisPhoneInput, "solaris-phone-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "onlyCountries": { "alias": "only-countries"; "required": false; }; "defaultCountry": { "alias": "default-country"; "required": false; }; "preferredCountries": { "alias": "preferred-countries"; "required": false; }; }, {}, never, never, true, never>;
|
|
1237
1957
|
}
|
|
1238
1958
|
|
|
1239
1959
|
declare class SolarisPasswordDirective implements Validator {
|
|
@@ -1247,7 +1967,7 @@ declare class SolarisPasswordDirective implements Validator {
|
|
|
1247
1967
|
set requireNumberKebab(v: any);
|
|
1248
1968
|
set minLengthKebab(v: any);
|
|
1249
1969
|
set requireSpecialKebab(v: any);
|
|
1250
|
-
get type(): "
|
|
1970
|
+
get type(): "text" | "password";
|
|
1251
1971
|
spellcheck: string;
|
|
1252
1972
|
readonly marker = "";
|
|
1253
1973
|
readonly solarisInput = "";
|
|
@@ -1261,8 +1981,8 @@ declare class SolarisPasswordDirective implements Validator {
|
|
|
1261
1981
|
toggle(): void;
|
|
1262
1982
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
1263
1983
|
registerOnValidatorChange(fn: () => void): void;
|
|
1264
|
-
static ɵfac:
|
|
1265
|
-
static ɵdir:
|
|
1984
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPasswordDirective, never>;
|
|
1985
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPasswordDirective, "input[solaris-password]", never, { "minLength": { "alias": "minLength"; "required": false; }; "requireUpper": { "alias": "requireUpper"; "required": false; }; "requireLower": { "alias": "requireLower"; "required": false; }; "requireNumber": { "alias": "requireNumber"; "required": false; }; "requireSpecial": { "alias": "requireSpecial"; "required": false; }; "requireUpperKebab": { "alias": "requireUpperKebab"; "required": false; }; "requireLowerKebab": { "alias": "requireLowerKebab"; "required": false; }; "requireNumberKebab": { "alias": "requireNumberKebab"; "required": false; }; "minLengthKebab": { "alias": "minLengthKebab"; "required": false; }; "requireSpecialKebab": { "alias": "requireSpecialKebab"; "required": false; }; }, {}, never, never, true, never>;
|
|
1266
1986
|
}
|
|
1267
1987
|
|
|
1268
1988
|
declare class SolarisEmailDirective implements Validator {
|
|
@@ -1276,8 +1996,8 @@ declare class SolarisEmailDirective implements Validator {
|
|
|
1276
1996
|
private readonly injector;
|
|
1277
1997
|
constructor();
|
|
1278
1998
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
1279
|
-
static ɵfac:
|
|
1280
|
-
static ɵdir:
|
|
1999
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisEmailDirective, never>;
|
|
2000
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisEmailDirective, "input[solaris-email],input[solarisEmail]", never, {}, {}, never, never, true, never>;
|
|
1281
2001
|
}
|
|
1282
2002
|
|
|
1283
2003
|
declare class InputTextDirective {
|
|
@@ -1287,8 +2007,8 @@ declare class InputTextDirective {
|
|
|
1287
2007
|
readonly attr = "";
|
|
1288
2008
|
get placeholderAttr(): any;
|
|
1289
2009
|
constructor();
|
|
1290
|
-
static ɵfac:
|
|
1291
|
-
static ɵdir:
|
|
2010
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputTextDirective, never>;
|
|
2011
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputTextDirective, "input[solaris-input],textarea[solaris-input]", never, {}, {}, never, never, true, never>;
|
|
1292
2012
|
}
|
|
1293
2013
|
|
|
1294
2014
|
declare class PasswordToggle {
|
|
@@ -1299,8 +2019,8 @@ declare class PasswordToggle {
|
|
|
1299
2019
|
protected toggle(): void;
|
|
1300
2020
|
protected get ariaLabelHide(): string;
|
|
1301
2021
|
protected get ariaLabelShow(): string;
|
|
1302
|
-
static ɵfac:
|
|
1303
|
-
static ɵcmp:
|
|
2022
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PasswordToggle, never>;
|
|
2023
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PasswordToggle, "solaris-password-toggle", never, {}, {}, never, never, true, never>;
|
|
1304
2024
|
}
|
|
1305
2025
|
|
|
1306
2026
|
interface SolarisInputApi {
|
|
@@ -1314,8 +2034,8 @@ declare class SolarisControlBridgeDirective {
|
|
|
1314
2034
|
private readonly ctrl;
|
|
1315
2035
|
private readonly field;
|
|
1316
2036
|
constructor();
|
|
1317
|
-
static ɵfac:
|
|
1318
|
-
static ɵdir:
|
|
2037
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisControlBridgeDirective, never>;
|
|
2038
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisControlBridgeDirective, "input[solaris-password],input[solaris-email],input[solaris-input],textarea[solaris-input]", never, {}, {}, never, never, true, never>;
|
|
1319
2039
|
}
|
|
1320
2040
|
|
|
1321
2041
|
declare class SolarisFormFieldController {
|
|
@@ -1323,10 +2043,10 @@ declare class SolarisFormFieldController {
|
|
|
1323
2043
|
private readonly ngForm;
|
|
1324
2044
|
private readonly formGroupDir;
|
|
1325
2045
|
private readonly destroyRef;
|
|
1326
|
-
readonly submitted:
|
|
1327
|
-
readonly control:
|
|
1328
|
-
readonly email:
|
|
1329
|
-
readonly password:
|
|
2046
|
+
readonly submitted: _angular_core.WritableSignal<boolean>;
|
|
2047
|
+
readonly control: _angular_core.WritableSignal<NgControl | null>;
|
|
2048
|
+
readonly email: _angular_core.WritableSignal<SolarisEmailDirective | null>;
|
|
2049
|
+
readonly password: _angular_core.WritableSignal<SolarisPasswordDirective | null>;
|
|
1330
2050
|
constructor();
|
|
1331
2051
|
registerPassword(dir: SolarisPasswordDirective | null): void;
|
|
1332
2052
|
registerEmail(dir: SolarisEmailDirective | null): void;
|
|
@@ -1334,8 +2054,8 @@ declare class SolarisFormFieldController {
|
|
|
1334
2054
|
passwordVisible(): boolean;
|
|
1335
2055
|
togglePasswordVisibility(): void;
|
|
1336
2056
|
resetSubmitted(): void;
|
|
1337
|
-
static ɵfac:
|
|
1338
|
-
static ɵprov:
|
|
2057
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisFormFieldController, never>;
|
|
2058
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SolarisFormFieldController>;
|
|
1339
2059
|
}
|
|
1340
2060
|
|
|
1341
2061
|
interface SolarisFormFieldControllerLike {
|
|
@@ -1351,26 +2071,25 @@ declare const SOLARIS_FORM_FIELD_FEATURES: InjectionToken<readonly SolarisFormFi
|
|
|
1351
2071
|
|
|
1352
2072
|
declare class SolarisPrefixDirective {
|
|
1353
2073
|
readonly attr = "";
|
|
1354
|
-
static ɵfac:
|
|
1355
|
-
static ɵdir:
|
|
2074
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisPrefixDirective, never>;
|
|
2075
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisPrefixDirective, "[solaris-prefix]", never, {}, {}, never, never, true, never>;
|
|
1356
2076
|
}
|
|
1357
2077
|
|
|
1358
2078
|
declare class SolarisSuffixDirective {
|
|
1359
|
-
static ɵfac:
|
|
1360
|
-
static ɵdir:
|
|
2079
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisSuffixDirective, never>;
|
|
2080
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SolarisSuffixDirective, "[solaris-suffix]", never, {}, {}, never, never, true, never>;
|
|
1361
2081
|
}
|
|
1362
2082
|
|
|
1363
2083
|
declare class FieldErrorComponent {
|
|
1364
2084
|
text?: string;
|
|
1365
2085
|
textKey?: string;
|
|
1366
2086
|
textParams?: SolarisTranslationParams;
|
|
1367
|
-
static ɵfac:
|
|
1368
|
-
static ɵcmp:
|
|
2087
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldErrorComponent, never>;
|
|
2088
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldErrorComponent, "solaris-field-error", never, { "text": { "alias": "text"; "required": false; }; "textKey": { "alias": "textKey"; "required": false; }; "textParams": { "alias": "textParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
1369
2089
|
}
|
|
1370
2090
|
|
|
1371
2091
|
type SolarisFormFieldAppearance = 'filled' | 'outline';
|
|
1372
2092
|
type SolarisFormFieldRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
1373
|
-
type SolarisFormFieldShowErrors = 'dirtyOrTouched' | 'always' | 'submitted';
|
|
1374
2093
|
|
|
1375
2094
|
declare class FormField {
|
|
1376
2095
|
protected readonly field: SolarisFormFieldController;
|
|
@@ -1381,24 +2100,24 @@ declare class FormField {
|
|
|
1381
2100
|
hintKey?: string;
|
|
1382
2101
|
labelKey?: string;
|
|
1383
2102
|
radius: SolarisFormFieldRadius;
|
|
2103
|
+
showErrors: SolarisShowErrors;
|
|
1384
2104
|
appearance: SolarisFormFieldAppearance;
|
|
1385
|
-
showErrors: SolarisFormFieldShowErrors;
|
|
1386
2105
|
private readonly _tick;
|
|
1387
|
-
readonly customErrorKey:
|
|
1388
|
-
readonly invalid:
|
|
1389
|
-
readonly customErrorParams:
|
|
2106
|
+
readonly customErrorKey: _angular_core.InputSignal<string>;
|
|
2107
|
+
readonly invalid: _angular_core.InputSignal<boolean | null>;
|
|
2108
|
+
readonly customErrorParams: _angular_core.InputSignal<Record<string, unknown> | undefined>;
|
|
1390
2109
|
constructor();
|
|
1391
2110
|
get hasPrefix(): boolean;
|
|
1392
2111
|
get hasSuffix(): boolean;
|
|
1393
2112
|
private getDirectErrorKey;
|
|
1394
2113
|
private getPasswordErrorKey;
|
|
1395
|
-
readonly showPasswordToggle:
|
|
1396
|
-
readonly invalidComputed:
|
|
1397
|
-
readonly errorParams:
|
|
1398
|
-
readonly errorKey:
|
|
1399
|
-
readonly disabledComputed:
|
|
1400
|
-
static ɵfac:
|
|
1401
|
-
static ɵcmp:
|
|
2114
|
+
readonly showPasswordToggle: _angular_core.Signal<boolean>;
|
|
2115
|
+
readonly invalidComputed: _angular_core.Signal<boolean>;
|
|
2116
|
+
readonly errorParams: _angular_core.Signal<Record<string, unknown> | undefined>;
|
|
2117
|
+
readonly errorKey: _angular_core.Signal<string>;
|
|
2118
|
+
readonly disabledComputed: _angular_core.Signal<boolean>;
|
|
2119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormField, never>;
|
|
2120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormField, "solaris-form-field", never, { "hint": { "alias": "hint"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hintKey": { "alias": "hintKey"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "showErrors": { "alias": "showErrors"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "customErrorKey": { "alias": "customErrorKey"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "customErrorParams": { "alias": "customErrorParams"; "required": false; "isSignal": true; }; }, {}, ["prefix", "suffix"], ["[solaris-prefix]", "*", "[solaris-suffix]", "[form-field-message]"], true, never>;
|
|
1402
2121
|
}
|
|
1403
2122
|
|
|
1404
2123
|
type SolarisSelectNode<T = any> = SolarisSelectItem<T> | SolarisSelectDivider | SolarisSelectGroup<T>;
|
|
@@ -1489,20 +2208,20 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
|
|
|
1489
2208
|
private readonly _disabled;
|
|
1490
2209
|
set disabled(v: boolean);
|
|
1491
2210
|
get disabled(): boolean;
|
|
1492
|
-
readonly open:
|
|
1493
|
-
readonly searchTerm:
|
|
1494
|
-
readonly activeIndex:
|
|
1495
|
-
readonly showCount:
|
|
1496
|
-
readonly showToken:
|
|
1497
|
-
readonly selectedText:
|
|
1498
|
-
readonly triggerValue:
|
|
1499
|
-
readonly activeOptionId:
|
|
1500
|
-
readonly inputPlaceholderKey:
|
|
1501
|
-
readonly inputPlaceholderText:
|
|
2211
|
+
readonly open: _angular_core.WritableSignal<boolean>;
|
|
2212
|
+
readonly searchTerm: _angular_core.WritableSignal<string>;
|
|
2213
|
+
readonly activeIndex: _angular_core.WritableSignal<number>;
|
|
2214
|
+
readonly showCount: _angular_core.WritableSignal<boolean>;
|
|
2215
|
+
readonly showToken: _angular_core.Signal<boolean>;
|
|
2216
|
+
readonly selectedText: _angular_core.Signal<string>;
|
|
2217
|
+
readonly triggerValue: _angular_core.Signal<string>;
|
|
2218
|
+
readonly activeOptionId: _angular_core.Signal<string>;
|
|
2219
|
+
readonly inputPlaceholderKey: _angular_core.Signal<string>;
|
|
2220
|
+
readonly inputPlaceholderText: _angular_core.Signal<string>;
|
|
1502
2221
|
private readonly _value;
|
|
1503
|
-
readonly selectedItems:
|
|
2222
|
+
readonly selectedItems: _angular_core.Signal<SolarisSelectItem<any>[]>;
|
|
1504
2223
|
private readonly _stack;
|
|
1505
|
-
readonly viewModel:
|
|
2224
|
+
readonly viewModel: _angular_core.Signal<{
|
|
1506
2225
|
rows: SolarisSelectRow[];
|
|
1507
2226
|
itemRows: {
|
|
1508
2227
|
kind: "item";
|
|
@@ -1516,11 +2235,11 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
|
|
|
1516
2235
|
selectable: boolean;
|
|
1517
2236
|
}[];
|
|
1518
2237
|
}>;
|
|
1519
|
-
readonly rows:
|
|
1520
|
-
readonly canGoBack:
|
|
1521
|
-
readonly selectedCount:
|
|
1522
|
-
readonly isSearchMode:
|
|
1523
|
-
readonly itemRows:
|
|
2238
|
+
readonly rows: _angular_core.Signal<SolarisSelectRow[]>;
|
|
2239
|
+
readonly canGoBack: _angular_core.Signal<boolean>;
|
|
2240
|
+
readonly selectedCount: _angular_core.Signal<number>;
|
|
2241
|
+
readonly isSearchMode: _angular_core.Signal<boolean>;
|
|
2242
|
+
readonly itemRows: _angular_core.Signal<{
|
|
1524
2243
|
kind: "item";
|
|
1525
2244
|
key: string;
|
|
1526
2245
|
id: string;
|
|
@@ -1531,8 +2250,8 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
|
|
|
1531
2250
|
hasChildren: boolean;
|
|
1532
2251
|
selectable: boolean;
|
|
1533
2252
|
}[]>;
|
|
1534
|
-
readonly compactInput:
|
|
1535
|
-
readonly currentLevel:
|
|
2253
|
+
readonly compactInput: _angular_core.Signal<boolean>;
|
|
2254
|
+
readonly currentLevel: _angular_core.Signal<StackLevel>;
|
|
1536
2255
|
private static seq;
|
|
1537
2256
|
private _measureNonce;
|
|
1538
2257
|
private resizeObs?;
|
|
@@ -1577,9 +2296,9 @@ declare class SolarisSelect implements OnInit, ControlValueAccessor, AfterViewIn
|
|
|
1577
2296
|
private sanitizeValue;
|
|
1578
2297
|
selectedCountLabel(): string;
|
|
1579
2298
|
trackRow: (_: number, r: SolarisSelectRow) => string;
|
|
1580
|
-
static ɵfac:
|
|
1581
|
-
static ɵcmp:
|
|
2299
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisSelect, never>;
|
|
2300
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisSelect, "solaris-select", never, { "items": { "alias": "items"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueKey": { "alias": "valueKey"; "required": false; }; "backKey": { "alias": "backKey"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placeholderKey": { "alias": "placeholderKey"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "selectedCountKey": { "alias": "selectedCountKey"; "required": false; }; "selectedFirst": { "alias": "selectedFirst"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "selectedCountText": { "alias": "selectedCountText"; "required": false; }; "panelMaxHeight": { "alias": "panelMaxHeight"; "required": false; }; "searchPlaceholderKey": { "alias": "searchPlaceholderKey"; "required": false; }; "selectionSeparator": { "alias": "selectionSeparator"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "backText": { "alias": "backText"; "required": false; }; "selectionDisplay": { "alias": "selectionDisplay"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
1582
2301
|
}
|
|
1583
2302
|
|
|
1584
|
-
export {
|
|
1585
|
-
export type { BadgeColorInput, BadgeVariant, CheckboxAppearance, CheckboxColorInput, CheckboxVariant, DividerLabelAlign, DividerOrientation, DividerSpacing, DividerStrength, DividerVariant, Iso2, LoadingType, PhoneFormat, SelectionDisplay, SolarisAlign, SolarisBreadcrumbItem, SolarisBreadcrumbTarget, SolarisButtonColorInput, SolarisButtonVariant, SolarisCheckCustomString, SolarisColorPreset, SolarisCustomString, SolarisDrawerSide, SolarisDropdownContentInterface, SolarisDropdownWidthMode, SolarisFilterPanelRadius, SolarisFormFieldAppearance, SolarisFormFieldControllerLike, SolarisFormFieldFeature, SolarisFormFieldRadius,
|
|
2303
|
+
export { ButtonGroupDirective, FieldErrorComponent, FormField, InputTextDirective, PasswordToggle, SOLARIS_CARD_GROUP, SOLARIS_CARD_SLOT_DIRECTIVES, SOLARIS_DIALOG_DATA, SOLARIS_FORM_FIELD_CONTROLLER, SOLARIS_FORM_FIELD_FEATURES, SOLARIS_INPUT, SOLARIS_NOTIFICATION_CONFIG, SOLARIS_NOTIFICATION_DEFAULT_CONFIG, SOLARIS_NOTIFICATION_POSITIONS, SOLARIS_RADIO_GROUP, SolarisAvatar, SolarisAvatarDropdown, SolarisAvatarOverlayDirective, SolarisAvatarStack, SolarisBadge, SolarisBodyDirective, SolarisBreadcrumb, SolarisButtonDirective, SolarisCard, SolarisCardActionsDirective, SolarisCardBadgeDirective, SolarisCardDescriptionDirective, SolarisCardEyebrowDirective, SolarisCardFooterDirective, SolarisCardGroup, SolarisCardMedia, SolarisCardMediaDirective, SolarisCardMediaOverlayDirective, SolarisCardMetaDirective, SolarisCardTitleDirective, SolarisCheckbox, SolarisColumnCellDef, SolarisColumnHeaderDef, SolarisControlBridgeDirective, SolarisDialogContainer, SolarisDialogRef, SolarisDialogService, SolarisDivider, SolarisDrawer, SolarisDrawerFooterDirective, SolarisDrawerHeaderDirective, SolarisDropdownContent, SolarisDropdownContentPanelDirective, SolarisDropdownContentRegistry, SolarisDropdownContentTriggerDirective, SolarisEmailDirective, SolarisFilterBar, SolarisFilterChip, SolarisFilterField, SolarisFilterPanel, SolarisFilterPanelFooterDirective, SolarisFloatingOverlayService, SolarisFooterDirective, SolarisFormFieldController, SolarisHeaderDirective, SolarisIdGenerator, SolarisImageSliderComponent, SolarisLoading, SolarisLoadingOverlay, SolarisNotificationCenterComponent, SolarisNotificationHostComponent, SolarisNotificationIntlService, SolarisNotificationItemComponent, SolarisNotificationService, SolarisPage, SolarisPageHeader, SolarisPageHeaderBreadcrumbDirective, SolarisPageHeaderDescriptionDirective, SolarisPageHeaderTitle, SolarisPageHeaderTitleDirective, SolarisPasswordDirective, SolarisPhoneInput, SolarisPopover, SolarisPopoverPanelDirective, SolarisPopoverTriggerDirective, SolarisPrefixDirective, SolarisPresenceAvatar, SolarisRadio, SolarisRadioGroup, SolarisRichTooltipDirective, SolarisRichTooltipPanel, SolarisRowComponent, SolarisSectionComponent, SolarisSelect, SolarisSelectionCard, SolarisStepper, SolarisStepperItem, SolarisSuffixDirective, SolarisTab, SolarisTable, SolarisTableColumn, SolarisTableFilters, SolarisTableSkeleton, SolarisTabs, SolarisTooltipDirective, SolarisTooltipPanel, computeFloatingPosition, computePopoverPosition, provideSolarisNotifications, repositionTooltipOverlay, uniqueId };
|
|
2304
|
+
export type { BadgeColorInput, BadgeVariant, CardGroupCompareWith, CardGroupLayout, CardGroupSelectionMode, CardGroupValue, CardOrientation, CardRadiusInput, CardSize, CheckboxAppearance, CheckboxColorInput, CheckboxVariant, DividerLabelAlign, DividerOrientation, DividerSpacing, DividerStrength, DividerVariant, Iso2, LoadingType, PhoneFormat, RadioAppearance, RadioColorInput, RadioCompareWith, RadioGroupOrientation, RadioVariant, ResolvedSelectionCardIndicator, SelectionCardAppearance, SelectionCardColorInput, SelectionCardColorPreset, SelectionCardIndicator, SelectionCardOrientation, SelectionCardRadiusInput, SelectionCardSize, SelectionDisplay, SizeInput, SolarisAlign, SolarisAvatarButtonType, SolarisAvatarColorInput, SolarisAvatarColorPreset, SolarisAvatarDropdownConfig, SolarisAvatarDropdownItem, SolarisAvatarDropdownPlacement, SolarisAvatarDropdownSelectEvent, SolarisAvatarObjectFit, SolarisAvatarRadiusInput, SolarisAvatarShape, SolarisAvatarSize, SolarisAvatarStackItem, SolarisAvatarStackOverlap, SolarisAvatarVariant, SolarisBreadcrumbItem, SolarisBreadcrumbTarget, SolarisButtonColorInput, SolarisButtonVariant, SolarisCardCustomString, SolarisCardGroupApi, SolarisCardMediaAlign, SolarisCardMediaFit, SolarisCardMediaRadius, SolarisCardMediaRatio, SolarisCardMediaVariant, SolarisCheckCustomString, SolarisColorPreset, SolarisCustomString, SolarisDialogAction, SolarisDialogActionVariant, SolarisDialogConfiguration, SolarisDialogOpenOptions, SolarisDialogPosition, SolarisDialogSize, SolarisDrawerSide, SolarisDropdownContentInterface, SolarisDropdownWidthMode, SolarisFilterPanelRadius, SolarisFormFieldAppearance, SolarisFormFieldControllerLike, SolarisFormFieldFeature, SolarisFormFieldRadius, SolarisInputApi, SolarisLoadingColor, SolarisLoadingDashDensity, SolarisLoadingEasing, SolarisLoadingPresetColor, SolarisLoadingSize, SolarisLoadingSpeed, SolarisLoadingTrail, SolarisNotificationAction, SolarisNotificationActionContext, SolarisNotificationConfig, SolarisNotificationConfigInput, SolarisNotificationInput, SolarisNotificationKind, SolarisNotificationPosition, SolarisNotificationRecord, SolarisNotificationRef, SolarisNotificationState, SolarisPageChange, SolarisPopoverPlacement, SolarisPopoverPositionConfiguration, SolarisPopoverPositionResult, SolarisPresenceQuietHours, SolarisPresenceState, SolarisRadioColorPreset, SolarisRadioCustomString, SolarisRadioGroupApi, SolarisRadiusInput, SolarisRadiusPreset, SolarisRowKey, SolarisSelectDivider, SolarisSelectGroup, SolarisSelectItem, SolarisSelectNode, SolarisSelectRow, SolarisSelectionCardHandle, SolarisShowErrors, SolarisSizePreset, SolarisSliderItem, SolarisSliderOverlayContext, SolarisSort, SolarisSortDirection, SolarisStepperAppearance, SolarisStepperChangeEvent, SolarisStepperChangeReason, SolarisStepperOrientation, SolarisStepperPhase, SolarisStepperStatus, SolarisTableI18n, SolarisTableVariant, SolarisTooltipPosition, SolarisTooltipSize, SolarisTooltipVariant, StackLevel, TabsSize, TabsVariant, TimeContext };
|