survey-vue3-ui 1.9.119 → 1.9.120
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 +1 -1
- package/survey-vue3-ui.es.js +319 -297
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -137,14 +137,10 @@ const Ke = /* @__PURE__ */ h({
|
|
|
137
137
|
ref_key: "root",
|
|
138
138
|
ref: o
|
|
139
139
|
}, [
|
|
140
|
-
e.survey.isLogoBefore ? (i(),
|
|
140
|
+
e.survey.isLogoBefore ? (i(), q(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
141
141
|
key: 0,
|
|
142
|
-
|
|
143
|
-
}, [
|
|
144
|
-
(i(), q(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
145
|
-
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
146
|
-
}, null, 8, ["data"]))
|
|
147
|
-
], 2)) : d("", !0),
|
|
142
|
+
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
143
|
+
}, null, 8, ["data"])) : d("", !0),
|
|
148
144
|
e.survey.renderedHasTitle ? (i(), u("div", {
|
|
149
145
|
key: 1,
|
|
150
146
|
class: l(e.survey.css.headerText),
|
|
@@ -163,14 +159,10 @@ const Ke = /* @__PURE__ */ h({
|
|
|
163
159
|
}, null, 8, ["locString"])
|
|
164
160
|
], 2)) : d("", !0)
|
|
165
161
|
], 6)) : d("", !0),
|
|
166
|
-
e.survey.isLogoAfter ? (i(),
|
|
162
|
+
e.survey.isLogoAfter ? (i(), q(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
167
163
|
key: 2,
|
|
168
|
-
|
|
169
|
-
}, [
|
|
170
|
-
(i(), q(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
171
|
-
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
172
|
-
}, null, 8, ["data"]))
|
|
173
|
-
], 2)) : d("", !0),
|
|
164
|
+
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
165
|
+
}, null, 8, ["data"])) : d("", !0),
|
|
174
166
|
c("div", {
|
|
175
167
|
class: l(e.survey.css.headerClose)
|
|
176
168
|
}, null, 2)
|
|
@@ -860,7 +852,7 @@ const Ke = /* @__PURE__ */ h({
|
|
|
860
852
|
setup(r) {
|
|
861
853
|
const s = r, o = D(null);
|
|
862
854
|
return A(s, o), (e, n) => {
|
|
863
|
-
const t = v("survey-string"), a = v("sv-svg-icon");
|
|
855
|
+
const t = v("survey-string"), a = v("sv-svg-icon"), p = v("sv-loading-indicator");
|
|
864
856
|
return i(), u("div", {
|
|
865
857
|
class: l(e.question.cssClasses.root),
|
|
866
858
|
ref_key: "root",
|
|
@@ -889,8 +881,9 @@ const Ke = /* @__PURE__ */ h({
|
|
|
889
881
|
}, null, 14, _s)) : d("", !0),
|
|
890
882
|
c("canvas", {
|
|
891
883
|
tabindex: "0",
|
|
892
|
-
class: l(e.question.cssClasses.canvas)
|
|
893
|
-
|
|
884
|
+
class: l(e.question.cssClasses.canvas),
|
|
885
|
+
onBlur: n[0] || (n[0] = (...m) => e.question.onBlur && e.question.onBlur(...m))
|
|
886
|
+
}, null, 34)
|
|
894
887
|
]),
|
|
895
888
|
e.question.canShowClearButton ? (i(), u("div", {
|
|
896
889
|
key: 0,
|
|
@@ -900,7 +893,7 @@ const Ke = /* @__PURE__ */ h({
|
|
|
900
893
|
type: "button",
|
|
901
894
|
class: l(e.question.cssClasses.clearButton),
|
|
902
895
|
title: e.question.clearButtonCaption,
|
|
903
|
-
onClick: n[
|
|
896
|
+
onClick: n[1] || (n[1] = () => {
|
|
904
897
|
e.question.clearValue();
|
|
905
898
|
})
|
|
906
899
|
}, [
|
|
@@ -911,6 +904,12 @@ const Ke = /* @__PURE__ */ h({
|
|
|
911
904
|
size: "auto"
|
|
912
905
|
}, null, 8, ["iconName"])) : d("", !0)
|
|
913
906
|
], 10, Bs)
|
|
907
|
+
], 2)) : d("", !0),
|
|
908
|
+
e.question.showLoadingIndicator ? (i(), u("div", {
|
|
909
|
+
key: 1,
|
|
910
|
+
class: l(e.question.cssClasses.loadingIndicator)
|
|
911
|
+
}, [
|
|
912
|
+
b(p)
|
|
914
913
|
], 2)) : d("", !0)
|
|
915
914
|
], 6);
|
|
916
915
|
};
|
|
@@ -1504,7 +1503,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1504
1503
|
disabled: !e.item.isEnabled
|
|
1505
1504
|
}, S(f(o)), 9, rn));
|
|
1506
1505
|
}
|
|
1507
|
-
}), an = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], un = { style: { visibility: "hidden" } }, dn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], mn = ["
|
|
1506
|
+
}), an = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], un = { style: { visibility: "hidden" } }, dn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], mn = ["id"], cn = /* @__PURE__ */ h({
|
|
1508
1507
|
__name: "Dropdown",
|
|
1509
1508
|
props: {
|
|
1510
1509
|
question: {}
|
|
@@ -1617,7 +1616,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1617
1616
|
key: 1,
|
|
1618
1617
|
class: l(k.question.cssClasses.cleanButton),
|
|
1619
1618
|
onClick: a,
|
|
1620
|
-
|
|
1619
|
+
"aria-hidden": "true"
|
|
1621
1620
|
}, [
|
|
1622
1621
|
b(O, {
|
|
1623
1622
|
class: l(k.question.cssClasses.cleanButtonSvg),
|
|
@@ -1625,7 +1624,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1625
1624
|
title: k.question.clearCaption,
|
|
1626
1625
|
size: "auto"
|
|
1627
1626
|
}, null, 8, ["class", "iconName", "title"])
|
|
1628
|
-
],
|
|
1627
|
+
], 2)), [
|
|
1629
1628
|
[M, k.question.showClearButton]
|
|
1630
1629
|
]) : d("", !0)
|
|
1631
1630
|
], 42, an)),
|
|
@@ -1640,7 +1639,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1640
1639
|
locString: k.question.selectedItemLocText
|
|
1641
1640
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1642
1641
|
c("div", null, S(k.question.readOnlyText), 1)
|
|
1643
|
-
], 10,
|
|
1642
|
+
], 10, mn)) : (i(), q(U, {
|
|
1644
1643
|
key: 1,
|
|
1645
1644
|
model: k.question.dropdownListModel.popupModel
|
|
1646
1645
|
}, null, 8, ["model"])),
|
|
@@ -1659,7 +1658,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1659
1658
|
], 2);
|
|
1660
1659
|
};
|
|
1661
1660
|
}
|
|
1662
|
-
}),
|
|
1661
|
+
}), pn = /* @__PURE__ */ h({
|
|
1663
1662
|
inheritAttrs: !1,
|
|
1664
1663
|
__name: "Tagbox",
|
|
1665
1664
|
props: {
|
|
@@ -1682,7 +1681,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1682
1681
|
], 2);
|
|
1683
1682
|
};
|
|
1684
1683
|
}
|
|
1685
|
-
}),
|
|
1684
|
+
}), vn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], yn = ["id"], qn = /* @__PURE__ */ h({
|
|
1686
1685
|
__name: "Tagbox",
|
|
1687
1686
|
props: {
|
|
1688
1687
|
question: {}
|
|
@@ -1748,7 +1747,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1748
1747
|
key: 0,
|
|
1749
1748
|
class: l(y.question.cssClasses.cleanButton),
|
|
1750
1749
|
onClick: t,
|
|
1751
|
-
|
|
1750
|
+
"aria-hidden": "true"
|
|
1752
1751
|
}, [
|
|
1753
1752
|
b(N, {
|
|
1754
1753
|
class: l(y.question.cssClasses.cleanButtonSvg),
|
|
@@ -1756,10 +1755,10 @@ const tn = /* @__PURE__ */ h({
|
|
|
1756
1755
|
title: y.question.clearCaption,
|
|
1757
1756
|
size: "auto"
|
|
1758
1757
|
}, null, 8, ["class", "iconName", "title"])
|
|
1759
|
-
],
|
|
1758
|
+
], 2)), [
|
|
1760
1759
|
[M, y.question.showClearButton]
|
|
1761
1760
|
]) : d("", !0)
|
|
1762
|
-
], 42,
|
|
1761
|
+
], 42, vn)),
|
|
1763
1762
|
y.question.isReadOnly ? (i(), u("div", {
|
|
1764
1763
|
key: 2,
|
|
1765
1764
|
disabled: "",
|
|
@@ -1767,14 +1766,15 @@ const tn = /* @__PURE__ */ h({
|
|
|
1767
1766
|
class: l(y.question.getControlClass())
|
|
1768
1767
|
}, [
|
|
1769
1768
|
c("div", null, S(y.question.readOnlyText), 1)
|
|
1770
|
-
], 10,
|
|
1769
|
+
], 10, yn)) : (i(), q(k, {
|
|
1771
1770
|
key: 1,
|
|
1772
1771
|
model: o.value.popupModel
|
|
1773
1772
|
}, null, 8, ["model"])),
|
|
1774
1773
|
y.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
1775
1774
|
key: 3,
|
|
1776
1775
|
class: l(y.question.cssClasses.chevronButton),
|
|
1777
|
-
onPointerdown: n
|
|
1776
|
+
onPointerdown: n,
|
|
1777
|
+
"aria-hidden": "true"
|
|
1778
1778
|
}, [
|
|
1779
1779
|
b(N, {
|
|
1780
1780
|
class: l(y.question.cssClasses.chevronButtonSvg),
|
|
@@ -1785,7 +1785,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1785
1785
|
], 2);
|
|
1786
1786
|
};
|
|
1787
1787
|
}
|
|
1788
|
-
}),
|
|
1788
|
+
}), gn = { style: { visibility: "hidden" } }, hn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "id", "readonly", "size"], Cn = /* @__PURE__ */ h({
|
|
1789
1789
|
__name: "TagboxFilter",
|
|
1790
1790
|
props: {
|
|
1791
1791
|
question: {},
|
|
@@ -1824,7 +1824,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1824
1824
|
key: 1,
|
|
1825
1825
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1826
1826
|
}, [
|
|
1827
|
-
c("span",
|
|
1827
|
+
c("span", gn, S(a.model.inputStringRendered), 1),
|
|
1828
1828
|
c("span", null, S(a.model.hintStringSuffix), 1)
|
|
1829
1829
|
], 2)) : d("", !0),
|
|
1830
1830
|
P(c("input", {
|
|
@@ -1848,14 +1848,14 @@ const tn = /* @__PURE__ */ h({
|
|
|
1848
1848
|
onKeydown: e,
|
|
1849
1849
|
onBlur: n,
|
|
1850
1850
|
onFocus: t
|
|
1851
|
-
}, null, 42,
|
|
1851
|
+
}, null, 42, hn), [
|
|
1852
1852
|
[ke, a.model.inputStringRendered]
|
|
1853
1853
|
])
|
|
1854
1854
|
], 2)
|
|
1855
1855
|
], 2);
|
|
1856
1856
|
};
|
|
1857
1857
|
}
|
|
1858
|
-
}),
|
|
1858
|
+
}), bn = { class: "sv-tagbox__item-text" }, kn = /* @__PURE__ */ h({
|
|
1859
1859
|
__name: "TagboxItem",
|
|
1860
1860
|
props: {
|
|
1861
1861
|
question: {},
|
|
@@ -1871,7 +1871,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1871
1871
|
class: "sv-tagbox__item",
|
|
1872
1872
|
key: e.item.key
|
|
1873
1873
|
}, [
|
|
1874
|
-
c("div",
|
|
1874
|
+
c("div", bn, [
|
|
1875
1875
|
b(t, {
|
|
1876
1876
|
locString: e.item.locText
|
|
1877
1877
|
}, null, 8, ["locString"])
|
|
@@ -1889,7 +1889,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1889
1889
|
]);
|
|
1890
1890
|
};
|
|
1891
1891
|
}
|
|
1892
|
-
}),
|
|
1892
|
+
}), fn = /* @__PURE__ */ h({
|
|
1893
1893
|
inheritAttrs: !1,
|
|
1894
1894
|
__name: "Ranking",
|
|
1895
1895
|
props: {
|
|
@@ -1910,50 +1910,61 @@ const tn = /* @__PURE__ */ h({
|
|
|
1910
1910
|
data: s.question.getItemValueWrapperComponentData(t)
|
|
1911
1911
|
}
|
|
1912
1912
|
});
|
|
1913
|
-
return (t, a) =>
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
key: p.value + "-" + m + "-item"
|
|
1920
|
-
}, n(p, m)), null, 16))), 128)),
|
|
1921
|
-
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1922
|
-
key: 1,
|
|
1923
|
-
class: l(t.question.getContainerClasses("from")),
|
|
1924
|
-
"data-ranking": "from-container"
|
|
1925
|
-
}, [
|
|
1926
|
-
(i(!0), u($, null, B(t.question.unRankingChoices, (p, m) => (i(), q(T(e(p)), H({
|
|
1927
|
-
key: p.value + "-" + m + "-item"
|
|
1928
|
-
}, n(p, m, !0)), null, 16))), 128)),
|
|
1929
|
-
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
1930
|
-
key: 0,
|
|
1931
|
-
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1932
|
-
}, S(t.question.selectToRankEmptyRankedAreaText), 3)) : d("", !0)
|
|
1933
|
-
], 2)) : d("", !0),
|
|
1934
|
-
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1935
|
-
key: 2,
|
|
1936
|
-
class: l(t.question.cssClasses.containersDivider)
|
|
1937
|
-
}, null, 2)) : d("", !0),
|
|
1938
|
-
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1939
|
-
key: 3,
|
|
1940
|
-
class: l(t.question.getContainerClasses("to")),
|
|
1941
|
-
"data-ranking": "to-container"
|
|
1913
|
+
return (t, a) => {
|
|
1914
|
+
const p = v("survey-string");
|
|
1915
|
+
return i(), u("div", {
|
|
1916
|
+
class: l(t.question.rootClass),
|
|
1917
|
+
ref_key: "root",
|
|
1918
|
+
ref: o
|
|
1942
1919
|
}, [
|
|
1943
|
-
(i(!0), u($,
|
|
1944
|
-
key:
|
|
1945
|
-
}, n(
|
|
1946
|
-
t.question.
|
|
1947
|
-
key:
|
|
1948
|
-
class: l(t.question.
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1920
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.rankingChoices, (m, y) => (i(), q(T(e(m)), H({
|
|
1921
|
+
key: m.value + "-" + y + "-item"
|
|
1922
|
+
}, n(m, y)), null, 16))), 128)),
|
|
1923
|
+
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1924
|
+
key: 1,
|
|
1925
|
+
class: l(t.question.getContainerClasses("from")),
|
|
1926
|
+
"data-ranking": "from-container"
|
|
1927
|
+
}, [
|
|
1928
|
+
(i(!0), u($, null, B(t.question.unRankingChoices, (m, y) => (i(), q(T(e(m)), H({
|
|
1929
|
+
key: m.value + "-" + y + "-item"
|
|
1930
|
+
}, n(m, y, !0)), null, 16))), 128)),
|
|
1931
|
+
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
1932
|
+
key: 0,
|
|
1933
|
+
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1934
|
+
}, [
|
|
1935
|
+
b(p, {
|
|
1936
|
+
locString: t.question.locSelectToRankEmptyRankedAreaText
|
|
1937
|
+
}, null, 8, ["locString"])
|
|
1938
|
+
], 2)) : d("", !0)
|
|
1939
|
+
], 2)) : d("", !0),
|
|
1940
|
+
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1941
|
+
key: 2,
|
|
1942
|
+
class: l(t.question.cssClasses.containersDivider)
|
|
1943
|
+
}, null, 2)) : d("", !0),
|
|
1944
|
+
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1945
|
+
key: 3,
|
|
1946
|
+
class: l(t.question.getContainerClasses("to")),
|
|
1947
|
+
"data-ranking": "to-container"
|
|
1948
|
+
}, [
|
|
1949
|
+
(i(!0), u($, null, B(t.question.rankingChoices, (m, y) => (i(), q(T(e(m)), H({
|
|
1950
|
+
key: m.value + "-" + y + "-item"
|
|
1951
|
+
}, n(m, y)), null, 16))), 128)),
|
|
1952
|
+
t.question.rankingChoices.length === 0 ? (i(), u("div", {
|
|
1953
|
+
key: 0,
|
|
1954
|
+
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1955
|
+
}, [
|
|
1956
|
+
b(p, {
|
|
1957
|
+
locString: t.question.locSelectToRankEmptyUnrankedAreaText
|
|
1958
|
+
}, null, 8, ["locString"])
|
|
1959
|
+
], 2)) : d("", !0)
|
|
1960
|
+
], 2)) : d("", !0)
|
|
1961
|
+
], 2);
|
|
1962
|
+
};
|
|
1952
1963
|
}
|
|
1953
|
-
}),
|
|
1964
|
+
}), In = ["tabindex", "data-sv-drop-target-ranking-item"], wn = {
|
|
1954
1965
|
tabindex: "-1",
|
|
1955
1966
|
style: { outline: "none" }
|
|
1956
|
-
},
|
|
1967
|
+
}, Sn = ["xlink:href"], Rn = ["xlink:href"], Tn = ["xlink:href"], $n = /* @__PURE__ */ h({
|
|
1957
1968
|
inheritAttrs: !1,
|
|
1958
1969
|
__name: "RankingItem",
|
|
1959
1970
|
props: {
|
|
@@ -1982,7 +1993,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1982
1993
|
);
|
|
1983
1994
|
})
|
|
1984
1995
|
}, [
|
|
1985
|
-
c("div",
|
|
1996
|
+
c("div", wn, [
|
|
1986
1997
|
c("div", {
|
|
1987
1998
|
class: l(e.question.cssClasses.itemGhostNode)
|
|
1988
1999
|
}, null, 2),
|
|
@@ -1997,14 +2008,14 @@ const tn = /* @__PURE__ */ h({
|
|
|
1997
2008
|
}, [
|
|
1998
2009
|
c("use", {
|
|
1999
2010
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2000
|
-
}, null, 8,
|
|
2011
|
+
}, null, 8, Sn)
|
|
2001
2012
|
], 2)),
|
|
2002
2013
|
(i(), u("svg", {
|
|
2003
2014
|
class: l(e.question.getIconFocusCss())
|
|
2004
2015
|
}, [
|
|
2005
2016
|
c("use", {
|
|
2006
2017
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2007
|
-
}, null, 8,
|
|
2018
|
+
}, null, 8, Rn)
|
|
2008
2019
|
], 2))
|
|
2009
2020
|
], 2),
|
|
2010
2021
|
!e.unrankedItem && o.value ? (i(), u("div", {
|
|
@@ -2017,7 +2028,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2017
2028
|
(i(), u("svg", null, [
|
|
2018
2029
|
c("use", {
|
|
2019
2030
|
"xlink:href": e.question.dashSvgIcon
|
|
2020
|
-
}, null, 8,
|
|
2031
|
+
}, null, 8, Tn)
|
|
2021
2032
|
]))
|
|
2022
2033
|
], 2)),
|
|
2023
2034
|
c("div", {
|
|
@@ -2029,13 +2040,13 @@ const tn = /* @__PURE__ */ h({
|
|
|
2029
2040
|
], 2)
|
|
2030
2041
|
], 2)
|
|
2031
2042
|
])
|
|
2032
|
-
], 42,
|
|
2043
|
+
], 42, In);
|
|
2033
2044
|
};
|
|
2034
2045
|
}
|
|
2035
|
-
}),
|
|
2046
|
+
}), Dn = { role: "radiogroup" }, _n = /* @__PURE__ */ c("legend", {
|
|
2036
2047
|
role: "presentation",
|
|
2037
2048
|
class: "sv-hidden"
|
|
2038
|
-
}, null, -1),
|
|
2049
|
+
}, null, -1), Bn = /* @__PURE__ */ h({
|
|
2039
2050
|
inheritAttrs: !1,
|
|
2040
2051
|
__name: "Rating",
|
|
2041
2052
|
props: {
|
|
@@ -2052,8 +2063,8 @@ const tn = /* @__PURE__ */ h({
|
|
|
2052
2063
|
ref_key: "root",
|
|
2053
2064
|
ref: o
|
|
2054
2065
|
}, [
|
|
2055
|
-
c("fieldset",
|
|
2056
|
-
|
|
2066
|
+
c("fieldset", Dn, [
|
|
2067
|
+
_n,
|
|
2057
2068
|
n.question.hasMinLabel ? (i(), u("span", {
|
|
2058
2069
|
key: 0,
|
|
2059
2070
|
class: l(n.question.cssClasses.minText)
|
|
@@ -2080,7 +2091,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2080
2091
|
], 2);
|
|
2081
2092
|
};
|
|
2082
2093
|
}
|
|
2083
|
-
}),
|
|
2094
|
+
}), Ln = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Nn = /* @__PURE__ */ h({
|
|
2084
2095
|
__name: "RatingItem",
|
|
2085
2096
|
props: {
|
|
2086
2097
|
question: {},
|
|
@@ -2108,7 +2119,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2108
2119
|
"aria-label": o.question.ariaLabel,
|
|
2109
2120
|
"aria-invalid": o.question.ariaInvalid,
|
|
2110
2121
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2111
|
-
}, null, 8,
|
|
2122
|
+
}, null, 8, Ln),
|
|
2112
2123
|
c("span", {
|
|
2113
2124
|
class: l(o.question.cssClasses.itemText)
|
|
2114
2125
|
}, [
|
|
@@ -2119,7 +2130,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2119
2130
|
], 34);
|
|
2120
2131
|
};
|
|
2121
2132
|
}
|
|
2122
|
-
}),
|
|
2133
|
+
}), Pn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], An = /* @__PURE__ */ h({
|
|
2123
2134
|
__name: "RatingItemSmiley",
|
|
2124
2135
|
props: {
|
|
2125
2136
|
question: {},
|
|
@@ -2150,7 +2161,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2150
2161
|
"aria-label": o.question.ariaLabel,
|
|
2151
2162
|
"aria-invalid": o.question.ariaInvalid,
|
|
2152
2163
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2153
|
-
}, null, 8,
|
|
2164
|
+
}, null, 8, Pn),
|
|
2154
2165
|
b(n, {
|
|
2155
2166
|
iconName: o.question.getItemSmileyIconName(o.item.itemValue),
|
|
2156
2167
|
size: "auto",
|
|
@@ -2159,7 +2170,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2159
2170
|
], 38);
|
|
2160
2171
|
};
|
|
2161
2172
|
}
|
|
2162
|
-
}),
|
|
2173
|
+
}), Mn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Hn = /* @__PURE__ */ h({
|
|
2163
2174
|
__name: "RatingItemStar",
|
|
2164
2175
|
props: {
|
|
2165
2176
|
question: {},
|
|
@@ -2189,7 +2200,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2189
2200
|
"aria-label": o.question.ariaLabel,
|
|
2190
2201
|
"aria-invalid": o.question.ariaInvalid,
|
|
2191
2202
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2192
|
-
}, null, 8,
|
|
2203
|
+
}, null, 8, Mn),
|
|
2193
2204
|
b(n, {
|
|
2194
2205
|
class: l("sv-star"),
|
|
2195
2206
|
iconName: o.question.itemStarIcon,
|
|
@@ -2205,10 +2216,10 @@ const tn = /* @__PURE__ */ h({
|
|
|
2205
2216
|
], 34);
|
|
2206
2217
|
};
|
|
2207
2218
|
}
|
|
2208
|
-
}),
|
|
2219
|
+
}), Wn = { class: "sd-rating-dropdown-item" }, En = { class: "sd-rating-dropdown-item_text" }, Vn = {
|
|
2209
2220
|
key: 0,
|
|
2210
2221
|
class: "sd-rating-dropdown-item_description"
|
|
2211
|
-
},
|
|
2222
|
+
}, On = /* @__PURE__ */ h({
|
|
2212
2223
|
__name: "RatingDropdownItem",
|
|
2213
2224
|
props: {
|
|
2214
2225
|
item: {}
|
|
@@ -2217,9 +2228,9 @@ const tn = /* @__PURE__ */ h({
|
|
|
2217
2228
|
const s = r;
|
|
2218
2229
|
return L(() => s.item), (o, e) => {
|
|
2219
2230
|
const n = v("survey-string");
|
|
2220
|
-
return i(), u("div",
|
|
2221
|
-
c("span",
|
|
2222
|
-
o.item.description ? (i(), u("div",
|
|
2231
|
+
return i(), u("div", Wn, [
|
|
2232
|
+
c("span", En, S(o.item.title), 1),
|
|
2233
|
+
o.item.description ? (i(), u("div", Vn, [
|
|
2223
2234
|
b(n, {
|
|
2224
2235
|
locString: o.item.description
|
|
2225
2236
|
}, null, 8, ["locString"])
|
|
@@ -2233,7 +2244,7 @@ ne.Instance.registerRenderer(
|
|
|
2233
2244
|
"dropdown",
|
|
2234
2245
|
"sv-rating-dropdown"
|
|
2235
2246
|
);
|
|
2236
|
-
const
|
|
2247
|
+
const Fn = /* @__PURE__ */ h({
|
|
2237
2248
|
inheritAttrs: !1,
|
|
2238
2249
|
__name: "RatingDropdown",
|
|
2239
2250
|
props: {
|
|
@@ -2252,7 +2263,7 @@ const Un = /* @__PURE__ */ h({
|
|
|
2252
2263
|
], 2);
|
|
2253
2264
|
};
|
|
2254
2265
|
}
|
|
2255
|
-
}),
|
|
2266
|
+
}), zn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Un = /* @__PURE__ */ h({
|
|
2256
2267
|
inheritAttrs: !1,
|
|
2257
2268
|
__name: "BooleanSwitch",
|
|
2258
2269
|
props: {
|
|
@@ -2291,7 +2302,7 @@ const Un = /* @__PURE__ */ h({
|
|
|
2291
2302
|
"aria-label": t.question.ariaLabel,
|
|
2292
2303
|
"aria-invalid": t.question.ariaInvalid,
|
|
2293
2304
|
"aria-describedby": t.question.ariaDescribedBy
|
|
2294
|
-
}, null, 42,
|
|
2305
|
+
}, null, 42, zn), [
|
|
2295
2306
|
[G, t.question.booleanValue]
|
|
2296
2307
|
]),
|
|
2297
2308
|
c("div", {
|
|
@@ -2345,7 +2356,7 @@ ne.Instance.registerRenderer(
|
|
|
2345
2356
|
"radio",
|
|
2346
2357
|
"sv-boolean-radio"
|
|
2347
2358
|
);
|
|
2348
|
-
const
|
|
2359
|
+
const Kn = /* @__PURE__ */ h({
|
|
2349
2360
|
inheritAttrs: !1,
|
|
2350
2361
|
__name: "BooleanRadio",
|
|
2351
2362
|
props: {
|
|
@@ -2380,7 +2391,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2380
2391
|
], 2);
|
|
2381
2392
|
};
|
|
2382
2393
|
}
|
|
2383
|
-
}),
|
|
2394
|
+
}), jn = ["name", "value", "checked", "aria-describedby", "disabled"], Qn = ["xlink:href"], Gn = /* @__PURE__ */ h({
|
|
2384
2395
|
__name: "BooleanRadioItem",
|
|
2385
2396
|
props: {
|
|
2386
2397
|
question: {},
|
|
@@ -2410,7 +2421,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2410
2421
|
disabled: e.question.isInputReadOnly,
|
|
2411
2422
|
class: l(e.question.cssClasses.itemRadioControl),
|
|
2412
2423
|
onChange: o
|
|
2413
|
-
}, null, 42,
|
|
2424
|
+
}, null, 42, jn),
|
|
2414
2425
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2415
2426
|
key: 0,
|
|
2416
2427
|
class: l(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2421,7 +2432,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2421
2432
|
}, [
|
|
2422
2433
|
c("use", {
|
|
2423
2434
|
"xlink:href": e.question.itemSvgIcon
|
|
2424
|
-
}, null, 8,
|
|
2435
|
+
}, null, 8, Qn)
|
|
2425
2436
|
], 2)) : d("", !0)
|
|
2426
2437
|
], 2)) : d("", !0),
|
|
2427
2438
|
c("span", {
|
|
@@ -2433,13 +2444,13 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2433
2444
|
], 2);
|
|
2434
2445
|
};
|
|
2435
2446
|
}
|
|
2436
|
-
}),
|
|
2447
|
+
}), Xn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Jn = ["xlink:href"], Yn = /* @__PURE__ */ c("span", { class: "check" }, null, -1), Zn = ["id"];
|
|
2437
2448
|
ne.Instance.registerRenderer(
|
|
2438
2449
|
"boolean",
|
|
2439
2450
|
"checkbox",
|
|
2440
2451
|
"sv-boolean-checkbox"
|
|
2441
2452
|
);
|
|
2442
|
-
const
|
|
2453
|
+
const xn = /* @__PURE__ */ h({
|
|
2443
2454
|
inheritAttrs: !1,
|
|
2444
2455
|
__name: "BooleanCheckbox",
|
|
2445
2456
|
props: {
|
|
@@ -2475,7 +2486,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2475
2486
|
"aria-label": e.question.ariaLabel,
|
|
2476
2487
|
"aria-invalid": e.question.ariaInvalid,
|
|
2477
2488
|
"aria-describedby": e.question.ariaDescribedBy
|
|
2478
|
-
}, null, 42,
|
|
2489
|
+
}, null, 42, Xn), [
|
|
2479
2490
|
[G, e.question.booleanValue]
|
|
2480
2491
|
]),
|
|
2481
2492
|
c("span", {
|
|
@@ -2487,9 +2498,9 @@ const so = /* @__PURE__ */ h({
|
|
|
2487
2498
|
}, [
|
|
2488
2499
|
c("use", {
|
|
2489
2500
|
"xlink:href": e.question.svgIcon
|
|
2490
|
-
}, null, 8,
|
|
2501
|
+
}, null, 8, Jn)
|
|
2491
2502
|
], 2)) : d("", !0),
|
|
2492
|
-
|
|
2503
|
+
Yn
|
|
2493
2504
|
], 2),
|
|
2494
2505
|
e.question.isLabelRendered ? (i(), u("span", {
|
|
2495
2506
|
key: 0,
|
|
@@ -2506,7 +2517,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2506
2517
|
element: e.question,
|
|
2507
2518
|
css: e.css
|
|
2508
2519
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2509
|
-
], 10,
|
|
2520
|
+
], 10, Zn)) : d("", !0)
|
|
2510
2521
|
], 2),
|
|
2511
2522
|
e.question.canRenderLabelDescription ? (i(), u("div", {
|
|
2512
2523
|
key: 0,
|
|
@@ -2520,7 +2531,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2520
2531
|
], 2);
|
|
2521
2532
|
};
|
|
2522
2533
|
}
|
|
2523
|
-
}),
|
|
2534
|
+
}), eo = /* @__PURE__ */ h({
|
|
2524
2535
|
inheritAttrs: !1,
|
|
2525
2536
|
__name: "Multipletext",
|
|
2526
2537
|
props: {
|
|
@@ -2558,7 +2569,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2558
2569
|
], 2);
|
|
2559
2570
|
};
|
|
2560
2571
|
}
|
|
2561
|
-
}),
|
|
2572
|
+
}), so = { key: 1 }, no = /* @__PURE__ */ h({
|
|
2562
2573
|
__name: "MultipletextItem",
|
|
2563
2574
|
props: {
|
|
2564
2575
|
question: {},
|
|
@@ -2587,7 +2598,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2587
2598
|
b(a, {
|
|
2588
2599
|
locString: e.value.locTitle
|
|
2589
2600
|
}, null, 8, ["locString"]),
|
|
2590
|
-
e.value.editor.isRequireTextAfterTitle ? (i(), u("span",
|
|
2601
|
+
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", so, "\xA0")) : d("", !0),
|
|
2591
2602
|
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", {
|
|
2592
2603
|
key: 2,
|
|
2593
2604
|
"aria-hidden": "true",
|
|
@@ -2606,7 +2617,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2606
2617
|
], 2));
|
|
2607
2618
|
};
|
|
2608
2619
|
}
|
|
2609
|
-
}),
|
|
2620
|
+
}), oo = { class: "sv-hidden" }, to = { key: 0 }, io = { key: 0 }, ro = ["onClick"], lo = ["data-responsive-title", "onClick"], ao = ["name", "onUpdate:modelValue", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], uo = ["xlink:href"], mo = /* @__PURE__ */ h({
|
|
2610
2621
|
inheritAttrs: !1,
|
|
2611
2622
|
__name: "Matrix",
|
|
2612
2623
|
props: {
|
|
@@ -2638,13 +2649,13 @@ const so = /* @__PURE__ */ h({
|
|
|
2638
2649
|
ref: o
|
|
2639
2650
|
}, [
|
|
2640
2651
|
c("fieldset", null, [
|
|
2641
|
-
c("legend",
|
|
2652
|
+
c("legend", oo, S(t.question.locTitle.renderedHtml), 1),
|
|
2642
2653
|
c("table", {
|
|
2643
2654
|
class: l(t.question.getTableCss())
|
|
2644
2655
|
}, [
|
|
2645
|
-
t.question.showHeader ? (i(), u("thead",
|
|
2656
|
+
t.question.showHeader ? (i(), u("thead", to, [
|
|
2646
2657
|
c("tr", null, [
|
|
2647
|
-
t.question.hasRows ? (i(), u("td",
|
|
2658
|
+
t.question.hasRows ? (i(), u("td", io)) : d("", !0),
|
|
2648
2659
|
(i(!0), u($, null, B(t.question.visibleColumns, (m, y) => (i(), u("th", {
|
|
2649
2660
|
key: y,
|
|
2650
2661
|
class: l(t.question.cssClasses.headerCell),
|
|
@@ -2699,7 +2710,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2699
2710
|
b(p, {
|
|
2700
2711
|
locString: t.question.getCellDisplayLocText(m.name, g)
|
|
2701
2712
|
}, null, 8, ["locString"])
|
|
2702
|
-
], 10,
|
|
2713
|
+
], 10, ro))), 128)) : d("", !0),
|
|
2703
2714
|
t.question.hasCellText ? d("", !0) : (i(!0), u($, { key: 1 }, B(t.question.visibleColumns, (g, I) => (i(), u("td", {
|
|
2704
2715
|
key: I,
|
|
2705
2716
|
"data-responsive-title": g.locText.renderedHtml,
|
|
@@ -2722,7 +2733,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2722
2733
|
"aria-label": t.question.getCellAriaLabel(m.locText.renderedHtml, g.locText.renderedHtml),
|
|
2723
2734
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2724
2735
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
2725
|
-
}, null, 10,
|
|
2736
|
+
}, null, 10, ao), [
|
|
2726
2737
|
[se, m.value]
|
|
2727
2738
|
]),
|
|
2728
2739
|
c("span", {
|
|
@@ -2734,7 +2745,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2734
2745
|
}, [
|
|
2735
2746
|
c("use", {
|
|
2736
2747
|
"xlink:href": t.question.itemSvgIcon
|
|
2737
|
-
}, null, 8,
|
|
2748
|
+
}, null, 8, uo)
|
|
2738
2749
|
], 2)) : d("", !0)
|
|
2739
2750
|
], 2),
|
|
2740
2751
|
P(c("span", {
|
|
@@ -2747,7 +2758,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2747
2758
|
[M, t.question.isMobile]
|
|
2748
2759
|
])
|
|
2749
2760
|
], 34)
|
|
2750
|
-
], 10,
|
|
2761
|
+
], 10, lo))), 128))
|
|
2751
2762
|
], 2))), 128))
|
|
2752
2763
|
])
|
|
2753
2764
|
], 2)
|
|
@@ -2755,7 +2766,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2755
2766
|
], 2);
|
|
2756
2767
|
};
|
|
2757
2768
|
}
|
|
2758
|
-
}),
|
|
2769
|
+
}), co = /* @__PURE__ */ h({
|
|
2759
2770
|
inheritAttrs: !1,
|
|
2760
2771
|
__name: "MatrixDropdown",
|
|
2761
2772
|
props: {
|
|
@@ -2772,7 +2783,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2772
2783
|
}, null, 8, ["question"]);
|
|
2773
2784
|
};
|
|
2774
2785
|
}
|
|
2775
|
-
}),
|
|
2786
|
+
}), po = { key: 0 }, vo = ["data-sv-drop-target-matrix-row", "onPointerdown"], yo = { key: 1 }, qo = /* @__PURE__ */ h({
|
|
2776
2787
|
__name: "MatrixTable",
|
|
2777
2788
|
props: {
|
|
2778
2789
|
question: {}
|
|
@@ -2801,7 +2812,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2801
2812
|
c("table", {
|
|
2802
2813
|
class: l(e.question.getTableCss())
|
|
2803
2814
|
}, [
|
|
2804
|
-
o.value.showHeader ? (i(), u("thead",
|
|
2815
|
+
o.value.showHeader ? (i(), u("thead", po, [
|
|
2805
2816
|
c("tr", null, [
|
|
2806
2817
|
(i(!0), u($, null, B(o.value.headerRow.cells, (m) => (i(), u($, null, [
|
|
2807
2818
|
m.hasTitle ? (i(), u("th", {
|
|
@@ -2848,10 +2859,10 @@ const so = /* @__PURE__ */ h({
|
|
|
2848
2859
|
question: e.question,
|
|
2849
2860
|
key: m.id + "_" + g
|
|
2850
2861
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2851
|
-
], 42,
|
|
2862
|
+
], 42, vo)) : d("", !0)
|
|
2852
2863
|
], 64))), 128))
|
|
2853
2864
|
]),
|
|
2854
|
-
o.value.showFooter ? (i(), u("tfoot",
|
|
2865
|
+
o.value.showFooter ? (i(), u("tfoot", yo, [
|
|
2855
2866
|
c("tr", null, [
|
|
2856
2867
|
(i(!0), u($, null, B(o.value.footerRow.cells, (m, y) => (i(), q(p, {
|
|
2857
2868
|
cell: m,
|
|
@@ -2864,7 +2875,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2864
2875
|
], 6);
|
|
2865
2876
|
};
|
|
2866
2877
|
}
|
|
2867
|
-
}),
|
|
2878
|
+
}), go = /* @__PURE__ */ c("span", null, "\xA0", -1), ho = /* @__PURE__ */ h({
|
|
2868
2879
|
__name: "MatrixHeaderRequired",
|
|
2869
2880
|
props: {
|
|
2870
2881
|
question: {},
|
|
@@ -2873,14 +2884,14 @@ const so = /* @__PURE__ */ h({
|
|
|
2873
2884
|
setup(r) {
|
|
2874
2885
|
const s = r;
|
|
2875
2886
|
return L(() => s.column), (o, e) => o.column.isRenderedRequired ? (i(), u($, { key: 0 }, [
|
|
2876
|
-
|
|
2887
|
+
go,
|
|
2877
2888
|
o.column.isRenderedRequired ? (i(), u("span", {
|
|
2878
2889
|
key: 0,
|
|
2879
2890
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2880
2891
|
}, S(o.column.requiredText), 3)) : d("", !0)
|
|
2881
2892
|
], 64)) : d("", !0);
|
|
2882
2893
|
}
|
|
2883
|
-
}),
|
|
2894
|
+
}), Co = ["data-responsive-title", "title", "colspan"], bo = /* @__PURE__ */ h({
|
|
2884
2895
|
__name: "MatrixCell",
|
|
2885
2896
|
props: {
|
|
2886
2897
|
question: {},
|
|
@@ -2936,7 +2947,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2936
2947
|
title: g.cell.getTitle(),
|
|
2937
2948
|
style: R(t()),
|
|
2938
2949
|
colspan: g.cell.colSpans,
|
|
2939
|
-
onFocusin: I[0] || (I[0] = (
|
|
2950
|
+
onFocusin: I[0] || (I[0] = (Fi) => g.cell.focusIn()),
|
|
2940
2951
|
ref_key: "root",
|
|
2941
2952
|
ref: e
|
|
2942
2953
|
}, [
|
|
@@ -3016,10 +3027,10 @@ const so = /* @__PURE__ */ h({
|
|
|
3016
3027
|
]),
|
|
3017
3028
|
_: 1
|
|
3018
3029
|
}, 8, ["componentData"])) : d("", !0)
|
|
3019
|
-
], 46,
|
|
3030
|
+
], 46, Co);
|
|
3020
3031
|
};
|
|
3021
3032
|
}
|
|
3022
|
-
}),
|
|
3033
|
+
}), ko = /* @__PURE__ */ h({
|
|
3023
3034
|
inheritAttrs: !1,
|
|
3024
3035
|
__name: "MatrixDynamic",
|
|
3025
3036
|
props: {
|
|
@@ -3110,7 +3121,7 @@ function ie(r, s = !0) {
|
|
|
3110
3121
|
row: s ? w(() => r.item.data.row) : void 0
|
|
3111
3122
|
};
|
|
3112
3123
|
}
|
|
3113
|
-
const
|
|
3124
|
+
const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
3114
3125
|
__name: "RemoveButton",
|
|
3115
3126
|
props: {
|
|
3116
3127
|
item: {}
|
|
@@ -3131,10 +3142,10 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3131
3142
|
c("span", {
|
|
3132
3143
|
class: l(f(o).cssClasses.iconRemove)
|
|
3133
3144
|
}, null, 2)
|
|
3134
|
-
], 10,
|
|
3145
|
+
], 10, fo);
|
|
3135
3146
|
};
|
|
3136
3147
|
}
|
|
3137
|
-
}),
|
|
3148
|
+
}), wo = ["xlink:href"], So = /* @__PURE__ */ h({
|
|
3138
3149
|
__name: "DragDropIcon",
|
|
3139
3150
|
props: {
|
|
3140
3151
|
item: {}
|
|
@@ -3147,13 +3158,13 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3147
3158
|
}, [
|
|
3148
3159
|
c("use", {
|
|
3149
3160
|
"xlink:href": f(o).iconDragElement
|
|
3150
|
-
}, null, 8,
|
|
3161
|
+
}, null, 8, wo)
|
|
3151
3162
|
], 2)) : (i(), u("span", {
|
|
3152
3163
|
key: 1,
|
|
3153
3164
|
class: l(f(o).cssClasses.iconDrag)
|
|
3154
3165
|
}, null, 2));
|
|
3155
3166
|
}
|
|
3156
|
-
}),
|
|
3167
|
+
}), Ro = ["aria-expanded", "aria-controls"], To = /* @__PURE__ */ h({
|
|
3157
3168
|
__name: "DetailButton",
|
|
3158
3169
|
props: {
|
|
3159
3170
|
item: {}
|
|
@@ -3174,10 +3185,10 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3174
3185
|
iconName: f(o).getDetailPanelIconId(f(e)),
|
|
3175
3186
|
size: "auto"
|
|
3176
3187
|
}, null, 8, ["class", "iconName"])
|
|
3177
|
-
], 10,
|
|
3188
|
+
], 10, Ro);
|
|
3178
3189
|
};
|
|
3179
3190
|
}
|
|
3180
|
-
}),
|
|
3191
|
+
}), $o = /* @__PURE__ */ h({
|
|
3181
3192
|
inheritAttrs: !1,
|
|
3182
3193
|
__name: "PanelDynamic",
|
|
3183
3194
|
props: {
|
|
@@ -3298,7 +3309,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3298
3309
|
], 2);
|
|
3299
3310
|
};
|
|
3300
3311
|
}
|
|
3301
|
-
}),
|
|
3312
|
+
}), Do = /* @__PURE__ */ h({
|
|
3302
3313
|
__name: "PanelDynamicProgress",
|
|
3303
3314
|
props: {
|
|
3304
3315
|
question: {}
|
|
@@ -3344,7 +3355,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3344
3355
|
], 2);
|
|
3345
3356
|
};
|
|
3346
3357
|
}
|
|
3347
|
-
}),
|
|
3358
|
+
}), _o = /* @__PURE__ */ h({
|
|
3348
3359
|
__name: "PanelDynamicProgressV2",
|
|
3349
3360
|
props: {
|
|
3350
3361
|
question: {}
|
|
@@ -3386,7 +3397,7 @@ function Z(r) {
|
|
|
3386
3397
|
() => r.item && r.item.data.question || r.data.question
|
|
3387
3398
|
);
|
|
3388
3399
|
}
|
|
3389
|
-
const
|
|
3400
|
+
const Bo = /* @__PURE__ */ h({
|
|
3390
3401
|
__name: "PaneldynamicAddBtn",
|
|
3391
3402
|
props: {
|
|
3392
3403
|
item: {},
|
|
@@ -3407,7 +3418,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3407
3418
|
}, S(f(o).panelAddText), 3)
|
|
3408
3419
|
], 2)) : d("", !0);
|
|
3409
3420
|
}
|
|
3410
|
-
}),
|
|
3421
|
+
}), Lo = ["title"], No = /* @__PURE__ */ h({
|
|
3411
3422
|
__name: "PaneldynamicNextBtn",
|
|
3412
3423
|
props: {
|
|
3413
3424
|
item: {},
|
|
@@ -3428,10 +3439,10 @@ const No = /* @__PURE__ */ h({
|
|
|
3428
3439
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3429
3440
|
size: "auto"
|
|
3430
3441
|
}, null, 8, ["iconName"])
|
|
3431
|
-
], 10,
|
|
3442
|
+
], 10, Lo);
|
|
3432
3443
|
};
|
|
3433
3444
|
}
|
|
3434
|
-
}),
|
|
3445
|
+
}), Po = ["title"], Ao = /* @__PURE__ */ h({
|
|
3435
3446
|
__name: "PaneldynamicPrevBtn",
|
|
3436
3447
|
props: {
|
|
3437
3448
|
item: {},
|
|
@@ -3452,10 +3463,10 @@ const No = /* @__PURE__ */ h({
|
|
|
3452
3463
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3453
3464
|
size: "auto"
|
|
3454
3465
|
}, null, 8, ["iconName"])
|
|
3455
|
-
], 10,
|
|
3466
|
+
], 10, Po);
|
|
3456
3467
|
};
|
|
3457
3468
|
}
|
|
3458
|
-
}),
|
|
3469
|
+
}), Mo = /* @__PURE__ */ h({
|
|
3459
3470
|
__name: "PaneldynamicRemoveBtn",
|
|
3460
3471
|
props: {
|
|
3461
3472
|
item: {},
|
|
@@ -3480,7 +3491,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3480
3491
|
}, null, 2)
|
|
3481
3492
|
], 2));
|
|
3482
3493
|
}
|
|
3483
|
-
}),
|
|
3494
|
+
}), Ho = /* @__PURE__ */ h({
|
|
3484
3495
|
__name: "PaneldynamicProgressText",
|
|
3485
3496
|
props: {
|
|
3486
3497
|
item: {},
|
|
@@ -3492,7 +3503,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3492
3503
|
class: l(f(o).cssClasses.progressText)
|
|
3493
3504
|
}, S(f(o).progressText), 3));
|
|
3494
3505
|
}
|
|
3495
|
-
}),
|
|
3506
|
+
}), Wo = ["id"], Eo = /* @__PURE__ */ h({
|
|
3496
3507
|
__name: "Errors",
|
|
3497
3508
|
props: {
|
|
3498
3509
|
element: {},
|
|
@@ -3530,16 +3541,16 @@ const No = /* @__PURE__ */ h({
|
|
|
3530
3541
|
}, null, 8, ["locString"])
|
|
3531
3542
|
], 2)
|
|
3532
3543
|
]))), 128))
|
|
3533
|
-
], 10,
|
|
3544
|
+
], 10, Wo)) : d("", !0);
|
|
3534
3545
|
};
|
|
3535
3546
|
}
|
|
3536
|
-
}),
|
|
3547
|
+
}), Vo = { key: 0 }, Oo = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Fo = /* @__PURE__ */ h({
|
|
3537
3548
|
__name: "QuestionComment",
|
|
3538
3549
|
props: {
|
|
3539
3550
|
question: {}
|
|
3540
3551
|
},
|
|
3541
3552
|
setup(r) {
|
|
3542
|
-
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
3553
|
+
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Vo, S(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3543
3554
|
key: 1,
|
|
3544
3555
|
id: s.question.commentId,
|
|
3545
3556
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3557,9 +3568,9 @@ const No = /* @__PURE__ */ h({
|
|
|
3557
3568
|
onInput: o[1] || (o[1] = (e) => {
|
|
3558
3569
|
s.question.onCommentInput(e);
|
|
3559
3570
|
})
|
|
3560
|
-
}, null, 46,
|
|
3571
|
+
}, null, 46, Oo));
|
|
3561
3572
|
}
|
|
3562
|
-
}),
|
|
3573
|
+
}), zo = /* @__PURE__ */ h({
|
|
3563
3574
|
__name: "TitleElement",
|
|
3564
3575
|
props: {
|
|
3565
3576
|
element: {},
|
|
@@ -3599,7 +3610,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3599
3610
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3600
3611
|
};
|
|
3601
3612
|
}
|
|
3602
|
-
}),
|
|
3613
|
+
}), Uo = { key: 3 }, Ko = { key: 5 }, jo = { key: 7 }, Qo = /* @__PURE__ */ h({
|
|
3603
3614
|
inheritAttrs: !1,
|
|
3604
3615
|
__name: "TitleContent",
|
|
3605
3616
|
props: {
|
|
@@ -3625,18 +3636,18 @@ const No = /* @__PURE__ */ h({
|
|
|
3625
3636
|
class: l(s.element.cssTitleNumber),
|
|
3626
3637
|
"aria-hidden": !0
|
|
3627
3638
|
}, S(s.element.no), 3)) : d("", !0),
|
|
3628
|
-
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span",
|
|
3639
|
+
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", Uo, "\xA0")) : d("", !0),
|
|
3629
3640
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3630
3641
|
key: 4,
|
|
3631
3642
|
class: l(s.element.cssClasses.requiredText),
|
|
3632
3643
|
"aria-hidden": !0
|
|
3633
3644
|
}, S(s.element.requiredText), 3)) : d("", !0),
|
|
3634
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span",
|
|
3645
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", Ko, "\xA0")) : d("", !0),
|
|
3635
3646
|
s.element.isTitleRenderedAsString ? d("", !0) : (i(), q(e, {
|
|
3636
3647
|
key: 6,
|
|
3637
3648
|
locString: s.element.locTitle
|
|
3638
3649
|
}, null, 8, ["locString"])),
|
|
3639
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span",
|
|
3650
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", jo, "\xA0")) : d("", !0),
|
|
3640
3651
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", {
|
|
3641
3652
|
key: 8,
|
|
3642
3653
|
class: l(s.element.cssClasses.requiredText),
|
|
@@ -3645,7 +3656,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3645
3656
|
], 64);
|
|
3646
3657
|
};
|
|
3647
3658
|
}
|
|
3648
|
-
}),
|
|
3659
|
+
}), Go = { class: "sv-title-actions" }, Xo = { class: "sv-title-actions__title" }, Jo = /* @__PURE__ */ h({
|
|
3649
3660
|
__name: "TitleActions",
|
|
3650
3661
|
props: {
|
|
3651
3662
|
element: {},
|
|
@@ -3655,8 +3666,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3655
3666
|
const s = r, o = w(() => s.element.getTitleToolbar());
|
|
3656
3667
|
return (e, n) => {
|
|
3657
3668
|
const t = v("survey-string"), a = v("survey-element-title-content"), p = v("sv-action-bar");
|
|
3658
|
-
return i(), u("div",
|
|
3659
|
-
c("span",
|
|
3669
|
+
return i(), u("div", Go, [
|
|
3670
|
+
c("span", Xo, [
|
|
3660
3671
|
e.element.isPage ? (i(), q(t, {
|
|
3661
3672
|
key: 0,
|
|
3662
3673
|
locString: e.element.locTitle
|
|
@@ -3676,15 +3687,15 @@ const No = /* @__PURE__ */ h({
|
|
|
3676
3687
|
for (const [e, n] of s)
|
|
3677
3688
|
o[e] = n;
|
|
3678
3689
|
return o;
|
|
3679
|
-
},
|
|
3680
|
-
|
|
3690
|
+
}, Yo = {}, Zo = { class: "sv-brand-info" }, xo = /* @__PURE__ */ fe('<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 = [
|
|
3691
|
+
xo
|
|
3681
3692
|
];
|
|
3682
|
-
function
|
|
3683
|
-
return i(), u("div",
|
|
3693
|
+
function st(r, s) {
|
|
3694
|
+
return i(), u("div", Zo, et);
|
|
3684
3695
|
}
|
|
3685
|
-
const
|
|
3686
|
-
|
|
3687
|
-
],
|
|
3696
|
+
const nt = /* @__PURE__ */ ge(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use", null, null, -1), tt = [
|
|
3697
|
+
ot
|
|
3698
|
+
], it = /* @__PURE__ */ h({
|
|
3688
3699
|
__name: "SvgIcon",
|
|
3689
3700
|
props: {
|
|
3690
3701
|
size: {},
|
|
@@ -3713,9 +3724,9 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3713
3724
|
ref: o,
|
|
3714
3725
|
class: "sv-svg-icon",
|
|
3715
3726
|
role: "img"
|
|
3716
|
-
},
|
|
3727
|
+
}, tt, 512));
|
|
3717
3728
|
}
|
|
3718
|
-
}),
|
|
3729
|
+
}), rt = /* @__PURE__ */ h({
|
|
3719
3730
|
__name: "ActionBar",
|
|
3720
3731
|
props: {
|
|
3721
3732
|
model: {},
|
|
@@ -3748,7 +3759,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3748
3759
|
], 2)) : d("", !0);
|
|
3749
3760
|
};
|
|
3750
3761
|
}
|
|
3751
|
-
}),
|
|
3762
|
+
}), lt = ["id"], at = { class: "sv-action__content" }, ut = /* @__PURE__ */ h({
|
|
3752
3763
|
__name: "Action",
|
|
3753
3764
|
props: {
|
|
3754
3765
|
item: {}
|
|
@@ -3763,17 +3774,17 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3763
3774
|
class: l(e.item.getActionRootCss()),
|
|
3764
3775
|
id: e.item.id
|
|
3765
3776
|
}, [
|
|
3766
|
-
c("div",
|
|
3777
|
+
c("div", at, [
|
|
3767
3778
|
e.item.needSeparator ? (i(), q(t, { key: 0 })) : d("", !0),
|
|
3768
3779
|
(i(), q(T(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3769
3780
|
])
|
|
3770
|
-
], 10,
|
|
3781
|
+
], 10, lt);
|
|
3771
3782
|
};
|
|
3772
3783
|
}
|
|
3773
|
-
}),
|
|
3784
|
+
}), dt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], mt = {
|
|
3774
3785
|
inheritAttrs: !1
|
|
3775
|
-
},
|
|
3776
|
-
...
|
|
3786
|
+
}, ct = /* @__PURE__ */ h({
|
|
3787
|
+
...mt,
|
|
3777
3788
|
__name: "ActionBarItem",
|
|
3778
3789
|
props: {
|
|
3779
3790
|
item: {}
|
|
@@ -3808,15 +3819,15 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3808
3819
|
key: 1,
|
|
3809
3820
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3810
3821
|
}, S(o.item.title), 3)) : d("", !0)
|
|
3811
|
-
], 42,
|
|
3822
|
+
], 42, dt)), [
|
|
3812
3823
|
[t, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3813
3824
|
]);
|
|
3814
3825
|
};
|
|
3815
3826
|
}
|
|
3816
|
-
}),
|
|
3827
|
+
}), pt = ["disabled", "title", "role"], vt = {
|
|
3817
3828
|
inheritAttrs: !1
|
|
3818
|
-
},
|
|
3819
|
-
...
|
|
3829
|
+
}, yt = /* @__PURE__ */ h({
|
|
3830
|
+
...vt,
|
|
3820
3831
|
__name: "ActionBarItemDropdown",
|
|
3821
3832
|
props: {
|
|
3822
3833
|
item: {}
|
|
@@ -3859,7 +3870,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3859
3870
|
key: 1,
|
|
3860
3871
|
class: l(n.item.getActionBarItemTitleCss())
|
|
3861
3872
|
}, S(n.item.title), 3)) : d("", !0)
|
|
3862
|
-
], 42,
|
|
3873
|
+
], 42, pt)), [
|
|
3863
3874
|
[m, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3864
3875
|
]),
|
|
3865
3876
|
b(p, {
|
|
@@ -3869,7 +3880,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3869
3880
|
], 64);
|
|
3870
3881
|
};
|
|
3871
3882
|
}
|
|
3872
|
-
}),
|
|
3883
|
+
}), qt = /* @__PURE__ */ h({
|
|
3873
3884
|
__name: "ActionBarSeparator",
|
|
3874
3885
|
props: {
|
|
3875
3886
|
item: {}
|
|
@@ -3880,7 +3891,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3880
3891
|
class: l(["sv-action-bar-separator", o.value])
|
|
3881
3892
|
}, null, 2));
|
|
3882
3893
|
}
|
|
3883
|
-
}),
|
|
3894
|
+
}), gt = ["aria-label", "placeholder", "value"], ht = ["aria-label"], Ct = ["id"], bt = /* @__PURE__ */ h({
|
|
3884
3895
|
__name: "List",
|
|
3885
3896
|
props: {
|
|
3886
3897
|
model: {}
|
|
@@ -3924,7 +3935,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3924
3935
|
value: a.model.filterString,
|
|
3925
3936
|
onChange: e,
|
|
3926
3937
|
onKeyup: n
|
|
3927
|
-
}, null, 42,
|
|
3938
|
+
}, null, 42, gt),
|
|
3928
3939
|
a.model.showSearchClearButton && !!a.model.filterString ? (i(), u("button", {
|
|
3929
3940
|
key: 0,
|
|
3930
3941
|
onClick: p[0] || (p[0] = (g) => {
|
|
@@ -3944,7 +3955,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3944
3955
|
c("div", {
|
|
3945
3956
|
class: l(a.model.cssClasses.emptyText),
|
|
3946
3957
|
"aria-label": a.model.emptyMessage
|
|
3947
|
-
}, S(a.model.emptyMessage), 11,
|
|
3958
|
+
}, S(a.model.emptyMessage), 11, ht)
|
|
3948
3959
|
], 2), [
|
|
3949
3960
|
[M, a.model.isEmpty]
|
|
3950
3961
|
]),
|
|
@@ -3966,13 +3977,13 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3966
3977
|
model: a.model,
|
|
3967
3978
|
key: g.id
|
|
3968
3979
|
}, null, 8, ["item", "model"]))), 128))
|
|
3969
|
-
], 42,
|
|
3980
|
+
], 42, Ct)), [
|
|
3970
3981
|
[M, !a.model.isEmpty]
|
|
3971
3982
|
]) : d("", !0)
|
|
3972
3983
|
], 2);
|
|
3973
3984
|
};
|
|
3974
3985
|
}
|
|
3975
|
-
}),
|
|
3986
|
+
}), kt = ["aria-selected", "id"], ft = ["title"], It = /* @__PURE__ */ h({
|
|
3976
3987
|
__name: "ListItem",
|
|
3977
3988
|
props: {
|
|
3978
3989
|
model: {},
|
|
@@ -4021,14 +4032,14 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4021
4032
|
key: 2,
|
|
4022
4033
|
item: n.item
|
|
4023
4034
|
}, null, 8, ["item"])) : d("", !0)
|
|
4024
|
-
], 14,
|
|
4025
|
-
], 42,
|
|
4035
|
+
], 14, ft)
|
|
4036
|
+
], 42, kt)), [
|
|
4026
4037
|
[M, n.model.isItemVisible(n.item)],
|
|
4027
4038
|
[m]
|
|
4028
4039
|
]);
|
|
4029
4040
|
};
|
|
4030
4041
|
}
|
|
4031
|
-
}),
|
|
4042
|
+
}), wt = /* @__PURE__ */ h({
|
|
4032
4043
|
__name: "Popup",
|
|
4033
4044
|
props: {
|
|
4034
4045
|
getTarget: { type: Function },
|
|
@@ -4062,13 +4073,13 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4062
4073
|
], 512);
|
|
4063
4074
|
};
|
|
4064
4075
|
}
|
|
4065
|
-
}),
|
|
4076
|
+
}), St = { class: "sv-popup__shadow" }, Rt = { class: "sv-popup__body-content" }, Tt = {
|
|
4066
4077
|
key: 0,
|
|
4067
4078
|
class: "sv-popup__body-header"
|
|
4068
|
-
},
|
|
4079
|
+
}, $t = { class: "sv-popup__scrolling-content" }, Dt = { class: "sv-popup__content" }, _t = {
|
|
4069
4080
|
key: 1,
|
|
4070
4081
|
class: "sv-popup__body-footer"
|
|
4071
|
-
},
|
|
4082
|
+
}, Bt = /* @__PURE__ */ h({
|
|
4072
4083
|
__name: "PopupContainer",
|
|
4073
4084
|
props: {
|
|
4074
4085
|
model: {}
|
|
@@ -4107,19 +4118,19 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4107
4118
|
}),
|
|
4108
4119
|
onClick: e
|
|
4109
4120
|
}, [
|
|
4110
|
-
c("div",
|
|
4121
|
+
c("div", St, [
|
|
4111
4122
|
n.model.showHeader ? (i(), q(T(n.model.popupHeaderTemplate), {
|
|
4112
4123
|
key: 0,
|
|
4113
4124
|
model: n.model
|
|
4114
4125
|
}, null, 8, ["model"])) : d("", !0),
|
|
4115
|
-
c("div",
|
|
4116
|
-
n.model.title ? (i(), u("div",
|
|
4117
|
-
c("div",
|
|
4118
|
-
c("div",
|
|
4126
|
+
c("div", Rt, [
|
|
4127
|
+
n.model.title ? (i(), u("div", Tt, S(n.model.title), 1)) : d("", !0),
|
|
4128
|
+
c("div", $t, [
|
|
4129
|
+
c("div", Dt, [
|
|
4119
4130
|
(i(), q(T(n.model.contentComponentName), F(ve(n.model.contentComponentData)), null, 16))
|
|
4120
4131
|
])
|
|
4121
4132
|
]),
|
|
4122
|
-
n.model.showFooter ? (i(), u("div",
|
|
4133
|
+
n.model.showFooter ? (i(), u("div", _t, [
|
|
4123
4134
|
b(a, {
|
|
4124
4135
|
model: n.model.footerToolbar
|
|
4125
4136
|
}, null, 8, ["model"])
|
|
@@ -4132,7 +4143,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4132
4143
|
]);
|
|
4133
4144
|
};
|
|
4134
4145
|
}
|
|
4135
|
-
}),
|
|
4146
|
+
}), Lt = /* @__PURE__ */ h({
|
|
4136
4147
|
__name: "PopupPointer",
|
|
4137
4148
|
props: {
|
|
4138
4149
|
model: {}
|
|
@@ -4146,10 +4157,10 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4146
4157
|
})
|
|
4147
4158
|
}, null, 4));
|
|
4148
4159
|
}
|
|
4149
|
-
}),
|
|
4160
|
+
}), Nt = {
|
|
4150
4161
|
key: 0,
|
|
4151
4162
|
class: "sv-components-column"
|
|
4152
|
-
},
|
|
4163
|
+
}, Pt = /* @__PURE__ */ h({
|
|
4153
4164
|
__name: "Container",
|
|
4154
4165
|
props: {
|
|
4155
4166
|
survey: {},
|
|
@@ -4161,7 +4172,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4161
4172
|
() => s.survey.getContainerContent(s.container)
|
|
4162
4173
|
);
|
|
4163
4174
|
return (e, n) => o.value.length > 0 ? (i(), u($, { key: 0 }, [
|
|
4164
|
-
e.needRenderWrapper ? (i(), u("div",
|
|
4175
|
+
e.needRenderWrapper ? (i(), u("div", Nt, [
|
|
4165
4176
|
(i(!0), u($, null, B(o.value, (t, a) => (i(), q(T(t.component), {
|
|
4166
4177
|
survey: e.survey,
|
|
4167
4178
|
container: e.container,
|
|
@@ -4202,7 +4213,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4202
4213
|
}, S(t.survey.progressText), 3)
|
|
4203
4214
|
], 2));
|
|
4204
4215
|
}
|
|
4205
|
-
}),
|
|
4216
|
+
}), At = ["onClick"], Mt = ["title"], Ht = ["title"], Wt = /* @__PURE__ */ h({
|
|
4206
4217
|
__name: "ProgressButtons",
|
|
4207
4218
|
props: {
|
|
4208
4219
|
survey: {}
|
|
@@ -4250,12 +4261,12 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4250
4261
|
c("div", {
|
|
4251
4262
|
class: l(t.value.progressButtonsPageTitle),
|
|
4252
4263
|
title: k.renderedNavigationTitle
|
|
4253
|
-
}, S(k.renderedNavigationTitle), 11,
|
|
4264
|
+
}, S(k.renderedNavigationTitle), 11, Mt),
|
|
4254
4265
|
c("div", {
|
|
4255
4266
|
class: l(t.value.progressButtonsPageDescription),
|
|
4256
4267
|
title: k.locNavigationDescription.renderedHtml
|
|
4257
|
-
}, S(k.locNavigationDescription.renderedHtml), 11,
|
|
4258
|
-
], 10,
|
|
4268
|
+
}, S(k.locNavigationDescription.renderedHtml), 11, Ht)
|
|
4269
|
+
], 10, At))), 128))
|
|
4259
4270
|
], 2)
|
|
4260
4271
|
], 2),
|
|
4261
4272
|
c("div", {
|
|
@@ -4266,7 +4277,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4266
4277
|
], 2)
|
|
4267
4278
|
], 2));
|
|
4268
4279
|
}
|
|
4269
|
-
}),
|
|
4280
|
+
}), Et = /* @__PURE__ */ h({
|
|
4270
4281
|
__name: "ProgressToc",
|
|
4271
4282
|
props: {
|
|
4272
4283
|
survey: {}
|
|
@@ -4298,10 +4309,10 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4298
4309
|
], 2);
|
|
4299
4310
|
};
|
|
4300
4311
|
}
|
|
4301
|
-
}),
|
|
4312
|
+
}), Vt = { onsubmit: "return false;" }, Ot = {
|
|
4302
4313
|
key: 0,
|
|
4303
4314
|
class: "sv_custom_header"
|
|
4304
|
-
},
|
|
4315
|
+
}, Ft = { class: "sv-components-column sv-components-column--expandable" }, zt = ["id"], Ut = { key: 2 }, Kt = ["innerHTML"], jt = ["innerHTML"], Qt = ["innerHTML"], me = /* @__PURE__ */ h({
|
|
4305
4316
|
__name: "Survey",
|
|
4306
4317
|
props: {
|
|
4307
4318
|
model: {},
|
|
@@ -4345,8 +4356,8 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4345
4356
|
class: l(y.value.rootBackgroundImage),
|
|
4346
4357
|
style: R(t.value.backgroundImageStyle)
|
|
4347
4358
|
}, null, 6)) : d("", !0),
|
|
4348
|
-
c("form",
|
|
4349
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4359
|
+
c("form", Vt, [
|
|
4360
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Ot)),
|
|
4350
4361
|
c("div", {
|
|
4351
4362
|
class: l(y.value.container)
|
|
4352
4363
|
}, [
|
|
@@ -4368,28 +4379,35 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4368
4379
|
container: "left",
|
|
4369
4380
|
needRenderWrapper: !0
|
|
4370
4381
|
}, null, 8, ["survey"])),
|
|
4371
|
-
c("div",
|
|
4372
|
-
class: l(t.value.bodyCss),
|
|
4373
|
-
style: R({ maxWidth: t.value.renderedWidth }),
|
|
4374
|
-
id: a.value
|
|
4375
|
-
}, [
|
|
4382
|
+
c("div", Ft, [
|
|
4376
4383
|
(i(), q(T("sv-components-container"), {
|
|
4377
4384
|
survey: t.value,
|
|
4378
|
-
container: "
|
|
4385
|
+
container: "center",
|
|
4379
4386
|
needRenderWrapper: !0
|
|
4380
4387
|
}, null, 8, ["survey"])),
|
|
4381
|
-
(
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4388
|
+
c("div", {
|
|
4389
|
+
class: l(t.value.bodyCss),
|
|
4390
|
+
style: R({ maxWidth: t.value.renderedWidth }),
|
|
4391
|
+
id: a.value
|
|
4392
|
+
}, [
|
|
4393
|
+
(i(), q(T("sv-components-container"), {
|
|
4394
|
+
survey: t.value,
|
|
4395
|
+
container: "contentTop",
|
|
4396
|
+
needRenderWrapper: !0
|
|
4397
|
+
}, null, 8, ["survey"])),
|
|
4398
|
+
(i(), q(E, {
|
|
4399
|
+
key: g.value,
|
|
4400
|
+
survey: t.value,
|
|
4401
|
+
page: t.value.activePage,
|
|
4402
|
+
css: y.value
|
|
4403
|
+
}, null, 8, ["survey", "page", "css"])),
|
|
4404
|
+
(i(), q(T("sv-components-container"), {
|
|
4405
|
+
survey: t.value,
|
|
4406
|
+
container: "contentBottom",
|
|
4407
|
+
needRenderWrapper: !0
|
|
4408
|
+
}, null, 8, ["survey"]))
|
|
4409
|
+
], 14, zt)
|
|
4410
|
+
]),
|
|
4393
4411
|
(i(), q(T("sv-components-container"), {
|
|
4394
4412
|
survey: t.value,
|
|
4395
4413
|
container: "right",
|
|
@@ -4401,11 +4419,11 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4401
4419
|
container: "footer",
|
|
4402
4420
|
needRenderWrapper: !1
|
|
4403
4421
|
}, null, 8, ["survey"])),
|
|
4404
|
-
m.value ? (i(), u("div",
|
|
4422
|
+
m.value ? (i(), u("div", Ut, [
|
|
4405
4423
|
c("div", {
|
|
4406
4424
|
innerHTML: I(),
|
|
4407
4425
|
class: l(t.value.completedCss)
|
|
4408
|
-
}, null, 10,
|
|
4426
|
+
}, null, 10, Kt),
|
|
4409
4427
|
(i(), q(T("sv-components-container"), {
|
|
4410
4428
|
survey: t.value,
|
|
4411
4429
|
container: "completePage",
|
|
@@ -4416,12 +4434,12 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4416
4434
|
key: 3,
|
|
4417
4435
|
class: l(t.value.completedBeforeCss),
|
|
4418
4436
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4419
|
-
}, null, 10,
|
|
4437
|
+
}, null, 10, jt)) : d("", !0),
|
|
4420
4438
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4421
4439
|
key: 4,
|
|
4422
4440
|
class: l(t.value.loadingBodyCss),
|
|
4423
4441
|
innerHTML: t.value.processedLoadingHtml
|
|
4424
|
-
}, null, 10,
|
|
4442
|
+
}, null, 10, Qt)) : d("", !0),
|
|
4425
4443
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4426
4444
|
key: 5,
|
|
4427
4445
|
class: l(y.value.bodyEmpty)
|
|
@@ -4436,7 +4454,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4436
4454
|
], 6);
|
|
4437
4455
|
};
|
|
4438
4456
|
}
|
|
4439
|
-
}),
|
|
4457
|
+
}), Gt = /* @__PURE__ */ h({
|
|
4440
4458
|
__name: "Notifier",
|
|
4441
4459
|
props: {
|
|
4442
4460
|
model: {}
|
|
@@ -4460,7 +4478,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4460
4478
|
]);
|
|
4461
4479
|
};
|
|
4462
4480
|
}
|
|
4463
|
-
}),
|
|
4481
|
+
}), Xt = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Jt = { key: 1 }, Yt = /* @__PURE__ */ h({
|
|
4464
4482
|
__name: "QuestionOther",
|
|
4465
4483
|
props: {
|
|
4466
4484
|
question: {},
|
|
@@ -4488,11 +4506,11 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4488
4506
|
onInput: o[1] || (o[1] = (e) => {
|
|
4489
4507
|
s.question.onOtherValueInput(e);
|
|
4490
4508
|
})
|
|
4491
|
-
}, null, 46,
|
|
4492
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4509
|
+
}, null, 46, Xt)),
|
|
4510
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", Jt, S(s.question.otherValue), 1)) : d("", !0)
|
|
4493
4511
|
], 2));
|
|
4494
4512
|
}
|
|
4495
|
-
}),
|
|
4513
|
+
}), Zt = ["disabled", "value", "title"], xt = /* @__PURE__ */ h({
|
|
4496
4514
|
__name: "SurveyNavigationButton",
|
|
4497
4515
|
props: {
|
|
4498
4516
|
item: {}
|
|
@@ -4508,7 +4526,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4508
4526
|
title: e.item.getTooltip(),
|
|
4509
4527
|
onMousedown: o,
|
|
4510
4528
|
onClick: n[0] || (n[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4511
|
-
}, null, 42,
|
|
4529
|
+
}, null, 42, Zt)) : d("", !0);
|
|
4512
4530
|
}
|
|
4513
4531
|
}), ce = /* @__PURE__ */ h({
|
|
4514
4532
|
__name: "PopupSurvey",
|
|
@@ -4607,7 +4625,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4607
4625
|
], 6)) : d("", !0);
|
|
4608
4626
|
};
|
|
4609
4627
|
}
|
|
4610
|
-
}),
|
|
4628
|
+
}), ei = ["innerHTML"], si = /* @__PURE__ */ h({
|
|
4611
4629
|
__name: "CustomWidget",
|
|
4612
4630
|
props: {
|
|
4613
4631
|
question: {},
|
|
@@ -4630,7 +4648,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4630
4648
|
n.value ? (i(), u("div", {
|
|
4631
4649
|
key: 0,
|
|
4632
4650
|
innerHTML: t.value
|
|
4633
|
-
}, null, 8,
|
|
4651
|
+
}, null, 8, ei)) : d("", !0),
|
|
4634
4652
|
e.value ? (i(), q(T(a.value), {
|
|
4635
4653
|
key: 1,
|
|
4636
4654
|
question: p.question,
|
|
@@ -4638,7 +4656,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4638
4656
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4639
4657
|
], 512));
|
|
4640
4658
|
}
|
|
4641
|
-
}),
|
|
4659
|
+
}), ni = /* @__PURE__ */ h({
|
|
4642
4660
|
__name: "PopupModal",
|
|
4643
4661
|
setup(r) {
|
|
4644
4662
|
const s = j();
|
|
@@ -4680,7 +4698,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4680
4698
|
], 8, ["to"])) : d("", !0);
|
|
4681
4699
|
};
|
|
4682
4700
|
}
|
|
4683
|
-
}),
|
|
4701
|
+
}), oi = /* @__PURE__ */ h({
|
|
4684
4702
|
__name: "CharacterCounter",
|
|
4685
4703
|
props: {
|
|
4686
4704
|
counter: {},
|
|
@@ -4692,7 +4710,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4692
4710
|
class: l(o.remainingCharacterCounter)
|
|
4693
4711
|
}, S(o.counter.remainingCharacterCounter), 3));
|
|
4694
4712
|
}
|
|
4695
|
-
}),
|
|
4713
|
+
}), ti = /* @__PURE__ */ h({
|
|
4696
4714
|
inheritAttrs: !1,
|
|
4697
4715
|
__name: "Composite",
|
|
4698
4716
|
props: {
|
|
@@ -4713,7 +4731,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4713
4731
|
}, null, 8, ["element", "css"]);
|
|
4714
4732
|
};
|
|
4715
4733
|
}
|
|
4716
|
-
}),
|
|
4734
|
+
}), ii = /* @__PURE__ */ h({
|
|
4717
4735
|
inheritAttrs: !1,
|
|
4718
4736
|
__name: "Custom",
|
|
4719
4737
|
props: {
|
|
@@ -4730,9 +4748,9 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4730
4748
|
css: t.css
|
|
4731
4749
|
}, null, 8, ["question", "css"]));
|
|
4732
4750
|
}
|
|
4733
|
-
}),
|
|
4734
|
-
|
|
4735
|
-
], pe = 440,
|
|
4751
|
+
}), ri = /* @__PURE__ */ c("use", { "xlink:href": "#icon-timercircle" }, null, -1), li = [
|
|
4752
|
+
ri
|
|
4753
|
+
], pe = 440, ai = /* @__PURE__ */ h({
|
|
4736
4754
|
__name: "TimerPanel",
|
|
4737
4755
|
props: {
|
|
4738
4756
|
model: {},
|
|
@@ -4748,7 +4766,7 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4748
4766
|
key: 0,
|
|
4749
4767
|
class: l(n.model.getProgressCss()),
|
|
4750
4768
|
style: R({ strokeDasharray: pe, strokeDashoffset: o.value })
|
|
4751
|
-
},
|
|
4769
|
+
}, li, 6)) : d("", !0),
|
|
4752
4770
|
c("div", {
|
|
4753
4771
|
class: l(n.model.textContainerCss)
|
|
4754
4772
|
}, [
|
|
@@ -4767,17 +4785,17 @@ const tt = /* @__PURE__ */ ge(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4767
4785
|
[M, n.model.isRunning && !n.model.showTimerAsClock]
|
|
4768
4786
|
]);
|
|
4769
4787
|
}
|
|
4770
|
-
}),
|
|
4771
|
-
function
|
|
4788
|
+
}), ui = {}, di = { class: "sd-loading-indicator" };
|
|
4789
|
+
function mi(r, s) {
|
|
4772
4790
|
const o = v("sv-svg-icon");
|
|
4773
|
-
return i(), u("div",
|
|
4791
|
+
return i(), u("div", di, [
|
|
4774
4792
|
b(o, {
|
|
4775
4793
|
iconName: "icon-loading",
|
|
4776
4794
|
size: "'auto'"
|
|
4777
4795
|
})
|
|
4778
4796
|
]);
|
|
4779
4797
|
}
|
|
4780
|
-
const
|
|
4798
|
+
const ci = /* @__PURE__ */ ge(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @__PURE__ */ h({
|
|
4781
4799
|
__name: "Header",
|
|
4782
4800
|
props: {
|
|
4783
4801
|
model: {},
|
|
@@ -4809,16 +4827,16 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4809
4827
|
key: p
|
|
4810
4828
|
}, null, 8, ["model"]))), 128))
|
|
4811
4829
|
], 6)),
|
|
4812
|
-
o.survey.isMobile ? (i(), u("div",
|
|
4830
|
+
o.survey.isMobile ? (i(), u("div", pi, [
|
|
4813
4831
|
b(t, { model: o.model }, null, 8, ["model"])
|
|
4814
4832
|
])) : d("", !0)
|
|
4815
4833
|
], 6);
|
|
4816
4834
|
};
|
|
4817
4835
|
}
|
|
4818
|
-
}),
|
|
4836
|
+
}), yi = {
|
|
4819
4837
|
key: 0,
|
|
4820
4838
|
class: "sv-header__logo"
|
|
4821
|
-
},
|
|
4839
|
+
}, qi = ["src", "width", "height", "alt"], gi = /* @__PURE__ */ h({
|
|
4822
4840
|
__name: "HeaderCell",
|
|
4823
4841
|
props: {
|
|
4824
4842
|
model: {}
|
|
@@ -4834,7 +4852,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4834
4852
|
class: "sv-header__cell-content",
|
|
4835
4853
|
style: R(s.model.contentStyle)
|
|
4836
4854
|
}, [
|
|
4837
|
-
s.model.showLogo ? (i(), u("div",
|
|
4855
|
+
s.model.showLogo ? (i(), u("div", yi, [
|
|
4838
4856
|
c("div", {
|
|
4839
4857
|
class: l(s.model.survey.logoClassNames)
|
|
4840
4858
|
}, [
|
|
@@ -4845,7 +4863,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4845
4863
|
height: s.model.survey.renderedLogoHeight,
|
|
4846
4864
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4847
4865
|
style: R({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4848
|
-
}, null, 14,
|
|
4866
|
+
}, null, 14, qi)
|
|
4849
4867
|
], 2)
|
|
4850
4868
|
])) : d("", !0),
|
|
4851
4869
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -4876,10 +4894,10 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4876
4894
|
], 6);
|
|
4877
4895
|
};
|
|
4878
4896
|
}
|
|
4879
|
-
}),
|
|
4897
|
+
}), hi = { class: "sv-header--mobile" }, Ci = {
|
|
4880
4898
|
key: 0,
|
|
4881
4899
|
class: "sv-header__logo"
|
|
4882
|
-
},
|
|
4900
|
+
}, bi = ["src", "width", "height", "alt"], ki = /* @__PURE__ */ h({
|
|
4883
4901
|
__name: "HeaderMobile",
|
|
4884
4902
|
props: {
|
|
4885
4903
|
model: {}
|
|
@@ -4887,8 +4905,8 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4887
4905
|
setup(r) {
|
|
4888
4906
|
return (s, o) => {
|
|
4889
4907
|
const e = v("survey-element-title"), n = v("survey-string");
|
|
4890
|
-
return i(), u("div",
|
|
4891
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
4908
|
+
return i(), u("div", hi, [
|
|
4909
|
+
s.model.survey.hasLogo ? (i(), u("div", Ci, [
|
|
4892
4910
|
c("div", {
|
|
4893
4911
|
class: l(s.model.survey.logoClassNames)
|
|
4894
4912
|
}, [
|
|
@@ -4899,7 +4917,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4899
4917
|
height: s.model.survey.renderedLogoHeight,
|
|
4900
4918
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4901
4919
|
style: R({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4902
|
-
}, null, 14,
|
|
4920
|
+
}, null, 14, bi)
|
|
4903
4921
|
], 2)
|
|
4904
4922
|
])) : d("", !0),
|
|
4905
4923
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -4929,7 +4947,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4929
4947
|
]);
|
|
4930
4948
|
};
|
|
4931
4949
|
}
|
|
4932
|
-
}),
|
|
4950
|
+
}), fi = /* @__PURE__ */ h({
|
|
4933
4951
|
__name: "Element",
|
|
4934
4952
|
props: {
|
|
4935
4953
|
element: {},
|
|
@@ -4970,7 +4988,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4970
4988
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
4971
4989
|
], 6));
|
|
4972
4990
|
}
|
|
4973
|
-
}),
|
|
4991
|
+
}), Ii = /* @__PURE__ */ h({
|
|
4974
4992
|
__name: "TemplateRenderer",
|
|
4975
4993
|
props: {
|
|
4976
4994
|
componentName: {},
|
|
@@ -4980,7 +4998,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4980
4998
|
const s = Se(), o = w(() => !!s.default);
|
|
4981
4999
|
return (e, n) => o.value && !e.componentName ? Re(e.$slots, "default", { key: 0 }) : (i(), q(T(e.componentName), F(H({ key: 1 }, e.componentData)), null, 16));
|
|
4982
5000
|
}
|
|
4983
|
-
}),
|
|
5001
|
+
}), wi = /* @__PURE__ */ h({
|
|
4984
5002
|
__name: "FileCleanButton",
|
|
4985
5003
|
props: {
|
|
4986
5004
|
question: {},
|
|
@@ -5004,7 +5022,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5004
5022
|
], 2);
|
|
5005
5023
|
};
|
|
5006
5024
|
}
|
|
5007
|
-
}),
|
|
5025
|
+
}), Si = ["id"], Ri = /* @__PURE__ */ h({
|
|
5008
5026
|
__name: "FileVideo",
|
|
5009
5027
|
props: {
|
|
5010
5028
|
question: {}
|
|
@@ -5026,14 +5044,14 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5026
5044
|
playsinline: "",
|
|
5027
5045
|
id: s.question.videoId,
|
|
5028
5046
|
class: l(s.question.cssClasses.video)
|
|
5029
|
-
}, null, 10,
|
|
5047
|
+
}, null, 10, Si),
|
|
5030
5048
|
b(e, {
|
|
5031
5049
|
item: s.question.takePictureAction
|
|
5032
5050
|
}, null, 8, ["item"])
|
|
5033
5051
|
], 2);
|
|
5034
5052
|
};
|
|
5035
5053
|
}
|
|
5036
|
-
}),
|
|
5054
|
+
}), Ti = ["for", "aria-label"], $i = /* @__PURE__ */ h({
|
|
5037
5055
|
__name: "FileChooseButton",
|
|
5038
5056
|
props: {
|
|
5039
5057
|
data: {},
|
|
@@ -5061,12 +5079,12 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5061
5079
|
size: "auto"
|
|
5062
5080
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5063
5081
|
c("span", null, S(o.value.chooseButtonText), 1)
|
|
5064
|
-
], 10,
|
|
5082
|
+
], 10, Ti)), [
|
|
5065
5083
|
[a]
|
|
5066
5084
|
]);
|
|
5067
5085
|
};
|
|
5068
5086
|
}
|
|
5069
|
-
}),
|
|
5087
|
+
}), Di = ["onClick", "href", "title", "download"], _i = ["src"], Bi = ["onClick"], Li = ["onClick", "href", "title", "download"], Ni = /* @__PURE__ */ h({
|
|
5070
5088
|
__name: "FilePreview",
|
|
5071
5089
|
props: {
|
|
5072
5090
|
question: {}
|
|
@@ -5092,7 +5110,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5092
5110
|
title: n.name,
|
|
5093
5111
|
download: n.name,
|
|
5094
5112
|
style: R({ width: s.question.imageWidth })
|
|
5095
|
-
}, S(n.name), 13,
|
|
5113
|
+
}, S(n.name), 13, Di)
|
|
5096
5114
|
], 2)) : d("", !0),
|
|
5097
5115
|
c("div", {
|
|
5098
5116
|
class: l(s.question.getImageWrapperCss(n))
|
|
@@ -5105,7 +5123,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5105
5123
|
width: s.question.imageWidth
|
|
5106
5124
|
}),
|
|
5107
5125
|
alt: "File preview"
|
|
5108
|
-
}, null, 12,
|
|
5126
|
+
}, null, 12, _i)) : d("", !0),
|
|
5109
5127
|
s.question.defaultImage(n) ? (i(), q(e, {
|
|
5110
5128
|
key: 1,
|
|
5111
5129
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5127,7 +5145,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5127
5145
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5128
5146
|
size: "auto"
|
|
5129
5147
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5130
|
-
], 10,
|
|
5148
|
+
], 10, Bi)) : d("", !0)
|
|
5131
5149
|
], 2),
|
|
5132
5150
|
n.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5133
5151
|
key: 1,
|
|
@@ -5139,7 +5157,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5139
5157
|
title: n.name,
|
|
5140
5158
|
download: n.name,
|
|
5141
5159
|
style: R({ width: s.question.imageWidth })
|
|
5142
|
-
}, S(n.name), 13,
|
|
5160
|
+
}, S(n.name), 13, Li)
|
|
5143
5161
|
], 2)) : d("", !0)
|
|
5144
5162
|
], 2)), [
|
|
5145
5163
|
[M, n && s.question.isPreviewVisible(t)]
|
|
@@ -5147,7 +5165,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5147
5165
|
], 2)) : d("", !0);
|
|
5148
5166
|
};
|
|
5149
5167
|
}
|
|
5150
|
-
}),
|
|
5168
|
+
}), Pi = /* @__PURE__ */ h({
|
|
5151
5169
|
__name: "ButtonGroup",
|
|
5152
5170
|
props: {
|
|
5153
5171
|
question: {}
|
|
@@ -5171,7 +5189,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5171
5189
|
], 2);
|
|
5172
5190
|
};
|
|
5173
5191
|
}
|
|
5174
|
-
}),
|
|
5192
|
+
}), Ai = ["title"], Mi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "disabled", "value"], Hi = ["title"], Wi = /* @__PURE__ */ h({
|
|
5175
5193
|
__name: "ButtonGroupItem",
|
|
5176
5194
|
props: {
|
|
5177
5195
|
item: {},
|
|
@@ -5208,7 +5226,7 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5208
5226
|
class: l(o.value.css.control),
|
|
5209
5227
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.value = m),
|
|
5210
5228
|
value: o.value.value
|
|
5211
|
-
}, null, 10,
|
|
5229
|
+
}, null, 10, Mi), [
|
|
5212
5230
|
[se, e.value]
|
|
5213
5231
|
]),
|
|
5214
5232
|
c("div", {
|
|
@@ -5228,12 +5246,12 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5228
5246
|
b(p, {
|
|
5229
5247
|
locString: o.value.caption
|
|
5230
5248
|
}, null, 8, ["locString"])
|
|
5231
|
-
], 10,
|
|
5249
|
+
], 10, Hi)) : d("", !0)
|
|
5232
5250
|
], 2)
|
|
5233
|
-
], 10,
|
|
5251
|
+
], 10, Ai);
|
|
5234
5252
|
};
|
|
5235
5253
|
}
|
|
5236
|
-
}),
|
|
5254
|
+
}), Ei = ["src", "width", "height", "alt"], Vi = /* @__PURE__ */ h({
|
|
5237
5255
|
inheritAttrs: !1,
|
|
5238
5256
|
__name: "Logo",
|
|
5239
5257
|
props: {
|
|
@@ -5241,23 +5259,27 @@ const pi = /* @__PURE__ */ ge(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5241
5259
|
},
|
|
5242
5260
|
setup(r) {
|
|
5243
5261
|
const s = r, o = w(() => s.data), e = Q(() => o.value.locLogo);
|
|
5244
|
-
return (n, t) => (i(), u("
|
|
5245
|
-
class: l(o.value.
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5262
|
+
return (n, t) => (i(), u("div", {
|
|
5263
|
+
class: l(o.value.logoClassNames)
|
|
5264
|
+
}, [
|
|
5265
|
+
c("img", {
|
|
5266
|
+
class: l(o.value.css.logoImage),
|
|
5267
|
+
src: f(e),
|
|
5268
|
+
width: o.value.renderedLogoWidth,
|
|
5269
|
+
height: o.value.renderedLogoHeight,
|
|
5270
|
+
alt: o.value.locTitle.renderedHtml,
|
|
5271
|
+
style: R({
|
|
5272
|
+
objectFit: o.value.logoFit,
|
|
5273
|
+
width: o.value.renderedStyleLogoWidth,
|
|
5274
|
+
height: o.value.renderedStyleLogoHeight
|
|
5275
|
+
})
|
|
5276
|
+
}, null, 14, Ei)
|
|
5277
|
+
], 2));
|
|
5256
5278
|
}
|
|
5257
5279
|
});
|
|
5258
5280
|
Oe.platform = "vue3";
|
|
5259
|
-
function
|
|
5260
|
-
r.component("SurveyComponent", me), r.component("PopupSurveyComponent", ce), r.component("survey", me), r.component("popup-survey", ce), r.component("survey-header", je), r.component("sv-logo-image",
|
|
5281
|
+
function Oi(r) {
|
|
5282
|
+
r.component("SurveyComponent", me), r.component("PopupSurveyComponent", ce), r.component("survey", me), r.component("popup-survey", ce), r.component("survey-header", je), r.component("sv-logo-image", Vi), r.component("survey-page", Ke), r.component("survey-row", Qe), r.component("survey-question", Je), r.component("survey-panel", es), r.component("survey-element-header", ss), r.component("survey-string", ns), r.component("sv-string-viewer", is), r.component("sv-string-editor", ls), r.component("sv-skeleton", us), r.component("survey-text", cs), r.component("survey-text-input", qs), r.component("survey-checkbox", ks), r.component("survey-checkbox-item", Ss), r.component("survey-radiogroup", Rs), r.component("survey-radiogroup-item", Ds), r.component("survey-signaturepad", Ns), r.component("survey-html", As), r.component("survey-image", Es), r.component("survey-expression", Vs), r.component("survey-file", zs), r.component("sv-file-choose-btn", $i), r.component("sv-file-clean-btn", wi), r.component("sv-file-preview", Ni), r.component("sv-file-video", Ri), r.component("survey-imagepicker", Ks), r.component("survey-imagepicker-item", Js), r.component("survey-comment", xs), r.component("survey-dropdown", en), r.component("sv-dropdown-select", tn), r.component("sv-dropdown-option-item", ln), r.component("sv-dropdown", cn), r.component("survey-tagbox", pn), r.component("sv-tagbox", qn), r.component("sv-tagbox-item", kn), r.component("sv-tagbox-filter", Cn), r.component("survey-ranking", fn), r.component("survey-ranking-item", $n), r.component("survey-rating", Bn), r.component("sv-rating-item", Nn), r.component("sv-rating-item-smiley", An), r.component("sv-rating-item-star", Hn), r.component("sv-rating-dropdown", Fn), r.component("sv-rating-dropdown-item", On), r.component("survey-boolean", Un), r.component("sv-boolean-radio", Kn), r.component("sv-boolean-radio-item", Gn), r.component("sv-boolean-checkbox", xn), r.component("survey-multipletext", eo), r.component("survey-multipletext-item", no), r.component("survey-matrix", mo), r.component("survey-matrixdropdown", co), r.component("survey-matrixtable", qo), r.component("survey-matrixheaderrequired", ho), r.component("survey-matrixcell", bo), r.component("survey-matrixdynamic", ko), r.component("sv-matrix-remove-button", Io), r.component("sv-matrix-drag-drop-icon", So), r.component("sv-matrix-detail-button", To), r.component("survey-paneldynamic", $o), r.component("survey-paneldynamicprogress", Do), r.component("survey-paneldynamicprogress-v2", _o), r.component("sv-paneldynamic-add-btn", Bo), r.component("sv-paneldynamic-next-btn", No), r.component("sv-paneldynamic-prev-btn", Ao), r.component("sv-paneldynamic-remove-btn", Mo), r.component("sv-paneldynamic-progress-text", Ho), r.component("sv-components-container", Pt), r.component("sv-progress-buttons", Wt), r.component("sv-progress-toc", Et), r.component("sv-progress-pages", x), r.component("sv-progress-questions", x), r.component("sv-progress-correctquestions", x), r.component("sv-progress-requiredquestions", x), r.component("survey-errors", Eo), r.component("survey-question-comment", Fo), r.component("survey-element-title", zo), r.component("survey-element-title-content", Qo), r.component("sv-title-actions", Jo), r.component("sv-brand-info", nt), r.component("sv-svg-icon", it), r.component("sv-action-bar", rt), r.component("sv-action", ut), r.component("sv-action-bar-item", ct), r.component("sv-action-bar-item-dropdown", yt), r.component("sv-action-bar-separator", qt), r.component("sv-list", bt), r.component("sv-list-item", It), r.component("sv-popup", wt), r.component("sv-popup-container", Bt), r.component("popup-pointer", Lt), r.component("sv-notifier", Gt), r.component("survey-other-choice", Yt), r.component("sv-nav-btn", xt), r.component("survey-customwidget", si), r.component("survey-popup-modal", ni), r.component("sv-character-counter", oi), r.component("survey-composite", ti), r.component("survey-custom", ii), r.component("sv-timerpanel", ai), r.component("sv-loading-indicator", ci), r.component("sv-header", vi), r.component("sv-header-cell", gi), r.component("sv-header-mobile", ki), r.component("sv-template-renderer", Ii), r.component("survey-element", fi), r.component("survey-buttongroup", Pi), r.component("sv-button-group-item", Wi), r.directive("key2click", {
|
|
5261
5283
|
mounted: function(s, o) {
|
|
5262
5284
|
const e = { ...o.value };
|
|
5263
5285
|
if (e.disableTabStop) {
|
|
@@ -5272,13 +5294,13 @@ function Fi(r) {
|
|
|
5272
5294
|
}
|
|
5273
5295
|
});
|
|
5274
5296
|
}
|
|
5275
|
-
const
|
|
5297
|
+
const Ki = {
|
|
5276
5298
|
install(r) {
|
|
5277
|
-
|
|
5299
|
+
Oi(r);
|
|
5278
5300
|
}
|
|
5279
5301
|
};
|
|
5280
5302
|
export {
|
|
5281
|
-
|
|
5303
|
+
Ki as surveyPlugin,
|
|
5282
5304
|
L as useBase,
|
|
5283
5305
|
Q as useLocString,
|
|
5284
5306
|
A as useQuestion
|