@cngx/ui 0.0.1-rc.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/LICENSE +21 -0
- package/README.md +550 -0
- package/action-button/README.md +98 -0
- package/empty-state/README.md +103 -0
- package/feedback/README.md +33 -0
- package/fesm2022/cngx-ui-action-button.mjs +319 -0
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -0
- package/fesm2022/cngx-ui-empty-state.mjs +138 -0
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -0
- package/fesm2022/cngx-ui-feedback.mjs +2962 -0
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -0
- package/fesm2022/cngx-ui-layout.mjs +89 -0
- package/fesm2022/cngx-ui-layout.mjs.map +1 -0
- package/fesm2022/cngx-ui-mat-stepper.mjs +567 -0
- package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -0
- package/fesm2022/cngx-ui-mat-tabs.mjs +1405 -0
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -0
- package/fesm2022/cngx-ui-material.mjs +79 -0
- package/fesm2022/cngx-ui-material.mjs.map +1 -0
- package/fesm2022/cngx-ui-overlay.mjs +91 -0
- package/fesm2022/cngx-ui-overlay.mjs.map +1 -0
- package/fesm2022/cngx-ui-sidenav.mjs +521 -0
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -0
- package/fesm2022/cngx-ui-skeleton.mjs +158 -0
- package/fesm2022/cngx-ui-skeleton.mjs.map +1 -0
- package/fesm2022/cngx-ui-speak.mjs +112 -0
- package/fesm2022/cngx-ui-speak.mjs.map +1 -0
- package/fesm2022/cngx-ui-stepper.mjs +312 -0
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -0
- package/fesm2022/cngx-ui-tabs.mjs +507 -0
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -0
- package/fesm2022/cngx-ui.mjs +45 -0
- package/fesm2022/cngx-ui.mjs.map +1 -0
- package/layout/README.md +133 -0
- package/mat-stepper/README.md +34 -0
- package/mat-tabs/README.md +163 -0
- package/mat-tabs/styles/mat-tabs.css +233 -0
- package/material/README.md +90 -0
- package/overlay/README.md +99 -0
- package/package.json +98 -0
- package/sidenav/README.md +127 -0
- package/skeleton/README.md +98 -0
- package/speak/README.md +93 -0
- package/speak/speak-button-theme.scss +78 -0
- package/stepper/README.md +40 -0
- package/tabs/README.md +28 -0
- package/types/cngx-ui-action-button.d.ts +126 -0
- package/types/cngx-ui-empty-state.d.ts +41 -0
- package/types/cngx-ui-feedback.d.ts +1174 -0
- package/types/cngx-ui-layout.d.ts +56 -0
- package/types/cngx-ui-mat-stepper.d.ts +234 -0
- package/types/cngx-ui-mat-tabs.d.ts +664 -0
- package/types/cngx-ui-material.d.ts +36 -0
- package/types/cngx-ui-overlay.d.ts +57 -0
- package/types/cngx-ui-sidenav.d.ts +209 -0
- package/types/cngx-ui-skeleton.d.ts +97 -0
- package/types/cngx-ui-speak.d.ts +31 -0
- package/types/cngx-ui-stepper.d.ts +129 -0
- package/types/cngx-ui-tabs.d.ts +165 -0
- package/types/cngx-ui.d.ts +18 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { input, inject, ElementRef, Injector, contentChildren, contentChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
import * as i2 from '@cngx/common/a11y';
|
|
5
|
+
import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore } from '@cngx/common/a11y';
|
|
6
|
+
import * as i1 from '@cngx/common/stepper';
|
|
7
|
+
import { CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepGroupHeader, CngxStepperEmpty, CNGX_STEPPER_GLYPHS, createStepperTemplateBindings, flatStepsEqual, CNGX_STEP_PANEL_HOST, CngxStepperPresenter } from '@cngx/common/stepper';
|
|
8
|
+
import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } from '@cngx/common/tabs';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Stepper organism. Composes `CngxStepperPresenter` with
|
|
12
|
+
* `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;
|
|
13
|
+
* forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/
|
|
14
|
+
* `commitMode` to the presenter. Material twin lives in
|
|
15
|
+
* `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.
|
|
16
|
+
*/
|
|
17
|
+
class CngxStepper {
|
|
18
|
+
ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
|
|
19
|
+
ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
|
|
20
|
+
presenter = inject(CNGX_STEPPER_HOST);
|
|
21
|
+
i18n = injectStepperI18n();
|
|
22
|
+
config = injectStepperConfig();
|
|
23
|
+
hostElement = inject(ElementRef).nativeElement;
|
|
24
|
+
injector = inject(Injector);
|
|
25
|
+
stepDirectives = contentChildren(CngxStep, { ...(ngDevMode ? { debugName: "stepDirectives" } : /* istanbul ignore next */ {}), descendants: true });
|
|
26
|
+
indicatorSlot = contentChild(CngxStepIndicator, ...(ngDevMode ? [{ debugName: "indicatorSlot" }] : /* istanbul ignore next */ []));
|
|
27
|
+
badgeSlot = contentChild(CngxStepBadge, ...(ngDevMode ? [{ debugName: "badgeSlot" }] : /* istanbul ignore next */ []));
|
|
28
|
+
busySpinnerSlot = contentChild(CngxStepBusySpinner, ...(ngDevMode ? [{ debugName: "busySpinnerSlot" }] : /* istanbul ignore next */ []));
|
|
29
|
+
rejectionSlot = contentChild(CngxStepRejection, ...(ngDevMode ? [{ debugName: "rejectionSlot" }] : /* istanbul ignore next */ []));
|
|
30
|
+
groupHeaderSlot = contentChild(CngxStepGroupHeader, ...(ngDevMode ? [{ debugName: "groupHeaderSlot" }] : /* istanbul ignore next */ []));
|
|
31
|
+
emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
|
|
32
|
+
/** Default-template glyph source — read by `#defaultBadge` / `#defaultRejection` outlets. */
|
|
33
|
+
glyphs = CNGX_STEPPER_GLYPHS;
|
|
34
|
+
/**
|
|
35
|
+
* 6-slot template cascade (indicator/badge/busySpinner/rejection/
|
|
36
|
+
* groupHeader/empty). Resolution: per-instance slot directive →
|
|
37
|
+
* `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).
|
|
38
|
+
*/
|
|
39
|
+
templates = createStepperTemplateBindings({
|
|
40
|
+
indicatorSlot: this.indicatorSlot,
|
|
41
|
+
badgeSlot: this.badgeSlot,
|
|
42
|
+
busySpinnerSlot: this.busySpinnerSlot,
|
|
43
|
+
rejectionSlot: this.rejectionSlot,
|
|
44
|
+
groupHeaderSlot: this.groupHeaderSlot,
|
|
45
|
+
emptySlot: this.emptySlot,
|
|
46
|
+
config: this.config,
|
|
47
|
+
});
|
|
48
|
+
constructor() {
|
|
49
|
+
// Scroll active step into view on activeStepId change. Routed through
|
|
50
|
+
// CNGX_ORGANISM_SCROLL_SYNC_FACTORY so consumers can swap policy
|
|
51
|
+
// (instant, reduced-motion opt-out) without forking.
|
|
52
|
+
inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({
|
|
53
|
+
activeId: this.presenter.activeStepId,
|
|
54
|
+
hostElement: this.hostElement,
|
|
55
|
+
injector: this.injector,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/** Stepper landmark role-description with config + i18n cascade. */
|
|
59
|
+
stepperRoleDescription = computed(() => this.config.fallbackLabels?.stepRoleDescription ??
|
|
60
|
+
this.i18n.stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
|
|
61
|
+
/** Group landmark role-description with config + i18n cascade. */
|
|
62
|
+
groupRoleDescription = computed(() => this.config.fallbackLabels?.groupRoleDescription ?? 'step group', ...(ngDevMode ? [{ debugName: "groupRoleDescription" }] : /* istanbul ignore next */ []));
|
|
63
|
+
/**
|
|
64
|
+
* `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.
|
|
65
|
+
* Pillar 2.
|
|
66
|
+
*/
|
|
67
|
+
resolvedAriaLabel = computed(() => {
|
|
68
|
+
if (this.ariaLabelledBy()) {
|
|
69
|
+
return null; // labelledby trumps label
|
|
70
|
+
}
|
|
71
|
+
return (this.ariaLabel() ??
|
|
72
|
+
this.config.ariaLabels?.stepperRegion ??
|
|
73
|
+
this.i18n.stepperLabel);
|
|
74
|
+
}, ...(ngDevMode ? [{ debugName: "resolvedAriaLabel" }] : /* istanbul ignore next */ []));
|
|
75
|
+
// O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on
|
|
76
|
+
// id-set + directive identity stops cascade on shape-stable re-emits.
|
|
77
|
+
stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({
|
|
78
|
+
source: this.stepDirectives,
|
|
79
|
+
});
|
|
80
|
+
flatSteps = this.presenter.flatSteps;
|
|
81
|
+
activeStepIndex = this.presenter.activeStepIndex;
|
|
82
|
+
activeStepId = this.presenter.activeStepId;
|
|
83
|
+
/**
|
|
84
|
+
* Step-only flat projection (group nodes filtered out). Structural equal
|
|
85
|
+
* via `flatStepsEqual` — downstream consumers don't re-walk on shape-stable
|
|
86
|
+
* `flatSteps()` re-emits.
|
|
87
|
+
*/
|
|
88
|
+
stepsOnly = computed(() => this.flatSteps().filter((n) => n.kind === 'step'), { ...(ngDevMode ? { debugName: "stepsOnly" } : /* istanbul ignore next */ {}), equal: flatStepsEqual });
|
|
89
|
+
/**
|
|
90
|
+
* Position in the step-only flat projection. Group nodes carry `-1`;
|
|
91
|
+
* callers must guard on `kind === 'step'`.
|
|
92
|
+
*/
|
|
93
|
+
stepIndexOf(node) {
|
|
94
|
+
return node.flatIndex;
|
|
95
|
+
}
|
|
96
|
+
isActive(node) {
|
|
97
|
+
return node.kind === 'step' && node.id === this.activeStepId();
|
|
98
|
+
}
|
|
99
|
+
isStepBusy(node) {
|
|
100
|
+
return (node.kind === 'step' &&
|
|
101
|
+
this.presenter.commitState.status() === 'pending' &&
|
|
102
|
+
this.presenter.intendedStepIndex() === node.flatIndex);
|
|
103
|
+
}
|
|
104
|
+
/** Commit-in-flight flag — drives the host `aria-busy` binding. Pillar 2. */
|
|
105
|
+
isCommitting = computed(() => this.presenter.commitState.status() === 'pending', ...(ngDevMode ? [{ debugName: "isCommitting" }] : /* istanbul ignore next */ []));
|
|
106
|
+
stepHeaderId(node) {
|
|
107
|
+
return `${node.id}-header`;
|
|
108
|
+
}
|
|
109
|
+
stepPanelId(node) {
|
|
110
|
+
return `${node.id}-panel`;
|
|
111
|
+
}
|
|
112
|
+
stepDescriptorId(node) {
|
|
113
|
+
return `${node.id}-desc`;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Live-region content. Empty string between transitions keeps the region
|
|
117
|
+
* quiet on no-op CD ticks. Error-arm priority:
|
|
118
|
+
* 1. `commitRolledBackTo(originLabel)` when both `lastFailedIndex` and a
|
|
119
|
+
* resolvable origin label exist.
|
|
120
|
+
* 2. `commitFailedRetry` otherwise.
|
|
121
|
+
*/
|
|
122
|
+
liveAnnouncement = computed(() => {
|
|
123
|
+
const current = this.presenter.commitTransition.current();
|
|
124
|
+
if (current === 'pending') {
|
|
125
|
+
return this.i18n.commitInFlight;
|
|
126
|
+
}
|
|
127
|
+
if (current === 'error') {
|
|
128
|
+
// Sync commit-handler errors collapse pending → error in one signal
|
|
129
|
+
// flush; tracker sees `previous === 'idle'`. Guard stays loose so
|
|
130
|
+
// sync-rejection (`commitAction = () => false`) still announces.
|
|
131
|
+
const failedIdx = this.presenter.lastFailedIndex();
|
|
132
|
+
const originIdx = this.presenter.originIndexDuringCommit();
|
|
133
|
+
if (failedIdx !== undefined && originIdx !== undefined) {
|
|
134
|
+
const originLabel = this.stepsOnly()[originIdx]?.label();
|
|
135
|
+
if (originLabel) {
|
|
136
|
+
return this.i18n.commitRolledBackTo(originLabel);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return this.i18n.commitFailedRetry;
|
|
140
|
+
}
|
|
141
|
+
return '';
|
|
142
|
+
}, ...(ngDevMode ? [{ debugName: "liveAnnouncement" }] : /* istanbul ignore next */ []));
|
|
143
|
+
/** SR descriptor phrase. Aggregator-announced or "Step N of M: <label>"; appends stepRolledBackSuffix on the rejected row. */
|
|
144
|
+
statusPhrase(node) {
|
|
145
|
+
const aggregator = node.errorAggregator?.();
|
|
146
|
+
let base = aggregator?.shouldShow?.() ? (aggregator.announcement?.() ?? '') : '';
|
|
147
|
+
if (!base && node.kind === 'step') {
|
|
148
|
+
const idx = this.stepIndexOf(node);
|
|
149
|
+
if (idx >= 0) {
|
|
150
|
+
base = this.i18n.selectedStep(node.label(), idx + 1, this.stepsOnly().length);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (!base) {
|
|
154
|
+
return '';
|
|
155
|
+
}
|
|
156
|
+
return node.kind === 'step' && node.flatIndex === this.presenter.lastFailedIndex()
|
|
157
|
+
? `${base} ${this.i18n.stepRolledBackSuffix}`
|
|
158
|
+
: base;
|
|
159
|
+
}
|
|
160
|
+
/** Group descriptor — rolls up children's aggregated status. */
|
|
161
|
+
groupStatusPhrase(node) {
|
|
162
|
+
const status = node.state();
|
|
163
|
+
if (status === 'error') {
|
|
164
|
+
return this.i18n.stepErrored;
|
|
165
|
+
}
|
|
166
|
+
if (status === 'success') {
|
|
167
|
+
return this.i18n.stepCompleted;
|
|
168
|
+
}
|
|
169
|
+
return '';
|
|
170
|
+
}
|
|
171
|
+
/** Whether to render the error badge for a step node. */
|
|
172
|
+
showErrorBadge(node) {
|
|
173
|
+
return !!node.errorAggregator?.()?.shouldShow?.();
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Render the rejection decoration when this step's flat-index matches
|
|
177
|
+
* `presenter.lastFailedIndex()`. Closes stepper-accepted-debt §2.
|
|
178
|
+
*/
|
|
179
|
+
showRejection(node) {
|
|
180
|
+
return (node.kind === 'step' &&
|
|
181
|
+
node.flatIndex >= 0 &&
|
|
182
|
+
node.flatIndex === this.presenter.lastFailedIndex());
|
|
183
|
+
}
|
|
184
|
+
/** Build the slot context for `*cngxStepIndicator`. */
|
|
185
|
+
indicatorContextFor(node) {
|
|
186
|
+
const position = node.flatIndex + 1;
|
|
187
|
+
return {
|
|
188
|
+
$implicit: position,
|
|
189
|
+
position,
|
|
190
|
+
node,
|
|
191
|
+
active: this.isActive(node),
|
|
192
|
+
status: node.state(),
|
|
193
|
+
busy: this.isStepBusy(node),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/** Build the slot context for `*cngxStepBadge`. */
|
|
197
|
+
badgeContextFor(node) {
|
|
198
|
+
const aggregator = node.errorAggregator?.();
|
|
199
|
+
const count = aggregator?.errorCount() ?? 0;
|
|
200
|
+
return { count, node };
|
|
201
|
+
}
|
|
202
|
+
/** Build the slot context for `*cngxStepBusySpinner`. */
|
|
203
|
+
busySpinnerContextFor(node) {
|
|
204
|
+
return { node };
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Build the slot context for `*cngxStepRejection`. Resolves origin label
|
|
208
|
+
* from `presenter.originIndexDuringCommit()` via `stepsOnly()`.
|
|
209
|
+
*/
|
|
210
|
+
rejectionContextFor(node) {
|
|
211
|
+
const failedIndex = node.flatIndex;
|
|
212
|
+
const originIdx = this.presenter.originIndexDuringCommit();
|
|
213
|
+
const originLabel = originIdx !== undefined ? this.stepsOnly()[originIdx]?.label() : undefined;
|
|
214
|
+
return { failedIndex, originLabel, node };
|
|
215
|
+
}
|
|
216
|
+
/** Build the slot context for `*cngxStepGroupHeader`. */
|
|
217
|
+
groupHeaderContextFor(node) {
|
|
218
|
+
return { group: node, expanded: true, status: node.state() };
|
|
219
|
+
}
|
|
220
|
+
handleHeaderClick(node) {
|
|
221
|
+
if (node.kind !== 'step' || node.disabled()) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
const idx = this.stepIndexOf(node);
|
|
225
|
+
if (idx >= 0) {
|
|
226
|
+
this.presenter.select(idx);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Clear the presenter's `lastFailedIndex`. Lets template-ref consumers
|
|
231
|
+
* (`#s="cngxStepper"`) dismiss the rejection decoration without injecting
|
|
232
|
+
* {@link CNGX_STEPPER_HOST}.
|
|
233
|
+
*/
|
|
234
|
+
clearLastFailed() {
|
|
235
|
+
this.presenter.clearLastFailed();
|
|
236
|
+
}
|
|
237
|
+
// CngxStepPanelHost contract — O(1) via the pre-built map.
|
|
238
|
+
labelTemplateFor(id) {
|
|
239
|
+
return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;
|
|
240
|
+
}
|
|
241
|
+
contentTemplateFor(id) {
|
|
242
|
+
return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Build the {@link CngxStepLabelContext} for `*cngxStepLabel`.
|
|
246
|
+
* `index` is 1-based (mirrors indicator position); group nodes
|
|
247
|
+
* (`flatIndex === -1`) yield `0` and are never iterated here.
|
|
248
|
+
*/
|
|
249
|
+
stepLabelContextFor(node) {
|
|
250
|
+
return {
|
|
251
|
+
node,
|
|
252
|
+
index: node.flatIndex + 1,
|
|
253
|
+
active: this.isActive(node),
|
|
254
|
+
busy: this.isStepBusy(node),
|
|
255
|
+
disabled: node.disabled(),
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Build the {@link CngxStepContentContext} for `*cngxStepContent`.
|
|
260
|
+
* Same shape as the label context — content templates need the same
|
|
261
|
+
* `disabled`/`busy` derivations.
|
|
262
|
+
*/
|
|
263
|
+
stepContentContextFor(node) {
|
|
264
|
+
return this.stepLabelContextFor(node);
|
|
265
|
+
}
|
|
266
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
267
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" } }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: [":host{display:block}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 2px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, #c62828);color:var(--cngx-step-error-badge-text-color, white);font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, #ed6c02);outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, #ed6c02);color:var(--cngx-step-rejection-icon-color, white);font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([data-orientation=\"horizontal\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"horizontal\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}:host([data-orientation=\"vertical\"]) .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}:host([data-orientation=\"vertical\"]){display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}:host([data-orientation=\"vertical\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"vertical\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}\n", ":host{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color .12s ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, #2e7d32);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color, #c62828);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=disabled]{background:var(--cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, currentColor);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor));animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 4%, transparent))}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
268
|
+
}
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, decorators: [{
|
|
270
|
+
type: Component,
|
|
271
|
+
args: [{ selector: 'cngx-stepper', exportAs: 'cngxStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem], hostDirectives: [
|
|
272
|
+
{
|
|
273
|
+
directive: CngxStepperPresenter,
|
|
274
|
+
inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],
|
|
275
|
+
outputs: ['activeStepIndexChange'],
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
directive: CngxRovingTabindex,
|
|
279
|
+
inputs: ['orientation'],
|
|
280
|
+
},
|
|
281
|
+
{ directive: CngxFocusRestore },
|
|
282
|
+
// CngxLiveRegion not composed: its role="status" would clobber the
|
|
283
|
+
// host's role="group". Template mounts a dedicated <span cngxLiveRegion>
|
|
284
|
+
// bound to liveAnnouncement instead.
|
|
285
|
+
], providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], host: {
|
|
286
|
+
'role': 'group',
|
|
287
|
+
'[attr.aria-roledescription]': 'stepperRoleDescription()',
|
|
288
|
+
'[attr.aria-orientation]': 'presenter.orientation()',
|
|
289
|
+
'[attr.data-orientation]': 'presenter.orientation()',
|
|
290
|
+
'[attr.aria-label]': 'resolvedAriaLabel()',
|
|
291
|
+
'[attr.aria-labelledby]': 'ariaLabelledBy()',
|
|
292
|
+
'[attr.aria-busy]': 'isCommitting() ? "true" : null',
|
|
293
|
+
'[class.cngx-stepper]': 'true',
|
|
294
|
+
}, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: [":host{display:block}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 2px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, #c62828);color:var(--cngx-step-error-badge-text-color, white);font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, #ed6c02);outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, #ed6c02);color:var(--cngx-step-rejection-icon-color, white);font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([data-orientation=\"horizontal\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"horizontal\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}:host([data-orientation=\"vertical\"]) .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}:host([data-orientation=\"vertical\"]){display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}:host([data-orientation=\"vertical\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"vertical\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}\n", ":host{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color .12s ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, #2e7d32);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color, #c62828);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=disabled]{background:var(--cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, currentColor);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor));animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 4%, transparent))}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}\n"] }]
|
|
295
|
+
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @module @cngx/ui/stepper
|
|
299
|
+
*
|
|
300
|
+
* Level-4 organism — CNGX-standard `<cngx-stepper>` skin over the
|
|
301
|
+
* Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.
|
|
302
|
+
* Composes presenter + roving tabindex + focus restore + live
|
|
303
|
+
* region via `hostDirectives`. Material consumers reach for
|
|
304
|
+
* `@cngx/ui/mat-stepper` instead.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Generated bundle index. Do not edit.
|
|
309
|
+
*/
|
|
310
|
+
|
|
311
|
+
export { CngxStepper };
|
|
312
|
+
//# sourceMappingURL=cngx-ui-stepper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cngx-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/public-api.ts","../../../projects/ui/stepper/cngx-ui-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n ElementRef,\n inject,\n Injector,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxFocusRestore,\n CngxLiveRegion,\n CngxRovingItem,\n CngxRovingTabindex,\n} from '@cngx/common/a11y';\nimport {\n CNGX_STEP_PANEL_HOST,\n CngxStep,\n CngxStepBadge,\n type CngxStepBadgeContext,\n CngxStepBusySpinner,\n type CngxStepBusySpinnerContext,\n type CngxStepContentContext,\n CngxStepGroupHeader,\n type CngxStepGroupHeaderContext,\n CngxStepIndicator,\n type CngxStepIndicatorContext,\n type CngxStepLabelContext,\n CngxStepperEmpty,\n CngxStepperPresenter,\n CngxStepRejection,\n type CngxStepRejectionContext,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperTemplateBindings,\n flatStepsEqual,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n type CngxStepPanelHost,\n} from '@cngx/common/stepper';\nimport {\n CNGX_DIRECTIVE_BY_ID_MAP_FACTORY,\n CNGX_ORGANISM_SCROLL_SYNC_FACTORY,\n} from '@cngx/common/tabs';\n\n/**\n * Stepper organism. Composes `CngxStepperPresenter` with\n * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;\n * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/\n * `commitMode` to the presenter. Material twin lives in\n * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.\n */\n@Component({\n selector: 'cngx-stepper',\n exportAs: 'cngxStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem],\n styleUrls: ['./styles/stepper-base.css', './stepper.component.css'],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation'],\n },\n { directive: CngxFocusRestore },\n // CngxLiveRegion not composed: its role=\"status\" would clobber the\n // host's role=\"group\". Template mounts a dedicated <span cngxLiveRegion>\n // bound to liveAnnouncement instead.\n ],\n providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }],\n templateUrl: './stepper.component.html',\n host: {\n 'role': 'group',\n '[attr.aria-roledescription]': 'stepperRoleDescription()',\n '[attr.aria-orientation]': 'presenter.orientation()',\n '[attr.data-orientation]': 'presenter.orientation()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-busy]': 'isCommitting() ? \"true\" : null',\n '[class.cngx-stepper]': 'true',\n },\n})\nexport class CngxStepper implements CngxStepPanelHost {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n private readonly hostElement: HTMLElement = inject<ElementRef<HTMLElement>>(\n ElementRef,\n ).nativeElement;\n private readonly injector = inject(Injector);\n private readonly stepDirectives = contentChildren(CngxStep, { descendants: true });\n\n private readonly indicatorSlot = contentChild(CngxStepIndicator);\n private readonly badgeSlot = contentChild(CngxStepBadge);\n private readonly busySpinnerSlot = contentChild(CngxStepBusySpinner);\n private readonly rejectionSlot = contentChild(CngxStepRejection);\n private readonly groupHeaderSlot = contentChild(CngxStepGroupHeader);\n private readonly emptySlot = contentChild(CngxStepperEmpty);\n\n /** Default-template glyph source — read by `#defaultBadge` / `#defaultRejection` outlets. */\n protected readonly glyphs = CNGX_STEPPER_GLYPHS;\n\n /**\n * 6-slot template cascade (indicator/badge/busySpinner/rejection/\n * groupHeader/empty). Resolution: per-instance slot directive →\n * `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).\n */\n protected readonly templates = createStepperTemplateBindings({\n indicatorSlot: this.indicatorSlot,\n badgeSlot: this.badgeSlot,\n busySpinnerSlot: this.busySpinnerSlot,\n rejectionSlot: this.rejectionSlot,\n groupHeaderSlot: this.groupHeaderSlot,\n emptySlot: this.emptySlot,\n config: this.config,\n });\n\n constructor() {\n // Scroll active step into view on activeStepId change. Routed through\n // CNGX_ORGANISM_SCROLL_SYNC_FACTORY so consumers can swap policy\n // (instant, reduced-motion opt-out) without forking.\n inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({\n activeId: this.presenter.activeStepId,\n hostElement: this.hostElement,\n injector: this.injector,\n });\n }\n\n /** Stepper landmark role-description with config + i18n cascade. */\n protected readonly stepperRoleDescription = computed<string>(\n () =>\n this.config.fallbackLabels?.stepRoleDescription ??\n this.i18n.stepperLabel,\n );\n\n /** Group landmark role-description with config + i18n cascade. */\n protected readonly groupRoleDescription = computed<string>(\n () =>\n this.config.fallbackLabels?.groupRoleDescription ?? 'step group',\n );\n\n /**\n * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.\n * Pillar 2.\n */\n protected readonly resolvedAriaLabel = computed<string | null>(() => {\n if (this.ariaLabelledBy()) {\n return null; // labelledby trumps label\n }\n return (\n this.ariaLabel() ??\n this.config.ariaLabels?.stepperRegion ??\n this.i18n.stepperLabel\n );\n });\n\n // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on\n // id-set + directive identity stops cascade on shape-stable re-emits.\n private readonly stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({\n source: this.stepDirectives,\n });\n\n readonly flatSteps: Signal<readonly CngxStepNode[]> = this.presenter.flatSteps;\n readonly activeStepIndex: Signal<number> = this.presenter.activeStepIndex;\n readonly activeStepId: Signal<string | null> = this.presenter.activeStepId;\n\n /**\n * Step-only flat projection (group nodes filtered out). Structural equal\n * via `flatStepsEqual` — downstream consumers don't re-walk on shape-stable\n * `flatSteps()` re-emits.\n */\n protected readonly stepsOnly = computed(\n () => this.flatSteps().filter((n) => n.kind === 'step'),\n { equal: flatStepsEqual },\n );\n\n /**\n * Position in the step-only flat projection. Group nodes carry `-1`;\n * callers must guard on `kind === 'step'`.\n */\n protected stepIndexOf(node: CngxStepNode): number {\n return node.flatIndex;\n }\n\n protected isActive(node: CngxStepNode): boolean {\n return node.kind === 'step' && node.id === this.activeStepId();\n }\n\n protected isStepBusy(node: CngxStepNode): boolean {\n return (\n node.kind === 'step' &&\n this.presenter.commitState.status() === 'pending' &&\n this.presenter.intendedStepIndex() === node.flatIndex\n );\n }\n\n /** Commit-in-flight flag — drives the host `aria-busy` binding. Pillar 2. */\n protected readonly isCommitting = computed<boolean>(\n () => this.presenter.commitState.status() === 'pending',\n );\n\n protected stepHeaderId(node: CngxStepNode): string {\n return `${node.id}-header`;\n }\n\n protected stepPanelId(node: CngxStepNode): string {\n return `${node.id}-panel`;\n }\n\n protected stepDescriptorId(node: CngxStepNode): string {\n return `${node.id}-desc`;\n }\n\n /**\n * Live-region content. Empty string between transitions keeps the region\n * quiet on no-op CD ticks. Error-arm priority:\n * 1. `commitRolledBackTo(originLabel)` when both `lastFailedIndex` and a\n * resolvable origin label exist.\n * 2. `commitFailedRetry` otherwise.\n */\n protected readonly liveAnnouncement = computed<string>(() => {\n const current = this.presenter.commitTransition.current();\n if (current === 'pending') {\n return this.i18n.commitInFlight;\n }\n if (current === 'error') {\n // Sync commit-handler errors collapse pending → error in one signal\n // flush; tracker sees `previous === 'idle'`. Guard stays loose so\n // sync-rejection (`commitAction = () => false`) still announces.\n const failedIdx = this.presenter.lastFailedIndex();\n const originIdx = this.presenter.originIndexDuringCommit();\n if (failedIdx !== undefined && originIdx !== undefined) {\n const originLabel = this.stepsOnly()[originIdx]?.label();\n if (originLabel) {\n return this.i18n.commitRolledBackTo(originLabel);\n }\n }\n return this.i18n.commitFailedRetry;\n }\n return '';\n });\n\n /** SR descriptor phrase. Aggregator-announced or \"Step N of M: <label>\"; appends stepRolledBackSuffix on the rejected row. */\n protected statusPhrase(node: CngxStepNode): string {\n const aggregator = node.errorAggregator?.();\n let base = aggregator?.shouldShow?.() ? (aggregator.announcement?.() ?? '') : '';\n if (!base && node.kind === 'step') {\n const idx = this.stepIndexOf(node);\n if (idx >= 0) {\n base = this.i18n.selectedStep(node.label(), idx + 1, this.stepsOnly().length);\n }\n }\n if (!base) {\n return '';\n }\n return node.kind === 'step' && node.flatIndex === this.presenter.lastFailedIndex()\n ? `${base} ${this.i18n.stepRolledBackSuffix}`\n : base;\n }\n\n /** Group descriptor — rolls up children's aggregated status. */\n protected groupStatusPhrase(node: CngxStepNode): string {\n const status = node.state();\n if (status === 'error') {\n return this.i18n.stepErrored;\n }\n if (status === 'success') {\n return this.i18n.stepCompleted;\n }\n return '';\n }\n\n /** Whether to render the error badge for a step node. */\n protected showErrorBadge(node: CngxStepNode): boolean {\n return !!node.errorAggregator?.()?.shouldShow?.();\n }\n\n /**\n * Render the rejection decoration when this step's flat-index matches\n * `presenter.lastFailedIndex()`. Closes stepper-accepted-debt §2.\n */\n protected showRejection(node: CngxStepNode): boolean {\n return (\n node.kind === 'step' &&\n node.flatIndex >= 0 &&\n node.flatIndex === this.presenter.lastFailedIndex()\n );\n }\n\n /** Build the slot context for `*cngxStepIndicator`. */\n protected indicatorContextFor(node: CngxStepNode): CngxStepIndicatorContext {\n const position = node.flatIndex + 1;\n return {\n $implicit: position,\n position,\n node,\n active: this.isActive(node),\n status: node.state(),\n busy: this.isStepBusy(node),\n };\n }\n\n /** Build the slot context for `*cngxStepBadge`. */\n protected badgeContextFor(node: CngxStepNode): CngxStepBadgeContext {\n const aggregator = node.errorAggregator?.();\n const count = aggregator?.errorCount() ?? 0;\n return { count, node };\n }\n\n /** Build the slot context for `*cngxStepBusySpinner`. */\n protected busySpinnerContextFor(node: CngxStepNode): CngxStepBusySpinnerContext {\n return { node };\n }\n\n /**\n * Build the slot context for `*cngxStepRejection`. Resolves origin label\n * from `presenter.originIndexDuringCommit()` via `stepsOnly()`.\n */\n protected rejectionContextFor(node: CngxStepNode): CngxStepRejectionContext {\n const failedIndex = node.flatIndex;\n const originIdx = this.presenter.originIndexDuringCommit();\n const originLabel =\n originIdx !== undefined ? this.stepsOnly()[originIdx]?.label() : undefined;\n return { failedIndex, originLabel, node };\n }\n\n /** Build the slot context for `*cngxStepGroupHeader`. */\n protected groupHeaderContextFor(node: CngxStepNode): CngxStepGroupHeaderContext {\n return { group: node, expanded: true, status: node.state() };\n }\n\n protected handleHeaderClick(node: CngxStepNode): void {\n if (node.kind !== 'step' || node.disabled()) {\n return;\n }\n const idx = this.stepIndexOf(node);\n if (idx >= 0) {\n this.presenter.select(idx);\n }\n }\n\n /**\n * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers\n * (`#s=\"cngxStepper\"`) dismiss the rejection decoration without injecting\n * {@link CNGX_STEPPER_HOST}.\n */\n clearLastFailed(): void {\n this.presenter.clearLastFailed();\n }\n\n // CngxStepPanelHost contract — O(1) via the pre-built map.\n labelTemplateFor(id: string): TemplateRef<CngxStepLabelContext> | null {\n return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;\n }\n\n contentTemplateFor(id: string): TemplateRef<CngxStepContentContext> | null {\n return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;\n }\n\n /**\n * Build the {@link CngxStepLabelContext} for `*cngxStepLabel`.\n * `index` is 1-based (mirrors indicator position); group nodes\n * (`flatIndex === -1`) yield `0` and are never iterated here.\n */\n protected stepLabelContextFor(node: CngxStepNode): CngxStepLabelContext {\n return {\n node,\n index: node.flatIndex + 1,\n active: this.isActive(node),\n busy: this.isStepBusy(node),\n disabled: node.disabled(),\n };\n }\n\n /**\n * Build the {@link CngxStepContentContext} for `*cngxStepContent`.\n * Same shape as the label context — content templates need the same\n * `disabled`/`busy` derivations.\n */\n protected stepContentContextFor(node: CngxStepNode): CngxStepContentContext {\n return this.stepLabelContextFor(node);\n }\n}\n","@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n","/**\n * @module @cngx/ui/stepper\n *\n * Level-4 organism — CNGX-standard `<cngx-stepper>` skin over the\n * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.\n * Composes presenter + roving tabindex + focus restore + live\n * region via `hostDirectives`. Material consumers reach for\n * `@cngx/ui/mat-stepper` instead.\n */\n\nexport { CngxStepper } from './stepper.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAoDA;;;;;;AAMG;MAoCU,WAAW,CAAA;IACb,SAAS,GAAG,KAAK,CAAqB,SAAS,iFAAI,KAAK,EAAE,Y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