valtech-components 4.0.1017 → 4.0.1018
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/survey-builder/survey-builder.component.mjs +14 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +14 -1
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/atoms/text/text.component.d.ts +1 -1
- package/lib/components/atoms/user-avatar/user-avatar.component.d.ts +1 -1
- package/lib/components/molecules/features-list/features-list.component.d.ts +2 -2
- package/lib/components/molecules/load-more/load-more.component.d.ts +1 -1
- package/lib/components/molecules/operation-reference/operation-reference.component.d.ts +1 -1
- package/lib/components/molecules/phone-display/phone-display.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +6 -6
- package/lib/components/organisms/survey-builder/survey-builder.component.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -70,7 +70,7 @@ import fixWebmDuration from 'fix-webm-duration';
|
|
|
70
70
|
* Current version of valtech-components.
|
|
71
71
|
* This is automatically updated during the publish process.
|
|
72
72
|
*/
|
|
73
|
-
const VERSION = '4.0.
|
|
73
|
+
const VERSION = '4.0.1018';
|
|
74
74
|
|
|
75
75
|
function evaluateValtechAccess(rule, context, features = {}, visitedFeatures = new Set()) {
|
|
76
76
|
if (rule == null)
|
|
@@ -42049,6 +42049,19 @@ class SurveyBuilderComponent {
|
|
|
42049
42049
|
withResolvedSection(field) {
|
|
42050
42050
|
const label = (field.sectionLabel ?? '').trim();
|
|
42051
42051
|
const id = this.normalizeSectionId(field.sectionId);
|
|
42052
|
+
if (this.isWizard()) {
|
|
42053
|
+
const sectionLabel = label || this.sectionNameControl(id).value.trim() || this.sectionNames()[id] || '';
|
|
42054
|
+
const sectionSubtitle = (field.sectionSubtitle ?? '').trim() ||
|
|
42055
|
+
this.sectionSubtitleControl(id).value.trim() ||
|
|
42056
|
+
this.sectionSubtitles()[id] ||
|
|
42057
|
+
'';
|
|
42058
|
+
return {
|
|
42059
|
+
...field,
|
|
42060
|
+
sectionId: id,
|
|
42061
|
+
sectionLabel: sectionLabel || undefined,
|
|
42062
|
+
sectionSubtitle: sectionSubtitle || undefined,
|
|
42063
|
+
};
|
|
42064
|
+
}
|
|
42052
42065
|
if (!this.isWizard() && id === '__default__' && label) {
|
|
42053
42066
|
return { ...field, sectionId: this.formBuilder.toToken(label), sectionLabel: label };
|
|
42054
42067
|
}
|