valtech-components 4.0.1014 → 4.0.1015
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/esm2022/lib/components/organisms/field-schema-editor/field-schema-editor.component.mjs +11 -7
- package/esm2022/lib/components/organisms/field-schema-editor/types.mjs +1 -1
- package/esm2022/lib/components/organisms/survey-builder/survey-builder.component.mjs +60 -16
- package/esm2022/lib/components/organisms/survey-builder/survey-builder.i18n.mjs +7 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +76 -22
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/field-schema-editor/types.d.ts +2 -0
- package/lib/components/organisms/survey-builder/survey-builder.component.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
interface SurveyQuestionSection {
|
|
9
9
|
id: string;
|
|
10
10
|
label: string;
|
|
11
|
+
subtitle: string;
|
|
11
12
|
rows: EditableFieldDef[];
|
|
12
13
|
}
|
|
13
14
|
interface WizardStep {
|
|
@@ -59,13 +60,17 @@ export declare class SurveyBuilderComponent implements OnInit {
|
|
|
59
60
|
readonly validationError: import("@angular/core").WritableSignal<string>;
|
|
60
61
|
readonly saving: import("@angular/core").WritableSignal<boolean>;
|
|
61
62
|
readonly uploadingImage: import("@angular/core").WritableSignal<"" | "success" | "header">;
|
|
63
|
+
readonly sectionIds: import("@angular/core").WritableSignal<string[]>;
|
|
64
|
+
readonly sectionNames: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
62
65
|
readonly sectionSubtitles: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
66
|
+
private readonly sectionNameControls;
|
|
63
67
|
private readonly sectionSubtitleControls;
|
|
64
68
|
readonly questionGroups: import("@angular/core").Signal<SurveyQuestionSection[]>;
|
|
65
69
|
readonly wizardSteps: import("@angular/core").Signal<WizardStep[]>;
|
|
66
70
|
private groupQuestions;
|
|
67
71
|
private normalizeSectionId;
|
|
68
72
|
private questionGroupById;
|
|
73
|
+
sectionNameControl(sectionId: string): FormControl;
|
|
69
74
|
sectionSubtitleControl(sectionId: string): FormControl;
|
|
70
75
|
private readonly allowedImageTypes;
|
|
71
76
|
private readonly maxImageBytes;
|
package/lib/version.d.ts
CHANGED