@acorex/platform 21.0.0-next.67 → 21.0.0-next.70

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.
@@ -17206,10 +17206,11 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17206
17206
  }
17207
17207
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPStepWizardWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
17208
17208
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXPStepWizardWidgetViewComponent, isStandalone: true, selector: "axp-step-wizard-widget-view", viewQueries: [{ propertyName: "wizard", first: true, predicate: ["wizard"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
17209
- <div class="ax-w-full ax-p-4">
17209
+ <div class="ax-w-full">
17210
17210
  <ax-step-wizard class="ax-mb-4" [content]="wizardContent" #wizard [look]="definition().look || 'circular'">
17211
- @for (step of steps(); track step.id) {
17211
+ @for (step of steps(); track step.id; let stepIndex = $index) {
17212
17212
  <ax-step-wizard-item
17213
+ [step]="stepIndex + 1"
17213
17214
  [label]="(step.title | translate | async) ?? step.title"
17214
17215
  [description]="step.description ? ((step.description | translate | async) ?? step.description) : ''"
17215
17216
  [id]="step.id"
@@ -17221,7 +17222,6 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17221
17222
  <ng-container
17222
17223
  axp-widget-renderer
17223
17224
  [node]="step.content"
17224
- [index]="index"
17225
17225
  [parentNode]="this"
17226
17226
  [mode]="this.mode"
17227
17227
  >
@@ -17236,7 +17236,7 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17236
17236
  <ax-button
17237
17237
  look="outline"
17238
17238
  [color]="definition().actions?.previous?.color ?? 'primary'"
17239
- [text]="((definition().actions?.previous?.title ?? 'Previous') | translate | async) ?? 'Previous'"
17239
+ [text]="(definition().actions?.previous?.title ?? 'Previous' | translate | async) ?? 'Previous'"
17240
17240
  [disabled]="wizard.isFirst()"
17241
17241
  (onClick)="handlePrevious(wizard)"
17242
17242
  >
@@ -17263,7 +17263,7 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17263
17263
  @if (!wizard.isLast()) {
17264
17264
  <ax-button
17265
17265
  [color]="definition().actions?.next?.color ?? 'primary'"
17266
- [text]="((definition().actions?.next?.title ?? 'Next') | translate | async) ?? 'Next'"
17266
+ [text]="(definition().actions?.next?.title ?? 'Next' | translate | async) ?? 'Next'"
17267
17267
  (onClick)="handleNext(wizard)"
17268
17268
  >
17269
17269
  @if (definition().actions?.next?.icon) {
@@ -17273,7 +17273,7 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17273
17273
  } @else {
17274
17274
  <ax-button
17275
17275
  [color]="definition().actions?.submit?.color ?? 'success'"
17276
- [text]="((definition().actions?.submit?.title ?? 'Finish') | translate | async) ?? 'Finish'"
17276
+ [text]="(definition().actions?.submit?.title ?? 'Finish' | translate | async) ?? 'Finish'"
17277
17277
  (onClick)="handleSubmit(wizard)"
17278
17278
  >
17279
17279
  @if (definition().actions?.submit?.icon) {
@@ -17290,10 +17290,11 @@ class AXPStepWizardWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
17290
17290
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPStepWizardWidgetViewComponent, decorators: [{
17291
17291
  type: Component,
17292
17292
  args: [{ selector: 'axp-step-wizard-widget-view', template: `
17293
- <div class="ax-w-full ax-p-4">
17293
+ <div class="ax-w-full">
17294
17294
  <ax-step-wizard class="ax-mb-4" [content]="wizardContent" #wizard [look]="definition().look || 'circular'">
17295
- @for (step of steps(); track step.id) {
17295
+ @for (step of steps(); track step.id; let stepIndex = $index) {
17296
17296
  <ax-step-wizard-item
17297
+ [step]="stepIndex + 1"
17297
17298
  [label]="(step.title | translate | async) ?? step.title"
17298
17299
  [description]="step.description ? ((step.description | translate | async) ?? step.description) : ''"
17299
17300
  [id]="step.id"
@@ -17305,7 +17306,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
17305
17306
  <ng-container
17306
17307
  axp-widget-renderer
17307
17308
  [node]="step.content"
17308
- [index]="index"
17309
17309
  [parentNode]="this"
17310
17310
  [mode]="this.mode"
17311
17311
  >
@@ -17320,7 +17320,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
17320
17320
  <ax-button
17321
17321
  look="outline"
17322
17322
  [color]="definition().actions?.previous?.color ?? 'primary'"
17323
- [text]="((definition().actions?.previous?.title ?? 'Previous') | translate | async) ?? 'Previous'"
17323
+ [text]="(definition().actions?.previous?.title ?? 'Previous' | translate | async) ?? 'Previous'"
17324
17324
  [disabled]="wizard.isFirst()"
17325
17325
  (onClick)="handlePrevious(wizard)"
17326
17326
  >
@@ -17347,7 +17347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
17347
17347
  @if (!wizard.isLast()) {
17348
17348
  <ax-button
17349
17349
  [color]="definition().actions?.next?.color ?? 'primary'"
17350
- [text]="((definition().actions?.next?.title ?? 'Next') | translate | async) ?? 'Next'"
17350
+ [text]="(definition().actions?.next?.title ?? 'Next' | translate | async) ?? 'Next'"
17351
17351
  (onClick)="handleNext(wizard)"
17352
17352
  >
17353
17353
  @if (definition().actions?.next?.icon) {
@@ -17357,7 +17357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
17357
17357
  } @else {
17358
17358
  <ax-button
17359
17359
  [color]="definition().actions?.submit?.color ?? 'success'"
17360
- [text]="((definition().actions?.submit?.title ?? 'Finish') | translate | async) ?? 'Finish'"
17360
+ [text]="(definition().actions?.submit?.title ?? 'Finish' | translate | async) ?? 'Finish'"
17361
17361
  (onClick)="handleSubmit(wizard)"
17362
17362
  >
17363
17363
  @if (definition().actions?.submit?.icon) {