survey-vue3-ui 2.1.1 → 2.2.1
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/survey-vue3-ui.es.js
CHANGED
|
@@ -289,10 +289,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
289
289
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
290
290
|
], 2));
|
|
291
291
|
}
|
|
292
|
-
}), os = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], is = ["
|
|
292
|
+
}), os = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], is = ["aria-hidden"], rs = ["id"], ls = {
|
|
293
293
|
inheritAttrs: !1
|
|
294
|
-
},
|
|
295
|
-
...
|
|
294
|
+
}, as = /* @__PURE__ */ y({
|
|
295
|
+
...ls,
|
|
296
296
|
__name: "Question",
|
|
297
297
|
props: {
|
|
298
298
|
survey: {},
|
|
@@ -369,6 +369,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
369
369
|
default: A(() => [
|
|
370
370
|
v("div", {
|
|
371
371
|
class: r(s(q.element) || void 0),
|
|
372
|
+
"aria-hidden": q.element.contentAriaHidden,
|
|
372
373
|
style: f({ display: q.element.renderedIsExpanded ? void 0 : "none" }),
|
|
373
374
|
role: "presentation"
|
|
374
375
|
}, [
|
|
@@ -400,8 +401,8 @@ const ss = /* @__PURE__ */ y({
|
|
|
400
401
|
is: "survey-string",
|
|
401
402
|
locString: q.element.locDescription
|
|
402
403
|
}, null, 8, ["locString"])
|
|
403
|
-
], 10,
|
|
404
|
-
],
|
|
404
|
+
], 10, rs)) : p("", !0)
|
|
405
|
+
], 14, is)
|
|
405
406
|
]),
|
|
406
407
|
_: 1
|
|
407
408
|
}, 16, ["is"])),
|
|
@@ -419,10 +420,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
419
420
|
}, null, 8, ["element"])) : p("", !0)
|
|
420
421
|
], 46, os));
|
|
421
422
|
}
|
|
422
|
-
}),
|
|
423
|
+
}), us = ["id"], ds = ["id", "role", "aria-labelledby", "aria-label"], ms = {
|
|
423
424
|
inheritAttrs: !1
|
|
424
|
-
},
|
|
425
|
-
...
|
|
425
|
+
}, ps = /* @__PURE__ */ y({
|
|
426
|
+
...ms,
|
|
426
427
|
inheritAttrs: !1,
|
|
427
428
|
__name: "Panel",
|
|
428
429
|
props: {
|
|
@@ -487,10 +488,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
487
488
|
is: "sv-action-bar",
|
|
488
489
|
model: o.element.getFooterToolbar()
|
|
489
490
|
}, null, 8, ["model"])
|
|
490
|
-
], 14,
|
|
491
|
-
], 42,
|
|
491
|
+
], 14, ds)) : p("", !0)
|
|
492
|
+
], 42, us)) : p("", !0);
|
|
492
493
|
}
|
|
493
|
-
}),
|
|
494
|
+
}), vs = ["id"], Cs = /* @__PURE__ */ y({
|
|
494
495
|
__name: "ElementHeader",
|
|
495
496
|
props: {
|
|
496
497
|
element: {},
|
|
@@ -522,7 +523,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
522
523
|
is: "survey-string",
|
|
523
524
|
locString: o.element.locDescription
|
|
524
525
|
}, null, 8, ["locString"])
|
|
525
|
-
], 10,
|
|
526
|
+
], 10, vs)), [
|
|
526
527
|
[P, o.element.hasDescription]
|
|
527
528
|
]) : p("", !0),
|
|
528
529
|
o.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
@@ -532,7 +533,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
532
533
|
}, null, 8, ["model"])) : p("", !0)
|
|
533
534
|
], 6));
|
|
534
535
|
}
|
|
535
|
-
}),
|
|
536
|
+
}), cs = /* @__PURE__ */ y({
|
|
536
537
|
__name: "String",
|
|
537
538
|
props: {
|
|
538
539
|
locString: {}
|
|
@@ -543,7 +544,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
543
544
|
locString: e.locString.renderAsData
|
|
544
545
|
}, null, 8, ["is", "locString"]));
|
|
545
546
|
}
|
|
546
|
-
}),
|
|
547
|
+
}), gs = ["innerHTML"], ys = /* @__PURE__ */ y({
|
|
547
548
|
__name: "StringViewer",
|
|
548
549
|
props: {
|
|
549
550
|
locString: {}
|
|
@@ -554,12 +555,12 @@ const ss = /* @__PURE__ */ y({
|
|
|
554
555
|
key: 0,
|
|
555
556
|
class: r(w(s)),
|
|
556
557
|
innerHTML: w(n)
|
|
557
|
-
}, null, 10,
|
|
558
|
+
}, null, 10, gs)) : (i(), a("span", {
|
|
558
559
|
key: 1,
|
|
559
560
|
class: r(w(s))
|
|
560
561
|
}, I(w(n)), 3));
|
|
561
562
|
}
|
|
562
|
-
}),
|
|
563
|
+
}), hs = ["innerHTML"], qs = /* @__PURE__ */ y({
|
|
563
564
|
__name: "StringEditor",
|
|
564
565
|
props: {
|
|
565
566
|
locString: {}
|
|
@@ -578,7 +579,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
578
579
|
innerHTML: o.locString.renderedHtml,
|
|
579
580
|
onBlur: n,
|
|
580
581
|
onClick: s
|
|
581
|
-
}, null, 40,
|
|
582
|
+
}, null, 40, hs)) : (i(), a("span", {
|
|
582
583
|
key: 1,
|
|
583
584
|
class: "sv-string-editor",
|
|
584
585
|
contenteditable: "true",
|
|
@@ -586,7 +587,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
586
587
|
onClick: s
|
|
587
588
|
}, I(o.locString.renderedHtml), 33));
|
|
588
589
|
}
|
|
589
|
-
}),
|
|
590
|
+
}), ws = ["id"], bs = /* @__PURE__ */ y({
|
|
590
591
|
__name: "Skeleton",
|
|
591
592
|
props: {
|
|
592
593
|
element: {}
|
|
@@ -597,11 +598,11 @@ const ss = /* @__PURE__ */ y({
|
|
|
597
598
|
class: "sv-skeleton-element",
|
|
598
599
|
id: n.element.id,
|
|
599
600
|
style: f({ height: n.element.skeletonHeight })
|
|
600
|
-
}, null, 12,
|
|
601
|
+
}, null, 12, ws));
|
|
601
602
|
}
|
|
602
|
-
}),
|
|
603
|
-
|
|
604
|
-
],
|
|
603
|
+
}), Ls = { class: "sv-scroll__container" }, ks = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1), fs = [
|
|
604
|
+
ks
|
|
605
|
+
], Hs = /* @__PURE__ */ y({
|
|
605
606
|
__name: "Scroll",
|
|
606
607
|
props: {
|
|
607
608
|
disabled: {},
|
|
@@ -627,17 +628,17 @@ const ss = /* @__PURE__ */ y({
|
|
|
627
628
|
class: "sv-scroll__scroller sv-drag-target-skipped",
|
|
628
629
|
onScroll: t[0] || (t[0] = () => w(n).onScrollContainer())
|
|
629
630
|
}, [
|
|
630
|
-
v("div",
|
|
631
|
+
v("div", Ls, [
|
|
631
632
|
x(o.$slots, "default")
|
|
632
633
|
])
|
|
633
634
|
], 32),
|
|
634
635
|
v("div", {
|
|
635
636
|
class: "sv-scroll__scrollbar",
|
|
636
637
|
onScroll: t[1] || (t[1] = () => w(n).onScrollScrollbar())
|
|
637
|
-
},
|
|
638
|
+
}, fs, 32)
|
|
638
639
|
], 512));
|
|
639
640
|
}
|
|
640
|
-
}),
|
|
641
|
+
}), Ms = ["id"], Is = ["value"], Vs = /* @__PURE__ */ y({
|
|
641
642
|
inheritAttrs: !1,
|
|
642
643
|
__name: "Text",
|
|
643
644
|
props: {
|
|
@@ -664,8 +665,8 @@ const ss = /* @__PURE__ */ y({
|
|
|
664
665
|
(i(!0), a(M, null, V(s.question.dataList, (t, l) => (i(), a("option", {
|
|
665
666
|
key: l,
|
|
666
667
|
value: t
|
|
667
|
-
}, null, 8,
|
|
668
|
-
], 8,
|
|
668
|
+
}, null, 8, Is))), 128))
|
|
669
|
+
], 8, Ms)
|
|
669
670
|
], 512)) : (i(), g(m, {
|
|
670
671
|
key: 2,
|
|
671
672
|
is: "survey-text-input",
|
|
@@ -675,7 +676,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
675
676
|
}
|
|
676
677
|
}, null, 8, ["question", "get-ref"]));
|
|
677
678
|
}
|
|
678
|
-
}),
|
|
679
|
+
}), Ss = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Rs = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ts = /* @__PURE__ */ y({
|
|
679
680
|
__name: "TextInput",
|
|
680
681
|
props: {
|
|
681
682
|
question: {},
|
|
@@ -729,7 +730,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
729
730
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
730
731
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
731
732
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
732
|
-
}, null, 46,
|
|
733
|
+
}, null, 46, Rs),
|
|
733
734
|
c(m, {
|
|
734
735
|
is: "sv-character-counter",
|
|
735
736
|
counter: l.question.characterCounter,
|
|
@@ -775,12 +776,12 @@ const ss = /* @__PURE__ */ y({
|
|
|
775
776
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
776
777
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
777
778
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
778
|
-
}, null, 46,
|
|
779
|
+
}, null, 46, Ss));
|
|
779
780
|
}
|
|
780
|
-
}),
|
|
781
|
+
}), Bs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Zs = {
|
|
781
782
|
key: 0,
|
|
782
783
|
class: "sv-hidden"
|
|
783
|
-
},
|
|
784
|
+
}, $s = { key: 7 }, Ds = ["value"], be = /* @__PURE__ */ y({
|
|
784
785
|
inheritAttrs: !1,
|
|
785
786
|
__name: "SelectBase",
|
|
786
787
|
props: {
|
|
@@ -810,7 +811,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
810
811
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
811
812
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
812
813
|
}, [
|
|
813
|
-
t.showLegend ? (i(), a("legend",
|
|
814
|
+
t.showLegend ? (i(), a("legend", Zs, I(t.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
814
815
|
t.question.hasHeadItems ? (i(!0), a(M, { key: 1 }, V(t.question.headItems, (d) => (i(), g(m, $({
|
|
815
816
|
key: d.value,
|
|
816
817
|
is: s(d)
|
|
@@ -852,7 +853,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
852
853
|
is: "survey-other-choice",
|
|
853
854
|
question: t.question
|
|
854
855
|
}, null, 8, ["question"])) : p("", !0),
|
|
855
|
-
t.question.showClearButtonInContent ? (i(), a("div",
|
|
856
|
+
t.question.showClearButtonInContent ? (i(), a("div", $s, [
|
|
856
857
|
v("input", {
|
|
857
858
|
type: "button",
|
|
858
859
|
class: r(t.question.cssClasses.clearButton),
|
|
@@ -860,11 +861,11 @@ const ss = /* @__PURE__ */ y({
|
|
|
860
861
|
t.question.clearValue(!0);
|
|
861
862
|
}),
|
|
862
863
|
value: t.question.clearButtonCaption
|
|
863
|
-
}, null, 10,
|
|
864
|
+
}, null, 10, Ds)
|
|
864
865
|
])) : p("", !0)
|
|
865
|
-
], 10,
|
|
866
|
+
], 10, Bs));
|
|
866
867
|
}
|
|
867
|
-
}),
|
|
868
|
+
}), As = /* @__PURE__ */ y({
|
|
868
869
|
inheritAttrs: !1,
|
|
869
870
|
__name: "Checkbox",
|
|
870
871
|
props: {
|
|
@@ -886,7 +887,7 @@ function Le(u, e, n) {
|
|
|
886
887
|
e().isDesignMode || (s && n.value && s.setRootElement(n.value), o && o.setRootElement(void 0));
|
|
887
888
|
});
|
|
888
889
|
}
|
|
889
|
-
const
|
|
890
|
+
const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required", "aria-label"], Ns = ["xlink:href"], Es = /* @__PURE__ */ y({
|
|
890
891
|
inheritAttrs: !1,
|
|
891
892
|
__name: "CheckboxItem",
|
|
892
893
|
props: {
|
|
@@ -928,7 +929,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
928
929
|
class: r(o.question.cssClasses.itemControl),
|
|
929
930
|
required: o.question.hasRequiredError(),
|
|
930
931
|
"aria-label": o.ariaLabel
|
|
931
|
-
}, null, 42,
|
|
932
|
+
}, null, 42, Ps),
|
|
932
933
|
o.question.cssClasses.materialDecorator ? (i(), a("span", {
|
|
933
934
|
key: 0,
|
|
934
935
|
class: r(o.question.cssClasses.materialDecorator)
|
|
@@ -939,7 +940,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
939
940
|
}, [
|
|
940
941
|
v("use", {
|
|
941
942
|
"xlink:href": o.question.itemSvgIcon
|
|
942
|
-
}, null, 8,
|
|
943
|
+
}, null, 8, Ns)
|
|
943
944
|
], 2)) : p("", !0)
|
|
944
945
|
], 2)) : p("", !0),
|
|
945
946
|
o.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -954,7 +955,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
954
955
|
], 2)
|
|
955
956
|
], 2));
|
|
956
957
|
}
|
|
957
|
-
}),
|
|
958
|
+
}), Ws = /* @__PURE__ */ y({
|
|
958
959
|
inheritAttrs: !1,
|
|
959
960
|
__name: "Radiogroup",
|
|
960
961
|
props: {
|
|
@@ -963,7 +964,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
963
964
|
setup(u) {
|
|
964
965
|
return (e, n) => (i(), g(be, { question: e.question }, null, 8, ["question"]));
|
|
965
966
|
}
|
|
966
|
-
}),
|
|
967
|
+
}), Fs = ["name", "value", "id", "aria-errormessage", "disabled", "readonly", "aria-label"], Os = ["xlink:href"], zs = /* @__PURE__ */ y({
|
|
967
968
|
inheritAttrs: !1,
|
|
968
969
|
__name: "RadiogroupItem",
|
|
969
970
|
props: {
|
|
@@ -1005,7 +1006,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1005
1006
|
readonly: l.question.isReadOnlyAttr,
|
|
1006
1007
|
class: r(l.question.cssClasses.itemControl),
|
|
1007
1008
|
"aria-label": l.ariaLabel
|
|
1008
|
-
}, null, 10,
|
|
1009
|
+
}, null, 10, Fs), [
|
|
1009
1010
|
[se, t.value]
|
|
1010
1011
|
]),
|
|
1011
1012
|
l.question.cssClasses.materialDecorator ? (i(), a("span", {
|
|
@@ -1018,7 +1019,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1018
1019
|
}, [
|
|
1019
1020
|
v("use", {
|
|
1020
1021
|
"xlink:href": l.question.itemSvgIcon
|
|
1021
|
-
}, null, 8,
|
|
1022
|
+
}, null, 8, Os)
|
|
1022
1023
|
], 2)) : p("", !0)
|
|
1023
1024
|
], 2)) : p("", !0),
|
|
1024
1025
|
l.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -1033,7 +1034,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1033
1034
|
], 34)
|
|
1034
1035
|
], 2));
|
|
1035
1036
|
}
|
|
1036
|
-
}),
|
|
1037
|
+
}), Us = ["src"], Qs = ["title"], Ks = { key: 0 }, js = /* @__PURE__ */ y({
|
|
1037
1038
|
inheritAttrs: !1,
|
|
1038
1039
|
__name: "Signaturepad",
|
|
1039
1040
|
props: {
|
|
@@ -1068,7 +1069,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1068
1069
|
style: f({
|
|
1069
1070
|
width: s.question.renderedCanvasWidth
|
|
1070
1071
|
})
|
|
1071
|
-
}, null, 14,
|
|
1072
|
+
}, null, 14, Us)) : p("", !0),
|
|
1072
1073
|
v("canvas", {
|
|
1073
1074
|
tabindex: "-1",
|
|
1074
1075
|
class: r(s.question.cssClasses.canvas),
|
|
@@ -1088,14 +1089,14 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1088
1089
|
s.question.clearValue(!0);
|
|
1089
1090
|
})
|
|
1090
1091
|
}, [
|
|
1091
|
-
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span",
|
|
1092
|
+
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span", Ks, "✖")),
|
|
1092
1093
|
s.question.cssClasses.clearButtonIconId ? (i(), g(m, {
|
|
1093
1094
|
key: 1,
|
|
1094
1095
|
is: "sv-svg-icon",
|
|
1095
1096
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1096
1097
|
size: "auto"
|
|
1097
1098
|
}, null, 8, ["iconName"])) : p("", !0)
|
|
1098
|
-
], 10,
|
|
1099
|
+
], 10, Qs)
|
|
1099
1100
|
], 2)) : p("", !0),
|
|
1100
1101
|
s.question.showLoadingIndicator ? (i(), a("div", {
|
|
1101
1102
|
key: 1,
|
|
@@ -1105,7 +1106,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1105
1106
|
], 2)) : p("", !0)
|
|
1106
1107
|
], 6));
|
|
1107
1108
|
}
|
|
1108
|
-
}),
|
|
1109
|
+
}), Gs = ["innerHTML"], Xs = /* @__PURE__ */ y({
|
|
1109
1110
|
inheritAttrs: !1,
|
|
1110
1111
|
__name: "Html",
|
|
1111
1112
|
props: {
|
|
@@ -1120,9 +1121,9 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1120
1121
|
ref: n,
|
|
1121
1122
|
class: r(o.question.renderCssRoot),
|
|
1122
1123
|
innerHTML: w(s)
|
|
1123
|
-
}, null, 10,
|
|
1124
|
+
}, null, 10, Gs));
|
|
1124
1125
|
}
|
|
1125
|
-
}),
|
|
1126
|
+
}), Js = ["src", "alt", "width", "height"], Ys = ["src", "width", "height"], _s = ["src", "title", "width", "height"], xs = /* @__PURE__ */ y({
|
|
1126
1127
|
inheritAttrs: !1,
|
|
1127
1128
|
__name: "Image",
|
|
1128
1129
|
props: {
|
|
@@ -1155,7 +1156,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1155
1156
|
onError: t[1] || (t[1] = (l) => {
|
|
1156
1157
|
o.question.onErrorHandler();
|
|
1157
1158
|
})
|
|
1158
|
-
}, null, 46,
|
|
1159
|
+
}, null, 46, Js)), [
|
|
1159
1160
|
[P, w(s) && !o.question.contentNotLoaded]
|
|
1160
1161
|
]) : p("", !0),
|
|
1161
1162
|
o.question.renderedMode === "video" ? B((i(), a("video", {
|
|
@@ -1176,7 +1177,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1176
1177
|
onError: t[3] || (t[3] = (l) => {
|
|
1177
1178
|
o.question.onErrorHandler();
|
|
1178
1179
|
})
|
|
1179
|
-
}, null, 46,
|
|
1180
|
+
}, null, 46, Ys)), [
|
|
1180
1181
|
[P, w(s) && !o.question.contentNotLoaded]
|
|
1181
1182
|
]) : p("", !0),
|
|
1182
1183
|
o.question.renderedMode === "youtube" ? (i(), a("iframe", {
|
|
@@ -1191,7 +1192,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1191
1192
|
width: o.question.renderedStyleWidth,
|
|
1192
1193
|
height: o.question.renderedStyleHeight
|
|
1193
1194
|
})
|
|
1194
|
-
}, null, 14,
|
|
1195
|
+
}, null, 14, _s)) : p("", !0),
|
|
1195
1196
|
!w(s) || o.question.contentNotLoaded ? (i(), a("div", {
|
|
1196
1197
|
key: 3,
|
|
1197
1198
|
class: r(o.question.cssClasses.noImage)
|
|
@@ -1204,7 +1205,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1204
1205
|
], 2)) : p("", !0)
|
|
1205
1206
|
], 2));
|
|
1206
1207
|
}
|
|
1207
|
-
}),
|
|
1208
|
+
}), e1 = /* @__PURE__ */ y({
|
|
1208
1209
|
inheritAttrs: !1,
|
|
1209
1210
|
__name: "Expression",
|
|
1210
1211
|
props: {
|
|
@@ -1218,7 +1219,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1218
1219
|
ref: n
|
|
1219
1220
|
}, I(s.question.formatedValue), 3));
|
|
1220
1221
|
}
|
|
1221
|
-
}),
|
|
1222
|
+
}), s1 = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], n1 = ["id", "multiple", "placeholder"], t1 = ["id", "multiple", "placeholder"], o1 = /* @__PURE__ */ y({
|
|
1222
1223
|
inheritAttrs: !1,
|
|
1223
1224
|
__name: "File",
|
|
1224
1225
|
props: {
|
|
@@ -1245,7 +1246,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1245
1246
|
title: s.question.inputTitle,
|
|
1246
1247
|
accept: s.question.acceptedTypes,
|
|
1247
1248
|
capture: s.question.renderCapture
|
|
1248
|
-
}, null, 10,
|
|
1249
|
+
}, null, 10, s1)) : p("", !0),
|
|
1249
1250
|
s.question.isReadOnlyAttr ? (i(), a("input", {
|
|
1250
1251
|
key: 1,
|
|
1251
1252
|
type: "file",
|
|
@@ -1255,7 +1256,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1255
1256
|
multiple: s.question.allowMultiple,
|
|
1256
1257
|
placeholder: s.question.title,
|
|
1257
1258
|
style: { color: "transparent" }
|
|
1258
|
-
}, null, 10,
|
|
1259
|
+
}, null, 10, n1)) : p("", !0),
|
|
1259
1260
|
s.question.isDisabledAttr ? (i(), a("input", {
|
|
1260
1261
|
key: 2,
|
|
1261
1262
|
type: "file",
|
|
@@ -1265,7 +1266,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1265
1266
|
multiple: s.question.allowMultiple,
|
|
1266
1267
|
placeholder: s.question.title,
|
|
1267
1268
|
style: { color: "transparent" }
|
|
1268
|
-
}, null, 10,
|
|
1269
|
+
}, null, 10, t1)) : p("", !0),
|
|
1269
1270
|
v("div", {
|
|
1270
1271
|
class: r(s.question.cssClasses.dragArea),
|
|
1271
1272
|
onDrop: o[0] || (o[0] = //@ts-ignore
|
|
@@ -1324,7 +1325,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1324
1325
|
], 34)
|
|
1325
1326
|
], 2));
|
|
1326
1327
|
}
|
|
1327
|
-
}),
|
|
1328
|
+
}), i1 = { class: "sv-hidden" }, Ce = "survey-imagepicker-item", r1 = /* @__PURE__ */ y({
|
|
1328
1329
|
inheritAttrs: !1,
|
|
1329
1330
|
__name: "Imagepicker",
|
|
1330
1331
|
props: {
|
|
@@ -1347,7 +1348,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1347
1348
|
ref_key: "root",
|
|
1348
1349
|
ref: n
|
|
1349
1350
|
}, [
|
|
1350
|
-
v("legend",
|
|
1351
|
+
v("legend", i1, I(t.question.locTitle.renderedHtml), 1),
|
|
1351
1352
|
t.question.hasColumns ? p("", !0) : (i(!0), a(M, { key: 0 }, V(t.question.visibleChoices, (d) => (i(), g(m, $({
|
|
1352
1353
|
key: d.value,
|
|
1353
1354
|
is: s(d)
|
|
@@ -1364,7 +1365,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1364
1365
|
], 2))), 128)) : p("", !0)
|
|
1365
1366
|
], 6));
|
|
1366
1367
|
}
|
|
1367
|
-
}),
|
|
1368
|
+
}), l1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], a1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], u1 = ["src", "width", "height", "alt"], d1 = ["src", "width", "height"], m1 = /* @__PURE__ */ y({
|
|
1368
1369
|
inheritAttrs: !1,
|
|
1369
1370
|
__name: "ImagepickerItem",
|
|
1370
1371
|
props: {
|
|
@@ -1403,7 +1404,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1403
1404
|
"aria-invalid": t.question.ariaInvalid,
|
|
1404
1405
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1405
1406
|
class: r(t.question.cssClasses.itemControl)
|
|
1406
|
-
}, null, 10,
|
|
1407
|
+
}, null, 10, l1)), [
|
|
1407
1408
|
[ie, s.value]
|
|
1408
1409
|
]) : B((i(), a("input", {
|
|
1409
1410
|
key: 1,
|
|
@@ -1419,7 +1420,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1419
1420
|
"aria-invalid": t.question.ariaInvalid,
|
|
1420
1421
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1421
1422
|
class: r(t.question.cssClasses.itemControl)
|
|
1422
|
-
}, null, 10,
|
|
1423
|
+
}, null, 10, a1)), [
|
|
1423
1424
|
[se, s.value]
|
|
1424
1425
|
]),
|
|
1425
1426
|
v("div", {
|
|
@@ -1455,7 +1456,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1455
1456
|
onError: l[3] || (l[3] = (d) => {
|
|
1456
1457
|
t.item.onErrorHandler();
|
|
1457
1458
|
})
|
|
1458
|
-
}, null, 46,
|
|
1459
|
+
}, null, 46, u1)) : p("", !0),
|
|
1459
1460
|
w(o) && !t.item.contentNotLoaded && t.question.contentMode === "video" ? (i(), a("video", {
|
|
1460
1461
|
key: 2,
|
|
1461
1462
|
controls: "",
|
|
@@ -1470,7 +1471,7 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1470
1471
|
onError: l[5] || (l[5] = (d) => {
|
|
1471
1472
|
t.item.onErrorHandler();
|
|
1472
1473
|
})
|
|
1473
|
-
}, null, 46,
|
|
1474
|
+
}, null, 46, d1)) : p("", !0),
|
|
1474
1475
|
!w(o) || t.item.contentNotLoaded ? (i(), a("div", {
|
|
1475
1476
|
key: 3,
|
|
1476
1477
|
class: r(t.question.cssClasses.itemNoImage),
|
|
@@ -1501,41 +1502,43 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1501
1502
|
], 2)
|
|
1502
1503
|
], 2));
|
|
1503
1504
|
}
|
|
1504
|
-
}),
|
|
1505
|
+
}), p1 = /* @__PURE__ */ y({
|
|
1505
1506
|
inheritAttrs: !1,
|
|
1506
1507
|
__name: "Comment",
|
|
1507
1508
|
props: {
|
|
1508
1509
|
question: {}
|
|
1509
1510
|
},
|
|
1510
1511
|
setup(u) {
|
|
1511
|
-
const e = u, n = k(
|
|
1512
|
-
|
|
1512
|
+
const e = u, n = k();
|
|
1513
|
+
function s(o) {
|
|
1514
|
+
n.value = o;
|
|
1515
|
+
}
|
|
1516
|
+
return T(e, n), (o, t) => !o.question.isReadOnlyRenderDiv() && o.question.getMaxLength() ? (i(), a("div", {
|
|
1513
1517
|
key: 0,
|
|
1514
1518
|
ref_key: "root",
|
|
1515
1519
|
ref: n
|
|
1516
1520
|
}, [
|
|
1517
1521
|
c(m, {
|
|
1518
1522
|
is: "sv-text-area",
|
|
1519
|
-
model:
|
|
1523
|
+
model: o.question.textAreaModel
|
|
1520
1524
|
}, null, 8, ["model"]),
|
|
1521
1525
|
c(m, {
|
|
1522
1526
|
is: "sv-character-counter",
|
|
1523
|
-
counter:
|
|
1524
|
-
remainingCharacterCounter:
|
|
1527
|
+
counter: o.question.characterCounter,
|
|
1528
|
+
remainingCharacterCounter: o.question.cssClasses.remainingCharacterCounter
|
|
1525
1529
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
1526
|
-
], 512)) : !
|
|
1530
|
+
], 512)) : !o.question.isReadOnlyRenderDiv() && !o.question.getMaxLength() ? (i(), g(m, {
|
|
1527
1531
|
key: 1,
|
|
1528
1532
|
is: "sv-text-area",
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
model: s.question.textAreaModel
|
|
1533
|
+
"get-ref": s,
|
|
1534
|
+
model: o.question.textAreaModel
|
|
1532
1535
|
}, null, 8, ["model"])) : (i(), a("div", {
|
|
1533
1536
|
key: 2,
|
|
1534
1537
|
ref_key: "root",
|
|
1535
1538
|
ref: n
|
|
1536
|
-
}, I(
|
|
1539
|
+
}, I(o.question.value), 513));
|
|
1537
1540
|
}
|
|
1538
|
-
}),
|
|
1541
|
+
}), v1 = /* @__PURE__ */ y({
|
|
1539
1542
|
inheritAttrs: !1,
|
|
1540
1543
|
__name: "Dropdown",
|
|
1541
1544
|
props: {
|
|
@@ -1559,16 +1562,16 @@ const As = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1559
1562
|
}, null, 8, ["question"])) : p("", !0)
|
|
1560
1563
|
], 2));
|
|
1561
1564
|
}
|
|
1562
|
-
}),
|
|
1565
|
+
}), C1 = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], c1 = {
|
|
1563
1566
|
key: 0,
|
|
1564
1567
|
value: ""
|
|
1565
|
-
},
|
|
1568
|
+
}, g1 = ["id"];
|
|
1566
1569
|
G.Instance.registerRenderer(
|
|
1567
1570
|
"dropdown",
|
|
1568
1571
|
"select",
|
|
1569
1572
|
"sv-dropdown-select"
|
|
1570
1573
|
);
|
|
1571
|
-
const
|
|
1574
|
+
const y1 = /* @__PURE__ */ y({
|
|
1572
1575
|
inheritAttrs: !1,
|
|
1573
1576
|
__name: "DropdownSelect",
|
|
1574
1577
|
props: {
|
|
@@ -1603,7 +1606,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1603
1606
|
disabled: "",
|
|
1604
1607
|
id: l.question.inputId,
|
|
1605
1608
|
class: r(l.question.getControlClass())
|
|
1606
|
-
}, I(l.question.readOnlyText), 11,
|
|
1609
|
+
}, I(l.question.readOnlyText), 11, g1)) : B((i(), a("select", {
|
|
1607
1610
|
key: 0,
|
|
1608
1611
|
id: l.question.inputId,
|
|
1609
1612
|
"onUpdate:modelValue": d[0] || (d[0] = (C) => t.value = C),
|
|
@@ -1617,13 +1620,13 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1617
1620
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage,
|
|
1618
1621
|
required: l.question.isRequired
|
|
1619
1622
|
}, [
|
|
1620
|
-
l.question.allowClear ? (i(), a("option",
|
|
1623
|
+
l.question.allowClear ? (i(), a("option", c1, I(l.question.placeholder), 1)) : p("", !0),
|
|
1621
1624
|
(i(!0), a(M, null, V(l.question.visibleChoices, (C) => (i(), g(m, {
|
|
1622
1625
|
is: "sv-dropdown-option-item",
|
|
1623
1626
|
item: C,
|
|
1624
1627
|
key: C.id
|
|
1625
1628
|
}, null, 8, ["item"]))), 128))
|
|
1626
|
-
], 42,
|
|
1629
|
+
], 42, C1)), [
|
|
1627
1630
|
[Be, t.value]
|
|
1628
1631
|
]),
|
|
1629
1632
|
l.question.cssClasses.chevronButtonIconId ? (i(), a("div", {
|
|
@@ -1646,7 +1649,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1646
1649
|
}, null, 8, ["question"])) : p("", !0)
|
|
1647
1650
|
], 2));
|
|
1648
1651
|
}
|
|
1649
|
-
}),
|
|
1652
|
+
}), h1 = ["value", "disabled"], q1 = /* @__PURE__ */ y({
|
|
1650
1653
|
__name: "OptionItem",
|
|
1651
1654
|
props: {
|
|
1652
1655
|
item: {}
|
|
@@ -1656,9 +1659,9 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1656
1659
|
return S(() => e.item), (s, o) => (i(), a("option", {
|
|
1657
1660
|
value: s.item.value,
|
|
1658
1661
|
disabled: !s.item.isEnabled
|
|
1659
|
-
}, I(w(n)), 9,
|
|
1662
|
+
}, I(w(n)), 9, h1));
|
|
1660
1663
|
}
|
|
1661
|
-
}),
|
|
1664
|
+
}), w1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "required"], b1 = { style: { visibility: "hidden" } }, L1 = ["disabled", "inputmode", "id", "tabindex", "readonly", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], k1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], f1 = /* @__PURE__ */ y({
|
|
1662
1665
|
__name: "Dropdown",
|
|
1663
1666
|
props: {
|
|
1664
1667
|
question: {}
|
|
@@ -1728,7 +1731,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1728
1731
|
key: 1,
|
|
1729
1732
|
class: r(L.question.cssClasses.hintSuffix)
|
|
1730
1733
|
}, [
|
|
1731
|
-
v("span",
|
|
1734
|
+
v("span", b1, I(s.value.inputStringRendered), 1),
|
|
1732
1735
|
v("span", null, I(s.value.hintStringSuffix), 1)
|
|
1733
1736
|
], 2)) : p("", !0),
|
|
1734
1737
|
L.question.showInputFieldComponent ? (i(), g(m, {
|
|
@@ -1762,13 +1765,13 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1762
1765
|
onInput: b,
|
|
1763
1766
|
onBlur: d,
|
|
1764
1767
|
onFocus: C
|
|
1765
|
-
}, null, 42,
|
|
1768
|
+
}, null, 42, L1)
|
|
1766
1769
|
], 2),
|
|
1767
1770
|
c(m, {
|
|
1768
1771
|
is: "sv-action-bar",
|
|
1769
1772
|
model: s.value.editorButtons
|
|
1770
1773
|
}, null, 8, ["model"])
|
|
1771
|
-
], 42,
|
|
1774
|
+
], 42, w1)),
|
|
1772
1775
|
L.question.isReadOnly ? (i(), a("div", {
|
|
1773
1776
|
key: 2,
|
|
1774
1777
|
id: L.question.inputId,
|
|
@@ -1795,7 +1798,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1795
1798
|
is: "sv-action-bar",
|
|
1796
1799
|
model: s.value.editorButtons
|
|
1797
1800
|
}, null, 8, ["model"])
|
|
1798
|
-
], 10,
|
|
1801
|
+
], 10, k1)) : (i(), g(m, {
|
|
1799
1802
|
key: 1,
|
|
1800
1803
|
is: "sv-popup",
|
|
1801
1804
|
model: s.value.popupModel
|
|
@@ -1803,7 +1806,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1803
1806
|
], 2);
|
|
1804
1807
|
};
|
|
1805
1808
|
}
|
|
1806
|
-
}),
|
|
1809
|
+
}), H1 = /* @__PURE__ */ y({
|
|
1807
1810
|
inheritAttrs: !1,
|
|
1808
1811
|
__name: "Tagbox",
|
|
1809
1812
|
props: {
|
|
@@ -1827,7 +1830,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1827
1830
|
}, null, 8, ["question"])) : p("", !0)
|
|
1828
1831
|
], 2));
|
|
1829
1832
|
}
|
|
1830
|
-
}),
|
|
1833
|
+
}), M1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "aria-controls", "aria-expanded", "aria-activedescendant", "required"], I1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], V1 = /* @__PURE__ */ y({
|
|
1831
1834
|
__name: "Tagbox",
|
|
1832
1835
|
props: {
|
|
1833
1836
|
question: {}
|
|
@@ -1891,7 +1894,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1891
1894
|
is: "sv-action-bar",
|
|
1892
1895
|
model: n.value.editorButtons
|
|
1893
1896
|
}, null, 8, ["model"])
|
|
1894
|
-
], 42,
|
|
1897
|
+
], 42, M1)),
|
|
1895
1898
|
d.question.isReadOnly ? (i(), a("div", {
|
|
1896
1899
|
key: 2,
|
|
1897
1900
|
id: d.question.inputId,
|
|
@@ -1918,7 +1921,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1918
1921
|
is: "sv-action-bar",
|
|
1919
1922
|
model: n.value.editorButtons
|
|
1920
1923
|
}, null, 8, ["model"])
|
|
1921
|
-
], 10,
|
|
1924
|
+
], 10, I1)) : (i(), g(m, {
|
|
1922
1925
|
key: 1,
|
|
1923
1926
|
is: "sv-popup",
|
|
1924
1927
|
model: n.value.popupModel
|
|
@@ -1926,7 +1929,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1926
1929
|
], 2);
|
|
1927
1930
|
};
|
|
1928
1931
|
}
|
|
1929
|
-
}),
|
|
1932
|
+
}), S1 = { style: { visibility: "hidden" } }, R1 = ["placeholder", "disabled", "inputmode", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "id", "readonly", "size"], T1 = /* @__PURE__ */ y({
|
|
1930
1933
|
__name: "TagboxFilter",
|
|
1931
1934
|
props: {
|
|
1932
1935
|
question: {},
|
|
@@ -1972,7 +1975,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
1972
1975
|
key: 1,
|
|
1973
1976
|
class: r(d.question.cssClasses.hintSuffix)
|
|
1974
1977
|
}, [
|
|
1975
|
-
v("span",
|
|
1978
|
+
v("span", S1, I(d.model.inputStringRendered), 1),
|
|
1976
1979
|
v("span", null, I(d.model.hintStringSuffix), 1)
|
|
1977
1980
|
], 2)) : p("", !0),
|
|
1978
1981
|
B(v("input", {
|
|
@@ -2000,13 +2003,13 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2000
2003
|
onKeydown: s,
|
|
2001
2004
|
onBlur: o,
|
|
2002
2005
|
onFocus: t
|
|
2003
|
-
}, null, 42,
|
|
2006
|
+
}, null, 42, R1), [
|
|
2004
2007
|
[Ze, l.value]
|
|
2005
2008
|
])
|
|
2006
2009
|
], 2)
|
|
2007
2010
|
], 2));
|
|
2008
2011
|
}
|
|
2009
|
-
}),
|
|
2012
|
+
}), B1 = { class: "sv-tagbox__item-text" }, Z1 = /* @__PURE__ */ y({
|
|
2010
2013
|
__name: "TagboxItem",
|
|
2011
2014
|
props: {
|
|
2012
2015
|
question: {},
|
|
@@ -2020,7 +2023,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2020
2023
|
class: "sv-tagbox__item",
|
|
2021
2024
|
key: s.item.key
|
|
2022
2025
|
}, [
|
|
2023
|
-
v("div",
|
|
2026
|
+
v("div", B1, [
|
|
2024
2027
|
c(m, {
|
|
2025
2028
|
is: "survey-string",
|
|
2026
2029
|
locString: s.item.locText
|
|
@@ -2039,7 +2042,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2039
2042
|
], 2)
|
|
2040
2043
|
]));
|
|
2041
2044
|
}
|
|
2042
|
-
}),
|
|
2045
|
+
}), $1 = /* @__PURE__ */ y({
|
|
2043
2046
|
inheritAttrs: !1,
|
|
2044
2047
|
__name: "Ranking",
|
|
2045
2048
|
props: {
|
|
@@ -2111,10 +2114,10 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2111
2114
|
], 2)) : p("", !0)
|
|
2112
2115
|
], 2));
|
|
2113
2116
|
}
|
|
2114
|
-
}),
|
|
2117
|
+
}), D1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], A1 = {
|
|
2115
2118
|
tabindex: "-1",
|
|
2116
2119
|
style: { outline: "none" }
|
|
2117
|
-
},
|
|
2120
|
+
}, P1 = ["xlink:href"], N1 = ["xlink:href"], E1 = ["xlink:href"], W1 = /* @__PURE__ */ y({
|
|
2118
2121
|
inheritAttrs: !1,
|
|
2119
2122
|
__name: "RankingItem",
|
|
2120
2123
|
props: {
|
|
@@ -2150,7 +2153,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2150
2153
|
);
|
|
2151
2154
|
})
|
|
2152
2155
|
}, [
|
|
2153
|
-
v("div",
|
|
2156
|
+
v("div", A1, [
|
|
2154
2157
|
v("div", {
|
|
2155
2158
|
class: r(s.question.cssClasses.itemGhostNode)
|
|
2156
2159
|
}, null, 2),
|
|
@@ -2165,14 +2168,14 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2165
2168
|
}, [
|
|
2166
2169
|
v("use", {
|
|
2167
2170
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2168
|
-
}, null, 8,
|
|
2171
|
+
}, null, 8, P1)
|
|
2169
2172
|
], 2)),
|
|
2170
2173
|
(i(), a("svg", {
|
|
2171
2174
|
class: r(s.question.getIconFocusCss())
|
|
2172
2175
|
}, [
|
|
2173
2176
|
v("use", {
|
|
2174
2177
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2175
|
-
}, null, 8,
|
|
2178
|
+
}, null, 8, N1)
|
|
2176
2179
|
], 2))
|
|
2177
2180
|
], 2),
|
|
2178
2181
|
!s.unrankedItem && n.value ? (i(), a("div", {
|
|
@@ -2185,7 +2188,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2185
2188
|
(i(), a("svg", null, [
|
|
2186
2189
|
v("use", {
|
|
2187
2190
|
"xlink:href": s.question.dashSvgIcon
|
|
2188
|
-
}, null, 8,
|
|
2191
|
+
}, null, 8, E1)
|
|
2189
2192
|
]))
|
|
2190
2193
|
], 2)),
|
|
2191
2194
|
c(m, {
|
|
@@ -2195,9 +2198,9 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2195
2198
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2196
2199
|
], 2)
|
|
2197
2200
|
])
|
|
2198
|
-
], 42,
|
|
2201
|
+
], 42, D1));
|
|
2199
2202
|
}
|
|
2200
|
-
}),
|
|
2203
|
+
}), F1 = /* @__PURE__ */ y({
|
|
2201
2204
|
inheritAttrs: !1,
|
|
2202
2205
|
__name: "RankingItemContent",
|
|
2203
2206
|
props: {
|
|
@@ -2214,10 +2217,10 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2214
2217
|
}, null, 8, ["locString"])
|
|
2215
2218
|
], 2));
|
|
2216
2219
|
}
|
|
2217
|
-
}),
|
|
2220
|
+
}), O1 = { role: "radiogroup" }, z1 = /* @__PURE__ */ v("legend", {
|
|
2218
2221
|
role: "presentation",
|
|
2219
2222
|
class: "sv-hidden"
|
|
2220
|
-
}, null, -1),
|
|
2223
|
+
}, null, -1), U1 = /* @__PURE__ */ y({
|
|
2221
2224
|
inheritAttrs: !1,
|
|
2222
2225
|
__name: "Rating",
|
|
2223
2226
|
props: {
|
|
@@ -2232,8 +2235,8 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2232
2235
|
ref_key: "root",
|
|
2233
2236
|
ref: n
|
|
2234
2237
|
}, [
|
|
2235
|
-
v("fieldset",
|
|
2236
|
-
|
|
2238
|
+
v("fieldset", O1, [
|
|
2239
|
+
z1,
|
|
2237
2240
|
o.question.hasMinLabel ? (i(), a("span", {
|
|
2238
2241
|
key: 0,
|
|
2239
2242
|
class: r(o.question.cssClasses.minText)
|
|
@@ -2262,7 +2265,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2262
2265
|
])
|
|
2263
2266
|
], 2));
|
|
2264
2267
|
}
|
|
2265
|
-
}),
|
|
2268
|
+
}), Q1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = ["data-text"], j1 = /* @__PURE__ */ y({
|
|
2266
2269
|
__name: "RatingItem",
|
|
2267
2270
|
props: {
|
|
2268
2271
|
question: {},
|
|
@@ -2289,7 +2292,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2289
2292
|
"aria-label": n.question.ariaLabel,
|
|
2290
2293
|
"aria-invalid": n.question.ariaInvalid,
|
|
2291
2294
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2292
|
-
}, null, 8,
|
|
2295
|
+
}, null, 8, Q1),
|
|
2293
2296
|
v("span", {
|
|
2294
2297
|
class: r(n.question.cssClasses.itemText),
|
|
2295
2298
|
"data-text": n.item.text
|
|
@@ -2298,10 +2301,10 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2298
2301
|
is: "survey-string",
|
|
2299
2302
|
locString: n.item.locText
|
|
2300
2303
|
}, null, 8, ["locString"])
|
|
2301
|
-
], 10,
|
|
2304
|
+
], 10, K1)
|
|
2302
2305
|
], 34));
|
|
2303
2306
|
}
|
|
2304
|
-
}),
|
|
2307
|
+
}), G1 = ["title"], X1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], J1 = /* @__PURE__ */ y({
|
|
2305
2308
|
__name: "RatingItemSmiley",
|
|
2306
2309
|
props: {
|
|
2307
2310
|
question: {},
|
|
@@ -2332,15 +2335,15 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2332
2335
|
"aria-label": n.question.ariaLabel,
|
|
2333
2336
|
"aria-invalid": n.question.ariaInvalid,
|
|
2334
2337
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2335
|
-
}, null, 8,
|
|
2338
|
+
}, null, 8, X1),
|
|
2336
2339
|
c(m, {
|
|
2337
2340
|
is: "sv-svg-icon",
|
|
2338
2341
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2339
2342
|
size: "auto"
|
|
2340
2343
|
}, null, 8, ["iconName"])
|
|
2341
|
-
], 46,
|
|
2344
|
+
], 46, G1));
|
|
2342
2345
|
}
|
|
2343
|
-
}),
|
|
2346
|
+
}), Y1 = ["title"], _1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], x1 = /* @__PURE__ */ y({
|
|
2344
2347
|
__name: "RatingItemStar",
|
|
2345
2348
|
props: {
|
|
2346
2349
|
question: {},
|
|
@@ -2370,7 +2373,7 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2370
2373
|
"aria-label": n.question.ariaLabel,
|
|
2371
2374
|
"aria-invalid": n.question.ariaInvalid,
|
|
2372
2375
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2373
|
-
}, null, 8,
|
|
2376
|
+
}, null, 8, _1),
|
|
2374
2377
|
c(m, {
|
|
2375
2378
|
is: "sv-svg-icon",
|
|
2376
2379
|
class: r("sv-star"),
|
|
@@ -2383,12 +2386,12 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2383
2386
|
iconName: n.question.itemStarIconAlt,
|
|
2384
2387
|
size: "auto"
|
|
2385
2388
|
}, null, 8, ["iconName"])
|
|
2386
|
-
], 42,
|
|
2389
|
+
], 42, Y1));
|
|
2387
2390
|
}
|
|
2388
|
-
}),
|
|
2391
|
+
}), en = { class: "sd-rating-dropdown-item" }, sn = { class: "sd-rating-dropdown-item_text" }, nn = {
|
|
2389
2392
|
key: 0,
|
|
2390
2393
|
class: "sd-rating-dropdown-item_description"
|
|
2391
|
-
},
|
|
2394
|
+
}, tn = /* @__PURE__ */ y({
|
|
2392
2395
|
__name: "RatingDropdownItem",
|
|
2393
2396
|
props: {
|
|
2394
2397
|
item: {},
|
|
@@ -2396,9 +2399,9 @@ const g1 = /* @__PURE__ */ y({
|
|
|
2396
2399
|
},
|
|
2397
2400
|
setup(u) {
|
|
2398
2401
|
const e = u;
|
|
2399
|
-
return S(() => e.item), (n, s) => (i(), a("div",
|
|
2400
|
-
v("span",
|
|
2401
|
-
n.item.description ? (i(), a("div",
|
|
2402
|
+
return S(() => e.item), (n, s) => (i(), a("div", en, [
|
|
2403
|
+
v("span", sn, I(n.item.title), 1),
|
|
2404
|
+
n.item.description ? (i(), a("div", nn, [
|
|
2402
2405
|
c(m, {
|
|
2403
2406
|
is: "survey-string",
|
|
2404
2407
|
locString: n.item.description
|
|
@@ -2412,7 +2415,7 @@ G.Instance.registerRenderer(
|
|
|
2412
2415
|
"dropdown",
|
|
2413
2416
|
"sv-rating-dropdown"
|
|
2414
2417
|
);
|
|
2415
|
-
const
|
|
2418
|
+
const on = /* @__PURE__ */ y({
|
|
2416
2419
|
inheritAttrs: !1,
|
|
2417
2420
|
__name: "RatingDropdown",
|
|
2418
2421
|
props: {
|
|
@@ -2431,7 +2434,7 @@ const tn = /* @__PURE__ */ y({
|
|
|
2431
2434
|
}, null, 8, ["question"])
|
|
2432
2435
|
], 2));
|
|
2433
2436
|
}
|
|
2434
|
-
}),
|
|
2437
|
+
}), rn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], ln = /* @__PURE__ */ y({
|
|
2435
2438
|
inheritAttrs: !1,
|
|
2436
2439
|
__name: "BooleanSwitch",
|
|
2437
2440
|
props: {
|
|
@@ -2471,7 +2474,7 @@ const tn = /* @__PURE__ */ y({
|
|
|
2471
2474
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2472
2475
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2473
2476
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2474
|
-
}, null, 42,
|
|
2477
|
+
}, null, 42, rn), [
|
|
2475
2478
|
[ie, t.question.booleanValue]
|
|
2476
2479
|
]),
|
|
2477
2480
|
v("div", {
|
|
@@ -2527,7 +2530,7 @@ G.Instance.registerRenderer(
|
|
|
2527
2530
|
"radio",
|
|
2528
2531
|
"sv-boolean-radio"
|
|
2529
2532
|
);
|
|
2530
|
-
const
|
|
2533
|
+
const an = /* @__PURE__ */ y({
|
|
2531
2534
|
inheritAttrs: !1,
|
|
2532
2535
|
__name: "BooleanRadio",
|
|
2533
2536
|
props: {
|
|
@@ -2568,7 +2571,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2568
2571
|
], 2)
|
|
2569
2572
|
], 2));
|
|
2570
2573
|
}
|
|
2571
|
-
}),
|
|
2574
|
+
}), un = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], dn = ["xlink:href"], mn = /* @__PURE__ */ y({
|
|
2572
2575
|
__name: "BooleanRadioItem",
|
|
2573
2576
|
props: {
|
|
2574
2577
|
question: {},
|
|
@@ -2597,7 +2600,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2597
2600
|
readonly: s.question.isReadOnlyAttr,
|
|
2598
2601
|
class: r(s.question.cssClasses.itemRadioControl),
|
|
2599
2602
|
onChange: n
|
|
2600
|
-
}, null, 42,
|
|
2603
|
+
}, null, 42, un),
|
|
2601
2604
|
s.question.cssClasses.materialRadioDecorator ? (i(), a("span", {
|
|
2602
2605
|
key: 0,
|
|
2603
2606
|
class: r(s.question.cssClasses.materialRadioDecorator)
|
|
@@ -2608,7 +2611,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2608
2611
|
}, [
|
|
2609
2612
|
v("use", {
|
|
2610
2613
|
"xlink:href": s.question.itemSvgIcon
|
|
2611
|
-
}, null, 8,
|
|
2614
|
+
}, null, 8, dn)
|
|
2612
2615
|
], 2)) : p("", !0)
|
|
2613
2616
|
], 2)) : p("", !0),
|
|
2614
2617
|
v("span", {
|
|
@@ -2622,13 +2625,13 @@ const ln = /* @__PURE__ */ y({
|
|
|
2622
2625
|
], 2)
|
|
2623
2626
|
], 2));
|
|
2624
2627
|
}
|
|
2625
|
-
}),
|
|
2628
|
+
}), pn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], vn = ["xlink:href"], Cn = /* @__PURE__ */ v("span", { class: "check" }, null, -1), cn = ["id"], gn = ["id"];
|
|
2626
2629
|
G.Instance.registerRenderer(
|
|
2627
2630
|
"boolean",
|
|
2628
2631
|
"checkbox",
|
|
2629
2632
|
"sv-boolean-checkbox"
|
|
2630
2633
|
);
|
|
2631
|
-
const
|
|
2634
|
+
const yn = /* @__PURE__ */ y({
|
|
2632
2635
|
inheritAttrs: !1,
|
|
2633
2636
|
__name: "BooleanCheckbox",
|
|
2634
2637
|
props: {
|
|
@@ -2664,7 +2667,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2664
2667
|
"aria-describedby": s.question.a11y_input_ariaDescribedBy,
|
|
2665
2668
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
2666
2669
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
2667
|
-
}, null, 42,
|
|
2670
|
+
}, null, 42, pn), [
|
|
2668
2671
|
[ie, s.question.booleanValue]
|
|
2669
2672
|
]),
|
|
2670
2673
|
v("span", {
|
|
@@ -2676,9 +2679,9 @@ const gn = /* @__PURE__ */ y({
|
|
|
2676
2679
|
}, [
|
|
2677
2680
|
v("use", {
|
|
2678
2681
|
"xlink:href": s.question.svgIcon
|
|
2679
|
-
}, null, 8,
|
|
2682
|
+
}, null, 8, vn)
|
|
2680
2683
|
], 2)) : p("", !0),
|
|
2681
|
-
|
|
2684
|
+
Cn
|
|
2682
2685
|
], 2),
|
|
2683
2686
|
s.question.isLabelRendered ? (i(), a("span", {
|
|
2684
2687
|
key: 0,
|
|
@@ -2697,7 +2700,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2697
2700
|
element: s.question,
|
|
2698
2701
|
css: s.css
|
|
2699
2702
|
}, null, 8, ["element", "css"])) : p("", !0)
|
|
2700
|
-
], 10,
|
|
2703
|
+
], 10, cn)) : p("", !0)
|
|
2701
2704
|
], 2),
|
|
2702
2705
|
s.question.canRenderLabelDescription ? (i(), a("div", {
|
|
2703
2706
|
key: 0,
|
|
@@ -2708,11 +2711,11 @@ const gn = /* @__PURE__ */ y({
|
|
|
2708
2711
|
is: "survey-string",
|
|
2709
2712
|
locString: s.question.locDescription
|
|
2710
2713
|
}, null, 8, ["locString"])
|
|
2711
|
-
], 10,
|
|
2714
|
+
], 10, gn)) : p("", !0)
|
|
2712
2715
|
], 2)
|
|
2713
2716
|
], 2));
|
|
2714
2717
|
}
|
|
2715
|
-
}),
|
|
2718
|
+
}), hn = /* @__PURE__ */ y({
|
|
2716
2719
|
inheritAttrs: !1,
|
|
2717
2720
|
__name: "Multipletext",
|
|
2718
2721
|
props: {
|
|
@@ -2748,7 +2751,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2748
2751
|
])
|
|
2749
2752
|
], 2));
|
|
2750
2753
|
}
|
|
2751
|
-
}),
|
|
2754
|
+
}), qn = { key: 1 }, wn = { key: 2 }, bn = /* @__PURE__ */ y({
|
|
2752
2755
|
__name: "MultipletextItem",
|
|
2753
2756
|
props: {
|
|
2754
2757
|
question: {},
|
|
@@ -2777,12 +2780,12 @@ const gn = /* @__PURE__ */ y({
|
|
|
2777
2780
|
key: 0,
|
|
2778
2781
|
class: r(o.question.cssClasses.requiredMark)
|
|
2779
2782
|
}, I(s.value.editor.requiredMark), 3)) : p("", !0),
|
|
2780
|
-
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span",
|
|
2783
|
+
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span", qn, " ")) : p("", !0),
|
|
2781
2784
|
c(m, {
|
|
2782
2785
|
is: "survey-string",
|
|
2783
2786
|
locString: s.value.locTitle
|
|
2784
2787
|
}, null, 8, ["locString"]),
|
|
2785
|
-
s.value.editor.isRequireTextAfterTitle ? (i(), a("span",
|
|
2788
|
+
s.value.editor.isRequireTextAfterTitle ? (i(), a("span", wn, " ")) : p("", !0),
|
|
2786
2789
|
s.value.editor.isRequireTextAfterTitle ? (i(), a("span", {
|
|
2787
2790
|
key: 3,
|
|
2788
2791
|
"aria-hidden": "true",
|
|
@@ -2801,7 +2804,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2801
2804
|
], 34))
|
|
2802
2805
|
], 2));
|
|
2803
2806
|
}
|
|
2804
|
-
}),
|
|
2807
|
+
}), Ln = /* @__PURE__ */ y({
|
|
2805
2808
|
inheritAttrs: !1,
|
|
2806
2809
|
__name: "Breadcrumbs",
|
|
2807
2810
|
props: {
|
|
@@ -2831,7 +2834,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2831
2834
|
], 64))), 128))
|
|
2832
2835
|
], 2)) : p("", !0);
|
|
2833
2836
|
}
|
|
2834
|
-
}),
|
|
2837
|
+
}), kn = ["onClick", "title"], fn = ["onClick", "title"], Hn = { key: 1 }, Mn = { key: 1 }, In = /* @__PURE__ */ y({
|
|
2835
2838
|
__name: "SingleInputSummary",
|
|
2836
2839
|
props: {
|
|
2837
2840
|
summary: {},
|
|
@@ -2839,13 +2842,13 @@ const gn = /* @__PURE__ */ y({
|
|
|
2839
2842
|
},
|
|
2840
2843
|
setup(u) {
|
|
2841
2844
|
const e = u, n = H(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = H(() => F.Instance.isComponentRegistered(n.value));
|
|
2842
|
-
return (o, t) => o.summary.isEmpty() ? (i(), a("div",
|
|
2845
|
+
return (o, t) => o.summary.isEmpty() ? (i(), a("div", Hn, [
|
|
2843
2846
|
s.value ? (i(), g(m, {
|
|
2844
2847
|
key: 0,
|
|
2845
2848
|
is: "survey-placeholder-" + o.summary.question.getTemplate(),
|
|
2846
2849
|
cssClasses: o.css,
|
|
2847
2850
|
question: o.summary.question
|
|
2848
|
-
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div",
|
|
2851
|
+
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div", Mn, [
|
|
2849
2852
|
c(m, {
|
|
2850
2853
|
is: "survey-string",
|
|
2851
2854
|
locString: o.summary.noEntry
|
|
@@ -2881,7 +2884,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2881
2884
|
iconName: "icon-editsmall-16x16",
|
|
2882
2885
|
size: "auto"
|
|
2883
2886
|
})
|
|
2884
|
-
], 10,
|
|
2887
|
+
], 10, kn)) : p("", !0),
|
|
2885
2888
|
l.showRemove && l.btnRemove ? (i(), a("button", {
|
|
2886
2889
|
key: 1,
|
|
2887
2890
|
class: r(o.css.summaryRowActionDelete),
|
|
@@ -2893,12 +2896,12 @@ const gn = /* @__PURE__ */ y({
|
|
|
2893
2896
|
iconName: "icon-delete-16x16",
|
|
2894
2897
|
size: "auto"
|
|
2895
2898
|
})
|
|
2896
|
-
], 10,
|
|
2899
|
+
], 10, fn)) : p("", !0)
|
|
2897
2900
|
], 2)
|
|
2898
2901
|
], 2))), 128))
|
|
2899
2902
|
], 2));
|
|
2900
2903
|
}
|
|
2901
|
-
}),
|
|
2904
|
+
}), Vn = ["min", "max", "step"], Sn = ["id", "value", "min", "max", "step", "disabled", "onInput", "onFocus", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Rn = /* @__PURE__ */ y({
|
|
2902
2905
|
inheritAttrs: !1,
|
|
2903
2906
|
__name: "Slider",
|
|
2904
2907
|
props: {
|
|
@@ -2925,6 +2928,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2925
2928
|
max: o.question.max,
|
|
2926
2929
|
step: o.question.step,
|
|
2927
2930
|
"aria-hidden": "true",
|
|
2931
|
+
id: "sjs-slider-input-range-input",
|
|
2928
2932
|
onInput: t[0] || (t[0] = (l) => {
|
|
2929
2933
|
o.question.handleRangeOnChange(l);
|
|
2930
2934
|
}),
|
|
@@ -2934,7 +2938,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2934
2938
|
onPointerup: t[2] || (t[2] = (l) => {
|
|
2935
2939
|
o.question.handleRangePointerUp(l, n.value);
|
|
2936
2940
|
})
|
|
2937
|
-
}, null, 42,
|
|
2941
|
+
}, null, 42, Vn)) : p("", !0),
|
|
2938
2942
|
v("div", {
|
|
2939
2943
|
class: r(o.question.cssClasses.visualContainer),
|
|
2940
2944
|
onPointerup: t[8] || (t[8] = (l) => {
|
|
@@ -2956,7 +2960,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2956
2960
|
class: r(o.question.cssClasses.rangeTrack),
|
|
2957
2961
|
style: f({ left: o.question.getTrackPercentLeft() + "%", right: o.question.getTrackPercentRight() + "%" })
|
|
2958
2962
|
}, null, 6),
|
|
2959
|
-
(i(!0), a(M, null, V(o.question.
|
|
2963
|
+
(i(!0), a(M, null, V(o.question.renderedValue, (l, d) => (i(), a(M, { key: d }, [
|
|
2960
2964
|
v("input", {
|
|
2961
2965
|
class: r(o.question.cssClasses.input),
|
|
2962
2966
|
id: "sjs-slider-input-" + d,
|
|
@@ -2993,7 +2997,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
2993
2997
|
"aria-describedby": o.question.a11y_input_ariaDescribedBy,
|
|
2994
2998
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2995
2999
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2996
|
-
}, null, 42,
|
|
3000
|
+
}, null, 42, Sn),
|
|
2997
3001
|
v("div", {
|
|
2998
3002
|
class: r(o.question.getThumbContainerCss(d)),
|
|
2999
3003
|
style: f({ left: o.question.getPercent(l) + "%" })
|
|
@@ -3026,34 +3030,48 @@ const gn = /* @__PURE__ */ y({
|
|
|
3026
3030
|
class: r(o.question.cssClasses.labelsContainer)
|
|
3027
3031
|
}, [
|
|
3028
3032
|
v("div", null, [
|
|
3029
|
-
(i(!0), a(M, null, V(o.question.renderedLabels, (l
|
|
3030
|
-
key:
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
}
|
|
3036
|
-
}, [
|
|
3037
|
-
v("div", {
|
|
3038
|
-
class: r(o.question.cssClasses.labelTick)
|
|
3039
|
-
}, null, 2),
|
|
3040
|
-
v("div", {
|
|
3041
|
-
class: r(o.question.cssClasses.labelText)
|
|
3042
|
-
}, [
|
|
3043
|
-
c(m, {
|
|
3044
|
-
is: "survey-string",
|
|
3045
|
-
locString: l.locText
|
|
3046
|
-
}, null, 8, ["locString"])
|
|
3047
|
-
], 2)
|
|
3048
|
-
], 46, Sn))), 128))
|
|
3033
|
+
(i(!0), a(M, null, V(o.question.renderedLabels, (l) => (i(), g(m, {
|
|
3034
|
+
key: l.id,
|
|
3035
|
+
is: "sv-slider-label-item",
|
|
3036
|
+
item: l,
|
|
3037
|
+
question: o.question
|
|
3038
|
+
}, null, 8, ["item", "question"]))), 128))
|
|
3049
3039
|
])
|
|
3050
3040
|
], 2)) : p("", !0)
|
|
3051
3041
|
], 2));
|
|
3052
3042
|
}
|
|
3053
|
-
}), Tn =
|
|
3043
|
+
}), Tn = /* @__PURE__ */ y({
|
|
3044
|
+
__name: "SliderLabelItem",
|
|
3045
|
+
props: {
|
|
3046
|
+
question: {},
|
|
3047
|
+
item: {}
|
|
3048
|
+
},
|
|
3049
|
+
setup(u) {
|
|
3050
|
+
const e = u;
|
|
3051
|
+
return S(() => e.item), (n, s) => (i(), a("div", {
|
|
3052
|
+
class: r(n.question.getLabelCss(n.item.locText)),
|
|
3053
|
+
style: f({ left: n.question.getPercent(n.item.value) + "%" }),
|
|
3054
|
+
onPointerup: s[0] || (s[0] = (o) => {
|
|
3055
|
+
n.question.handleLabelPointerUp(o, n.item.value);
|
|
3056
|
+
})
|
|
3057
|
+
}, [
|
|
3058
|
+
v("div", {
|
|
3059
|
+
class: r(n.question.cssClasses.labelTick)
|
|
3060
|
+
}, null, 2),
|
|
3061
|
+
v("div", {
|
|
3062
|
+
class: r(n.question.cssClasses.labelText)
|
|
3063
|
+
}, [
|
|
3064
|
+
c(m, {
|
|
3065
|
+
is: "survey-string",
|
|
3066
|
+
locString: n.item.locText
|
|
3067
|
+
}, null, 8, ["locString"])
|
|
3068
|
+
], 2)
|
|
3069
|
+
], 38));
|
|
3070
|
+
}
|
|
3071
|
+
}), Bn = { role: "radiogroup" }, Zn = { class: "sv-visuallyhidden" }, $n = {
|
|
3054
3072
|
key: 0,
|
|
3055
3073
|
role: "presentation"
|
|
3056
|
-
},
|
|
3074
|
+
}, Dn = { key: 0 }, An = ["onClick"], Pn = ["data-responsive-title", "onClick"], Nn = /* @__PURE__ */ y({
|
|
3057
3075
|
inheritAttrs: !1,
|
|
3058
3076
|
__name: "Matrix",
|
|
3059
3077
|
props: {
|
|
@@ -3082,15 +3100,15 @@ const gn = /* @__PURE__ */ y({
|
|
|
3082
3100
|
ref_key: "root",
|
|
3083
3101
|
ref: n
|
|
3084
3102
|
}, [
|
|
3085
|
-
v("fieldset",
|
|
3086
|
-
v("legend",
|
|
3103
|
+
v("fieldset", Bn, [
|
|
3104
|
+
v("legend", Zn, I(t.question.locTitle.renderedHtml), 1),
|
|
3087
3105
|
v("table", {
|
|
3088
3106
|
class: r(t.question.getTableCss()),
|
|
3089
3107
|
role: "presentation"
|
|
3090
3108
|
}, [
|
|
3091
|
-
t.question.showHeader ? (i(), a("thead",
|
|
3109
|
+
t.question.showHeader ? (i(), a("thead", $n, [
|
|
3092
3110
|
v("tr", null, [
|
|
3093
|
-
t.question.hasRows ? (i(), a("td",
|
|
3111
|
+
t.question.hasRows ? (i(), a("td", Dn)) : p("", !0),
|
|
3094
3112
|
(i(!0), a(M, null, V(t.question.visibleColumns, (d, C) => (i(), a("th", {
|
|
3095
3113
|
key: C,
|
|
3096
3114
|
class: r(t.question.cssClasses.headerCell),
|
|
@@ -3150,7 +3168,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3150
3168
|
is: "survey-string",
|
|
3151
3169
|
locString: t.question.getCellDisplayLocText(d.name, b)
|
|
3152
3170
|
}, null, 8, ["locString"])
|
|
3153
|
-
], 10,
|
|
3171
|
+
], 10, An))), 128)) : p("", !0),
|
|
3154
3172
|
t.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, V(t.question.visibleColumns, (b, h) => (i(), a("td", {
|
|
3155
3173
|
key: h,
|
|
3156
3174
|
"data-responsive-title": b.locText.renderedHtml,
|
|
@@ -3164,14 +3182,14 @@ const gn = /* @__PURE__ */ y({
|
|
|
3164
3182
|
column: b,
|
|
3165
3183
|
columnIndex: h
|
|
3166
3184
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
3167
|
-
], 10,
|
|
3185
|
+
], 10, Pn))), 128))
|
|
3168
3186
|
], 2))), 128))
|
|
3169
3187
|
])
|
|
3170
3188
|
], 2)
|
|
3171
3189
|
])
|
|
3172
3190
|
], 2));
|
|
3173
3191
|
}
|
|
3174
|
-
}),
|
|
3192
|
+
}), En = ["data-sv-drop-target-matrix-row"], Wn = /* @__PURE__ */ y({
|
|
3175
3193
|
__name: "MatrixRow",
|
|
3176
3194
|
props: {
|
|
3177
3195
|
question: {},
|
|
@@ -3204,9 +3222,9 @@ const gn = /* @__PURE__ */ y({
|
|
|
3204
3222
|
question: o.question,
|
|
3205
3223
|
key: o.row.id + "_" + l.id
|
|
3206
3224
|
}, null, 8, ["cell", "question"]))), 128))
|
|
3207
|
-
], 42,
|
|
3225
|
+
], 42, En)) : p("", !0);
|
|
3208
3226
|
}
|
|
3209
|
-
}),
|
|
3227
|
+
}), Fn = ["name", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], On = ["xlink:href"], zn = /* @__PURE__ */ y({
|
|
3210
3228
|
inheritAttrs: !1,
|
|
3211
3229
|
__name: "MatrixCell",
|
|
3212
3230
|
props: {
|
|
@@ -3242,7 +3260,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3242
3260
|
"aria-label": s.question.getCellAriaLabel(s.row, s.column),
|
|
3243
3261
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
3244
3262
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
3245
|
-
}, null, 10,
|
|
3263
|
+
}, null, 10, Fn), [
|
|
3246
3264
|
[se, n.value]
|
|
3247
3265
|
]),
|
|
3248
3266
|
v("span", {
|
|
@@ -3254,7 +3272,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3254
3272
|
}, [
|
|
3255
3273
|
v("use", {
|
|
3256
3274
|
"xlink:href": s.question.itemSvgIcon
|
|
3257
|
-
}, null, 8,
|
|
3275
|
+
}, null, 8, On)
|
|
3258
3276
|
], 2)) : p("", !0)
|
|
3259
3277
|
], 2),
|
|
3260
3278
|
s.question.isMobile ? (i(), a("span", {
|
|
@@ -3268,7 +3286,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3268
3286
|
], 2)) : p("", !0)
|
|
3269
3287
|
], 34));
|
|
3270
3288
|
}
|
|
3271
|
-
}),
|
|
3289
|
+
}), Un = /* @__PURE__ */ y({
|
|
3272
3290
|
inheritAttrs: !1,
|
|
3273
3291
|
__name: "MatrixDropdown",
|
|
3274
3292
|
props: {
|
|
@@ -3283,7 +3301,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3283
3301
|
ref: n
|
|
3284
3302
|
}, null, 8, ["question"]));
|
|
3285
3303
|
}
|
|
3286
|
-
}),
|
|
3304
|
+
}), Qn = { key: 0 }, Kn = { key: 1 }, jn = /* @__PURE__ */ y({
|
|
3287
3305
|
__name: "MatrixTable",
|
|
3288
3306
|
props: {
|
|
3289
3307
|
question: {}
|
|
@@ -3297,7 +3315,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3297
3315
|
v("table", {
|
|
3298
3316
|
class: r(s.question.getTableCss())
|
|
3299
3317
|
}, [
|
|
3300
|
-
n.value.showHeader ? (i(), a("thead",
|
|
3318
|
+
n.value.showHeader ? (i(), a("thead", Qn, [
|
|
3301
3319
|
v("tr", null, [
|
|
3302
3320
|
(i(!0), a(M, null, V(n.value.headerRow.cells, (t) => (i(), a(M, null, [
|
|
3303
3321
|
t.hasTitle ? (i(), a("th", {
|
|
@@ -3340,7 +3358,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3340
3358
|
question: s.question
|
|
3341
3359
|
}, null, 8, ["row", "question"]))), 128))
|
|
3342
3360
|
]),
|
|
3343
|
-
n.value.showFooter ? (i(), a("tfoot",
|
|
3361
|
+
n.value.showFooter ? (i(), a("tfoot", Kn, [
|
|
3344
3362
|
v("tr", null, [
|
|
3345
3363
|
(i(!0), a(M, null, V(n.value.footerRow.cells, (t, l) => (i(), g(m, {
|
|
3346
3364
|
is: "survey-matrixdropdown-cell",
|
|
@@ -3353,7 +3371,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3353
3371
|
], 2)
|
|
3354
3372
|
], 6));
|
|
3355
3373
|
}
|
|
3356
|
-
}),
|
|
3374
|
+
}), Gn = /* @__PURE__ */ v("span", null, " ", -1), Xn = /* @__PURE__ */ y({
|
|
3357
3375
|
__name: "MatrixHeaderRequired",
|
|
3358
3376
|
props: {
|
|
3359
3377
|
question: {},
|
|
@@ -3362,14 +3380,14 @@ const gn = /* @__PURE__ */ y({
|
|
|
3362
3380
|
setup(u) {
|
|
3363
3381
|
const e = u;
|
|
3364
3382
|
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(M, { key: 0 }, [
|
|
3365
|
-
|
|
3383
|
+
Gn,
|
|
3366
3384
|
n.column.isRenderedRequired ? (i(), a("span", {
|
|
3367
3385
|
key: 0,
|
|
3368
3386
|
class: r(n.question.cssClasses.cellRequiredMark)
|
|
3369
3387
|
}, I(n.column.requiredMark), 3)) : p("", !0)
|
|
3370
3388
|
], 64)) : p("", !0);
|
|
3371
3389
|
}
|
|
3372
|
-
}),
|
|
3390
|
+
}), Jn = ["title", "colspan"], Yn = /* @__PURE__ */ y({
|
|
3373
3391
|
__name: "MatrixDropdownCellComp",
|
|
3374
3392
|
props: {
|
|
3375
3393
|
question: {},
|
|
@@ -3536,9 +3554,9 @@ const gn = /* @__PURE__ */ y({
|
|
|
3536
3554
|
]),
|
|
3537
3555
|
_: 1
|
|
3538
3556
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
3539
|
-
], 46,
|
|
3557
|
+
], 46, Jn)) : p("", !0);
|
|
3540
3558
|
}
|
|
3541
|
-
}),
|
|
3559
|
+
}), _n = /* @__PURE__ */ y({
|
|
3542
3560
|
inheritAttrs: !1,
|
|
3543
3561
|
__name: "MatrixDynamic",
|
|
3544
3562
|
props: {
|
|
@@ -3601,7 +3619,7 @@ const gn = /* @__PURE__ */ y({
|
|
|
3601
3619
|
], 2)) : p("", !0)
|
|
3602
3620
|
], 512));
|
|
3603
3621
|
}
|
|
3604
|
-
}),
|
|
3622
|
+
}), xn = /* @__PURE__ */ y({
|
|
3605
3623
|
__name: "MatrixDynamicPlaceholder",
|
|
3606
3624
|
props: {
|
|
3607
3625
|
question: {}
|
|
@@ -3644,7 +3662,7 @@ function le(u, e = !0) {
|
|
|
3644
3662
|
row: e ? H(() => u.item.data.row) : void 0
|
|
3645
3663
|
};
|
|
3646
3664
|
}
|
|
3647
|
-
const
|
|
3665
|
+
const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
3648
3666
|
__name: "RemoveButton",
|
|
3649
3667
|
props: {
|
|
3650
3668
|
item: {}
|
|
@@ -3664,9 +3682,9 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3664
3682
|
v("span", {
|
|
3665
3683
|
class: r(w(n).cssClasses.iconRemove)
|
|
3666
3684
|
}, null, 2)
|
|
3667
|
-
], 10,
|
|
3685
|
+
], 10, et));
|
|
3668
3686
|
}
|
|
3669
|
-
}),
|
|
3687
|
+
}), nt = ["xlink:href"], tt = /* @__PURE__ */ y({
|
|
3670
3688
|
__name: "DragDropIcon",
|
|
3671
3689
|
props: {
|
|
3672
3690
|
item: {}
|
|
@@ -3680,14 +3698,14 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3680
3698
|
}, [
|
|
3681
3699
|
v("use", {
|
|
3682
3700
|
"xlink:href": w(n).iconDragElement
|
|
3683
|
-
}, null, 8,
|
|
3701
|
+
}, null, 8, nt)
|
|
3684
3702
|
], 2)) : (i(), a("span", {
|
|
3685
3703
|
key: 1,
|
|
3686
3704
|
class: r(w(n).cssClasses.iconDrag)
|
|
3687
3705
|
}, null, 2))
|
|
3688
3706
|
]));
|
|
3689
3707
|
}
|
|
3690
|
-
}),
|
|
3708
|
+
}), ot = ["title", "aria-expanded", "aria-controls"], it = /* @__PURE__ */ y({
|
|
3691
3709
|
__name: "DetailButton",
|
|
3692
3710
|
props: {
|
|
3693
3711
|
item: {}
|
|
@@ -3708,9 +3726,9 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3708
3726
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3709
3727
|
size: "auto"
|
|
3710
3728
|
}, null, 8, ["class", "iconName"])
|
|
3711
|
-
], 10,
|
|
3729
|
+
], 10, ot));
|
|
3712
3730
|
}
|
|
3713
|
-
}),
|
|
3731
|
+
}), rt = ["aria-label"], lt = /* @__PURE__ */ y({
|
|
3714
3732
|
inheritAttrs: !1,
|
|
3715
3733
|
__name: "PanelDynamic",
|
|
3716
3734
|
props: {
|
|
@@ -3785,7 +3803,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3785
3803
|
style: f({ width: l.question.progress }),
|
|
3786
3804
|
role: "progressbar",
|
|
3787
3805
|
"aria-label": l.question.progressBarAriaLabel
|
|
3788
|
-
}, null, 14,
|
|
3806
|
+
}, null, 14, rt)
|
|
3789
3807
|
], 2)) : p("", !0),
|
|
3790
3808
|
v("div", {
|
|
3791
3809
|
class: r(l.question.cssClasses.panelsContainer)
|
|
@@ -3818,7 +3836,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3818
3836
|
}, null, 8, ["question"])) : p("", !0)
|
|
3819
3837
|
], 2));
|
|
3820
3838
|
}
|
|
3821
|
-
}),
|
|
3839
|
+
}), at = ["aria-label"], ut = /* @__PURE__ */ y({
|
|
3822
3840
|
__name: "PanelDynamicProgress",
|
|
3823
3841
|
props: {
|
|
3824
3842
|
question: {}
|
|
@@ -3848,7 +3866,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3848
3866
|
style: f({ width: s.question.progress }),
|
|
3849
3867
|
role: "progressbar",
|
|
3850
3868
|
"aria-label": s.question.progressBarAriaLabel
|
|
3851
|
-
}, null, 14,
|
|
3869
|
+
}, null, 14, at)
|
|
3852
3870
|
], 2)) : p("", !0),
|
|
3853
3871
|
c(m, {
|
|
3854
3872
|
is: "sv-paneldynamic-next-btn",
|
|
@@ -3866,7 +3884,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3866
3884
|
], 2)
|
|
3867
3885
|
], 2));
|
|
3868
3886
|
}
|
|
3869
|
-
}),
|
|
3887
|
+
}), dt = ["aria-label"], mt = /* @__PURE__ */ y({
|
|
3870
3888
|
__name: "PanelDynamicProgressV2",
|
|
3871
3889
|
props: {
|
|
3872
3890
|
question: {}
|
|
@@ -3888,7 +3906,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3888
3906
|
style: f({ width: e.question.progress }),
|
|
3889
3907
|
role: "progressbar",
|
|
3890
3908
|
"aria-label": e.question.progressBarAriaLabel
|
|
3891
|
-
}, null, 14,
|
|
3909
|
+
}, null, 14, dt)
|
|
3892
3910
|
], 2)) : p("", !0),
|
|
3893
3911
|
e.question.footerToolbar.visibleActions.length ? (i(), a("div", {
|
|
3894
3912
|
key: 1,
|
|
@@ -3901,7 +3919,7 @@ const xn = ["disabled"], et = /* @__PURE__ */ y({
|
|
|
3901
3919
|
], 2)) : p("", !0)
|
|
3902
3920
|
], 2)) : p("", !0);
|
|
3903
3921
|
}
|
|
3904
|
-
}),
|
|
3922
|
+
}), pt = /* @__PURE__ */ y({
|
|
3905
3923
|
__name: "PanelDynamicPlaceholder",
|
|
3906
3924
|
props: {
|
|
3907
3925
|
question: {}
|
|
@@ -3928,7 +3946,7 @@ function X(u) {
|
|
|
3928
3946
|
() => u.item && u.item.data.question || u.data.question
|
|
3929
3947
|
);
|
|
3930
3948
|
}
|
|
3931
|
-
const
|
|
3949
|
+
const vt = ["id"], Ct = /* @__PURE__ */ y({
|
|
3932
3950
|
__name: "PaneldynamicAddBtn",
|
|
3933
3951
|
props: {
|
|
3934
3952
|
item: {},
|
|
@@ -3953,9 +3971,9 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
3953
3971
|
locString: w(n).locAddPanelText
|
|
3954
3972
|
}, null, 8, ["locString"])
|
|
3955
3973
|
], 2)
|
|
3956
|
-
], 10,
|
|
3974
|
+
], 10, vt)) : p("", !0);
|
|
3957
3975
|
}
|
|
3958
|
-
}),
|
|
3976
|
+
}), ct = ["title"], gt = /* @__PURE__ */ y({
|
|
3959
3977
|
__name: "PaneldynamicNextBtn",
|
|
3960
3978
|
props: {
|
|
3961
3979
|
item: {},
|
|
@@ -3975,9 +3993,9 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
3975
3993
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3976
3994
|
size: "auto"
|
|
3977
3995
|
}, null, 8, ["iconName"])
|
|
3978
|
-
], 10,
|
|
3996
|
+
], 10, ct));
|
|
3979
3997
|
}
|
|
3980
|
-
}),
|
|
3998
|
+
}), yt = ["title"], ht = /* @__PURE__ */ y({
|
|
3981
3999
|
__name: "PaneldynamicPrevBtn",
|
|
3982
4000
|
props: {
|
|
3983
4001
|
item: {},
|
|
@@ -3997,9 +4015,9 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
3997
4015
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3998
4016
|
size: "auto"
|
|
3999
4017
|
}, null, 8, ["iconName"])
|
|
4000
|
-
], 10,
|
|
4018
|
+
], 10, yt));
|
|
4001
4019
|
}
|
|
4002
|
-
}),
|
|
4020
|
+
}), qt = ["id"], wt = /* @__PURE__ */ y({
|
|
4003
4021
|
__name: "PaneldynamicRemoveBtn",
|
|
4004
4022
|
props: {
|
|
4005
4023
|
item: {},
|
|
@@ -4028,9 +4046,9 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4028
4046
|
v("span", {
|
|
4029
4047
|
class: r(w(n).cssClasses.iconRemove)
|
|
4030
4048
|
}, null, 2)
|
|
4031
|
-
], 10,
|
|
4049
|
+
], 10, qt));
|
|
4032
4050
|
}
|
|
4033
|
-
}),
|
|
4051
|
+
}), bt = /* @__PURE__ */ y({
|
|
4034
4052
|
__name: "PaneldynamicProgressText",
|
|
4035
4053
|
props: {
|
|
4036
4054
|
item: {},
|
|
@@ -4042,7 +4060,7 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4042
4060
|
class: r(w(n).cssClasses.progressText)
|
|
4043
4061
|
}, I(w(n).progressText), 3));
|
|
4044
4062
|
}
|
|
4045
|
-
}),
|
|
4063
|
+
}), Lt = ["id"], kt = /* @__PURE__ */ y({
|
|
4046
4064
|
__name: "Errors",
|
|
4047
4065
|
props: {
|
|
4048
4066
|
element: {},
|
|
@@ -4067,21 +4085,21 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4067
4085
|
error: o,
|
|
4068
4086
|
cssClasses: n.element.cssClasses
|
|
4069
4087
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
4070
|
-
], 10,
|
|
4088
|
+
], 10, Lt)) : p("", !0);
|
|
4071
4089
|
}
|
|
4072
|
-
}),
|
|
4090
|
+
}), ft = { key: 0 }, Ht = /* @__PURE__ */ y({
|
|
4073
4091
|
__name: "QuestionComment",
|
|
4074
4092
|
props: {
|
|
4075
4093
|
question: {}
|
|
4076
4094
|
},
|
|
4077
4095
|
setup(u) {
|
|
4078
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4096
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", ft, I(e.question.comment), 1)) : (i(), g(m, {
|
|
4079
4097
|
key: 1,
|
|
4080
4098
|
is: "sv-text-area",
|
|
4081
4099
|
model: e.question.commentTextAreaModel
|
|
4082
4100
|
}, null, 8, ["model"]));
|
|
4083
4101
|
}
|
|
4084
|
-
}),
|
|
4102
|
+
}), Mt = /* @__PURE__ */ y({
|
|
4085
4103
|
__name: "TitleElement",
|
|
4086
4104
|
props: {
|
|
4087
4105
|
element: {},
|
|
@@ -4134,7 +4152,7 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4134
4152
|
_: 1
|
|
4135
4153
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4136
4154
|
}
|
|
4137
|
-
}),
|
|
4155
|
+
}), It = { key: 2 }, Vt = { key: 4 }, St = { key: 6 }, Rt = { key: 8 }, Tt = /* @__PURE__ */ y({
|
|
4138
4156
|
inheritAttrs: !1,
|
|
4139
4157
|
__name: "TitleContent",
|
|
4140
4158
|
props: {
|
|
@@ -4153,26 +4171,26 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4153
4171
|
class: r(e.element.cssRequiredMark),
|
|
4154
4172
|
"aria-hidden": !0
|
|
4155
4173
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4156
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span",
|
|
4174
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span", It, " ")) : p("", !0),
|
|
4157
4175
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4158
4176
|
key: 3,
|
|
4159
4177
|
style: { position: "static" },
|
|
4160
4178
|
class: r(e.element.cssTitleNumber),
|
|
4161
4179
|
"aria-hidden": !0
|
|
4162
4180
|
}, I(e.element.no), 3)) : p("", !0),
|
|
4163
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span",
|
|
4181
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", Vt, " ")) : p("", !0),
|
|
4164
4182
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4165
4183
|
key: 5,
|
|
4166
4184
|
class: r(e.element.cssRequiredMark),
|
|
4167
4185
|
"aria-hidden": !0
|
|
4168
4186
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4169
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4187
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", St, " ")) : p("", !0),
|
|
4170
4188
|
e.element.isTitleRenderedAsString ? p("", !0) : (i(), g(m, {
|
|
4171
4189
|
key: 7,
|
|
4172
4190
|
is: "survey-string",
|
|
4173
4191
|
locString: e.element.locRenderedTitle
|
|
4174
4192
|
}, null, 8, ["locString"])),
|
|
4175
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4193
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", Rt, " ")) : p("", !0),
|
|
4176
4194
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4177
4195
|
key: 9,
|
|
4178
4196
|
class: r(e.element.cssRequiredMark),
|
|
@@ -4180,7 +4198,7 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4180
4198
|
}, I(e.element.requiredMark), 3)) : p("", !0)
|
|
4181
4199
|
], 64));
|
|
4182
4200
|
}
|
|
4183
|
-
}),
|
|
4201
|
+
}), Bt = { class: "sv-title-actions" }, Zt = { class: "sv-title-actions__title" }, $t = /* @__PURE__ */ y({
|
|
4184
4202
|
__name: "TitleActions",
|
|
4185
4203
|
props: {
|
|
4186
4204
|
element: {},
|
|
@@ -4188,8 +4206,8 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4188
4206
|
},
|
|
4189
4207
|
setup(u) {
|
|
4190
4208
|
const e = u, n = H(() => e.element.getTitleToolbar());
|
|
4191
|
-
return (s, o) => (i(), a("div",
|
|
4192
|
-
v("span",
|
|
4209
|
+
return (s, o) => (i(), a("div", Bt, [
|
|
4210
|
+
v("span", Zt, [
|
|
4193
4211
|
s.element.isPage ? (i(), g(m, {
|
|
4194
4212
|
key: 0,
|
|
4195
4213
|
is: "survey-string",
|
|
@@ -4208,20 +4226,20 @@ const pt = ["id"], vt = /* @__PURE__ */ y({
|
|
|
4208
4226
|
}, null, 8, ["model"])
|
|
4209
4227
|
]));
|
|
4210
4228
|
}
|
|
4211
|
-
}),
|
|
4229
|
+
}), Dt = (u, e) => {
|
|
4212
4230
|
const n = u.__vccOpts || u;
|
|
4213
4231
|
for (const [s, o] of e)
|
|
4214
4232
|
n[s] = o;
|
|
4215
4233
|
return n;
|
|
4216
|
-
},
|
|
4217
|
-
|
|
4234
|
+
}, At = {}, Pt = { class: "sv-brand-info" }, Nt = /* @__PURE__ */ $e('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), Et = [
|
|
4235
|
+
Nt
|
|
4218
4236
|
];
|
|
4219
|
-
function
|
|
4220
|
-
return i(), a("div",
|
|
4237
|
+
function Wt(u, e) {
|
|
4238
|
+
return i(), a("div", Pt, Et);
|
|
4221
4239
|
}
|
|
4222
|
-
const
|
|
4223
|
-
|
|
4224
|
-
],
|
|
4240
|
+
const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use", null, null, -1), zt = [
|
|
4241
|
+
Ot
|
|
4242
|
+
], Ut = /* @__PURE__ */ y({
|
|
4225
4243
|
__name: "SvgIcon",
|
|
4226
4244
|
props: {
|
|
4227
4245
|
size: {},
|
|
@@ -4250,9 +4268,9 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4250
4268
|
ref: n,
|
|
4251
4269
|
class: "sv-svg-icon",
|
|
4252
4270
|
role: "presentation"
|
|
4253
|
-
},
|
|
4271
|
+
}, zt, 512));
|
|
4254
4272
|
}
|
|
4255
|
-
}),
|
|
4273
|
+
}), Qt = /* @__PURE__ */ y({
|
|
4256
4274
|
__name: "QuestionError",
|
|
4257
4275
|
props: {
|
|
4258
4276
|
errorKey: {},
|
|
@@ -4280,7 +4298,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4280
4298
|
], 2)
|
|
4281
4299
|
]));
|
|
4282
4300
|
}
|
|
4283
|
-
}),
|
|
4301
|
+
}), Kt = /* @__PURE__ */ y({
|
|
4284
4302
|
__name: "ActionBar",
|
|
4285
4303
|
props: {
|
|
4286
4304
|
model: {},
|
|
@@ -4311,7 +4329,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4311
4329
|
}, null, 8, ["item"]))), 128))
|
|
4312
4330
|
], 2)) : p("", !0);
|
|
4313
4331
|
}
|
|
4314
|
-
}),
|
|
4332
|
+
}), jt = ["id"], Gt = { class: "sv-action__content" }, Xt = /* @__PURE__ */ y({
|
|
4315
4333
|
__name: "Action",
|
|
4316
4334
|
props: {
|
|
4317
4335
|
item: {}
|
|
@@ -4336,7 +4354,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4336
4354
|
ref_key: "root",
|
|
4337
4355
|
ref: e
|
|
4338
4356
|
}, [
|
|
4339
|
-
v("div",
|
|
4357
|
+
v("div", Gt, [
|
|
4340
4358
|
o.item.needSeparator ? (i(), g(m, {
|
|
4341
4359
|
key: 0,
|
|
4342
4360
|
is: "sv-action-bar-separator"
|
|
@@ -4346,7 +4364,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4346
4364
|
item: o.item
|
|
4347
4365
|
}, null, 8, ["is", "item"])
|
|
4348
4366
|
])
|
|
4349
|
-
], 10,
|
|
4367
|
+
], 10, jt));
|
|
4350
4368
|
}
|
|
4351
4369
|
}), U = {
|
|
4352
4370
|
mounted: function(u, e) {
|
|
@@ -4366,10 +4384,10 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4366
4384
|
Ue(s);
|
|
4367
4385
|
});
|
|
4368
4386
|
}
|
|
4369
|
-
},
|
|
4387
|
+
}, Jt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], Yt = {
|
|
4370
4388
|
inheritAttrs: !1
|
|
4371
|
-
},
|
|
4372
|
-
...
|
|
4389
|
+
}, _t = /* @__PURE__ */ y({
|
|
4390
|
+
...Yt,
|
|
4373
4391
|
__name: "ActionBarItem",
|
|
4374
4392
|
props: {
|
|
4375
4393
|
item: {}
|
|
@@ -4409,14 +4427,14 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4409
4427
|
key: 1,
|
|
4410
4428
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4411
4429
|
}, I(n.item.title), 3)) : p("", !0)
|
|
4412
|
-
], 42,
|
|
4430
|
+
], 42, Jt)), [
|
|
4413
4431
|
[w(U), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4414
4432
|
]);
|
|
4415
4433
|
}
|
|
4416
|
-
}),
|
|
4434
|
+
}), xt = ["disabled", "title", "role"], eo = {
|
|
4417
4435
|
inheritAttrs: !1
|
|
4418
|
-
},
|
|
4419
|
-
...
|
|
4436
|
+
}, so = /* @__PURE__ */ y({
|
|
4437
|
+
...eo,
|
|
4420
4438
|
__name: "ActionBarItemDropdown",
|
|
4421
4439
|
props: {
|
|
4422
4440
|
item: {}
|
|
@@ -4458,7 +4476,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4458
4476
|
key: 1,
|
|
4459
4477
|
class: r(s.item.getActionBarItemTitleCss())
|
|
4460
4478
|
}, I(s.item.title), 3)) : p("", !0)
|
|
4461
|
-
], 42,
|
|
4479
|
+
], 42, xt)), [
|
|
4462
4480
|
[w(U), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4463
4481
|
]),
|
|
4464
4482
|
c(m, {
|
|
@@ -4467,7 +4485,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4467
4485
|
}, null, 8, ["model"])
|
|
4468
4486
|
], 64));
|
|
4469
4487
|
}
|
|
4470
|
-
}),
|
|
4488
|
+
}), no = /* @__PURE__ */ y({
|
|
4471
4489
|
__name: "ActionBarSeparator",
|
|
4472
4490
|
props: {
|
|
4473
4491
|
item: {}
|
|
@@ -4478,7 +4496,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4478
4496
|
class: r(["sv-action-bar-separator", n.value])
|
|
4479
4497
|
}, null, 2));
|
|
4480
4498
|
}
|
|
4481
|
-
}),
|
|
4499
|
+
}), to = ["aria-label", "placeholder", "value"], oo = ["aria-label"], io = ["role", "aria-label", "id"], ro = /* @__PURE__ */ y({
|
|
4482
4500
|
__name: "List",
|
|
4483
4501
|
props: {
|
|
4484
4502
|
model: {}
|
|
@@ -4523,7 +4541,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4523
4541
|
value: d.model.filterString,
|
|
4524
4542
|
onChange: s,
|
|
4525
4543
|
onKeyup: o
|
|
4526
|
-
}, null, 42,
|
|
4544
|
+
}, null, 42, to),
|
|
4527
4545
|
d.model.showSearchClearButton && d.model.filterString ? (i(), a("button", {
|
|
4528
4546
|
key: 0,
|
|
4529
4547
|
onClick: C[0] || (C[0] = (b) => {
|
|
@@ -4544,7 +4562,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4544
4562
|
v("div", {
|
|
4545
4563
|
class: r(d.model.cssClasses.emptyText),
|
|
4546
4564
|
"aria-label": d.model.emptyMessage
|
|
4547
|
-
}, I(d.model.emptyMessage), 11,
|
|
4565
|
+
}, I(d.model.emptyMessage), 11, oo)
|
|
4548
4566
|
], 2), [
|
|
4549
4567
|
[P, d.model.isEmpty]
|
|
4550
4568
|
]),
|
|
@@ -4568,12 +4586,12 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4568
4586
|
model: d.model,
|
|
4569
4587
|
key: b.id
|
|
4570
4588
|
}, null, 8, ["item", "model"]))), 128))
|
|
4571
|
-
], 42,
|
|
4589
|
+
], 42, io)), [
|
|
4572
4590
|
[P, !d.model.isEmpty]
|
|
4573
4591
|
]) : p("", !0)
|
|
4574
4592
|
], 2));
|
|
4575
4593
|
}
|
|
4576
|
-
}),
|
|
4594
|
+
}), lo = ["role", "aria-selected", "aria-checked", "id", "tabindex"], ao = ["title"], uo = /* @__PURE__ */ y({
|
|
4577
4595
|
__name: "ListItem",
|
|
4578
4596
|
props: {
|
|
4579
4597
|
model: {},
|
|
@@ -4618,13 +4636,13 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4618
4636
|
item: t.item,
|
|
4619
4637
|
model: t.model
|
|
4620
4638
|
}, null, 8, ["is", "item", "model"])
|
|
4621
|
-
], 46,
|
|
4622
|
-
], 42,
|
|
4639
|
+
], 46, ao)
|
|
4640
|
+
], 42, lo)), [
|
|
4623
4641
|
[P, t.model.isItemVisible(t.item)],
|
|
4624
4642
|
[w(U), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4625
4643
|
]);
|
|
4626
4644
|
}
|
|
4627
|
-
}),
|
|
4645
|
+
}), mo = /* @__PURE__ */ y({
|
|
4628
4646
|
__name: "ListItemContent",
|
|
4629
4647
|
props: {
|
|
4630
4648
|
model: {},
|
|
@@ -4653,7 +4671,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4653
4671
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4654
4672
|
], 64));
|
|
4655
4673
|
}
|
|
4656
|
-
}),
|
|
4674
|
+
}), po = /* @__PURE__ */ y({
|
|
4657
4675
|
__name: "ListItemGroup",
|
|
4658
4676
|
props: {
|
|
4659
4677
|
model: {},
|
|
@@ -4673,7 +4691,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4673
4691
|
}, null, 8, ["model"])
|
|
4674
4692
|
], 64));
|
|
4675
4693
|
}
|
|
4676
|
-
}),
|
|
4694
|
+
}), vo = /* @__PURE__ */ y({
|
|
4677
4695
|
__name: "Popup",
|
|
4678
4696
|
props: {
|
|
4679
4697
|
model: {}
|
|
@@ -4703,13 +4721,13 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4703
4721
|
}, null, 8, ["model"])
|
|
4704
4722
|
], 512));
|
|
4705
4723
|
}
|
|
4706
|
-
}),
|
|
4724
|
+
}), Co = { class: "sv-popup__body-content" }, co = {
|
|
4707
4725
|
key: 0,
|
|
4708
4726
|
class: "sv-popup__body-header"
|
|
4709
|
-
},
|
|
4727
|
+
}, go = { class: "sv-popup__scrolling-content" }, yo = { class: "sv-popup__content" }, ho = {
|
|
4710
4728
|
key: 1,
|
|
4711
4729
|
class: "sv-popup__body-footer"
|
|
4712
|
-
},
|
|
4730
|
+
}, qo = /* @__PURE__ */ y({
|
|
4713
4731
|
__name: "PopupContainer",
|
|
4714
4732
|
props: {
|
|
4715
4733
|
model: {}
|
|
@@ -4749,16 +4767,16 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4749
4767
|
is: s.model.popupHeaderTemplate,
|
|
4750
4768
|
model: s.model
|
|
4751
4769
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4752
|
-
v("div",
|
|
4753
|
-
s.model.title ? (i(), a("div",
|
|
4754
|
-
v("div",
|
|
4755
|
-
v("div",
|
|
4770
|
+
v("div", Co, [
|
|
4771
|
+
s.model.title ? (i(), a("div", co, I(s.model.title), 1)) : p("", !0),
|
|
4772
|
+
v("div", go, [
|
|
4773
|
+
v("div", yo, [
|
|
4756
4774
|
c(m, $({
|
|
4757
4775
|
is: s.model.contentComponentName
|
|
4758
4776
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4759
4777
|
])
|
|
4760
4778
|
]),
|
|
4761
|
-
s.model.showFooter ? (i(), a("div",
|
|
4779
|
+
s.model.showFooter ? (i(), a("div", ho, [
|
|
4762
4780
|
c(m, {
|
|
4763
4781
|
is: "sv-action-bar",
|
|
4764
4782
|
model: s.model.footerToolbar
|
|
@@ -4770,7 +4788,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4770
4788
|
[P, s.model.isVisible]
|
|
4771
4789
|
]);
|
|
4772
4790
|
}
|
|
4773
|
-
}),
|
|
4791
|
+
}), wo = /* @__PURE__ */ y({
|
|
4774
4792
|
__name: "PopupPointer",
|
|
4775
4793
|
props: {
|
|
4776
4794
|
model: {}
|
|
@@ -4784,7 +4802,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4784
4802
|
})
|
|
4785
4803
|
}, null, 4));
|
|
4786
4804
|
}
|
|
4787
|
-
}),
|
|
4805
|
+
}), bo = /* @__PURE__ */ y({
|
|
4788
4806
|
__name: "Container",
|
|
4789
4807
|
props: {
|
|
4790
4808
|
survey: {},
|
|
@@ -4816,7 +4834,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4816
4834
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4817
4835
|
], 64)) : p("", !0);
|
|
4818
4836
|
}
|
|
4819
|
-
}),
|
|
4837
|
+
}), Lo = ["aria-label"], Y = /* @__PURE__ */ y({
|
|
4820
4838
|
__name: "Progress",
|
|
4821
4839
|
props: {
|
|
4822
4840
|
survey: {},
|
|
@@ -4839,13 +4857,13 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4839
4857
|
v("span", {
|
|
4840
4858
|
class: r(s(t.survey.css))
|
|
4841
4859
|
}, I(t.survey.progressText), 3)
|
|
4842
|
-
], 14,
|
|
4860
|
+
], 14, Lo),
|
|
4843
4861
|
v("span", {
|
|
4844
4862
|
class: r(o(t.survey.css))
|
|
4845
4863
|
}, I(t.survey.progressText), 3)
|
|
4846
4864
|
], 2));
|
|
4847
4865
|
}
|
|
4848
|
-
}),
|
|
4866
|
+
}), ko = ["aria-label"], fo = ["title"], Ho = ["onClick", "data-page-number"], Mo = ["title"], Io = ["title"], Vo = ["title"], So = /* @__PURE__ */ y({
|
|
4849
4867
|
__name: "ProgressButtons",
|
|
4850
4868
|
props: {
|
|
4851
4869
|
survey: {},
|
|
@@ -4890,7 +4908,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4890
4908
|
v("div", {
|
|
4891
4909
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
4892
4910
|
title: h.model.headerText
|
|
4893
|
-
}, I(h.model.headerText), 11,
|
|
4911
|
+
}, I(h.model.headerText), 11, fo)
|
|
4894
4912
|
], 2)) : p("", !0),
|
|
4895
4913
|
v("div", {
|
|
4896
4914
|
class: r(d.value.progressButtonsContainer)
|
|
@@ -4926,12 +4944,12 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4926
4944
|
is: "survey-string",
|
|
4927
4945
|
locString: L.locNavigationTitle
|
|
4928
4946
|
}, null, 8, ["locString"])
|
|
4929
|
-
], 10,
|
|
4947
|
+
], 10, Mo)) : p("", !0),
|
|
4930
4948
|
t.value ? (i(), a("div", {
|
|
4931
4949
|
key: 1,
|
|
4932
4950
|
class: r(d.value.progressButtonsPageDescription),
|
|
4933
4951
|
title: L.locNavigationDescription.renderedHtml
|
|
4934
|
-
}, I(L.locNavigationDescription.renderedHtml), 11,
|
|
4952
|
+
}, I(L.locNavigationDescription.renderedHtml), 11, Io)) : p("", !0),
|
|
4935
4953
|
v("div", {
|
|
4936
4954
|
class: r(d.value.progressButtonsButton)
|
|
4937
4955
|
}, [
|
|
@@ -4943,7 +4961,7 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4943
4961
|
}, null, 2),
|
|
4944
4962
|
v("span", null, I(h.model.getItemNumber(L)), 1)
|
|
4945
4963
|
], 2)
|
|
4946
|
-
], 10,
|
|
4964
|
+
], 10, Ho))), 128))
|
|
4947
4965
|
], 2)
|
|
4948
4966
|
], 2),
|
|
4949
4967
|
v("div", {
|
|
@@ -4959,11 +4977,11 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
4959
4977
|
v("div", {
|
|
4960
4978
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
4961
4979
|
title: h.model.footerText
|
|
4962
|
-
}, I(h.model.footerText), 11,
|
|
4980
|
+
}, I(h.model.footerText), 11, Vo)
|
|
4963
4981
|
], 2)) : p("", !0)
|
|
4964
|
-
], 14,
|
|
4982
|
+
], 14, ko));
|
|
4965
4983
|
}
|
|
4966
|
-
}),
|
|
4984
|
+
}), Ro = /* @__PURE__ */ y({
|
|
4967
4985
|
__name: "ProgressToc",
|
|
4968
4986
|
props: {
|
|
4969
4987
|
survey: {},
|
|
@@ -5001,11 +5019,11 @@ const Wt = /* @__PURE__ */ $t(Dt, [["render", Et]]), Ft = /* @__PURE__ */ v("use
|
|
|
5001
5019
|
}
|
|
5002
5020
|
});
|
|
5003
5021
|
/*!
|
|
5004
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5022
|
+
* surveyjs - Survey JavaScript library v2.2.1
|
|
5005
5023
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5006
5024
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5007
5025
|
*/
|
|
5008
|
-
var
|
|
5026
|
+
var To = {
|
|
5009
5027
|
modernbooleancheckchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>',
|
|
5010
5028
|
modernbooleancheckind: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>',
|
|
5011
5029
|
modernbooleancheckunchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>',
|
|
@@ -5069,7 +5087,7 @@ var Ro = {
|
|
|
5069
5087
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5070
5088
|
};
|
|
5071
5089
|
/*!
|
|
5072
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5090
|
+
* surveyjs - Survey JavaScript library v2.2.1
|
|
5073
5091
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5074
5092
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5075
5093
|
*/
|
|
@@ -5136,11 +5154,11 @@ var ke = {
|
|
|
5136
5154
|
"smiley-rate8-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>',
|
|
5137
5155
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5138
5156
|
};
|
|
5139
|
-
const
|
|
5157
|
+
const Bo = ["lang", "dir"], Zo = { onsubmit: "return false;" }, $o = {
|
|
5140
5158
|
key: 0,
|
|
5141
5159
|
class: "sv_custom_header"
|
|
5142
|
-
},
|
|
5143
|
-
we("v1",
|
|
5160
|
+
}, Do = { class: "sv-components-column sv-components-column--expandable" }, Ao = ["id"], Po = { key: 2 }, No = ["innerHTML"], Eo = ["innerHTML"], Wo = ["innerHTML"];
|
|
5161
|
+
we("v1", To);
|
|
5144
5162
|
we("v2", ke);
|
|
5145
5163
|
_.registerIcons(ke);
|
|
5146
5164
|
const ae = /* @__PURE__ */ y({
|
|
@@ -5205,13 +5223,13 @@ const ae = /* @__PURE__ */ y({
|
|
|
5205
5223
|
class: r(b.value.rootBackgroundImage),
|
|
5206
5224
|
style: f(t.value.backgroundImageStyle)
|
|
5207
5225
|
}, null, 6)) : p("", !0),
|
|
5208
|
-
v("form",
|
|
5226
|
+
v("form", Zo, [
|
|
5209
5227
|
c(m, {
|
|
5210
5228
|
is: "sv-scroll",
|
|
5211
5229
|
disabled: t.value.formScrollDisabled
|
|
5212
5230
|
}, {
|
|
5213
5231
|
default: A(() => [
|
|
5214
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5232
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", $o)),
|
|
5215
5233
|
v("div", {
|
|
5216
5234
|
class: r(b.value.container)
|
|
5217
5235
|
}, [
|
|
@@ -5236,7 +5254,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5236
5254
|
container: "left",
|
|
5237
5255
|
needRenderWrapper: !0
|
|
5238
5256
|
}, null, 8, ["survey"]),
|
|
5239
|
-
v("div",
|
|
5257
|
+
v("div", Do, [
|
|
5240
5258
|
c(m, {
|
|
5241
5259
|
is: "sv-components-container",
|
|
5242
5260
|
survey: t.value,
|
|
@@ -5271,7 +5289,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5271
5289
|
key: 0,
|
|
5272
5290
|
is: "sv-brand-info"
|
|
5273
5291
|
})) : p("", !0)
|
|
5274
|
-
], 14,
|
|
5292
|
+
], 14, Ao)
|
|
5275
5293
|
]),
|
|
5276
5294
|
c(m, {
|
|
5277
5295
|
is: "sv-components-container",
|
|
@@ -5286,11 +5304,11 @@ const ae = /* @__PURE__ */ y({
|
|
|
5286
5304
|
container: "footer",
|
|
5287
5305
|
needRenderWrapper: !1
|
|
5288
5306
|
}, null, 8, ["survey"]),
|
|
5289
|
-
C.value ? (i(), a("div",
|
|
5307
|
+
C.value ? (i(), a("div", Po, [
|
|
5290
5308
|
v("div", {
|
|
5291
5309
|
innerHTML: q(),
|
|
5292
5310
|
class: r(t.value.completedCss)
|
|
5293
|
-
}, null, 10,
|
|
5311
|
+
}, null, 10, No),
|
|
5294
5312
|
c(m, {
|
|
5295
5313
|
is: "sv-components-container",
|
|
5296
5314
|
survey: t.value,
|
|
@@ -5302,12 +5320,12 @@ const ae = /* @__PURE__ */ y({
|
|
|
5302
5320
|
key: 3,
|
|
5303
5321
|
class: r(t.value.completedBeforeCss),
|
|
5304
5322
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5305
|
-
}, null, 10,
|
|
5323
|
+
}, null, 10, Eo)) : p("", !0),
|
|
5306
5324
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5307
5325
|
key: 4,
|
|
5308
5326
|
class: r(t.value.loadingBodyCss),
|
|
5309
5327
|
innerHTML: t.value.processedLoadingHtml
|
|
5310
|
-
}, null, 10,
|
|
5328
|
+
}, null, 10, Wo)) : p("", !0),
|
|
5311
5329
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5312
5330
|
key: 5,
|
|
5313
5331
|
class: r(b.value.bodyEmpty)
|
|
@@ -5325,9 +5343,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
5325
5343
|
]),
|
|
5326
5344
|
_: 1
|
|
5327
5345
|
}, 8, ["disabled"])
|
|
5328
|
-
], 14,
|
|
5346
|
+
], 14, Bo));
|
|
5329
5347
|
}
|
|
5330
|
-
}),
|
|
5348
|
+
}), Fo = /* @__PURE__ */ y({
|
|
5331
5349
|
__name: "Notifier",
|
|
5332
5350
|
props: {
|
|
5333
5351
|
model: {}
|
|
@@ -5348,7 +5366,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5348
5366
|
}, null, 8, ["model"])
|
|
5349
5367
|
], 6)) : p("", !0);
|
|
5350
5368
|
}
|
|
5351
|
-
}),
|
|
5369
|
+
}), Oo = { key: 0 }, zo = /* @__PURE__ */ y({
|
|
5352
5370
|
__name: "QuestionOther",
|
|
5353
5371
|
props: {
|
|
5354
5372
|
question: {}
|
|
@@ -5357,14 +5375,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
5357
5375
|
return (e, n) => (i(), a("div", {
|
|
5358
5376
|
class: r(e.question.getCommentAreaCss(!0))
|
|
5359
5377
|
}, [
|
|
5360
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5378
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", Oo, I(e.question.otherValue), 1)) : (i(), g(m, {
|
|
5361
5379
|
key: 1,
|
|
5362
5380
|
is: "sv-text-area",
|
|
5363
5381
|
model: e.question.otherTextAreaModel
|
|
5364
5382
|
}, null, 8, ["model"]))
|
|
5365
5383
|
], 2));
|
|
5366
5384
|
}
|
|
5367
|
-
}),
|
|
5385
|
+
}), Uo = ["disabled", "value", "title"], Qo = /* @__PURE__ */ y({
|
|
5368
5386
|
__name: "SurveyNavigationButton",
|
|
5369
5387
|
props: {
|
|
5370
5388
|
item: {}
|
|
@@ -5381,7 +5399,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5381
5399
|
onMousedown: n,
|
|
5382
5400
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
5383
5401
|
(...t) => s.item.action && s.item.action(...t))
|
|
5384
|
-
}, null, 42,
|
|
5402
|
+
}, null, 42, Uo)) : p("", !0);
|
|
5385
5403
|
}
|
|
5386
5404
|
}), fe = /* @__PURE__ */ y({
|
|
5387
5405
|
__name: "PopupSurvey",
|
|
@@ -5497,7 +5515,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5497
5515
|
], 2)
|
|
5498
5516
|
], 38)) : p("", !0);
|
|
5499
5517
|
}
|
|
5500
|
-
}),
|
|
5518
|
+
}), Ko = ["innerHTML"], jo = /* @__PURE__ */ y({
|
|
5501
5519
|
__name: "CustomWidget",
|
|
5502
5520
|
props: {
|
|
5503
5521
|
question: {},
|
|
@@ -5520,7 +5538,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5520
5538
|
o.value ? (i(), a("div", {
|
|
5521
5539
|
key: 0,
|
|
5522
5540
|
innerHTML: t.value
|
|
5523
|
-
}, null, 8,
|
|
5541
|
+
}, null, 8, Ko)) : p("", !0),
|
|
5524
5542
|
s.value ? (i(), g(m, {
|
|
5525
5543
|
key: 1,
|
|
5526
5544
|
is: l.value,
|
|
@@ -5529,7 +5547,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5529
5547
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5530
5548
|
], 512));
|
|
5531
5549
|
}
|
|
5532
|
-
}),
|
|
5550
|
+
}), Go = /* @__PURE__ */ y({
|
|
5533
5551
|
__name: "PopupModal",
|
|
5534
5552
|
setup(u) {
|
|
5535
5553
|
const e = E();
|
|
@@ -5554,58 +5572,60 @@ const ae = /* @__PURE__ */ y({
|
|
|
5554
5572
|
}, null, 8, ["model"])
|
|
5555
5573
|
], 8, ["to"])) : p("", !0);
|
|
5556
5574
|
}
|
|
5557
|
-
}),
|
|
5575
|
+
}), Xo = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Jo = /* @__PURE__ */ y({
|
|
5558
5576
|
__name: "TextArea",
|
|
5559
5577
|
props: {
|
|
5560
|
-
model: {}
|
|
5578
|
+
model: {},
|
|
5579
|
+
getRef: { type: Function }
|
|
5561
5580
|
},
|
|
5562
5581
|
setup(u) {
|
|
5563
5582
|
const e = u, n = k(
|
|
5564
5583
|
null
|
|
5565
|
-
), s =
|
|
5584
|
+
), s = function(t) {
|
|
5585
|
+
n.value = t, e.getRef && e.getRef(t);
|
|
5586
|
+
}, o = H(() => e.model.getTextValue() || "");
|
|
5566
5587
|
return Z(() => {
|
|
5567
5588
|
e.model.setElement(n.value);
|
|
5568
5589
|
}), j(() => {
|
|
5569
5590
|
e.model.setElement(n.value);
|
|
5570
5591
|
}), D(() => {
|
|
5571
5592
|
e.model.resetElement();
|
|
5572
|
-
}), (
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
o.model.onTextAreaBlur(l);
|
|
5593
|
+
}), (t, l) => (i(), a("textarea", {
|
|
5594
|
+
ref: (d) => s(d),
|
|
5595
|
+
readonly: t.model.isReadOnlyAttr,
|
|
5596
|
+
disabled: t.model.isDisabledAttr,
|
|
5597
|
+
value: o.value,
|
|
5598
|
+
id: t.model.id,
|
|
5599
|
+
maxlength: t.model.maxLength,
|
|
5600
|
+
cols: t.model.cols,
|
|
5601
|
+
rows: t.model.rows,
|
|
5602
|
+
placeholder: t.model.placeholder,
|
|
5603
|
+
class: r(t.model.className),
|
|
5604
|
+
onBlur: l[0] || (l[0] = (d) => {
|
|
5605
|
+
t.model.onTextAreaBlur(d);
|
|
5586
5606
|
}),
|
|
5587
|
-
onFocus:
|
|
5588
|
-
|
|
5607
|
+
onFocus: l[1] || (l[1] = (d) => {
|
|
5608
|
+
t.model.onTextAreaFocus(d);
|
|
5589
5609
|
}),
|
|
5590
|
-
onChange:
|
|
5591
|
-
|
|
5610
|
+
onChange: l[2] || (l[2] = (d) => {
|
|
5611
|
+
t.model.onTextAreaChange(d);
|
|
5592
5612
|
}),
|
|
5593
|
-
onInput:
|
|
5594
|
-
|
|
5613
|
+
onInput: l[3] || (l[3] = (d) => {
|
|
5614
|
+
t.model.onTextAreaInput(d);
|
|
5595
5615
|
}),
|
|
5596
|
-
onKeydown:
|
|
5597
|
-
|
|
5616
|
+
onKeydown: l[4] || (l[4] = (d) => {
|
|
5617
|
+
t.model.onTextAreaKeyDown(d);
|
|
5598
5618
|
}),
|
|
5599
|
-
"aria-required":
|
|
5600
|
-
"aria-label":
|
|
5601
|
-
"aria-labelledby":
|
|
5602
|
-
"aria-describedby":
|
|
5603
|
-
"aria-invalid":
|
|
5604
|
-
"aria-errormessage":
|
|
5605
|
-
style: f({ resize:
|
|
5606
|
-
}, null, 46,
|
|
5607
|
-
}
|
|
5608
|
-
}),
|
|
5619
|
+
"aria-required": t.model.ariaRequired,
|
|
5620
|
+
"aria-label": t.model.ariaLabel,
|
|
5621
|
+
"aria-labelledby": t.model.ariaLabelledBy,
|
|
5622
|
+
"aria-describedby": t.model.ariaDescribedBy,
|
|
5623
|
+
"aria-invalid": t.model.ariaInvalid,
|
|
5624
|
+
"aria-errormessage": t.model.ariaErrormessage,
|
|
5625
|
+
style: f({ resize: t.model.question.resizeStyle })
|
|
5626
|
+
}, null, 46, Xo));
|
|
5627
|
+
}
|
|
5628
|
+
}), Yo = /* @__PURE__ */ y({
|
|
5609
5629
|
__name: "CharacterCounter",
|
|
5610
5630
|
props: {
|
|
5611
5631
|
counter: {},
|
|
@@ -5617,7 +5637,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5617
5637
|
class: r(n.remainingCharacterCounter)
|
|
5618
5638
|
}, I(n.counter.remainingCharacterCounter), 3));
|
|
5619
5639
|
}
|
|
5620
|
-
}),
|
|
5640
|
+
}), _o = /* @__PURE__ */ y({
|
|
5621
5641
|
inheritAttrs: !1,
|
|
5622
5642
|
__name: "Composite",
|
|
5623
5643
|
props: {
|
|
@@ -5636,7 +5656,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5636
5656
|
css: o.css
|
|
5637
5657
|
}, null, 8, ["element", "css"]));
|
|
5638
5658
|
}
|
|
5639
|
-
}),
|
|
5659
|
+
}), xo = /* @__PURE__ */ y({
|
|
5640
5660
|
inheritAttrs: !1,
|
|
5641
5661
|
__name: "Custom",
|
|
5642
5662
|
props: {
|
|
@@ -5654,9 +5674,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
5654
5674
|
css: t.css
|
|
5655
5675
|
}, null, 8, ["is", "question", "css"]));
|
|
5656
5676
|
}
|
|
5657
|
-
}),
|
|
5658
|
-
|
|
5659
|
-
], ce = 440,
|
|
5677
|
+
}), ei = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), si = [
|
|
5678
|
+
ei
|
|
5679
|
+
], ce = 440, ni = /* @__PURE__ */ y({
|
|
5660
5680
|
__name: "TimerPanel",
|
|
5661
5681
|
props: {
|
|
5662
5682
|
model: {},
|
|
@@ -5672,7 +5692,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5672
5692
|
key: 0,
|
|
5673
5693
|
class: r(o.model.getProgressCss()),
|
|
5674
5694
|
style: f({ strokeDasharray: ce, strokeDashoffset: n.value })
|
|
5675
|
-
},
|
|
5695
|
+
}, si, 6)) : p("", !0),
|
|
5676
5696
|
v("div", {
|
|
5677
5697
|
class: r(o.model.textContainerCss)
|
|
5678
5698
|
}, [
|
|
@@ -5691,10 +5711,10 @@ const ae = /* @__PURE__ */ y({
|
|
|
5691
5711
|
[P, o.model.isRunning && !o.model.showTimerAsClock]
|
|
5692
5712
|
]);
|
|
5693
5713
|
}
|
|
5694
|
-
}),
|
|
5714
|
+
}), ti = { class: "sd-loading-indicator" }, oi = /* @__PURE__ */ y({
|
|
5695
5715
|
__name: "LoadingIndicator",
|
|
5696
5716
|
setup(u) {
|
|
5697
|
-
return (e, n) => (i(), a("div",
|
|
5717
|
+
return (e, n) => (i(), a("div", ti, [
|
|
5698
5718
|
c(m, {
|
|
5699
5719
|
is: "sv-svg-icon",
|
|
5700
5720
|
iconName: "icon-loading",
|
|
@@ -5702,7 +5722,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5702
5722
|
})
|
|
5703
5723
|
]));
|
|
5704
5724
|
}
|
|
5705
|
-
}),
|
|
5725
|
+
}), ii = { key: 2 }, ri = /* @__PURE__ */ y({
|
|
5706
5726
|
__name: "Header",
|
|
5707
5727
|
props: {
|
|
5708
5728
|
model: {},
|
|
@@ -5738,7 +5758,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5738
5758
|
key: t
|
|
5739
5759
|
}, null, 8, ["model"]))), 128))
|
|
5740
5760
|
], 6)),
|
|
5741
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5761
|
+
n.survey.isMobile ? (i(), a("div", ii, [
|
|
5742
5762
|
c(m, {
|
|
5743
5763
|
is: "sv-header-mobile",
|
|
5744
5764
|
model: n.model
|
|
@@ -5746,10 +5766,10 @@ const ae = /* @__PURE__ */ y({
|
|
|
5746
5766
|
])) : p("", !0)
|
|
5747
5767
|
], 6)) : p("", !0);
|
|
5748
5768
|
}
|
|
5749
|
-
}),
|
|
5769
|
+
}), li = {
|
|
5750
5770
|
key: 0,
|
|
5751
5771
|
class: "sv-header__logo"
|
|
5752
|
-
},
|
|
5772
|
+
}, ai = ["src", "width", "height", "alt"], ui = /* @__PURE__ */ y({
|
|
5753
5773
|
__name: "HeaderCell",
|
|
5754
5774
|
props: {
|
|
5755
5775
|
model: {}
|
|
@@ -5763,7 +5783,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5763
5783
|
class: "sv-header__cell-content",
|
|
5764
5784
|
style: f(e.model.contentStyle)
|
|
5765
5785
|
}, [
|
|
5766
|
-
e.model.showLogo ? (i(), a("div",
|
|
5786
|
+
e.model.showLogo ? (i(), a("div", li, [
|
|
5767
5787
|
v("div", {
|
|
5768
5788
|
class: r(e.model.survey.logoClassNames)
|
|
5769
5789
|
}, [
|
|
@@ -5774,7 +5794,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5774
5794
|
height: e.model.survey.renderedLogoHeight,
|
|
5775
5795
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5776
5796
|
style: f({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5777
|
-
}, null, 14,
|
|
5797
|
+
}, null, 14, ai)
|
|
5778
5798
|
], 2)
|
|
5779
5799
|
])) : p("", !0),
|
|
5780
5800
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5806,17 +5826,17 @@ const ae = /* @__PURE__ */ y({
|
|
|
5806
5826
|
], 4)
|
|
5807
5827
|
], 6));
|
|
5808
5828
|
}
|
|
5809
|
-
}),
|
|
5829
|
+
}), di = { class: "sv-header--mobile" }, mi = {
|
|
5810
5830
|
key: 0,
|
|
5811
5831
|
class: "sv-header__logo"
|
|
5812
|
-
},
|
|
5832
|
+
}, pi = ["src", "width", "height", "alt"], vi = /* @__PURE__ */ y({
|
|
5813
5833
|
__name: "HeaderMobile",
|
|
5814
5834
|
props: {
|
|
5815
5835
|
model: {}
|
|
5816
5836
|
},
|
|
5817
5837
|
setup(u) {
|
|
5818
|
-
return (e, n) => (i(), a("div",
|
|
5819
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5838
|
+
return (e, n) => (i(), a("div", di, [
|
|
5839
|
+
e.model.survey.hasLogo ? (i(), a("div", mi, [
|
|
5820
5840
|
v("div", {
|
|
5821
5841
|
class: r(e.model.survey.logoClassNames)
|
|
5822
5842
|
}, [
|
|
@@ -5827,7 +5847,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5827
5847
|
height: e.model.survey.renderedLogoHeight,
|
|
5828
5848
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5829
5849
|
style: f({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5830
|
-
}, null, 14,
|
|
5850
|
+
}, null, 14, pi)
|
|
5831
5851
|
], 2)
|
|
5832
5852
|
])) : p("", !0),
|
|
5833
5853
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5858,7 +5878,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5858
5878
|
], 4)) : p("", !0)
|
|
5859
5879
|
]));
|
|
5860
5880
|
}
|
|
5861
|
-
}),
|
|
5881
|
+
}), Ci = /* @__PURE__ */ y({
|
|
5862
5882
|
__name: "Element",
|
|
5863
5883
|
props: {
|
|
5864
5884
|
element: {},
|
|
@@ -5914,7 +5934,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5914
5934
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5915
5935
|
], 6));
|
|
5916
5936
|
}
|
|
5917
|
-
}),
|
|
5937
|
+
}), ci = /* @__PURE__ */ y({
|
|
5918
5938
|
__name: "TemplateRenderer",
|
|
5919
5939
|
props: {
|
|
5920
5940
|
componentName: {},
|
|
@@ -5927,7 +5947,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5927
5947
|
is: s.componentName
|
|
5928
5948
|
}, s.componentData), null, 16, ["is"]));
|
|
5929
5949
|
}
|
|
5930
|
-
}),
|
|
5950
|
+
}), gi = /* @__PURE__ */ y({
|
|
5931
5951
|
__name: "FileCleanButton",
|
|
5932
5952
|
props: {
|
|
5933
5953
|
question: {},
|
|
@@ -5950,7 +5970,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5950
5970
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5951
5971
|
], 2));
|
|
5952
5972
|
}
|
|
5953
|
-
}),
|
|
5973
|
+
}), yi = ["id"], hi = /* @__PURE__ */ y({
|
|
5954
5974
|
__name: "FileVideo",
|
|
5955
5975
|
props: {
|
|
5956
5976
|
question: {}
|
|
@@ -5972,14 +5992,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
5972
5992
|
playsinline: "",
|
|
5973
5993
|
id: e.question.videoId,
|
|
5974
5994
|
class: r(e.question.cssClasses.video)
|
|
5975
|
-
}, null, 10,
|
|
5995
|
+
}, null, 10, yi),
|
|
5976
5996
|
c(m, {
|
|
5977
5997
|
is: "sv-action",
|
|
5978
5998
|
item: e.question.takePictureAction
|
|
5979
5999
|
}, null, 8, ["item"])
|
|
5980
6000
|
], 2));
|
|
5981
6001
|
}
|
|
5982
|
-
}),
|
|
6002
|
+
}), qi = ["for", "aria-label"], wi = /* @__PURE__ */ y({
|
|
5983
6003
|
__name: "FileChooseButton",
|
|
5984
6004
|
props: {
|
|
5985
6005
|
data: {},
|
|
@@ -6007,11 +6027,11 @@ const ae = /* @__PURE__ */ y({
|
|
|
6007
6027
|
size: "auto"
|
|
6008
6028
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6009
6029
|
v("span", null, I(n.value.chooseButtonText), 1)
|
|
6010
|
-
], 10,
|
|
6030
|
+
], 10, qi)), [
|
|
6011
6031
|
[w(U)]
|
|
6012
6032
|
]);
|
|
6013
6033
|
}
|
|
6014
|
-
}),
|
|
6034
|
+
}), bi = /* @__PURE__ */ y({
|
|
6015
6035
|
__name: "FilePreview",
|
|
6016
6036
|
props: {
|
|
6017
6037
|
question: {}
|
|
@@ -6029,7 +6049,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6029
6049
|
}, null, 8, ["page", "question"]))), 128))
|
|
6030
6050
|
], 2)) : p("", !0);
|
|
6031
6051
|
}
|
|
6032
|
-
}),
|
|
6052
|
+
}), Li = /* @__PURE__ */ y({
|
|
6033
6053
|
__name: "ButtonGroup",
|
|
6034
6054
|
props: {
|
|
6035
6055
|
question: {}
|
|
@@ -6051,7 +6071,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6051
6071
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6052
6072
|
], 2));
|
|
6053
6073
|
}
|
|
6054
|
-
}),
|
|
6074
|
+
}), ki = ["title"], fi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Hi = ["title"], Mi = /* @__PURE__ */ y({
|
|
6055
6075
|
__name: "ButtonGroupItem",
|
|
6056
6076
|
props: {
|
|
6057
6077
|
item: {},
|
|
@@ -6084,7 +6104,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6084
6104
|
class: r(n.value.css.control),
|
|
6085
6105
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
|
|
6086
6106
|
value: n.value.value
|
|
6087
|
-
}, null, 10,
|
|
6107
|
+
}, null, 10, fi), [
|
|
6088
6108
|
[se, s.value]
|
|
6089
6109
|
]),
|
|
6090
6110
|
v("div", {
|
|
@@ -6106,9 +6126,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
6106
6126
|
is: "survey-string",
|
|
6107
6127
|
locString: n.value.caption
|
|
6108
6128
|
}, null, 8, ["locString"])
|
|
6109
|
-
], 10,
|
|
6129
|
+
], 10, Hi)) : p("", !0)
|
|
6110
6130
|
], 2)
|
|
6111
|
-
], 10,
|
|
6131
|
+
], 10, ki));
|
|
6112
6132
|
}
|
|
6113
6133
|
});
|
|
6114
6134
|
G.Instance.registerRenderer(
|
|
@@ -6116,7 +6136,7 @@ G.Instance.registerRenderer(
|
|
|
6116
6136
|
"dropdown",
|
|
6117
6137
|
"sv-buttongroup-dropdown"
|
|
6118
6138
|
);
|
|
6119
|
-
const
|
|
6139
|
+
const Ii = /* @__PURE__ */ y({
|
|
6120
6140
|
inheritAttrs: !1,
|
|
6121
6141
|
__name: "ButtonGroupDropdown",
|
|
6122
6142
|
props: {
|
|
@@ -6135,7 +6155,7 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6135
6155
|
}, null, 8, ["question"])
|
|
6136
6156
|
], 2));
|
|
6137
6157
|
}
|
|
6138
|
-
}),
|
|
6158
|
+
}), Vi = ["src", "width", "height", "alt"], Si = /* @__PURE__ */ y({
|
|
6139
6159
|
inheritAttrs: !1,
|
|
6140
6160
|
__name: "Logo",
|
|
6141
6161
|
props: {
|
|
@@ -6157,10 +6177,10 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6157
6177
|
width: n.value.renderedStyleLogoWidth,
|
|
6158
6178
|
height: n.value.renderedStyleLogoHeight
|
|
6159
6179
|
})
|
|
6160
|
-
}, null, 14,
|
|
6180
|
+
}, null, 14, Vi)
|
|
6161
6181
|
], 2));
|
|
6162
6182
|
}
|
|
6163
|
-
}),
|
|
6183
|
+
}), Ri = /* @__PURE__ */ y({
|
|
6164
6184
|
__name: "SvgBundle",
|
|
6165
6185
|
setup(u) {
|
|
6166
6186
|
const e = k(), n = () => {
|
|
@@ -6178,7 +6198,7 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6178
6198
|
[P, !1]
|
|
6179
6199
|
]);
|
|
6180
6200
|
}
|
|
6181
|
-
}),
|
|
6201
|
+
}), Ti = ["id"], Bi = /* @__PURE__ */ y({
|
|
6182
6202
|
__name: "FilePage",
|
|
6183
6203
|
props: {
|
|
6184
6204
|
page: {},
|
|
@@ -6196,9 +6216,9 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6196
6216
|
item: o,
|
|
6197
6217
|
question: n.question
|
|
6198
6218
|
}, null, 8, ["item", "question"]))), 128))
|
|
6199
|
-
], 10,
|
|
6219
|
+
], 10, Ti));
|
|
6200
6220
|
}
|
|
6201
|
-
}),
|
|
6221
|
+
}), Zi = ["href", "title", "download"], $i = ["src"], Di = ["href", "title", "download"], Ai = /* @__PURE__ */ y({
|
|
6202
6222
|
__name: "FileItem",
|
|
6203
6223
|
props: {
|
|
6204
6224
|
item: {},
|
|
@@ -6219,7 +6239,7 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6219
6239
|
title: e.item.name,
|
|
6220
6240
|
download: e.item.name,
|
|
6221
6241
|
style: f({ width: e.question.imageWidth })
|
|
6222
|
-
}, I(e.item.name), 13,
|
|
6242
|
+
}, I(e.item.name), 13, Zi)
|
|
6223
6243
|
], 2)) : p("", !0),
|
|
6224
6244
|
v("div", {
|
|
6225
6245
|
class: r(e.question.getImageWrapperCss(e.item))
|
|
@@ -6232,7 +6252,7 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6232
6252
|
width: e.question.imageWidth
|
|
6233
6253
|
}),
|
|
6234
6254
|
alt: "File preview"
|
|
6235
|
-
}, null, 12,
|
|
6255
|
+
}, null, 12, $i)) : p("", !0),
|
|
6236
6256
|
e.question.defaultImage(e.item) ? (i(), g(m, {
|
|
6237
6257
|
key: 1,
|
|
6238
6258
|
is: "sv-svg-icon",
|
|
@@ -6268,7 +6288,7 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6268
6288
|
title: e.item.name,
|
|
6269
6289
|
download: e.item.name,
|
|
6270
6290
|
style: f({ width: e.question.imageWidth })
|
|
6271
|
-
}, I(e.item.name), 13,
|
|
6291
|
+
}, I(e.item.name), 13, Di)
|
|
6272
6292
|
], 2)) : p("", !0)
|
|
6273
6293
|
], 2)), [
|
|
6274
6294
|
[P, e.item]
|
|
@@ -6276,20 +6296,20 @@ const Mi = /* @__PURE__ */ y({
|
|
|
6276
6296
|
}
|
|
6277
6297
|
});
|
|
6278
6298
|
Ye.platform = "vue3";
|
|
6279
|
-
function
|
|
6299
|
+
function Pi(u, e, n) {
|
|
6280
6300
|
u(e, n);
|
|
6281
6301
|
}
|
|
6282
6302
|
function He(u) {
|
|
6283
|
-
const e =
|
|
6303
|
+
const e = Pi.bind(
|
|
6284
6304
|
void 0,
|
|
6285
6305
|
u
|
|
6286
6306
|
);
|
|
6287
|
-
e("sv-svg-bundle",
|
|
6307
|
+
e("sv-svg-bundle", Ri), e("popup-survey", fe), e("survey-header", ns), e("sv-logo-image", Si), e("survey-page", ss), e("survey-row", ts), e("survey-question", as), e("survey-panel", ps), e("survey-element-header", Cs), e("survey-string", cs), e("sv-string-viewer", ys), e("sv-string-editor", qs), e("sv-skeleton", bs), e("sv-scroll", Hs), e("survey-text", Vs), e("survey-text-input", Ts), e("survey-checkbox", As), e("survey-checkbox-item", Es), e("survey-radiogroup", Ws), e("survey-radiogroup-item", zs), e("survey-signaturepad", js), e("survey-html", Xs), e("survey-image", xs), e("survey-expression", e1), e("survey-file", o1), e("sv-file-choose-btn", wi), e("sv-file-clean-btn", gi), e("sv-file-preview", bi), e("sv-file-page", Bi), e("sv-file-item", Ai), e("sv-file-video", hi), e("survey-imagepicker", r1), e("survey-imagepicker-item", m1), e("survey-comment", p1), e("survey-dropdown", v1), e("sv-dropdown-select", y1), e("sv-dropdown-option-item", q1), e("sv-dropdown", f1), e("survey-tagbox", H1), e("sv-tagbox", V1), e("sv-tagbox-item", Z1), e("sv-tagbox-filter", T1), e("survey-ranking", $1), e("survey-ranking-item", W1), e("sv-ranking-item", F1), e("survey-rating", U1), e("sv-rating-item", j1), e("sv-rating-item-smiley", J1), e("sv-rating-item-star", x1), e("sv-rating-dropdown", on), e("sv-rating-dropdown-item", tn), e("survey-boolean", ln), e("sv-boolean-radio", an), e("sv-boolean-radio-item", mn), e("sv-boolean-checkbox", yn), e("survey-multipletext", hn), e("survey-multipletext-item", bn), e("sv-breadcrumbs", Ln), e("sv-single-input-summary", In), e("survey-slider", Rn), e("sv-slider-label-item", Tn), e("survey-matrix", Nn), e("survey-matrix-row", Wn), e("survey-matrix-cell", zn), e("survey-matrixdropdown", Un), e("survey-matrixtable", jn), e("survey-matrixheaderrequired", Xn), e("survey-matrixdropdown-cell", Yn), e("survey-matrixdynamic", _n), e("survey-placeholder-matrixdynamic", xn), e("sv-matrix-remove-button", st), e("sv-matrix-drag-drop-icon", tt), e("sv-matrix-detail-button", it), e("survey-paneldynamic", lt), e("survey-paneldynamicprogress", ut), e("survey-paneldynamicprogress-v2", mt), e("survey-placeholder-paneldynamic", pt), e("sv-paneldynamic-add-btn", Ct), e("sv-paneldynamic-next-btn", gt), e("sv-paneldynamic-prev-btn", ht), e("sv-paneldynamic-remove-btn", wt), e("sv-paneldynamic-progress-text", bt), e("sv-components-container", bo), e("sv-progress-buttons", So), e("sv-navigation-toc", Ro), e("sv-progress-pages", Y), e("sv-progress-questions", Y), e("sv-progress-correctquestions", Y), e("sv-progress-requiredquestions", Y), e("survey-errors", kt), e("survey-question-comment", Ht), e("survey-element-title", Mt), e("survey-element-title-content", Tt), e("sv-title-actions", $t), e("sv-brand-info", Ft), e("sv-question-error", Qt), e("sv-svg-icon", Ut), e("sv-action-bar", Kt), e("sv-action", Xt), e("sv-action-bar-item", _t), e("sv-action-bar-item-dropdown", so), e("sv-action-bar-separator", no), e("sv-list", ro), e("sv-list-item-content", mo), e("sv-list-item-group", po), e("sv-list-item", uo), e("sv-popup", vo), e("sv-popup-container", qo), e("popup-pointer", wo), e("sv-notifier", Fo), e("survey-other-choice", zo), e("sv-nav-btn", Qo), e("survey-customwidget", jo), e("survey-popup-modal", Go), e("survey-composite", _o), e("survey-custom", xo), e("sv-timerpanel", ni), e("sv-loading-indicator", oi), e("sv-header", ri), e("sv-header-cell", ui), e("sv-header-mobile", vi), e("sv-template-renderer", ci), e("sv-character-counter", Yo), e("sv-text-area", Jo), e("survey-element", Ci), e("survey-buttongroup", Li), e("sv-button-group-item", Mi), e("sv-buttongroup-dropdown", Ii), e("survey", ae);
|
|
6288
6308
|
}
|
|
6289
6309
|
He(
|
|
6290
6310
|
(u, e) => F.Instance.registerComponent(u, e)
|
|
6291
6311
|
);
|
|
6292
|
-
const
|
|
6312
|
+
const Fi = {
|
|
6293
6313
|
install(u) {
|
|
6294
6314
|
u.component("SurveyComponent", ae), u.component("PopupSurveyComponent", fe), u.directive("key2click", U), He((e, n) => {
|
|
6295
6315
|
u.component(e, n), F.Instance.registerComponent(e, e);
|
|
@@ -6302,7 +6322,7 @@ export {
|
|
|
6302
6322
|
ae as SurveyComponent,
|
|
6303
6323
|
m as SvComponent,
|
|
6304
6324
|
U as key2ClickDirective,
|
|
6305
|
-
|
|
6325
|
+
Fi as surveyPlugin,
|
|
6306
6326
|
S as useBase,
|
|
6307
6327
|
ne as useComputedArray,
|
|
6308
6328
|
z as useLocString,
|