@4sh/ui-kit 0.15.0 → 0.17.0
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/README.fr.md +18 -10
- package/README.md +18 -10
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-types.mjs +0 -12
- package/fesm2022/4sh-ui-kit.mjs +3 -15
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/component-api.json +313 -2
- package/mcp/data/text-search-docs.json +177 -17
- package/mcp/data/ui-config.json +378 -1
- package/mcp/index.js +8190 -2876
- package/mcp/package.json +1 -1
- package/package.json +5 -1
- package/styles/component-vars.scss +22 -1
- package/styles/utils/_mixins.scss +11 -0
- package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
- package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
- package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
- package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
- package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
- package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
- package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
- package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
- package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
- package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
- package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
- package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
- package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
- package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
- package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
- package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
- package/types/4sh-ui-kit-forms.d.ts +291 -186
- package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
- package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
- package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
- package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
- package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
- package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
- package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
- package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
- package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
- package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
- package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
- package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
- package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
- package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
- package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
- package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
- package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
- package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
- package/types/4sh-ui-kit-motion.d.ts +117 -67
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
- package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
- package/types/4sh-ui-kit-overlay.d.ts +6 -6
- package/types/4sh-ui-kit-ripple.d.ts +99 -74
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
- package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
- package/types/4sh-ui-kit-theming.d.ts +27 -29
- package/types/4sh-ui-kit-types.d.ts +6 -5
- package/types/4sh-ui-kit.d.ts +4 -3
- package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
4
6
|
/** Identifier of a step / panel pair (matched against the container `value`). */
|
|
5
|
-
type UiStepValue = string | number;
|
|
7
|
+
export type UiStepValue = string | number;
|
|
6
8
|
/** Layout axis of the stepper. */
|
|
7
|
-
type UiStepperOrientation = 'horizontal' | 'vertical';
|
|
9
|
+
export type UiStepperOrientation = 'horizontal' | 'vertical';
|
|
8
10
|
/** Progression state of a single step, derived from the active step. */
|
|
9
|
-
type UiStepState = 'upcoming' | 'active' | 'completed';
|
|
11
|
+
export type UiStepState = 'upcoming' | 'active' | 'completed';
|
|
10
12
|
/** Payload emitted when the active step changes. */
|
|
11
|
-
interface UiStepperChangeEvent {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
export interface UiStepperChangeEvent {
|
|
14
|
+
/** Value of the step that became active. */
|
|
15
|
+
value: UiStepValue;
|
|
16
|
+
/** Originating DOM event (click / keyboard), when triggered by the user. */
|
|
17
|
+
originalEvent?: Event;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
* ui-step , a single step header inside a {@link UiStepList} (horizontal) or a
|
|
@@ -28,50 +30,73 @@ interface UiStepperChangeEvent {
|
|
|
28
30
|
* Declared before {@link UiStepper} so the container's content query can
|
|
29
31
|
* reference it without a temporal-dead-zone error at class-definition time.
|
|
30
32
|
*/
|
|
31
|
-
declare class UiStep {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
33
|
+
export declare class UiStep {
|
|
34
|
+
/** Identifier of this step (matched against the container `value`). */
|
|
35
|
+
value: import("@angular/core").ModelSignal<UiStepValue | undefined>;
|
|
36
|
+
/** Disable the step (not activatable, skipped by keyboard focus). */
|
|
37
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
38
|
+
/** Icon name overriding the numbered marker (any state). */
|
|
39
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
40
|
+
/** Accessible name override (falls back to the projected title). */
|
|
41
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
42
|
+
/** @ignore Parent container (owns the active state + progression). */
|
|
43
|
+
protected readonly stepper: UiStepper;
|
|
44
|
+
/** @ignore */
|
|
45
|
+
private readonly host;
|
|
46
|
+
/** @ignore Title text, measured by the scrollable strip (it overflows the marker). */
|
|
47
|
+
private readonly titleEl;
|
|
48
|
+
/** @ignore Progression state of this step. */
|
|
49
|
+
readonly state: import("@angular/core").Signal<UiStepState>;
|
|
50
|
+
/** @ignore 1-based position of this step (shown in the marker). */
|
|
51
|
+
protected readonly number: import("@angular/core").Signal<number>;
|
|
52
|
+
/** @ignore Whether a trailing separator is drawn (horizontal, not the last step). */
|
|
53
|
+
protected readonly showSeparator: import("@angular/core").Signal<boolean>;
|
|
54
|
+
/** @ignore The separator bridges to the next step once this one is completed. */
|
|
55
|
+
protected readonly separatorCompleted: import("@angular/core").Signal<boolean>;
|
|
56
|
+
/** @ignore Last step in the sequence (no trailing growth in the horizontal strip). */
|
|
57
|
+
protected readonly isLastStep: import("@angular/core").Signal<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* @ignore Disabled when explicitly set, or , in `linear` mode , when the step
|
|
60
|
+
* lies ahead of the active one (you cannot skip forward).
|
|
61
|
+
*/
|
|
62
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
63
|
+
/** @ignore Glyph shown in the marker: own icon, else the completed icon, else the number. */
|
|
64
|
+
protected readonly markerIcon: import("@angular/core").Signal<string | null>;
|
|
65
|
+
/** @ignore */
|
|
66
|
+
protected onClick(event: MouseEvent): void;
|
|
67
|
+
/**
|
|
68
|
+
* @ignore Horizontal extent of the step, in viewport px: its own box (marker and
|
|
69
|
+
* trailing connector) united with its title, which overflows the marker on both sides.
|
|
70
|
+
*/
|
|
71
|
+
extent(): {
|
|
72
|
+
left: number;
|
|
73
|
+
right: number;
|
|
74
|
+
};
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStep, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStep, "ui-step", never, {
|
|
77
|
+
"value": {
|
|
78
|
+
"alias": "value";
|
|
79
|
+
"required": false;
|
|
80
|
+
"isSignal": true;
|
|
81
|
+
};
|
|
82
|
+
"disabled": {
|
|
83
|
+
"alias": "disabled";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
"icon": {
|
|
88
|
+
"alias": "icon";
|
|
89
|
+
"required": false;
|
|
90
|
+
"isSignal": true;
|
|
91
|
+
};
|
|
92
|
+
"ariaLabel": {
|
|
93
|
+
"alias": "ariaLabel";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
72
96
|
};
|
|
73
|
-
|
|
74
|
-
|
|
97
|
+
}, {
|
|
98
|
+
"value": "valueChange";
|
|
99
|
+
}, never, ["*"], true, never>;
|
|
75
100
|
}
|
|
76
101
|
/**
|
|
77
102
|
* ui-step-panel , the content region tied to a {@link UiStep} by shared `value`.
|
|
@@ -81,26 +106,39 @@ declare class UiStep {
|
|
|
81
106
|
* once the panel is first activated; wrap expensive content in a
|
|
82
107
|
* `<ng-template #content>` so it initialises lazily.
|
|
83
108
|
*/
|
|
84
|
-
declare class UiStepPanel {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
109
|
+
export declare class UiStepPanel {
|
|
110
|
+
/** Identifier of this panel (matched against the step of the same `value`). */
|
|
111
|
+
value: import("@angular/core").ModelSignal<UiStepValue | undefined>;
|
|
112
|
+
/** Render this panel's content only once it is first activated (overrides the group default). */
|
|
113
|
+
lazy: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
114
|
+
/** Optional lazy content template (`<ng-template #content>`). */
|
|
115
|
+
protected readonly content: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
116
|
+
/** @ignore Parent container (active state + group `lazy` default). */
|
|
117
|
+
protected readonly stepper: UiStepper;
|
|
118
|
+
/** @ignore */
|
|
119
|
+
protected readonly active: import("@angular/core").Signal<boolean>;
|
|
120
|
+
/** @ignore Panel-level `lazy` overrides the group default when explicitly set. */
|
|
121
|
+
private readonly isLazy;
|
|
122
|
+
/** @ignore Sticks once the panel has been activated at least once. */
|
|
123
|
+
private readonly hasRendered;
|
|
124
|
+
constructor();
|
|
125
|
+
/** @ignore Eager panels always render; lazy ones only after first activation. */
|
|
126
|
+
protected readonly shouldRender: import("@angular/core").Signal<boolean>;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStepPanel, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStepPanel, "ui-step-panel", never, {
|
|
129
|
+
"value": {
|
|
130
|
+
"alias": "value";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"lazy": {
|
|
135
|
+
"alias": "lazy";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
"value": "valueChange";
|
|
141
|
+
}, ["content"], ["*"], true, never>;
|
|
104
142
|
}
|
|
105
143
|
/**
|
|
106
144
|
* ui-step-list , the horizontal strip of {@link UiStep} headers.
|
|
@@ -111,38 +149,44 @@ declare class UiStepPanel {
|
|
|
111
149
|
* progress indicator ("steps only"). When the container is `scrollable`, the
|
|
112
150
|
* list itself is the scroll viewport and keeps the active step in view.
|
|
113
151
|
*/
|
|
114
|
-
declare class UiStepList {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
152
|
+
export declare class UiStepList {
|
|
153
|
+
/** Accessible name for the step list (recommended). */
|
|
154
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
155
|
+
/** @ignore Parent container (active value + `scrollable` option). */
|
|
156
|
+
protected readonly stepper: UiStepper;
|
|
157
|
+
/** @ignore The scroll viewport, when `scrollable`. */
|
|
158
|
+
private readonly host;
|
|
159
|
+
/** @ignore Steps projected into this list, in DOM order. */
|
|
160
|
+
private readonly steps;
|
|
161
|
+
/** @ignore Bumped by the ResizeObserver: a new width may clip the active step. */
|
|
162
|
+
private readonly resizeTick;
|
|
163
|
+
/** @ignore Whether the strip has been measured once (the first reveal does not animate). */
|
|
164
|
+
private settled;
|
|
165
|
+
/** @ignore Value of the step the strip last brought into view. */
|
|
166
|
+
private shownValue;
|
|
167
|
+
constructor();
|
|
168
|
+
/**
|
|
169
|
+
* @ignore Scroll the strip by the minimum that brings the step fully into view, nothing
|
|
170
|
+
* when it already is. Measured against the strip itself: unlike `scrollIntoView()`, it
|
|
171
|
+
* never scrolls the page. Returns `false` while the strip is not laid out yet.
|
|
172
|
+
*/
|
|
173
|
+
private reveal;
|
|
174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStepList, never>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStepList, "ui-step-list", never, {
|
|
176
|
+
"ariaLabel": {
|
|
177
|
+
"alias": "ariaLabel";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
}, {}, ["steps"], ["*"], true, never>;
|
|
138
182
|
}
|
|
139
183
|
/**
|
|
140
184
|
* ui-step-panels , thin wrapper grouping the {@link UiStepPanel}s below the
|
|
141
185
|
* horizontal step list.
|
|
142
186
|
*/
|
|
143
|
-
declare class UiStepPanels {
|
|
144
|
-
|
|
145
|
-
|
|
187
|
+
export declare class UiStepPanels {
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStepPanels, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStepPanels, "ui-step-panels", never, {}, {}, never, ["*"], true, never>;
|
|
146
190
|
}
|
|
147
191
|
/**
|
|
148
192
|
* ui-step-item , vertical wrapper pairing a {@link UiStep} with its
|
|
@@ -150,22 +194,28 @@ declare class UiStepPanels {
|
|
|
150
194
|
* children, so the vertical markup stays terse. The connector rail is drawn by
|
|
151
195
|
* the item itself, alongside the panel.
|
|
152
196
|
*/
|
|
153
|
-
declare class UiStepItem {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
197
|
+
export declare class UiStepItem {
|
|
198
|
+
/** Identifier shared by the wrapped step and panel. */
|
|
199
|
+
value: import("@angular/core").InputSignal<UiStepValue>;
|
|
200
|
+
/** @ignore Parent container. */
|
|
201
|
+
protected readonly stepper: UiStepper;
|
|
202
|
+
/** @ignore Wrapped step (value propagated from this item). */
|
|
203
|
+
private readonly step;
|
|
204
|
+
/** @ignore Wrapped panel (value propagated from this item). */
|
|
205
|
+
private readonly panel;
|
|
206
|
+
/** @ignore Progression state (drives the connector colour). */
|
|
207
|
+
protected readonly state: import("@angular/core").Signal<UiStepState>;
|
|
208
|
+
/** @ignore Last item hides its connector rail. */
|
|
209
|
+
protected readonly isLast: import("@angular/core").Signal<boolean>;
|
|
210
|
+
constructor();
|
|
211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStepItem, never>;
|
|
212
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStepItem, "ui-step-item", never, {
|
|
213
|
+
"value": {
|
|
214
|
+
"alias": "value";
|
|
215
|
+
"required": true;
|
|
216
|
+
"isSignal": true;
|
|
217
|
+
};
|
|
218
|
+
}, {}, ["step", "panel"], ["*"], true, never>;
|
|
169
219
|
}
|
|
170
220
|
/**
|
|
171
221
|
* ui-stepper , headless container guiding a user through a numbered, multi-step
|
|
@@ -196,69 +246,115 @@ declare class UiStepItem {
|
|
|
196
246
|
* </ui-stepper>
|
|
197
247
|
* ```
|
|
198
248
|
*/
|
|
199
|
-
declare class UiStepper {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
249
|
+
export declare class UiStepper {
|
|
250
|
+
/** Value of the active step (two-way). `undefined` = no active step. */
|
|
251
|
+
value: import("@angular/core").ModelSignal<UiStepValue | undefined>;
|
|
252
|
+
/** Layout axis: `horizontal` (list on top, panels below) or `vertical`. */
|
|
253
|
+
orientation: import("@angular/core").InputSignal<UiStepperOrientation>;
|
|
254
|
+
/** When `true`, steps ahead of the active one are disabled (no skipping forward). */
|
|
255
|
+
linear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
256
|
+
/** Group default: render an inactive panel's content only once it is first activated. */
|
|
257
|
+
lazy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
258
|
+
/**
|
|
259
|
+
* Horizontal only: steps keep a minimum width and the step list scrolls instead of
|
|
260
|
+
* squeezing them, following the active step.
|
|
261
|
+
*/
|
|
262
|
+
scrollable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
263
|
+
/** Animate the active panel transition (reduced-motion always wins). */
|
|
264
|
+
motion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
265
|
+
/** Icon shown in the marker of completed steps (falls back to the step number). */
|
|
266
|
+
completedIcon: import("@angular/core").InputSignal<string | undefined>;
|
|
267
|
+
/** Accessible name for the container (used as `aria-label` in vertical layout). */
|
|
268
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
269
|
+
/** Tabindex applied to each enabled step header. */
|
|
270
|
+
tabindex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
271
|
+
/** Fired whenever the active step changes (user click / keyboard). */
|
|
272
|
+
stepChange: import("@angular/core").OutputEmitterRef<UiStepperChangeEvent>;
|
|
273
|
+
/** @ignore Unique id root for aria wiring between steps and panels. */
|
|
274
|
+
readonly id: string;
|
|
275
|
+
/** @ignore All steps projected under this container, in DOM order. */
|
|
276
|
+
private readonly steps;
|
|
277
|
+
/** @ignore All panels projected under this container — a stepper used as a plain "steps only"
|
|
278
|
+
* progress indicator (see `UiStepList` doc) has none at all: `aria-controls` must not point
|
|
279
|
+
* at an id that resolves to nothing. */
|
|
280
|
+
private readonly panels;
|
|
281
|
+
/** @ignore `scrollable` applies to the horizontal strip only. */
|
|
282
|
+
readonly isScrollable: import("@angular/core").Signal<boolean>;
|
|
283
|
+
/** @ignore Ordered step values (the progression sequence). */
|
|
284
|
+
private readonly orderedValues;
|
|
285
|
+
/** @ignore Index of the active step in the ordered sequence (-1 when none). */
|
|
286
|
+
private readonly activeIndex;
|
|
287
|
+
/** @ignore id of the step header for a given value. */
|
|
288
|
+
stepId(value: UiStepValue | undefined): string;
|
|
289
|
+
/** @ignore id of the panel for a given value — `null` when that panel is not actually
|
|
290
|
+
* rendered (see `panels` above), so the step omits `aria-controls` rather than dangle it. */
|
|
291
|
+
panelId(value: UiStepValue | undefined): string | null;
|
|
292
|
+
/** @ignore Whether the given value is the active step. */
|
|
293
|
+
isActive(value: UiStepValue | undefined): boolean;
|
|
294
|
+
/** @ignore 1-based position of a step in the progression (0 when unknown). */
|
|
295
|
+
stepNumber(value: UiStepValue | undefined): number;
|
|
296
|
+
/** @ignore Whether the given value is the last step in the sequence. */
|
|
297
|
+
isLast(value: UiStepValue | undefined): boolean;
|
|
298
|
+
/**
|
|
299
|
+
* @ignore Progression state of a step: before the active one → `completed`,
|
|
300
|
+
* the active one → `active`, after it → `upcoming`.
|
|
301
|
+
*/
|
|
302
|
+
stepState(value: UiStepValue | undefined): UiStepState;
|
|
303
|
+
/** @ignore Activate a step (no-op if already active); emits `stepChange`. */
|
|
304
|
+
updateValue(value: UiStepValue, event?: Event): void;
|
|
305
|
+
/** Activate the next step in the sequence (respects the sequence bounds). */
|
|
306
|
+
next(): void;
|
|
307
|
+
/** Activate the previous step in the sequence. */
|
|
308
|
+
prev(): void;
|
|
309
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStepper, never>;
|
|
310
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiStepper, "ui-stepper", never, {
|
|
311
|
+
"value": {
|
|
312
|
+
"alias": "value";
|
|
313
|
+
"required": false;
|
|
314
|
+
"isSignal": true;
|
|
315
|
+
};
|
|
316
|
+
"orientation": {
|
|
317
|
+
"alias": "orientation";
|
|
318
|
+
"required": false;
|
|
319
|
+
"isSignal": true;
|
|
320
|
+
};
|
|
321
|
+
"linear": {
|
|
322
|
+
"alias": "linear";
|
|
323
|
+
"required": false;
|
|
324
|
+
"isSignal": true;
|
|
325
|
+
};
|
|
326
|
+
"lazy": {
|
|
327
|
+
"alias": "lazy";
|
|
328
|
+
"required": false;
|
|
329
|
+
"isSignal": true;
|
|
330
|
+
};
|
|
331
|
+
"scrollable": {
|
|
332
|
+
"alias": "scrollable";
|
|
333
|
+
"required": false;
|
|
334
|
+
"isSignal": true;
|
|
335
|
+
};
|
|
336
|
+
"motion": {
|
|
337
|
+
"alias": "motion";
|
|
338
|
+
"required": false;
|
|
339
|
+
"isSignal": true;
|
|
340
|
+
};
|
|
341
|
+
"completedIcon": {
|
|
342
|
+
"alias": "completedIcon";
|
|
343
|
+
"required": false;
|
|
344
|
+
"isSignal": true;
|
|
345
|
+
};
|
|
346
|
+
"ariaLabel": {
|
|
347
|
+
"alias": "ariaLabel";
|
|
348
|
+
"required": false;
|
|
349
|
+
"isSignal": true;
|
|
350
|
+
};
|
|
351
|
+
"tabindex": {
|
|
352
|
+
"alias": "tabindex";
|
|
353
|
+
"required": false;
|
|
354
|
+
"isSignal": true;
|
|
355
|
+
};
|
|
356
|
+
}, {
|
|
357
|
+
"value": "valueChange";
|
|
358
|
+
"stepChange": "stepChange";
|
|
359
|
+
}, ["steps", "panels"], ["*"], true, never>;
|
|
360
|
+
}
|