survey-vue3-ui 1.12.6 → 1.12.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +240 -239
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ke = Object.defineProperty;
|
|
2
2
|
var fe = (u, e, n) => e in u ? ke(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
3
|
var J = (u, e, n) => (fe(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as h, computed as w, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as le, guardReactiveProps as ae, createSlots as we, renderList as $, withCtx as W, renderSlot as ve, shallowReactive as Ie, watch as O, onBeforeUnmount as K, onMounted as P, ref as I, shallowRef as V, watchEffect as Se, triggerRef as ee, unref as k, isRef as
|
|
4
|
+
import { defineComponent as h, computed as w, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as le, guardReactiveProps as ae, createSlots as we, renderList as $, withCtx as W, renderSlot as ve, shallowReactive as Ie, watch as O, onBeforeUnmount as K, onMounted as P, ref as I, shallowRef as V, watchEffect as Se, triggerRef as ee, unref as k, isRef as Re, nextTick as Te, createElementBlock as l, normalizeClass as r, createVNode as y, createCommentVNode as m, Fragment as T, mergeProps as M, normalizeStyle as S, createElementVNode as v, onUnmounted as F, withDirectives as A, vShow as E, toDisplayString as R, vModelRadio as Y, vModelCheckbox as se, vModelSelect as $e, onUpdated as Z, vModelText as De, getCurrentInstance as qe, createStaticVNode as Be, toRaw as Ae, Teleport as Le, useSlots as Ne } from "vue";
|
|
5
5
|
import { Base as Pe, RendererFactory as _, Helpers as Me, DropdownMultiSelectListModel as He, doKey2ClickUp as ge, createSvg as Ee, doKey2ClickDown as We, doKey2ClickBlur as Fe, ActionDropdownViewModel as Ve, getActionDropdownButtonTarget as Oe, createPopupViewModel as ze, SurveyProgressModel as ue, ProgressButtonsResponsivityManager as Ue, PopupSurveyModel as Ke, settings as z, createDialogOptions as Qe, createPopupModalViewModel as je, ButtonGroupItemModel as Ge, SvgRegistry as Je, SurveyModel as Xe } from "survey-core";
|
|
6
6
|
const ie = class {
|
|
7
7
|
constructor() {
|
|
@@ -52,7 +52,7 @@ class Ye {
|
|
|
52
52
|
this.element = e;
|
|
53
53
|
}
|
|
54
54
|
async add() {
|
|
55
|
-
const e =
|
|
55
|
+
const e = Te();
|
|
56
56
|
this.currentNextTickPromise !== e && (this.currentNextTickPromise = e, await e, e == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -74,7 +74,7 @@ function Ze(u) {
|
|
|
74
74
|
}, s[t] = o;
|
|
75
75
|
}
|
|
76
76
|
}), u.getPropertyValueCoreHandler = (s, t) => k(s[t]), u.setPropertyValueCoreHandler = (s, t, o) => {
|
|
77
|
-
|
|
77
|
+
Re(s[t]) ? s[t].value = o : s[t] = o, n.add();
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
@@ -177,7 +177,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
177
177
|
is: "survey-errors",
|
|
178
178
|
element: o.page
|
|
179
179
|
}, null, 8, ["element"]),
|
|
180
|
-
(i(!0), l(
|
|
180
|
+
(i(!0), l(T, null, $(o.page.visibleRows, (p) => (i(), g(d, M({
|
|
181
181
|
key: p.id,
|
|
182
182
|
is: o.page.getSurvey().getRowWrapperComponentName(p)
|
|
183
183
|
}, {
|
|
@@ -275,7 +275,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
275
275
|
ref_key: "root",
|
|
276
276
|
ref: n
|
|
277
277
|
}, [
|
|
278
|
-
(i(!0), l(
|
|
278
|
+
(i(!0), l(T, null, $(s.row.visibleElements, (o) => (i(), g(d, {
|
|
279
279
|
is: "survey-element",
|
|
280
280
|
row: s.row,
|
|
281
281
|
css: s.css,
|
|
@@ -450,7 +450,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
450
450
|
style: S({ paddingLeft: t.element.innerPaddingLeft }),
|
|
451
451
|
class: r(t.element.cssClasses.panel.content)
|
|
452
452
|
}, [
|
|
453
|
-
(i(!0), l(
|
|
453
|
+
(i(!0), l(T, null, $(t.element.visibleRows, (a) => (i(), g(d, M({
|
|
454
454
|
key: a.id,
|
|
455
455
|
is: t.element.getSurvey().getRowWrapperComponentName(a)
|
|
456
456
|
}, {
|
|
@@ -540,7 +540,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
540
540
|
}, null, 10, ps)) : (i(), l("span", {
|
|
541
541
|
key: 1,
|
|
542
542
|
class: r(k(s))
|
|
543
|
-
},
|
|
543
|
+
}, R(k(n)), 3));
|
|
544
544
|
}
|
|
545
545
|
}), vs = ["innerHTML"], qs = /* @__PURE__ */ h({
|
|
546
546
|
__name: "StringEditor",
|
|
@@ -567,7 +567,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
567
567
|
contenteditable: "true",
|
|
568
568
|
onBlur: n,
|
|
569
569
|
onClick: s
|
|
570
|
-
},
|
|
570
|
+
}, R(t.locString.renderedHtml), 33));
|
|
571
571
|
}
|
|
572
572
|
}), gs = ["id"], ys = /* @__PURE__ */ h({
|
|
573
573
|
__name: "Skeleton",
|
|
@@ -594,7 +594,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
594
594
|
key: 0,
|
|
595
595
|
ref_key: "root",
|
|
596
596
|
ref: n
|
|
597
|
-
},
|
|
597
|
+
}, R(s.question.value), 513)) : s.question.dataListId ? (i(), l("div", {
|
|
598
598
|
key: 1,
|
|
599
599
|
ref_key: "root",
|
|
600
600
|
ref: n
|
|
@@ -606,7 +606,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
606
606
|
v("datalist", {
|
|
607
607
|
id: s.question.dataListId
|
|
608
608
|
}, [
|
|
609
|
-
(i(!0), l(
|
|
609
|
+
(i(!0), l(T, null, $(s.question.dataList, (o, a) => (i(), l("option", {
|
|
610
610
|
key: a,
|
|
611
611
|
value: o
|
|
612
612
|
}, null, 8, Cs))), 128))
|
|
@@ -705,7 +705,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
705
705
|
}), Is = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ss = {
|
|
706
706
|
key: 0,
|
|
707
707
|
class: "sv-hidden"
|
|
708
|
-
},
|
|
708
|
+
}, Rs = { key: 7 }, Ts = ["value"], ye = /* @__PURE__ */ h({
|
|
709
709
|
inheritAttrs: !1,
|
|
710
710
|
__name: "SelectBase",
|
|
711
711
|
props: {
|
|
@@ -735,12 +735,12 @@ const _e = /* @__PURE__ */ h({
|
|
|
735
735
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
736
736
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
737
737
|
}, [
|
|
738
|
-
o.showLegend ? (i(), l("legend", Ss,
|
|
739
|
-
o.question.hasHeadItems ? (i(!0), l(
|
|
738
|
+
o.showLegend ? (i(), l("legend", Ss, R(o.question.locTitle.renderedHtml), 1)) : m("", !0),
|
|
739
|
+
o.question.hasHeadItems ? (i(!0), l(T, { key: 1 }, $(o.question.headItems, (p) => (i(), g(d, M({
|
|
740
740
|
key: p.value,
|
|
741
741
|
is: s(p)
|
|
742
742
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
743
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), l(
|
|
743
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), l(T, { key: 2 }, $(o.question.bodyItems, (p) => (i(), g(d, M({
|
|
744
744
|
key: p.value,
|
|
745
745
|
is: s(p)
|
|
746
746
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
@@ -748,7 +748,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
748
748
|
key: 3,
|
|
749
749
|
class: r(o.question.cssClasses.rootRow)
|
|
750
750
|
}, [
|
|
751
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), l(
|
|
751
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), l(T, { key: 0 }, $(o.question.dataChoices, (p) => (i(), g(d, M({
|
|
752
752
|
key: p.value,
|
|
753
753
|
is: s(p)
|
|
754
754
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0)
|
|
@@ -757,18 +757,18 @@ const _e = /* @__PURE__ */ h({
|
|
|
757
757
|
key: 4,
|
|
758
758
|
class: r(o.question.cssClasses.rootMultiColumn)
|
|
759
759
|
}, [
|
|
760
|
-
o.question.hasColumns ? (i(!0), l(
|
|
760
|
+
o.question.hasColumns ? (i(!0), l(T, { key: 0 }, $(o.question.columns, (p, q) => (i(), l("div", {
|
|
761
761
|
key: q,
|
|
762
762
|
class: r(o.question.getColumnClass()),
|
|
763
763
|
role: "presentation"
|
|
764
764
|
}, [
|
|
765
|
-
(i(!0), l(
|
|
765
|
+
(i(!0), l(T, null, $(p, (c) => (i(), g(d, M({
|
|
766
766
|
key: c.value,
|
|
767
767
|
is: s(c)
|
|
768
768
|
}, t(c)), null, 16, ["is"]))), 128))
|
|
769
769
|
], 2))), 128)) : m("", !0)
|
|
770
770
|
], 2)) : m("", !0),
|
|
771
|
-
o.question.hasFootItems ? (i(!0), l(
|
|
771
|
+
o.question.hasFootItems ? (i(!0), l(T, { key: 5 }, $(o.question.footItems, (p) => (i(), g(d, M({
|
|
772
772
|
key: p.value,
|
|
773
773
|
is: s(p)
|
|
774
774
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
@@ -777,7 +777,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
777
777
|
is: "survey-other-choice",
|
|
778
778
|
question: o.question
|
|
779
779
|
}, null, 8, ["question"])) : m("", !0),
|
|
780
|
-
o.question.showClearButtonInContent ? (i(), l("div",
|
|
780
|
+
o.question.showClearButtonInContent ? (i(), l("div", Rs, [
|
|
781
781
|
v("input", {
|
|
782
782
|
type: "button",
|
|
783
783
|
class: r(o.question.cssClasses.clearButton),
|
|
@@ -785,7 +785,7 @@ const _e = /* @__PURE__ */ h({
|
|
|
785
785
|
o.question.clearValue(!0);
|
|
786
786
|
}),
|
|
787
787
|
value: o.question.clearButtonCaption
|
|
788
|
-
}, null, 10,
|
|
788
|
+
}, null, 10, Ts)
|
|
789
789
|
])) : m("", !0)
|
|
790
790
|
], 10, Is));
|
|
791
791
|
}
|
|
@@ -1139,7 +1139,7 @@ const Ds = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1139
1139
|
class: r(s.question.cssClasses.root),
|
|
1140
1140
|
ref_key: "root",
|
|
1141
1141
|
ref: n
|
|
1142
|
-
},
|
|
1142
|
+
}, R(s.question.formatedValue), 3));
|
|
1143
1143
|
}
|
|
1144
1144
|
}), Gs = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], Js = ["id", "multiple", "placeholder"], Xs = ["id", "multiple", "placeholder"], Ys = /* @__PURE__ */ h({
|
|
1145
1145
|
inheritAttrs: !1,
|
|
@@ -1224,7 +1224,7 @@ const Ds = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1224
1224
|
s.question.isEmpty() ? (i(), l("span", {
|
|
1225
1225
|
key: 2,
|
|
1226
1226
|
class: r(s.question.cssClasses.noFileChosen)
|
|
1227
|
-
},
|
|
1227
|
+
}, R(s.question.noFileChosenCaption), 3)) : m("", !0)
|
|
1228
1228
|
], 2)
|
|
1229
1229
|
], 2)) : m("", !0),
|
|
1230
1230
|
s.question.showRemoveButton ? (i(), g(d, {
|
|
@@ -1285,17 +1285,17 @@ const Ds = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1285
1285
|
ref_key: "root",
|
|
1286
1286
|
ref: n
|
|
1287
1287
|
}, [
|
|
1288
|
-
v("legend", Zs,
|
|
1289
|
-
o.question.hasColumns ? m("", !0) : (i(!0), l(
|
|
1288
|
+
v("legend", Zs, R(o.question.locTitle.renderedHtml), 1),
|
|
1289
|
+
o.question.hasColumns ? m("", !0) : (i(!0), l(T, { key: 0 }, $(o.question.visibleChoices, (p) => (i(), g(d, M({
|
|
1290
1290
|
key: p.value,
|
|
1291
1291
|
is: s(p)
|
|
1292
1292
|
}, t(p)), null, 16, ["is"]))), 128)),
|
|
1293
|
-
o.question.hasColumns ? (i(!0), l(
|
|
1293
|
+
o.question.hasColumns ? (i(!0), l(T, { key: 1 }, $(o.question.columns, (p, q) => (i(), l("div", {
|
|
1294
1294
|
class: r(o.question.getColumnClass()),
|
|
1295
1295
|
key: q,
|
|
1296
1296
|
role: "presentation"
|
|
1297
1297
|
}, [
|
|
1298
|
-
(i(!0), l(
|
|
1298
|
+
(i(!0), l(T, null, $(p, (c) => (i(), g(d, M({
|
|
1299
1299
|
key: c.value,
|
|
1300
1300
|
is: s(c)
|
|
1301
1301
|
}, t(c)), null, 16, ["is"]))), 128))
|
|
@@ -1470,7 +1470,7 @@ const Ds = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1470
1470
|
key: 2,
|
|
1471
1471
|
ref_key: "root",
|
|
1472
1472
|
ref: n
|
|
1473
|
-
},
|
|
1473
|
+
}, R(s.question.value), 513));
|
|
1474
1474
|
}
|
|
1475
1475
|
}), rn = /* @__PURE__ */ h({
|
|
1476
1476
|
inheritAttrs: !1,
|
|
@@ -1541,7 +1541,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1541
1541
|
disabled: "",
|
|
1542
1542
|
id: a.question.inputId,
|
|
1543
1543
|
class: r(a.question.getControlClass())
|
|
1544
|
-
},
|
|
1544
|
+
}, R(a.question.readOnlyText), 11, un)) : A((i(), l("select", {
|
|
1545
1545
|
key: 0,
|
|
1546
1546
|
id: a.question.inputId,
|
|
1547
1547
|
"onUpdate:modelValue": p[0] || (p[0] = (q) => o.value = q),
|
|
@@ -1555,8 +1555,8 @@ const dn = /* @__PURE__ */ h({
|
|
|
1555
1555
|
"aria-errormessage": a.question.ariaErrormessage,
|
|
1556
1556
|
required: a.question.isRequired
|
|
1557
1557
|
}, [
|
|
1558
|
-
a.question.allowClear ? (i(), l("option", an,
|
|
1559
|
-
(i(!0), l(
|
|
1558
|
+
a.question.allowClear ? (i(), l("option", an, R(a.question.placeholder), 1)) : m("", !0),
|
|
1559
|
+
(i(!0), l(T, null, $(a.question.visibleChoices, (q) => (i(), g(d, {
|
|
1560
1560
|
is: "sv-dropdown-option-item",
|
|
1561
1561
|
item: q,
|
|
1562
1562
|
key: q.id
|
|
@@ -1593,7 +1593,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1593
1593
|
return D(() => e.item), (s, t) => (i(), l("option", {
|
|
1594
1594
|
value: s.item.value,
|
|
1595
1595
|
disabled: !s.item.isEnabled
|
|
1596
|
-
},
|
|
1596
|
+
}, R(k(n)), 9, mn));
|
|
1597
1597
|
}
|
|
1598
1598
|
}), cn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], vn = { style: { visibility: "hidden" } }, qn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], gn = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], yn = /* @__PURE__ */ h({
|
|
1599
1599
|
__name: "Dropdown",
|
|
@@ -1653,7 +1653,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1653
1653
|
key: 0,
|
|
1654
1654
|
class: r(b.question.cssClasses.hintPrefix)
|
|
1655
1655
|
}, [
|
|
1656
|
-
v("span", null,
|
|
1656
|
+
v("span", null, R(s.value.hintStringPrefix), 1)
|
|
1657
1657
|
], 2)) : m("", !0),
|
|
1658
1658
|
v("div", {
|
|
1659
1659
|
class: r(b.question.cssClasses.controlValue)
|
|
@@ -1667,8 +1667,8 @@ const dn = /* @__PURE__ */ h({
|
|
|
1667
1667
|
key: 1,
|
|
1668
1668
|
class: r(b.question.cssClasses.hintSuffix)
|
|
1669
1669
|
}, [
|
|
1670
|
-
v("span", vn,
|
|
1671
|
-
v("span", null,
|
|
1670
|
+
v("span", vn, R(s.value.inputStringRendered), 1),
|
|
1671
|
+
v("span", null, R(s.value.hintStringSuffix), 1)
|
|
1672
1672
|
], 2)) : m("", !0),
|
|
1673
1673
|
b.question.showInputFieldComponent ? (i(), g(d, {
|
|
1674
1674
|
key: 2,
|
|
@@ -1731,7 +1731,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1731
1731
|
is: "survey-string",
|
|
1732
1732
|
locString: b.question.selectedItemLocText
|
|
1733
1733
|
}, null, 8, ["locString"])) : m("", !0),
|
|
1734
|
-
v("div", null,
|
|
1734
|
+
v("div", null, R(b.question.readOnlyText), 1)
|
|
1735
1735
|
], 10, gn)) : (i(), g(d, {
|
|
1736
1736
|
key: 1,
|
|
1737
1737
|
is: "sv-popup",
|
|
@@ -1826,7 +1826,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1826
1826
|
v("div", {
|
|
1827
1827
|
class: r(c.question.cssClasses.controlValue)
|
|
1828
1828
|
}, [
|
|
1829
|
-
(i(!0), l(
|
|
1829
|
+
(i(!0), l(T, null, $(k(q), (B, f) => (i(), g(d, {
|
|
1830
1830
|
is: "sv-tagbox-item",
|
|
1831
1831
|
item: B,
|
|
1832
1832
|
question: c.question,
|
|
@@ -1913,7 +1913,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1913
1913
|
key: 0,
|
|
1914
1914
|
class: r(a.question.cssClasses.hintPrefix)
|
|
1915
1915
|
}, [
|
|
1916
|
-
v("span", null,
|
|
1916
|
+
v("span", null, R(a.model.hintStringPrefix), 1)
|
|
1917
1917
|
], 2)) : m("", !0),
|
|
1918
1918
|
v("div", {
|
|
1919
1919
|
class: r(a.question.cssClasses.hintSuffixWrapper)
|
|
@@ -1927,8 +1927,8 @@ const dn = /* @__PURE__ */ h({
|
|
|
1927
1927
|
key: 1,
|
|
1928
1928
|
class: r(a.question.cssClasses.hintSuffix)
|
|
1929
1929
|
}, [
|
|
1930
|
-
v("span", fn,
|
|
1931
|
-
v("span", null,
|
|
1930
|
+
v("span", fn, R(a.model.inputStringRendered), 1),
|
|
1931
|
+
v("span", null, R(a.model.hintStringSuffix), 1)
|
|
1932
1932
|
], 2)) : m("", !0),
|
|
1933
1933
|
A(v("input", {
|
|
1934
1934
|
type: "text",
|
|
@@ -1958,7 +1958,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1958
1958
|
], 2)
|
|
1959
1959
|
], 2));
|
|
1960
1960
|
}
|
|
1961
|
-
}), Sn = { class: "sv-tagbox__item-text" },
|
|
1961
|
+
}), Sn = { class: "sv-tagbox__item-text" }, Rn = /* @__PURE__ */ h({
|
|
1962
1962
|
__name: "TagboxItem",
|
|
1963
1963
|
props: {
|
|
1964
1964
|
question: {},
|
|
@@ -1991,7 +1991,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
1991
1991
|
], 2)
|
|
1992
1992
|
]));
|
|
1993
1993
|
}
|
|
1994
|
-
}),
|
|
1994
|
+
}), Tn = /* @__PURE__ */ h({
|
|
1995
1995
|
inheritAttrs: !1,
|
|
1996
1996
|
__name: "Ranking",
|
|
1997
1997
|
props: {
|
|
@@ -2015,7 +2015,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2015
2015
|
ref_key: "root",
|
|
2016
2016
|
ref: n
|
|
2017
2017
|
}, [
|
|
2018
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), l(
|
|
2018
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), l(T, { key: 0 }, $(o.question.renderedRankingChoices, (p, q) => (i(), g(d, M({
|
|
2019
2019
|
key: p.value + "-" + q + "-item",
|
|
2020
2020
|
is: s(p)
|
|
2021
2021
|
}, t(p, q)), null, 16, ["is"]))), 128)),
|
|
@@ -2024,7 +2024,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2024
2024
|
class: r(o.question.getContainerClasses("from")),
|
|
2025
2025
|
"data-ranking": "from-container"
|
|
2026
2026
|
}, [
|
|
2027
|
-
(i(!0), l(
|
|
2027
|
+
(i(!0), l(T, null, $(o.question.renderedUnRankingChoices, (p, q) => (i(), g(d, M({
|
|
2028
2028
|
key: p.value + "-" + q + "-item",
|
|
2029
2029
|
is: s(p)
|
|
2030
2030
|
}, t(p, q, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2047,7 +2047,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2047
2047
|
class: r(o.question.getContainerClasses("to")),
|
|
2048
2048
|
"data-ranking": "to-container"
|
|
2049
2049
|
}, [
|
|
2050
|
-
(i(!0), l(
|
|
2050
|
+
(i(!0), l(T, null, $(o.question.renderedRankingChoices, (p, q) => (i(), g(d, M({
|
|
2051
2051
|
key: p.value + "-" + q + "-item",
|
|
2052
2052
|
is: s(p)
|
|
2053
2053
|
}, t(p, q)), null, 16, ["is"]))), 128)),
|
|
@@ -2129,7 +2129,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2129
2129
|
!s.unrankedItem && n.value ? (i(), l("div", {
|
|
2130
2130
|
key: 0,
|
|
2131
2131
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2132
|
-
},
|
|
2132
|
+
}, R(n.value), 3)) : (i(), l("div", {
|
|
2133
2133
|
key: 1,
|
|
2134
2134
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2135
2135
|
}, [
|
|
@@ -2194,7 +2194,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2194
2194
|
locString: t.question.locMinRateDescription
|
|
2195
2195
|
}, null, 8, ["locString"])
|
|
2196
2196
|
], 2)) : m("", !0),
|
|
2197
|
-
(i(!0), l(
|
|
2197
|
+
(i(!0), l(T, null, $(t.question.renderedRateItems, (a, p) => (i(), g(d, {
|
|
2198
2198
|
key: s(p),
|
|
2199
2199
|
is: t.question.itemComponent,
|
|
2200
2200
|
item: a,
|
|
@@ -2349,7 +2349,7 @@ const dn = /* @__PURE__ */ h({
|
|
|
2349
2349
|
setup(u) {
|
|
2350
2350
|
const e = u;
|
|
2351
2351
|
return D(() => e.item), (n, s) => (i(), l("div", Qn, [
|
|
2352
|
-
v("span", jn,
|
|
2352
|
+
v("span", jn, R(n.item.title), 1),
|
|
2353
2353
|
n.item.description ? (i(), l("div", Gn, [
|
|
2354
2354
|
y(d, {
|
|
2355
2355
|
is: "survey-string",
|
|
@@ -2682,14 +2682,14 @@ const lo = /* @__PURE__ */ h({
|
|
|
2682
2682
|
ref: n
|
|
2683
2683
|
}, [
|
|
2684
2684
|
v("tbody", null, [
|
|
2685
|
-
(i(!0), l(
|
|
2685
|
+
(i(!0), l(T, null, $(k(s), (a, p) => (i(), l(T, {
|
|
2686
2686
|
key: t.question.inputId + "rowkey" + p
|
|
2687
2687
|
}, [
|
|
2688
2688
|
a.isVisible ? (i(), l("tr", {
|
|
2689
2689
|
key: 0,
|
|
2690
2690
|
class: r(t.question.cssClasses.row)
|
|
2691
2691
|
}, [
|
|
2692
|
-
(i(!0), l(
|
|
2692
|
+
(i(!0), l(T, null, $(a.cells, (q) => (i(), l("td", {
|
|
2693
2693
|
key: "item" + q.item.editor.id,
|
|
2694
2694
|
class: r(q.className)
|
|
2695
2695
|
}, [
|
|
@@ -2732,7 +2732,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2732
2732
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), l("span", {
|
|
2733
2733
|
key: 0,
|
|
2734
2734
|
class: r(t.question.cssClasses.requiredText)
|
|
2735
|
-
},
|
|
2735
|
+
}, R(s.value.editor.requiredText), 3)) : m("", !0),
|
|
2736
2736
|
y(d, {
|
|
2737
2737
|
is: "survey-string",
|
|
2738
2738
|
locString: s.value.locTitle
|
|
@@ -2742,7 +2742,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2742
2742
|
key: 2,
|
|
2743
2743
|
"aria-hidden": "true",
|
|
2744
2744
|
class: r(t.question.cssClasses.requiredText)
|
|
2745
|
-
},
|
|
2745
|
+
}, R(s.value.editor.requiredText), 3)) : m("", !0)
|
|
2746
2746
|
], 6),
|
|
2747
2747
|
(i(), l("div", {
|
|
2748
2748
|
key: s.value.editor.id,
|
|
@@ -2786,14 +2786,14 @@ const lo = /* @__PURE__ */ h({
|
|
|
2786
2786
|
ref: n
|
|
2787
2787
|
}, [
|
|
2788
2788
|
v("fieldset", null, [
|
|
2789
|
-
v("legend", po,
|
|
2789
|
+
v("legend", po, R(o.question.locTitle.renderedHtml), 1),
|
|
2790
2790
|
v("table", {
|
|
2791
2791
|
class: r(o.question.getTableCss())
|
|
2792
2792
|
}, [
|
|
2793
2793
|
o.question.showHeader ? (i(), l("thead", co, [
|
|
2794
2794
|
v("tr", null, [
|
|
2795
2795
|
o.question.hasRows ? (i(), l("td", vo)) : m("", !0),
|
|
2796
|
-
(i(!0), l(
|
|
2796
|
+
(i(!0), l(T, null, $(o.question.visibleColumns, (p, q) => (i(), l("th", {
|
|
2797
2797
|
key: q,
|
|
2798
2798
|
class: r(o.question.cssClasses.headerCell),
|
|
2799
2799
|
style: S({
|
|
@@ -2817,7 +2817,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2817
2817
|
])
|
|
2818
2818
|
])) : m("", !0),
|
|
2819
2819
|
v("tbody", null, [
|
|
2820
|
-
(i(!0), l(
|
|
2820
|
+
(i(!0), l(T, null, $(s.value, (p, q) => (i(), l("tr", {
|
|
2821
2821
|
key: "row_" + p.name + "_" + q,
|
|
2822
2822
|
class: r(p.rowClasses || void 0)
|
|
2823
2823
|
}, [
|
|
@@ -2843,7 +2843,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2843
2843
|
], 6), [
|
|
2844
2844
|
[E, o.question.hasRows]
|
|
2845
2845
|
]),
|
|
2846
|
-
o.question.hasCellText ? (i(!0), l(
|
|
2846
|
+
o.question.hasCellText ? (i(!0), l(T, { key: 0 }, $(o.question.visibleColumns, (c, C) => (i(), l("td", {
|
|
2847
2847
|
key: C,
|
|
2848
2848
|
class: r(o.question.getItemClass(p, c)),
|
|
2849
2849
|
onClick: (B) => t(p, c)
|
|
@@ -2853,7 +2853,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2853
2853
|
locString: o.question.getCellDisplayLocText(p.name, c)
|
|
2854
2854
|
}, null, 8, ["locString"])
|
|
2855
2855
|
], 10, qo))), 128)) : m("", !0),
|
|
2856
|
-
o.question.hasCellText ? m("", !0) : (i(!0), l(
|
|
2856
|
+
o.question.hasCellText ? m("", !0) : (i(!0), l(T, { key: 1 }, $(o.question.visibleColumns, (c, C) => (i(), l("td", {
|
|
2857
2857
|
key: C,
|
|
2858
2858
|
"data-responsive-title": c.locText.renderedHtml,
|
|
2859
2859
|
class: r(o.question.cssClasses.cell),
|
|
@@ -2900,7 +2900,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2900
2900
|
ref_key: "root",
|
|
2901
2901
|
ref: n
|
|
2902
2902
|
}, [
|
|
2903
|
-
(i(!0), l(
|
|
2903
|
+
(i(!0), l(T, null, $(t.row.cells, (a, p) => (i(), g(d, {
|
|
2904
2904
|
is: "survey-matrixdropdown-cell",
|
|
2905
2905
|
cell: a,
|
|
2906
2906
|
question: t.question,
|
|
@@ -2979,7 +2979,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2979
2979
|
ref: n
|
|
2980
2980
|
}, null, 8, ["question"]));
|
|
2981
2981
|
}
|
|
2982
|
-
}), Io = { key: 0 }, So = { key: 1 },
|
|
2982
|
+
}), Io = { key: 0 }, So = { key: 1 }, Ro = /* @__PURE__ */ h({
|
|
2983
2983
|
__name: "MatrixTable",
|
|
2984
2984
|
props: {
|
|
2985
2985
|
question: {}
|
|
@@ -2995,7 +2995,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
2995
2995
|
}, [
|
|
2996
2996
|
n.value.showHeader ? (i(), l("thead", Io, [
|
|
2997
2997
|
v("tr", null, [
|
|
2998
|
-
(i(!0), l(
|
|
2998
|
+
(i(!0), l(T, null, $(n.value.headerRow.cells, (o) => (i(), l(T, null, [
|
|
2999
2999
|
o.hasTitle ? (i(), l("th", {
|
|
3000
3000
|
key: "header_" + o.id,
|
|
3001
3001
|
class: r(o.className),
|
|
@@ -3029,7 +3029,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
3029
3029
|
])
|
|
3030
3030
|
])) : m("", !0),
|
|
3031
3031
|
v("tbody", null, [
|
|
3032
|
-
(i(!0), l(
|
|
3032
|
+
(i(!0), l(T, null, $(n.value.renderedRows, (o) => (i(), g(d, {
|
|
3033
3033
|
key: s.question.inputId + "_" + o.id,
|
|
3034
3034
|
is: "survey-matrix-row",
|
|
3035
3035
|
row: o,
|
|
@@ -3038,7 +3038,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
3038
3038
|
]),
|
|
3039
3039
|
n.value.showFooter ? (i(), l("tfoot", So, [
|
|
3040
3040
|
v("tr", null, [
|
|
3041
|
-
(i(!0), l(
|
|
3041
|
+
(i(!0), l(T, null, $(n.value.footerRow.cells, (o, a) => (i(), g(d, {
|
|
3042
3042
|
is: "survey-matrixdropdown-cell",
|
|
3043
3043
|
cell: o,
|
|
3044
3044
|
question: s.question,
|
|
@@ -3049,7 +3049,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
3049
3049
|
], 2)
|
|
3050
3050
|
], 6));
|
|
3051
3051
|
}
|
|
3052
|
-
}),
|
|
3052
|
+
}), To = /* @__PURE__ */ v("span", null, "\xA0", -1), $o = /* @__PURE__ */ h({
|
|
3053
3053
|
__name: "MatrixHeaderRequired",
|
|
3054
3054
|
props: {
|
|
3055
3055
|
question: {},
|
|
@@ -3057,12 +3057,12 @@ const lo = /* @__PURE__ */ h({
|
|
|
3057
3057
|
},
|
|
3058
3058
|
setup(u) {
|
|
3059
3059
|
const e = u;
|
|
3060
|
-
return D(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), l(
|
|
3061
|
-
|
|
3060
|
+
return D(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), l(T, { key: 0 }, [
|
|
3061
|
+
To,
|
|
3062
3062
|
n.column.isRenderedRequired ? (i(), l("span", {
|
|
3063
3063
|
key: 0,
|
|
3064
3064
|
class: r(n.question.cssClasses.cellRequiredText)
|
|
3065
|
-
},
|
|
3065
|
+
}, R(n.column.requiredText), 3)) : m("", !0)
|
|
3066
3066
|
], 64)) : m("", !0);
|
|
3067
3067
|
}
|
|
3068
3068
|
}), Do = ["title", "colspan"], Bo = /* @__PURE__ */ h({
|
|
@@ -3221,7 +3221,7 @@ const lo = /* @__PURE__ */ h({
|
|
|
3221
3221
|
c.cell.requiredText ? (i(), l("span", {
|
|
3222
3222
|
key: 1,
|
|
3223
3223
|
class: r(c.question.cssClasses.cellRequiredText)
|
|
3224
|
-
},
|
|
3224
|
+
}, R(c.cell.requiredText), 3)) : m("", !0)
|
|
3225
3225
|
]),
|
|
3226
3226
|
_: 1
|
|
3227
3227
|
}, 8, ["is", "componentData"])) : m("", !0)
|
|
@@ -3473,7 +3473,7 @@ const Lo = ["disabled"], No = /* @__PURE__ */ h({
|
|
|
3473
3473
|
v("div", {
|
|
3474
3474
|
class: r(p.question.cssClasses.panelsContainer)
|
|
3475
3475
|
}, [
|
|
3476
|
-
(i(!0), l(
|
|
3476
|
+
(i(!0), l(T, null, $(p.question.renderedPanels, (c, C) => (i(), l(T, {
|
|
3477
3477
|
key: c.id
|
|
3478
3478
|
}, [
|
|
3479
3479
|
v("div", {
|
|
@@ -3669,7 +3669,7 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3669
3669
|
}, null, 8, ["iconName"])
|
|
3670
3670
|
], 10, Qo));
|
|
3671
3671
|
}
|
|
3672
|
-
}), Go = /* @__PURE__ */ h({
|
|
3672
|
+
}), Go = ["id"], Jo = /* @__PURE__ */ h({
|
|
3673
3673
|
__name: "PaneldynamicRemoveBtn",
|
|
3674
3674
|
props: {
|
|
3675
3675
|
item: {},
|
|
@@ -3678,13 +3678,14 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3678
3678
|
setup(u) {
|
|
3679
3679
|
const e = u, n = G(e), s = w(
|
|
3680
3680
|
() => e.item && e.item.data.panel || e.data.panel
|
|
3681
|
-
), t = (o) => {
|
|
3682
|
-
n.value.isInputReadOnly || n.value.removePanelUI(
|
|
3681
|
+
), t = (a) => n.value.getPanelRemoveButtonId(a), o = (a) => {
|
|
3682
|
+
n.value.isInputReadOnly || n.value.removePanelUI(a);
|
|
3683
3683
|
};
|
|
3684
|
-
return (
|
|
3684
|
+
return (a, p) => (i(), l("button", {
|
|
3685
3685
|
type: "button",
|
|
3686
|
+
id: t(s.value),
|
|
3686
3687
|
class: r(k(n).getPanelRemoveButtonCss()),
|
|
3687
|
-
onClick:
|
|
3688
|
+
onClick: p[0] || (p[0] = (q) => o(s.value))
|
|
3688
3689
|
}, [
|
|
3689
3690
|
v("span", {
|
|
3690
3691
|
class: r(k(n).cssClasses.buttonRemoveText)
|
|
@@ -3697,9 +3698,9 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3697
3698
|
v("span", {
|
|
3698
3699
|
class: r(k(n).cssClasses.iconRemove)
|
|
3699
3700
|
}, null, 2)
|
|
3700
|
-
],
|
|
3701
|
+
], 10, Go));
|
|
3701
3702
|
}
|
|
3702
|
-
}),
|
|
3703
|
+
}), Xo = /* @__PURE__ */ h({
|
|
3703
3704
|
__name: "PaneldynamicProgressText",
|
|
3704
3705
|
props: {
|
|
3705
3706
|
item: {},
|
|
@@ -3709,9 +3710,9 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3709
3710
|
const n = G(u);
|
|
3710
3711
|
return (s, t) => (i(), l("div", {
|
|
3711
3712
|
class: r(k(n).cssClasses.progressText)
|
|
3712
|
-
},
|
|
3713
|
+
}, R(k(n).progressText), 3));
|
|
3713
3714
|
}
|
|
3714
|
-
}),
|
|
3715
|
+
}), Yo = ["id"], Zo = /* @__PURE__ */ h({
|
|
3715
3716
|
__name: "Errors",
|
|
3716
3717
|
props: {
|
|
3717
3718
|
element: {},
|
|
@@ -3728,7 +3729,7 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3728
3729
|
ref_key: "root",
|
|
3729
3730
|
ref: e
|
|
3730
3731
|
}, [
|
|
3731
|
-
(i(!0), l(
|
|
3732
|
+
(i(!0), l(T, null, $(n.element.errors, (t, o) => (i(), g(d, {
|
|
3732
3733
|
is: n.element.survey.questionErrorComponent,
|
|
3733
3734
|
element: n.element,
|
|
3734
3735
|
key: "error_" + o,
|
|
@@ -3736,21 +3737,21 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3736
3737
|
error: t,
|
|
3737
3738
|
cssClasses: n.element.cssClasses
|
|
3738
3739
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3739
|
-
], 10,
|
|
3740
|
+
], 10, Yo)) : m("", !0);
|
|
3740
3741
|
}
|
|
3741
|
-
}),
|
|
3742
|
+
}), _o = { key: 0 }, xo = /* @__PURE__ */ h({
|
|
3742
3743
|
__name: "QuestionComment",
|
|
3743
3744
|
props: {
|
|
3744
3745
|
question: {}
|
|
3745
3746
|
},
|
|
3746
3747
|
setup(u) {
|
|
3747
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), l("div",
|
|
3748
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), l("div", _o, R(e.question.comment), 1)) : (i(), g(d, {
|
|
3748
3749
|
key: 1,
|
|
3749
3750
|
is: "sv-text-area",
|
|
3750
3751
|
model: e.question.commentTextAreaModel
|
|
3751
3752
|
}, null, 8, ["model"]));
|
|
3752
3753
|
}
|
|
3753
|
-
}),
|
|
3754
|
+
}), et = /* @__PURE__ */ h({
|
|
3754
3755
|
__name: "TitleElement",
|
|
3755
3756
|
props: {
|
|
3756
3757
|
element: {},
|
|
@@ -3789,7 +3790,7 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3789
3790
|
_: 1
|
|
3790
3791
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : m("", !0);
|
|
3791
3792
|
}
|
|
3792
|
-
}),
|
|
3793
|
+
}), st = { key: 3 }, nt = { key: 5 }, ot = { key: 7 }, tt = /* @__PURE__ */ h({
|
|
3793
3794
|
inheritAttrs: !1,
|
|
3794
3795
|
__name: "TitleContent",
|
|
3795
3796
|
props: {
|
|
@@ -3800,7 +3801,7 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3800
3801
|
const e = u;
|
|
3801
3802
|
return w(
|
|
3802
3803
|
() => (e.element.isPanel ? e.element.cssClasses.panel : e.element.cssClasses) || {}
|
|
3803
|
-
), (n, s) => (i(), l(
|
|
3804
|
+
), (n, s) => (i(), l(T, null, [
|
|
3804
3805
|
n.element.isTitleRenderedAsString ? (i(), g(d, {
|
|
3805
3806
|
key: 0,
|
|
3806
3807
|
is: "survey-string",
|
|
@@ -3810,34 +3811,34 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3810
3811
|
key: 1,
|
|
3811
3812
|
class: r(n.element.cssRequiredText),
|
|
3812
3813
|
"aria-hidden": !0
|
|
3813
|
-
},
|
|
3814
|
+
}, R(n.element.requiredText), 3)) : m("", !0),
|
|
3814
3815
|
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span", {
|
|
3815
3816
|
key: 2,
|
|
3816
3817
|
style: { position: "static" },
|
|
3817
3818
|
class: r(n.element.cssTitleNumber),
|
|
3818
3819
|
"aria-hidden": !0
|
|
3819
|
-
},
|
|
3820
|
-
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span",
|
|
3820
|
+
}, R(n.element.no), 3)) : m("", !0),
|
|
3821
|
+
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span", st, "\xA0")) : m("", !0),
|
|
3821
3822
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span", {
|
|
3822
3823
|
key: 4,
|
|
3823
3824
|
class: r(n.element.cssRequiredText),
|
|
3824
3825
|
"aria-hidden": !0
|
|
3825
|
-
},
|
|
3826
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span",
|
|
3826
|
+
}, R(n.element.requiredText), 3)) : m("", !0),
|
|
3827
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span", nt, "\xA0")) : m("", !0),
|
|
3827
3828
|
n.element.isTitleRenderedAsString ? m("", !0) : (i(), g(d, {
|
|
3828
3829
|
key: 6,
|
|
3829
3830
|
is: "survey-string",
|
|
3830
3831
|
locString: n.element.locTitle
|
|
3831
3832
|
}, null, 8, ["locString"])),
|
|
3832
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span",
|
|
3833
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span", ot, "\xA0")) : m("", !0),
|
|
3833
3834
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span", {
|
|
3834
3835
|
key: 8,
|
|
3835
3836
|
class: r(n.element.cssRequiredText),
|
|
3836
3837
|
"aria-hidden": !0
|
|
3837
|
-
},
|
|
3838
|
+
}, R(n.element.requiredText), 3)) : m("", !0)
|
|
3838
3839
|
], 64));
|
|
3839
3840
|
}
|
|
3840
|
-
}),
|
|
3841
|
+
}), it = { class: "sv-title-actions" }, rt = { class: "sv-title-actions__title" }, lt = /* @__PURE__ */ h({
|
|
3841
3842
|
__name: "TitleActions",
|
|
3842
3843
|
props: {
|
|
3843
3844
|
element: {},
|
|
@@ -3845,8 +3846,8 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3845
3846
|
},
|
|
3846
3847
|
setup(u) {
|
|
3847
3848
|
const e = u, n = w(() => e.element.getTitleToolbar());
|
|
3848
|
-
return (s, t) => (i(), l("div",
|
|
3849
|
-
v("span",
|
|
3849
|
+
return (s, t) => (i(), l("div", it, [
|
|
3850
|
+
v("span", rt, [
|
|
3850
3851
|
s.element.isPage ? (i(), g(d, {
|
|
3851
3852
|
key: 0,
|
|
3852
3853
|
is: "survey-string",
|
|
@@ -3865,20 +3866,20 @@ const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
|
3865
3866
|
}, null, 8, ["model"])
|
|
3866
3867
|
]));
|
|
3867
3868
|
}
|
|
3868
|
-
}),
|
|
3869
|
+
}), at = (u, e) => {
|
|
3869
3870
|
const n = u.__vccOpts || u;
|
|
3870
3871
|
for (const [s, t] of e)
|
|
3871
3872
|
n[s] = t;
|
|
3872
3873
|
return n;
|
|
3873
|
-
},
|
|
3874
|
-
|
|
3874
|
+
}, ut = {}, dt = { class: "sv-brand-info" }, mt = /* @__PURE__ */ Be('<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), pt = [
|
|
3875
|
+
mt
|
|
3875
3876
|
];
|
|
3876
|
-
function
|
|
3877
|
-
return i(), l("div",
|
|
3877
|
+
function ct(u, e) {
|
|
3878
|
+
return i(), l("div", dt, pt);
|
|
3878
3879
|
}
|
|
3879
|
-
const
|
|
3880
|
-
|
|
3881
|
-
],
|
|
3880
|
+
const vt = /* @__PURE__ */ at(ut, [["render", ct]]), qt = /* @__PURE__ */ v("use", null, null, -1), gt = [
|
|
3881
|
+
qt
|
|
3882
|
+
], yt = /* @__PURE__ */ h({
|
|
3882
3883
|
__name: "SvgIcon",
|
|
3883
3884
|
props: {
|
|
3884
3885
|
size: {},
|
|
@@ -3907,9 +3908,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
3907
3908
|
ref: n,
|
|
3908
3909
|
class: "sv-svg-icon",
|
|
3909
3910
|
role: "img"
|
|
3910
|
-
},
|
|
3911
|
+
}, gt, 512));
|
|
3911
3912
|
}
|
|
3912
|
-
}),
|
|
3913
|
+
}), ht = /* @__PURE__ */ h({
|
|
3913
3914
|
__name: "QuestionError",
|
|
3914
3915
|
props: {
|
|
3915
3916
|
errorKey: {},
|
|
@@ -3937,7 +3938,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
3937
3938
|
], 2)
|
|
3938
3939
|
]));
|
|
3939
3940
|
}
|
|
3940
|
-
}),
|
|
3941
|
+
}), Ct = /* @__PURE__ */ h({
|
|
3941
3942
|
__name: "ActionBar",
|
|
3942
3943
|
props: {
|
|
3943
3944
|
model: {},
|
|
@@ -3961,14 +3962,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
3961
3962
|
class: r(o.model.getRootCss()),
|
|
3962
3963
|
onClick: s
|
|
3963
3964
|
}, [
|
|
3964
|
-
(i(!0), l(
|
|
3965
|
+
(i(!0), l(T, null, $(k(t), (p) => (i(), g(d, {
|
|
3965
3966
|
is: "sv-action",
|
|
3966
3967
|
key: p.id,
|
|
3967
3968
|
item: p
|
|
3968
3969
|
}, null, 8, ["item"]))), 128))
|
|
3969
3970
|
], 2)) : m("", !0);
|
|
3970
3971
|
}
|
|
3971
|
-
}),
|
|
3972
|
+
}), bt = ["id"], kt = { class: "sv-action__content" }, ft = /* @__PURE__ */ h({
|
|
3972
3973
|
__name: "Action",
|
|
3973
3974
|
props: {
|
|
3974
3975
|
item: {}
|
|
@@ -3981,7 +3982,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
3981
3982
|
class: r(s.item.getActionRootCss()),
|
|
3982
3983
|
id: s.item.id
|
|
3983
3984
|
}, [
|
|
3984
|
-
v("div",
|
|
3985
|
+
v("div", kt, [
|
|
3985
3986
|
s.item.needSeparator ? (i(), g(d, {
|
|
3986
3987
|
key: 0,
|
|
3987
3988
|
is: "sv-action-bar-separator"
|
|
@@ -3991,7 +3992,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
3991
3992
|
item: s.item
|
|
3992
3993
|
}, null, 8, ["is", "item"])
|
|
3993
3994
|
])
|
|
3994
|
-
], 10,
|
|
3995
|
+
], 10, bt));
|
|
3995
3996
|
}
|
|
3996
3997
|
}), j = {
|
|
3997
3998
|
mounted: function(u, e) {
|
|
@@ -4006,10 +4007,10 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4006
4007
|
Fe(s);
|
|
4007
4008
|
});
|
|
4008
4009
|
}
|
|
4009
|
-
},
|
|
4010
|
+
}, wt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], It = {
|
|
4010
4011
|
inheritAttrs: !1
|
|
4011
|
-
},
|
|
4012
|
-
...
|
|
4012
|
+
}, St = /* @__PURE__ */ h({
|
|
4013
|
+
...It,
|
|
4013
4014
|
__name: "ActionBarItem",
|
|
4014
4015
|
props: {
|
|
4015
4016
|
item: {}
|
|
@@ -4048,14 +4049,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4048
4049
|
n.item.hasTitle ? (i(), l("span", {
|
|
4049
4050
|
key: 1,
|
|
4050
4051
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4051
|
-
},
|
|
4052
|
-
], 42,
|
|
4052
|
+
}, R(n.item.title), 3)) : m("", !0)
|
|
4053
|
+
], 42, wt)), [
|
|
4053
4054
|
[k(j), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4054
4055
|
]);
|
|
4055
4056
|
}
|
|
4056
|
-
}),
|
|
4057
|
+
}), Rt = ["disabled", "title", "role"], Tt = {
|
|
4057
4058
|
inheritAttrs: !1
|
|
4058
|
-
},
|
|
4059
|
+
}, $t = /* @__PURE__ */ h({
|
|
4059
4060
|
...Tt,
|
|
4060
4061
|
__name: "ActionBarItemDropdown",
|
|
4061
4062
|
props: {
|
|
@@ -4072,7 +4073,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4072
4073
|
() => {
|
|
4073
4074
|
s.dispose();
|
|
4074
4075
|
}
|
|
4075
|
-
), (t, o) => (i(), l(
|
|
4076
|
+
), (t, o) => (i(), l(T, null, [
|
|
4076
4077
|
A((i(), l("button", {
|
|
4077
4078
|
type: "button",
|
|
4078
4079
|
class: r(t.item.getActionBarItemCss()),
|
|
@@ -4097,8 +4098,8 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4097
4098
|
t.item.hasTitle ? (i(), l("span", {
|
|
4098
4099
|
key: 1,
|
|
4099
4100
|
class: r(t.item.getActionBarItemTitleCss())
|
|
4100
|
-
},
|
|
4101
|
-
], 42,
|
|
4101
|
+
}, R(t.item.title), 3)) : m("", !0)
|
|
4102
|
+
], 42, Rt)), [
|
|
4102
4103
|
[k(j), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4103
4104
|
]),
|
|
4104
4105
|
y(d, {
|
|
@@ -4108,7 +4109,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4108
4109
|
}, null, 8, ["model", "getTarget"])
|
|
4109
4110
|
], 64));
|
|
4110
4111
|
}
|
|
4111
|
-
}),
|
|
4112
|
+
}), Dt = /* @__PURE__ */ h({
|
|
4112
4113
|
__name: "ActionBarSeparator",
|
|
4113
4114
|
props: {
|
|
4114
4115
|
item: {}
|
|
@@ -4119,7 +4120,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4119
4120
|
class: r(["sv-action-bar-separator", n.value])
|
|
4120
4121
|
}, null, 2));
|
|
4121
4122
|
}
|
|
4122
|
-
}),
|
|
4123
|
+
}), Bt = ["aria-label", "placeholder", "value"], At = ["aria-label"], Lt = ["id"], Nt = /* @__PURE__ */ h({
|
|
4123
4124
|
__name: "List",
|
|
4124
4125
|
props: {
|
|
4125
4126
|
model: {}
|
|
@@ -4162,7 +4163,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4162
4163
|
value: p.model.filterString,
|
|
4163
4164
|
onChange: s,
|
|
4164
4165
|
onKeyup: t
|
|
4165
|
-
}, null, 42,
|
|
4166
|
+
}, null, 42, Bt),
|
|
4166
4167
|
p.model.showSearchClearButton && !!p.model.filterString ? (i(), l("button", {
|
|
4167
4168
|
key: 0,
|
|
4168
4169
|
onClick: q[0] || (q[0] = (c) => {
|
|
@@ -4183,7 +4184,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4183
4184
|
v("div", {
|
|
4184
4185
|
class: r(p.model.cssClasses.emptyText),
|
|
4185
4186
|
"aria-label": p.model.emptyMessage
|
|
4186
|
-
},
|
|
4187
|
+
}, R(p.model.emptyMessage), 11, At)
|
|
4187
4188
|
], 2), [
|
|
4188
4189
|
[E, p.model.isEmpty]
|
|
4189
4190
|
]),
|
|
@@ -4200,18 +4201,18 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4200
4201
|
p.model.onKeyDown(c);
|
|
4201
4202
|
})
|
|
4202
4203
|
}, [
|
|
4203
|
-
(i(!0), l(
|
|
4204
|
+
(i(!0), l(T, null, $(k(a), (c) => (i(), g(d, {
|
|
4204
4205
|
is: "sv-list-item",
|
|
4205
4206
|
item: c,
|
|
4206
4207
|
model: p.model,
|
|
4207
4208
|
key: c.id
|
|
4208
4209
|
}, null, 8, ["item", "model"]))), 128))
|
|
4209
|
-
], 42,
|
|
4210
|
+
], 42, Lt)), [
|
|
4210
4211
|
[E, !p.model.isEmpty]
|
|
4211
4212
|
]) : m("", !0)
|
|
4212
4213
|
], 2));
|
|
4213
4214
|
}
|
|
4214
|
-
}),
|
|
4215
|
+
}), Pt = ["aria-selected", "id", "tabindex"], Mt = ["title"], Ht = /* @__PURE__ */ h({
|
|
4215
4216
|
__name: "ListItem",
|
|
4216
4217
|
props: {
|
|
4217
4218
|
model: {},
|
|
@@ -4255,13 +4256,13 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4255
4256
|
item: o.item,
|
|
4256
4257
|
model: o.model
|
|
4257
4258
|
}, null, 8, ["is", "item", "model"])
|
|
4258
|
-
], 46,
|
|
4259
|
-
], 42,
|
|
4259
|
+
], 46, Mt)
|
|
4260
|
+
], 42, Pt)), [
|
|
4260
4261
|
[E, o.model.isItemVisible(o.item)],
|
|
4261
4262
|
[k(j), { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4262
4263
|
]);
|
|
4263
4264
|
}
|
|
4264
|
-
}),
|
|
4265
|
+
}), Et = /* @__PURE__ */ h({
|
|
4265
4266
|
__name: "ListItemContent",
|
|
4266
4267
|
props: {
|
|
4267
4268
|
model: {},
|
|
@@ -4269,7 +4270,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4269
4270
|
},
|
|
4270
4271
|
setup(u) {
|
|
4271
4272
|
const e = u;
|
|
4272
|
-
return D(() => e.item), (n, s) => (i(), l(
|
|
4273
|
+
return D(() => e.item), (n, s) => (i(), l(T, null, [
|
|
4273
4274
|
n.item.iconName ? (i(), g(d, {
|
|
4274
4275
|
key: 0,
|
|
4275
4276
|
is: "sv-svg-icon",
|
|
@@ -4290,7 +4291,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4290
4291
|
}, null, 8, ["class", "iconName", "size"])) : m("", !0)
|
|
4291
4292
|
], 64));
|
|
4292
4293
|
}
|
|
4293
|
-
}),
|
|
4294
|
+
}), Wt = /* @__PURE__ */ h({
|
|
4294
4295
|
__name: "ListItemGroup",
|
|
4295
4296
|
props: {
|
|
4296
4297
|
model: {},
|
|
@@ -4298,7 +4299,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4298
4299
|
},
|
|
4299
4300
|
setup(u) {
|
|
4300
4301
|
const e = u;
|
|
4301
|
-
return D(() => e.item), (n, s) => (i(), l(
|
|
4302
|
+
return D(() => e.item), (n, s) => (i(), l(T, null, [
|
|
4302
4303
|
y(d, {
|
|
4303
4304
|
is: "sv-list-item-content",
|
|
4304
4305
|
item: n.item,
|
|
@@ -4310,7 +4311,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4310
4311
|
}, null, 8, ["model"])
|
|
4311
4312
|
], 64));
|
|
4312
4313
|
}
|
|
4313
|
-
}),
|
|
4314
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4314
4315
|
__name: "Popup",
|
|
4315
4316
|
props: {
|
|
4316
4317
|
getTarget: { type: Function },
|
|
@@ -4346,13 +4347,13 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4346
4347
|
}, null, 8, ["model"])
|
|
4347
4348
|
], 512));
|
|
4348
4349
|
}
|
|
4349
|
-
}),
|
|
4350
|
+
}), Vt = { class: "sv-popup__body-content" }, Ot = {
|
|
4350
4351
|
key: 0,
|
|
4351
4352
|
class: "sv-popup__body-header"
|
|
4352
|
-
},
|
|
4353
|
+
}, zt = { class: "sv-popup__scrolling-content" }, Ut = { class: "sv-popup__content" }, Kt = {
|
|
4353
4354
|
key: 1,
|
|
4354
4355
|
class: "sv-popup__body-footer"
|
|
4355
|
-
},
|
|
4356
|
+
}, Qt = /* @__PURE__ */ h({
|
|
4356
4357
|
__name: "PopupContainer",
|
|
4357
4358
|
props: {
|
|
4358
4359
|
model: {}
|
|
@@ -4392,16 +4393,16 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4392
4393
|
is: s.model.popupHeaderTemplate,
|
|
4393
4394
|
model: s.model
|
|
4394
4395
|
}, null, 8, ["is", "model"])) : m("", !0),
|
|
4395
|
-
v("div",
|
|
4396
|
-
s.model.title ? (i(), l("div",
|
|
4397
|
-
v("div",
|
|
4398
|
-
v("div",
|
|
4396
|
+
v("div", Vt, [
|
|
4397
|
+
s.model.title ? (i(), l("div", Ot, R(s.model.title), 1)) : m("", !0),
|
|
4398
|
+
v("div", zt, [
|
|
4399
|
+
v("div", Ut, [
|
|
4399
4400
|
y(d, M({
|
|
4400
4401
|
is: s.model.contentComponentName
|
|
4401
4402
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4402
4403
|
])
|
|
4403
4404
|
]),
|
|
4404
|
-
s.model.showFooter ? (i(), l("div",
|
|
4405
|
+
s.model.showFooter ? (i(), l("div", Kt, [
|
|
4405
4406
|
y(d, {
|
|
4406
4407
|
is: "sv-action-bar",
|
|
4407
4408
|
model: s.model.footerToolbar
|
|
@@ -4413,7 +4414,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4413
4414
|
[E, s.model.isVisible]
|
|
4414
4415
|
]);
|
|
4415
4416
|
}
|
|
4416
|
-
}),
|
|
4417
|
+
}), jt = /* @__PURE__ */ h({
|
|
4417
4418
|
__name: "PopupPointer",
|
|
4418
4419
|
props: {
|
|
4419
4420
|
model: {}
|
|
@@ -4427,7 +4428,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4427
4428
|
})
|
|
4428
4429
|
}, null, 4));
|
|
4429
4430
|
}
|
|
4430
|
-
}),
|
|
4431
|
+
}), Gt = /* @__PURE__ */ h({
|
|
4431
4432
|
__name: "Container",
|
|
4432
4433
|
props: {
|
|
4433
4434
|
survey: {},
|
|
@@ -4438,19 +4439,19 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4438
4439
|
const e = u, n = w(
|
|
4439
4440
|
() => e.survey.getContainerContent(e.container)
|
|
4440
4441
|
);
|
|
4441
|
-
return (s, t) => n.value.length > 0 ? (i(), l(
|
|
4442
|
+
return (s, t) => n.value.length > 0 ? (i(), l(T, { key: 0 }, [
|
|
4442
4443
|
s.needRenderWrapper ? (i(), l("div", {
|
|
4443
4444
|
key: 0,
|
|
4444
4445
|
class: r(["sv-components-column", "sv-components-container-" + s.container])
|
|
4445
4446
|
}, [
|
|
4446
|
-
(i(!0), l(
|
|
4447
|
+
(i(!0), l(T, null, $(n.value, (o) => (i(), g(d, {
|
|
4447
4448
|
key: o.id,
|
|
4448
4449
|
is: o.component,
|
|
4449
4450
|
survey: s.survey,
|
|
4450
4451
|
container: s.container,
|
|
4451
4452
|
model: o.data
|
|
4452
4453
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4453
|
-
], 2)) : (i(!0), l(
|
|
4454
|
+
], 2)) : (i(!0), l(T, { key: 1 }, $(n.value, (o) => (i(), g(d, {
|
|
4454
4455
|
key: o.id,
|
|
4455
4456
|
is: o.component,
|
|
4456
4457
|
survey: s.survey,
|
|
@@ -4481,14 +4482,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4481
4482
|
}, [
|
|
4482
4483
|
v("span", {
|
|
4483
4484
|
class: r(s(o.survey.css))
|
|
4484
|
-
},
|
|
4485
|
+
}, R(o.survey.progressText), 3)
|
|
4485
4486
|
], 6),
|
|
4486
4487
|
v("span", {
|
|
4487
4488
|
class: r(t(o.survey.css))
|
|
4488
|
-
},
|
|
4489
|
+
}, R(o.survey.progressText), 3)
|
|
4489
4490
|
], 2));
|
|
4490
4491
|
}
|
|
4491
|
-
}),
|
|
4492
|
+
}), Jt = ["title"], Xt = ["onClick", "data-page-number"], Yt = ["title"], Zt = ["title"], _t = ["title"], xt = /* @__PURE__ */ h({
|
|
4492
4493
|
__name: "ProgressButtons",
|
|
4493
4494
|
props: {
|
|
4494
4495
|
survey: {},
|
|
@@ -4533,7 +4534,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4533
4534
|
v("div", {
|
|
4534
4535
|
class: r(C.survey.css.progressButtonsPageTitle),
|
|
4535
4536
|
title: C.model.headerText
|
|
4536
|
-
},
|
|
4537
|
+
}, R(C.model.headerText), 11, Jt)
|
|
4537
4538
|
], 2)) : m("", !0),
|
|
4538
4539
|
v("div", {
|
|
4539
4540
|
class: r(p.value.progressButtonsContainer)
|
|
@@ -4551,7 +4552,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4551
4552
|
v("ul", {
|
|
4552
4553
|
class: r(p.value.progressButtonsList)
|
|
4553
4554
|
}, [
|
|
4554
|
-
(i(!0), l(
|
|
4555
|
+
(i(!0), l(T, null, $(C.survey.visiblePages, (f, N) => (i(), l("li", {
|
|
4555
4556
|
key: "listelement" + N,
|
|
4556
4557
|
class: r(C.model.getListElementCss(N)),
|
|
4557
4558
|
onClick: (b) => C.model.isListElementClickable(N) ? C.model.clickListElement(f) : null,
|
|
@@ -4569,12 +4570,12 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4569
4570
|
is: "survey-string",
|
|
4570
4571
|
locString: f.locNavigationTitle
|
|
4571
4572
|
}, null, 8, ["locString"])
|
|
4572
|
-
], 10,
|
|
4573
|
+
], 10, Yt)) : m("", !0),
|
|
4573
4574
|
o.value ? (i(), l("div", {
|
|
4574
4575
|
key: 1,
|
|
4575
4576
|
class: r(p.value.progressButtonsPageDescription),
|
|
4576
4577
|
title: f.locNavigationDescription.renderedHtml
|
|
4577
|
-
},
|
|
4578
|
+
}, R(f.locNavigationDescription.renderedHtml), 11, Zt)) : m("", !0),
|
|
4578
4579
|
v("div", {
|
|
4579
4580
|
class: r(p.value.progressButtonsButton)
|
|
4580
4581
|
}, [
|
|
@@ -4584,9 +4585,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4584
4585
|
v("div", {
|
|
4585
4586
|
class: r(p.value.progressButtonsButtonContent)
|
|
4586
4587
|
}, null, 2),
|
|
4587
|
-
v("span", null,
|
|
4588
|
+
v("span", null, R(C.model.getItemNumber(f)), 1)
|
|
4588
4589
|
], 2)
|
|
4589
|
-
], 10,
|
|
4590
|
+
], 10, Xt))), 128))
|
|
4590
4591
|
], 2)
|
|
4591
4592
|
], 2),
|
|
4592
4593
|
v("div", {
|
|
@@ -4602,11 +4603,11 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4602
4603
|
v("div", {
|
|
4603
4604
|
class: r(C.survey.css.progressButtonsPageTitle),
|
|
4604
4605
|
title: C.model.footerText
|
|
4605
|
-
},
|
|
4606
|
+
}, R(C.model.footerText), 11, _t)
|
|
4606
4607
|
], 2)) : m("", !0)
|
|
4607
4608
|
], 6));
|
|
4608
4609
|
}
|
|
4609
|
-
}),
|
|
4610
|
+
}), ei = /* @__PURE__ */ h({
|
|
4610
4611
|
__name: "ProgressToc",
|
|
4611
4612
|
props: {
|
|
4612
4613
|
survey: {},
|
|
@@ -4638,10 +4639,10 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4638
4639
|
}, null, 8, ["model"]))
|
|
4639
4640
|
], 2));
|
|
4640
4641
|
}
|
|
4641
|
-
}),
|
|
4642
|
+
}), si = ["lang", "dir"], ni = { onsubmit: "return false;" }, oi = {
|
|
4642
4643
|
key: 0,
|
|
4643
4644
|
class: "sv_custom_header"
|
|
4644
|
-
},
|
|
4645
|
+
}, ti = { class: "sv-components-column sv-components-column--expandable" }, ii = ["id"], ri = { key: 2 }, li = ["innerHTML"], ai = ["innerHTML"], ui = ["innerHTML"], te = /* @__PURE__ */ h({
|
|
4645
4646
|
__name: "Survey",
|
|
4646
4647
|
props: {
|
|
4647
4648
|
model: {},
|
|
@@ -4698,8 +4699,8 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4698
4699
|
class: r(c.value.rootBackgroundImage),
|
|
4699
4700
|
style: S(o.value.backgroundImageStyle)
|
|
4700
4701
|
}, null, 6)) : m("", !0),
|
|
4701
|
-
v("form",
|
|
4702
|
-
o.value.hasLogo ? m("", !0) : (i(), l("div",
|
|
4702
|
+
v("form", ni, [
|
|
4703
|
+
o.value.hasLogo ? m("", !0) : (i(), l("div", oi)),
|
|
4703
4704
|
v("div", {
|
|
4704
4705
|
class: r(c.value.container)
|
|
4705
4706
|
}, [
|
|
@@ -4724,7 +4725,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4724
4725
|
container: "left",
|
|
4725
4726
|
needRenderWrapper: !0
|
|
4726
4727
|
}, null, 8, ["survey"]),
|
|
4727
|
-
v("div",
|
|
4728
|
+
v("div", ti, [
|
|
4728
4729
|
y(d, {
|
|
4729
4730
|
is: "sv-components-container",
|
|
4730
4731
|
survey: o.value,
|
|
@@ -4759,7 +4760,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4759
4760
|
key: 0,
|
|
4760
4761
|
is: "sv-brand-info"
|
|
4761
4762
|
})) : m("", !0)
|
|
4762
|
-
], 14,
|
|
4763
|
+
], 14, ii)
|
|
4763
4764
|
]),
|
|
4764
4765
|
y(d, {
|
|
4765
4766
|
is: "sv-components-container",
|
|
@@ -4774,11 +4775,11 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4774
4775
|
container: "footer",
|
|
4775
4776
|
needRenderWrapper: !1
|
|
4776
4777
|
}, null, 8, ["survey"]),
|
|
4777
|
-
q.value ? (i(), l("div",
|
|
4778
|
+
q.value ? (i(), l("div", ri, [
|
|
4778
4779
|
v("div", {
|
|
4779
4780
|
innerHTML: B(),
|
|
4780
4781
|
class: r(o.value.completedCss)
|
|
4781
|
-
}, null, 10,
|
|
4782
|
+
}, null, 10, li),
|
|
4782
4783
|
y(d, {
|
|
4783
4784
|
is: "sv-components-container",
|
|
4784
4785
|
survey: o.value,
|
|
@@ -4790,16 +4791,16 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4790
4791
|
key: 3,
|
|
4791
4792
|
class: r(o.value.completedBeforeCss),
|
|
4792
4793
|
innerHTML: o.value.processedCompletedBeforeHtml
|
|
4793
|
-
}, null, 10,
|
|
4794
|
+
}, null, 10, ai)) : m("", !0),
|
|
4794
4795
|
o.value.state === "loading" ? (i(), l("div", {
|
|
4795
4796
|
key: 4,
|
|
4796
4797
|
class: r(o.value.loadingBodyCss),
|
|
4797
4798
|
innerHTML: o.value.processedLoadingHtml
|
|
4798
|
-
}, null, 10,
|
|
4799
|
+
}, null, 10, ui)) : m("", !0),
|
|
4799
4800
|
o.value.state === "empty" ? (i(), l("div", {
|
|
4800
4801
|
key: 5,
|
|
4801
4802
|
class: r(c.value.bodyEmpty)
|
|
4802
|
-
},
|
|
4803
|
+
}, R(o.value.emptySurveyText), 3)) : m("", !0)
|
|
4803
4804
|
], 2)
|
|
4804
4805
|
]),
|
|
4805
4806
|
y(d, {
|
|
@@ -4807,9 +4808,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4807
4808
|
model: o.value.notifier
|
|
4808
4809
|
}, null, 8, ["model"])
|
|
4809
4810
|
], 2)
|
|
4810
|
-
], 14,
|
|
4811
|
+
], 14, si));
|
|
4811
4812
|
}
|
|
4812
|
-
}),
|
|
4813
|
+
}), di = /* @__PURE__ */ h({
|
|
4813
4814
|
__name: "Notifier",
|
|
4814
4815
|
props: {
|
|
4815
4816
|
model: {}
|
|
@@ -4823,14 +4824,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4823
4824
|
role: "alert",
|
|
4824
4825
|
"aria-live": "polite"
|
|
4825
4826
|
}, [
|
|
4826
|
-
v("span", null,
|
|
4827
|
+
v("span", null, R(n.model.message), 1),
|
|
4827
4828
|
y(d, {
|
|
4828
4829
|
is: "sv-action-bar",
|
|
4829
4830
|
model: n.model.actionBar
|
|
4830
4831
|
}, null, 8, ["model"])
|
|
4831
4832
|
], 6)) : m("", !0);
|
|
4832
4833
|
}
|
|
4833
|
-
}),
|
|
4834
|
+
}), mi = { key: 0 }, pi = /* @__PURE__ */ h({
|
|
4834
4835
|
__name: "QuestionOther",
|
|
4835
4836
|
props: {
|
|
4836
4837
|
question: {}
|
|
@@ -4839,14 +4840,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4839
4840
|
return (e, n) => (i(), l("div", {
|
|
4840
4841
|
class: r(e.question.getCommentAreaCss(!0))
|
|
4841
4842
|
}, [
|
|
4842
|
-
e.question.isReadOnlyRenderDiv() ? (i(), l("div",
|
|
4843
|
+
e.question.isReadOnlyRenderDiv() ? (i(), l("div", mi, R(e.question.otherValue), 1)) : (i(), g(d, {
|
|
4843
4844
|
key: 1,
|
|
4844
4845
|
is: "sv-text-area",
|
|
4845
4846
|
model: e.question.otherTextAreaModel
|
|
4846
4847
|
}, null, 8, ["model"]))
|
|
4847
4848
|
], 2));
|
|
4848
4849
|
}
|
|
4849
|
-
}),
|
|
4850
|
+
}), ci = ["disabled", "value", "title"], vi = /* @__PURE__ */ h({
|
|
4850
4851
|
__name: "SurveyNavigationButton",
|
|
4851
4852
|
props: {
|
|
4852
4853
|
item: {}
|
|
@@ -4862,7 +4863,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4862
4863
|
title: s.item.getTooltip(),
|
|
4863
4864
|
onMousedown: n,
|
|
4864
4865
|
onClick: t[0] || (t[0] = (...o) => s.item.action && s.item.action(...o))
|
|
4865
|
-
}, null, 42,
|
|
4866
|
+
}, null, 42, ci)) : m("", !0);
|
|
4866
4867
|
}
|
|
4867
4868
|
}), Ce = /* @__PURE__ */ h({
|
|
4868
4869
|
__name: "PopupSurvey",
|
|
@@ -4918,7 +4919,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4918
4919
|
n.value.isCollapsed && !!n.value.locTitle ? (i(), l("div", {
|
|
4919
4920
|
key: 0,
|
|
4920
4921
|
class: r(n.value.cssHeaderTitleCollapsed)
|
|
4921
|
-
},
|
|
4922
|
+
}, R(n.value.locTitle.renderedHtml), 3)) : m("", !0),
|
|
4922
4923
|
v("div", {
|
|
4923
4924
|
class: r(n.value.cssHeaderButtonsContainer)
|
|
4924
4925
|
}, [
|
|
@@ -4978,7 +4979,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
4978
4979
|
], 2)
|
|
4979
4980
|
], 38)) : m("", !0);
|
|
4980
4981
|
}
|
|
4981
|
-
}),
|
|
4982
|
+
}), qi = ["innerHTML"], gi = /* @__PURE__ */ h({
|
|
4982
4983
|
__name: "CustomWidget",
|
|
4983
4984
|
props: {
|
|
4984
4985
|
question: {},
|
|
@@ -5001,7 +5002,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5001
5002
|
t.value ? (i(), l("div", {
|
|
5002
5003
|
key: 0,
|
|
5003
5004
|
innerHTML: o.value
|
|
5004
|
-
}, null, 8,
|
|
5005
|
+
}, null, 8, qi)) : m("", !0),
|
|
5005
5006
|
s.value ? (i(), g(d, {
|
|
5006
5007
|
key: 1,
|
|
5007
5008
|
is: a.value,
|
|
@@ -5010,7 +5011,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5010
5011
|
}, null, 8, ["is", "question", "css"])) : m("", !0)
|
|
5011
5012
|
], 512));
|
|
5012
5013
|
}
|
|
5013
|
-
}),
|
|
5014
|
+
}), yi = /* @__PURE__ */ h({
|
|
5014
5015
|
__name: "PopupModal",
|
|
5015
5016
|
setup(u) {
|
|
5016
5017
|
const e = V();
|
|
@@ -5051,7 +5052,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5051
5052
|
}, null, 8, ["model"])
|
|
5052
5053
|
], 8, ["to"])) : m("", !0);
|
|
5053
5054
|
}
|
|
5054
|
-
}),
|
|
5055
|
+
}), hi = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ci = /* @__PURE__ */ h({
|
|
5055
5056
|
__name: "TextArea",
|
|
5056
5057
|
props: {
|
|
5057
5058
|
model: {}
|
|
@@ -5098,9 +5099,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5098
5099
|
"aria-invalid": t.model.ariaInvalid,
|
|
5099
5100
|
"aria-errormessage": t.model.ariaErrormessage,
|
|
5100
5101
|
style: S({ resize: t.model.question.resizeStyle })
|
|
5101
|
-
}, null, 46,
|
|
5102
|
+
}, null, 46, hi));
|
|
5102
5103
|
}
|
|
5103
|
-
}),
|
|
5104
|
+
}), bi = /* @__PURE__ */ h({
|
|
5104
5105
|
__name: "CharacterCounter",
|
|
5105
5106
|
props: {
|
|
5106
5107
|
counter: {},
|
|
@@ -5110,9 +5111,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5110
5111
|
const e = u;
|
|
5111
5112
|
return D(() => e.counter), (n, s) => (i(), l("div", {
|
|
5112
5113
|
class: r(n.remainingCharacterCounter)
|
|
5113
|
-
},
|
|
5114
|
+
}, R(n.counter.remainingCharacterCounter), 3));
|
|
5114
5115
|
}
|
|
5115
|
-
}),
|
|
5116
|
+
}), ki = /* @__PURE__ */ h({
|
|
5116
5117
|
inheritAttrs: !1,
|
|
5117
5118
|
__name: "Composite",
|
|
5118
5119
|
props: {
|
|
@@ -5131,7 +5132,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5131
5132
|
css: t.css
|
|
5132
5133
|
}, null, 8, ["element", "css"]));
|
|
5133
5134
|
}
|
|
5134
|
-
}),
|
|
5135
|
+
}), fi = /* @__PURE__ */ h({
|
|
5135
5136
|
inheritAttrs: !1,
|
|
5136
5137
|
__name: "Custom",
|
|
5137
5138
|
props: {
|
|
@@ -5149,9 +5150,9 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5149
5150
|
css: o.css
|
|
5150
5151
|
}, null, 8, ["is", "question", "css"]));
|
|
5151
5152
|
}
|
|
5152
|
-
}),
|
|
5153
|
-
|
|
5154
|
-
], pe = 440,
|
|
5153
|
+
}), wi = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), Ii = [
|
|
5154
|
+
wi
|
|
5155
|
+
], pe = 440, Si = /* @__PURE__ */ h({
|
|
5155
5156
|
__name: "TimerPanel",
|
|
5156
5157
|
props: {
|
|
5157
5158
|
model: {},
|
|
@@ -5167,29 +5168,29 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5167
5168
|
key: 0,
|
|
5168
5169
|
class: r(t.model.getProgressCss()),
|
|
5169
5170
|
style: S({ strokeDasharray: pe, strokeDashoffset: n.value })
|
|
5170
|
-
},
|
|
5171
|
+
}, Ii, 6)) : m("", !0),
|
|
5171
5172
|
v("div", {
|
|
5172
5173
|
class: r(t.model.textContainerCss)
|
|
5173
5174
|
}, [
|
|
5174
5175
|
v("span", {
|
|
5175
5176
|
class: r(t.model.majorTextCss)
|
|
5176
|
-
},
|
|
5177
|
+
}, R(t.model.clockMajorText), 3),
|
|
5177
5178
|
t.model.clockMinorText ? (i(), l("span", {
|
|
5178
5179
|
key: 0,
|
|
5179
5180
|
class: r(t.model.minorTextCss)
|
|
5180
|
-
},
|
|
5181
|
+
}, R(t.model.clockMinorText), 3)) : m("", !0)
|
|
5181
5182
|
], 2)
|
|
5182
5183
|
], 2)) : A((i(), l("div", {
|
|
5183
5184
|
key: 1,
|
|
5184
5185
|
class: r(t.model.survey.getCss().timerRoot)
|
|
5185
|
-
},
|
|
5186
|
+
}, R(s.value), 3)), [
|
|
5186
5187
|
[E, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5187
5188
|
]);
|
|
5188
5189
|
}
|
|
5189
|
-
}),
|
|
5190
|
+
}), Ri = { class: "sd-loading-indicator" }, Ti = /* @__PURE__ */ h({
|
|
5190
5191
|
__name: "LoadingIndicator",
|
|
5191
5192
|
setup(u) {
|
|
5192
|
-
return (e, n) => (i(), l("div",
|
|
5193
|
+
return (e, n) => (i(), l("div", Ri, [
|
|
5193
5194
|
y(d, {
|
|
5194
5195
|
is: "sv-svg-icon",
|
|
5195
5196
|
iconName: "icon-loading",
|
|
@@ -5197,7 +5198,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5197
5198
|
})
|
|
5198
5199
|
]));
|
|
5199
5200
|
}
|
|
5200
|
-
}),
|
|
5201
|
+
}), $i = { key: 2 }, Di = /* @__PURE__ */ h({
|
|
5201
5202
|
__name: "Header",
|
|
5202
5203
|
props: {
|
|
5203
5204
|
model: {},
|
|
@@ -5223,13 +5224,13 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5223
5224
|
class: r(n.model.contentClasses),
|
|
5224
5225
|
style: S({ maxWidth: n.model.maxWidth })
|
|
5225
5226
|
}, [
|
|
5226
|
-
(i(!0), l(
|
|
5227
|
+
(i(!0), l(T, null, $(n.model.cells, (t, o) => (i(), g(d, {
|
|
5227
5228
|
is: "sv-header-cell",
|
|
5228
5229
|
model: t,
|
|
5229
5230
|
key: o
|
|
5230
5231
|
}, null, 8, ["model"]))), 128))
|
|
5231
5232
|
], 6)),
|
|
5232
|
-
n.survey.isMobile ? (i(), l("div",
|
|
5233
|
+
n.survey.isMobile ? (i(), l("div", $i, [
|
|
5233
5234
|
y(d, {
|
|
5234
5235
|
is: "sv-header-mobile",
|
|
5235
5236
|
model: n.model
|
|
@@ -5237,10 +5238,10 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5237
5238
|
])) : m("", !0)
|
|
5238
5239
|
], 6)) : m("", !0);
|
|
5239
5240
|
}
|
|
5240
|
-
}),
|
|
5241
|
+
}), Bi = {
|
|
5241
5242
|
key: 0,
|
|
5242
5243
|
class: "sv-header__logo"
|
|
5243
|
-
},
|
|
5244
|
+
}, Ai = ["src", "width", "height", "alt"], Li = /* @__PURE__ */ h({
|
|
5244
5245
|
__name: "HeaderCell",
|
|
5245
5246
|
props: {
|
|
5246
5247
|
model: {}
|
|
@@ -5254,7 +5255,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5254
5255
|
class: "sv-header__cell-content",
|
|
5255
5256
|
style: S(e.model.contentStyle)
|
|
5256
5257
|
}, [
|
|
5257
|
-
e.model.showLogo ? (i(), l("div",
|
|
5258
|
+
e.model.showLogo ? (i(), l("div", Bi, [
|
|
5258
5259
|
v("div", {
|
|
5259
5260
|
class: r(e.model.survey.logoClassNames)
|
|
5260
5261
|
}, [
|
|
@@ -5265,7 +5266,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5265
5266
|
height: e.model.survey.renderedLogoHeight,
|
|
5266
5267
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5267
5268
|
style: S({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5268
|
-
}, null, 14,
|
|
5269
|
+
}, null, 14, Ai)
|
|
5269
5270
|
], 2)
|
|
5270
5271
|
])) : m("", !0),
|
|
5271
5272
|
e.model.showTitle ? (i(), l("div", {
|
|
@@ -5297,17 +5298,17 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5297
5298
|
], 4)
|
|
5298
5299
|
], 6));
|
|
5299
5300
|
}
|
|
5300
|
-
}),
|
|
5301
|
+
}), Ni = { class: "sv-header--mobile" }, Pi = {
|
|
5301
5302
|
key: 0,
|
|
5302
5303
|
class: "sv-header__logo"
|
|
5303
|
-
},
|
|
5304
|
+
}, Mi = ["src", "width", "height", "alt"], Hi = /* @__PURE__ */ h({
|
|
5304
5305
|
__name: "HeaderMobile",
|
|
5305
5306
|
props: {
|
|
5306
5307
|
model: {}
|
|
5307
5308
|
},
|
|
5308
5309
|
setup(u) {
|
|
5309
|
-
return (e, n) => (i(), l("div",
|
|
5310
|
-
e.model.survey.hasLogo ? (i(), l("div",
|
|
5310
|
+
return (e, n) => (i(), l("div", Ni, [
|
|
5311
|
+
e.model.survey.hasLogo ? (i(), l("div", Pi, [
|
|
5311
5312
|
v("div", {
|
|
5312
5313
|
class: r(e.model.survey.logoClassNames)
|
|
5313
5314
|
}, [
|
|
@@ -5318,7 +5319,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5318
5319
|
height: e.model.survey.renderedLogoHeight,
|
|
5319
5320
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5320
5321
|
style: S({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5321
|
-
}, null, 14,
|
|
5322
|
+
}, null, 14, Mi)
|
|
5322
5323
|
], 2)
|
|
5323
5324
|
])) : m("", !0),
|
|
5324
5325
|
e.model.survey.hasTitle ? (i(), l("div", {
|
|
@@ -5349,7 +5350,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5349
5350
|
], 4)) : m("", !0)
|
|
5350
5351
|
]));
|
|
5351
5352
|
}
|
|
5352
|
-
}),
|
|
5353
|
+
}), Ei = /* @__PURE__ */ h({
|
|
5353
5354
|
__name: "Element",
|
|
5354
5355
|
props: {
|
|
5355
5356
|
element: {},
|
|
@@ -5405,7 +5406,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5405
5406
|
}, null, 8, ["is", "element", "css"])) : m("", !0)
|
|
5406
5407
|
], 6));
|
|
5407
5408
|
}
|
|
5408
|
-
}),
|
|
5409
|
+
}), Wi = /* @__PURE__ */ h({
|
|
5409
5410
|
__name: "TemplateRenderer",
|
|
5410
5411
|
props: {
|
|
5411
5412
|
componentName: {},
|
|
@@ -5418,7 +5419,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5418
5419
|
is: s.componentName
|
|
5419
5420
|
}, s.componentData), null, 16, ["is"]));
|
|
5420
5421
|
}
|
|
5421
|
-
}),
|
|
5422
|
+
}), Fi = /* @__PURE__ */ h({
|
|
5422
5423
|
__name: "FileCleanButton",
|
|
5423
5424
|
props: {
|
|
5424
5425
|
question: {},
|
|
@@ -5430,7 +5431,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5430
5431
|
class: r(e.css),
|
|
5431
5432
|
onClick: n[0] || (n[0] = (...s) => e.question.doClean && e.question.doClean(...s))
|
|
5432
5433
|
}, [
|
|
5433
|
-
v("span", null,
|
|
5434
|
+
v("span", null, R(e.question.clearButtonCaption), 1),
|
|
5434
5435
|
e.question.cssClasses.removeButtonIconId ? (i(), g(d, {
|
|
5435
5436
|
key: 0,
|
|
5436
5437
|
is: "sv-svg-icon",
|
|
@@ -5440,7 +5441,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5440
5441
|
}, null, 8, ["iconName", "title"])) : m("", !0)
|
|
5441
5442
|
], 2));
|
|
5442
5443
|
}
|
|
5443
|
-
}),
|
|
5444
|
+
}), Vi = ["id"], Oi = /* @__PURE__ */ h({
|
|
5444
5445
|
__name: "FileVideo",
|
|
5445
5446
|
props: {
|
|
5446
5447
|
question: {}
|
|
@@ -5462,14 +5463,14 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5462
5463
|
playsinline: "",
|
|
5463
5464
|
id: e.question.videoId,
|
|
5464
5465
|
class: r(e.question.cssClasses.video)
|
|
5465
|
-
}, null, 10,
|
|
5466
|
+
}, null, 10, Vi),
|
|
5466
5467
|
y(d, {
|
|
5467
5468
|
is: "sv-action",
|
|
5468
5469
|
item: e.question.takePictureAction
|
|
5469
5470
|
}, null, 8, ["item"])
|
|
5470
5471
|
], 2));
|
|
5471
5472
|
}
|
|
5472
|
-
}),
|
|
5473
|
+
}), zi = ["for", "aria-label"], Ui = /* @__PURE__ */ h({
|
|
5473
5474
|
__name: "FileChooseButton",
|
|
5474
5475
|
props: {
|
|
5475
5476
|
data: {},
|
|
@@ -5496,12 +5497,12 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5496
5497
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
5497
5498
|
size: "auto"
|
|
5498
5499
|
}, null, 8, ["title", "iconName"])) : m("", !0),
|
|
5499
|
-
v("span", null,
|
|
5500
|
-
], 10,
|
|
5500
|
+
v("span", null, R(n.value.chooseButtonText), 1)
|
|
5501
|
+
], 10, zi)), [
|
|
5501
5502
|
[k(j)]
|
|
5502
5503
|
]);
|
|
5503
5504
|
}
|
|
5504
|
-
}),
|
|
5505
|
+
}), Ki = /* @__PURE__ */ h({
|
|
5505
5506
|
__name: "FilePreview",
|
|
5506
5507
|
props: {
|
|
5507
5508
|
question: {}
|
|
@@ -5511,13 +5512,13 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5511
5512
|
key: 0,
|
|
5512
5513
|
class: r(e.question.cssClasses.fileList || void 0)
|
|
5513
5514
|
}, [
|
|
5514
|
-
e.question.supportFileNavigator ? (i(!0), l(
|
|
5515
|
+
e.question.supportFileNavigator ? (i(!0), l(T, { key: 0 }, $(e.question.renderedPages, (s) => (i(), g(d, {
|
|
5515
5516
|
is: "sv-file-page",
|
|
5516
5517
|
key: s.id,
|
|
5517
5518
|
page: s,
|
|
5518
5519
|
question: e.question
|
|
5519
5520
|
}, null, 8, ["page", "question"]))), 128)) : m("", !0),
|
|
5520
|
-
e.question.supportFileNavigator ? m("", !0) : (i(!0), l(
|
|
5521
|
+
e.question.supportFileNavigator ? m("", !0) : (i(!0), l(T, { key: 1 }, $(e.question.previewValue, (s) => (i(), g(d, {
|
|
5521
5522
|
is: "sv-file-item",
|
|
5522
5523
|
key: s,
|
|
5523
5524
|
item: s,
|
|
@@ -5525,7 +5526,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5525
5526
|
}, null, 8, ["item", "question"]))), 128))
|
|
5526
5527
|
], 2)) : m("", !0);
|
|
5527
5528
|
}
|
|
5528
|
-
}),
|
|
5529
|
+
}), Qi = /* @__PURE__ */ h({
|
|
5529
5530
|
__name: "ButtonGroup",
|
|
5530
5531
|
props: {
|
|
5531
5532
|
question: {}
|
|
@@ -5538,7 +5539,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5538
5539
|
ref_key: "root",
|
|
5539
5540
|
ref: n
|
|
5540
5541
|
}, [
|
|
5541
|
-
(i(!0), l(
|
|
5542
|
+
(i(!0), l(T, null, $(s.question.visibleChoices, (o, a) => (i(), g(d, {
|
|
5542
5543
|
is: "sv-button-group-item",
|
|
5543
5544
|
question: s.question,
|
|
5544
5545
|
key: a,
|
|
@@ -5547,7 +5548,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5547
5548
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
5548
5549
|
], 2));
|
|
5549
5550
|
}
|
|
5550
|
-
}),
|
|
5551
|
+
}), ji = ["title"], Gi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ji = ["title"], Xi = /* @__PURE__ */ h({
|
|
5551
5552
|
__name: "ButtonGroupItem",
|
|
5552
5553
|
props: {
|
|
5553
5554
|
item: {},
|
|
@@ -5582,7 +5583,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5582
5583
|
class: r(n.value.css.control),
|
|
5583
5584
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
|
|
5584
5585
|
value: n.value.value
|
|
5585
|
-
}, null, 10,
|
|
5586
|
+
}, null, 10, Gi), [
|
|
5586
5587
|
[Y, s.value]
|
|
5587
5588
|
]),
|
|
5588
5589
|
v("div", {
|
|
@@ -5604,11 +5605,11 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5604
5605
|
is: "survey-string",
|
|
5605
5606
|
locString: n.value.caption
|
|
5606
5607
|
}, null, 8, ["locString"])
|
|
5607
|
-
], 10,
|
|
5608
|
+
], 10, Ji)) : m("", !0)
|
|
5608
5609
|
], 2)
|
|
5609
|
-
], 10,
|
|
5610
|
+
], 10, ji));
|
|
5610
5611
|
}
|
|
5611
|
-
}),
|
|
5612
|
+
}), Yi = ["src", "width", "height", "alt"], Zi = /* @__PURE__ */ h({
|
|
5612
5613
|
inheritAttrs: !1,
|
|
5613
5614
|
__name: "Logo",
|
|
5614
5615
|
props: {
|
|
@@ -5630,10 +5631,10 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5630
5631
|
width: n.value.renderedStyleLogoWidth,
|
|
5631
5632
|
height: n.value.renderedStyleLogoHeight
|
|
5632
5633
|
})
|
|
5633
|
-
}, null, 14,
|
|
5634
|
+
}, null, 14, Yi)
|
|
5634
5635
|
], 2));
|
|
5635
5636
|
}
|
|
5636
|
-
}),
|
|
5637
|
+
}), _i = /* @__PURE__ */ h({
|
|
5637
5638
|
__name: "SvgBundle",
|
|
5638
5639
|
setup(u) {
|
|
5639
5640
|
const e = I();
|
|
@@ -5647,7 +5648,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5647
5648
|
[E, !1]
|
|
5648
5649
|
]);
|
|
5649
5650
|
}
|
|
5650
|
-
}),
|
|
5651
|
+
}), xi = ["id"], er = /* @__PURE__ */ h({
|
|
5651
5652
|
__name: "FilePage",
|
|
5652
5653
|
props: {
|
|
5653
5654
|
page: {},
|
|
@@ -5659,15 +5660,15 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5659
5660
|
class: r(n.page.css),
|
|
5660
5661
|
id: n.page.id
|
|
5661
5662
|
}, [
|
|
5662
|
-
(i(!0), l(
|
|
5663
|
+
(i(!0), l(T, null, $(n.page.items, (t) => (i(), g(d, {
|
|
5663
5664
|
is: "sv-file-item",
|
|
5664
5665
|
key: t,
|
|
5665
5666
|
item: t,
|
|
5666
5667
|
question: n.question
|
|
5667
5668
|
}, null, 8, ["item", "question"]))), 128))
|
|
5668
|
-
], 10,
|
|
5669
|
+
], 10, xi));
|
|
5669
5670
|
}
|
|
5670
|
-
}),
|
|
5671
|
+
}), sr = ["href", "title", "download"], nr = ["src"], or = ["href", "title", "download"], tr = /* @__PURE__ */ h({
|
|
5671
5672
|
__name: "FileItem",
|
|
5672
5673
|
props: {
|
|
5673
5674
|
item: {},
|
|
@@ -5688,7 +5689,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5688
5689
|
title: e.item.name,
|
|
5689
5690
|
download: e.item.name,
|
|
5690
5691
|
style: S({ width: e.question.imageWidth })
|
|
5691
|
-
},
|
|
5692
|
+
}, R(e.item.name), 13, sr)
|
|
5692
5693
|
], 2)) : m("", !0),
|
|
5693
5694
|
v("div", {
|
|
5694
5695
|
class: r(e.question.getImageWrapperCss(e.item))
|
|
@@ -5701,7 +5702,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5701
5702
|
width: e.question.imageWidth
|
|
5702
5703
|
}),
|
|
5703
5704
|
alt: "File preview"
|
|
5704
|
-
}, null, 12,
|
|
5705
|
+
}, null, 12, nr)) : m("", !0),
|
|
5705
5706
|
e.question.defaultImage(e.item) ? (i(), g(d, {
|
|
5706
5707
|
key: 1,
|
|
5707
5708
|
is: "sv-svg-icon",
|
|
@@ -5716,7 +5717,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5716
5717
|
}, [
|
|
5717
5718
|
v("span", {
|
|
5718
5719
|
class: r(e.question.cssClasses.removeFile)
|
|
5719
|
-
},
|
|
5720
|
+
}, R(e.question.removeFileCaption), 3),
|
|
5720
5721
|
e.question.cssClasses.removeFileSvgIconId ? (i(), g(d, {
|
|
5721
5722
|
key: 0,
|
|
5722
5723
|
is: "sv-svg-icon",
|
|
@@ -5737,7 +5738,7 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5737
5738
|
title: e.item.name,
|
|
5738
5739
|
download: e.item.name,
|
|
5739
5740
|
style: S({ width: e.question.imageWidth })
|
|
5740
|
-
},
|
|
5741
|
+
}, R(e.item.name), 13, or)
|
|
5741
5742
|
], 2)) : m("", !0)
|
|
5742
5743
|
], 2)), [
|
|
5743
5744
|
[E, e.item]
|
|
@@ -5745,20 +5746,20 @@ const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use
|
|
|
5745
5746
|
}
|
|
5746
5747
|
});
|
|
5747
5748
|
Xe.platform = "vue3";
|
|
5748
|
-
function
|
|
5749
|
+
function ir(u, e, n) {
|
|
5749
5750
|
u(e, n);
|
|
5750
5751
|
}
|
|
5751
5752
|
function be(u) {
|
|
5752
|
-
const e =
|
|
5753
|
+
const e = ir.bind(
|
|
5753
5754
|
void 0,
|
|
5754
5755
|
u
|
|
5755
5756
|
);
|
|
5756
|
-
e("sv-svg-bundle",
|
|
5757
|
+
e("sv-svg-bundle", _i), e("popup-survey", Ce), e("survey-header", xe), e("sv-logo-image", Zi), e("survey-page", _e), e("survey-row", es), e("survey-question", ts), e("survey-panel", as), e("survey-element-header", ds), e("survey-string", ms), e("sv-string-viewer", cs), e("sv-string-editor", qs), e("sv-skeleton", ys), e("survey-text", bs), e("survey-text-input", ws), e("survey-checkbox", $s), e("survey-checkbox-item", As), e("survey-radiogroup", Ls), e("survey-radiogroup-item", Ms), e("survey-signaturepad", Fs), e("survey-html", Os), e("survey-image", Qs), e("survey-expression", js), e("survey-file", Ys), e("sv-file-choose-btn", Ui), e("sv-file-clean-btn", Fi), e("sv-file-preview", Ki), e("sv-file-page", er), e("sv-file-item", tr), e("sv-file-video", Oi), e("survey-imagepicker", _s), e("survey-imagepicker-item", on), e("survey-comment", tn), e("survey-dropdown", rn), e("sv-dropdown-select", dn), e("sv-dropdown-option-item", pn), e("sv-dropdown", yn), e("survey-tagbox", hn), e("sv-tagbox", kn), e("sv-tagbox-item", Rn), e("sv-tagbox-filter", In), e("survey-ranking", Tn), e("survey-ranking-item", Nn), e("sv-ranking-item", Pn), e("survey-rating", En), e("sv-rating-item", Vn), e("sv-rating-item-smiley", zn), e("sv-rating-item-star", Kn), e("sv-rating-dropdown", Xn), e("sv-rating-dropdown-item", Jn), e("survey-boolean", Zn), e("sv-boolean-radio", _n), e("sv-boolean-radio-item", so), e("sv-boolean-checkbox", lo), e("survey-multipletext", ao), e("survey-multipletext-item", mo), e("survey-matrix", yo), e("survey-matrix-row", Co), e("survey-matrix-cell", fo), e("survey-matrixdropdown", wo), e("survey-matrixtable", Ro), e("survey-matrixheaderrequired", $o), e("survey-matrixdropdown-cell", Bo), e("survey-matrixdynamic", Ao), e("sv-matrix-remove-button", No), e("sv-matrix-drag-drop-icon", Mo), e("sv-matrix-detail-button", Eo), e("survey-paneldynamic", Wo), e("survey-paneldynamicprogress", Fo), e("survey-paneldynamicprogress-v2", Vo), e("sv-paneldynamic-add-btn", zo), e("sv-paneldynamic-next-btn", Ko), e("sv-paneldynamic-prev-btn", jo), e("sv-paneldynamic-remove-btn", Jo), e("sv-paneldynamic-progress-text", Xo), e("sv-components-container", Gt), e("sv-progress-buttons", xt), e("sv-navigation-toc", ei), e("sv-progress-pages", X), e("sv-progress-questions", X), e("sv-progress-correctquestions", X), e("sv-progress-requiredquestions", X), e("survey-errors", Zo), e("survey-question-comment", xo), e("survey-element-title", et), e("survey-element-title-content", tt), e("sv-title-actions", lt), e("sv-brand-info", vt), e("sv-question-error", ht), e("sv-svg-icon", yt), e("sv-action-bar", Ct), e("sv-action", ft), e("sv-action-bar-item", St), e("sv-action-bar-item-dropdown", $t), e("sv-action-bar-separator", Dt), e("sv-list", Nt), e("sv-list-item-content", Et), e("sv-list-item-group", Wt), e("sv-list-item", Ht), e("sv-popup", Ft), e("sv-popup-container", Qt), e("popup-pointer", jt), e("sv-notifier", di), e("survey-other-choice", pi), e("sv-nav-btn", vi), e("survey-customwidget", gi), e("survey-popup-modal", yi), e("survey-composite", ki), e("survey-custom", fi), e("sv-timerpanel", Si), e("sv-loading-indicator", Ti), e("sv-header", Di), e("sv-header-cell", Li), e("sv-header-mobile", Hi), e("sv-template-renderer", Wi), e("sv-character-counter", bi), e("sv-text-area", Ci), e("survey-element", Ei), e("survey-buttongroup", Qi), e("sv-button-group-item", Xi), e("survey", te);
|
|
5757
5758
|
}
|
|
5758
5759
|
be(
|
|
5759
5760
|
(u, e) => U.Instance.registerComponent(u, e)
|
|
5760
5761
|
);
|
|
5761
|
-
const
|
|
5762
|
+
const ur = {
|
|
5762
5763
|
install(u) {
|
|
5763
5764
|
u.component("SurveyComponent", te), u.component("PopupSurveyComponent", Ce), u.directive("key2click", j), be((e, n) => {
|
|
5764
5765
|
u.component(e, n), U.Instance.registerComponent(e, e);
|
|
@@ -5771,7 +5772,7 @@ export {
|
|
|
5771
5772
|
te as SurveyComponent,
|
|
5772
5773
|
d as SvComponent,
|
|
5773
5774
|
j as key2ClickDirective,
|
|
5774
|
-
|
|
5775
|
+
ur as surveyPlugin,
|
|
5775
5776
|
D as useBase,
|
|
5776
5777
|
x as useComputedArray,
|
|
5777
5778
|
Q as useLocString,
|