@wirekyt/angular 0.0.34 → 1.0.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.
Files changed (98) hide show
  1. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs +0 -5
  2. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs.map +1 -1
  3. package/dist/fesm2022/wirekyt-angular-listbox.mjs +627 -0
  4. package/dist/fesm2022/wirekyt-angular-listbox.mjs.map +1 -0
  5. package/dist/fesm2022/wirekyt-angular-menu.mjs +0 -6
  6. package/dist/fesm2022/wirekyt-angular-menu.mjs.map +1 -1
  7. package/dist/fesm2022/wirekyt-angular-number-input.mjs +467 -0
  8. package/dist/fesm2022/wirekyt-angular-number-input.mjs.map +1 -0
  9. package/dist/fesm2022/wirekyt-angular-password-input.mjs +437 -0
  10. package/dist/fesm2022/wirekyt-angular-password-input.mjs.map +1 -0
  11. package/dist/fesm2022/wirekyt-angular-pin-input.mjs +485 -0
  12. package/dist/fesm2022/wirekyt-angular-pin-input.mjs.map +1 -0
  13. package/dist/fesm2022/wirekyt-angular-progress.mjs +337 -0
  14. package/dist/fesm2022/wirekyt-angular-progress.mjs.map +1 -0
  15. package/dist/fesm2022/wirekyt-angular-qr-code.mjs +0 -11
  16. package/dist/fesm2022/wirekyt-angular-qr-code.mjs.map +1 -1
  17. package/dist/fesm2022/wirekyt-angular-radio-group.mjs +461 -0
  18. package/dist/fesm2022/wirekyt-angular-radio-group.mjs.map +1 -0
  19. package/dist/fesm2022/wirekyt-angular-rating-group.mjs +435 -0
  20. package/dist/fesm2022/wirekyt-angular-rating-group.mjs.map +1 -0
  21. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs +276 -0
  22. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs.map +1 -0
  23. package/dist/fesm2022/wirekyt-angular-segment-group.mjs +506 -0
  24. package/dist/fesm2022/wirekyt-angular-segment-group.mjs.map +1 -0
  25. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs +382 -0
  26. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs.map +1 -0
  27. package/dist/fesm2022/wirekyt-angular-slider.mjs +574 -0
  28. package/dist/fesm2022/wirekyt-angular-slider.mjs.map +1 -0
  29. package/dist/fesm2022/wirekyt-angular-splitter.mjs +303 -0
  30. package/dist/fesm2022/wirekyt-angular-splitter.mjs.map +1 -0
  31. package/dist/fesm2022/wirekyt-angular-steps.mjs +465 -0
  32. package/dist/fesm2022/wirekyt-angular-steps.mjs.map +1 -0
  33. package/dist/fesm2022/wirekyt-angular-swap.mjs +192 -0
  34. package/dist/fesm2022/wirekyt-angular-swap.mjs.map +1 -0
  35. package/dist/fesm2022/wirekyt-angular-switch.mjs +340 -0
  36. package/dist/fesm2022/wirekyt-angular-switch.mjs.map +1 -0
  37. package/dist/fesm2022/wirekyt-angular-tags-input.mjs +645 -0
  38. package/dist/fesm2022/wirekyt-angular-tags-input.mjs.map +1 -0
  39. package/dist/fesm2022/wirekyt-angular-timer.mjs +294 -0
  40. package/dist/fesm2022/wirekyt-angular-timer.mjs.map +1 -0
  41. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs +194 -0
  42. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs.map +1 -0
  43. package/dist/fesm2022/wirekyt-angular-toggle.mjs +170 -0
  44. package/dist/fesm2022/wirekyt-angular-toggle.mjs.map +1 -0
  45. package/dist/fesm2022/wirekyt-angular-tour.mjs +806 -0
  46. package/dist/fesm2022/wirekyt-angular-tour.mjs.map +1 -0
  47. package/dist/package.json +81 -1
  48. package/dist/types/wirekyt-angular-checkbox.d.ts +1 -1
  49. package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
  50. package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
  51. package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
  52. package/dist/types/wirekyt-angular-json-tree-view.d.ts +0 -5
  53. package/dist/types/wirekyt-angular-json-tree-view.d.ts.map +1 -1
  54. package/dist/types/wirekyt-angular-listbox.d.ts +206 -0
  55. package/dist/types/wirekyt-angular-listbox.d.ts.map +1 -0
  56. package/dist/types/wirekyt-angular-menu.d.ts +0 -23
  57. package/dist/types/wirekyt-angular-menu.d.ts.map +1 -1
  58. package/dist/types/wirekyt-angular-number-input.d.ts +143 -0
  59. package/dist/types/wirekyt-angular-number-input.d.ts.map +1 -0
  60. package/dist/types/wirekyt-angular-password-input.d.ts +124 -0
  61. package/dist/types/wirekyt-angular-password-input.d.ts.map +1 -0
  62. package/dist/types/wirekyt-angular-pin-input.d.ts +131 -0
  63. package/dist/types/wirekyt-angular-pin-input.d.ts.map +1 -0
  64. package/dist/types/wirekyt-angular-progress.d.ts +129 -0
  65. package/dist/types/wirekyt-angular-progress.d.ts.map +1 -0
  66. package/dist/types/wirekyt-angular-qr-code.d.ts +0 -11
  67. package/dist/types/wirekyt-angular-qr-code.d.ts.map +1 -1
  68. package/dist/types/wirekyt-angular-radio-group.d.ts +149 -0
  69. package/dist/types/wirekyt-angular-radio-group.d.ts.map +1 -0
  70. package/dist/types/wirekyt-angular-rating-group.d.ts +136 -0
  71. package/dist/types/wirekyt-angular-rating-group.d.ts.map +1 -0
  72. package/dist/types/wirekyt-angular-scroll-area.d.ts +106 -0
  73. package/dist/types/wirekyt-angular-scroll-area.d.ts.map +1 -0
  74. package/dist/types/wirekyt-angular-segment-group.d.ts +152 -0
  75. package/dist/types/wirekyt-angular-segment-group.d.ts.map +1 -0
  76. package/dist/types/wirekyt-angular-signature-pad.d.ts +120 -0
  77. package/dist/types/wirekyt-angular-signature-pad.d.ts.map +1 -0
  78. package/dist/types/wirekyt-angular-slider.d.ts +176 -0
  79. package/dist/types/wirekyt-angular-slider.d.ts.map +1 -0
  80. package/dist/types/wirekyt-angular-splitter.d.ts +116 -0
  81. package/dist/types/wirekyt-angular-splitter.d.ts.map +1 -0
  82. package/dist/types/wirekyt-angular-steps.d.ts +160 -0
  83. package/dist/types/wirekyt-angular-steps.d.ts.map +1 -0
  84. package/dist/types/wirekyt-angular-swap.d.ts +86 -0
  85. package/dist/types/wirekyt-angular-swap.d.ts.map +1 -0
  86. package/dist/types/wirekyt-angular-switch.d.ts +110 -0
  87. package/dist/types/wirekyt-angular-switch.d.ts.map +1 -0
  88. package/dist/types/wirekyt-angular-tags-input.d.ts +193 -0
  89. package/dist/types/wirekyt-angular-tags-input.d.ts.map +1 -0
  90. package/dist/types/wirekyt-angular-timer.d.ts +109 -0
  91. package/dist/types/wirekyt-angular-timer.d.ts.map +1 -0
  92. package/dist/types/wirekyt-angular-toggle-group.d.ts +81 -0
  93. package/dist/types/wirekyt-angular-toggle-group.d.ts.map +1 -0
  94. package/dist/types/wirekyt-angular-toggle.d.ts +69 -0
  95. package/dist/types/wirekyt-angular-toggle.d.ts.map +1 -0
  96. package/dist/types/wirekyt-angular-tour.d.ts +209 -0
  97. package/dist/types/wirekyt-angular-tour.d.ts.map +1 -0
  98. package/package.json +82 -3
@@ -0,0 +1,465 @@
1
+ import * as steps from '@wirekyt/dom/machines/steps';
2
+ export { anatomy as stepsAnatomy } from '@wirekyt/dom/machines/steps';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, inject, input, model, booleanAttribute, output, DestroyRef, Renderer2, ElementRef, forwardRef, Directive, computed, TemplateRef, ViewContainerRef, effect } from '@angular/core';
5
+ import { injectLocale, injectEnvironment, createId, useMachine, bindProps } from '@wirekyt/angular';
6
+
7
+ const STEPS_CONTEXT = new InjectionToken("WIREKYT.STEPS_CONTEXT");
8
+ function injectStepsContext() {
9
+ return inject(STEPS_CONTEXT);
10
+ }
11
+
12
+ const STEPS_ITEM_CONTEXT = new InjectionToken("WIREKYT.STEPS_ITEM_CONTEXT");
13
+ const STEPS_ITEM_PROPS_CONTEXT = new InjectionToken("WIREKYT.STEPS_ITEM_PROPS_CONTEXT");
14
+ function injectStepsItemContext() {
15
+ return inject(STEPS_ITEM_CONTEXT);
16
+ }
17
+ function injectStepsItemPropsContext() {
18
+ return inject(STEPS_ITEM_PROPS_CONTEXT);
19
+ }
20
+
21
+ function useSteps(options = { context: () => ({}) }) {
22
+ const locale = injectLocale();
23
+ const environment = injectEnvironment();
24
+ const fallbackId = createId();
25
+ return useMachine({
26
+ machine: steps.machine,
27
+ context: () => {
28
+ const props = options.context();
29
+ return {
30
+ ...props,
31
+ dir: locale.dir,
32
+ getRootNode: environment.getRootNode,
33
+ id: props.id ?? fallbackId,
34
+ };
35
+ },
36
+ connect: (service, normalize) => steps.connect(service, normalize),
37
+ });
38
+ }
39
+
40
+ class StepsRoot {
41
+ id = input(undefined, /* @ts-ignore */
42
+ ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
43
+ ids = input(undefined, /* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "ids" }] : /* istanbul ignore next */ []));
45
+ step = model(undefined, /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
47
+ defaultStep = input(undefined, /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "defaultStep" }] : /* istanbul ignore next */ []));
49
+ count = input(undefined, /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []));
51
+ linear = input(false, { ...(ngDevMode ? { debugName: "linear" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
52
+ orientation = input(undefined, /* @ts-ignore */
53
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
54
+ isStepValid = input(undefined, /* @ts-ignore */
55
+ ...(ngDevMode ? [{ debugName: "isStepValid" }] : /* istanbul ignore next */ []));
56
+ isStepSkippable = input(undefined, /* @ts-ignore */
57
+ ...(ngDevMode ? [{ debugName: "isStepSkippable" }] : /* istanbul ignore next */ []));
58
+ stepDetailsChange = output();
59
+ stepComplete = output();
60
+ stepInvalid = output();
61
+ machine = useSteps({
62
+ context: () => ({
63
+ id: this.id(),
64
+ ids: this.ids(),
65
+ step: this.step(),
66
+ defaultStep: this.defaultStep(),
67
+ count: this.count(),
68
+ linear: this.linear(),
69
+ orientation: this.orientation(),
70
+ isStepValid: this.isStepValid(),
71
+ isStepSkippable: this.isStepSkippable(),
72
+ onStepChange: (details) => {
73
+ const currentStep = this.step();
74
+ if (currentStep !== details.step) {
75
+ this.step.set(details.step);
76
+ }
77
+ this.stepDetailsChange.emit(details);
78
+ },
79
+ onStepComplete: () => {
80
+ this.stepComplete.emit();
81
+ },
82
+ onStepInvalid: (details) => {
83
+ this.stepInvalid.emit(details);
84
+ },
85
+ }),
86
+ });
87
+ state = this.machine.state;
88
+ api = this.machine.api;
89
+ service = this.machine.service;
90
+ send = this.machine.send;
91
+ constructor() {
92
+ bindProps({
93
+ elementRef: inject(ElementRef),
94
+ renderer: inject(Renderer2),
95
+ destroyRef: inject(DestroyRef),
96
+ props: () => this.api().getRootProps(),
97
+ });
98
+ }
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsRoot, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: StepsRoot, isStandalone: true, selector: "[steps-root]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ids: { classPropertyName: "ids", publicName: "ids", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, defaultStep: { classPropertyName: "defaultStep", publicName: "defaultStep", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, isStepValid: { classPropertyName: "isStepValid", publicName: "isStepValid", isSignal: true, isRequired: false, transformFunction: null }, isStepSkippable: { classPropertyName: "isStepSkippable", publicName: "isStepSkippable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { step: "stepChange", stepDetailsChange: "stepDetailsChange", stepComplete: "stepComplete", stepInvalid: "stepInvalid" }, providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRoot) }], exportAs: ["stepsRoot"], ngImport: i0 });
101
+ }
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsRoot, decorators: [{
103
+ type: Directive,
104
+ args: [{
105
+ selector: "[steps-root]",
106
+ standalone: true,
107
+ exportAs: "stepsRoot",
108
+ providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRoot) }],
109
+ }]
110
+ }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], ids: [{ type: i0.Input, args: [{ isSignal: true, alias: "ids", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }, { type: i0.Output, args: ["stepChange"] }], defaultStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultStep", required: false }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], linear: [{ type: i0.Input, args: [{ isSignal: true, alias: "linear", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], isStepValid: [{ type: i0.Input, args: [{ isSignal: true, alias: "isStepValid", required: false }] }], isStepSkippable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isStepSkippable", required: false }] }], stepDetailsChange: [{ type: i0.Output, args: ["stepDetailsChange"] }], stepComplete: [{ type: i0.Output, args: ["stepComplete"] }], stepInvalid: [{ type: i0.Output, args: ["stepInvalid"] }] } });
111
+
112
+ class StepsRootProvider {
113
+ value = input.required(/* @ts-ignore */
114
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
115
+ state = computed(() => this.value().state(), /* @ts-ignore */
116
+ ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
117
+ api = computed(() => this.value().api(), /* @ts-ignore */
118
+ ...(ngDevMode ? [{ debugName: "api" }] : /* istanbul ignore next */ []));
119
+ send = (event) => this.value().send(event);
120
+ get service() {
121
+ return this.value().service;
122
+ }
123
+ constructor() {
124
+ bindProps({
125
+ elementRef: inject(ElementRef),
126
+ renderer: inject(Renderer2),
127
+ destroyRef: inject(DestroyRef),
128
+ props: () => this.api().getRootProps(),
129
+ });
130
+ }
131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsRootProvider, deps: [], target: i0.ɵɵFactoryTarget.Directive });
132
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: StepsRootProvider, isStandalone: true, selector: "[steps-root-provider]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRootProvider) }], exportAs: ["stepsRootProvider"], ngImport: i0 });
133
+ }
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsRootProvider, decorators: [{
135
+ type: Directive,
136
+ args: [{
137
+ selector: "[steps-root-provider]",
138
+ standalone: true,
139
+ exportAs: "stepsRootProvider",
140
+ providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRootProvider) }],
141
+ }]
142
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
143
+
144
+ class StepsList {
145
+ constructor() {
146
+ const context = injectStepsContext();
147
+ bindProps({
148
+ elementRef: inject(ElementRef),
149
+ renderer: inject(Renderer2),
150
+ destroyRef: inject(DestroyRef),
151
+ props: () => context.api().getListProps(),
152
+ });
153
+ }
154
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsList, deps: [], target: i0.ɵɵFactoryTarget.Directive });
155
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsList, isStandalone: true, selector: "[steps-list]", exportAs: ["stepsList"], ngImport: i0 });
156
+ }
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsList, decorators: [{
158
+ type: Directive,
159
+ args: [{
160
+ selector: "[steps-list]",
161
+ standalone: true,
162
+ exportAs: "stepsList",
163
+ }]
164
+ }], ctorParameters: () => [] });
165
+
166
+ class StepsItem {
167
+ index = input.required(/* @ts-ignore */
168
+ ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
169
+ steps = injectStepsContext();
170
+ itemProps = computed(() => ({ index: this.index() }), /* @ts-ignore */
171
+ ...(ngDevMode ? [{ debugName: "itemProps" }] : /* istanbul ignore next */ []));
172
+ itemState = computed(() => this.steps.api().getItemState(this.itemProps()), /* @ts-ignore */
173
+ ...(ngDevMode ? [{ debugName: "itemState" }] : /* istanbul ignore next */ []));
174
+ constructor() {
175
+ bindProps({
176
+ elementRef: inject(ElementRef),
177
+ renderer: inject(Renderer2),
178
+ destroyRef: inject(DestroyRef),
179
+ props: () => this.steps.api().getItemProps(this.itemProps()),
180
+ });
181
+ }
182
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
183
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: StepsItem, isStandalone: true, selector: "[steps-item]", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
184
+ {
185
+ provide: STEPS_ITEM_PROPS_CONTEXT,
186
+ useFactory: (item) => item.itemProps,
187
+ deps: [forwardRef(() => StepsItem)],
188
+ },
189
+ {
190
+ provide: STEPS_ITEM_CONTEXT,
191
+ useFactory: (item) => item.itemState,
192
+ deps: [forwardRef(() => StepsItem)],
193
+ },
194
+ ], exportAs: ["stepsItem"], ngImport: i0 });
195
+ }
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsItem, decorators: [{
197
+ type: Directive,
198
+ args: [{
199
+ selector: "[steps-item]",
200
+ standalone: true,
201
+ exportAs: "stepsItem",
202
+ providers: [
203
+ {
204
+ provide: STEPS_ITEM_PROPS_CONTEXT,
205
+ useFactory: (item) => item.itemProps,
206
+ deps: [forwardRef(() => StepsItem)],
207
+ },
208
+ {
209
+ provide: STEPS_ITEM_CONTEXT,
210
+ useFactory: (item) => item.itemState,
211
+ deps: [forwardRef(() => StepsItem)],
212
+ },
213
+ ],
214
+ }]
215
+ }], ctorParameters: () => [], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }] } });
216
+
217
+ class StepsTrigger {
218
+ constructor() {
219
+ const context = injectStepsContext();
220
+ const itemProps = injectStepsItemPropsContext();
221
+ bindProps({
222
+ elementRef: inject(ElementRef),
223
+ renderer: inject(Renderer2),
224
+ destroyRef: inject(DestroyRef),
225
+ props: () => context.api().getTriggerProps(itemProps()),
226
+ });
227
+ }
228
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
229
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsTrigger, isStandalone: true, selector: "[steps-trigger]", exportAs: ["stepsTrigger"], ngImport: i0 });
230
+ }
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsTrigger, decorators: [{
232
+ type: Directive,
233
+ args: [{
234
+ selector: "[steps-trigger]",
235
+ standalone: true,
236
+ exportAs: "stepsTrigger",
237
+ }]
238
+ }], ctorParameters: () => [] });
239
+
240
+ class StepsIndicator {
241
+ constructor() {
242
+ const context = injectStepsContext();
243
+ const itemProps = injectStepsItemPropsContext();
244
+ bindProps({
245
+ elementRef: inject(ElementRef),
246
+ renderer: inject(Renderer2),
247
+ destroyRef: inject(DestroyRef),
248
+ props: () => context.api().getIndicatorProps(itemProps()),
249
+ });
250
+ }
251
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsIndicator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
252
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsIndicator, isStandalone: true, selector: "[steps-indicator]", exportAs: ["stepsIndicator"], ngImport: i0 });
253
+ }
254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsIndicator, decorators: [{
255
+ type: Directive,
256
+ args: [{
257
+ selector: "[steps-indicator]",
258
+ standalone: true,
259
+ exportAs: "stepsIndicator",
260
+ }]
261
+ }], ctorParameters: () => [] });
262
+
263
+ class StepsSeparator {
264
+ constructor() {
265
+ const context = injectStepsContext();
266
+ const itemProps = injectStepsItemPropsContext();
267
+ bindProps({
268
+ elementRef: inject(ElementRef),
269
+ renderer: inject(Renderer2),
270
+ destroyRef: inject(DestroyRef),
271
+ props: () => context.api().getSeparatorProps(itemProps()),
272
+ });
273
+ }
274
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
275
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsSeparator, isStandalone: true, selector: "[steps-separator]", exportAs: ["stepsSeparator"], ngImport: i0 });
276
+ }
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsSeparator, decorators: [{
278
+ type: Directive,
279
+ args: [{
280
+ selector: "[steps-separator]",
281
+ standalone: true,
282
+ exportAs: "stepsSeparator",
283
+ }]
284
+ }], ctorParameters: () => [] });
285
+
286
+ class StepsContent {
287
+ index = input.required(/* @ts-ignore */
288
+ ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
289
+ constructor() {
290
+ const context = injectStepsContext();
291
+ bindProps({
292
+ elementRef: inject(ElementRef),
293
+ renderer: inject(Renderer2),
294
+ destroyRef: inject(DestroyRef),
295
+ props: () => context.api().getContentProps({ index: this.index() }),
296
+ });
297
+ }
298
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
299
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: StepsContent, isStandalone: true, selector: "[steps-content]", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null } }, exportAs: ["stepsContent"], ngImport: i0 });
300
+ }
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsContent, decorators: [{
302
+ type: Directive,
303
+ args: [{
304
+ selector: "[steps-content]",
305
+ standalone: true,
306
+ exportAs: "stepsContent",
307
+ }]
308
+ }], ctorParameters: () => [], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }] } });
309
+
310
+ class StepsCompletedContent {
311
+ constructor() {
312
+ const context = injectStepsContext();
313
+ bindProps({
314
+ elementRef: inject(ElementRef),
315
+ renderer: inject(Renderer2),
316
+ destroyRef: inject(DestroyRef),
317
+ props: () => context.api().getContentProps({ index: context.api().count }),
318
+ });
319
+ }
320
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsCompletedContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
321
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsCompletedContent, isStandalone: true, selector: "[steps-completed-content]", exportAs: ["stepsCompletedContent"], ngImport: i0 });
322
+ }
323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsCompletedContent, decorators: [{
324
+ type: Directive,
325
+ args: [{
326
+ selector: "[steps-completed-content]",
327
+ standalone: true,
328
+ exportAs: "stepsCompletedContent",
329
+ }]
330
+ }], ctorParameters: () => [] });
331
+
332
+ class StepsProgress {
333
+ constructor() {
334
+ const context = injectStepsContext();
335
+ bindProps({
336
+ elementRef: inject(ElementRef),
337
+ renderer: inject(Renderer2),
338
+ destroyRef: inject(DestroyRef),
339
+ props: () => context.api().getProgressProps(),
340
+ });
341
+ }
342
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsProgress, deps: [], target: i0.ɵɵFactoryTarget.Directive });
343
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsProgress, isStandalone: true, selector: "[steps-progress]", exportAs: ["stepsProgress"], ngImport: i0 });
344
+ }
345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsProgress, decorators: [{
346
+ type: Directive,
347
+ args: [{
348
+ selector: "[steps-progress]",
349
+ standalone: true,
350
+ exportAs: "stepsProgress",
351
+ }]
352
+ }], ctorParameters: () => [] });
353
+
354
+ class StepsNextTrigger {
355
+ constructor() {
356
+ const context = injectStepsContext();
357
+ bindProps({
358
+ elementRef: inject(ElementRef),
359
+ renderer: inject(Renderer2),
360
+ destroyRef: inject(DestroyRef),
361
+ props: () => context.api().getNextTriggerProps(),
362
+ });
363
+ }
364
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsNextTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
365
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsNextTrigger, isStandalone: true, selector: "[steps-next-trigger]", exportAs: ["stepsNextTrigger"], ngImport: i0 });
366
+ }
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsNextTrigger, decorators: [{
368
+ type: Directive,
369
+ args: [{
370
+ selector: "[steps-next-trigger]",
371
+ standalone: true,
372
+ exportAs: "stepsNextTrigger",
373
+ }]
374
+ }], ctorParameters: () => [] });
375
+
376
+ class StepsPrevTrigger {
377
+ constructor() {
378
+ const context = injectStepsContext();
379
+ bindProps({
380
+ elementRef: inject(ElementRef),
381
+ renderer: inject(Renderer2),
382
+ destroyRef: inject(DestroyRef),
383
+ props: () => context.api().getPrevTriggerProps(),
384
+ });
385
+ }
386
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsPrevTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
387
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsPrevTrigger, isStandalone: true, selector: "[steps-prev-trigger]", exportAs: ["stepsPrevTrigger"], ngImport: i0 });
388
+ }
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsPrevTrigger, decorators: [{
390
+ type: Directive,
391
+ args: [{
392
+ selector: "[steps-prev-trigger]",
393
+ standalone: true,
394
+ exportAs: "stepsPrevTrigger",
395
+ }]
396
+ }], ctorParameters: () => [] });
397
+
398
+ class StepsContext {
399
+ static ngTemplateContextGuard(_directive, context) {
400
+ void context;
401
+ return true;
402
+ }
403
+ steps = injectStepsContext();
404
+ templateRef = inject(TemplateRef);
405
+ viewContainer = inject(ViewContainerRef);
406
+ constructor() {
407
+ const view = this.viewContainer.createEmbeddedView(this.templateRef, {
408
+ $implicit: this.steps.api,
409
+ api: this.steps.api,
410
+ });
411
+ effect(() => {
412
+ this.steps.api();
413
+ view.detectChanges();
414
+ });
415
+ inject(DestroyRef).onDestroy(() => view.destroy());
416
+ }
417
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsContext, deps: [], target: i0.ɵɵFactoryTarget.Directive });
418
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsContext, isStandalone: true, selector: "[steps-context]", exportAs: ["stepsContext"], ngImport: i0 });
419
+ }
420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsContext, decorators: [{
421
+ type: Directive,
422
+ args: [{
423
+ selector: "[steps-context]",
424
+ standalone: true,
425
+ exportAs: "stepsContext",
426
+ }]
427
+ }], ctorParameters: () => [] });
428
+
429
+ class StepsItemContextDirective {
430
+ static ngTemplateContextGuard(_directive, context) {
431
+ void context;
432
+ return true;
433
+ }
434
+ item = injectStepsItemContext();
435
+ templateRef = inject(TemplateRef);
436
+ viewContainer = inject(ViewContainerRef);
437
+ constructor() {
438
+ const view = this.viewContainer.createEmbeddedView(this.templateRef, {
439
+ $implicit: this.item,
440
+ item: this.item,
441
+ });
442
+ effect(() => {
443
+ this.item();
444
+ view.detectChanges();
445
+ });
446
+ inject(DestroyRef).onDestroy(() => view.destroy());
447
+ }
448
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsItemContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
449
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: StepsItemContextDirective, isStandalone: true, selector: "[steps-item-context]", exportAs: ["stepsItemContext"], ngImport: i0 });
450
+ }
451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StepsItemContextDirective, decorators: [{
452
+ type: Directive,
453
+ args: [{
454
+ selector: "[steps-item-context]",
455
+ standalone: true,
456
+ exportAs: "stepsItemContext",
457
+ }]
458
+ }], ctorParameters: () => [] });
459
+
460
+ /**
461
+ * Generated bundle index. Do not edit.
462
+ */
463
+
464
+ export { STEPS_CONTEXT, STEPS_ITEM_CONTEXT, STEPS_ITEM_PROPS_CONTEXT, StepsCompletedContent, StepsContent, StepsContext, StepsIndicator, StepsItem, StepsItemContextDirective, StepsList, StepsNextTrigger, StepsPrevTrigger, StepsProgress, StepsRoot, StepsRootProvider, StepsSeparator, StepsTrigger, injectStepsContext, injectStepsItemContext, injectStepsItemPropsContext, useSteps };
465
+ //# sourceMappingURL=wirekyt-angular-steps.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-steps.mjs","sources":["../../src/components/steps/use-context.ts","../../src/components/steps/use-item-context.ts","../../src/components/steps/use.ts","../../src/components/steps/root.ts","../../src/components/steps/root-provider.ts","../../src/components/steps/list.ts","../../src/components/steps/item.ts","../../src/components/steps/trigger.ts","../../src/components/steps/indicator.ts","../../src/components/steps/separator.ts","../../src/components/steps/content.ts","../../src/components/steps/completed-content.ts","../../src/components/steps/progress.ts","../../src/components/steps/next-trigger.ts","../../src/components/steps/prev-trigger.ts","../../src/components/steps/context.ts","../../src/components/steps/item-context.ts","../../src/components/steps/wirekyt-angular-steps.ts"],"sourcesContent":["import { InjectionToken, inject } from \"@angular/core\";\n\nimport type { UseStepsReturn } from \"./use\";\n\nexport const STEPS_CONTEXT = new InjectionToken<UseStepsReturn>(\"WIREKYT.STEPS_CONTEXT\");\n\nexport function injectStepsContext(): UseStepsReturn {\n return inject(STEPS_CONTEXT);\n}\n","import { InjectionToken, type Signal, inject } from \"@angular/core\";\n\nimport type { StepsItemProps, StepsItemState } from \"./types\";\n\nexport type StepsItemContext = Signal<StepsItemState>;\nexport type StepsItemPropsContext = Signal<StepsItemProps>;\n\nexport const STEPS_ITEM_CONTEXT = new InjectionToken<StepsItemContext>(\n \"WIREKYT.STEPS_ITEM_CONTEXT\",\n);\nexport const STEPS_ITEM_PROPS_CONTEXT = new InjectionToken<StepsItemPropsContext>(\n \"WIREKYT.STEPS_ITEM_PROPS_CONTEXT\",\n);\n\nexport function injectStepsItemContext(): StepsItemContext {\n return inject(STEPS_ITEM_CONTEXT);\n}\n\nexport function injectStepsItemPropsContext(): StepsItemPropsContext {\n return inject(STEPS_ITEM_PROPS_CONTEXT);\n}\n","import type { Machine } from \"@wirekyt/dom\";\n\nimport {\n createId,\n injectEnvironment,\n injectLocale,\n useMachine,\n type UseMachineReturn,\n} from \"@wirekyt/angular\";\nimport * as steps from \"@wirekyt/dom/machines/steps\";\n\ntype OptionalId<T extends { id: string }> = Omit<T, \"id\"> & { id?: string };\n\nexport interface UseStepsProps extends OptionalId<Omit<steps.Props, \"dir\" | \"getRootNode\">> {}\n\nexport type UseStepsReturn = UseMachineReturn<steps.Service[\"state\"], steps.Api, steps.Service>;\n\nexport interface UseStepsOptions {\n context: () => UseStepsProps;\n}\n\ntype StepsContext = Record<string, unknown>;\ntype StepsSchema = steps.Machine extends Machine<infer TSchema> ? TSchema : never;\n\nexport function useSteps(options: UseStepsOptions = { context: () => ({}) }): UseStepsReturn {\n const locale = injectLocale();\n const environment = injectEnvironment();\n const fallbackId = createId();\n\n return useMachine<StepsSchema, steps.Api>({\n machine: steps.machine,\n context: () => {\n const props = options.context();\n return {\n ...props,\n dir: locale.dir,\n getRootNode: environment.getRootNode,\n id: props.id ?? fallbackId,\n } as StepsContext;\n },\n connect: (service, normalize) => steps.connect(service, normalize),\n });\n}\n","import type * as steps from \"@wirekyt/dom/machines/steps\";\n\nimport {\n DestroyRef,\n Directive,\n ElementRef,\n Renderer2,\n booleanAttribute,\n forwardRef,\n inject,\n input,\n model,\n output,\n type InputSignal,\n type InputSignalWithTransform,\n type ModelSignal,\n type OutputEmitterRef,\n type Signal,\n} from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport type { StepsElementIds, StepsStepChangeDetails, StepsStepInvalidDetails } from \"./types\";\n\nimport { useSteps, type UseStepsReturn } from \"./use\";\nimport { STEPS_CONTEXT } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-root]\",\n standalone: true,\n exportAs: \"stepsRoot\",\n providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRoot) }],\n})\nexport class StepsRoot implements UseStepsReturn {\n readonly id: InputSignal<string | undefined> = input<string | undefined>(undefined);\n readonly ids: InputSignal<StepsElementIds | undefined> = input<StepsElementIds | undefined>(\n undefined,\n );\n readonly step: ModelSignal<number | undefined> = model<number | undefined>(undefined);\n readonly defaultStep: InputSignal<number | undefined> = input<number | undefined>(undefined);\n readonly count: InputSignal<number | undefined> = input<number | undefined>(undefined);\n readonly linear: InputSignalWithTransform<boolean, unknown> = input(false, {\n transform: booleanAttribute,\n });\n readonly orientation: InputSignal<steps.Props[\"orientation\"]> =\n input<steps.Props[\"orientation\"]>(undefined);\n readonly isStepValid: InputSignal<steps.Props[\"isStepValid\"] | undefined> = input<\n steps.Props[\"isStepValid\"] | undefined\n >(undefined);\n readonly isStepSkippable: InputSignal<steps.Props[\"isStepSkippable\"] | undefined> = input<\n steps.Props[\"isStepSkippable\"] | undefined\n >(undefined);\n\n readonly stepDetailsChange: OutputEmitterRef<StepsStepChangeDetails> =\n output<StepsStepChangeDetails>();\n readonly stepComplete: OutputEmitterRef<void> = output<void>();\n readonly stepInvalid: OutputEmitterRef<StepsStepInvalidDetails> =\n output<StepsStepInvalidDetails>();\n\n private readonly machine = useSteps({\n context: () => ({\n id: this.id(),\n ids: this.ids(),\n step: this.step(),\n defaultStep: this.defaultStep(),\n count: this.count(),\n linear: this.linear(),\n orientation: this.orientation(),\n isStepValid: this.isStepValid(),\n isStepSkippable: this.isStepSkippable(),\n onStepChange: (details) => {\n const currentStep = this.step();\n if (currentStep !== details.step) {\n this.step.set(details.step);\n }\n this.stepDetailsChange.emit(details);\n },\n onStepComplete: () => {\n this.stepComplete.emit();\n },\n onStepInvalid: (details) => {\n this.stepInvalid.emit(details);\n },\n }),\n });\n\n readonly state: Signal<steps.Service[\"state\"]> = this.machine.state;\n readonly api: Signal<steps.Api> = this.machine.api;\n readonly service: steps.Service = this.machine.service;\n readonly send: steps.Service[\"send\"] = this.machine.send;\n\n constructor() {\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => this.api().getRootProps(),\n });\n }\n}\n","import type * as steps from \"@wirekyt/dom/machines/steps\";\n\nimport {\n DestroyRef,\n Directive,\n ElementRef,\n Renderer2,\n computed,\n forwardRef,\n inject,\n input,\n type InputSignal,\n type Signal,\n} from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport type { UseStepsReturn } from \"./use\";\n\nimport { STEPS_CONTEXT } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-root-provider]\",\n standalone: true,\n exportAs: \"stepsRootProvider\",\n providers: [{ provide: STEPS_CONTEXT, useExisting: forwardRef(() => StepsRootProvider) }],\n})\nexport class StepsRootProvider implements UseStepsReturn {\n readonly value: InputSignal<UseStepsReturn> = input.required<UseStepsReturn>();\n readonly state: Signal<steps.Service[\"state\"]> = computed(() => this.value().state());\n readonly api: Signal<steps.Api> = computed(() => this.value().api());\n readonly send: steps.Service[\"send\"] = (event) => this.value().send(event);\n\n get service(): steps.Service {\n return this.value().service;\n }\n\n constructor() {\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => this.api().getRootProps(),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-list]\",\n standalone: true,\n exportAs: \"stepsList\",\n})\nexport class StepsList {\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getListProps(),\n });\n }\n}\n","import type { InputSignal, Signal } from \"@angular/core\";\n\nimport {\n DestroyRef,\n Directive,\n ElementRef,\n Renderer2,\n computed,\n forwardRef,\n inject,\n input,\n} from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport type { StepsItemProps, StepsItemState } from \"./types\";\n\nimport { injectStepsContext } from \"./use-context\";\nimport { STEPS_ITEM_CONTEXT, STEPS_ITEM_PROPS_CONTEXT } from \"./use-item-context\";\n\n@Directive({\n selector: \"[steps-item]\",\n standalone: true,\n exportAs: \"stepsItem\",\n providers: [\n {\n provide: STEPS_ITEM_PROPS_CONTEXT,\n useFactory: (item: StepsItem) => item.itemProps,\n deps: [forwardRef(() => StepsItem)],\n },\n {\n provide: STEPS_ITEM_CONTEXT,\n useFactory: (item: StepsItem) => item.itemState,\n deps: [forwardRef(() => StepsItem)],\n },\n ],\n})\nexport class StepsItem {\n readonly index: InputSignal<number> = input.required<number>();\n\n private readonly steps = injectStepsContext();\n readonly itemProps: Signal<StepsItemProps> = computed(() => ({ index: this.index() }));\n readonly itemState: Signal<StepsItemState> = computed(() =>\n this.steps.api().getItemState(this.itemProps()),\n );\n\n constructor() {\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => this.steps.api().getItemProps(this.itemProps()),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\nimport { injectStepsItemPropsContext } from \"./use-item-context\";\n\n@Directive({\n selector: \"[steps-trigger]\",\n standalone: true,\n exportAs: \"stepsTrigger\",\n})\nexport class StepsTrigger {\n constructor() {\n const context = injectStepsContext();\n const itemProps = injectStepsItemPropsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getTriggerProps(itemProps()),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\nimport { injectStepsItemPropsContext } from \"./use-item-context\";\n\n@Directive({\n selector: \"[steps-indicator]\",\n standalone: true,\n exportAs: \"stepsIndicator\",\n})\nexport class StepsIndicator {\n constructor() {\n const context = injectStepsContext();\n const itemProps = injectStepsItemPropsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getIndicatorProps(itemProps()),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\nimport { injectStepsItemPropsContext } from \"./use-item-context\";\n\n@Directive({\n selector: \"[steps-separator]\",\n standalone: true,\n exportAs: \"stepsSeparator\",\n})\nexport class StepsSeparator {\n constructor() {\n const context = injectStepsContext();\n const itemProps = injectStepsItemPropsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getSeparatorProps(itemProps()),\n });\n }\n}\n","import {\n DestroyRef,\n Directive,\n ElementRef,\n Renderer2,\n inject,\n input,\n type InputSignal,\n} from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-content]\",\n standalone: true,\n exportAs: \"stepsContent\",\n})\nexport class StepsContent {\n readonly index: InputSignal<number> = input.required<number>();\n\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getContentProps({ index: this.index() }),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-completed-content]\",\n standalone: true,\n exportAs: \"stepsCompletedContent\",\n})\nexport class StepsCompletedContent {\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getContentProps({ index: context.api().count }),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-progress]\",\n standalone: true,\n exportAs: \"stepsProgress\",\n})\nexport class StepsProgress {\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getProgressProps(),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-next-trigger]\",\n standalone: true,\n exportAs: \"stepsNextTrigger\",\n})\nexport class StepsNextTrigger {\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getNextTriggerProps(),\n });\n }\n}\n","import { DestroyRef, Directive, ElementRef, Renderer2, inject } from \"@angular/core\";\nimport { bindProps } from \"@wirekyt/angular\";\n\nimport { injectStepsContext } from \"./use-context\";\n\n@Directive({\n selector: \"[steps-prev-trigger]\",\n standalone: true,\n exportAs: \"stepsPrevTrigger\",\n})\nexport class StepsPrevTrigger {\n constructor() {\n const context = injectStepsContext();\n bindProps({\n elementRef: inject(ElementRef),\n renderer: inject(Renderer2),\n destroyRef: inject(DestroyRef),\n props: () => context.api().getPrevTriggerProps(),\n });\n }\n}\n","import {\n DestroyRef,\n Directive,\n TemplateRef,\n ViewContainerRef,\n effect,\n inject,\n} from \"@angular/core\";\n\nimport type { UseStepsReturn } from \"./use\";\n\nimport { injectStepsContext } from \"./use-context\";\n\nexport interface StepsContextTemplate {\n $implicit: UseStepsReturn[\"api\"];\n api: UseStepsReturn[\"api\"];\n}\n\n@Directive({\n selector: \"[steps-context]\",\n standalone: true,\n exportAs: \"stepsContext\",\n})\nexport class StepsContext {\n static ngTemplateContextGuard(\n _directive: StepsContext,\n context: unknown,\n ): context is StepsContextTemplate {\n void context;\n return true;\n }\n\n private readonly steps = injectStepsContext();\n private readonly templateRef = inject<TemplateRef<StepsContextTemplate>>(TemplateRef);\n private readonly viewContainer = inject(ViewContainerRef);\n\n constructor() {\n const view = this.viewContainer.createEmbeddedView(this.templateRef, {\n $implicit: this.steps.api,\n api: this.steps.api,\n });\n\n effect(() => {\n this.steps.api();\n view.detectChanges();\n });\n\n inject(DestroyRef).onDestroy(() => view.destroy());\n }\n}\n","import {\n DestroyRef,\n Directive,\n TemplateRef,\n ViewContainerRef,\n effect,\n inject,\n} from \"@angular/core\";\n\nimport type { StepsItemContext as UseStepsItemContext } from \"./use-item-context\";\n\nimport { injectStepsItemContext } from \"./use-item-context\";\n\nexport interface StepsItemContextTemplate {\n $implicit: UseStepsItemContext;\n item: UseStepsItemContext;\n}\n\n@Directive({\n selector: \"[steps-item-context]\",\n standalone: true,\n exportAs: \"stepsItemContext\",\n})\nexport class StepsItemContextDirective {\n static ngTemplateContextGuard(\n _directive: StepsItemContextDirective,\n context: unknown,\n ): context is StepsItemContextTemplate {\n void context;\n return true;\n }\n\n private readonly item = injectStepsItemContext();\n private readonly templateRef = inject<TemplateRef<StepsItemContextTemplate>>(TemplateRef);\n private readonly viewContainer = inject(ViewContainerRef);\n\n constructor() {\n const view = this.viewContainer.createEmbeddedView(this.templateRef, {\n $implicit: this.item,\n item: this.item,\n });\n\n effect(() => {\n this.item();\n view.detectChanges();\n });\n\n inject(DestroyRef).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