@praxisui/stepper 3.0.0-beta.7 → 3.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/praxisui-stepper.mjs +900 -422
- package/fesm2022/praxisui-stepper.mjs.map +1 -1
- package/index.d.ts +8 -13
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, AfterViewInit, TemplateRef, EventEmitter, Provider } from '@angular/core';
|
|
3
|
+
import { FormConfig, WidgetDefinition, WidgetEventEnvelope, FormReadyEvent, FormValueChangeEvent, ComponentDocMeta, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
|
|
3
4
|
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { FormConfig, WidgetDefinition, FormReadyEvent, FormValueChangeEvent, ComponentDocMeta, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
|
|
5
5
|
import { ThemePalette } from '@angular/material/core';
|
|
6
6
|
import { BaseAiAdapter, Capability as Capability$1, PatchResult } from '@praxisui/ai';
|
|
7
7
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -133,13 +133,7 @@ declare class PraxisStepper implements OnInit, AfterViewInit {
|
|
|
133
133
|
errorMessage?: string;
|
|
134
134
|
}>;
|
|
135
135
|
selectedIndexChange: EventEmitter<number>;
|
|
136
|
-
widgetEvent: EventEmitter<
|
|
137
|
-
stepId?: string;
|
|
138
|
-
stepIndex?: number;
|
|
139
|
-
sourceId: string;
|
|
140
|
-
output?: string;
|
|
141
|
-
payload?: any;
|
|
142
|
-
}>;
|
|
136
|
+
widgetEvent: EventEmitter<WidgetEventEnvelope>;
|
|
143
137
|
stepFormReady: EventEmitter<{
|
|
144
138
|
stepIndex: number;
|
|
145
139
|
stepId?: string;
|
|
@@ -203,11 +197,7 @@ declare class PraxisStepper implements OnInit, AfterViewInit {
|
|
|
203
197
|
formGroupFor(i: number): FormGroup | undefined;
|
|
204
198
|
computedCompleted(i: number, step: StepConfig): boolean;
|
|
205
199
|
computedHasError(i: number, step: StepConfig): boolean;
|
|
206
|
-
onChildWidgetEvent(stepIndex: number, wd: WidgetDefinition, e:
|
|
207
|
-
sourceId: string;
|
|
208
|
-
output?: string;
|
|
209
|
-
payload?: any;
|
|
210
|
-
}): void;
|
|
200
|
+
onChildWidgetEvent(stepIndex: number, wd: WidgetDefinition, e: WidgetEventEnvelope): void;
|
|
211
201
|
isStepEmpty(step: StepConfig): boolean;
|
|
212
202
|
openEditor(): void;
|
|
213
203
|
applyConfigFromAdapter(next: StepperMetadata): void;
|
|
@@ -243,6 +233,7 @@ declare function providePraxisStepperMetadata(): Provider;
|
|
|
243
233
|
type WizardWidgetId = 'praxis-wizard-benefits' | 'praxis-wizard-content' | 'praxis-wizard-inline-notice' | 'praxis-wizard-divider';
|
|
244
234
|
type EditorialZone = 'before' | 'after';
|
|
245
235
|
declare class PraxisStepperConfigEditor implements SettingsValueProvider {
|
|
236
|
+
private readonly i18n;
|
|
246
237
|
config: StepperMetadata;
|
|
247
238
|
activeStepRef: StepConfig | null;
|
|
248
239
|
isDirty$: BehaviorSubject<boolean>;
|
|
@@ -253,6 +244,10 @@ declare class PraxisStepperConfigEditor implements SettingsValueProvider {
|
|
|
253
244
|
private readonly iconPicker;
|
|
254
245
|
private readonly cdr;
|
|
255
246
|
constructor(data?: any);
|
|
247
|
+
tx(key: string, fallback: string): string;
|
|
248
|
+
stepIndexLabel(index: number): string;
|
|
249
|
+
stepRemoveAria(step: StepConfig, index: number): string;
|
|
250
|
+
editingStepTitle(step: StepConfig): string;
|
|
256
251
|
markDirty(): void;
|
|
257
252
|
validate(): void;
|
|
258
253
|
get navigationCfg(): NonNullable<StepperMetadata['navigation']>;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/stepper",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.8",
|
|
4
4
|
"description": "Stepper workflows for Praxis UI with integrated forms, lists, uploads and page builder support.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
8
|
"@angular/material": "^20.0.0",
|
|
9
9
|
"@angular/cdk": "^20.0.0",
|
|
10
|
-
"@praxisui/core": "^3.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-form": "^3.0.0-beta.
|
|
12
|
-
"@praxisui/settings-panel": "^3.0.0-beta.
|
|
13
|
-
"@praxisui/list": "^3.0.0-beta.
|
|
14
|
-
"@praxisui/files-upload": "^3.0.0-beta.
|
|
15
|
-
"@praxisui/page-builder": "^3.0.0-beta.
|
|
10
|
+
"@praxisui/core": "^3.0.0-beta.8",
|
|
11
|
+
"@praxisui/dynamic-form": "^3.0.0-beta.8",
|
|
12
|
+
"@praxisui/settings-panel": "^3.0.0-beta.8",
|
|
13
|
+
"@praxisui/list": "^3.0.0-beta.8",
|
|
14
|
+
"@praxisui/files-upload": "^3.0.0-beta.8",
|
|
15
|
+
"@praxisui/page-builder": "^3.0.0-beta.8"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tslib": "^2.3.0"
|