survey-vue3-ui 1.11.12 → 1.11.14
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 +2 -2
- package/survey-vue3-ui.es.js +445 -440
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as
|
|
1
|
+
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as I, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as h, createCommentVNode as m, Fragment as D, renderList as L, createBlock as q, resolveDynamicComponent as R, normalizeProps as z, mergeProps as H, withCtx as V, normalizeStyle as S, createElementVNode as v, onUnmounted as O, guardReactiveProps as te, withDirectives as N, vShow as E, toDisplayString as T, vModelRadio as ee, vModelCheckbox as ie, vModelSelect as we, vModelText as Ie, getCurrentInstance as ve, createStaticVNode as Se, resolveDirective as X, toRaw as Re, Teleport as Te, useSlots as $e, renderSlot as De } from "vue";
|
|
2
2
|
import { Base as _e, RendererFactory as se, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ae, ActionDropdownViewModel as Ne, getActionDropdownButtonTarget as Pe, createPopupViewModel as Me, SurveyProgressModel as ae, ProgressButtonsResponsivityManager as He, PopupSurveyModel as Ee, settings as Q, createDialogOptions as We, createPopupModalViewModel as Fe, ButtonGroupItemModel as Ve, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
_e.createPropertiesHash = () => be({});
|
|
4
4
|
function Qe(r) {
|
|
@@ -87,7 +87,7 @@ const je = /* @__PURE__ */ g({
|
|
|
87
87
|
setup(r) {
|
|
88
88
|
const s = r, n = $(null), e = () => {
|
|
89
89
|
s.survey && n.value && s.survey.afterRenderPage(n.value);
|
|
90
|
-
}, t =
|
|
90
|
+
}, t = I(() => s.page._showDescription);
|
|
91
91
|
return B(
|
|
92
92
|
() => s.page,
|
|
93
93
|
() => {
|
|
@@ -96,7 +96,7 @@ const je = /* @__PURE__ */ g({
|
|
|
96
96
|
), M(() => {
|
|
97
97
|
e();
|
|
98
98
|
}), (o, a) => {
|
|
99
|
-
const c = y("survey-element-title"),
|
|
99
|
+
const c = y("survey-element-title"), p = y("survey-string"), d = y("survey-errors"), C = y("survey-row");
|
|
100
100
|
return i(), u("div", {
|
|
101
101
|
class: l(o.page.cssRoot),
|
|
102
102
|
ref_key: "root",
|
|
@@ -110,7 +110,7 @@ const je = /* @__PURE__ */ g({
|
|
|
110
110
|
key: 0,
|
|
111
111
|
class: l(o.page.cssClasses.page.description)
|
|
112
112
|
}, [
|
|
113
|
-
h(
|
|
113
|
+
h(p, {
|
|
114
114
|
locString: o.page.locDescription
|
|
115
115
|
}, null, 8, ["locString"])
|
|
116
116
|
], 2)) : m("", !0),
|
|
@@ -157,7 +157,7 @@ const je = /* @__PURE__ */ g({
|
|
|
157
157
|
e.survey.renderedHasTitle ? (i(), u("div", {
|
|
158
158
|
key: 1,
|
|
159
159
|
class: l(e.survey.css.headerText),
|
|
160
|
-
style:
|
|
160
|
+
style: S({ maxWidth: e.survey.titleMaxWidth })
|
|
161
161
|
}, [
|
|
162
162
|
h(o, {
|
|
163
163
|
element: e.survey,
|
|
@@ -176,7 +176,7 @@ const je = /* @__PURE__ */ g({
|
|
|
176
176
|
key: 2,
|
|
177
177
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
178
178
|
}, null, 8, ["data"])) : m("", !0),
|
|
179
|
-
|
|
179
|
+
v("div", {
|
|
180
180
|
class: l(e.survey.css.headerClose)
|
|
181
181
|
}, null, 2)
|
|
182
182
|
], 2)) : m("", !0);
|
|
@@ -233,28 +233,28 @@ const je = /* @__PURE__ */ g({
|
|
|
233
233
|
css: {}
|
|
234
234
|
},
|
|
235
235
|
setup(r) {
|
|
236
|
-
const s = r, n = $(null), e =
|
|
236
|
+
const s = r, n = $(null), e = I(() => s.element.showErrorOnTop), t = I(() => s.element.showErrorOnBottom), o = (f) => f.cssContent, a = () => s.element.getRootStyle();
|
|
237
237
|
B(() => s.element);
|
|
238
238
|
const c = () => {
|
|
239
239
|
n.value && s.element.afterRender(n.value);
|
|
240
|
-
},
|
|
240
|
+
}, p = K(
|
|
241
241
|
() => n.value,
|
|
242
242
|
() => {
|
|
243
243
|
c();
|
|
244
244
|
}
|
|
245
|
-
), d =
|
|
245
|
+
), d = I(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), C = I(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)), k = I(() => ({
|
|
246
246
|
componentData: {
|
|
247
247
|
question: s.element,
|
|
248
248
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
249
249
|
}
|
|
250
250
|
}));
|
|
251
251
|
return O(() => {
|
|
252
|
-
|
|
252
|
+
p();
|
|
253
253
|
}), (f, _) => {
|
|
254
254
|
const b = y("survey-errors"), A = y("survey-element-header"), W = y("survey-string"), F = y("survey-question-comment");
|
|
255
255
|
return i(), u("div", {
|
|
256
256
|
class: l(f.element.getRootCss()),
|
|
257
|
-
style:
|
|
257
|
+
style: S(a()),
|
|
258
258
|
ref_key: "root",
|
|
259
259
|
ref: n,
|
|
260
260
|
onFocusin: _[0] || (_[0] = (J) => f.element.focusIn()),
|
|
@@ -279,9 +279,9 @@ const je = /* @__PURE__ */ g({
|
|
|
279
279
|
}, null, 8, ["element", "css"])) : m("", !0),
|
|
280
280
|
(i(), q(R(C.value), z(te(k.value)), {
|
|
281
281
|
default: V(() => [
|
|
282
|
-
|
|
282
|
+
v("div", {
|
|
283
283
|
class: l(o(f.element) || void 0),
|
|
284
|
-
style:
|
|
284
|
+
style: S({ display: f.element.renderedIsExpanded ? void 0 : "none" }),
|
|
285
285
|
role: "presentation"
|
|
286
286
|
}, [
|
|
287
287
|
e.value ? (i(), q(b, {
|
|
@@ -294,7 +294,7 @@ const je = /* @__PURE__ */ g({
|
|
|
294
294
|
key: 1,
|
|
295
295
|
class: l(f.element.getCommentAreaCss())
|
|
296
296
|
}, [
|
|
297
|
-
|
|
297
|
+
v("div", null, [
|
|
298
298
|
h(W, {
|
|
299
299
|
locString: f.element.locCommentText
|
|
300
300
|
}, null, 8, ["locString"])
|
|
@@ -344,11 +344,11 @@ const je = /* @__PURE__ */ g({
|
|
|
344
344
|
css: {}
|
|
345
345
|
},
|
|
346
346
|
setup(r) {
|
|
347
|
-
const s = r, n = $(null), e =
|
|
347
|
+
const s = r, n = $(null), e = I(() => s.element.survey);
|
|
348
348
|
return B(() => s.element), M(() => {
|
|
349
349
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
350
350
|
}), (t, o) => {
|
|
351
|
-
const a = y("survey-errors"), c = y("survey-element-header"),
|
|
351
|
+
const a = y("survey-errors"), c = y("survey-element-header"), p = y("survey-row"), d = y("sv-action-bar");
|
|
352
352
|
return t.element.getIsContentVisible() ? (i(), u("div", {
|
|
353
353
|
key: 0,
|
|
354
354
|
class: l(t.element.getContainerCss()),
|
|
@@ -373,7 +373,7 @@ const je = /* @__PURE__ */ g({
|
|
|
373
373
|
t.element.renderedIsExpanded ? (i(), u("div", {
|
|
374
374
|
key: 3,
|
|
375
375
|
id: t.element.contentId,
|
|
376
|
-
style:
|
|
376
|
+
style: S({ paddingLeft: t.element.innerPaddingLeft }),
|
|
377
377
|
class: l(t.element.cssClasses.panel.content)
|
|
378
378
|
}, [
|
|
379
379
|
(i(!0), u(D, null, L(t.element.visibleRows, (C) => (i(), q(R(t.element.getSurvey().getRowWrapperComponentName(C)), z(H({
|
|
@@ -382,7 +382,7 @@ const je = /* @__PURE__ */ g({
|
|
|
382
382
|
componentData: t.element.getSurvey().getRowWrapperComponentData(C)
|
|
383
383
|
})), {
|
|
384
384
|
default: V(() => [
|
|
385
|
-
h(
|
|
385
|
+
h(p, {
|
|
386
386
|
row: C,
|
|
387
387
|
survey: e.value,
|
|
388
388
|
css: t.css
|
|
@@ -411,11 +411,11 @@ const je = /* @__PURE__ */ g({
|
|
|
411
411
|
return "titleWidth" in s.element && (t.width = s.element.titleWidth), t;
|
|
412
412
|
};
|
|
413
413
|
return (t, o) => {
|
|
414
|
-
const a = y("survey-element-title"), c = y("survey-string"),
|
|
414
|
+
const a = y("survey-element-title"), c = y("survey-string"), p = y("sv-action-bar");
|
|
415
415
|
return i(), u("div", {
|
|
416
416
|
class: l(t.element.cssHeader),
|
|
417
417
|
onClick: n,
|
|
418
|
-
style:
|
|
418
|
+
style: S(e())
|
|
419
419
|
}, [
|
|
420
420
|
h(a, {
|
|
421
421
|
element: t.element,
|
|
@@ -432,7 +432,7 @@ const je = /* @__PURE__ */ g({
|
|
|
432
432
|
], 10, ts)), [
|
|
433
433
|
[E, t.element.hasDescription]
|
|
434
434
|
]) : m("", !0),
|
|
435
|
-
t.element.hasAdditionalTitleToolbar ? (i(), q(
|
|
435
|
+
t.element.hasAdditionalTitleToolbar ? (i(), q(p, {
|
|
436
436
|
key: 1,
|
|
437
437
|
model: t.element.additionalTitleToolbar
|
|
438
438
|
}, null, 8, ["model"])) : m("", !0)
|
|
@@ -524,7 +524,7 @@ const je = /* @__PURE__ */ g({
|
|
|
524
524
|
ref: n
|
|
525
525
|
}, [
|
|
526
526
|
h(o, { question: e.question }, null, 8, ["question"]),
|
|
527
|
-
|
|
527
|
+
v("datalist", {
|
|
528
528
|
id: e.question.dataListId
|
|
529
529
|
}, [
|
|
530
530
|
(i(!0), u(D, null, L(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8, vs))), 256))
|
|
@@ -549,14 +549,14 @@ const je = /* @__PURE__ */ g({
|
|
|
549
549
|
n.getRef && n.getRef(a);
|
|
550
550
|
}, t = $(null);
|
|
551
551
|
s({ root: t }), B(() => n.question);
|
|
552
|
-
const o =
|
|
552
|
+
const o = I(() => n.question.inputStyle);
|
|
553
553
|
return (a, c) => {
|
|
554
|
-
const
|
|
554
|
+
const p = y("sv-character-counter");
|
|
555
555
|
return a.question.getMaxLength() ? (i(), u("div", {
|
|
556
556
|
key: 1,
|
|
557
557
|
ref: (d) => e(d)
|
|
558
558
|
}, [
|
|
559
|
-
|
|
559
|
+
v("input", {
|
|
560
560
|
disabled: a.question.isDisabledAttr,
|
|
561
561
|
readonly: a.question.isReadOnlyAttr,
|
|
562
562
|
class: l(a.question.getControlClass()),
|
|
@@ -566,7 +566,7 @@ const je = /* @__PURE__ */ g({
|
|
|
566
566
|
max: a.question.renderedMax,
|
|
567
567
|
step: a.question.renderedStep,
|
|
568
568
|
size: a.question.renderedInputSize,
|
|
569
|
-
style:
|
|
569
|
+
style: S(o.value),
|
|
570
570
|
id: a.question.inputId,
|
|
571
571
|
list: a.question.dataListId,
|
|
572
572
|
placeholder: a.question.renderedPlaceholder,
|
|
@@ -585,7 +585,7 @@ const je = /* @__PURE__ */ g({
|
|
|
585
585
|
"aria-invalid": a.question.a11y_input_ariaInvalid,
|
|
586
586
|
"aria-errormessage": a.question.a11y_input_ariaErrormessage
|
|
587
587
|
}, null, 46, gs),
|
|
588
|
-
h(
|
|
588
|
+
h(p, {
|
|
589
589
|
counter: a.question.characterCounter,
|
|
590
590
|
remainingCharacterCounter: a.question.cssClasses.remainingCharacterCounter
|
|
591
591
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
@@ -601,7 +601,7 @@ const je = /* @__PURE__ */ g({
|
|
|
601
601
|
max: a.question.renderedMax,
|
|
602
602
|
step: a.question.renderedStep,
|
|
603
603
|
size: a.question.renderedInputSize,
|
|
604
|
-
style:
|
|
604
|
+
style: S(o.value),
|
|
605
605
|
id: a.question.inputId,
|
|
606
606
|
list: a.question.dataListId,
|
|
607
607
|
placeholder: a.question.renderedPlaceholder,
|
|
@@ -658,43 +658,43 @@ const je = /* @__PURE__ */ g({
|
|
|
658
658
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
659
659
|
}, [
|
|
660
660
|
o.showLegend ? (i(), u("legend", bs, T(o.question.locTitle.renderedHtml), 1)) : m("", !0),
|
|
661
|
-
o.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, L(o.question.headItems, (
|
|
662
|
-
key:
|
|
663
|
-
}, t(
|
|
664
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(D, { key: 2 }, L(o.question.bodyItems, (
|
|
665
|
-
key:
|
|
666
|
-
}, t(
|
|
661
|
+
o.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, L(o.question.headItems, (p) => (i(), q(R(e(p)), H({
|
|
662
|
+
key: p.value
|
|
663
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
664
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(D, { key: 2 }, L(o.question.bodyItems, (p) => (i(), q(R(e(p)), H({
|
|
665
|
+
key: p.value
|
|
666
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
667
667
|
o.question.blockedRow ? (i(), u("div", {
|
|
668
668
|
key: 3,
|
|
669
669
|
class: l(o.question.cssClasses.rootRow)
|
|
670
670
|
}, [
|
|
671
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(D, { key: 0 }, L(o.question.dataChoices, (
|
|
672
|
-
key:
|
|
673
|
-
}, t(
|
|
671
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(D, { key: 0 }, L(o.question.dataChoices, (p) => (i(), q(R(e(p)), H({
|
|
672
|
+
key: p.value
|
|
673
|
+
}, t(p)), null, 16))), 128)) : m("", !0)
|
|
674
674
|
], 2)) : m("", !0),
|
|
675
675
|
o.question.hasColumns ? (i(), u("div", {
|
|
676
676
|
key: 4,
|
|
677
677
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
678
678
|
}, [
|
|
679
|
-
o.question.hasColumns ? (i(!0), u(D, { key: 0 }, L(o.question.columns, (
|
|
679
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 0 }, L(o.question.columns, (p, d) => (i(), u("div", {
|
|
680
680
|
key: d,
|
|
681
681
|
class: l(o.question.getColumnClass()),
|
|
682
682
|
role: "presentation"
|
|
683
683
|
}, [
|
|
684
|
-
(i(!0), u(D, null, L(
|
|
684
|
+
(i(!0), u(D, null, L(p, (C) => (i(), q(R(e(C)), H({
|
|
685
685
|
key: C.value
|
|
686
686
|
}, t(C)), null, 16))), 128))
|
|
687
687
|
], 2))), 128)) : m("", !0)
|
|
688
688
|
], 2)) : m("", !0),
|
|
689
|
-
o.question.hasFootItems ? (i(!0), u(D, { key: 5 }, L(o.question.footItems, (
|
|
690
|
-
key:
|
|
691
|
-
}, t(
|
|
689
|
+
o.question.hasFootItems ? (i(!0), u(D, { key: 5 }, L(o.question.footItems, (p) => (i(), q(R(e(p)), H({
|
|
690
|
+
key: p.value
|
|
691
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
692
692
|
o.question.renderedValue && o.question.isOtherSelected ? (i(), q(c, {
|
|
693
693
|
key: 6,
|
|
694
694
|
question: o.question
|
|
695
695
|
}, null, 8, ["question"])) : m("", !0),
|
|
696
696
|
o.question.showClearButtonInContent ? (i(), u("div", ks, [
|
|
697
|
-
|
|
697
|
+
v("input", {
|
|
698
698
|
type: "button",
|
|
699
699
|
class: l(o.question.cssClasses.clearButton),
|
|
700
700
|
onClick: a[0] || (a[0] = () => {
|
|
@@ -738,10 +738,10 @@ const je = /* @__PURE__ */ g({
|
|
|
738
738
|
role: "presentation",
|
|
739
739
|
class: l(e.question.getItemClass(e.item))
|
|
740
740
|
}, [
|
|
741
|
-
|
|
741
|
+
v("label", {
|
|
742
742
|
class: l(e.question.getLabelClass(e.item))
|
|
743
743
|
}, [
|
|
744
|
-
|
|
744
|
+
v("input", {
|
|
745
745
|
type: "checkbox",
|
|
746
746
|
name: e.question.name + e.item.id,
|
|
747
747
|
checked: e.question.isItemSelected(e.item),
|
|
@@ -763,7 +763,7 @@ const je = /* @__PURE__ */ g({
|
|
|
763
763
|
key: 0,
|
|
764
764
|
class: l(e.question.cssClasses.itemDecorator)
|
|
765
765
|
}, [
|
|
766
|
-
|
|
766
|
+
v("use", {
|
|
767
767
|
"xlink:href": e.question.itemSvgIcon
|
|
768
768
|
}, null, 8, Ss)
|
|
769
769
|
], 2)) : m("", !0)
|
|
@@ -798,7 +798,7 @@ const je = /* @__PURE__ */ g({
|
|
|
798
798
|
hideLabel: { type: Boolean }
|
|
799
799
|
},
|
|
800
800
|
setup(r) {
|
|
801
|
-
const s = r, n = (o) => s.question.getLabelClass(o), e = (o) => s.question.getControlLabelClass(o), t =
|
|
801
|
+
const s = r, n = (o) => s.question.getLabelClass(o), e = (o) => s.question.getControlLabelClass(o), t = I({
|
|
802
802
|
get: () => s.question.renderedValue,
|
|
803
803
|
set: (o) => {
|
|
804
804
|
const a = s.question;
|
|
@@ -811,17 +811,17 @@ const je = /* @__PURE__ */ g({
|
|
|
811
811
|
role: "presentation",
|
|
812
812
|
class: l(o.question.getItemClass(o.item))
|
|
813
813
|
}, [
|
|
814
|
-
|
|
815
|
-
onMousedown: a[1] || (a[1] = (
|
|
814
|
+
v("label", {
|
|
815
|
+
onMousedown: a[1] || (a[1] = (p) => o.question.onMouseDown()),
|
|
816
816
|
class: l(n(o.item))
|
|
817
817
|
}, [
|
|
818
|
-
N(
|
|
818
|
+
N(v("input", {
|
|
819
819
|
type: "radio",
|
|
820
820
|
name: o.question.questionName,
|
|
821
821
|
value: o.item.value,
|
|
822
822
|
id: o.question.getItemId(o.item),
|
|
823
823
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
824
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
824
|
+
"onUpdate:modelValue": a[0] || (a[0] = (p) => t.value = p),
|
|
825
825
|
disabled: !o.question.getItemEnabled(o.item),
|
|
826
826
|
readonly: o.question.isReadOnlyAttr,
|
|
827
827
|
class: l(o.question.cssClasses.itemControl)
|
|
@@ -836,7 +836,7 @@ const je = /* @__PURE__ */ g({
|
|
|
836
836
|
key: 0,
|
|
837
837
|
class: l(o.question.cssClasses.itemDecorator)
|
|
838
838
|
}, [
|
|
839
|
-
|
|
839
|
+
v("use", {
|
|
840
840
|
"xlink:href": o.question.itemSvgIcon
|
|
841
841
|
}, null, 8, Ds)
|
|
842
842
|
], 2)) : m("", !0)
|
|
@@ -867,11 +867,11 @@ const je = /* @__PURE__ */ g({
|
|
|
867
867
|
class: l(e.question.cssClasses.root),
|
|
868
868
|
ref_key: "root",
|
|
869
869
|
ref: n,
|
|
870
|
-
style:
|
|
870
|
+
style: S({
|
|
871
871
|
width: e.question.renderedCanvasWidth
|
|
872
872
|
})
|
|
873
873
|
}, [
|
|
874
|
-
N(
|
|
874
|
+
N(v("div", {
|
|
875
875
|
class: l(e.question.cssClasses.placeholder)
|
|
876
876
|
}, [
|
|
877
877
|
h(o, {
|
|
@@ -880,26 +880,26 @@ const je = /* @__PURE__ */ g({
|
|
|
880
880
|
], 2), [
|
|
881
881
|
[E, e.question.needShowPlaceholder()]
|
|
882
882
|
]),
|
|
883
|
-
|
|
883
|
+
v("div", null, [
|
|
884
884
|
e.question.backgroundImage ? (i(), u("img", {
|
|
885
885
|
key: 0,
|
|
886
886
|
class: l(e.question.cssClasses.backgroundImage),
|
|
887
887
|
src: e.question.backgroundImage,
|
|
888
|
-
style:
|
|
888
|
+
style: S({
|
|
889
889
|
width: e.question.renderedCanvasWidth
|
|
890
890
|
})
|
|
891
891
|
}, null, 14, Bs)) : m("", !0),
|
|
892
|
-
|
|
892
|
+
v("canvas", {
|
|
893
893
|
tabindex: "-1",
|
|
894
894
|
class: l(e.question.cssClasses.canvas),
|
|
895
|
-
onBlur: t[0] || (t[0] = (...
|
|
895
|
+
onBlur: t[0] || (t[0] = (...p) => e.question.onBlur && e.question.onBlur(...p))
|
|
896
896
|
}, null, 34)
|
|
897
897
|
]),
|
|
898
898
|
e.question.canShowClearButton ? (i(), u("div", {
|
|
899
899
|
key: 0,
|
|
900
900
|
class: l(e.question.cssClasses.controls)
|
|
901
901
|
}, [
|
|
902
|
-
|
|
902
|
+
v("button", {
|
|
903
903
|
type: "button",
|
|
904
904
|
class: l(e.question.cssClasses.clearButton),
|
|
905
905
|
title: e.question.clearButtonCaption,
|
|
@@ -965,7 +965,7 @@ const je = /* @__PURE__ */ g({
|
|
|
965
965
|
alt: t.question.altText || t.question.title,
|
|
966
966
|
width: t.question.renderedWidth,
|
|
967
967
|
height: t.question.renderedHeight,
|
|
968
|
-
style:
|
|
968
|
+
style: S({
|
|
969
969
|
objectFit: t.question.imageFit,
|
|
970
970
|
width: t.question.renderedStyleWidth,
|
|
971
971
|
height: t.question.renderedStyleHeight
|
|
@@ -986,7 +986,7 @@ const je = /* @__PURE__ */ g({
|
|
|
986
986
|
src: w(e),
|
|
987
987
|
width: t.question.renderedWidth,
|
|
988
988
|
height: t.question.renderedHeight,
|
|
989
|
-
style:
|
|
989
|
+
style: S({
|
|
990
990
|
objectFit: t.question.imageFit,
|
|
991
991
|
width: t.question.renderedStyleWidth,
|
|
992
992
|
height: t.question.renderedStyleHeight
|
|
@@ -1006,7 +1006,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1006
1006
|
src: w(e),
|
|
1007
1007
|
width: t.question.renderedWidth,
|
|
1008
1008
|
height: t.question.renderedHeight,
|
|
1009
|
-
style:
|
|
1009
|
+
style: S({
|
|
1010
1010
|
objectFit: t.question.imageFit,
|
|
1011
1011
|
width: t.question.renderedStyleWidth,
|
|
1012
1012
|
height: t.question.renderedStyleHeight
|
|
@@ -1047,7 +1047,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1047
1047
|
setup(r) {
|
|
1048
1048
|
const s = r, n = $(null);
|
|
1049
1049
|
return P(s, n), (e, t) => {
|
|
1050
|
-
const o = y("survey-string"), a = y("sv-file-choose-btn"), c = y("sv-action-bar"),
|
|
1050
|
+
const o = y("survey-string"), a = y("sv-file-choose-btn"), c = y("sv-action-bar"), p = y("sv-file-clean-btn"), d = y("sv-loading-indicator"), C = y("sv-file-video"), k = y("sv-file-preview");
|
|
1051
1051
|
return i(), u("div", {
|
|
1052
1052
|
class: l(e.question.fileRootCss),
|
|
1053
1053
|
ref_key: "root",
|
|
@@ -1088,7 +1088,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1088
1088
|
placeholder: e.question.title,
|
|
1089
1089
|
style: { color: "transparent" }
|
|
1090
1090
|
}, null, 10, Us)) : m("", !0),
|
|
1091
|
-
|
|
1091
|
+
v("div", {
|
|
1092
1092
|
class: l(e.question.cssClasses.dragArea),
|
|
1093
1093
|
onDrop: t[0] || (t[0] = (...f) => e.question.onDrop && e.question.onDrop(...f)),
|
|
1094
1094
|
onDragover: t[1] || (t[1] = (...f) => e.question.onDragOver && e.question.onDragOver(...f)),
|
|
@@ -1099,14 +1099,14 @@ const je = /* @__PURE__ */ g({
|
|
|
1099
1099
|
key: 0,
|
|
1100
1100
|
class: l(e.question.getFileDecoratorCss())
|
|
1101
1101
|
}, [
|
|
1102
|
-
|
|
1102
|
+
v("span", {
|
|
1103
1103
|
class: l(e.question.cssClasses.dragAreaPlaceholder)
|
|
1104
1104
|
}, [
|
|
1105
1105
|
h(o, {
|
|
1106
1106
|
locString: e.question.locRenderedPlaceholder
|
|
1107
1107
|
}, null, 8, ["locString"])
|
|
1108
1108
|
], 2),
|
|
1109
|
-
|
|
1109
|
+
v("div", {
|
|
1110
1110
|
class: l(e.question.cssClasses.wrapper)
|
|
1111
1111
|
}, [
|
|
1112
1112
|
e.question.showChooseButton ? (i(), q(a, {
|
|
@@ -1123,7 +1123,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1123
1123
|
}, T(e.question.noFileChosenCaption), 3)) : m("", !0)
|
|
1124
1124
|
], 2)
|
|
1125
1125
|
], 2)) : m("", !0),
|
|
1126
|
-
e.question.showRemoveButton ? (i(), q(
|
|
1126
|
+
e.question.showRemoveButton ? (i(), q(p, {
|
|
1127
1127
|
key: 1,
|
|
1128
1128
|
question: e.question,
|
|
1129
1129
|
css: e.question.showRemoveButton
|
|
@@ -1142,7 +1142,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1142
1142
|
key: 4,
|
|
1143
1143
|
question: e.question
|
|
1144
1144
|
}, null, 8, ["question"])) : m("", !0),
|
|
1145
|
-
e.question.showRemoveButtonBottom ? (i(), q(
|
|
1145
|
+
e.question.showRemoveButtonBottom ? (i(), q(p, {
|
|
1146
1146
|
key: 5,
|
|
1147
1147
|
question: e.question,
|
|
1148
1148
|
css: e.question.showRemoveButtonBottom
|
|
@@ -1177,13 +1177,13 @@ const je = /* @__PURE__ */ g({
|
|
|
1177
1177
|
ref_key: "root",
|
|
1178
1178
|
ref: n
|
|
1179
1179
|
}, [
|
|
1180
|
-
|
|
1180
|
+
v("legend", Qs, T(o.question.locTitle.renderedHtml), 1),
|
|
1181
1181
|
o.question.hasColumns ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.visibleChoices, (c) => (i(), q(R(e(c)), H({
|
|
1182
1182
|
key: c.value
|
|
1183
1183
|
}, t(c)), null, 16))), 128)),
|
|
1184
|
-
o.question.hasColumns ? (i(!0), u(D, { key: 1 }, L(o.question.columns, (c,
|
|
1184
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 1 }, L(o.question.columns, (c, p) => (i(), u("div", {
|
|
1185
1185
|
class: l(o.question.getColumnClass()),
|
|
1186
|
-
key:
|
|
1186
|
+
key: p,
|
|
1187
1187
|
role: "presentation"
|
|
1188
1188
|
}, [
|
|
1189
1189
|
(i(!0), u(D, null, L(c, (d) => (i(), q(R(e(d)), H({
|
|
@@ -1200,7 +1200,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1200
1200
|
item: {}
|
|
1201
1201
|
},
|
|
1202
1202
|
setup(r) {
|
|
1203
|
-
const s = r, n = (o) => s.question.getItemClass(o), e =
|
|
1203
|
+
const s = r, n = (o) => s.question.getItemClass(o), e = I({
|
|
1204
1204
|
get() {
|
|
1205
1205
|
return s.question.value;
|
|
1206
1206
|
},
|
|
@@ -1212,11 +1212,11 @@ const je = /* @__PURE__ */ g({
|
|
|
1212
1212
|
B(() => s.item);
|
|
1213
1213
|
const t = G(() => s.item.locImageLink);
|
|
1214
1214
|
return (o, a) => {
|
|
1215
|
-
const c = y("sv-svg-icon"),
|
|
1215
|
+
const c = y("sv-svg-icon"), p = y("survey-string");
|
|
1216
1216
|
return i(), u("div", {
|
|
1217
1217
|
class: l(n(o.item))
|
|
1218
1218
|
}, [
|
|
1219
|
-
|
|
1219
|
+
v("label", {
|
|
1220
1220
|
class: l(o.question.cssClasses.label)
|
|
1221
1221
|
}, [
|
|
1222
1222
|
o.question.multiSelect ? N((i(), u("input", {
|
|
@@ -1252,10 +1252,10 @@ const je = /* @__PURE__ */ g({
|
|
|
1252
1252
|
}, null, 10, Js)), [
|
|
1253
1253
|
[ee, e.value]
|
|
1254
1254
|
]),
|
|
1255
|
-
|
|
1255
|
+
v("div", {
|
|
1256
1256
|
class: l(o.question.cssClasses.itemDecorator)
|
|
1257
1257
|
}, [
|
|
1258
|
-
|
|
1258
|
+
v("div", {
|
|
1259
1259
|
class: l(o.question.cssClasses.imageContainer)
|
|
1260
1260
|
}, [
|
|
1261
1261
|
o.question.cssClasses.checkedItemDecorator ? (i(), u("span", {
|
|
@@ -1275,7 +1275,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1275
1275
|
src: w(t),
|
|
1276
1276
|
width: o.question.renderedImageWidth,
|
|
1277
1277
|
height: o.question.renderedImageHeight,
|
|
1278
|
-
style:
|
|
1278
|
+
style: S({ objectFit: o.question.imageFit }),
|
|
1279
1279
|
alt: o.item.locText.renderedHtml,
|
|
1280
1280
|
onLoad: a[2] || (a[2] = (d) => {
|
|
1281
1281
|
o.question.onContentLoaded(o.item, d);
|
|
@@ -1291,7 +1291,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1291
1291
|
src: w(t),
|
|
1292
1292
|
width: o.question.renderedImageWidth,
|
|
1293
1293
|
height: o.question.renderedImageHeight,
|
|
1294
|
-
style:
|
|
1294
|
+
style: S({ objectFit: o.question.imageFit }),
|
|
1295
1295
|
onLoadedmetadata: a[4] || (a[4] = (d) => {
|
|
1296
1296
|
o.question.onContentLoaded(o.item, d);
|
|
1297
1297
|
}),
|
|
@@ -1302,7 +1302,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1302
1302
|
!w(t) || o.item.contentNotLoaded ? (i(), u("div", {
|
|
1303
1303
|
key: 3,
|
|
1304
1304
|
class: l(o.question.cssClasses.itemNoImage),
|
|
1305
|
-
style:
|
|
1305
|
+
style: S({
|
|
1306
1306
|
width: o.question.renderedImageWidth + "px",
|
|
1307
1307
|
height: o.question.renderedImageHeight + "px",
|
|
1308
1308
|
objectFit: o.question.imageFit
|
|
@@ -1319,7 +1319,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1319
1319
|
key: 0,
|
|
1320
1320
|
class: l(o.question.cssClasses.itemText)
|
|
1321
1321
|
}, [
|
|
1322
|
-
h(
|
|
1322
|
+
h(p, {
|
|
1323
1323
|
locString: o.item.locText
|
|
1324
1324
|
}, null, 8, ["locString"])
|
|
1325
1325
|
], 2)) : m("", !0)
|
|
@@ -1376,13 +1376,13 @@ const je = /* @__PURE__ */ g({
|
|
|
1376
1376
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
1377
1377
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
1378
1378
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage,
|
|
1379
|
-
style:
|
|
1379
|
+
style: S({ resize: t.question.resizeStyle })
|
|
1380
1380
|
}, null, 46, xs)) : !t.question.isReadOnlyRenderDiv() && t.question.getMaxLength() ? (i(), u("div", {
|
|
1381
1381
|
key: 1,
|
|
1382
1382
|
ref_key: "root",
|
|
1383
1383
|
ref: n
|
|
1384
1384
|
}, [
|
|
1385
|
-
|
|
1385
|
+
v("textarea", {
|
|
1386
1386
|
readonly: t.question.isReadOnlyAttr,
|
|
1387
1387
|
disabled: t.question.isDisabledAttr,
|
|
1388
1388
|
value: t.question.value,
|
|
@@ -1411,7 +1411,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1411
1411
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
1412
1412
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
1413
1413
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage,
|
|
1414
|
-
style:
|
|
1414
|
+
style: S({ resize: t.question.resizeStyle })
|
|
1415
1415
|
}, null, 46, en),
|
|
1416
1416
|
h(a, {
|
|
1417
1417
|
counter: t.question.characterCounter,
|
|
@@ -1469,7 +1469,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1469
1469
|
s.question.onClick(a);
|
|
1470
1470
|
}, t = (a) => {
|
|
1471
1471
|
s.question.onKeyUp(a);
|
|
1472
|
-
}, o =
|
|
1472
|
+
}, o = I({
|
|
1473
1473
|
get() {
|
|
1474
1474
|
var a;
|
|
1475
1475
|
return (a = s.question.value) != null ? a : "";
|
|
@@ -1480,13 +1480,13 @@ const ln = /* @__PURE__ */ g({
|
|
|
1480
1480
|
}
|
|
1481
1481
|
});
|
|
1482
1482
|
return (a, c) => {
|
|
1483
|
-
const
|
|
1483
|
+
const p = y("sv-dropdown-option-item"), d = y("sv-svg-icon"), C = y("survey-other-choice");
|
|
1484
1484
|
return i(), u("div", {
|
|
1485
1485
|
class: l(a.question.renderCssRoot),
|
|
1486
1486
|
ref_key: "root",
|
|
1487
1487
|
ref: n
|
|
1488
1488
|
}, [
|
|
1489
|
-
|
|
1489
|
+
v("div", {
|
|
1490
1490
|
class: l(a.question.cssClasses.selectWrapper)
|
|
1491
1491
|
}, [
|
|
1492
1492
|
a.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1509,7 +1509,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1509
1509
|
required: a.question.isRequired
|
|
1510
1510
|
}, [
|
|
1511
1511
|
a.question.allowClear ? (i(), u("option", tn, T(a.question.placeholder), 1)) : m("", !0),
|
|
1512
|
-
(i(!0), u(D, null, L(a.question.visibleChoices, (k) => (i(), q(
|
|
1512
|
+
(i(!0), u(D, null, L(a.question.visibleChoices, (k) => (i(), q(p, {
|
|
1513
1513
|
item: k,
|
|
1514
1514
|
key: k.id
|
|
1515
1515
|
}, null, 8, ["item"]))), 128))
|
|
@@ -1552,7 +1552,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1552
1552
|
question: {}
|
|
1553
1553
|
},
|
|
1554
1554
|
setup(r) {
|
|
1555
|
-
const s = r, n = $(null), e =
|
|
1555
|
+
const s = r, n = $(null), e = I(() => s.question.dropdownListModel), t = (b) => {
|
|
1556
1556
|
var A;
|
|
1557
1557
|
(A = e.value) == null || A.onClick(b);
|
|
1558
1558
|
}, o = (b) => {
|
|
@@ -1564,21 +1564,21 @@ const ln = /* @__PURE__ */ g({
|
|
|
1564
1564
|
}, c = (b) => {
|
|
1565
1565
|
var A;
|
|
1566
1566
|
(A = e.value) == null || A.keyHandler(b);
|
|
1567
|
-
},
|
|
1567
|
+
}, p = () => {
|
|
1568
1568
|
if (n.value) {
|
|
1569
1569
|
const b = n.value, A = e.value.inputStringRendered;
|
|
1570
1570
|
Be.isTwoValueEquals(A, b.value, !1, !0, !1) || (b.value = e.value.inputStringRendered);
|
|
1571
1571
|
}
|
|
1572
1572
|
}, d = (b) => {
|
|
1573
|
-
s.question.onBlur(b),
|
|
1573
|
+
s.question.onBlur(b), p();
|
|
1574
1574
|
}, C = (b) => {
|
|
1575
1575
|
s.question.onFocus(b);
|
|
1576
1576
|
}, k = (b) => {
|
|
1577
1577
|
e.value.inputStringRendered = b.target.value;
|
|
1578
|
-
}, f =
|
|
1578
|
+
}, f = I(
|
|
1579
1579
|
() => s.question.showSelectedItemLocText
|
|
1580
|
-
), _ =
|
|
1581
|
-
return B(() => e.value), x(
|
|
1580
|
+
), _ = I(() => s.question.selectedItemLocText);
|
|
1581
|
+
return B(() => e.value), x(p), M(p), (b, A) => {
|
|
1582
1582
|
const W = y("survey-string"), F = y("sv-svg-icon"), J = y("sv-popup");
|
|
1583
1583
|
return i(), u("div", {
|
|
1584
1584
|
class: l(b.question.cssClasses.selectWrapper),
|
|
@@ -1606,9 +1606,9 @@ const ln = /* @__PURE__ */ g({
|
|
|
1606
1606
|
key: 0,
|
|
1607
1607
|
class: l(b.question.cssClasses.hintPrefix)
|
|
1608
1608
|
}, [
|
|
1609
|
-
|
|
1609
|
+
v("span", null, T(e.value.hintStringPrefix), 1)
|
|
1610
1610
|
], 2)) : m("", !0),
|
|
1611
|
-
|
|
1611
|
+
v("div", {
|
|
1612
1612
|
class: l(b.question.cssClasses.controlValue)
|
|
1613
1613
|
}, [
|
|
1614
1614
|
f.value ? (i(), q(W, {
|
|
@@ -1619,15 +1619,15 @@ const ln = /* @__PURE__ */ g({
|
|
|
1619
1619
|
key: 1,
|
|
1620
1620
|
class: l(b.question.cssClasses.hintSuffix)
|
|
1621
1621
|
}, [
|
|
1622
|
-
|
|
1623
|
-
|
|
1622
|
+
v("span", mn, T(e.value.inputStringRendered), 1),
|
|
1623
|
+
v("span", null, T(e.value.hintStringSuffix), 1)
|
|
1624
1624
|
], 2)) : m("", !0),
|
|
1625
1625
|
b.question.showInputFieldComponent ? (i(), q(R(b.question.inputFieldComponentName), {
|
|
1626
1626
|
key: 2,
|
|
1627
1627
|
item: e.value.getSelectedAction(),
|
|
1628
1628
|
question: b.question
|
|
1629
1629
|
}, null, 8, ["item", "question"])) : m("", !0),
|
|
1630
|
-
|
|
1630
|
+
v("input", {
|
|
1631
1631
|
type: "text",
|
|
1632
1632
|
ref_key: "inputElement",
|
|
1633
1633
|
ref: n,
|
|
@@ -1680,7 +1680,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1680
1680
|
key: 0,
|
|
1681
1681
|
locString: b.question.selectedItemLocText
|
|
1682
1682
|
}, null, 8, ["locString"])) : m("", !0),
|
|
1683
|
-
|
|
1683
|
+
v("div", null, T(b.question.readOnlyText), 1)
|
|
1684
1684
|
], 10, pn)) : (i(), q(J, {
|
|
1685
1685
|
key: 1,
|
|
1686
1686
|
model: b.question.dropdownListModel.popupModel
|
|
@@ -1729,7 +1729,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1729
1729
|
question: {}
|
|
1730
1730
|
},
|
|
1731
1731
|
setup(r) {
|
|
1732
|
-
const s = r, n =
|
|
1732
|
+
const s = r, n = I(() => {
|
|
1733
1733
|
const d = s.question;
|
|
1734
1734
|
return d.dropdownListModel || (d.dropdownListModel = new Le(d)), s.question.dropdownListModel;
|
|
1735
1735
|
}), e = (d) => {
|
|
@@ -1747,7 +1747,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1747
1747
|
}, c = (d) => {
|
|
1748
1748
|
var C;
|
|
1749
1749
|
(C = n.value) == null || C.onBlur(d);
|
|
1750
|
-
},
|
|
1750
|
+
}, p = ne(() => s.question.selectedChoices);
|
|
1751
1751
|
return B(() => n.value), (d, C) => {
|
|
1752
1752
|
const k = y("sv-tagbox-item"), f = y("sv-tagbox-filter"), _ = y("sv-svg-icon"), b = y("sv-popup"), A = y("survey-string");
|
|
1753
1753
|
return i(), u("div", {
|
|
@@ -1772,10 +1772,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
1772
1772
|
"aria-activedescendant": n.value.ariaActivedescendant,
|
|
1773
1773
|
required: d.question.isRequired ? !0 : null
|
|
1774
1774
|
}, [
|
|
1775
|
-
|
|
1775
|
+
v("div", {
|
|
1776
1776
|
class: l(d.question.cssClasses.controlValue)
|
|
1777
1777
|
}, [
|
|
1778
|
-
(i(!0), u(D, null, L(w(
|
|
1778
|
+
(i(!0), u(D, null, L(w(p), (W, F) => (i(), q(k, {
|
|
1779
1779
|
item: W,
|
|
1780
1780
|
question: d.question,
|
|
1781
1781
|
key: "item" + F
|
|
@@ -1851,7 +1851,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1851
1851
|
s.model.onFocus(a);
|
|
1852
1852
|
};
|
|
1853
1853
|
return B(() => s.model), (a, c) => {
|
|
1854
|
-
const
|
|
1854
|
+
const p = y("survey-string");
|
|
1855
1855
|
return i(), u("div", {
|
|
1856
1856
|
class: l(a.question.cssClasses.hint)
|
|
1857
1857
|
}, [
|
|
@@ -1859,12 +1859,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
1859
1859
|
key: 0,
|
|
1860
1860
|
class: l(a.question.cssClasses.hintPrefix)
|
|
1861
1861
|
}, [
|
|
1862
|
-
|
|
1862
|
+
v("span", null, T(a.model.hintStringPrefix), 1)
|
|
1863
1863
|
], 2)) : m("", !0),
|
|
1864
|
-
|
|
1864
|
+
v("div", {
|
|
1865
1865
|
class: l(a.question.cssClasses.hintSuffixWrapper)
|
|
1866
1866
|
}, [
|
|
1867
|
-
a.question.showSelectedItemLocText ? (i(), q(
|
|
1867
|
+
a.question.showSelectedItemLocText ? (i(), q(p, {
|
|
1868
1868
|
key: 0,
|
|
1869
1869
|
locString: a.question.selectedItemLocText
|
|
1870
1870
|
}, null, 8, ["locString"])) : m("", !0),
|
|
@@ -1872,10 +1872,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
1872
1872
|
key: 1,
|
|
1873
1873
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1874
1874
|
}, [
|
|
1875
|
-
|
|
1876
|
-
|
|
1875
|
+
v("span", Cn, T(a.model.inputStringRendered), 1),
|
|
1876
|
+
v("span", null, T(a.model.hintStringSuffix), 1)
|
|
1877
1877
|
], 2)) : m("", !0),
|
|
1878
|
-
N(
|
|
1878
|
+
N(v("input", {
|
|
1879
1879
|
type: "text",
|
|
1880
1880
|
autocomplete: "off",
|
|
1881
1881
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => a.model.inputStringRendered = d),
|
|
@@ -1920,12 +1920,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
1920
1920
|
class: "sv-tagbox__item",
|
|
1921
1921
|
key: e.item.key
|
|
1922
1922
|
}, [
|
|
1923
|
-
|
|
1923
|
+
v("div", fn, [
|
|
1924
1924
|
h(o, {
|
|
1925
1925
|
locString: e.item.locText
|
|
1926
1926
|
}, null, 8, ["locString"])
|
|
1927
1927
|
]),
|
|
1928
|
-
|
|
1928
|
+
v("div", {
|
|
1929
1929
|
class: l(e.question.cssClasses.cleanItemButton),
|
|
1930
1930
|
onClick: n
|
|
1931
1931
|
}, [
|
|
@@ -1964,17 +1964,17 @@ const ln = /* @__PURE__ */ g({
|
|
|
1964
1964
|
ref_key: "root",
|
|
1965
1965
|
ref: n
|
|
1966
1966
|
}, [
|
|
1967
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.renderedRankingChoices, (
|
|
1968
|
-
key:
|
|
1969
|
-
}, t(
|
|
1967
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.renderedRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1968
|
+
key: p.value + "-" + d + "-item"
|
|
1969
|
+
}, t(p, d)), null, 16))), 128)),
|
|
1970
1970
|
o.question.selectToRankEnabled ? (i(), u("div", {
|
|
1971
1971
|
key: 1,
|
|
1972
1972
|
class: l(o.question.getContainerClasses("from")),
|
|
1973
1973
|
"data-ranking": "from-container"
|
|
1974
1974
|
}, [
|
|
1975
|
-
(i(!0), u(D, null, L(o.question.renderedUnRankingChoices, (
|
|
1976
|
-
key:
|
|
1977
|
-
}, t(
|
|
1975
|
+
(i(!0), u(D, null, L(o.question.renderedUnRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1976
|
+
key: p.value + "-" + d + "-item"
|
|
1977
|
+
}, t(p, d, !0)), null, 16))), 128)),
|
|
1978
1978
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), u("div", {
|
|
1979
1979
|
key: 0,
|
|
1980
1980
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -1993,9 +1993,9 @@ const ln = /* @__PURE__ */ g({
|
|
|
1993
1993
|
class: l(o.question.getContainerClasses("to")),
|
|
1994
1994
|
"data-ranking": "to-container"
|
|
1995
1995
|
}, [
|
|
1996
|
-
(i(!0), u(D, null, L(o.question.renderedRankingChoices, (
|
|
1997
|
-
key:
|
|
1998
|
-
}, t(
|
|
1996
|
+
(i(!0), u(D, null, L(o.question.renderedRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1997
|
+
key: p.value + "-" + d + "-item"
|
|
1998
|
+
}, t(p, d)), null, 16))), 128)),
|
|
1999
1999
|
o.question.renderedRankingChoices.length === 0 ? (i(), u("div", {
|
|
2000
2000
|
key: 0,
|
|
2001
2001
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -2021,7 +2021,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2021
2021
|
unrankedItem: { type: Boolean }
|
|
2022
2022
|
},
|
|
2023
2023
|
setup(r) {
|
|
2024
|
-
const s = r, n =
|
|
2024
|
+
const s = r, n = I(() => s.question.getNumberByIndex(s.index));
|
|
2025
2025
|
return B(() => s.item), (e, t) => (i(), u("div", {
|
|
2026
2026
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
2027
2027
|
"data-sv-drop-target-ranking-item": e.index,
|
|
@@ -2046,27 +2046,27 @@ const ln = /* @__PURE__ */ g({
|
|
|
2046
2046
|
);
|
|
2047
2047
|
})
|
|
2048
2048
|
}, [
|
|
2049
|
-
|
|
2050
|
-
|
|
2049
|
+
v("div", Rn, [
|
|
2050
|
+
v("div", {
|
|
2051
2051
|
class: l(e.question.cssClasses.itemGhostNode)
|
|
2052
2052
|
}, null, 2),
|
|
2053
|
-
|
|
2053
|
+
v("div", {
|
|
2054
2054
|
class: l(e.question.cssClasses.itemContent)
|
|
2055
2055
|
}, [
|
|
2056
|
-
|
|
2056
|
+
v("div", {
|
|
2057
2057
|
class: l(e.question.cssClasses.itemIconContainer)
|
|
2058
2058
|
}, [
|
|
2059
2059
|
(i(), u("svg", {
|
|
2060
2060
|
class: l(e.question.getIconHoverCss())
|
|
2061
2061
|
}, [
|
|
2062
|
-
|
|
2062
|
+
v("use", {
|
|
2063
2063
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2064
2064
|
}, null, 8, Tn)
|
|
2065
2065
|
], 2)),
|
|
2066
2066
|
(i(), u("svg", {
|
|
2067
2067
|
class: l(e.question.getIconFocusCss())
|
|
2068
2068
|
}, [
|
|
2069
|
-
|
|
2069
|
+
v("use", {
|
|
2070
2070
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2071
2071
|
}, null, 8, $n)
|
|
2072
2072
|
], 2))
|
|
@@ -2079,7 +2079,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2079
2079
|
class: l(e.question.getItemIndexClasses(e.item))
|
|
2080
2080
|
}, [
|
|
2081
2081
|
(i(), u("svg", null, [
|
|
2082
|
-
|
|
2082
|
+
v("use", {
|
|
2083
2083
|
"xlink:href": e.question.dashSvgIcon
|
|
2084
2084
|
}, null, 8, Dn)
|
|
2085
2085
|
]))
|
|
@@ -2111,7 +2111,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2111
2111
|
], 2);
|
|
2112
2112
|
};
|
|
2113
2113
|
}
|
|
2114
|
-
}), Ln = { role: "radiogroup" }, An = /* @__PURE__ */
|
|
2114
|
+
}), Ln = { role: "radiogroup" }, An = /* @__PURE__ */ v("legend", {
|
|
2115
2115
|
role: "presentation",
|
|
2116
2116
|
class: "sv-hidden"
|
|
2117
2117
|
}, null, -1), Nn = /* @__PURE__ */ g({
|
|
@@ -2131,7 +2131,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2131
2131
|
ref_key: "root",
|
|
2132
2132
|
ref: n
|
|
2133
2133
|
}, [
|
|
2134
|
-
|
|
2134
|
+
v("fieldset", Ln, [
|
|
2135
2135
|
An,
|
|
2136
2136
|
t.question.hasMinLabel ? (i(), u("span", {
|
|
2137
2137
|
key: 0,
|
|
@@ -2141,10 +2141,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
2141
2141
|
locString: t.question.locMinRateDescription
|
|
2142
2142
|
}, null, 8, ["locString"])
|
|
2143
2143
|
], 2)) : m("", !0),
|
|
2144
|
-
(i(!0), u(D, null, L(t.question.renderedRateItems, (c,
|
|
2145
|
-
key: e(
|
|
2144
|
+
(i(!0), u(D, null, L(t.question.renderedRateItems, (c, p) => (i(), q(R(t.question.itemComponent), {
|
|
2145
|
+
key: e(p),
|
|
2146
2146
|
item: c,
|
|
2147
|
-
index:
|
|
2147
|
+
index: p,
|
|
2148
2148
|
question: t.question
|
|
2149
2149
|
}, null, 8, ["item", "index", "question"]))), 128)),
|
|
2150
2150
|
t.question.hasMaxLabel ? (i(), u("span", {
|
|
@@ -2175,7 +2175,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2175
2175
|
onMousedown: e[1] || (e[1] = (o) => n.question.onMouseDown()),
|
|
2176
2176
|
class: l(n.question.getItemClassByText(n.item.itemValue, n.item.text))
|
|
2177
2177
|
}, [
|
|
2178
|
-
|
|
2178
|
+
v("input", {
|
|
2179
2179
|
type: "radio",
|
|
2180
2180
|
class: "sv-visuallyhidden",
|
|
2181
2181
|
name: n.question.questionName,
|
|
@@ -2189,7 +2189,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2189
2189
|
"aria-invalid": n.question.ariaInvalid,
|
|
2190
2190
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2191
2191
|
}, null, 8, Pn),
|
|
2192
|
-
|
|
2192
|
+
v("span", {
|
|
2193
2193
|
class: l(n.question.cssClasses.itemText),
|
|
2194
2194
|
"data-text": n.item.text
|
|
2195
2195
|
}, [
|
|
@@ -2214,12 +2214,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
2214
2214
|
return i(), u("label", {
|
|
2215
2215
|
key: n.item.value,
|
|
2216
2216
|
onMousedown: e[1] || (e[1] = (o) => n.question.onMouseDown()),
|
|
2217
|
-
style:
|
|
2217
|
+
style: S(n.question.getItemStyle(n.item.itemValue, n.item.highlight)),
|
|
2218
2218
|
class: l(n.question.getItemClass(n.item.itemValue, n.item.highlight)),
|
|
2219
2219
|
onMouseover: e[2] || (e[2] = (o) => n.question.onItemMouseIn(n.item)),
|
|
2220
2220
|
onMouseleave: e[3] || (e[3] = (o) => n.question.onItemMouseOut(n.item))
|
|
2221
2221
|
}, [
|
|
2222
|
-
|
|
2222
|
+
v("input", {
|
|
2223
2223
|
type: "radio",
|
|
2224
2224
|
class: "sv-visuallyhidden",
|
|
2225
2225
|
name: n.question.questionName,
|
|
@@ -2259,7 +2259,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2259
2259
|
onMouseover: e[2] || (e[2] = (o) => n.question.onItemMouseIn(n.item)),
|
|
2260
2260
|
onMouseleave: e[3] || (e[3] = (o) => n.question.onItemMouseOut(n.item))
|
|
2261
2261
|
}, [
|
|
2262
|
-
|
|
2262
|
+
v("input", {
|
|
2263
2263
|
type: "radio",
|
|
2264
2264
|
class: "sv-visuallyhidden",
|
|
2265
2265
|
name: n.question.questionName,
|
|
@@ -2301,7 +2301,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2301
2301
|
return B(() => s.item), (n, e) => {
|
|
2302
2302
|
const t = y("survey-string");
|
|
2303
2303
|
return i(), u("div", On, [
|
|
2304
|
-
|
|
2304
|
+
v("span", zn, T(n.item.title), 1),
|
|
2305
2305
|
n.item.description ? (i(), u("div", Un, [
|
|
2306
2306
|
h(t, {
|
|
2307
2307
|
locString: n.item.description
|
|
@@ -2350,7 +2350,7 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2350
2350
|
s.question.onSwitchClickModel(o);
|
|
2351
2351
|
};
|
|
2352
2352
|
return (o, a) => {
|
|
2353
|
-
var
|
|
2353
|
+
var p;
|
|
2354
2354
|
const c = y("survey-string");
|
|
2355
2355
|
return i(), u("div", {
|
|
2356
2356
|
class: l(o.question.cssClasses.root),
|
|
@@ -2358,13 +2358,13 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2358
2358
|
ref: n,
|
|
2359
2359
|
onKeydown: a[4] || (a[4] = (d) => o.question.onKeyDownCore(d))
|
|
2360
2360
|
}, [
|
|
2361
|
-
|
|
2361
|
+
v("label", {
|
|
2362
2362
|
class: l(o.question.getItemCss())
|
|
2363
2363
|
}, [
|
|
2364
|
-
N(
|
|
2364
|
+
N(v("input", {
|
|
2365
2365
|
type: "checkbox",
|
|
2366
2366
|
name: o.question.name,
|
|
2367
|
-
value: (
|
|
2367
|
+
value: (p = o.question.booleanValue) != null ? p : "",
|
|
2368
2368
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => o.question.booleanValue = d),
|
|
2369
2369
|
class: l(o.question.cssClasses.control),
|
|
2370
2370
|
id: o.question.inputId,
|
|
@@ -2381,11 +2381,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2381
2381
|
}, null, 42, jn), [
|
|
2382
2382
|
[ie, o.question.booleanValue]
|
|
2383
2383
|
]),
|
|
2384
|
-
|
|
2384
|
+
v("div", {
|
|
2385
2385
|
class: l(o.question.cssClasses.sliderGhost),
|
|
2386
2386
|
onClick: a[1] || (a[1] = (d) => e(d, o.question.swapOrder))
|
|
2387
2387
|
}, [
|
|
2388
|
-
|
|
2388
|
+
v("span", {
|
|
2389
2389
|
class: l(o.question.getLabelCss(o.question.swapOrder))
|
|
2390
2390
|
}, [
|
|
2391
2391
|
h(c, {
|
|
@@ -2393,11 +2393,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2393
2393
|
}, null, 8, ["locString"])
|
|
2394
2394
|
], 2)
|
|
2395
2395
|
], 2),
|
|
2396
|
-
|
|
2396
|
+
v("div", {
|
|
2397
2397
|
class: l(o.question.cssClasses.switch),
|
|
2398
2398
|
onClick: a[2] || (a[2] = (d) => t(d))
|
|
2399
2399
|
}, [
|
|
2400
|
-
|
|
2400
|
+
v("span", {
|
|
2401
2401
|
class: l(o.question.cssClasses.slider)
|
|
2402
2402
|
}, [
|
|
2403
2403
|
o.question.cssClasses.sliderText && o.question.isDeterminated ? (i(), u("span", {
|
|
@@ -2410,11 +2410,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2410
2410
|
], 2)) : m("", !0)
|
|
2411
2411
|
], 2)
|
|
2412
2412
|
], 2),
|
|
2413
|
-
|
|
2413
|
+
v("div", {
|
|
2414
2414
|
class: l(o.question.cssClasses.sliderGhost),
|
|
2415
2415
|
onClick: a[3] || (a[3] = (d) => e(d, !o.question.swapOrder))
|
|
2416
2416
|
}, [
|
|
2417
|
-
|
|
2417
|
+
v("span", {
|
|
2418
2418
|
class: l(o.question.getLabelCss(!o.question.swapOrder))
|
|
2419
2419
|
}, [
|
|
2420
2420
|
h(c, {
|
|
@@ -2447,7 +2447,7 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2447
2447
|
ref_key: "root",
|
|
2448
2448
|
ref: s
|
|
2449
2449
|
}, [
|
|
2450
|
-
|
|
2450
|
+
v("fieldset", {
|
|
2451
2451
|
role: "presentation",
|
|
2452
2452
|
class: l(e.question.cssClasses.radioFieldset)
|
|
2453
2453
|
}, [
|
|
@@ -2491,10 +2491,10 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2491
2491
|
role: "presentation",
|
|
2492
2492
|
class: l(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
2493
2493
|
}, [
|
|
2494
|
-
|
|
2494
|
+
v("label", {
|
|
2495
2495
|
class: l(e.question.cssClasses.radioLabel)
|
|
2496
2496
|
}, [
|
|
2497
|
-
|
|
2497
|
+
v("input", {
|
|
2498
2498
|
type: "radio",
|
|
2499
2499
|
name: e.question.name,
|
|
2500
2500
|
value: e.value,
|
|
@@ -2513,12 +2513,12 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2513
2513
|
key: 0,
|
|
2514
2514
|
class: l(e.question.cssClasses.itemRadioDecorator)
|
|
2515
2515
|
}, [
|
|
2516
|
-
|
|
2516
|
+
v("use", {
|
|
2517
2517
|
"xlink:href": e.question.itemSvgIcon
|
|
2518
2518
|
}, null, 8, Yn)
|
|
2519
2519
|
], 2)) : m("", !0)
|
|
2520
2520
|
], 2)) : m("", !0),
|
|
2521
|
-
|
|
2521
|
+
v("span", {
|
|
2522
2522
|
class: l(e.question.cssClasses.radioControlLabel)
|
|
2523
2523
|
}, [
|
|
2524
2524
|
h(o, { locString: e.locText }, null, 8, ["locString"])
|
|
@@ -2527,7 +2527,7 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2527
2527
|
], 2);
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
|
-
}), xn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], eo = ["xlink:href"], so = /* @__PURE__ */
|
|
2530
|
+
}), xn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], eo = ["xlink:href"], so = /* @__PURE__ */ v("span", { class: "check" }, null, -1), no = ["id"], oo = ["id"];
|
|
2531
2531
|
se.Instance.registerRenderer(
|
|
2532
2532
|
"boolean",
|
|
2533
2533
|
"checkbox",
|
|
@@ -2543,23 +2543,23 @@ const to = /* @__PURE__ */ g({
|
|
|
2543
2543
|
setup(r) {
|
|
2544
2544
|
const s = r, n = $(null);
|
|
2545
2545
|
return P(s, n), (e, t) => {
|
|
2546
|
-
var
|
|
2546
|
+
var p;
|
|
2547
2547
|
const o = y("survey-element-title-content"), a = y("sv-title-actions"), c = y("survey-string");
|
|
2548
2548
|
return i(), u("div", {
|
|
2549
2549
|
class: l(e.question.cssClasses.rootCheckbox),
|
|
2550
2550
|
ref_key: "root",
|
|
2551
2551
|
ref: n
|
|
2552
2552
|
}, [
|
|
2553
|
-
|
|
2553
|
+
v("div", {
|
|
2554
2554
|
class: l(e.question.getCheckboxItemCss())
|
|
2555
2555
|
}, [
|
|
2556
|
-
|
|
2556
|
+
v("label", {
|
|
2557
2557
|
class: l(e.question.cssClasses.checkboxLabel)
|
|
2558
2558
|
}, [
|
|
2559
|
-
N(
|
|
2559
|
+
N(v("input", {
|
|
2560
2560
|
type: "checkbox",
|
|
2561
2561
|
name: e.question.name,
|
|
2562
|
-
value: (
|
|
2562
|
+
value: (p = e.question.booleanValue) != null ? p : "",
|
|
2563
2563
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => e.question.booleanValue = d),
|
|
2564
2564
|
class: l(e.question.cssClasses.controlCheckbox),
|
|
2565
2565
|
id: e.question.inputId,
|
|
@@ -2573,14 +2573,14 @@ const to = /* @__PURE__ */ g({
|
|
|
2573
2573
|
}, null, 42, xn), [
|
|
2574
2574
|
[ie, e.question.booleanValue]
|
|
2575
2575
|
]),
|
|
2576
|
-
|
|
2576
|
+
v("span", {
|
|
2577
2577
|
class: l(e.question.cssClasses.checkboxMaterialDecorator)
|
|
2578
2578
|
}, [
|
|
2579
2579
|
e.question.svgIcon ? (i(), u("svg", {
|
|
2580
2580
|
key: 0,
|
|
2581
2581
|
class: l(e.question.cssClasses.checkboxItemDecorator)
|
|
2582
2582
|
}, [
|
|
2583
|
-
|
|
2583
|
+
v("use", {
|
|
2584
2584
|
"xlink:href": e.question.svgIcon
|
|
2585
2585
|
}, null, 8, eo)
|
|
2586
2586
|
], 2)) : m("", !0),
|
|
@@ -2631,9 +2631,9 @@ const to = /* @__PURE__ */ g({
|
|
|
2631
2631
|
ref_key: "root",
|
|
2632
2632
|
ref: n
|
|
2633
2633
|
}, [
|
|
2634
|
-
|
|
2635
|
-
(i(!0), u(D, null, L(w(e), (c,
|
|
2636
|
-
key: t.question.inputId + "rowkey" +
|
|
2634
|
+
v("tbody", null, [
|
|
2635
|
+
(i(!0), u(D, null, L(w(e), (c, p) => (i(), u(D, {
|
|
2636
|
+
key: t.question.inputId + "rowkey" + p
|
|
2637
2637
|
}, [
|
|
2638
2638
|
c.isVisible ? (i(), u("tr", {
|
|
2639
2639
|
key: 0,
|
|
@@ -2663,7 +2663,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2663
2663
|
setup(r) {
|
|
2664
2664
|
const s = r, n = (t) => re(t);
|
|
2665
2665
|
B(() => s.cell.item.editor);
|
|
2666
|
-
const e =
|
|
2666
|
+
const e = I(() => s.cell.item);
|
|
2667
2667
|
return (t, o) => {
|
|
2668
2668
|
const a = y("survey-string"), c = y("survey-errors");
|
|
2669
2669
|
return t.cell.isErrorsCell ? (i(), q(c, {
|
|
@@ -2673,9 +2673,9 @@ const to = /* @__PURE__ */ g({
|
|
|
2673
2673
|
key: 0,
|
|
2674
2674
|
class: l(t.question.getItemLabelCss(e.value))
|
|
2675
2675
|
}, [
|
|
2676
|
-
|
|
2676
|
+
v("span", {
|
|
2677
2677
|
class: l(t.question.getItemTitleCss()),
|
|
2678
|
-
style:
|
|
2678
|
+
style: S({ minWidth: t.question.itemTitleWidth, width: t.question.itemTitleWidth })
|
|
2679
2679
|
}, [
|
|
2680
2680
|
e.value.editor.isRequireTextBeforeTitle || e.value.editor.isRequireTextOnStart ? (i(), u("span", {
|
|
2681
2681
|
key: 0,
|
|
@@ -2694,7 +2694,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2694
2694
|
(i(), u("div", {
|
|
2695
2695
|
key: e.value.editor.id,
|
|
2696
2696
|
class: l(t.question.getItemCss()),
|
|
2697
|
-
onFocusin: o[0] || (o[0] = (
|
|
2697
|
+
onFocusin: o[0] || (o[0] = (p) => e.value.focusIn())
|
|
2698
2698
|
}, [
|
|
2699
2699
|
(i(), q(R(n(e.value.editor)), {
|
|
2700
2700
|
question: e.value.editor
|
|
@@ -2734,28 +2734,28 @@ const to = /* @__PURE__ */ g({
|
|
|
2734
2734
|
ref_key: "root",
|
|
2735
2735
|
ref: n
|
|
2736
2736
|
}, [
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2737
|
+
v("fieldset", null, [
|
|
2738
|
+
v("legend", ao, T(o.question.locTitle.renderedHtml), 1),
|
|
2739
|
+
v("table", {
|
|
2740
2740
|
class: l(o.question.getTableCss())
|
|
2741
2741
|
}, [
|
|
2742
2742
|
o.question.showHeader ? (i(), u("thead", uo, [
|
|
2743
|
-
|
|
2743
|
+
v("tr", null, [
|
|
2744
2744
|
o.question.hasRows ? (i(), u("td", mo)) : m("", !0),
|
|
2745
|
-
(i(!0), u(D, null, L(o.question.visibleColumns, (
|
|
2745
|
+
(i(!0), u(D, null, L(o.question.visibleColumns, (p, d) => (i(), u("th", {
|
|
2746
2746
|
key: d,
|
|
2747
2747
|
class: l(o.question.cssClasses.headerCell),
|
|
2748
|
-
style:
|
|
2748
|
+
style: S({
|
|
2749
2749
|
minWidth: o.question.columnMinWidth,
|
|
2750
2750
|
width: o.question.columnMinWidth
|
|
2751
2751
|
})
|
|
2752
2752
|
}, [
|
|
2753
|
-
(i(), q(R(o.question.getColumnHeaderWrapperComponentName(
|
|
2754
|
-
componentData: o.question.getColumnHeaderWrapperComponentData(
|
|
2753
|
+
(i(), q(R(o.question.getColumnHeaderWrapperComponentName(p)), {
|
|
2754
|
+
componentData: o.question.getColumnHeaderWrapperComponentData(p)
|
|
2755
2755
|
}, {
|
|
2756
2756
|
default: V(() => [
|
|
2757
2757
|
h(c, {
|
|
2758
|
-
locString:
|
|
2758
|
+
locString: p.locText
|
|
2759
2759
|
}, null, 8, ["locString"])
|
|
2760
2760
|
]),
|
|
2761
2761
|
_: 2
|
|
@@ -2763,24 +2763,24 @@ const to = /* @__PURE__ */ g({
|
|
|
2763
2763
|
], 6))), 128))
|
|
2764
2764
|
])
|
|
2765
2765
|
])) : m("", !0),
|
|
2766
|
-
|
|
2767
|
-
(i(!0), u(D, null, L(e.value, (
|
|
2768
|
-
key: "row_" +
|
|
2769
|
-
class: l(
|
|
2766
|
+
v("tbody", null, [
|
|
2767
|
+
(i(!0), u(D, null, L(e.value, (p, d) => (i(), u("tr", {
|
|
2768
|
+
key: "row_" + p.name + "_" + d,
|
|
2769
|
+
class: l(p.rowClasses || void 0)
|
|
2770
2770
|
}, [
|
|
2771
|
-
N(
|
|
2772
|
-
class: l(
|
|
2773
|
-
style:
|
|
2771
|
+
N(v("td", {
|
|
2772
|
+
class: l(p.rowTextClasses),
|
|
2773
|
+
style: S({
|
|
2774
2774
|
minWidth: o.question.rowTitleWidth,
|
|
2775
2775
|
width: o.question.rowTitleWidth
|
|
2776
2776
|
})
|
|
2777
2777
|
}, [
|
|
2778
|
-
(i(), q(R(o.question.getRowHeaderWrapperComponentName(
|
|
2779
|
-
componentData: o.question.getRowHeaderWrapperComponentData(
|
|
2778
|
+
(i(), q(R(o.question.getRowHeaderWrapperComponentName(p)), {
|
|
2779
|
+
componentData: o.question.getRowHeaderWrapperComponentData(p)
|
|
2780
2780
|
}, {
|
|
2781
2781
|
default: V(() => [
|
|
2782
2782
|
h(c, {
|
|
2783
|
-
locString:
|
|
2783
|
+
locString: p.locText
|
|
2784
2784
|
}, null, 8, ["locString"])
|
|
2785
2785
|
]),
|
|
2786
2786
|
_: 2
|
|
@@ -2790,22 +2790,22 @@ const to = /* @__PURE__ */ g({
|
|
|
2790
2790
|
]),
|
|
2791
2791
|
o.question.hasCellText ? (i(!0), u(D, { key: 0 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2792
2792
|
key: k,
|
|
2793
|
-
class: l(o.question.getItemClass(
|
|
2794
|
-
onClick: (f) => t(
|
|
2793
|
+
class: l(o.question.getItemClass(p, C)),
|
|
2794
|
+
onClick: (f) => t(p, C)
|
|
2795
2795
|
}, [
|
|
2796
2796
|
h(c, {
|
|
2797
|
-
locString: o.question.getCellDisplayLocText(
|
|
2797
|
+
locString: o.question.getCellDisplayLocText(p.name, C)
|
|
2798
2798
|
}, null, 8, ["locString"])
|
|
2799
2799
|
], 10, co))), 128)) : m("", !0),
|
|
2800
2800
|
o.question.hasCellText ? m("", !0) : (i(!0), u(D, { key: 1 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2801
2801
|
key: k,
|
|
2802
2802
|
"data-responsive-title": C.locText.renderedHtml,
|
|
2803
2803
|
class: l(o.question.cssClasses.cell),
|
|
2804
|
-
onClick: (f) => t(
|
|
2804
|
+
onClick: (f) => t(p, C)
|
|
2805
2805
|
}, [
|
|
2806
2806
|
(i(), q(R(o.question.cellComponent), {
|
|
2807
2807
|
question: o.question,
|
|
2808
|
-
row:
|
|
2808
|
+
row: p,
|
|
2809
2809
|
column: C,
|
|
2810
2810
|
columnIndex: k
|
|
2811
2811
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
@@ -2846,10 +2846,10 @@ const to = /* @__PURE__ */ g({
|
|
|
2846
2846
|
ref_key: "root",
|
|
2847
2847
|
ref: n
|
|
2848
2848
|
}, [
|
|
2849
|
-
(i(!0), u(D, null, L(t.row.cells, (c,
|
|
2849
|
+
(i(!0), u(D, null, L(t.row.cells, (c, p) => (i(), q(a, {
|
|
2850
2850
|
cell: c,
|
|
2851
2851
|
question: t.question,
|
|
2852
|
-
key: t.row.id + "_" +
|
|
2852
|
+
key: t.row.id + "_" + p
|
|
2853
2853
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2854
2854
|
], 42, yo)) : m("", !0);
|
|
2855
2855
|
};
|
|
@@ -2870,7 +2870,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2870
2870
|
onMousedown: n[1] || (n[1] = (t) => s.question.onMouseDown()),
|
|
2871
2871
|
class: l(s.question.getItemClass(s.row, s.column))
|
|
2872
2872
|
}, [
|
|
2873
|
-
N(
|
|
2873
|
+
N(v("input", {
|
|
2874
2874
|
type: "radio",
|
|
2875
2875
|
class: l(s.question.cssClasses.itemValue),
|
|
2876
2876
|
name: s.row.fullName,
|
|
@@ -2889,14 +2889,14 @@ const to = /* @__PURE__ */ g({
|
|
|
2889
2889
|
}, null, 10, go), [
|
|
2890
2890
|
[ee, s.row.value]
|
|
2891
2891
|
]),
|
|
2892
|
-
|
|
2892
|
+
v("span", {
|
|
2893
2893
|
class: l(s.question.cssClasses.materialDecorator)
|
|
2894
2894
|
}, [
|
|
2895
2895
|
s.question.itemSvgIcon ? (i(), u("svg", {
|
|
2896
2896
|
key: 0,
|
|
2897
2897
|
class: l(s.question.cssClasses.itemDecorator)
|
|
2898
2898
|
}, [
|
|
2899
|
-
|
|
2899
|
+
v("use", {
|
|
2900
2900
|
"xlink:href": s.question.itemSvgIcon
|
|
2901
2901
|
}, null, 8, ho)
|
|
2902
2902
|
], 2)) : m("", !0)
|
|
@@ -2935,23 +2935,23 @@ const to = /* @__PURE__ */ g({
|
|
|
2935
2935
|
question: {}
|
|
2936
2936
|
},
|
|
2937
2937
|
setup(r) {
|
|
2938
|
-
const s = r, n =
|
|
2938
|
+
const s = r, n = I(() => s.question.renderedTable);
|
|
2939
2939
|
return B(() => n.value), (e, t) => {
|
|
2940
|
-
const o = y("survey-string"), a = y("survey-matrixheaderrequired"), c = y("survey-matrix-row"),
|
|
2940
|
+
const o = y("survey-string"), a = y("survey-matrixheaderrequired"), c = y("survey-matrix-row"), p = y("survey-matrixdropdown-cell");
|
|
2941
2941
|
return i(), u("div", {
|
|
2942
|
-
style:
|
|
2942
|
+
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2943
2943
|
class: l(e.question.cssClasses.tableWrapper)
|
|
2944
2944
|
}, [
|
|
2945
|
-
|
|
2945
|
+
v("table", {
|
|
2946
2946
|
class: l(e.question.getTableCss())
|
|
2947
2947
|
}, [
|
|
2948
2948
|
n.value.showHeader ? (i(), u("thead", ko, [
|
|
2949
|
-
|
|
2949
|
+
v("tr", null, [
|
|
2950
2950
|
(i(!0), u(D, null, L(n.value.headerRow.cells, (d) => (i(), u(D, null, [
|
|
2951
2951
|
d.hasTitle ? (i(), u("th", {
|
|
2952
2952
|
key: "header_" + d.id,
|
|
2953
2953
|
class: l(d.className),
|
|
2954
|
-
style:
|
|
2954
|
+
style: S({ minWidth: d.minWidth, width: d.width })
|
|
2955
2955
|
}, [
|
|
2956
2956
|
(i(), q(R(e.question.getColumnHeaderWrapperComponentName(d)), {
|
|
2957
2957
|
componentData: e.question.getColumnHeaderWrapperComponentData(d)
|
|
@@ -2972,12 +2972,12 @@ const to = /* @__PURE__ */ g({
|
|
|
2972
2972
|
d.hasTitle ? m("", !0) : (i(), u("td", {
|
|
2973
2973
|
class: l(d.className),
|
|
2974
2974
|
key: "header_" + d.id,
|
|
2975
|
-
style:
|
|
2975
|
+
style: S({ minWidth: d.minWidth, width: d.width })
|
|
2976
2976
|
}, null, 6))
|
|
2977
2977
|
], 64))), 256))
|
|
2978
2978
|
])
|
|
2979
2979
|
])) : m("", !0),
|
|
2980
|
-
|
|
2980
|
+
v("tbody", null, [
|
|
2981
2981
|
(i(!0), u(D, null, L(n.value.renderedRows, (d) => (i(), q(c, {
|
|
2982
2982
|
key: e.question.inputId + "_" + d.id,
|
|
2983
2983
|
row: d,
|
|
@@ -2985,8 +2985,8 @@ const to = /* @__PURE__ */ g({
|
|
|
2985
2985
|
}, null, 8, ["row", "question"]))), 128))
|
|
2986
2986
|
]),
|
|
2987
2987
|
n.value.showFooter ? (i(), u("tfoot", fo, [
|
|
2988
|
-
|
|
2989
|
-
(i(!0), u(D, null, L(n.value.footerRow.cells, (d, C) => (i(), q(
|
|
2988
|
+
v("tr", null, [
|
|
2989
|
+
(i(!0), u(D, null, L(n.value.footerRow.cells, (d, C) => (i(), q(p, {
|
|
2990
2990
|
cell: d,
|
|
2991
2991
|
question: e.question,
|
|
2992
2992
|
key: "footer_" + C
|
|
@@ -2997,7 +2997,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2997
2997
|
], 6);
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
3000
|
-
}), Io = /* @__PURE__ */
|
|
3000
|
+
}), Io = /* @__PURE__ */ v("span", null, "\xA0", -1), So = /* @__PURE__ */ g({
|
|
3001
3001
|
__name: "MatrixHeaderRequired",
|
|
3002
3002
|
props: {
|
|
3003
3003
|
question: {},
|
|
@@ -3038,7 +3038,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3038
3038
|
};
|
|
3039
3039
|
s.question.survey.matrixAfterCellRender(s.question, k), C && C.afterRenderCore(d);
|
|
3040
3040
|
});
|
|
3041
|
-
const c =
|
|
3041
|
+
const c = I(() => {
|
|
3042
3042
|
const d = s.cell;
|
|
3043
3043
|
if (d.hasPanel) {
|
|
3044
3044
|
const C = d.panel, k = C.survey;
|
|
@@ -3049,7 +3049,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3049
3049
|
}
|
|
3050
3050
|
return "survey-panel";
|
|
3051
3051
|
}
|
|
3052
|
-
}),
|
|
3052
|
+
}), p = I(() => {
|
|
3053
3053
|
if (s.cell.hasPanel) {
|
|
3054
3054
|
const C = s.cell.panel, k = C.survey;
|
|
3055
3055
|
let f;
|
|
@@ -3065,10 +3065,11 @@ const to = /* @__PURE__ */ g({
|
|
|
3065
3065
|
});
|
|
3066
3066
|
return (d, C) => {
|
|
3067
3067
|
const k = y("survey-errors"), f = y("sv-matrix-drag-drop-icon"), _ = y("sv-action-bar"), b = y("survey-string"), A = y("survey-radiogroup-item"), W = y("survey-checkbox-item"), F = y("survey-other-choice");
|
|
3068
|
-
return i(), u("td", {
|
|
3068
|
+
return d.cell.isVisible ? (i(), u("td", {
|
|
3069
|
+
key: 0,
|
|
3069
3070
|
class: l(d.cell.className),
|
|
3070
3071
|
title: d.cell.getTitle(),
|
|
3071
|
-
style:
|
|
3072
|
+
style: S(t()),
|
|
3072
3073
|
colspan: d.cell.colSpans,
|
|
3073
3074
|
onFocusin: C[0] || (C[0] = (J) => d.cell.focusIn()),
|
|
3074
3075
|
ref_key: "root",
|
|
@@ -3087,7 +3088,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3087
3088
|
model: d.cell.item.getData(),
|
|
3088
3089
|
handleClick: !1
|
|
3089
3090
|
}, null, 8, ["model"])) : m("", !0),
|
|
3090
|
-
d.cell.hasPanel ? (i(), q(R(c.value), z(H({ key: 3 },
|
|
3091
|
+
d.cell.hasPanel ? (i(), q(R(c.value), z(H({ key: 3 }, p.value)), null, 16)) : m("", !0),
|
|
3091
3092
|
d.cell.showResponsiveTitle ? (i(), u("span", {
|
|
3092
3093
|
key: 4,
|
|
3093
3094
|
class: l(d.cell.responsiveTitleCss)
|
|
@@ -3158,7 +3159,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3158
3159
|
]),
|
|
3159
3160
|
_: 1
|
|
3160
3161
|
}, 8, ["componentData"])) : m("", !0)
|
|
3161
|
-
], 46, Ro);
|
|
3162
|
+
], 46, Ro)) : m("", !0);
|
|
3162
3163
|
};
|
|
3163
3164
|
}
|
|
3164
3165
|
}), $o = /* @__PURE__ */ g({
|
|
@@ -3183,7 +3184,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3183
3184
|
key: 0,
|
|
3184
3185
|
class: l(t.question.cssClasses.footer)
|
|
3185
3186
|
}, [
|
|
3186
|
-
|
|
3187
|
+
v("button", {
|
|
3187
3188
|
type: "button",
|
|
3188
3189
|
class: l(t.question.getAddRowButtonCss()),
|
|
3189
3190
|
onClick: e
|
|
@@ -3191,7 +3192,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3191
3192
|
h(a, {
|
|
3192
3193
|
locString: t.question.locAddRowText
|
|
3193
3194
|
}, null, 8, ["locString"]),
|
|
3194
|
-
|
|
3195
|
+
v("span", {
|
|
3195
3196
|
class: l(t.question.cssClasses.iconAdd)
|
|
3196
3197
|
}, null, 2)
|
|
3197
3198
|
], 2)
|
|
@@ -3204,7 +3205,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3204
3205
|
key: 2,
|
|
3205
3206
|
class: l(t.question.cssClasses.emptyRowsSection)
|
|
3206
3207
|
}, [
|
|
3207
|
-
|
|
3208
|
+
v("div", {
|
|
3208
3209
|
class: l(t.question.cssClasses.emptyRowsText)
|
|
3209
3210
|
}, [
|
|
3210
3211
|
h(a, {
|
|
@@ -3220,7 +3221,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3220
3221
|
h(a, {
|
|
3221
3222
|
locString: t.question.locAddRowText
|
|
3222
3223
|
}, null, 8, ["locString"]),
|
|
3223
|
-
|
|
3224
|
+
v("span", {
|
|
3224
3225
|
class: l(t.question.cssClasses.iconAdd)
|
|
3225
3226
|
}, null, 2)
|
|
3226
3227
|
], 2)) : m("", !0)
|
|
@@ -3229,7 +3230,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3229
3230
|
key: 3,
|
|
3230
3231
|
class: l(t.question.cssClasses.footer)
|
|
3231
3232
|
}, [
|
|
3232
|
-
|
|
3233
|
+
v("button", {
|
|
3233
3234
|
type: "button",
|
|
3234
3235
|
class: l(t.question.getAddRowButtonCss()),
|
|
3235
3236
|
onClick: e
|
|
@@ -3237,7 +3238,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3237
3238
|
h(a, {
|
|
3238
3239
|
locString: t.question.locAddRowText
|
|
3239
3240
|
}, null, 8, ["locString"]),
|
|
3240
|
-
|
|
3241
|
+
v("span", {
|
|
3241
3242
|
class: l(t.question.cssClasses.iconAdd)
|
|
3242
3243
|
}, null, 2)
|
|
3243
3244
|
], 2)
|
|
@@ -3248,8 +3249,8 @@ const to = /* @__PURE__ */ g({
|
|
|
3248
3249
|
});
|
|
3249
3250
|
function le(r, s = !0) {
|
|
3250
3251
|
return {
|
|
3251
|
-
question:
|
|
3252
|
-
row: s ?
|
|
3252
|
+
question: I(() => r.item.data.question),
|
|
3253
|
+
row: s ? I(() => r.item.data.row) : void 0
|
|
3253
3254
|
};
|
|
3254
3255
|
}
|
|
3255
3256
|
const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
@@ -3270,7 +3271,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3270
3271
|
h(a, {
|
|
3271
3272
|
locString: w(n).locRemoveRowText
|
|
3272
3273
|
}, null, 8, ["locString"]),
|
|
3273
|
-
|
|
3274
|
+
v("span", {
|
|
3274
3275
|
class: l(w(n).cssClasses.iconRemove)
|
|
3275
3276
|
}, null, 2)
|
|
3276
3277
|
], 10, Do);
|
|
@@ -3287,7 +3288,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3287
3288
|
key: 0,
|
|
3288
3289
|
class: l(w(n).cssClasses.dragElementDecorator)
|
|
3289
3290
|
}, [
|
|
3290
|
-
|
|
3291
|
+
v("use", {
|
|
3291
3292
|
"xlink:href": w(n).iconDragElement
|
|
3292
3293
|
}, null, 8, Bo)
|
|
3293
3294
|
], 2)) : (i(), u("span", {
|
|
@@ -3333,14 +3334,14 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3333
3334
|
n,
|
|
3334
3335
|
(c) => {
|
|
3335
3336
|
c.panelCountChangedCallback = () => {
|
|
3336
|
-
var
|
|
3337
|
-
(
|
|
3337
|
+
var p;
|
|
3338
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3338
3339
|
}, c.currentIndexChangedCallback = () => {
|
|
3339
|
-
var
|
|
3340
|
-
(
|
|
3340
|
+
var p;
|
|
3341
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3341
3342
|
}, c.renderModeChangedCallback = () => {
|
|
3342
|
-
var
|
|
3343
|
-
(
|
|
3343
|
+
var p;
|
|
3344
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3344
3345
|
};
|
|
3345
3346
|
},
|
|
3346
3347
|
(c) => {
|
|
@@ -3351,17 +3352,17 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3351
3352
|
}
|
|
3352
3353
|
);
|
|
3353
3354
|
const t = () => s.question.showLegacyNavigation, o = (c) => {
|
|
3354
|
-
const
|
|
3355
|
-
if (
|
|
3356
|
-
const d =
|
|
3355
|
+
const p = s.question.getSurvey();
|
|
3356
|
+
if (p) {
|
|
3357
|
+
const d = p.getElementWrapperComponentName(c);
|
|
3357
3358
|
if (d)
|
|
3358
3359
|
return d;
|
|
3359
3360
|
}
|
|
3360
3361
|
return "panel";
|
|
3361
3362
|
}, a = (c) => {
|
|
3362
|
-
const
|
|
3363
|
+
const p = s.question.getSurvey();
|
|
3363
3364
|
let d;
|
|
3364
|
-
return
|
|
3365
|
+
return p && (d = p.getElementWrapperComponentData(c)), {
|
|
3365
3366
|
componentName: "survey-panel",
|
|
3366
3367
|
componentData: {
|
|
3367
3368
|
element: c,
|
|
@@ -3369,7 +3370,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3369
3370
|
}
|
|
3370
3371
|
};
|
|
3371
3372
|
};
|
|
3372
|
-
return (c,
|
|
3373
|
+
return (c, p) => {
|
|
3373
3374
|
const d = y("survey-string"), C = y("sv-paneldynamic-add-btn"), k = y("survey-paneldynamicprogress"), f = y("sv-paneldynamic-remove-btn"), _ = y("survey-paneldynamicprogress-v2");
|
|
3374
3375
|
return i(), u("div", {
|
|
3375
3376
|
class: l(c.question.cssClasses.root),
|
|
@@ -3380,7 +3381,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3380
3381
|
key: 0,
|
|
3381
3382
|
class: l(c.question.cssClasses.noEntriesPlaceholder)
|
|
3382
3383
|
}, [
|
|
3383
|
-
|
|
3384
|
+
v("span", null, [
|
|
3384
3385
|
h(d, {
|
|
3385
3386
|
locString: c.question.locNoEntriesText
|
|
3386
3387
|
}, null, 8, ["locString"])
|
|
@@ -3393,9 +3394,9 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3393
3394
|
key: 1,
|
|
3394
3395
|
class: l(c.question.cssClasses.progress)
|
|
3395
3396
|
}, [
|
|
3396
|
-
|
|
3397
|
+
v("div", {
|
|
3397
3398
|
class: l(c.question.cssClasses.progressBar),
|
|
3398
|
-
style:
|
|
3399
|
+
style: S({ width: c.question.progress }),
|
|
3399
3400
|
role: "progressbar"
|
|
3400
3401
|
}, null, 6)
|
|
3401
3402
|
], 2)) : m("", !0),
|
|
@@ -3403,13 +3404,13 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3403
3404
|
key: 2,
|
|
3404
3405
|
question: c.question
|
|
3405
3406
|
}, null, 8, ["question"])) : m("", !0),
|
|
3406
|
-
|
|
3407
|
+
v("div", {
|
|
3407
3408
|
class: l(c.question.cssClasses.panelsContainer)
|
|
3408
3409
|
}, [
|
|
3409
3410
|
(i(!0), u(D, null, L(c.question.renderedPanels, (b, A) => (i(), u(D, {
|
|
3410
3411
|
key: b.id
|
|
3411
3412
|
}, [
|
|
3412
|
-
|
|
3413
|
+
v("div", {
|
|
3413
3414
|
class: l(c.question.getPanelWrapperCss(b))
|
|
3414
3415
|
}, [
|
|
3415
3416
|
(i(), q(R(o(b)), z(te(a(b))), null, 16)),
|
|
@@ -3447,15 +3448,15 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3447
3448
|
setup(r) {
|
|
3448
3449
|
const s = r, n = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3449
3450
|
return (e, t) => {
|
|
3450
|
-
const o = y("sv-paneldynamic-prev-btn"), a = y("sv-paneldynamic-next-btn"), c = y("sv-paneldynamic-add-btn"),
|
|
3451
|
+
const o = y("sv-paneldynamic-prev-btn"), a = y("sv-paneldynamic-next-btn"), c = y("sv-paneldynamic-add-btn"), p = y("sv-paneldynamic-progress-text");
|
|
3451
3452
|
return i(), u("div", {
|
|
3452
3453
|
class: l(n())
|
|
3453
3454
|
}, [
|
|
3454
|
-
|
|
3455
|
+
v("div", {
|
|
3455
3456
|
style: { clear: "both" },
|
|
3456
3457
|
class: l(n())
|
|
3457
3458
|
}, [
|
|
3458
|
-
|
|
3459
|
+
v("div", {
|
|
3459
3460
|
class: l(e.question.cssClasses.progressContainer)
|
|
3460
3461
|
}, [
|
|
3461
3462
|
h(o, {
|
|
@@ -3465,9 +3466,9 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3465
3466
|
key: 0,
|
|
3466
3467
|
class: l(e.question.cssClasses.progress)
|
|
3467
3468
|
}, [
|
|
3468
|
-
|
|
3469
|
+
v("div", {
|
|
3469
3470
|
class: l(e.question.cssClasses.progressBar),
|
|
3470
|
-
style:
|
|
3471
|
+
style: S({ width: e.question.progress }),
|
|
3471
3472
|
role: "progressbar"
|
|
3472
3473
|
}, null, 6)
|
|
3473
3474
|
], 2)) : m("", !0),
|
|
@@ -3478,7 +3479,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3478
3479
|
h(c, {
|
|
3479
3480
|
data: { question: e.question }
|
|
3480
3481
|
}, null, 8, ["data"]),
|
|
3481
|
-
h(
|
|
3482
|
+
h(p, {
|
|
3482
3483
|
data: { question: e.question }
|
|
3483
3484
|
}, null, 8, ["data"])
|
|
3484
3485
|
], 2)
|
|
@@ -3497,16 +3498,16 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3497
3498
|
key: 0,
|
|
3498
3499
|
class: l(s.question.cssClasses.footer)
|
|
3499
3500
|
}, [
|
|
3500
|
-
|
|
3501
|
+
v("hr", {
|
|
3501
3502
|
class: l(s.question.cssClasses.separator)
|
|
3502
3503
|
}, null, 2),
|
|
3503
3504
|
s.question.isRangeShowing && s.question.isProgressBottomShowing ? (i(), u("div", {
|
|
3504
3505
|
key: 0,
|
|
3505
3506
|
class: l(s.question.cssClasses.progress)
|
|
3506
3507
|
}, [
|
|
3507
|
-
|
|
3508
|
+
v("div", {
|
|
3508
3509
|
class: l(s.question.cssClasses.progressBar),
|
|
3509
|
-
style:
|
|
3510
|
+
style: S({ width: s.question.progress }),
|
|
3510
3511
|
role: "progressbar"
|
|
3511
3512
|
}, null, 6)
|
|
3512
3513
|
], 2)) : m("", !0),
|
|
@@ -3523,7 +3524,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3523
3524
|
}
|
|
3524
3525
|
});
|
|
3525
3526
|
function Y(r) {
|
|
3526
|
-
return
|
|
3527
|
+
return I(
|
|
3527
3528
|
() => r.item && r.item.data.question || r.data.question
|
|
3528
3529
|
);
|
|
3529
3530
|
}
|
|
@@ -3545,7 +3546,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3545
3546
|
class: l(w(n).getAddButtonCss()),
|
|
3546
3547
|
onClick: e
|
|
3547
3548
|
}, [
|
|
3548
|
-
|
|
3549
|
+
v("span", {
|
|
3549
3550
|
class: l(w(n).cssClasses.buttonAddText)
|
|
3550
3551
|
}, [
|
|
3551
3552
|
h(a, {
|
|
@@ -3610,7 +3611,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3610
3611
|
data: {}
|
|
3611
3612
|
},
|
|
3612
3613
|
setup(r) {
|
|
3613
|
-
const s = r, n = Y(s), e =
|
|
3614
|
+
const s = r, n = Y(s), e = I(
|
|
3614
3615
|
() => s.item && s.item.data.panel || s.data.panel
|
|
3615
3616
|
), t = (o) => {
|
|
3616
3617
|
n.value.isInputReadOnly || n.value.removePanelUI(o);
|
|
@@ -3620,16 +3621,16 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3620
3621
|
return i(), u("button", {
|
|
3621
3622
|
type: "button",
|
|
3622
3623
|
class: l(w(n).getPanelRemoveButtonCss()),
|
|
3623
|
-
onClick: a[0] || (a[0] = (
|
|
3624
|
+
onClick: a[0] || (a[0] = (p) => t(e.value))
|
|
3624
3625
|
}, [
|
|
3625
|
-
|
|
3626
|
+
v("span", {
|
|
3626
3627
|
class: l(w(n).cssClasses.buttonRemoveText)
|
|
3627
3628
|
}, [
|
|
3628
3629
|
h(c, {
|
|
3629
3630
|
locString: w(n).locPanelRemoveText
|
|
3630
3631
|
}, null, 8, ["locString"])
|
|
3631
3632
|
], 2),
|
|
3632
|
-
|
|
3633
|
+
v("span", {
|
|
3633
3634
|
class: l(w(n).cssClasses.iconRemove)
|
|
3634
3635
|
}, null, 2)
|
|
3635
3636
|
], 2);
|
|
@@ -3691,7 +3692,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3691
3692
|
placeholder: s.question.renderedCommentPlaceholder,
|
|
3692
3693
|
"aria-label": s.question.ariaLabel || s.question.a11y_input_ariaLabel,
|
|
3693
3694
|
"aria-required": s.question.ariaRequired || s.question.a11y_input_ariaRequired,
|
|
3694
|
-
style:
|
|
3695
|
+
style: S({ resize: s.question.resizeStyle }),
|
|
3695
3696
|
onChange: n[0] || (n[0] = (e) => {
|
|
3696
3697
|
s.question.onCommentChange(e);
|
|
3697
3698
|
}),
|
|
@@ -3748,7 +3749,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3748
3749
|
css: {}
|
|
3749
3750
|
},
|
|
3750
3751
|
setup(r) {
|
|
3751
|
-
const s = r, n =
|
|
3752
|
+
const s = r, n = I(
|
|
3752
3753
|
() => (s.element.isPanel ? s.element.cssClasses.panel : s.element.cssClasses) || {}
|
|
3753
3754
|
);
|
|
3754
3755
|
return (e, t) => {
|
|
@@ -3796,11 +3797,11 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3796
3797
|
css: {}
|
|
3797
3798
|
},
|
|
3798
3799
|
setup(r) {
|
|
3799
|
-
const s = r, n =
|
|
3800
|
+
const s = r, n = I(() => s.element.getTitleToolbar());
|
|
3800
3801
|
return (e, t) => {
|
|
3801
3802
|
const o = y("survey-string"), a = y("survey-element-title-content"), c = y("sv-action-bar");
|
|
3802
3803
|
return i(), u("div", st, [
|
|
3803
|
-
|
|
3804
|
+
v("span", nt, [
|
|
3804
3805
|
e.element.isPage ? (i(), q(o, {
|
|
3805
3806
|
key: 0,
|
|
3806
3807
|
locString: e.element.locTitle
|
|
@@ -3826,7 +3827,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3826
3827
|
function at(r, s) {
|
|
3827
3828
|
return i(), u("div", it, lt);
|
|
3828
3829
|
}
|
|
3829
|
-
const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */
|
|
3830
|
+
const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ v("use", null, null, -1), mt = [
|
|
3830
3831
|
dt
|
|
3831
3832
|
], ct = /* @__PURE__ */ g({
|
|
3832
3833
|
__name: "SvgIcon",
|
|
@@ -3871,13 +3872,13 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3871
3872
|
return (s, n) => {
|
|
3872
3873
|
const e = y("survey-string");
|
|
3873
3874
|
return i(), u("div", { key: s.errorKey }, [
|
|
3874
|
-
|
|
3875
|
+
v("span", {
|
|
3875
3876
|
class: l(
|
|
3876
3877
|
s.cssClasses ? s.cssClasses.error.icon || void 0 : "panel-error-icon"
|
|
3877
3878
|
),
|
|
3878
3879
|
"aria-hidden": "true"
|
|
3879
3880
|
}, null, 2),
|
|
3880
|
-
|
|
3881
|
+
v("span", {
|
|
3881
3882
|
class: l(
|
|
3882
3883
|
s.cssClasses ? s.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3883
3884
|
)
|
|
@@ -3915,9 +3916,9 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3915
3916
|
class: l(o.model.getRootCss()),
|
|
3916
3917
|
onClick: e
|
|
3917
3918
|
}, [
|
|
3918
|
-
(i(!0), u(D, null, L(w(t), (
|
|
3919
|
-
key:
|
|
3920
|
-
item:
|
|
3919
|
+
(i(!0), u(D, null, L(w(t), (p) => (i(), q(c, {
|
|
3920
|
+
key: p.id,
|
|
3921
|
+
item: p
|
|
3921
3922
|
}, null, 8, ["item"]))), 128))
|
|
3922
3923
|
], 2)) : m("", !0);
|
|
3923
3924
|
};
|
|
@@ -3928,7 +3929,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3928
3929
|
item: {}
|
|
3929
3930
|
},
|
|
3930
3931
|
setup(r) {
|
|
3931
|
-
const s = r, n =
|
|
3932
|
+
const s = r, n = I(
|
|
3932
3933
|
() => s.item.component || "sv-action-bar-item"
|
|
3933
3934
|
);
|
|
3934
3935
|
return B(() => s.item), (e, t) => {
|
|
@@ -3937,7 +3938,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3937
3938
|
class: l(e.item.getActionRootCss()),
|
|
3938
3939
|
id: e.item.id
|
|
3939
3940
|
}, [
|
|
3940
|
-
|
|
3941
|
+
v("div", qt, [
|
|
3941
3942
|
e.item.needSeparator ? (i(), q(o, { key: 0 })) : m("", !0),
|
|
3942
3943
|
(i(), q(R(n.value), { item: e.item }, null, 8, ["item"]))
|
|
3943
3944
|
])
|
|
@@ -3965,8 +3966,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3965
3966
|
onKeyup: e[1] || (e[1] = (a) => {
|
|
3966
3967
|
a.stopPropagation();
|
|
3967
3968
|
}),
|
|
3968
|
-
onMousedown: e[2] || (e[2] = () => {
|
|
3969
|
-
n.item.doMouseDown();
|
|
3969
|
+
onMousedown: e[2] || (e[2] = (a) => {
|
|
3970
|
+
n.item.doMouseDown(a);
|
|
3970
3971
|
}),
|
|
3971
3972
|
onFocus: e[3] || (e[3] = (a) => {
|
|
3972
3973
|
n.item.doFocus(a);
|
|
@@ -4013,7 +4014,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4013
4014
|
e.dispose();
|
|
4014
4015
|
}
|
|
4015
4016
|
), (t, o) => {
|
|
4016
|
-
const a = y("sv-svg-icon"), c = y("sv-popup"),
|
|
4017
|
+
const a = y("sv-svg-icon"), c = y("sv-popup"), p = X("key2click");
|
|
4017
4018
|
return i(), u(D, null, [
|
|
4018
4019
|
N((i(), u("button", {
|
|
4019
4020
|
type: "button",
|
|
@@ -4040,7 +4041,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4040
4041
|
class: l(t.item.getActionBarItemTitleCss())
|
|
4041
4042
|
}, T(t.item.title), 3)) : m("", !0)
|
|
4042
4043
|
], 42, kt)), [
|
|
4043
|
-
[
|
|
4044
|
+
[p, { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4044
4045
|
]),
|
|
4045
4046
|
h(c, {
|
|
4046
4047
|
model: t.item.popupModel,
|
|
@@ -4055,7 +4056,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4055
4056
|
item: {}
|
|
4056
4057
|
},
|
|
4057
4058
|
setup(r) {
|
|
4058
|
-
const s = r, n =
|
|
4059
|
+
const s = r, n = I(() => s.item && s.item.innerCss);
|
|
4059
4060
|
return (e, t) => (i(), u("div", {
|
|
4060
4061
|
class: l(["sv-action-bar-separator", n.value])
|
|
4061
4062
|
}, null, 2));
|
|
@@ -4067,17 +4068,17 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4067
4068
|
},
|
|
4068
4069
|
setup(r) {
|
|
4069
4070
|
const s = r, n = $(null), e = (c) => {
|
|
4070
|
-
const
|
|
4071
|
-
|
|
4071
|
+
const p = s.model;
|
|
4072
|
+
p.filterString = c.target.value;
|
|
4072
4073
|
}, t = (c) => {
|
|
4073
|
-
const
|
|
4074
|
-
|
|
4074
|
+
const p = s.model;
|
|
4075
|
+
p.filterString = c.target.value, s.model.goToItems(c);
|
|
4075
4076
|
}, o = (c) => {
|
|
4076
4077
|
s.model.onMouseMove(c);
|
|
4077
4078
|
}, a = ne(() => s.model.renderedActions);
|
|
4078
4079
|
return B(() => s.model), M(() => {
|
|
4079
4080
|
s.model.initListContainerHtmlElement(n.value);
|
|
4080
|
-
}), (c,
|
|
4081
|
+
}), (c, p) => {
|
|
4081
4082
|
const d = y("sv-svg-icon"), C = y("sv-list-item");
|
|
4082
4083
|
return i(), u("div", {
|
|
4083
4084
|
class: l(c.model.cssClasses.root),
|
|
@@ -4088,7 +4089,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4088
4089
|
key: 0,
|
|
4089
4090
|
class: l(c.model.cssClasses.filter)
|
|
4090
4091
|
}, [
|
|
4091
|
-
|
|
4092
|
+
v("div", {
|
|
4092
4093
|
class: l(c.model.cssClasses.filterIcon)
|
|
4093
4094
|
}, [
|
|
4094
4095
|
h(d, {
|
|
@@ -4096,7 +4097,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4096
4097
|
size: "auto"
|
|
4097
4098
|
})
|
|
4098
4099
|
], 2),
|
|
4099
|
-
|
|
4100
|
+
v("input", {
|
|
4100
4101
|
type: "text",
|
|
4101
4102
|
class: l(c.model.cssClasses.filterInput),
|
|
4102
4103
|
"aria-label": c.model.filterStringPlaceholder,
|
|
@@ -4107,7 +4108,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4107
4108
|
}, null, 42, St),
|
|
4108
4109
|
c.model.showSearchClearButton && !!c.model.filterString ? (i(), u("button", {
|
|
4109
4110
|
key: 0,
|
|
4110
|
-
onClick:
|
|
4111
|
+
onClick: p[0] || (p[0] = (k) => {
|
|
4111
4112
|
c.model.onClickSearchClearButton(k);
|
|
4112
4113
|
}),
|
|
4113
4114
|
class: l(c.model.cssClasses.searchClearButtonIcon)
|
|
@@ -4118,10 +4119,10 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4118
4119
|
})
|
|
4119
4120
|
], 2)) : m("", !0)
|
|
4120
4121
|
], 2)) : m("", !0),
|
|
4121
|
-
N(
|
|
4122
|
+
N(v("div", {
|
|
4122
4123
|
class: l(c.model.cssClasses.emptyContainer)
|
|
4123
4124
|
}, [
|
|
4124
|
-
|
|
4125
|
+
v("div", {
|
|
4125
4126
|
class: l(c.model.cssClasses.emptyText),
|
|
4126
4127
|
"aria-label": c.model.emptyMessage
|
|
4127
4128
|
}, T(c.model.emptyMessage), 11, Rt)
|
|
@@ -4133,11 +4134,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4133
4134
|
class: l(c.model.getListClass()),
|
|
4134
4135
|
role: "listbox",
|
|
4135
4136
|
id: c.model.elementId,
|
|
4136
|
-
onMousedown:
|
|
4137
|
+
onMousedown: p[1] || (p[1] = (k) => {
|
|
4137
4138
|
k.preventDefault();
|
|
4138
4139
|
}),
|
|
4139
4140
|
onMousemove: o,
|
|
4140
|
-
onKeydown:
|
|
4141
|
+
onKeydown: p[2] || (p[2] = (k) => {
|
|
4141
4142
|
c.model.onKeyDown(k);
|
|
4142
4143
|
})
|
|
4143
4144
|
}, [
|
|
@@ -4159,44 +4160,48 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4159
4160
|
item: {}
|
|
4160
4161
|
},
|
|
4161
4162
|
setup(r) {
|
|
4162
|
-
const s = r, n =
|
|
4163
|
-
s.model.onItemClick(s.item),
|
|
4163
|
+
const s = r, n = I(() => s.item.elementId), e = (o) => {
|
|
4164
|
+
s.model.onItemClick(s.item), o.stopPropagation();
|
|
4164
4165
|
};
|
|
4165
|
-
|
|
4166
|
+
B(() => s.item);
|
|
4167
|
+
const t = I(
|
|
4168
|
+
() => s.item.component || s.model.itemComponent
|
|
4169
|
+
);
|
|
4170
|
+
return M(() => {
|
|
4166
4171
|
setTimeout(() => {
|
|
4167
4172
|
s.model.onLastItemRended(s.item);
|
|
4168
4173
|
});
|
|
4169
|
-
}), (
|
|
4170
|
-
const
|
|
4174
|
+
}), (o, a) => {
|
|
4175
|
+
const c = X("key2click");
|
|
4171
4176
|
return N((i(), u("li", {
|
|
4172
4177
|
role: "option",
|
|
4173
|
-
"aria-selected":
|
|
4174
|
-
key:
|
|
4178
|
+
"aria-selected": o.model.isItemSelected(o.item),
|
|
4179
|
+
key: o.item.id,
|
|
4175
4180
|
id: n.value,
|
|
4176
|
-
onPointerdown:
|
|
4177
|
-
class: l(
|
|
4181
|
+
onPointerdown: a[2] || (a[2] = (p) => o.model.onPointerDown(p, o.item)),
|
|
4182
|
+
class: l(o.model.getItemClass(o.item)),
|
|
4178
4183
|
onClick: e,
|
|
4179
|
-
tabindex:
|
|
4184
|
+
tabindex: o.item.disableTabStop ? -1 : 0
|
|
4180
4185
|
}, [
|
|
4181
|
-
|
|
4186
|
+
o.item.needSeparator ? (i(), u("div", {
|
|
4182
4187
|
key: 0,
|
|
4183
|
-
class: l(
|
|
4188
|
+
class: l(o.model.cssClasses.itemSeparator)
|
|
4184
4189
|
}, null, 2)) : m("", !0),
|
|
4185
|
-
|
|
4186
|
-
style:
|
|
4187
|
-
class: l(
|
|
4188
|
-
title:
|
|
4189
|
-
onMouseover:
|
|
4190
|
-
onMouseleave:
|
|
4190
|
+
v("div", {
|
|
4191
|
+
style: S({ paddingInlineStart: o.model.getItemIndent(o.item) }),
|
|
4192
|
+
class: l(o.model.cssClasses.itemBody),
|
|
4193
|
+
title: o.item.locTitle.calculatedText,
|
|
4194
|
+
onMouseover: a[0] || (a[0] = (p) => o.model.onItemHover(o.item)),
|
|
4195
|
+
onMouseleave: a[1] || (a[1] = (p) => o.model.onItemLeave(o.item))
|
|
4191
4196
|
}, [
|
|
4192
|
-
(i(), q(R(t.
|
|
4193
|
-
item:
|
|
4194
|
-
model:
|
|
4197
|
+
(i(), q(R(t.value), {
|
|
4198
|
+
item: o.item,
|
|
4199
|
+
model: o.model
|
|
4195
4200
|
}, null, 8, ["item", "model"]))
|
|
4196
4201
|
], 46, _t)
|
|
4197
4202
|
], 42, Dt)), [
|
|
4198
|
-
[E,
|
|
4199
|
-
[
|
|
4203
|
+
[E, o.model.isItemVisible(o.item)],
|
|
4204
|
+
[c, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4200
4205
|
]);
|
|
4201
4206
|
};
|
|
4202
4207
|
}
|
|
@@ -4238,13 +4243,13 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4238
4243
|
setup(r) {
|
|
4239
4244
|
const s = r;
|
|
4240
4245
|
return B(() => s.item), (n, e) => {
|
|
4241
|
-
const t = y("sv-
|
|
4246
|
+
const t = y("sv-popup");
|
|
4242
4247
|
return i(), u(D, null, [
|
|
4243
|
-
|
|
4248
|
+
(i(), q(R("sv-list-item-content"), {
|
|
4244
4249
|
item: n.item,
|
|
4245
4250
|
model: n.model
|
|
4246
|
-
}, null, 8, ["item", "model"]),
|
|
4247
|
-
h(
|
|
4251
|
+
}, null, 8, ["item", "model"])),
|
|
4252
|
+
h(t, {
|
|
4248
4253
|
model: n.item.popupModel
|
|
4249
4254
|
}, null, 8, ["model"])
|
|
4250
4255
|
], 64);
|
|
@@ -4318,9 +4323,9 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4318
4323
|
e.model.clickOutside(a);
|
|
4319
4324
|
})
|
|
4320
4325
|
}, [
|
|
4321
|
-
|
|
4326
|
+
v("div", {
|
|
4322
4327
|
class: "sv-popup__container",
|
|
4323
|
-
style:
|
|
4328
|
+
style: S({
|
|
4324
4329
|
left: e.model.left,
|
|
4325
4330
|
top: e.model.top,
|
|
4326
4331
|
height: e.model.height,
|
|
@@ -4329,15 +4334,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4329
4334
|
}),
|
|
4330
4335
|
onClick: n
|
|
4331
4336
|
}, [
|
|
4332
|
-
|
|
4337
|
+
v("div", Pt, [
|
|
4333
4338
|
e.model.showHeader ? (i(), q(R(e.model.popupHeaderTemplate), {
|
|
4334
4339
|
key: 0,
|
|
4335
4340
|
model: e.model
|
|
4336
4341
|
}, null, 8, ["model"])) : m("", !0),
|
|
4337
|
-
|
|
4342
|
+
v("div", Mt, [
|
|
4338
4343
|
e.model.title ? (i(), u("div", Ht, T(e.model.title), 1)) : m("", !0),
|
|
4339
|
-
|
|
4340
|
-
|
|
4344
|
+
v("div", Et, [
|
|
4345
|
+
v("div", Wt, [
|
|
4341
4346
|
(i(), q(R(e.model.contentComponentName), z(te(e.model.contentComponentData)), null, 16))
|
|
4342
4347
|
])
|
|
4343
4348
|
]),
|
|
@@ -4362,7 +4367,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4362
4367
|
setup(r) {
|
|
4363
4368
|
return (s, n) => (i(), u("span", {
|
|
4364
4369
|
class: "sv-popup__pointer",
|
|
4365
|
-
style:
|
|
4370
|
+
style: S({
|
|
4366
4371
|
left: s.model.pointerTarget.left,
|
|
4367
4372
|
top: s.model.pointerTarget.top
|
|
4368
4373
|
})
|
|
@@ -4376,7 +4381,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4376
4381
|
needRenderWrapper: {}
|
|
4377
4382
|
},
|
|
4378
4383
|
setup(r) {
|
|
4379
|
-
const s = r, n =
|
|
4384
|
+
const s = r, n = I(
|
|
4380
4385
|
() => s.survey.getContainerContent(s.container)
|
|
4381
4386
|
);
|
|
4382
4387
|
return (e, t) => n.value.length > 0 ? (i(), u(D, { key: 0 }, [
|
|
@@ -4404,23 +4409,23 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4404
4409
|
css: {}
|
|
4405
4410
|
},
|
|
4406
4411
|
setup(r) {
|
|
4407
|
-
const s = r, n =
|
|
4412
|
+
const s = r, n = I(() => s.survey.progressValue + "%"), e = (o) => ae.getProgressTextInBarCss(o), t = (o) => ae.getProgressTextUnderBarCss(o);
|
|
4408
4413
|
return (o, a) => (i(), u("div", {
|
|
4409
4414
|
class: l(o.survey.getProgressCssClasses(o.container))
|
|
4410
4415
|
}, [
|
|
4411
|
-
|
|
4416
|
+
v("div", {
|
|
4412
4417
|
class: l(o.survey.css.progressBar),
|
|
4413
|
-
style:
|
|
4418
|
+
style: S({ width: n.value }),
|
|
4414
4419
|
role: "progressbar",
|
|
4415
4420
|
"aria-valuemin": "0",
|
|
4416
4421
|
"aria-valuemax": "100",
|
|
4417
4422
|
"aria-label": "progress"
|
|
4418
4423
|
}, [
|
|
4419
|
-
|
|
4424
|
+
v("span", {
|
|
4420
4425
|
class: l(e(o.survey.css))
|
|
4421
4426
|
}, T(o.survey.progressText), 3)
|
|
4422
4427
|
], 6),
|
|
4423
|
-
|
|
4428
|
+
v("span", {
|
|
4424
4429
|
class: l(t(o.survey.css))
|
|
4425
4430
|
}, T(o.survey.progressText), 3)
|
|
4426
4431
|
], 2));
|
|
@@ -4433,15 +4438,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4433
4438
|
container: {}
|
|
4434
4439
|
},
|
|
4435
4440
|
setup(r) {
|
|
4436
|
-
const s = r, n = $(!1), e = $(!1), t = $(!1), o = $(!0), a = $(), c =
|
|
4437
|
-
let
|
|
4441
|
+
const s = r, n = $(!1), e = $(!1), t = $(!1), o = $(!0), a = $(), c = I(() => s.survey.css);
|
|
4442
|
+
let p = null;
|
|
4438
4443
|
const d = (C) => {
|
|
4439
4444
|
let k = a.value;
|
|
4440
4445
|
k.scrollLeft += (C ? -1 : 1) * 70;
|
|
4441
4446
|
};
|
|
4442
4447
|
return M(() => {
|
|
4443
4448
|
const C = a.value;
|
|
4444
|
-
|
|
4449
|
+
p = new He(s.model, C, {
|
|
4445
4450
|
onResize: (k) => {
|
|
4446
4451
|
o.value = k, e.value = !k;
|
|
4447
4452
|
},
|
|
@@ -4451,15 +4456,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4451
4456
|
onUpdateSettings: () => {
|
|
4452
4457
|
o.value = s.model.showItemTitles, t.value = !s.model.showItemTitles;
|
|
4453
4458
|
},
|
|
4454
|
-
container:
|
|
4459
|
+
container: I(() => s.container)
|
|
4455
4460
|
});
|
|
4456
4461
|
}), j(() => {
|
|
4457
|
-
|
|
4462
|
+
p.dispose();
|
|
4458
4463
|
}), (C, k) => {
|
|
4459
4464
|
const f = y("survey-string");
|
|
4460
4465
|
return i(), u("div", {
|
|
4461
4466
|
class: l(C.model.getRootCss(C.container)),
|
|
4462
|
-
style:
|
|
4467
|
+
style: S({ maxWidth: C.model.progressWidth }),
|
|
4463
4468
|
role: "progressbar",
|
|
4464
4469
|
"aria-valuemin": "0",
|
|
4465
4470
|
"aria-valuemax": "100",
|
|
@@ -4469,25 +4474,25 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4469
4474
|
key: 0,
|
|
4470
4475
|
class: l(C.survey.css.progressButtonsHeader)
|
|
4471
4476
|
}, [
|
|
4472
|
-
|
|
4477
|
+
v("div", {
|
|
4473
4478
|
class: l(C.survey.css.progressButtonsPageTitle),
|
|
4474
4479
|
title: C.model.headerText
|
|
4475
4480
|
}, T(C.model.headerText), 11, Ut)
|
|
4476
4481
|
], 2)) : m("", !0),
|
|
4477
|
-
|
|
4482
|
+
v("div", {
|
|
4478
4483
|
class: l(c.value.progressButtonsContainer)
|
|
4479
4484
|
}, [
|
|
4480
|
-
|
|
4485
|
+
v("div", {
|
|
4481
4486
|
class: l(C.model.getScrollButtonCss(n.value, !0)),
|
|
4482
4487
|
onClick: k[0] || (k[0] = (_) => d(!0)),
|
|
4483
4488
|
role: "button"
|
|
4484
4489
|
}, null, 2),
|
|
4485
|
-
|
|
4490
|
+
v("div", {
|
|
4486
4491
|
class: l(c.value.progressButtonsListContainer),
|
|
4487
4492
|
ref_key: "progressButtonsListContainer",
|
|
4488
4493
|
ref: a
|
|
4489
4494
|
}, [
|
|
4490
|
-
|
|
4495
|
+
v("ul", {
|
|
4491
4496
|
class: l(c.value.progressButtonsList)
|
|
4492
4497
|
}, [
|
|
4493
4498
|
(i(!0), u(D, null, L(C.survey.visiblePages, (_, b) => (i(), u("li", {
|
|
@@ -4496,7 +4501,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4496
4501
|
onClick: (A) => C.model.isListElementClickable(b) ? C.model.clickListElement(_) : null,
|
|
4497
4502
|
"data-page-number": C.model.getItemNumber(_)
|
|
4498
4503
|
}, [
|
|
4499
|
-
|
|
4504
|
+
v("div", {
|
|
4500
4505
|
class: l(c.value.progressButtonsConnector)
|
|
4501
4506
|
}, null, 2),
|
|
4502
4507
|
o.value ? (i(), u("div", {
|
|
@@ -4513,21 +4518,21 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4513
4518
|
class: l(c.value.progressButtonsPageDescription),
|
|
4514
4519
|
title: _.locNavigationDescription.renderedHtml
|
|
4515
4520
|
}, T(_.locNavigationDescription.renderedHtml), 11, jt)) : m("", !0),
|
|
4516
|
-
|
|
4521
|
+
v("div", {
|
|
4517
4522
|
class: l(c.value.progressButtonsButton)
|
|
4518
4523
|
}, [
|
|
4519
|
-
|
|
4524
|
+
v("div", {
|
|
4520
4525
|
class: l(c.value.progressButtonsButtonBackground)
|
|
4521
4526
|
}, null, 2),
|
|
4522
|
-
|
|
4527
|
+
v("div", {
|
|
4523
4528
|
class: l(c.value.progressButtonsButtonContent)
|
|
4524
4529
|
}, null, 2),
|
|
4525
|
-
|
|
4530
|
+
v("span", null, T(C.model.getItemNumber(_)), 1)
|
|
4526
4531
|
], 2)
|
|
4527
4532
|
], 10, Kt))), 128))
|
|
4528
4533
|
], 2)
|
|
4529
4534
|
], 2),
|
|
4530
|
-
|
|
4535
|
+
v("div", {
|
|
4531
4536
|
class: l(C.model.getScrollButtonCss(n.value, !1)),
|
|
4532
4537
|
onClick: k[1] || (k[1] = (_) => d(!1)),
|
|
4533
4538
|
role: "button"
|
|
@@ -4537,7 +4542,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4537
4542
|
key: 1,
|
|
4538
4543
|
class: l(C.survey.css.progressButtonsFooter)
|
|
4539
4544
|
}, [
|
|
4540
|
-
|
|
4545
|
+
v("div", {
|
|
4541
4546
|
class: l(C.survey.css.progressButtonsPageTitle),
|
|
4542
4547
|
title: C.model.footerText
|
|
4543
4548
|
}, T(C.model.footerText), 11, Gt)
|
|
@@ -4587,15 +4592,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4587
4592
|
survey: {}
|
|
4588
4593
|
},
|
|
4589
4594
|
setup(r) {
|
|
4590
|
-
const s = r, n = $(), e = $(""), t = $(1), o =
|
|
4595
|
+
const s = r, n = $(), e = $(""), t = $(1), o = I(() => {
|
|
4591
4596
|
const _ = s.survey ? s.survey : s.model;
|
|
4592
4597
|
return Re(_);
|
|
4593
|
-
}), a =
|
|
4598
|
+
}), a = I(() => o.value.activePage ? o.value.activePage.id : ""), c = () => {
|
|
4594
4599
|
const _ = a.value;
|
|
4595
4600
|
return !!o.value && _ + t.value.toString();
|
|
4596
|
-
},
|
|
4601
|
+
}, p = I(
|
|
4597
4602
|
() => o.value.showCompletedPage && o.value.state === "completed"
|
|
4598
|
-
), d =
|
|
4603
|
+
), d = I(() => o.value.css), C = I(() => "page" + c()), k = () => p.value ? (e.value || (e.value = o.value.processedCompletedHtml), e.value) : "", f = (_) => {
|
|
4599
4604
|
if (!!_) {
|
|
4600
4605
|
var b = n.value;
|
|
4601
4606
|
b && _.afterRenderSurvey(b), _.renderCallback = () => {
|
|
@@ -4620,25 +4625,25 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4620
4625
|
const A = y("sv-svg-bundle"), W = y("survey-popup-modal"), F = y("survey-header"), J = y("survey-page"), he = y("sv-brand-info"), Ce = y("sv-notifier");
|
|
4621
4626
|
return i(), u("div", {
|
|
4622
4627
|
class: l(o.value.getRootCss()),
|
|
4623
|
-
style:
|
|
4628
|
+
style: S(o.value.themeVariables),
|
|
4624
4629
|
lang: o.value.locale || "en",
|
|
4625
4630
|
dir: o.value.localeDir,
|
|
4626
4631
|
ref_key: "root",
|
|
4627
4632
|
ref: n
|
|
4628
4633
|
}, [
|
|
4629
4634
|
o.value.needRenderIcons ? (i(), q(A, { key: 0 })) : m("", !0),
|
|
4630
|
-
|
|
4635
|
+
v("div", {
|
|
4631
4636
|
class: l(o.value.wrapperFormCss)
|
|
4632
4637
|
}, [
|
|
4633
4638
|
h(W),
|
|
4634
4639
|
o.value.renderBackgroundImage ? (i(), u("div", {
|
|
4635
4640
|
key: 0,
|
|
4636
4641
|
class: l(d.value.rootBackgroundImage),
|
|
4637
|
-
style:
|
|
4642
|
+
style: S(o.value.backgroundImageStyle)
|
|
4638
4643
|
}, null, 6)) : m("", !0),
|
|
4639
|
-
|
|
4644
|
+
v("form", Zt, [
|
|
4640
4645
|
o.value.hasLogo ? m("", !0) : (i(), u("div", xt)),
|
|
4641
|
-
|
|
4646
|
+
v("div", {
|
|
4642
4647
|
class: l(d.value.container)
|
|
4643
4648
|
}, [
|
|
4644
4649
|
o.value.headerView === "basic" ? (i(), q(F, {
|
|
@@ -4659,15 +4664,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4659
4664
|
container: "left",
|
|
4660
4665
|
needRenderWrapper: !0
|
|
4661
4666
|
}, null, 8, ["survey"])),
|
|
4662
|
-
|
|
4667
|
+
v("div", ei, [
|
|
4663
4668
|
(i(), q(R("sv-components-container"), {
|
|
4664
4669
|
survey: o.value,
|
|
4665
4670
|
container: "center",
|
|
4666
4671
|
needRenderWrapper: !0
|
|
4667
4672
|
}, null, 8, ["survey"])),
|
|
4668
|
-
|
|
4673
|
+
v("div", {
|
|
4669
4674
|
class: l(o.value.bodyCss),
|
|
4670
|
-
style:
|
|
4675
|
+
style: S({ maxWidth: o.value.renderedWidth }),
|
|
4671
4676
|
id: a.value
|
|
4672
4677
|
}, [
|
|
4673
4678
|
(i(), q(R("sv-components-container"), {
|
|
@@ -4700,8 +4705,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4700
4705
|
container: "footer",
|
|
4701
4706
|
needRenderWrapper: !1
|
|
4702
4707
|
}, null, 8, ["survey"])),
|
|
4703
|
-
|
|
4704
|
-
|
|
4708
|
+
p.value ? (i(), u("div", ni, [
|
|
4709
|
+
v("div", {
|
|
4705
4710
|
innerHTML: k(),
|
|
4706
4711
|
class: l(o.value.completedCss)
|
|
4707
4712
|
}, null, 10, oi),
|
|
@@ -4746,11 +4751,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4746
4751
|
return n.model.isDisplayed ? (i(), u("div", {
|
|
4747
4752
|
key: 0,
|
|
4748
4753
|
class: l(n.model.css),
|
|
4749
|
-
style:
|
|
4754
|
+
style: S({ visibility: n.model.active ? "visible" : "hidden" }),
|
|
4750
4755
|
role: "alert",
|
|
4751
4756
|
"aria-live": "polite"
|
|
4752
4757
|
}, [
|
|
4753
|
-
|
|
4758
|
+
v("span", null, T(n.model.message), 1),
|
|
4754
4759
|
h(t, {
|
|
4755
4760
|
model: n.model.actionBar
|
|
4756
4761
|
}, null, 8, ["model"])
|
|
@@ -4779,7 +4784,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4779
4784
|
placeholder: s.question.otherPlaceholder,
|
|
4780
4785
|
"aria-label": s.question.ariaLabel || s.question.a11y_input_ariaLabel,
|
|
4781
4786
|
"aria-required": s.question.ariaRequired || s.question.a11y_input_ariaRequired,
|
|
4782
|
-
style:
|
|
4787
|
+
style: S({ resize: s.question.resizeStyle }),
|
|
4783
4788
|
onChange: n[0] || (n[0] = (e) => {
|
|
4784
4789
|
s.question.onOtherValueChange(e);
|
|
4785
4790
|
}),
|
|
@@ -4819,11 +4824,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4819
4824
|
closeOnCompleteTimeout: {}
|
|
4820
4825
|
},
|
|
4821
4826
|
setup(r) {
|
|
4822
|
-
const s = r, n = U(), e =
|
|
4823
|
-
|
|
4827
|
+
const s = r, n = U(), e = I(() => s.survey ? s.survey.getCss() : {});
|
|
4828
|
+
I(() => {
|
|
4824
4829
|
var k;
|
|
4825
4830
|
return (k = n.value) != null && k.isExpanded ? e.value.window.header.buttonCollapsed : e.value.window.header.buttonExpanded;
|
|
4826
|
-
}),
|
|
4831
|
+
}), I(() => {
|
|
4827
4832
|
var k;
|
|
4828
4833
|
return (k = n.value) == null ? void 0 : k.isExpanded;
|
|
4829
4834
|
});
|
|
@@ -4833,7 +4838,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4833
4838
|
n.value.hide(), s.onClose && s.onClose();
|
|
4834
4839
|
}, a = () => {
|
|
4835
4840
|
n.value.toggleFullScreen();
|
|
4836
|
-
}, c = () => "SurveyComponent",
|
|
4841
|
+
}, c = () => "SurveyComponent", p = () => {
|
|
4837
4842
|
n.value.onScroll();
|
|
4838
4843
|
}, d = () => {
|
|
4839
4844
|
let k = n.value.cssHeaderRoot;
|
|
@@ -4856,21 +4861,21 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4856
4861
|
const _ = y("sv-svg-icon");
|
|
4857
4862
|
return n.value.isShowing ? (i(), u("div", {
|
|
4858
4863
|
key: 0,
|
|
4859
|
-
style:
|
|
4864
|
+
style: S({ maxWidth: n.value.renderedWidth, width: n.value.renderedWidth }),
|
|
4860
4865
|
class: l(n.value.cssRoot),
|
|
4861
|
-
onScroll:
|
|
4866
|
+
onScroll: p
|
|
4862
4867
|
}, [
|
|
4863
|
-
|
|
4868
|
+
v("div", {
|
|
4864
4869
|
class: l(n.value.cssRootContent)
|
|
4865
4870
|
}, [
|
|
4866
|
-
|
|
4871
|
+
v("div", {
|
|
4867
4872
|
class: l(d())
|
|
4868
4873
|
}, [
|
|
4869
4874
|
n.value.isCollapsed && !!n.value.locTitle ? (i(), u("div", {
|
|
4870
4875
|
key: 0,
|
|
4871
4876
|
class: l(n.value.cssHeaderTitleCollapsed)
|
|
4872
4877
|
}, T(n.value.locTitle.renderedHtml), 3)) : m("", !0),
|
|
4873
|
-
|
|
4878
|
+
v("div", {
|
|
4874
4879
|
class: l(n.value.cssHeaderButtonsContainer)
|
|
4875
4880
|
}, [
|
|
4876
4881
|
n.value.allowFullScreen ? (i(), u("div", {
|
|
@@ -4889,7 +4894,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4889
4894
|
size: 16
|
|
4890
4895
|
}))
|
|
4891
4896
|
], 2)) : m("", !0),
|
|
4892
|
-
|
|
4897
|
+
v("div", {
|
|
4893
4898
|
class: l(n.value.cssHeaderCollapseButton),
|
|
4894
4899
|
onClick: t
|
|
4895
4900
|
}, [
|
|
@@ -4916,7 +4921,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4916
4921
|
], 2)) : m("", !0)
|
|
4917
4922
|
], 2)
|
|
4918
4923
|
], 2),
|
|
4919
|
-
|
|
4924
|
+
v("div", {
|
|
4920
4925
|
class: l(n.value.cssBody)
|
|
4921
4926
|
}, [
|
|
4922
4927
|
(i(), q(R(c()), { survey: k.survey }, null, 8, ["survey"]))
|
|
@@ -4932,16 +4937,16 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4932
4937
|
css: {}
|
|
4933
4938
|
},
|
|
4934
4939
|
setup(r) {
|
|
4935
|
-
const s = r, n = $(), e =
|
|
4940
|
+
const s = r, n = $(), e = I(
|
|
4936
4941
|
() => s.question.customWidget.isDefaultRender
|
|
4937
|
-
), t =
|
|
4942
|
+
), t = I(
|
|
4938
4943
|
() => !!s.question.customWidget.htmlTemplate
|
|
4939
|
-
), o =
|
|
4944
|
+
), o = I(() => s.question.customWidget.htmlTemplate), a = I(() => "survey-" + s.question.getTemplate());
|
|
4940
4945
|
return M(() => {
|
|
4941
4946
|
s.question.customWidget.afterRender(s.question, n.value);
|
|
4942
4947
|
}), j(() => {
|
|
4943
4948
|
s.question.customWidget.willUnmount(s.question, n.value);
|
|
4944
|
-
}), (c,
|
|
4949
|
+
}), (c, p) => (i(), u("div", {
|
|
4945
4950
|
ref_key: "root",
|
|
4946
4951
|
ref: n
|
|
4947
4952
|
}, [
|
|
@@ -4960,7 +4965,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4960
4965
|
__name: "PopupModal",
|
|
4961
4966
|
setup(r) {
|
|
4962
4967
|
const s = U();
|
|
4963
|
-
function n(t, o, a, c,
|
|
4968
|
+
function n(t, o, a, c, p, d, C = "popup") {
|
|
4964
4969
|
const k = We(
|
|
4965
4970
|
t,
|
|
4966
4971
|
o,
|
|
@@ -4968,7 +4973,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4968
4973
|
c,
|
|
4969
4974
|
void 0,
|
|
4970
4975
|
void 0,
|
|
4971
|
-
|
|
4976
|
+
p,
|
|
4972
4977
|
d,
|
|
4973
4978
|
C
|
|
4974
4979
|
);
|
|
@@ -4978,7 +4983,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4978
4983
|
const a = Fe(
|
|
4979
4984
|
t,
|
|
4980
4985
|
o
|
|
4981
|
-
), c = (
|
|
4986
|
+
), c = (p, d) => {
|
|
4982
4987
|
d.isVisible || (s.value = void 0, a.dispose(), a.onVisibilityChanged.remove(c));
|
|
4983
4988
|
};
|
|
4984
4989
|
return a.onVisibilityChanged.add(c), a.model.isVisible = !0, s.value = a, a;
|
|
@@ -5019,7 +5024,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5019
5024
|
setup(r) {
|
|
5020
5025
|
const s = r, n = $(null);
|
|
5021
5026
|
P(s, n);
|
|
5022
|
-
const e =
|
|
5027
|
+
const e = I(() => s.question.contentPanel);
|
|
5023
5028
|
return (t, o) => {
|
|
5024
5029
|
const a = y("survey-panel");
|
|
5025
5030
|
return i(), q(a, {
|
|
@@ -5040,14 +5045,14 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5040
5045
|
setup(r) {
|
|
5041
5046
|
const s = r, n = $(null);
|
|
5042
5047
|
P(s, n);
|
|
5043
|
-
const e =
|
|
5048
|
+
const e = I(() => s.question.contentQuestion), t = (o) => re(o);
|
|
5044
5049
|
return (o, a) => (i(), q(R(t(e.value)), {
|
|
5045
5050
|
ref: n.value,
|
|
5046
5051
|
question: e.value,
|
|
5047
5052
|
css: o.css
|
|
5048
5053
|
}, null, 8, ["question", "css"]));
|
|
5049
5054
|
}
|
|
5050
|
-
}), hi = /* @__PURE__ */
|
|
5055
|
+
}), hi = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), Ci = [
|
|
5051
5056
|
hi
|
|
5052
5057
|
], pe = 440, bi = /* @__PURE__ */ g({
|
|
5053
5058
|
__name: "TimerPanel",
|
|
@@ -5056,7 +5061,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5056
5061
|
css: {}
|
|
5057
5062
|
},
|
|
5058
5063
|
setup(r) {
|
|
5059
|
-
const s = r, n =
|
|
5064
|
+
const s = r, n = I(() => pe * s.model.progress), e = I(() => s.model.text);
|
|
5060
5065
|
return B(() => s.model), (t, o) => t.model.isRunning && t.model.showTimerAsClock ? (i(), u("div", {
|
|
5061
5066
|
key: 0,
|
|
5062
5067
|
class: l(t.model.rootCss)
|
|
@@ -5064,12 +5069,12 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5064
5069
|
t.model.showProgress ? (i(), u("svg", {
|
|
5065
5070
|
key: 0,
|
|
5066
5071
|
class: l(t.model.getProgressCss()),
|
|
5067
|
-
style:
|
|
5072
|
+
style: S({ strokeDasharray: pe, strokeDashoffset: n.value })
|
|
5068
5073
|
}, Ci, 6)) : m("", !0),
|
|
5069
|
-
|
|
5074
|
+
v("div", {
|
|
5070
5075
|
class: l(t.model.textContainerCss)
|
|
5071
5076
|
}, [
|
|
5072
|
-
|
|
5077
|
+
v("span", {
|
|
5073
5078
|
class: l(t.model.majorTextCss)
|
|
5074
5079
|
}, T(t.model.clockMajorText), 3),
|
|
5075
5080
|
t.model.clockMinorText ? (i(), u("span", {
|
|
@@ -5110,17 +5115,17 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5110
5115
|
return n.survey.headerView === "advanced" ? (i(), u("div", {
|
|
5111
5116
|
key: 0,
|
|
5112
5117
|
class: l(n.model.headerClasses),
|
|
5113
|
-
style:
|
|
5118
|
+
style: S({ height: n.model.renderedHeight })
|
|
5114
5119
|
}, [
|
|
5115
5120
|
n.model.backgroundImage ? (i(), u("div", {
|
|
5116
5121
|
key: 0,
|
|
5117
5122
|
class: l(n.model.backgroundImageClasses),
|
|
5118
|
-
style:
|
|
5123
|
+
style: S(n.model.backgroundImageStyle)
|
|
5119
5124
|
}, null, 6)) : m("", !0),
|
|
5120
5125
|
n.survey.isMobile ? m("", !0) : (i(), u("div", {
|
|
5121
5126
|
key: 1,
|
|
5122
5127
|
class: l(n.model.contentClasses),
|
|
5123
|
-
style:
|
|
5128
|
+
style: S({ maxWidth: n.model.maxWidth })
|
|
5124
5129
|
}, [
|
|
5125
5130
|
(i(!0), u(D, null, L(n.model.cells, (a, c) => (i(), q(t, {
|
|
5126
5131
|
model: a,
|
|
@@ -5146,30 +5151,30 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5146
5151
|
const e = y("survey-element-title"), t = y("survey-string");
|
|
5147
5152
|
return i(), u("div", {
|
|
5148
5153
|
class: l(s.model.css),
|
|
5149
|
-
style:
|
|
5154
|
+
style: S(s.model.style)
|
|
5150
5155
|
}, [
|
|
5151
|
-
|
|
5156
|
+
v("div", {
|
|
5152
5157
|
class: "sv-header__cell-content",
|
|
5153
|
-
style:
|
|
5158
|
+
style: S(s.model.contentStyle)
|
|
5154
5159
|
}, [
|
|
5155
5160
|
s.model.showLogo ? (i(), u("div", Ti, [
|
|
5156
|
-
|
|
5161
|
+
v("div", {
|
|
5157
5162
|
class: l(s.model.survey.logoClassNames)
|
|
5158
5163
|
}, [
|
|
5159
|
-
|
|
5164
|
+
v("img", {
|
|
5160
5165
|
class: l(s.model.survey.css.logoImage),
|
|
5161
5166
|
src: s.model.survey.locLogo.renderedHtml,
|
|
5162
5167
|
width: s.model.survey.renderedLogoWidth,
|
|
5163
5168
|
height: s.model.survey.renderedLogoHeight,
|
|
5164
5169
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5165
|
-
style:
|
|
5170
|
+
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5166
5171
|
}, null, 14, $i)
|
|
5167
5172
|
], 2)
|
|
5168
5173
|
])) : m("", !0),
|
|
5169
5174
|
s.model.showTitle ? (i(), u("div", {
|
|
5170
5175
|
key: 1,
|
|
5171
5176
|
class: "sv-header__title",
|
|
5172
|
-
style:
|
|
5177
|
+
style: S({ maxWidth: s.model.textAreaWidth })
|
|
5173
5178
|
}, [
|
|
5174
5179
|
h(e, {
|
|
5175
5180
|
element: s.model.survey,
|
|
@@ -5179,7 +5184,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5179
5184
|
s.model.showDescription ? (i(), u("div", {
|
|
5180
5185
|
key: 2,
|
|
5181
5186
|
class: "sv-header__description",
|
|
5182
|
-
style:
|
|
5187
|
+
style: S({ maxWidth: s.model.textAreaWidth })
|
|
5183
5188
|
}, [
|
|
5184
5189
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5185
5190
|
key: 0,
|
|
@@ -5207,23 +5212,23 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5207
5212
|
const e = y("survey-element-title"), t = y("survey-string");
|
|
5208
5213
|
return i(), u("div", _i, [
|
|
5209
5214
|
s.model.survey.hasLogo ? (i(), u("div", Bi, [
|
|
5210
|
-
|
|
5215
|
+
v("div", {
|
|
5211
5216
|
class: l(s.model.survey.logoClassNames)
|
|
5212
5217
|
}, [
|
|
5213
|
-
|
|
5218
|
+
v("img", {
|
|
5214
5219
|
class: l(s.model.survey.css.logoImage),
|
|
5215
5220
|
src: s.model.survey.locLogo.renderedHtml,
|
|
5216
5221
|
width: s.model.survey.renderedLogoWidth,
|
|
5217
5222
|
height: s.model.survey.renderedLogoHeight,
|
|
5218
5223
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5219
|
-
style:
|
|
5224
|
+
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5220
5225
|
}, null, 14, Li)
|
|
5221
5226
|
], 2)
|
|
5222
5227
|
])) : m("", !0),
|
|
5223
5228
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
5224
5229
|
key: 1,
|
|
5225
5230
|
class: "sv-header__title",
|
|
5226
|
-
style:
|
|
5231
|
+
style: S({ maxWidth: s.model.renderedtextAreaWidth })
|
|
5227
5232
|
}, [
|
|
5228
5233
|
h(e, {
|
|
5229
5234
|
element: s.model.survey,
|
|
@@ -5233,7 +5238,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5233
5238
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5234
5239
|
key: 2,
|
|
5235
5240
|
class: "sv-header__description",
|
|
5236
|
-
style:
|
|
5241
|
+
style: S({ maxWidth: s.model.renderedtextAreaWidth })
|
|
5237
5242
|
}, [
|
|
5238
5243
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5239
5244
|
key: 0,
|
|
@@ -5255,21 +5260,21 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5255
5260
|
css: {}
|
|
5256
5261
|
},
|
|
5257
5262
|
setup(r) {
|
|
5258
|
-
const s = r, n = $(), e = (
|
|
5259
|
-
const
|
|
5260
|
-
if (
|
|
5261
|
-
const d =
|
|
5263
|
+
const s = r, n = $(), e = (p) => p.isPanel ? "survey-panel" : "survey-question", t = I(() => {
|
|
5264
|
+
const p = s.element.survey;
|
|
5265
|
+
if (p) {
|
|
5266
|
+
const d = p.getElementWrapperComponentName(s.element);
|
|
5262
5267
|
if (d)
|
|
5263
5268
|
return d;
|
|
5264
5269
|
}
|
|
5265
5270
|
return e(s.element);
|
|
5266
|
-
}), o = (
|
|
5267
|
-
const
|
|
5271
|
+
}), o = (p) => p.cssClasses ? p.rootStyle : {}, a = I(() => {
|
|
5272
|
+
const p = s.element, d = p.survey;
|
|
5268
5273
|
let C;
|
|
5269
|
-
return d && (C = d.getElementWrapperComponentData(
|
|
5270
|
-
componentName: e(
|
|
5274
|
+
return d && (C = d.getElementWrapperComponentData(p)), {
|
|
5275
|
+
componentName: e(p),
|
|
5271
5276
|
componentData: {
|
|
5272
|
-
element:
|
|
5277
|
+
element: p,
|
|
5273
5278
|
survey: d,
|
|
5274
5279
|
row: s.row,
|
|
5275
5280
|
css: s.css,
|
|
@@ -5278,24 +5283,24 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5278
5283
|
};
|
|
5279
5284
|
}), c = K(
|
|
5280
5285
|
() => s.element,
|
|
5281
|
-
(
|
|
5282
|
-
d && d.setWrapperElement(void 0),
|
|
5286
|
+
(p, d) => {
|
|
5287
|
+
d && d.setWrapperElement(void 0), p.setWrapperElement(n.value);
|
|
5283
5288
|
}
|
|
5284
5289
|
);
|
|
5285
5290
|
return M(() => {
|
|
5286
5291
|
s.element.setWrapperElement(n.value);
|
|
5287
5292
|
}), O(() => {
|
|
5288
5293
|
s.element.setWrapperElement(void 0), c();
|
|
5289
|
-
}), (
|
|
5294
|
+
}), (p, d) => (i(), u("div", {
|
|
5290
5295
|
ref_key: "root",
|
|
5291
5296
|
ref: n,
|
|
5292
|
-
style:
|
|
5293
|
-
class: l(
|
|
5297
|
+
style: S(o(p.element)),
|
|
5298
|
+
class: l(p.element.cssClasses.questionWrapper)
|
|
5294
5299
|
}, [
|
|
5295
|
-
|
|
5300
|
+
p.row.isNeedRender ? (i(), q(R(t.value), z(H({ key: 0 }, a.value)), null, 16)) : p.element.skeletonComponentName ? (i(), q(R(p.element.skeletonComponentName), {
|
|
5296
5301
|
key: 1,
|
|
5297
|
-
element:
|
|
5298
|
-
css:
|
|
5302
|
+
element: p.element,
|
|
5303
|
+
css: p.css
|
|
5299
5304
|
}, null, 8, ["element", "css"])) : m("", !0)
|
|
5300
5305
|
], 6));
|
|
5301
5306
|
}
|
|
@@ -5306,7 +5311,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5306
5311
|
componentData: {}
|
|
5307
5312
|
},
|
|
5308
5313
|
setup(r) {
|
|
5309
|
-
const s = $e(), n =
|
|
5314
|
+
const s = $e(), n = I(() => !!s.default);
|
|
5310
5315
|
return (e, t) => n.value && !e.componentName ? De(e.$slots, "default", { key: 0 }) : (i(), q(R(e.componentName), z(H({ key: 1 }, e.componentData)), null, 16));
|
|
5311
5316
|
}
|
|
5312
5317
|
}), Mi = /* @__PURE__ */ g({
|
|
@@ -5323,7 +5328,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5323
5328
|
class: l(s.css),
|
|
5324
5329
|
onClick: n[0] || (n[0] = (...t) => s.question.doClean && s.question.doClean(...t))
|
|
5325
5330
|
}, [
|
|
5326
|
-
|
|
5331
|
+
v("span", null, T(s.question.clearButtonCaption), 1),
|
|
5327
5332
|
s.question.cssClasses.removeButtonIconId ? (i(), q(e, {
|
|
5328
5333
|
key: 0,
|
|
5329
5334
|
iconName: s.question.cssClasses.removeButtonIconId,
|
|
@@ -5350,7 +5355,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5350
5355
|
h(e, {
|
|
5351
5356
|
item: s.question.closeCameraAction
|
|
5352
5357
|
}, null, 8, ["item"]),
|
|
5353
|
-
|
|
5358
|
+
v("video", {
|
|
5354
5359
|
autoplay: "",
|
|
5355
5360
|
playsinline: "",
|
|
5356
5361
|
id: s.question.videoId,
|
|
@@ -5369,7 +5374,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5369
5374
|
item: {}
|
|
5370
5375
|
},
|
|
5371
5376
|
setup(r) {
|
|
5372
|
-
const s = r, n =
|
|
5377
|
+
const s = r, n = I(
|
|
5373
5378
|
() => {
|
|
5374
5379
|
var e;
|
|
5375
5380
|
return ((e = s.data) == null ? void 0 : e.question) || s.item.data.question;
|
|
@@ -5390,7 +5395,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5390
5395
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
5391
5396
|
size: "auto"
|
|
5392
5397
|
}, null, 8, ["title", "iconName"])) : m("", !0),
|
|
5393
|
-
|
|
5398
|
+
v("span", null, T(n.value.chooseButtonText), 1)
|
|
5394
5399
|
], 10, Wi)), [
|
|
5395
5400
|
[a]
|
|
5396
5401
|
]);
|
|
@@ -5417,21 +5422,21 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5417
5422
|
key: 0,
|
|
5418
5423
|
class: l(s.question.cssClasses.fileSign)
|
|
5419
5424
|
}, [
|
|
5420
|
-
|
|
5425
|
+
v("a", {
|
|
5421
5426
|
onClick: (a) => s.question.doDownloadFile(a, t),
|
|
5422
5427
|
href: t.content,
|
|
5423
5428
|
title: t.name,
|
|
5424
5429
|
download: t.name,
|
|
5425
|
-
style:
|
|
5430
|
+
style: S({ width: s.question.imageWidth })
|
|
5426
5431
|
}, T(t.name), 13, Vi)
|
|
5427
5432
|
], 2)) : m("", !0),
|
|
5428
|
-
|
|
5433
|
+
v("div", {
|
|
5429
5434
|
class: l(s.question.getImageWrapperCss(t))
|
|
5430
5435
|
}, [
|
|
5431
5436
|
s.question.canPreviewImage(t) ? (i(), u("img", {
|
|
5432
5437
|
key: 0,
|
|
5433
5438
|
src: t.content,
|
|
5434
|
-
style:
|
|
5439
|
+
style: S({
|
|
5435
5440
|
height: s.question.imageHeight,
|
|
5436
5441
|
width: s.question.imageWidth
|
|
5437
5442
|
}),
|
|
@@ -5448,7 +5453,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5448
5453
|
class: l(s.question.getRemoveButtonCss()),
|
|
5449
5454
|
onClick: (a) => s.question.doRemoveFile(t, a)
|
|
5450
5455
|
}, [
|
|
5451
|
-
|
|
5456
|
+
v("span", {
|
|
5452
5457
|
class: l(s.question.cssClasses.removeFile)
|
|
5453
5458
|
}, T(s.question.removeFileCaption), 3),
|
|
5454
5459
|
s.question.cssClasses.removeFileSvgIconId ? (i(), q(e, {
|
|
@@ -5464,12 +5469,12 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5464
5469
|
key: 1,
|
|
5465
5470
|
class: l(s.question.cssClasses.fileSignBottom)
|
|
5466
5471
|
}, [
|
|
5467
|
-
|
|
5472
|
+
v("a", {
|
|
5468
5473
|
onClick: (a) => s.question.doDownloadFile(a, t),
|
|
5469
5474
|
href: t.content,
|
|
5470
5475
|
title: t.name,
|
|
5471
5476
|
download: t.name,
|
|
5472
|
-
style:
|
|
5477
|
+
style: S({ width: s.question.imageWidth })
|
|
5473
5478
|
}, T(t.name), 13, Ui)
|
|
5474
5479
|
], 2)) : m("", !0)
|
|
5475
5480
|
], 2)), [
|
|
@@ -5510,9 +5515,9 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5510
5515
|
index: {}
|
|
5511
5516
|
},
|
|
5512
5517
|
setup(r) {
|
|
5513
|
-
const s = r, n =
|
|
5518
|
+
const s = r, n = I(
|
|
5514
5519
|
() => new Ve(s.question, s.item, s.index)
|
|
5515
|
-
), e =
|
|
5520
|
+
), e = I({
|
|
5516
5521
|
get: () => s.question.renderedValue,
|
|
5517
5522
|
set: (t) => {
|
|
5518
5523
|
const o = s.question;
|
|
@@ -5526,7 +5531,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5526
5531
|
class: l(n.value.css.label),
|
|
5527
5532
|
title: n.value.caption.renderedHtml
|
|
5528
5533
|
}, [
|
|
5529
|
-
N(
|
|
5534
|
+
N(v("input", {
|
|
5530
5535
|
type: "radio",
|
|
5531
5536
|
name: n.value.name,
|
|
5532
5537
|
id: n.value.id,
|
|
@@ -5537,12 +5542,12 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5537
5542
|
"aria-errormessage": n.value.describedBy,
|
|
5538
5543
|
disabled: n.value.readOnly,
|
|
5539
5544
|
class: l(n.value.css.control),
|
|
5540
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
5545
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => e.value = p),
|
|
5541
5546
|
value: n.value.value
|
|
5542
5547
|
}, null, 10, Gi), [
|
|
5543
5548
|
[ee, e.value]
|
|
5544
5549
|
]),
|
|
5545
|
-
|
|
5550
|
+
v("div", {
|
|
5546
5551
|
class: l(n.value.css.decorator)
|
|
5547
5552
|
}, [
|
|
5548
5553
|
n.value.iconName ? (i(), q(a, {
|
|
@@ -5571,17 +5576,17 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5571
5576
|
data: {}
|
|
5572
5577
|
},
|
|
5573
5578
|
setup(r) {
|
|
5574
|
-
const s = r, n =
|
|
5579
|
+
const s = r, n = I(() => s.data), e = G(() => n.value.locLogo);
|
|
5575
5580
|
return (t, o) => (i(), u("div", {
|
|
5576
5581
|
class: l(n.value.logoClassNames)
|
|
5577
5582
|
}, [
|
|
5578
|
-
|
|
5583
|
+
v("img", {
|
|
5579
5584
|
class: l(n.value.css.logoImage),
|
|
5580
5585
|
src: w(e),
|
|
5581
5586
|
width: n.value.renderedLogoWidth,
|
|
5582
5587
|
height: n.value.renderedLogoHeight,
|
|
5583
5588
|
alt: n.value.locTitle.renderedHtml,
|
|
5584
|
-
style:
|
|
5589
|
+
style: S({
|
|
5585
5590
|
objectFit: n.value.logoFit,
|
|
5586
5591
|
width: n.value.renderedStyleLogoWidth,
|
|
5587
5592
|
height: n.value.renderedStyleLogoHeight
|