project-booster-vue 9.64.0 → 9.64.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.64.0",
3
+ "version": "9.64.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -126,9 +126,11 @@
126
126
  <m-notification class="pb-question__notifications" :type="notification.type" v-if="notification">
127
127
  <template #default>
128
128
  <strong style="font-size: 16px; line-height: 20px">{{ notification.title }}</strong>
129
- <p style="font-size: 16px; line-height: 20px; margin-bottom: 0" v-if="notification.content">
130
- {{ notification.content }}
131
- </p>
129
+ <p
130
+ style="font-size: 16px; line-height: 20px; margin-bottom: 0"
131
+ v-if="notification.content"
132
+ v-html="notification.content"
133
+ ></p>
132
134
  <m-link
133
135
  style="margin-top: 15px"
134
136
  v-if="notification?.modal"
@@ -137,12 +139,12 @@
137
139
  ></m-link>
138
140
  </template>
139
141
  </m-notification>
140
- <div class="pb-question__redirect-link" v-if="notification">
142
+ <div class="pb-question__redirect-link" v-if="!!notification?.buttonText">
141
143
  <m-button
142
144
  width="full"
143
145
  width-from-xxl="full"
144
146
  width-from-l="full"
145
- @click.prevent="handleGoTo(notification?.buttonStepCode)"
147
+ :href="notification.buttonHref"
146
148
  :label="notification.buttonText"
147
149
  />
148
150
  </div>
@@ -283,7 +285,12 @@
283
285
  v-if="helpDialog"
284
286
  >
285
287
  <template #default>
286
- <h4>{{ helpDialog?.viewModelDialog.subTitle }}</h4>
288
+ <h4 v-if="!!helpDialog?.viewModelDialog?.subTitle">{{ helpDialog?.viewModelDialog?.subTitle }}</h4>
289
+ <div
290
+ class="pb-question__dialog-help__body"
291
+ v-if="!!helpDialog?.viewModelDialog?.htmlContent"
292
+ v-html="helpDialog.viewModelDialog.htmlContent"
293
+ ></div>
287
294
  <div
288
295
  :style="`background-image: url(${helpDialog.viewModelDialog.imgUrl});`"
289
296
  class="pb-question__dialog-help__body__image"
@@ -96,6 +96,7 @@ export interface ScenarioStepDialog {
96
96
  viewModelDialog: {
97
97
  headerTitle: string;
98
98
  subTitle: string;
99
+ htmlContent: string;
99
100
  imgUrl?: string;
100
101
  linkText?: string;
101
102
  hrefLink?: string;