valtech-components 4.0.1015 → 4.0.1016

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.
@@ -63,6 +63,7 @@ export declare class SurveyBuilderComponent implements OnInit {
63
63
  readonly sectionIds: import("@angular/core").WritableSignal<string[]>;
64
64
  readonly sectionNames: import("@angular/core").WritableSignal<Record<string, string>>;
65
65
  readonly sectionSubtitles: import("@angular/core").WritableSignal<Record<string, string>>;
66
+ readonly activeSectionId: import("@angular/core").WritableSignal<string>;
66
67
  private readonly sectionNameControls;
67
68
  private readonly sectionSubtitleControls;
68
69
  readonly questionGroups: import("@angular/core").Signal<SurveyQuestionSection[]>;
@@ -89,13 +90,14 @@ export declare class SurveyBuilderComponent implements OnInit {
89
90
  saveProps(): ButtonMetadata;
90
91
  closeStep(): number;
91
92
  reviewStep(): number;
92
- sectionStepIndex(sectionIndex: number): number;
93
- showCurrentSectionQuestionStep(): boolean;
93
+ currentSectionId(): string | undefined;
94
+ selectSection(sectionId: string): void;
94
95
  interpolate(template: string, values: Record<string, string | number>): string;
95
96
  editorProps(row: EditableFieldDef): FieldSchemaEditorMetadata;
96
97
  iconAction(token: string, icon: string, label: string, disabled?: boolean, color?: Color): ButtonMetadata;
97
98
  addQuestionAriaLabel(sectionLabel?: string): string;
98
99
  addQuestion(sectionId?: string): void;
100
+ addSection(): void;
99
101
  rowGlobalIndex(sectionId: string, groupRowIndex: number): number;
100
102
  nextQuestionIndexForSection(rows: EditableFieldDef[], sectionId: string): number;
101
103
  toggleEdit(row: EditableFieldDef): void;
@@ -122,6 +124,8 @@ export declare class SurveyBuilderComponent implements OnInit {
122
124
  private defaultSuccessTitle;
123
125
  private defaultSuccessMessage;
124
126
  private validateWizardStep;
127
+ private validateBeforeSave;
128
+ private validateRows;
125
129
  private rowFromField;
126
130
  reviewQuestionsCount(): string;
127
131
  previewProps(): ButtonMetadata;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.1015";
5
+ export declare const VERSION = "4.0.1016";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1015",
3
+ "version": "4.0.1016",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"