survey-vue3-ui 1.9.116 → 1.9.117
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 +249 -241
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { shallowReactive as ce, watch as K, onBeforeUnmount as j, onMounted as
|
|
2
|
-
import { Base as fe, RendererFactory as Y, DropdownListModel as Ie, Helpers as we, DropdownMultiSelectListModel as Se, doKey2ClickUp as de, createSvg as Te, ActionDropdownViewModel as Re, getActionDropdownButtonTarget as $e, createPopupViewModel as te, SurveyProgressModel as ie, SurveyProgressButtonsModel as Be, TOCModel as Le, SvgRegistry as De, PopupSurveyModel as Pe, settings as F, createDialogOptions as Me, createPopupModalViewModel as Ne, SurveyModel as He, doKey2ClickDown as
|
|
1
|
+
import { shallowReactive as ce, watch as K, onBeforeUnmount as j, onMounted as _, ref as $, shallowRef as O, triggerRef as oe, unref as k, isRef as pe, defineComponent as g, computed as R, onUpdated as J, resolveComponent as q, openBlock as t, createElementBlock as u, normalizeClass as l, createVNode as C, createCommentVNode as d, Fragment as S, renderList as B, createBlock as y, createElementVNode as p, normalizeStyle as w, onUnmounted as W, withDirectives as P, resolveDynamicComponent as N, vShow as A, toDisplayString as I, vModelCheckbox as U, vModelRadio as Z, vModelSelect as ve, vModelText as qe, getCurrentInstance as x, withCtx as ye, createStaticVNode as ge, resolveDirective as ee, normalizeProps as he, guardReactiveProps as Ce, toRaw as be, Teleport as ke } from "vue";
|
|
2
|
+
import { Base as fe, RendererFactory as Y, DropdownListModel as Ie, Helpers as we, DropdownMultiSelectListModel as Se, doKey2ClickUp as de, createSvg as Te, ActionDropdownViewModel as Re, getActionDropdownButtonTarget as $e, createPopupViewModel as te, SurveyProgressModel as ie, SurveyProgressButtonsModel as Be, TOCModel as Le, SvgRegistry as De, PopupSurveyModel as Pe, settings as F, createDialogOptions as Me, createPopupModalViewModel as Ne, SurveyModel as He, doKey2ClickDown as Ae, doKey2ClickBlur as _e } from "survey-core";
|
|
3
3
|
fe.createPropertiesHash = () => ce({});
|
|
4
4
|
function Ee(r) {
|
|
5
5
|
return !r || r.__vueImplemented ? !1 : (r.createArrayCoreHandler = (n, o) => {
|
|
@@ -40,7 +40,7 @@ function L(r, n, o) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
function H(r, n, o, e) {
|
|
43
|
-
L(() => r.question, o, e),
|
|
43
|
+
L(() => r.question, o, e), _(() => {
|
|
44
44
|
r.question && r.question.afterRenderQuestionElement(n.value);
|
|
45
45
|
}), j(() => {
|
|
46
46
|
r.question.beforeDestroyQuestionElement(n.value);
|
|
@@ -77,7 +77,7 @@ const We = /* @__PURE__ */ g({
|
|
|
77
77
|
const n = r, o = $(null);
|
|
78
78
|
L(() => n.page);
|
|
79
79
|
const e = R(() => n.page._showDescription), s = R(() => n.page.rows);
|
|
80
|
-
return
|
|
80
|
+
return _(() => {
|
|
81
81
|
n.survey && n.survey.afterRenderPage(o.value);
|
|
82
82
|
}), J(() => {
|
|
83
83
|
n.survey.afterRenderPage(o.value);
|
|
@@ -118,7 +118,7 @@ const We = /* @__PURE__ */ g({
|
|
|
118
118
|
},
|
|
119
119
|
setup(r) {
|
|
120
120
|
const n = r, o = $(), e = z(() => n.survey.locLogo);
|
|
121
|
-
return
|
|
121
|
+
return _(() => {
|
|
122
122
|
var s = o.value;
|
|
123
123
|
s && n.survey && n.survey.afterRenderHeader(s);
|
|
124
124
|
}), (s, i) => {
|
|
@@ -198,7 +198,7 @@ const We = /* @__PURE__ */ g({
|
|
|
198
198
|
const n = r, o = R(
|
|
199
199
|
() => n.row.visibleElements
|
|
200
200
|
), e = $();
|
|
201
|
-
return L(() => n.row),
|
|
201
|
+
return L(() => n.row), _(() => {
|
|
202
202
|
if (n.row && !n.row.isNeedRender) {
|
|
203
203
|
const s = e.value;
|
|
204
204
|
setTimeout(() => {
|
|
@@ -323,7 +323,7 @@ const We = /* @__PURE__ */ g({
|
|
|
323
323
|
}, null, 8, ["locString"])
|
|
324
324
|
], 2)) : d("", !0)
|
|
325
325
|
], 2), [
|
|
326
|
-
[
|
|
326
|
+
[A, m.element.isPanel || !m.element.isCollapsed]
|
|
327
327
|
]),
|
|
328
328
|
!m.element.isPanel && m.element.hasTitleOnBottom ? (t(), y(f, {
|
|
329
329
|
key: 2,
|
|
@@ -351,7 +351,7 @@ const We = /* @__PURE__ */ g({
|
|
|
351
351
|
},
|
|
352
352
|
setup(r) {
|
|
353
353
|
const n = r, o = $(!1), e = $(null), s = R(() => n.question.rows), i = R(() => n.question.survey), a = R(() => o.value);
|
|
354
|
-
return L(() => n.question),
|
|
354
|
+
return L(() => n.question), _(() => {
|
|
355
355
|
n.question.survey && n.question.survey.afterRenderPanel(n.question, e.value), o.value = n.question.isCollapsed;
|
|
356
356
|
const c = n.question;
|
|
357
357
|
c.stateChangedCallback = () => {
|
|
@@ -431,7 +431,7 @@ const We = /* @__PURE__ */ g({
|
|
|
431
431
|
locString: e.element.locDescription
|
|
432
432
|
}, null, 8, ["locString"])
|
|
433
433
|
], 2)), [
|
|
434
|
-
[
|
|
434
|
+
[A, e.element.hasDescription]
|
|
435
435
|
]) : d("", !0),
|
|
436
436
|
e.element.additionalTitleToolbar ? (t(), y(c, {
|
|
437
437
|
key: 1,
|
|
@@ -922,7 +922,7 @@ const We = /* @__PURE__ */ g({
|
|
|
922
922
|
locString: e.question.locPlaceholder
|
|
923
923
|
}, null, 8, ["locString"])
|
|
924
924
|
], 2), [
|
|
925
|
-
[
|
|
925
|
+
[A, e.question.needShowPlaceholder()]
|
|
926
926
|
]),
|
|
927
927
|
p("div", null, [
|
|
928
928
|
e.question.backgroundImage ? (t(), u("img", {
|
|
@@ -977,7 +977,7 @@ const We = /* @__PURE__ */ g({
|
|
|
977
977
|
innerHTML: k(e)
|
|
978
978
|
}, null, 10, Ds));
|
|
979
979
|
}
|
|
980
|
-
}), Ms = ["src", "alt", "width", "height"], Ns = ["src", "width", "height"], Hs = ["src", "width", "height"],
|
|
980
|
+
}), Ms = ["src", "alt", "width", "height"], Ns = ["src", "width", "height"], Hs = ["src", "width", "height"], As = /* @__PURE__ */ g({
|
|
981
981
|
__name: "Image",
|
|
982
982
|
props: {
|
|
983
983
|
question: {}
|
|
@@ -1012,7 +1012,7 @@ const We = /* @__PURE__ */ g({
|
|
|
1012
1012
|
s.question.onErrorHandler();
|
|
1013
1013
|
})
|
|
1014
1014
|
}, null, 46, Ms)), [
|
|
1015
|
-
[
|
|
1015
|
+
[A, k(e) && !s.question.contentNotLoaded]
|
|
1016
1016
|
]) : d("", !0),
|
|
1017
1017
|
s.question.renderedMode === "video" ? P((t(), u("video", {
|
|
1018
1018
|
key: 1,
|
|
@@ -1033,7 +1033,7 @@ const We = /* @__PURE__ */ g({
|
|
|
1033
1033
|
s.question.onErrorHandler();
|
|
1034
1034
|
})
|
|
1035
1035
|
}, null, 46, Ns)), [
|
|
1036
|
-
[
|
|
1036
|
+
[A, k(e) && !s.question.contentNotLoaded]
|
|
1037
1037
|
]) : d("", !0),
|
|
1038
1038
|
s.question.renderedMode === "youtube" ? (t(), u("iframe", {
|
|
1039
1039
|
key: 2,
|
|
@@ -1059,7 +1059,7 @@ const We = /* @__PURE__ */ g({
|
|
|
1059
1059
|
], 2);
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
|
-
}),
|
|
1062
|
+
}), _s = /* @__PURE__ */ g({
|
|
1063
1063
|
__name: "Expression",
|
|
1064
1064
|
props: {
|
|
1065
1065
|
question: {}
|
|
@@ -1539,7 +1539,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1539
1539
|
disabled: !e.item.isEnabled
|
|
1540
1540
|
}, I(k(o)), 9, nn));
|
|
1541
1541
|
}
|
|
1542
|
-
}), tn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], ln = { style: { visibility: "hidden" } }, rn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], an = ["
|
|
1542
|
+
}), tn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], ln = { style: { visibility: "hidden" } }, rn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], an = ["tabindex"], un = ["id"], dn = /* @__PURE__ */ g({
|
|
1543
1543
|
__name: "Dropdown",
|
|
1544
1544
|
props: {
|
|
1545
1545
|
question: {}
|
|
@@ -1576,7 +1576,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1576
1576
|
}, f = R(
|
|
1577
1577
|
() => n.question.showSelectedItemLocText
|
|
1578
1578
|
), M = R(() => n.question.selectedItemLocText);
|
|
1579
|
-
return L(() => e.value), J(v),
|
|
1579
|
+
return L(() => e.value), J(v), _(v), (h, D) => {
|
|
1580
1580
|
const E = q("survey-string"), V = q("sv-svg-icon"), G = q("sv-popup");
|
|
1581
1581
|
return t(), u("div", {
|
|
1582
1582
|
class: l(h.question.cssClasses.selectWrapper),
|
|
@@ -1586,7 +1586,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1586
1586
|
key: 0,
|
|
1587
1587
|
id: h.question.inputId,
|
|
1588
1588
|
disabled: h.question.isInputReadOnly ? !0 : null,
|
|
1589
|
-
tabindex: e.value.
|
|
1589
|
+
tabindex: e.value.noTabIndex ? void 0 : 0,
|
|
1590
1590
|
onKeydown: c,
|
|
1591
1591
|
onBlur: m,
|
|
1592
1592
|
class: l(h.question.getControlClass()),
|
|
@@ -1635,8 +1635,8 @@ const sn = /* @__PURE__ */ g({
|
|
|
1635
1635
|
inputmode: e.value.inputMode,
|
|
1636
1636
|
role: e.value.filterStringEnabled ? h.question.ariaRole : void 0,
|
|
1637
1637
|
id: h.question.getInputId(),
|
|
1638
|
-
tabindex: e.value.
|
|
1639
|
-
readonly: e.value.
|
|
1638
|
+
tabindex: e.value.noTabIndex ? void 0 : -1,
|
|
1639
|
+
readonly: e.value.filterReadOnly ? !0 : void 0,
|
|
1640
1640
|
"aria-expanded": h.question.ariaExpanded === null ? void 0 : h.question.ariaExpanded === "true",
|
|
1641
1641
|
"aria-controls": e.value.listElementId,
|
|
1642
1642
|
"aria-label": h.question.a11y_input_ariaLabel,
|
|
@@ -1651,7 +1651,8 @@ const sn = /* @__PURE__ */ g({
|
|
|
1651
1651
|
h.question.allowClear && h.question.cssClasses.cleanButtonIconId ? P((t(), u("div", {
|
|
1652
1652
|
key: 1,
|
|
1653
1653
|
class: l(h.question.cssClasses.cleanButton),
|
|
1654
|
-
onClick: a
|
|
1654
|
+
onClick: a,
|
|
1655
|
+
tabindex: h.question.showClearButton ? 0 : -1
|
|
1655
1656
|
}, [
|
|
1656
1657
|
C(V, {
|
|
1657
1658
|
class: l(h.question.cssClasses.cleanButtonSvg),
|
|
@@ -1659,8 +1660,8 @@ const sn = /* @__PURE__ */ g({
|
|
|
1659
1660
|
title: h.question.clearCaption,
|
|
1660
1661
|
size: "auto"
|
|
1661
1662
|
}, null, 8, ["class", "iconName", "title"])
|
|
1662
|
-
],
|
|
1663
|
-
[
|
|
1663
|
+
], 10, an)), [
|
|
1664
|
+
[A, h.question.showClearButton]
|
|
1664
1665
|
]) : d("", !0)
|
|
1665
1666
|
], 42, tn)),
|
|
1666
1667
|
h.question.isReadOnly ? (t(), u("div", {
|
|
@@ -1674,14 +1675,15 @@ const sn = /* @__PURE__ */ g({
|
|
|
1674
1675
|
locString: h.question.selectedItemLocText
|
|
1675
1676
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1676
1677
|
p("div", null, I(h.question.readOnlyText), 1)
|
|
1677
|
-
], 10,
|
|
1678
|
+
], 10, un)) : (t(), y(G, {
|
|
1678
1679
|
key: 1,
|
|
1679
1680
|
model: h.question.dropdownListModel.popupModel
|
|
1680
1681
|
}, null, 8, ["model"])),
|
|
1681
1682
|
h.question.cssClasses.chevronButtonIconId ? (t(), u("div", {
|
|
1682
1683
|
key: 3,
|
|
1683
1684
|
class: l(h.question.cssClasses.chevronButton),
|
|
1684
|
-
onPointerdown: i
|
|
1685
|
+
onPointerdown: i,
|
|
1686
|
+
"aria-hidden": "true"
|
|
1685
1687
|
}, [
|
|
1686
1688
|
C(V, {
|
|
1687
1689
|
class: l(h.question.cssClasses.chevronButtonSvg),
|
|
@@ -1692,7 +1694,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1692
1694
|
], 2);
|
|
1693
1695
|
};
|
|
1694
1696
|
}
|
|
1695
|
-
}),
|
|
1697
|
+
}), mn = /* @__PURE__ */ g({
|
|
1696
1698
|
__name: "Tagbox",
|
|
1697
1699
|
props: {
|
|
1698
1700
|
question: {}
|
|
@@ -1714,7 +1716,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1714
1716
|
], 2);
|
|
1715
1717
|
};
|
|
1716
1718
|
}
|
|
1717
|
-
}),
|
|
1719
|
+
}), cn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], pn = ["tabindex"], vn = ["id"], qn = /* @__PURE__ */ g({
|
|
1718
1720
|
__name: "Tagbox",
|
|
1719
1721
|
props: {
|
|
1720
1722
|
question: {}
|
|
@@ -1748,7 +1750,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1748
1750
|
m.question.isReadOnly ? d("", !0) : (t(), u("div", {
|
|
1749
1751
|
key: 0,
|
|
1750
1752
|
id: m.question.inputId,
|
|
1751
|
-
tabindex: o.value.
|
|
1753
|
+
tabindex: o.value.noTabIndex ? void 0 : 0,
|
|
1752
1754
|
disabled: m.question.isInputReadOnly ? !0 : null,
|
|
1753
1755
|
onKeydown: a,
|
|
1754
1756
|
onBlur: c,
|
|
@@ -1779,7 +1781,8 @@ const sn = /* @__PURE__ */ g({
|
|
|
1779
1781
|
m.question.allowClear && m.question.cssClasses.cleanButtonIconId ? P((t(), u("div", {
|
|
1780
1782
|
key: 0,
|
|
1781
1783
|
class: l(m.question.cssClasses.cleanButton),
|
|
1782
|
-
onClick: i
|
|
1784
|
+
onClick: i,
|
|
1785
|
+
tabindex: m.question.showClearButton ? 0 : -1
|
|
1783
1786
|
}, [
|
|
1784
1787
|
C(M, {
|
|
1785
1788
|
class: l(m.question.cssClasses.cleanButtonSvg),
|
|
@@ -1787,10 +1790,10 @@ const sn = /* @__PURE__ */ g({
|
|
|
1787
1790
|
title: m.question.clearCaption,
|
|
1788
1791
|
size: "auto"
|
|
1789
1792
|
}, null, 8, ["class", "iconName", "title"])
|
|
1790
|
-
],
|
|
1791
|
-
[
|
|
1793
|
+
], 10, pn)), [
|
|
1794
|
+
[A, m.question.showClearButton]
|
|
1792
1795
|
]) : d("", !0)
|
|
1793
|
-
], 42,
|
|
1796
|
+
], 42, cn)),
|
|
1794
1797
|
m.question.isReadOnly ? (t(), u("div", {
|
|
1795
1798
|
key: 2,
|
|
1796
1799
|
disabled: "",
|
|
@@ -1798,7 +1801,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1798
1801
|
class: l(m.question.getControlClass())
|
|
1799
1802
|
}, [
|
|
1800
1803
|
p("div", null, I(m.question.readOnlyText), 1)
|
|
1801
|
-
], 10,
|
|
1804
|
+
], 10, vn)) : (t(), y(h, {
|
|
1802
1805
|
key: 1,
|
|
1803
1806
|
model: o.value.popupModel
|
|
1804
1807
|
}, null, 8, ["model"])),
|
|
@@ -1816,7 +1819,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1816
1819
|
], 2);
|
|
1817
1820
|
};
|
|
1818
1821
|
}
|
|
1819
|
-
}),
|
|
1822
|
+
}), yn = { style: { visibility: "hidden" } }, gn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "id", "readonly", "size"], hn = /* @__PURE__ */ g({
|
|
1820
1823
|
__name: "TagboxFilter",
|
|
1821
1824
|
props: {
|
|
1822
1825
|
question: {},
|
|
@@ -1855,7 +1858,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1855
1858
|
key: 1,
|
|
1856
1859
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1857
1860
|
}, [
|
|
1858
|
-
p("span",
|
|
1861
|
+
p("span", yn, I(a.model.inputStringRendered), 1),
|
|
1859
1862
|
p("span", null, I(a.model.hintStringSuffix), 1)
|
|
1860
1863
|
], 2)) : d("", !0),
|
|
1861
1864
|
P(p("input", {
|
|
@@ -1873,20 +1876,20 @@ const sn = /* @__PURE__ */ g({
|
|
|
1873
1876
|
"aria-labelledby": a.question.a11y_input_ariaLabelledBy,
|
|
1874
1877
|
"aria-activedescendant": a.model.ariaActivedescendant,
|
|
1875
1878
|
id: a.question.getInputId(),
|
|
1876
|
-
readonly: a.model.
|
|
1879
|
+
readonly: a.model.filterReadOnly ? !0 : void 0,
|
|
1877
1880
|
size: a.model.inputStringRendered ? void 0 : 1,
|
|
1878
1881
|
onChange: o,
|
|
1879
1882
|
onKeydown: e,
|
|
1880
1883
|
onBlur: s,
|
|
1881
1884
|
onFocus: i
|
|
1882
|
-
}, null, 42,
|
|
1885
|
+
}, null, 42, gn), [
|
|
1883
1886
|
[qe, a.model.inputStringRendered]
|
|
1884
1887
|
])
|
|
1885
1888
|
], 2)
|
|
1886
1889
|
], 2);
|
|
1887
1890
|
};
|
|
1888
1891
|
}
|
|
1889
|
-
}),
|
|
1892
|
+
}), Cn = { class: "sv-tagbox__item-text" }, bn = /* @__PURE__ */ g({
|
|
1890
1893
|
__name: "TagboxItem",
|
|
1891
1894
|
props: {
|
|
1892
1895
|
question: {},
|
|
@@ -1902,7 +1905,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1902
1905
|
class: "sv-tagbox__item",
|
|
1903
1906
|
key: e.item.key
|
|
1904
1907
|
}, [
|
|
1905
|
-
p("div",
|
|
1908
|
+
p("div", Cn, [
|
|
1906
1909
|
C(i, {
|
|
1907
1910
|
locString: e.item.locText
|
|
1908
1911
|
}, null, 8, ["locString"])
|
|
@@ -1920,7 +1923,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
1920
1923
|
]);
|
|
1921
1924
|
};
|
|
1922
1925
|
}
|
|
1923
|
-
}),
|
|
1926
|
+
}), kn = /* @__PURE__ */ g({
|
|
1924
1927
|
__name: "Ranking",
|
|
1925
1928
|
props: {
|
|
1926
1929
|
question: {}
|
|
@@ -1994,10 +1997,10 @@ const sn = /* @__PURE__ */ g({
|
|
|
1994
1997
|
], 2);
|
|
1995
1998
|
};
|
|
1996
1999
|
}
|
|
1997
|
-
}),
|
|
2000
|
+
}), fn = ["tabindex", "data-sv-drop-target-ranking-item"], In = {
|
|
1998
2001
|
tabindex: "-1",
|
|
1999
2002
|
style: { outline: "none" }
|
|
2000
|
-
},
|
|
2003
|
+
}, wn = ["xlink:href"], Sn = ["xlink:href"], Tn = ["xlink:href"], Rn = /* @__PURE__ */ g({
|
|
2001
2004
|
__name: "RankingItem",
|
|
2002
2005
|
props: {
|
|
2003
2006
|
index: {},
|
|
@@ -2029,7 +2032,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2029
2032
|
);
|
|
2030
2033
|
})
|
|
2031
2034
|
}, [
|
|
2032
|
-
p("div",
|
|
2035
|
+
p("div", In, [
|
|
2033
2036
|
p("div", {
|
|
2034
2037
|
class: l(o.cssClasses.itemGhostNode)
|
|
2035
2038
|
}, null, 2),
|
|
@@ -2044,14 +2047,14 @@ const sn = /* @__PURE__ */ g({
|
|
|
2044
2047
|
}, [
|
|
2045
2048
|
p("use", {
|
|
2046
2049
|
"xlink:href": o.question.dragDropSvgIcon
|
|
2047
|
-
}, null, 8,
|
|
2050
|
+
}, null, 8, wn)
|
|
2048
2051
|
], 2)),
|
|
2049
2052
|
(t(), u("svg", {
|
|
2050
2053
|
class: l(o.question.getIconFocusCss())
|
|
2051
2054
|
}, [
|
|
2052
2055
|
p("use", {
|
|
2053
2056
|
"xlink:href": o.question.arrowsSvgIcon
|
|
2054
|
-
}, null, 8,
|
|
2057
|
+
}, null, 8, Sn)
|
|
2055
2058
|
], 2))
|
|
2056
2059
|
], 2),
|
|
2057
2060
|
!o.unrankedItem && o.indexText ? (t(), u("div", {
|
|
@@ -2064,7 +2067,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2064
2067
|
(t(), u("svg", null, [
|
|
2065
2068
|
p("use", {
|
|
2066
2069
|
"xlink:href": o.question.dashSvgIcon
|
|
2067
|
-
}, null, 8,
|
|
2070
|
+
}, null, 8, Tn)
|
|
2068
2071
|
]))
|
|
2069
2072
|
], 2)),
|
|
2070
2073
|
p("div", {
|
|
@@ -2074,13 +2077,13 @@ const sn = /* @__PURE__ */ g({
|
|
|
2074
2077
|
], 2)
|
|
2075
2078
|
], 2)
|
|
2076
2079
|
])
|
|
2077
|
-
], 42,
|
|
2080
|
+
], 42, fn);
|
|
2078
2081
|
};
|
|
2079
2082
|
}
|
|
2080
|
-
}),
|
|
2083
|
+
}), $n = { role: "radiogroup" }, Bn = /* @__PURE__ */ p("legend", {
|
|
2081
2084
|
role: "presentation",
|
|
2082
2085
|
class: "sv-hidden"
|
|
2083
|
-
}, null, -1),
|
|
2086
|
+
}, null, -1), Ln = /* @__PURE__ */ g({
|
|
2084
2087
|
__name: "Rating",
|
|
2085
2088
|
props: {
|
|
2086
2089
|
question: {}
|
|
@@ -2096,8 +2099,8 @@ const sn = /* @__PURE__ */ g({
|
|
|
2096
2099
|
ref_key: "root",
|
|
2097
2100
|
ref: o
|
|
2098
2101
|
}, [
|
|
2099
|
-
p("fieldset",
|
|
2100
|
-
|
|
2102
|
+
p("fieldset", $n, [
|
|
2103
|
+
Bn,
|
|
2101
2104
|
s.question.hasMinLabel ? (t(), u("span", {
|
|
2102
2105
|
key: 0,
|
|
2103
2106
|
class: l(s.question.cssClasses.minText)
|
|
@@ -2124,7 +2127,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2124
2127
|
], 2);
|
|
2125
2128
|
};
|
|
2126
2129
|
}
|
|
2127
|
-
}),
|
|
2130
|
+
}), Dn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Pn = /* @__PURE__ */ g({
|
|
2128
2131
|
__name: "RatingItem",
|
|
2129
2132
|
props: {
|
|
2130
2133
|
question: {},
|
|
@@ -2152,7 +2155,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2152
2155
|
"aria-label": o.question.ariaLabel,
|
|
2153
2156
|
"aria-invalid": o.question.ariaInvalid,
|
|
2154
2157
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2155
|
-
}, null, 8,
|
|
2158
|
+
}, null, 8, Dn),
|
|
2156
2159
|
p("span", {
|
|
2157
2160
|
class: l(o.question.cssClasses.itemText)
|
|
2158
2161
|
}, [
|
|
@@ -2163,7 +2166,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2163
2166
|
], 34);
|
|
2164
2167
|
};
|
|
2165
2168
|
}
|
|
2166
|
-
}),
|
|
2169
|
+
}), Mn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Nn = /* @__PURE__ */ g({
|
|
2167
2170
|
__name: "RatingItemSmiley",
|
|
2168
2171
|
props: {
|
|
2169
2172
|
question: {},
|
|
@@ -2194,7 +2197,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2194
2197
|
"aria-label": o.question.ariaLabel,
|
|
2195
2198
|
"aria-invalid": o.question.ariaInvalid,
|
|
2196
2199
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2197
|
-
}, null, 8,
|
|
2200
|
+
}, null, 8, Mn),
|
|
2198
2201
|
C(s, {
|
|
2199
2202
|
iconName: o.question.getItemSmileyIconName(o.item.itemValue),
|
|
2200
2203
|
size: "auto",
|
|
@@ -2203,7 +2206,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2203
2206
|
], 38);
|
|
2204
2207
|
};
|
|
2205
2208
|
}
|
|
2206
|
-
}),
|
|
2209
|
+
}), Hn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], An = /* @__PURE__ */ g({
|
|
2207
2210
|
__name: "RatingItemStar",
|
|
2208
2211
|
props: {
|
|
2209
2212
|
question: {},
|
|
@@ -2233,7 +2236,7 @@ const sn = /* @__PURE__ */ g({
|
|
|
2233
2236
|
"aria-label": o.question.ariaLabel,
|
|
2234
2237
|
"aria-invalid": o.question.ariaInvalid,
|
|
2235
2238
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2236
|
-
}, null, 8,
|
|
2239
|
+
}, null, 8, Hn),
|
|
2237
2240
|
C(s, {
|
|
2238
2241
|
class: l("sv-star"),
|
|
2239
2242
|
iconName: o.question.itemStarIcon,
|
|
@@ -2255,7 +2258,7 @@ Y.Instance.registerRenderer(
|
|
|
2255
2258
|
"dropdown",
|
|
2256
2259
|
"sv-rating-dropdown"
|
|
2257
2260
|
);
|
|
2258
|
-
const
|
|
2261
|
+
const _n = /* @__PURE__ */ g({
|
|
2259
2262
|
__name: "RatingDropdown",
|
|
2260
2263
|
props: {
|
|
2261
2264
|
question: {}
|
|
@@ -2273,7 +2276,7 @@ const Hn = /* @__PURE__ */ g({
|
|
|
2273
2276
|
], 2);
|
|
2274
2277
|
};
|
|
2275
2278
|
}
|
|
2276
|
-
}),
|
|
2279
|
+
}), En = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Wn = /* @__PURE__ */ g({
|
|
2277
2280
|
__name: "BooleanSwitch",
|
|
2278
2281
|
props: {
|
|
2279
2282
|
question: {}
|
|
@@ -2311,7 +2314,7 @@ const Hn = /* @__PURE__ */ g({
|
|
|
2311
2314
|
"aria-label": i.question.ariaLabel,
|
|
2312
2315
|
"aria-invalid": i.question.ariaInvalid,
|
|
2313
2316
|
"aria-describedby": i.question.ariaDescribedBy
|
|
2314
|
-
}, null, 10,
|
|
2317
|
+
}, null, 10, En), [
|
|
2315
2318
|
[U, i.question.booleanValue]
|
|
2316
2319
|
]),
|
|
2317
2320
|
p("div", {
|
|
@@ -2365,7 +2368,7 @@ Y.Instance.registerRenderer(
|
|
|
2365
2368
|
"radio",
|
|
2366
2369
|
"sv-boolean-radio"
|
|
2367
2370
|
);
|
|
2368
|
-
const
|
|
2371
|
+
const Vn = /* @__PURE__ */ g({
|
|
2369
2372
|
__name: "BooleanRadio",
|
|
2370
2373
|
props: {
|
|
2371
2374
|
question: {}
|
|
@@ -2399,7 +2402,7 @@ const En = /* @__PURE__ */ g({
|
|
|
2399
2402
|
], 2);
|
|
2400
2403
|
};
|
|
2401
2404
|
}
|
|
2402
|
-
}),
|
|
2405
|
+
}), Fn = ["name", "value", "checked", "aria-describedby", "disabled"], On = ["xlink:href"], zn = /* @__PURE__ */ g({
|
|
2403
2406
|
__name: "BooleanRadioItem",
|
|
2404
2407
|
props: {
|
|
2405
2408
|
question: {},
|
|
@@ -2429,7 +2432,7 @@ const En = /* @__PURE__ */ g({
|
|
|
2429
2432
|
disabled: e.question.isInputReadOnly,
|
|
2430
2433
|
class: l(e.question.cssClasses.itemRadioControl),
|
|
2431
2434
|
onChange: o
|
|
2432
|
-
}, null, 42,
|
|
2435
|
+
}, null, 42, Fn),
|
|
2433
2436
|
e.question.cssClasses.materialRadioDecorator ? (t(), u("span", {
|
|
2434
2437
|
key: 0,
|
|
2435
2438
|
class: l(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2440,7 +2443,7 @@ const En = /* @__PURE__ */ g({
|
|
|
2440
2443
|
}, [
|
|
2441
2444
|
p("use", {
|
|
2442
2445
|
"xlink:href": e.question.itemSvgIcon
|
|
2443
|
-
}, null, 8,
|
|
2446
|
+
}, null, 8, On)
|
|
2444
2447
|
], 2)) : d("", !0)
|
|
2445
2448
|
], 2)) : d("", !0),
|
|
2446
2449
|
p("span", {
|
|
@@ -2452,13 +2455,13 @@ const En = /* @__PURE__ */ g({
|
|
|
2452
2455
|
], 2);
|
|
2453
2456
|
};
|
|
2454
2457
|
}
|
|
2455
|
-
}),
|
|
2458
|
+
}), Un = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Kn = ["xlink:href"], jn = /* @__PURE__ */ p("span", { class: "check" }, null, -1), Qn = ["id"];
|
|
2456
2459
|
Y.Instance.registerRenderer(
|
|
2457
2460
|
"boolean",
|
|
2458
2461
|
"checkbox",
|
|
2459
2462
|
"sv-boolean-checkbox"
|
|
2460
2463
|
);
|
|
2461
|
-
const
|
|
2464
|
+
const Gn = /* @__PURE__ */ g({
|
|
2462
2465
|
__name: "BooleanCheckbox",
|
|
2463
2466
|
props: {
|
|
2464
2467
|
question: {},
|
|
@@ -2493,7 +2496,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2493
2496
|
"aria-label": e.question.ariaLabel,
|
|
2494
2497
|
"aria-invalid": e.question.ariaInvalid,
|
|
2495
2498
|
"aria-describedby": e.question.ariaDescribedBy
|
|
2496
|
-
}, null, 10,
|
|
2499
|
+
}, null, 10, Un), [
|
|
2497
2500
|
[U, e.question.booleanValue]
|
|
2498
2501
|
]),
|
|
2499
2502
|
p("span", {
|
|
@@ -2505,9 +2508,9 @@ const jn = /* @__PURE__ */ g({
|
|
|
2505
2508
|
}, [
|
|
2506
2509
|
p("use", {
|
|
2507
2510
|
"xlink:href": e.question.svgIcon
|
|
2508
|
-
}, null, 8,
|
|
2511
|
+
}, null, 8, Kn)
|
|
2509
2512
|
], 2)) : d("", !0),
|
|
2510
|
-
|
|
2513
|
+
jn
|
|
2511
2514
|
], 2),
|
|
2512
2515
|
e.question.isLabelRendered ? (t(), u("span", {
|
|
2513
2516
|
key: 0,
|
|
@@ -2524,7 +2527,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2524
2527
|
element: e.question,
|
|
2525
2528
|
css: e.css
|
|
2526
2529
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2527
|
-
], 10,
|
|
2530
|
+
], 10, Qn)) : d("", !0)
|
|
2528
2531
|
], 2),
|
|
2529
2532
|
e.question.canRenderLabelDescription ? (t(), u("div", {
|
|
2530
2533
|
key: 0,
|
|
@@ -2538,7 +2541,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2538
2541
|
], 2);
|
|
2539
2542
|
};
|
|
2540
2543
|
}
|
|
2541
|
-
}),
|
|
2544
|
+
}), Xn = /* @__PURE__ */ g({
|
|
2542
2545
|
__name: "Multipletext",
|
|
2543
2546
|
props: {
|
|
2544
2547
|
question: {}
|
|
@@ -2575,7 +2578,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2575
2578
|
], 2);
|
|
2576
2579
|
};
|
|
2577
2580
|
}
|
|
2578
|
-
}),
|
|
2581
|
+
}), Jn = { key: 1 }, Yn = /* @__PURE__ */ g({
|
|
2579
2582
|
__name: "MultipletextItem",
|
|
2580
2583
|
props: {
|
|
2581
2584
|
question: {},
|
|
@@ -2604,7 +2607,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2604
2607
|
C(a, {
|
|
2605
2608
|
locString: e.value.locTitle
|
|
2606
2609
|
}, null, 8, ["locString"]),
|
|
2607
|
-
e.value.editor.isRequireTextAfterTitle ? (t(), u("span",
|
|
2610
|
+
e.value.editor.isRequireTextAfterTitle ? (t(), u("span", Jn, "\xA0")) : d("", !0),
|
|
2608
2611
|
e.value.editor.isRequireTextAfterTitle ? (t(), u("span", {
|
|
2609
2612
|
key: 2,
|
|
2610
2613
|
"aria-hidden": "true",
|
|
@@ -2623,7 +2626,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2623
2626
|
], 2));
|
|
2624
2627
|
};
|
|
2625
2628
|
}
|
|
2626
|
-
}),
|
|
2629
|
+
}), Zn = { class: "sv-hidden" }, xn = { key: 0 }, eo = { key: 0 }, so = ["onClick"], no = ["data-responsive-title", "onClick"], oo = ["name", "onUpdate:modelValue", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], to = ["xlink:href"], io = /* @__PURE__ */ g({
|
|
2627
2630
|
__name: "Matrix",
|
|
2628
2631
|
props: {
|
|
2629
2632
|
question: {}
|
|
@@ -2654,13 +2657,13 @@ const jn = /* @__PURE__ */ g({
|
|
|
2654
2657
|
ref: o
|
|
2655
2658
|
}, [
|
|
2656
2659
|
p("fieldset", null, [
|
|
2657
|
-
p("legend",
|
|
2660
|
+
p("legend", Zn, I(i.question.locTitle.renderedHtml), 1),
|
|
2658
2661
|
p("table", {
|
|
2659
2662
|
class: l(i.question.getTableCss())
|
|
2660
2663
|
}, [
|
|
2661
|
-
i.question.showHeader ? (t(), u("thead",
|
|
2664
|
+
i.question.showHeader ? (t(), u("thead", xn, [
|
|
2662
2665
|
p("tr", null, [
|
|
2663
|
-
i.question.hasRows ? (t(), u("td",
|
|
2666
|
+
i.question.hasRows ? (t(), u("td", eo)) : d("", !0),
|
|
2664
2667
|
(t(!0), u(S, null, B(i.question.visibleColumns, (v, m) => (t(), u("th", {
|
|
2665
2668
|
key: m,
|
|
2666
2669
|
class: l(i.question.cssClasses.headerCell),
|
|
@@ -2691,7 +2694,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2691
2694
|
locString: v.locText
|
|
2692
2695
|
}, null, 8, ["locString"])
|
|
2693
2696
|
], 6), [
|
|
2694
|
-
[
|
|
2697
|
+
[A, i.question.hasRows]
|
|
2695
2698
|
]),
|
|
2696
2699
|
i.question.hasCellText ? (t(!0), u(S, { key: 0 }, B(i.question.visibleColumns, (b, T) => (t(), u("td", {
|
|
2697
2700
|
key: T,
|
|
@@ -2701,7 +2704,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2701
2704
|
C(c, {
|
|
2702
2705
|
locString: i.question.getCellDisplayLocText(v.name, b)
|
|
2703
2706
|
}, null, 8, ["locString"])
|
|
2704
|
-
], 10,
|
|
2707
|
+
], 10, so))), 128)) : d("", !0),
|
|
2705
2708
|
i.question.hasCellText ? d("", !0) : (t(!0), u(S, { key: 1 }, B(i.question.visibleColumns, (b, T) => (t(), u("td", {
|
|
2706
2709
|
key: T,
|
|
2707
2710
|
"data-responsive-title": b.locText.renderedHtml,
|
|
@@ -2721,10 +2724,10 @@ const jn = /* @__PURE__ */ g({
|
|
|
2721
2724
|
disabled: i.question.isInputReadOnly,
|
|
2722
2725
|
id: i.question.inputId + "_" + v.name + "_" + T,
|
|
2723
2726
|
"aria-required": i.question.ariaRequired,
|
|
2724
|
-
"aria-label": b.locText.renderedHtml,
|
|
2727
|
+
"aria-label": i.question.getCellAriaLabel(v.locText.renderedHtml, b.locText.renderedHtml),
|
|
2725
2728
|
"aria-invalid": i.question.ariaInvalid,
|
|
2726
2729
|
"aria-describedby": i.question.ariaDescribedBy
|
|
2727
|
-
}, null, 10,
|
|
2730
|
+
}, null, 10, oo), [
|
|
2728
2731
|
[Z, v.value]
|
|
2729
2732
|
]),
|
|
2730
2733
|
p("span", {
|
|
@@ -2736,7 +2739,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2736
2739
|
}, [
|
|
2737
2740
|
p("use", {
|
|
2738
2741
|
"xlink:href": i.question.itemSvgIcon
|
|
2739
|
-
}, null, 8,
|
|
2742
|
+
}, null, 8, to)
|
|
2740
2743
|
], 2)) : d("", !0)
|
|
2741
2744
|
], 2),
|
|
2742
2745
|
P(p("span", {
|
|
@@ -2746,10 +2749,10 @@ const jn = /* @__PURE__ */ g({
|
|
|
2746
2749
|
locString: b.locText
|
|
2747
2750
|
}, null, 8, ["locString"])
|
|
2748
2751
|
], 2), [
|
|
2749
|
-
[
|
|
2752
|
+
[A, i.question.isMobile]
|
|
2750
2753
|
])
|
|
2751
2754
|
], 34)
|
|
2752
|
-
], 10,
|
|
2755
|
+
], 10, no))), 128))
|
|
2753
2756
|
], 2))), 128))
|
|
2754
2757
|
])
|
|
2755
2758
|
], 2)
|
|
@@ -2757,7 +2760,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2757
2760
|
], 2);
|
|
2758
2761
|
};
|
|
2759
2762
|
}
|
|
2760
|
-
}),
|
|
2763
|
+
}), lo = /* @__PURE__ */ g({
|
|
2761
2764
|
__name: "MatrixDropdown",
|
|
2762
2765
|
props: {
|
|
2763
2766
|
question: {}
|
|
@@ -2773,7 +2776,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2773
2776
|
}, null, 8, ["question"]);
|
|
2774
2777
|
};
|
|
2775
2778
|
}
|
|
2776
|
-
}),
|
|
2779
|
+
}), ro = { key: 0 }, ao = ["data-sv-drop-target-matrix-row"], uo = { key: 1 }, mo = /* @__PURE__ */ g({
|
|
2777
2780
|
__name: "MatrixTable",
|
|
2778
2781
|
props: {
|
|
2779
2782
|
question: {}
|
|
@@ -2802,7 +2805,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2802
2805
|
p("table", {
|
|
2803
2806
|
class: l(e.question.getTableCss())
|
|
2804
2807
|
}, [
|
|
2805
|
-
o.value.showHeader ? (t(), u("thead",
|
|
2808
|
+
o.value.showHeader ? (t(), u("thead", ro, [
|
|
2806
2809
|
p("tr", null, [
|
|
2807
2810
|
(t(!0), u(S, null, B(o.value.headerRow.cells, (v) => (t(), u(S, null, [
|
|
2808
2811
|
v.hasTitle ? (t(), u("th", {
|
|
@@ -2841,10 +2844,10 @@ const jn = /* @__PURE__ */ g({
|
|
|
2841
2844
|
question: e.question,
|
|
2842
2845
|
key: v.id + "_" + b
|
|
2843
2846
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2844
|
-
], 10,
|
|
2847
|
+
], 10, ao)) : d("", !0)
|
|
2845
2848
|
], 64))), 128))
|
|
2846
2849
|
]),
|
|
2847
|
-
o.value.showFooter ? (t(), u("tfoot",
|
|
2850
|
+
o.value.showFooter ? (t(), u("tfoot", uo, [
|
|
2848
2851
|
p("tr", null, [
|
|
2849
2852
|
(t(!0), u(S, null, B(o.value.footerRow.cells, (v, m) => (t(), y(c, {
|
|
2850
2853
|
cell: v,
|
|
@@ -2857,7 +2860,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2857
2860
|
], 6);
|
|
2858
2861
|
};
|
|
2859
2862
|
}
|
|
2860
|
-
}),
|
|
2863
|
+
}), co = /* @__PURE__ */ p("span", null, "\xA0", -1), po = /* @__PURE__ */ g({
|
|
2861
2864
|
__name: "MatrixHeaderRequired",
|
|
2862
2865
|
props: {
|
|
2863
2866
|
question: {},
|
|
@@ -2866,14 +2869,14 @@ const jn = /* @__PURE__ */ g({
|
|
|
2866
2869
|
setup(r) {
|
|
2867
2870
|
const n = r;
|
|
2868
2871
|
return L(() => n.column), (o, e) => o.column.isRenderedRequired ? (t(), u(S, { key: 0 }, [
|
|
2869
|
-
|
|
2872
|
+
co,
|
|
2870
2873
|
o.column.isRenderedRequired ? (t(), u("span", {
|
|
2871
2874
|
key: 0,
|
|
2872
2875
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2873
2876
|
}, I(o.column.requiredText), 3)) : d("", !0)
|
|
2874
2877
|
], 64)) : d("", !0);
|
|
2875
2878
|
}
|
|
2876
|
-
}),
|
|
2879
|
+
}), vo = ["data-responsive-title", "title", "colspan"], qo = /* @__PURE__ */ g({
|
|
2877
2880
|
__name: "MatrixCell",
|
|
2878
2881
|
props: {
|
|
2879
2882
|
question: {},
|
|
@@ -2881,7 +2884,7 @@ const jn = /* @__PURE__ */ g({
|
|
|
2881
2884
|
},
|
|
2882
2885
|
setup(r) {
|
|
2883
2886
|
const n = r, o = $(!1), e = $(), s = () => n.cell.headers, i = () => !!n.cell.width || !!n.cell.minWidth ? { width: n.cell.width, minWidth: n.cell.minWidth } : null, a = () => n.cell.index || "", c = () => o.value = n.cell.question.isVisible, v = (m) => se(m);
|
|
2884
|
-
return
|
|
2887
|
+
return _(() => {
|
|
2885
2888
|
if (!n.cell.hasQuestion || !n.question || !n.question.survey)
|
|
2886
2889
|
return;
|
|
2887
2890
|
c(), n.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
@@ -2933,13 +2936,13 @@ const jn = /* @__PURE__ */ g({
|
|
|
2933
2936
|
key: 0,
|
|
2934
2937
|
question: m.cell.question
|
|
2935
2938
|
}, null, 8, ["question"])), [
|
|
2936
|
-
[
|
|
2939
|
+
[A, o.value]
|
|
2937
2940
|
]) : d("", !0),
|
|
2938
2941
|
!m.cell.isChoice && !m.cell.question.isDefaultRendering() ? P((t(), y(N(m.cell.question.getComponentName()), {
|
|
2939
2942
|
key: 1,
|
|
2940
2943
|
question: m.cell.question
|
|
2941
2944
|
}, null, 8, ["question"])), [
|
|
2942
|
-
[
|
|
2945
|
+
[A, o.value]
|
|
2943
2946
|
]) : d("", !0),
|
|
2944
2947
|
m.cell.isRadio ? (t(), y(h, {
|
|
2945
2948
|
key: m.cell.item.value,
|
|
@@ -2970,10 +2973,10 @@ const jn = /* @__PURE__ */ g({
|
|
|
2970
2973
|
key: 6,
|
|
2971
2974
|
class: l(m.question.cssClasses.cellRequiredText)
|
|
2972
2975
|
}, I(m.cell.requiredText), 3)) : d("", !0)
|
|
2973
|
-
], 46,
|
|
2976
|
+
], 46, vo);
|
|
2974
2977
|
};
|
|
2975
2978
|
}
|
|
2976
|
-
}),
|
|
2979
|
+
}), yo = /* @__PURE__ */ g({
|
|
2977
2980
|
__name: "MatrixDynamic",
|
|
2978
2981
|
props: {
|
|
2979
2982
|
question: {}
|
|
@@ -3063,7 +3066,7 @@ function ne(r, n = !0) {
|
|
|
3063
3066
|
row: n ? R(() => r.item.data.row) : void 0
|
|
3064
3067
|
};
|
|
3065
3068
|
}
|
|
3066
|
-
const
|
|
3069
|
+
const go = ["disabled"], ho = /* @__PURE__ */ g({
|
|
3067
3070
|
__name: "RemoveButton",
|
|
3068
3071
|
props: {
|
|
3069
3072
|
item: {}
|
|
@@ -3084,10 +3087,10 @@ const qo = ["disabled"], yo = /* @__PURE__ */ g({
|
|
|
3084
3087
|
p("span", {
|
|
3085
3088
|
class: l(k(o).cssClasses.iconRemove)
|
|
3086
3089
|
}, null, 2)
|
|
3087
|
-
], 10,
|
|
3090
|
+
], 10, go);
|
|
3088
3091
|
};
|
|
3089
3092
|
}
|
|
3090
|
-
}),
|
|
3093
|
+
}), Co = ["xlink:href"], bo = /* @__PURE__ */ g({
|
|
3091
3094
|
__name: "DragDropIcon",
|
|
3092
3095
|
props: {
|
|
3093
3096
|
item: {}
|
|
@@ -3100,13 +3103,13 @@ const qo = ["disabled"], yo = /* @__PURE__ */ g({
|
|
|
3100
3103
|
}, [
|
|
3101
3104
|
p("use", {
|
|
3102
3105
|
"xlink:href": k(o).iconDragElement
|
|
3103
|
-
}, null, 8,
|
|
3106
|
+
}, null, 8, Co)
|
|
3104
3107
|
], 2)) : (t(), u("span", {
|
|
3105
3108
|
key: 1,
|
|
3106
3109
|
class: l(k(o).cssClasses.iconDrag)
|
|
3107
3110
|
}, null, 2));
|
|
3108
3111
|
}
|
|
3109
|
-
}),
|
|
3112
|
+
}), ko = ["aria-expanded", "aria-controls"], fo = /* @__PURE__ */ g({
|
|
3110
3113
|
__name: "DetailButton",
|
|
3111
3114
|
props: {
|
|
3112
3115
|
item: {}
|
|
@@ -3127,10 +3130,10 @@ const qo = ["disabled"], yo = /* @__PURE__ */ g({
|
|
|
3127
3130
|
iconName: k(o).getDetailPanelIconId(k(e)),
|
|
3128
3131
|
size: "auto"
|
|
3129
3132
|
}, null, 8, ["class", "iconName"])
|
|
3130
|
-
], 10,
|
|
3133
|
+
], 10, ko);
|
|
3131
3134
|
};
|
|
3132
3135
|
}
|
|
3133
|
-
}),
|
|
3136
|
+
}), Io = /* @__PURE__ */ g({
|
|
3134
3137
|
__name: "PanelDynamic",
|
|
3135
3138
|
props: {
|
|
3136
3139
|
question: {},
|
|
@@ -3235,7 +3238,7 @@ const qo = ["disabled"], yo = /* @__PURE__ */ g({
|
|
|
3235
3238
|
], 2);
|
|
3236
3239
|
};
|
|
3237
3240
|
}
|
|
3238
|
-
}),
|
|
3241
|
+
}), wo = /* @__PURE__ */ g({
|
|
3239
3242
|
__name: "PanelDynamicProgress",
|
|
3240
3243
|
props: {
|
|
3241
3244
|
question: {}
|
|
@@ -3281,7 +3284,7 @@ const qo = ["disabled"], yo = /* @__PURE__ */ g({
|
|
|
3281
3284
|
], 2);
|
|
3282
3285
|
};
|
|
3283
3286
|
}
|
|
3284
|
-
}),
|
|
3287
|
+
}), So = /* @__PURE__ */ g({
|
|
3285
3288
|
__name: "PanelDynamicProgressV2",
|
|
3286
3289
|
props: {
|
|
3287
3290
|
question: {}
|
|
@@ -3323,7 +3326,7 @@ function Q(r) {
|
|
|
3323
3326
|
() => r.item && r.item.data.question || r.data.question
|
|
3324
3327
|
);
|
|
3325
3328
|
}
|
|
3326
|
-
const
|
|
3329
|
+
const To = /* @__PURE__ */ g({
|
|
3327
3330
|
__name: "PaneldynamicAddBtn",
|
|
3328
3331
|
props: {
|
|
3329
3332
|
item: {},
|
|
@@ -3344,7 +3347,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3344
3347
|
}, I(k(o).panelAddText), 3)
|
|
3345
3348
|
], 2)) : d("", !0);
|
|
3346
3349
|
}
|
|
3347
|
-
}),
|
|
3350
|
+
}), Ro = ["title"], $o = /* @__PURE__ */ g({
|
|
3348
3351
|
__name: "PaneldynamicNextBtn",
|
|
3349
3352
|
props: {
|
|
3350
3353
|
item: {},
|
|
@@ -3365,10 +3368,10 @@ const wo = /* @__PURE__ */ g({
|
|
|
3365
3368
|
iconName: k(o).cssClasses.progressBtnIcon,
|
|
3366
3369
|
size: "auto"
|
|
3367
3370
|
}, null, 8, ["iconName"])
|
|
3368
|
-
], 10,
|
|
3371
|
+
], 10, Ro);
|
|
3369
3372
|
};
|
|
3370
3373
|
}
|
|
3371
|
-
}),
|
|
3374
|
+
}), Bo = ["title"], Lo = /* @__PURE__ */ g({
|
|
3372
3375
|
__name: "PaneldynamicPrevBtn",
|
|
3373
3376
|
props: {
|
|
3374
3377
|
item: {},
|
|
@@ -3389,10 +3392,10 @@ const wo = /* @__PURE__ */ g({
|
|
|
3389
3392
|
iconName: k(o).cssClasses.progressBtnIcon,
|
|
3390
3393
|
size: "auto"
|
|
3391
3394
|
}, null, 8, ["iconName"])
|
|
3392
|
-
], 10,
|
|
3395
|
+
], 10, Bo);
|
|
3393
3396
|
};
|
|
3394
3397
|
}
|
|
3395
|
-
}),
|
|
3398
|
+
}), Do = /* @__PURE__ */ g({
|
|
3396
3399
|
__name: "PaneldynamicRemoveBtn",
|
|
3397
3400
|
props: {
|
|
3398
3401
|
item: {},
|
|
@@ -3417,7 +3420,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3417
3420
|
}, null, 2)
|
|
3418
3421
|
], 2));
|
|
3419
3422
|
}
|
|
3420
|
-
}),
|
|
3423
|
+
}), Po = /* @__PURE__ */ g({
|
|
3421
3424
|
__name: "PaneldynamicProgressText",
|
|
3422
3425
|
props: {
|
|
3423
3426
|
item: {},
|
|
@@ -3429,7 +3432,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3429
3432
|
class: l(k(o).cssClasses.progressText)
|
|
3430
3433
|
}, I(k(o).progressText), 3));
|
|
3431
3434
|
}
|
|
3432
|
-
}),
|
|
3435
|
+
}), Mo = ["id"], No = /* @__PURE__ */ g({
|
|
3433
3436
|
__name: "Errors",
|
|
3434
3437
|
props: {
|
|
3435
3438
|
element: {},
|
|
@@ -3467,17 +3470,17 @@ const wo = /* @__PURE__ */ g({
|
|
|
3467
3470
|
}, null, 8, ["locString"])
|
|
3468
3471
|
], 2)
|
|
3469
3472
|
]))), 128))
|
|
3470
|
-
], 10,
|
|
3473
|
+
], 10, Mo)) : d("", !0);
|
|
3471
3474
|
};
|
|
3472
3475
|
}
|
|
3473
|
-
}),
|
|
3476
|
+
}), Ho = { key: 0 }, Ao = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], _o = /* @__PURE__ */ g({
|
|
3474
3477
|
__name: "QuestionComment",
|
|
3475
3478
|
props: {
|
|
3476
3479
|
question: {},
|
|
3477
3480
|
commentClass: {}
|
|
3478
3481
|
},
|
|
3479
3482
|
setup(r) {
|
|
3480
|
-
return (n, o) => n.question.isReadOnlyRenderDiv() ? (t(), u("div",
|
|
3483
|
+
return (n, o) => n.question.isReadOnlyRenderDiv() ? (t(), u("div", Ho, I(n.question.comment), 1)) : (t(), u("textarea", {
|
|
3481
3484
|
key: 1,
|
|
3482
3485
|
id: n.question.commentId,
|
|
3483
3486
|
readonly: n.question.isInputReadOnly,
|
|
@@ -3494,10 +3497,13 @@ const wo = /* @__PURE__ */ g({
|
|
|
3494
3497
|
}),
|
|
3495
3498
|
onInput: o[1] || (o[1] = (e) => {
|
|
3496
3499
|
n.question.onCommentInput(e);
|
|
3500
|
+
}),
|
|
3501
|
+
onCompositionUpdate: o[2] || (o[2] = (e) => {
|
|
3502
|
+
n.question.onCompositionUpdateComment(e);
|
|
3497
3503
|
})
|
|
3498
|
-
}, null, 46,
|
|
3504
|
+
}, null, 46, Ao));
|
|
3499
3505
|
}
|
|
3500
|
-
}),
|
|
3506
|
+
}), Eo = /* @__PURE__ */ g({
|
|
3501
3507
|
__name: "TitleElement",
|
|
3502
3508
|
props: {
|
|
3503
3509
|
element: {},
|
|
@@ -3537,7 +3543,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3537
3543
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3538
3544
|
};
|
|
3539
3545
|
}
|
|
3540
|
-
}),
|
|
3546
|
+
}), Wo = { class: "sv-vue-title-additional-div" }, Vo = { key: 3 }, Fo = { key: 5 }, Oo = { key: 7 }, zo = /* @__PURE__ */ g({
|
|
3541
3547
|
__name: "TitleContent",
|
|
3542
3548
|
props: {
|
|
3543
3549
|
element: {},
|
|
@@ -3546,7 +3552,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3546
3552
|
setup(r) {
|
|
3547
3553
|
return (n, o) => {
|
|
3548
3554
|
const e = q("survey-string");
|
|
3549
|
-
return t(), u("div",
|
|
3555
|
+
return t(), u("div", Wo, [
|
|
3550
3556
|
n.element.isTitleRenderedAsString ? (t(), y(e, {
|
|
3551
3557
|
key: 0,
|
|
3552
3558
|
locString: n.element.locTitle
|
|
@@ -3562,18 +3568,18 @@ const wo = /* @__PURE__ */ g({
|
|
|
3562
3568
|
class: l(n.element.cssTitleNumber),
|
|
3563
3569
|
"aria-hidden": !0
|
|
3564
3570
|
}, I(n.element.no), 3)) : d("", !0),
|
|
3565
|
-
!n.element.isTitleRenderedAsString && n.element.no ? (t(), u("span",
|
|
3571
|
+
!n.element.isTitleRenderedAsString && n.element.no ? (t(), u("span", Vo, "\xA0")) : d("", !0),
|
|
3566
3572
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (t(), u("span", {
|
|
3567
3573
|
key: 4,
|
|
3568
3574
|
class: l(n.element.cssClasses.requiredText),
|
|
3569
3575
|
"aria-hidden": !0
|
|
3570
3576
|
}, I(n.element.requiredText), 3)) : d("", !0),
|
|
3571
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (t(), u("span",
|
|
3577
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (t(), u("span", Fo, "\xA0")) : d("", !0),
|
|
3572
3578
|
n.element.isTitleRenderedAsString ? d("", !0) : (t(), y(e, {
|
|
3573
3579
|
key: 6,
|
|
3574
3580
|
locString: n.element.locTitle
|
|
3575
3581
|
}, null, 8, ["locString"])),
|
|
3576
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (t(), u("span",
|
|
3582
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (t(), u("span", Oo, "\xA0")) : d("", !0),
|
|
3577
3583
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (t(), u("span", {
|
|
3578
3584
|
key: 8,
|
|
3579
3585
|
class: l(n.element.cssClasses.requiredText),
|
|
@@ -3582,7 +3588,7 @@ const wo = /* @__PURE__ */ g({
|
|
|
3582
3588
|
]);
|
|
3583
3589
|
};
|
|
3584
3590
|
}
|
|
3585
|
-
}),
|
|
3591
|
+
}), Uo = { class: "sv-title-actions" }, Ko = { class: "sv-title-actions__title" }, jo = /* @__PURE__ */ g({
|
|
3586
3592
|
__name: "TitleActions",
|
|
3587
3593
|
props: {
|
|
3588
3594
|
element: {},
|
|
@@ -3592,8 +3598,8 @@ const wo = /* @__PURE__ */ g({
|
|
|
3592
3598
|
const n = r, o = R(() => n.element.getTitleToolbar());
|
|
3593
3599
|
return (e, s) => {
|
|
3594
3600
|
const i = q("survey-string"), a = q("survey-element-title-content"), c = q("sv-action-bar");
|
|
3595
|
-
return t(), u("div",
|
|
3596
|
-
p("span",
|
|
3601
|
+
return t(), u("div", Uo, [
|
|
3602
|
+
p("span", Ko, [
|
|
3597
3603
|
e.element.isPage ? (t(), y(i, {
|
|
3598
3604
|
key: 0,
|
|
3599
3605
|
locString: e.element.locTitle
|
|
@@ -3613,15 +3619,15 @@ const wo = /* @__PURE__ */ g({
|
|
|
3613
3619
|
for (const [e, s] of n)
|
|
3614
3620
|
o[e] = s;
|
|
3615
3621
|
return o;
|
|
3616
|
-
},
|
|
3617
|
-
|
|
3622
|
+
}, Qo = {}, Go = { class: "sv-brand-info" }, Xo = /* @__PURE__ */ ge('<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), Jo = [
|
|
3623
|
+
Xo
|
|
3618
3624
|
];
|
|
3619
|
-
function
|
|
3620
|
-
return t(), u("div",
|
|
3625
|
+
function Yo(r, n) {
|
|
3626
|
+
return t(), u("div", Go, Jo);
|
|
3621
3627
|
}
|
|
3622
|
-
const
|
|
3623
|
-
|
|
3624
|
-
],
|
|
3628
|
+
const Zo = /* @__PURE__ */ me(Qo, [["render", Yo]]), xo = /* @__PURE__ */ p("use", null, null, -1), et = [
|
|
3629
|
+
xo
|
|
3630
|
+
], st = /* @__PURE__ */ g({
|
|
3625
3631
|
__name: "SvgIcon",
|
|
3626
3632
|
props: {
|
|
3627
3633
|
size: {},
|
|
@@ -3643,17 +3649,16 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3643
3649
|
};
|
|
3644
3650
|
return J(() => {
|
|
3645
3651
|
e();
|
|
3646
|
-
}),
|
|
3652
|
+
}), _(() => {
|
|
3647
3653
|
e();
|
|
3648
3654
|
}), (s, i) => (t(), u("svg", {
|
|
3649
3655
|
ref_key: "svgIconElement",
|
|
3650
3656
|
ref: o,
|
|
3651
3657
|
class: "sv-svg-icon",
|
|
3652
|
-
role: "img"
|
|
3653
|
-
|
|
3654
|
-
}, xo, 8, Yo));
|
|
3658
|
+
role: "img"
|
|
3659
|
+
}, et, 512));
|
|
3655
3660
|
}
|
|
3656
|
-
}),
|
|
3661
|
+
}), nt = /* @__PURE__ */ g({
|
|
3657
3662
|
__name: "ActionBar",
|
|
3658
3663
|
props: {
|
|
3659
3664
|
model: {},
|
|
@@ -3662,7 +3667,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3662
3667
|
},
|
|
3663
3668
|
setup(r) {
|
|
3664
3669
|
const n = r, o = $(null);
|
|
3665
|
-
return L(() => n.model),
|
|
3670
|
+
return L(() => n.model), _(() => {
|
|
3666
3671
|
!n.model.hasActions || n.model.initResponsivityManager(o.value);
|
|
3667
3672
|
}), W(() => {
|
|
3668
3673
|
n.model.resetResponsivityManager();
|
|
@@ -3684,7 +3689,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3684
3689
|
], 2)) : d("", !0);
|
|
3685
3690
|
};
|
|
3686
3691
|
}
|
|
3687
|
-
}),
|
|
3692
|
+
}), ot = ["id"], tt = { class: "sv-action__content" }, it = /* @__PURE__ */ g({
|
|
3688
3693
|
__name: "Action",
|
|
3689
3694
|
props: {
|
|
3690
3695
|
item: {}
|
|
@@ -3699,14 +3704,14 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3699
3704
|
class: l(e.item.getActionRootCss()),
|
|
3700
3705
|
id: e.item.id
|
|
3701
3706
|
}, [
|
|
3702
|
-
p("div",
|
|
3707
|
+
p("div", tt, [
|
|
3703
3708
|
e.item.needSeparator ? (t(), y(i, { key: 0 })) : d("", !0),
|
|
3704
3709
|
(t(), y(N(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3705
3710
|
])
|
|
3706
|
-
], 10,
|
|
3711
|
+
], 10, ot);
|
|
3707
3712
|
};
|
|
3708
3713
|
}
|
|
3709
|
-
}),
|
|
3714
|
+
}), lt = ["disabled", "title", "aria-checked", "aria-expanded", "role", "tabindex"], rt = /* @__PURE__ */ g({
|
|
3710
3715
|
__name: "ActionBarItem",
|
|
3711
3716
|
props: {
|
|
3712
3717
|
item: {}
|
|
@@ -3742,10 +3747,10 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3742
3747
|
key: 1,
|
|
3743
3748
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3744
3749
|
}, I(o.item.title), 3)) : d("", !0)
|
|
3745
|
-
], 42,
|
|
3750
|
+
], 42, lt);
|
|
3746
3751
|
};
|
|
3747
3752
|
}
|
|
3748
|
-
}),
|
|
3753
|
+
}), at = ["disabled", "title", "role", "tabindex"], ut = /* @__PURE__ */ g({
|
|
3749
3754
|
__name: "ActionBarItemDropdown",
|
|
3750
3755
|
props: {
|
|
3751
3756
|
item: {}
|
|
@@ -3789,7 +3794,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3789
3794
|
key: 1,
|
|
3790
3795
|
class: l(s.item.getActionBarItemTitleCss())
|
|
3791
3796
|
}, I(s.item.title), 3)) : d("", !0)
|
|
3792
|
-
], 42,
|
|
3797
|
+
], 42, at),
|
|
3793
3798
|
C(c, {
|
|
3794
3799
|
model: s.item.popupModel,
|
|
3795
3800
|
getTarget: k(o)
|
|
@@ -3797,7 +3802,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3797
3802
|
], 64);
|
|
3798
3803
|
};
|
|
3799
3804
|
}
|
|
3800
|
-
}),
|
|
3805
|
+
}), dt = /* @__PURE__ */ g({
|
|
3801
3806
|
__name: "ActionBarSeparator",
|
|
3802
3807
|
props: {
|
|
3803
3808
|
item: {}
|
|
@@ -3808,7 +3813,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3808
3813
|
class: l(["sv-action-bar-separator", o.value])
|
|
3809
3814
|
}, null, 2));
|
|
3810
3815
|
}
|
|
3811
|
-
}),
|
|
3816
|
+
}), mt = ["aria-label", "placeholder", "value"], ct = ["aria-label"], pt = ["id"], vt = /* @__PURE__ */ g({
|
|
3812
3817
|
__name: "List",
|
|
3813
3818
|
props: {
|
|
3814
3819
|
model: {}
|
|
@@ -3823,7 +3828,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3823
3828
|
}, i = (a) => {
|
|
3824
3829
|
n.model.onMouseMove(a);
|
|
3825
3830
|
};
|
|
3826
|
-
return L(() => n.model),
|
|
3831
|
+
return L(() => n.model), _(() => {
|
|
3827
3832
|
n.model.initListContainerHtmlElement(o.value);
|
|
3828
3833
|
}), (a, c) => {
|
|
3829
3834
|
const v = q("sv-svg-icon"), m = q("sv-list-item");
|
|
@@ -3852,7 +3857,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3852
3857
|
value: a.model.filterString,
|
|
3853
3858
|
onChange: e,
|
|
3854
3859
|
onKeyup: s
|
|
3855
|
-
}, null, 42,
|
|
3860
|
+
}, null, 42, mt),
|
|
3856
3861
|
a.model.showSearchClearButton && !!a.model.filterString ? (t(), u("button", {
|
|
3857
3862
|
key: 0,
|
|
3858
3863
|
onClick: c[0] || (c[0] = (b) => {
|
|
@@ -3872,9 +3877,9 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3872
3877
|
p("div", {
|
|
3873
3878
|
class: l(a.model.cssClasses.emptyText),
|
|
3874
3879
|
"aria-label": a.model.emptyMessage
|
|
3875
|
-
}, I(a.model.emptyMessage), 11,
|
|
3880
|
+
}, I(a.model.emptyMessage), 11, ct)
|
|
3876
3881
|
], 2), [
|
|
3877
|
-
[
|
|
3882
|
+
[A, a.model.isEmpty]
|
|
3878
3883
|
]),
|
|
3879
3884
|
a.model.renderElements ? P((t(), u("ul", {
|
|
3880
3885
|
key: 1,
|
|
@@ -3894,13 +3899,13 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3894
3899
|
model: a.model,
|
|
3895
3900
|
key: b.id
|
|
3896
3901
|
}, null, 8, ["item", "model"]))), 128))
|
|
3897
|
-
], 42,
|
|
3898
|
-
[
|
|
3902
|
+
], 42, pt)), [
|
|
3903
|
+
[A, !a.model.isEmpty]
|
|
3899
3904
|
]) : d("", !0)
|
|
3900
3905
|
], 2);
|
|
3901
3906
|
};
|
|
3902
3907
|
}
|
|
3903
|
-
}),
|
|
3908
|
+
}), qt = ["aria-selected", "id"], yt = ["title"], gt = /* @__PURE__ */ g({
|
|
3904
3909
|
__name: "ListItem",
|
|
3905
3910
|
props: {
|
|
3906
3911
|
model: {},
|
|
@@ -3910,7 +3915,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3910
3915
|
const n = r, o = R(() => n.item.elementId), e = (s) => {
|
|
3911
3916
|
n.model.onItemClick(n.item), s.stopPropagation();
|
|
3912
3917
|
};
|
|
3913
|
-
return L(() => n.item),
|
|
3918
|
+
return L(() => n.item), _(() => {
|
|
3914
3919
|
setTimeout(() => {
|
|
3915
3920
|
n.model.onLastItemRended(n.item);
|
|
3916
3921
|
});
|
|
@@ -3948,14 +3953,14 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3948
3953
|
key: 2,
|
|
3949
3954
|
item: s.item
|
|
3950
3955
|
}, null, 8, ["item"])) : d("", !0)
|
|
3951
|
-
], 14,
|
|
3952
|
-
], 10,
|
|
3953
|
-
[
|
|
3956
|
+
], 14, yt)
|
|
3957
|
+
], 10, qt)), [
|
|
3958
|
+
[A, s.model.isItemVisible(s.item)],
|
|
3954
3959
|
[v]
|
|
3955
3960
|
]);
|
|
3956
3961
|
};
|
|
3957
3962
|
}
|
|
3958
|
-
}),
|
|
3963
|
+
}), ht = /* @__PURE__ */ g({
|
|
3959
3964
|
__name: "Popup",
|
|
3960
3965
|
props: {
|
|
3961
3966
|
getTarget: { type: Function },
|
|
@@ -3971,7 +3976,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3971
3976
|
o.value.dispose(), o.value = te(s, void 0);
|
|
3972
3977
|
},
|
|
3973
3978
|
{ immediate: !0 }
|
|
3974
|
-
), L(() => o.value),
|
|
3979
|
+
), L(() => o.value), _(() => {
|
|
3975
3980
|
const s = e.value;
|
|
3976
3981
|
o.value.setComponentElement(
|
|
3977
3982
|
s,
|
|
@@ -3989,13 +3994,13 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
3989
3994
|
], 512);
|
|
3990
3995
|
};
|
|
3991
3996
|
}
|
|
3992
|
-
}),
|
|
3997
|
+
}), Ct = { class: "sv-popup__shadow" }, bt = { class: "sv-popup__body-content" }, kt = {
|
|
3993
3998
|
key: 0,
|
|
3994
3999
|
class: "sv-popup__body-header"
|
|
3995
|
-
},
|
|
4000
|
+
}, ft = { class: "sv-popup__scrolling-content" }, It = { class: "sv-popup__content" }, wt = {
|
|
3996
4001
|
key: 1,
|
|
3997
4002
|
class: "sv-popup__body-footer"
|
|
3998
|
-
},
|
|
4003
|
+
}, St = /* @__PURE__ */ g({
|
|
3999
4004
|
__name: "PopupContainer",
|
|
4000
4005
|
props: {
|
|
4001
4006
|
model: {}
|
|
@@ -4032,19 +4037,19 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4032
4037
|
}),
|
|
4033
4038
|
onClick: e
|
|
4034
4039
|
}, [
|
|
4035
|
-
p("div",
|
|
4040
|
+
p("div", Ct, [
|
|
4036
4041
|
s.model.showHeader ? (t(), y(N(s.model.popupHeaderTemplate), {
|
|
4037
4042
|
key: 0,
|
|
4038
4043
|
model: s.model
|
|
4039
4044
|
}, null, 8, ["model"])) : d("", !0),
|
|
4040
|
-
p("div",
|
|
4041
|
-
s.model.title ? (t(), u("div",
|
|
4042
|
-
p("div",
|
|
4043
|
-
p("div",
|
|
4045
|
+
p("div", bt, [
|
|
4046
|
+
s.model.title ? (t(), u("div", kt, I(s.model.title), 1)) : d("", !0),
|
|
4047
|
+
p("div", ft, [
|
|
4048
|
+
p("div", It, [
|
|
4044
4049
|
(t(), y(N(s.model.contentComponentName), he(Ce(s.model.contentComponentData)), null, 16))
|
|
4045
4050
|
])
|
|
4046
4051
|
]),
|
|
4047
|
-
s.model.showFooter ? (t(), u("div",
|
|
4052
|
+
s.model.showFooter ? (t(), u("div", wt, [
|
|
4048
4053
|
C(a, {
|
|
4049
4054
|
model: s.model.footerToolbar
|
|
4050
4055
|
}, null, 8, ["model"])
|
|
@@ -4053,11 +4058,11 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4053
4058
|
])
|
|
4054
4059
|
], 4)
|
|
4055
4060
|
], 34)), [
|
|
4056
|
-
[
|
|
4061
|
+
[A, s.model.isVisible]
|
|
4057
4062
|
]);
|
|
4058
4063
|
};
|
|
4059
4064
|
}
|
|
4060
|
-
}),
|
|
4065
|
+
}), Tt = /* @__PURE__ */ g({
|
|
4061
4066
|
__name: "PopupPointer",
|
|
4062
4067
|
props: {
|
|
4063
4068
|
model: {}
|
|
@@ -4071,10 +4076,10 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4071
4076
|
})
|
|
4072
4077
|
}, null, 4));
|
|
4073
4078
|
}
|
|
4074
|
-
}),
|
|
4079
|
+
}), Rt = {
|
|
4075
4080
|
key: 0,
|
|
4076
4081
|
class: "sv-components-column"
|
|
4077
|
-
},
|
|
4082
|
+
}, $t = /* @__PURE__ */ g({
|
|
4078
4083
|
__name: "Container",
|
|
4079
4084
|
props: {
|
|
4080
4085
|
survey: {},
|
|
@@ -4086,7 +4091,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4086
4091
|
() => n.survey.getContainerContent(n.container)
|
|
4087
4092
|
);
|
|
4088
4093
|
return (e, s) => o.value.length > 0 ? (t(), u(S, { key: 0 }, [
|
|
4089
|
-
e.needRenderWrapper ? (t(), u("div",
|
|
4094
|
+
e.needRenderWrapper ? (t(), u("div", Rt, [
|
|
4090
4095
|
(t(!0), u(S, null, B(o.value, (i, a) => (t(), y(N(i.component), {
|
|
4091
4096
|
survey: e.survey,
|
|
4092
4097
|
container: e.container,
|
|
@@ -4127,7 +4132,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4127
4132
|
}, I(i.survey.progressText), 3)
|
|
4128
4133
|
], 2));
|
|
4129
4134
|
}
|
|
4130
|
-
}),
|
|
4135
|
+
}), Bt = ["onClick"], Lt = ["title"], Dt = ["title"], Pt = /* @__PURE__ */ g({
|
|
4131
4136
|
__name: "ProgressButtons",
|
|
4132
4137
|
props: {
|
|
4133
4138
|
survey: {}
|
|
@@ -4141,7 +4146,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4141
4146
|
let M = s.value;
|
|
4142
4147
|
M.scrollLeft += (f ? -1 : 1) * 70;
|
|
4143
4148
|
};
|
|
4144
|
-
return
|
|
4149
|
+
return _(() => {
|
|
4145
4150
|
const f = s.value;
|
|
4146
4151
|
a = setInterval(() => {
|
|
4147
4152
|
e.value = f.scrollWidth > f.offsetWidth;
|
|
@@ -4175,12 +4180,12 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4175
4180
|
p("div", {
|
|
4176
4181
|
class: l(i.value.progressButtonsPageTitle),
|
|
4177
4182
|
title: h.renderedNavigationTitle
|
|
4178
|
-
}, I(h.renderedNavigationTitle), 11,
|
|
4183
|
+
}, I(h.renderedNavigationTitle), 11, Lt),
|
|
4179
4184
|
p("div", {
|
|
4180
4185
|
class: l(i.value.progressButtonsPageDescription),
|
|
4181
4186
|
title: h.locNavigationDescription.renderedHtml
|
|
4182
|
-
}, I(h.locNavigationDescription.renderedHtml), 11,
|
|
4183
|
-
], 10,
|
|
4187
|
+
}, I(h.locNavigationDescription.renderedHtml), 11, Dt)
|
|
4188
|
+
], 10, Bt))), 128))
|
|
4184
4189
|
], 2)
|
|
4185
4190
|
], 2),
|
|
4186
4191
|
p("div", {
|
|
@@ -4191,7 +4196,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4191
4196
|
], 2)
|
|
4192
4197
|
], 2));
|
|
4193
4198
|
}
|
|
4194
|
-
}),
|
|
4199
|
+
}), Mt = /* @__PURE__ */ g({
|
|
4195
4200
|
__name: "ProgressToc",
|
|
4196
4201
|
props: {
|
|
4197
4202
|
survey: {}
|
|
@@ -4223,10 +4228,10 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4223
4228
|
], 2);
|
|
4224
4229
|
};
|
|
4225
4230
|
}
|
|
4226
|
-
}),
|
|
4231
|
+
}), Nt = { onsubmit: "return false;" }, Ht = {
|
|
4227
4232
|
key: 0,
|
|
4228
4233
|
class: "sv_custom_header"
|
|
4229
|
-
},
|
|
4234
|
+
}, At = ["id"], _t = { key: 2 }, Et = ["innerHTML"], Wt = ["innerHTML"], Vt = ["innerHTML"], re = /* @__PURE__ */ g({
|
|
4230
4235
|
__name: "Survey",
|
|
4231
4236
|
props: {
|
|
4232
4237
|
model: {},
|
|
@@ -4242,7 +4247,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4242
4247
|
}, v = R(
|
|
4243
4248
|
() => i.value.showCompletedPage && i.value.state === "completed"
|
|
4244
4249
|
), m = R(() => i.value.css), b = R(() => "page" + c()), T = () => v.value ? (e.value || (e.value = i.value.processedCompletedHtml), e.value) : "";
|
|
4245
|
-
return L(() => i.value),
|
|
4250
|
+
return L(() => i.value), _(() => {
|
|
4246
4251
|
if (!!i.value) {
|
|
4247
4252
|
i.value.needRenderIcons && De.renderIcons();
|
|
4248
4253
|
var f = o.value;
|
|
@@ -4270,8 +4275,8 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4270
4275
|
class: l(m.value.rootBackgroundImage),
|
|
4271
4276
|
style: w(i.value.backgroundImageStyle)
|
|
4272
4277
|
}, null, 6)) : d("", !0),
|
|
4273
|
-
p("form",
|
|
4274
|
-
i.value.hasLogo ? d("", !0) : (t(), u("div",
|
|
4278
|
+
p("form", Nt, [
|
|
4279
|
+
i.value.hasLogo ? d("", !0) : (t(), u("div", Ht)),
|
|
4275
4280
|
p("div", {
|
|
4276
4281
|
class: l(m.value.container)
|
|
4277
4282
|
}, [
|
|
@@ -4314,7 +4319,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4314
4319
|
container: "contentBottom",
|
|
4315
4320
|
needRenderWrapper: !0
|
|
4316
4321
|
}, null, 8, ["survey"]))
|
|
4317
|
-
], 14,
|
|
4322
|
+
], 14, At),
|
|
4318
4323
|
(t(), y(N("sv-components-container"), {
|
|
4319
4324
|
survey: i.value,
|
|
4320
4325
|
container: "right",
|
|
@@ -4330,7 +4335,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4330
4335
|
p("div", {
|
|
4331
4336
|
innerHTML: T(),
|
|
4332
4337
|
class: l(i.value.completedCss)
|
|
4333
|
-
}, null, 10,
|
|
4338
|
+
}, null, 10, Et),
|
|
4334
4339
|
(t(), y(N("sv-components-container"), {
|
|
4335
4340
|
survey: i.value,
|
|
4336
4341
|
container: "completePage",
|
|
@@ -4341,12 +4346,12 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4341
4346
|
key: 3,
|
|
4342
4347
|
class: l(i.value.completedBeforeCss),
|
|
4343
4348
|
innerHTML: i.value.processedCompletedBeforeHtml
|
|
4344
|
-
}, null, 10,
|
|
4349
|
+
}, null, 10, Wt)) : d("", !0),
|
|
4345
4350
|
i.value.state === "loading" ? (t(), u("div", {
|
|
4346
4351
|
key: 4,
|
|
4347
4352
|
class: l(i.value.loadingBodyCss),
|
|
4348
4353
|
innerHTML: i.value.processedLoadingHtml
|
|
4349
|
-
}, null, 10,
|
|
4354
|
+
}, null, 10, Vt)) : d("", !0),
|
|
4350
4355
|
i.value.state === "empty" ? (t(), u("div", {
|
|
4351
4356
|
key: 5,
|
|
4352
4357
|
class: l(m.value.bodyEmpty)
|
|
@@ -4361,7 +4366,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4361
4366
|
], 6);
|
|
4362
4367
|
};
|
|
4363
4368
|
}
|
|
4364
|
-
}),
|
|
4369
|
+
}), Ft = /* @__PURE__ */ g({
|
|
4365
4370
|
__name: "Notifier",
|
|
4366
4371
|
props: {
|
|
4367
4372
|
model: {}
|
|
@@ -4381,11 +4386,11 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4381
4386
|
model: o.model.actionBar
|
|
4382
4387
|
}, null, 8, ["model"])
|
|
4383
4388
|
], 6)), [
|
|
4384
|
-
[
|
|
4389
|
+
[A, o.model.isDisplayed]
|
|
4385
4390
|
]);
|
|
4386
4391
|
};
|
|
4387
4392
|
}
|
|
4388
|
-
}),
|
|
4393
|
+
}), Ot = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], zt = { key: 1 }, Ut = /* @__PURE__ */ g({
|
|
4389
4394
|
__name: "QuestionOther",
|
|
4390
4395
|
props: {
|
|
4391
4396
|
question: {},
|
|
@@ -4412,12 +4417,15 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4412
4417
|
}),
|
|
4413
4418
|
onInput: o[1] || (o[1] = (e) => {
|
|
4414
4419
|
n.question.onOtherValueInput(e);
|
|
4420
|
+
}),
|
|
4421
|
+
onCompositionUpdate: o[2] || (o[2] = (e) => {
|
|
4422
|
+
n.question.onCompositionUpdateOtherValue(e);
|
|
4415
4423
|
})
|
|
4416
|
-
}, null, 46,
|
|
4417
|
-
n.question.isReadOnlyRenderDiv() ? (t(), u("div",
|
|
4424
|
+
}, null, 46, Ot)),
|
|
4425
|
+
n.question.isReadOnlyRenderDiv() ? (t(), u("div", zt, I(n.question.otherValue), 1)) : d("", !0)
|
|
4418
4426
|
], 2));
|
|
4419
4427
|
}
|
|
4420
|
-
}),
|
|
4428
|
+
}), Kt = ["disabled", "value", "title"], jt = /* @__PURE__ */ g({
|
|
4421
4429
|
__name: "SurveyNavigationButton",
|
|
4422
4430
|
props: {
|
|
4423
4431
|
item: {}
|
|
@@ -4433,7 +4441,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4433
4441
|
title: e.item.getTooltip(),
|
|
4434
4442
|
onMousedown: o,
|
|
4435
4443
|
onClick: s[0] || (s[0] = (...i) => e.item.action && e.item.action(...i))
|
|
4436
|
-
}, null, 42,
|
|
4444
|
+
}, null, 42, Kt)) : d("", !0);
|
|
4437
4445
|
}
|
|
4438
4446
|
}), ae = /* @__PURE__ */ g({
|
|
4439
4447
|
__name: "PopupSurvey",
|
|
@@ -4532,7 +4540,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4532
4540
|
], 6)) : d("", !0);
|
|
4533
4541
|
};
|
|
4534
4542
|
}
|
|
4535
|
-
}),
|
|
4543
|
+
}), Qt = ["innerHTML"], Gt = /* @__PURE__ */ g({
|
|
4536
4544
|
__name: "CustomWidget",
|
|
4537
4545
|
props: {
|
|
4538
4546
|
question: {},
|
|
@@ -4544,7 +4552,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4544
4552
|
), s = R(
|
|
4545
4553
|
() => !!n.question.customWidget.htmlTemplate
|
|
4546
4554
|
), i = R(() => n.question.customWidget.htmlTemplate), a = R(() => "survey-" + n.question.getTemplate());
|
|
4547
|
-
return
|
|
4555
|
+
return _(() => {
|
|
4548
4556
|
n.question.customWidget.afterRender(n.question, o.value);
|
|
4549
4557
|
}), j(() => {
|
|
4550
4558
|
n.question.customWidget.willUnmount(n.question, o.value);
|
|
@@ -4555,7 +4563,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4555
4563
|
s.value ? (t(), u("div", {
|
|
4556
4564
|
key: 0,
|
|
4557
4565
|
innerHTML: i.value
|
|
4558
|
-
}, null, 8,
|
|
4566
|
+
}, null, 8, Qt)) : d("", !0),
|
|
4559
4567
|
e.value ? (t(), y(N(a.value), {
|
|
4560
4568
|
key: 1,
|
|
4561
4569
|
question: c.question,
|
|
@@ -4563,7 +4571,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4563
4571
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4564
4572
|
], 512));
|
|
4565
4573
|
}
|
|
4566
|
-
}),
|
|
4574
|
+
}), Xt = /* @__PURE__ */ g({
|
|
4567
4575
|
__name: "PopupModal",
|
|
4568
4576
|
setup(r) {
|
|
4569
4577
|
const n = O();
|
|
@@ -4605,7 +4613,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4605
4613
|
], 8, ["to"])) : d("", !0);
|
|
4606
4614
|
};
|
|
4607
4615
|
}
|
|
4608
|
-
}),
|
|
4616
|
+
}), Jt = /* @__PURE__ */ g({
|
|
4609
4617
|
__name: "CharacterCounter",
|
|
4610
4618
|
props: {
|
|
4611
4619
|
counter: {},
|
|
@@ -4617,7 +4625,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4617
4625
|
class: l(o.remainingCharacterCounter)
|
|
4618
4626
|
}, I(o.counter.remainingCharacterCounter), 3));
|
|
4619
4627
|
}
|
|
4620
|
-
}),
|
|
4628
|
+
}), Yt = /* @__PURE__ */ g({
|
|
4621
4629
|
__name: "Composite",
|
|
4622
4630
|
props: {
|
|
4623
4631
|
question: {},
|
|
@@ -4637,7 +4645,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4637
4645
|
}, null, 8, ["question", "css"]);
|
|
4638
4646
|
};
|
|
4639
4647
|
}
|
|
4640
|
-
}),
|
|
4648
|
+
}), Zt = /* @__PURE__ */ g({
|
|
4641
4649
|
__name: "Custom",
|
|
4642
4650
|
props: {
|
|
4643
4651
|
question: {},
|
|
@@ -4653,9 +4661,9 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4653
4661
|
css: i.css
|
|
4654
4662
|
}, null, 8, ["question", "css"]));
|
|
4655
4663
|
}
|
|
4656
|
-
}),
|
|
4657
|
-
|
|
4658
|
-
], ue = 440,
|
|
4664
|
+
}), xt = /* @__PURE__ */ p("use", { "xlink:href": "#icon-timercircle" }, null, -1), ei = [
|
|
4665
|
+
xt
|
|
4666
|
+
], ue = 440, si = /* @__PURE__ */ g({
|
|
4659
4667
|
__name: "TimerPanel",
|
|
4660
4668
|
props: {
|
|
4661
4669
|
model: {},
|
|
@@ -4671,7 +4679,7 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4671
4679
|
key: 0,
|
|
4672
4680
|
class: l(s.model.getProgressCss()),
|
|
4673
4681
|
style: w({ strokeDasharray: ue, strokeDashoffset: o.value })
|
|
4674
|
-
},
|
|
4682
|
+
}, ei, 6)) : d("", !0),
|
|
4675
4683
|
p("div", {
|
|
4676
4684
|
class: l(s.model.textContainerCss)
|
|
4677
4685
|
}, [
|
|
@@ -4687,20 +4695,20 @@ const Jo = /* @__PURE__ */ me(Ko, [["render", Xo]]), Yo = ["aria-label"], Zo = /
|
|
|
4687
4695
|
key: 1,
|
|
4688
4696
|
class: l(s.model.survey.getCss().timerRoot)
|
|
4689
4697
|
}, I(e.value), 3)), [
|
|
4690
|
-
[
|
|
4698
|
+
[A, s.model.isRunning && !s.model.showTimerAsClock]
|
|
4691
4699
|
]);
|
|
4692
4700
|
}
|
|
4693
|
-
}),
|
|
4694
|
-
function
|
|
4701
|
+
}), ni = {}, oi = { class: "sd-loading-indicator" };
|
|
4702
|
+
function ti(r, n) {
|
|
4695
4703
|
const o = q("sv-svg-icon");
|
|
4696
|
-
return t(), u("div",
|
|
4704
|
+
return t(), u("div", oi, [
|
|
4697
4705
|
C(o, {
|
|
4698
4706
|
iconName: "icon-loading",
|
|
4699
4707
|
size: "'auto'"
|
|
4700
4708
|
})
|
|
4701
4709
|
]);
|
|
4702
4710
|
}
|
|
4703
|
-
const
|
|
4711
|
+
const ii = /* @__PURE__ */ me(ni, [["render", ti]]), li = { key: 2 }, ri = /* @__PURE__ */ g({
|
|
4704
4712
|
__name: "Header",
|
|
4705
4713
|
props: {
|
|
4706
4714
|
model: {},
|
|
@@ -4726,16 +4734,16 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4726
4734
|
}, [
|
|
4727
4735
|
(t(!0), u(S, null, B(o.model.cells, (a) => (t(), y(s, { model: a }, null, 8, ["model"]))), 256))
|
|
4728
4736
|
], 6)),
|
|
4729
|
-
o.survey.isMobile ? (t(), u("div",
|
|
4737
|
+
o.survey.isMobile ? (t(), u("div", li, [
|
|
4730
4738
|
C(i, { model: o.model }, null, 8, ["model"])
|
|
4731
4739
|
])) : d("", !0)
|
|
4732
4740
|
], 6);
|
|
4733
4741
|
};
|
|
4734
4742
|
}
|
|
4735
|
-
}),
|
|
4743
|
+
}), ai = {
|
|
4736
4744
|
key: 0,
|
|
4737
4745
|
class: "sv-header__logo"
|
|
4738
|
-
},
|
|
4746
|
+
}, ui = ["src", "width", "height", "alt"], di = /* @__PURE__ */ g({
|
|
4739
4747
|
__name: "HeaderCell",
|
|
4740
4748
|
props: {
|
|
4741
4749
|
model: {}
|
|
@@ -4751,7 +4759,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4751
4759
|
class: "sv-header__cell-content",
|
|
4752
4760
|
style: w(n.model.contentStyle)
|
|
4753
4761
|
}, [
|
|
4754
|
-
n.model.showLogo ? (t(), u("div",
|
|
4762
|
+
n.model.showLogo ? (t(), u("div", ai, [
|
|
4755
4763
|
p("div", {
|
|
4756
4764
|
class: l(n.model.survey.logoClassNames)
|
|
4757
4765
|
}, [
|
|
@@ -4762,7 +4770,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4762
4770
|
height: n.model.survey.renderedLogoHeight,
|
|
4763
4771
|
alt: n.model.survey.locTitle.renderedHtml,
|
|
4764
4772
|
style: w({ objectFit: n.model.survey.logoFit, width: n.model.survey.renderedStyleLogoWidth, height: n.model.survey.renderedStyleLogoHeight })
|
|
4765
|
-
}, null, 14,
|
|
4773
|
+
}, null, 14, ui)
|
|
4766
4774
|
], 2)
|
|
4767
4775
|
])) : d("", !0),
|
|
4768
4776
|
n.model.showTitle ? (t(), u("div", {
|
|
@@ -4793,10 +4801,10 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4793
4801
|
], 6);
|
|
4794
4802
|
};
|
|
4795
4803
|
}
|
|
4796
|
-
}),
|
|
4804
|
+
}), mi = { class: "sv-header--mobile" }, ci = {
|
|
4797
4805
|
key: 0,
|
|
4798
4806
|
class: "sv-header__logo"
|
|
4799
|
-
},
|
|
4807
|
+
}, pi = ["src", "width", "height", "alt"], vi = /* @__PURE__ */ g({
|
|
4800
4808
|
__name: "HeaderMobile",
|
|
4801
4809
|
props: {
|
|
4802
4810
|
model: {}
|
|
@@ -4804,8 +4812,8 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4804
4812
|
setup(r) {
|
|
4805
4813
|
return (n, o) => {
|
|
4806
4814
|
const e = q("survey-element-title"), s = q("survey-string");
|
|
4807
|
-
return t(), u("div",
|
|
4808
|
-
n.model.survey.hasLogo ? (t(), u("div",
|
|
4815
|
+
return t(), u("div", mi, [
|
|
4816
|
+
n.model.survey.hasLogo ? (t(), u("div", ci, [
|
|
4809
4817
|
p("div", {
|
|
4810
4818
|
class: l(n.model.survey.logoClassNames)
|
|
4811
4819
|
}, [
|
|
@@ -4816,7 +4824,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4816
4824
|
height: n.model.survey.renderedLogoHeight,
|
|
4817
4825
|
alt: n.model.survey.locTitle.renderedHtml,
|
|
4818
4826
|
style: w({ objectFit: n.model.survey.logoFit, width: n.model.survey.renderedStyleLogoWidth, height: n.model.survey.renderedStyleLogoHeight })
|
|
4819
|
-
}, null, 14,
|
|
4827
|
+
}, null, 14, pi)
|
|
4820
4828
|
], 2)
|
|
4821
4829
|
])) : d("", !0),
|
|
4822
4830
|
n.model.survey.hasTitle ? (t(), u("div", {
|
|
@@ -4846,7 +4854,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4846
4854
|
]);
|
|
4847
4855
|
};
|
|
4848
4856
|
}
|
|
4849
|
-
}),
|
|
4857
|
+
}), qi = /* @__PURE__ */ g({
|
|
4850
4858
|
__name: "FileCleanButton",
|
|
4851
4859
|
props: {
|
|
4852
4860
|
question: {},
|
|
@@ -4870,7 +4878,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4870
4878
|
], 2);
|
|
4871
4879
|
};
|
|
4872
4880
|
}
|
|
4873
|
-
}),
|
|
4881
|
+
}), yi = ["id"], gi = /* @__PURE__ */ g({
|
|
4874
4882
|
__name: "FileVideo",
|
|
4875
4883
|
props: {
|
|
4876
4884
|
question: {}
|
|
@@ -4892,14 +4900,14 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4892
4900
|
playsinline: "",
|
|
4893
4901
|
id: n.question.videoId,
|
|
4894
4902
|
class: l(n.question.cssClasses.video)
|
|
4895
|
-
}, null, 10,
|
|
4903
|
+
}, null, 10, yi),
|
|
4896
4904
|
C(e, {
|
|
4897
4905
|
item: n.question.takePictureAction
|
|
4898
4906
|
}, null, 8, ["item"])
|
|
4899
4907
|
], 2);
|
|
4900
4908
|
};
|
|
4901
4909
|
}
|
|
4902
|
-
}),
|
|
4910
|
+
}), hi = ["for", "aria-label"], Ci = /* @__PURE__ */ g({
|
|
4903
4911
|
__name: "FileChooseButton",
|
|
4904
4912
|
props: {
|
|
4905
4913
|
data: {},
|
|
@@ -4927,12 +4935,12 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4927
4935
|
size: "auto"
|
|
4928
4936
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
4929
4937
|
p("span", null, I(o.value.chooseButtonText), 1)
|
|
4930
|
-
], 10,
|
|
4938
|
+
], 10, hi)), [
|
|
4931
4939
|
[a]
|
|
4932
4940
|
]);
|
|
4933
4941
|
};
|
|
4934
4942
|
}
|
|
4935
|
-
}),
|
|
4943
|
+
}), bi = ["onClick", "href", "title", "download"], ki = ["src"], fi = ["onClick"], Ii = ["onClick", "href", "title", "download"], wi = /* @__PURE__ */ g({
|
|
4936
4944
|
__name: "FilePreview",
|
|
4937
4945
|
props: {
|
|
4938
4946
|
question: {}
|
|
@@ -4958,7 +4966,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4958
4966
|
title: s.name,
|
|
4959
4967
|
download: s.name,
|
|
4960
4968
|
style: w({ width: n.question.imageWidth })
|
|
4961
|
-
}, I(s.name), 13,
|
|
4969
|
+
}, I(s.name), 13, bi)
|
|
4962
4970
|
], 2)) : d("", !0),
|
|
4963
4971
|
p("div", {
|
|
4964
4972
|
class: l(n.question.getImageWrapperCss(s))
|
|
@@ -4971,7 +4979,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4971
4979
|
width: n.question.imageWidth
|
|
4972
4980
|
}),
|
|
4973
4981
|
alt: "File preview"
|
|
4974
|
-
}, null, 12,
|
|
4982
|
+
}, null, 12, ki)) : d("", !0),
|
|
4975
4983
|
n.question.defaultImage(s) ? (t(), y(e, {
|
|
4976
4984
|
key: 1,
|
|
4977
4985
|
iconName: n.question.cssClasses.defaultImageIconId,
|
|
@@ -4993,7 +5001,7 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
4993
5001
|
iconName: n.question.cssClasses.removeFileSvgIconId,
|
|
4994
5002
|
size: "auto"
|
|
4995
5003
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
4996
|
-
], 10,
|
|
5004
|
+
], 10, fi)) : d("", !0)
|
|
4997
5005
|
], 2),
|
|
4998
5006
|
s.name && n.question.cssClasses.fileSignBottom ? (t(), u("div", {
|
|
4999
5007
|
key: 1,
|
|
@@ -5005,35 +5013,35 @@ const ti = /* @__PURE__ */ me(si, [["render", oi]]), ii = { key: 2 }, li = /* @_
|
|
|
5005
5013
|
title: s.name,
|
|
5006
5014
|
download: s.name,
|
|
5007
5015
|
style: w({ width: n.question.imageWidth })
|
|
5008
|
-
}, I(s.name), 13,
|
|
5016
|
+
}, I(s.name), 13, Ii)
|
|
5009
5017
|
], 2)) : d("", !0)
|
|
5010
5018
|
], 2)), [
|
|
5011
|
-
[
|
|
5019
|
+
[A, s && n.question.isPreviewVisible(i)]
|
|
5012
5020
|
])), 128))
|
|
5013
5021
|
], 2)) : d("", !0);
|
|
5014
5022
|
};
|
|
5015
5023
|
}
|
|
5016
5024
|
});
|
|
5017
5025
|
He.platform = "vue3";
|
|
5018
|
-
function
|
|
5019
|
-
r.component("SurveyComponent", re), r.component("PopupSurveyComponent", ae), r.component("survey", re), r.component("popup-survey", ae), r.component("survey-header", Oe), r.component("survey-page", We), r.component("survey-row", ze), r.component("survey-element", Ke), r.component("survey-panel", Ge), r.component("survey-element-header", Xe), r.component("survey-string", Je), r.component("sv-string-viewer", xe), r.component("sv-string-editor", ss), r.component("sv-skeleton", os), r.component("survey-text", ls), r.component("survey-text-input", ds), r.component("survey-checkbox", ps), r.component("survey-checkbox-item", hs), r.component("survey-radiogroup", fs), r.component("survey-radiogroup-item", Ts), r.component("survey-signaturepad", Ls), r.component("survey-html", Ps), r.component("survey-image",
|
|
5026
|
+
function Si(r) {
|
|
5027
|
+
r.component("SurveyComponent", re), r.component("PopupSurveyComponent", ae), r.component("survey", re), r.component("popup-survey", ae), r.component("survey-header", Oe), r.component("survey-page", We), r.component("survey-row", ze), r.component("survey-element", Ke), r.component("survey-panel", Ge), r.component("survey-element-header", Xe), r.component("survey-string", Je), r.component("sv-string-viewer", xe), r.component("sv-string-editor", ss), r.component("sv-skeleton", os), r.component("survey-text", ls), r.component("survey-text-input", ds), r.component("survey-checkbox", ps), r.component("survey-checkbox-item", hs), r.component("survey-radiogroup", fs), r.component("survey-radiogroup-item", Ts), r.component("survey-signaturepad", Ls), r.component("survey-html", Ps), r.component("survey-image", As), r.component("survey-expression", _s), r.component("survey-file", Vs), r.component("sv-file-choose-btn", Ci), r.component("sv-file-clean-btn", qi), r.component("sv-file-preview", wi), r.component("sv-file-video", gi), r.component("survey-imagepicker", Os), r.component("survey-imagepicker-item", Qs), r.component("survey-comment", Js), r.component("survey-dropdown", Ys), r.component("sv-dropdown-select", sn), r.component("sv-dropdown-option-item", on), r.component("sv-dropdown", dn), r.component("survey-tagbox", mn), r.component("sv-tagbox", qn), r.component("sv-tagbox-item", bn), r.component("sv-tagbox-filter", hn), r.component("survey-ranking", kn), r.component("survey-ranking-item", Rn), r.component("survey-rating", Ln), r.component("sv-rating-item", Pn), r.component("sv-rating-item-smiley", Nn), r.component("sv-rating-item-star", An), r.component("sv-rating-dropdown", _n), r.component("survey-boolean", Wn), r.component("sv-boolean-radio", Vn), r.component("sv-boolean-radio-item", zn), r.component("sv-boolean-checkbox", Gn), r.component("survey-multipletext", Xn), r.component("survey-multipletext-item", Yn), r.component("survey-matrix", io), r.component("survey-matrixdropdown", lo), r.component("survey-matrixtable", mo), r.component("survey-matrixheaderrequired", po), r.component("survey-matrixcell", qo), r.component("survey-matrixdynamic", yo), r.component("sv-matrix-remove-button", ho), r.component("sv-matrix-drag-drop-icon", bo), r.component("sv-matrix-detail-button", fo), r.component("survey-paneldynamic", Io), r.component("survey-paneldynamicprogress", wo), r.component("survey-paneldynamicprogress-v2", So), r.component("sv-paneldynamic-add-btn", To), r.component("sv-paneldynamic-next-btn", $o), r.component("sv-paneldynamic-prev-btn", Lo), r.component("sv-paneldynamic-remove-btn", Do), r.component("sv-paneldynamic-progress-text", Po), r.component("sv-components-container", $t), r.component("sv-progress-buttons", Pt), r.component("sv-progress-toc", Mt), 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", No), r.component("survey-question-comment", _o), r.component("survey-element-title", Eo), r.component("survey-element-title-content", zo), r.component("sv-title-actions", jo), r.component("sv-brand-info", Zo), r.component("sv-svg-icon", st), r.component("sv-action-bar", nt), r.component("sv-action", it), r.component("sv-action-bar-item", rt), r.component("sv-action-bar-item-dropdown", ut), r.component("sv-action-bar-separator", dt), r.component("sv-list", vt), r.component("sv-list-item", gt), r.component("sv-popup", ht), r.component("sv-popup-container", St), r.component("popup-pointer", Tt), r.component("sv-notifier", Ft), r.component("survey-other-choice", Ut), r.component("sv-nav-btn", jt), r.component("survey-customwidget", Gt), r.component("survey-popup-modal", Xt), r.component("sv-character-counter", Jt), r.component("survey-composite", Yt), r.component("survey-custom", Zt), r.component("sv-timerpanel", si), r.component("sv-loading-indicator", ii), r.component("sv-header", ri), r.component("sv-header-cell", di), r.component("sv-header-mobile", vi), r.directive("key2click", {
|
|
5020
5028
|
mounted: function(n, o) {
|
|
5021
5029
|
const e = { ...o.value };
|
|
5022
5030
|
e.disableTabStop || (n.tabIndex = 0), n.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), de(s, e), !1)), n.addEventListener("keydown", (s) => {
|
|
5023
|
-
|
|
5031
|
+
Ae(s, e);
|
|
5024
5032
|
}), n.addEventListener("blur", (s) => {
|
|
5025
|
-
|
|
5033
|
+
_e(s);
|
|
5026
5034
|
});
|
|
5027
5035
|
}
|
|
5028
5036
|
});
|
|
5029
5037
|
}
|
|
5030
|
-
const
|
|
5038
|
+
const $i = {
|
|
5031
5039
|
install(r) {
|
|
5032
|
-
|
|
5040
|
+
Si(r);
|
|
5033
5041
|
}
|
|
5034
5042
|
};
|
|
5035
5043
|
export {
|
|
5036
|
-
|
|
5044
|
+
$i as surveyPlugin,
|
|
5037
5045
|
L as useBase,
|
|
5038
5046
|
z as useLocString,
|
|
5039
5047
|
H as useQuestion
|