survey-vue3-ui 1.11.10 → 1.11.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +121 -110
- package/survey-vue3-ui.umd.js +1 -1
- package/types/PopupSurvey.vue.d.ts +2 -0
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as S, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as h, createCommentVNode as m, Fragment as
|
|
2
|
-
import { Base as
|
|
3
|
-
|
|
1
|
+
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as S, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as h, createCommentVNode as m, Fragment as D, renderList as L, createBlock as q, resolveDynamicComponent as R, normalizeProps as z, mergeProps as H, withCtx as V, normalizeStyle as I, createElementVNode as p, onUnmounted as O, guardReactiveProps as te, withDirectives as N, vShow as E, toDisplayString as T, vModelRadio as ee, vModelCheckbox as ie, vModelSelect as we, vModelText as Ie, getCurrentInstance as ve, createStaticVNode as Se, resolveDirective as X, toRaw as Re, Teleport as Te, useSlots as $e, renderSlot as De } from "vue";
|
|
2
|
+
import { Base as _e, RendererFactory as se, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ae, ActionDropdownViewModel as Ne, getActionDropdownButtonTarget as Pe, createPopupViewModel as Me, SurveyProgressModel as ae, ProgressButtonsResponsivityManager as He, PopupSurveyModel as Ee, settings as Q, createDialogOptions as We, createPopupModalViewModel as Fe, ButtonGroupItemModel as Ve, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
|
+
_e.createPropertiesHash = () => be({});
|
|
4
4
|
function Qe(r) {
|
|
5
5
|
var s;
|
|
6
6
|
!r || (r.__vueImplemented = (s = r.__vueImplemented) != null ? s : 0, r.__vueImplemented <= 0 && (r.createArrayCoreHandler = (n, e) => {
|
|
@@ -115,7 +115,7 @@ const je = /* @__PURE__ */ g({
|
|
|
115
115
|
}, null, 8, ["locString"])
|
|
116
116
|
], 2)) : m("", !0),
|
|
117
117
|
h(d, { element: o.page }, null, 8, ["element"]),
|
|
118
|
-
(i(!0), u(
|
|
118
|
+
(i(!0), u(D, null, L(o.page.visibleRows, (k) => (i(), q(R(o.page.getSurvey().getRowWrapperComponentName(k)), z(H({
|
|
119
119
|
key: k.id
|
|
120
120
|
}, {
|
|
121
121
|
componentData: o.page.getSurvey().getRowWrapperComponentData(k)
|
|
@@ -213,7 +213,7 @@ const je = /* @__PURE__ */ g({
|
|
|
213
213
|
ref_key: "root",
|
|
214
214
|
ref: n
|
|
215
215
|
}, [
|
|
216
|
-
(i(!0), u(
|
|
216
|
+
(i(!0), u(D, null, L(e.row.visibleElements, (a) => (i(), q(o, {
|
|
217
217
|
row: e.row,
|
|
218
218
|
css: e.css,
|
|
219
219
|
element: a,
|
|
@@ -250,14 +250,14 @@ const je = /* @__PURE__ */ g({
|
|
|
250
250
|
}));
|
|
251
251
|
return O(() => {
|
|
252
252
|
v();
|
|
253
|
-
}), (f,
|
|
253
|
+
}), (f, _) => {
|
|
254
254
|
const b = y("survey-errors"), A = y("survey-element-header"), W = y("survey-string"), F = y("survey-question-comment");
|
|
255
255
|
return i(), u("div", {
|
|
256
256
|
class: l(f.element.getRootCss()),
|
|
257
257
|
style: I(a()),
|
|
258
258
|
ref_key: "root",
|
|
259
259
|
ref: n,
|
|
260
|
-
onFocusin:
|
|
260
|
+
onFocusin: _[0] || (_[0] = (J) => f.element.focusIn()),
|
|
261
261
|
id: f.element.id,
|
|
262
262
|
role: f.element.ariaRole,
|
|
263
263
|
"aria-required": f.element.ariaRequired,
|
|
@@ -376,7 +376,7 @@ const je = /* @__PURE__ */ g({
|
|
|
376
376
|
style: I({ paddingLeft: t.element.innerPaddingLeft }),
|
|
377
377
|
class: l(t.element.cssClasses.panel.content)
|
|
378
378
|
}, [
|
|
379
|
-
(i(!0), u(
|
|
379
|
+
(i(!0), u(D, null, L(t.element.visibleRows, (C) => (i(), q(R(t.element.getSurvey().getRowWrapperComponentName(C)), z(H({
|
|
380
380
|
key: C.id
|
|
381
381
|
}, {
|
|
382
382
|
componentData: t.element.getSurvey().getRowWrapperComponentData(C)
|
|
@@ -527,7 +527,7 @@ const je = /* @__PURE__ */ g({
|
|
|
527
527
|
p("datalist", {
|
|
528
528
|
id: e.question.dataListId
|
|
529
529
|
}, [
|
|
530
|
-
(i(!0), u(
|
|
530
|
+
(i(!0), u(D, null, L(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8, vs))), 256))
|
|
531
531
|
], 8, ps)
|
|
532
532
|
], 512)) : (i(), q(o, {
|
|
533
533
|
key: 2,
|
|
@@ -658,17 +658,17 @@ const je = /* @__PURE__ */ g({
|
|
|
658
658
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
659
659
|
}, [
|
|
660
660
|
o.showLegend ? (i(), u("legend", bs, T(o.question.locTitle.renderedHtml), 1)) : m("", !0),
|
|
661
|
-
o.question.hasHeadItems ? (i(!0), u(
|
|
661
|
+
o.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, L(o.question.headItems, (v) => (i(), q(R(e(v)), H({
|
|
662
662
|
key: v.value
|
|
663
663
|
}, t(v)), null, 16))), 128)) : m("", !0),
|
|
664
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(
|
|
664
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(D, { key: 2 }, L(o.question.bodyItems, (v) => (i(), q(R(e(v)), H({
|
|
665
665
|
key: v.value
|
|
666
666
|
}, t(v)), null, 16))), 128)) : m("", !0),
|
|
667
667
|
o.question.blockedRow ? (i(), u("div", {
|
|
668
668
|
key: 3,
|
|
669
669
|
class: l(o.question.cssClasses.rootRow)
|
|
670
670
|
}, [
|
|
671
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(
|
|
671
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(D, { key: 0 }, L(o.question.dataChoices, (v) => (i(), q(R(e(v)), H({
|
|
672
672
|
key: v.value
|
|
673
673
|
}, t(v)), null, 16))), 128)) : m("", !0)
|
|
674
674
|
], 2)) : m("", !0),
|
|
@@ -676,17 +676,17 @@ const je = /* @__PURE__ */ g({
|
|
|
676
676
|
key: 4,
|
|
677
677
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
678
678
|
}, [
|
|
679
|
-
o.question.hasColumns ? (i(!0), u(
|
|
679
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 0 }, L(o.question.columns, (v, d) => (i(), u("div", {
|
|
680
680
|
key: d,
|
|
681
681
|
class: l(o.question.getColumnClass()),
|
|
682
682
|
role: "presentation"
|
|
683
683
|
}, [
|
|
684
|
-
(i(!0), u(
|
|
684
|
+
(i(!0), u(D, null, L(v, (C) => (i(), q(R(e(C)), H({
|
|
685
685
|
key: C.value
|
|
686
686
|
}, t(C)), null, 16))), 128))
|
|
687
687
|
], 2))), 128)) : m("", !0)
|
|
688
688
|
], 2)) : m("", !0),
|
|
689
|
-
o.question.hasFootItems ? (i(!0), u(
|
|
689
|
+
o.question.hasFootItems ? (i(!0), u(D, { key: 5 }, L(o.question.footItems, (v) => (i(), q(R(e(v)), H({
|
|
690
690
|
key: v.value
|
|
691
691
|
}, t(v)), null, 16))), 128)) : m("", !0),
|
|
692
692
|
o.question.renderedValue && o.question.isOtherSelected ? (i(), q(c, {
|
|
@@ -789,7 +789,7 @@ const je = /* @__PURE__ */ g({
|
|
|
789
789
|
setup(r) {
|
|
790
790
|
return (s, n) => (i(), q(qe, { question: s.question }, null, 8, ["question"]));
|
|
791
791
|
}
|
|
792
|
-
}), $s = ["name", "value", "id", "aria-errormessage", "disabled", "readonly"],
|
|
792
|
+
}), $s = ["name", "value", "id", "aria-errormessage", "disabled", "readonly"], Ds = ["xlink:href"], _s = /* @__PURE__ */ g({
|
|
793
793
|
inheritAttrs: !1,
|
|
794
794
|
__name: "RadiogroupItem",
|
|
795
795
|
props: {
|
|
@@ -838,7 +838,7 @@ const je = /* @__PURE__ */ g({
|
|
|
838
838
|
}, [
|
|
839
839
|
p("use", {
|
|
840
840
|
"xlink:href": o.question.itemSvgIcon
|
|
841
|
-
}, null, 8,
|
|
841
|
+
}, null, 8, Ds)
|
|
842
842
|
], 2)) : m("", !0)
|
|
843
843
|
], 2)) : m("", !0),
|
|
844
844
|
o.hideLabel ? m("", !0) : (i(), u("span", {
|
|
@@ -1178,15 +1178,15 @@ const je = /* @__PURE__ */ g({
|
|
|
1178
1178
|
ref: n
|
|
1179
1179
|
}, [
|
|
1180
1180
|
p("legend", Qs, T(o.question.locTitle.renderedHtml), 1),
|
|
1181
|
-
o.question.hasColumns ? m("", !0) : (i(!0), u(
|
|
1181
|
+
o.question.hasColumns ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.visibleChoices, (c) => (i(), q(R(e(c)), H({
|
|
1182
1182
|
key: c.value
|
|
1183
1183
|
}, t(c)), null, 16))), 128)),
|
|
1184
|
-
o.question.hasColumns ? (i(!0), u(
|
|
1184
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 1 }, L(o.question.columns, (c, v) => (i(), u("div", {
|
|
1185
1185
|
class: l(o.question.getColumnClass()),
|
|
1186
1186
|
key: v,
|
|
1187
1187
|
role: "presentation"
|
|
1188
1188
|
}, [
|
|
1189
|
-
(i(!0), u(
|
|
1189
|
+
(i(!0), u(D, null, L(c, (d) => (i(), q(R(e(d)), H({
|
|
1190
1190
|
key: d.value
|
|
1191
1191
|
}, t(d)), null, 16))), 128))
|
|
1192
1192
|
], 2))), 128)) : m("", !0)
|
|
@@ -1364,6 +1364,12 @@ const je = /* @__PURE__ */ g({
|
|
|
1364
1364
|
onKeydown: o[1] || (o[1] = (c) => {
|
|
1365
1365
|
t.question.onKeyDown(c);
|
|
1366
1366
|
}),
|
|
1367
|
+
onFocus: o[2] || (o[2] = (c) => {
|
|
1368
|
+
t.question.onFocus(c);
|
|
1369
|
+
}),
|
|
1370
|
+
onBlur: o[3] || (o[3] = (c) => {
|
|
1371
|
+
t.question.onBlur(c);
|
|
1372
|
+
}),
|
|
1367
1373
|
"aria-required": t.question.a11y_input_ariaRequired,
|
|
1368
1374
|
"aria-label": t.question.a11y_input_ariaLabel,
|
|
1369
1375
|
"aria-labelledby": t.question.a11y_input_ariaLabelledBy,
|
|
@@ -1387,12 +1393,18 @@ const je = /* @__PURE__ */ g({
|
|
|
1387
1393
|
placeholder: t.question.renderedPlaceholder,
|
|
1388
1394
|
class: l(t.question.className),
|
|
1389
1395
|
onChange: e,
|
|
1390
|
-
onInput: o[
|
|
1396
|
+
onInput: o[4] || (o[4] = (c) => {
|
|
1391
1397
|
t.question.onInput(c);
|
|
1392
1398
|
}),
|
|
1393
|
-
onKeydown: o[
|
|
1399
|
+
onKeydown: o[5] || (o[5] = (c) => {
|
|
1394
1400
|
t.question.onKeyDown(c);
|
|
1395
1401
|
}),
|
|
1402
|
+
onFocus: o[6] || (o[6] = (c) => {
|
|
1403
|
+
t.question.onFocus(c);
|
|
1404
|
+
}),
|
|
1405
|
+
onBlur: o[7] || (o[7] = (c) => {
|
|
1406
|
+
t.question.onBlur(c);
|
|
1407
|
+
}),
|
|
1396
1408
|
"aria-required": t.question.a11y_input_ariaRequired,
|
|
1397
1409
|
"aria-label": t.question.a11y_input_ariaLabel,
|
|
1398
1410
|
"aria-labelledby": t.question.a11y_input_ariaLabelledBy,
|
|
@@ -1497,7 +1509,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1497
1509
|
required: a.question.isRequired
|
|
1498
1510
|
}, [
|
|
1499
1511
|
a.question.allowClear ? (i(), u("option", tn, T(a.question.placeholder), 1)) : m("", !0),
|
|
1500
|
-
(i(!0), u(
|
|
1512
|
+
(i(!0), u(D, null, L(a.question.visibleChoices, (k) => (i(), q(v, {
|
|
1501
1513
|
item: k,
|
|
1502
1514
|
key: k.id
|
|
1503
1515
|
}, null, 8, ["item"]))), 128))
|
|
@@ -1558,16 +1570,14 @@ const ln = /* @__PURE__ */ g({
|
|
|
1558
1570
|
Be.isTwoValueEquals(A, b.value, !1, !0, !1) || (b.value = e.value.inputStringRendered);
|
|
1559
1571
|
}
|
|
1560
1572
|
}, d = (b) => {
|
|
1561
|
-
|
|
1562
|
-
(A = e.value) == null || A.onBlur(b), v();
|
|
1573
|
+
s.question.onBlur(b), v();
|
|
1563
1574
|
}, C = (b) => {
|
|
1564
|
-
|
|
1565
|
-
(A = e.value) == null || A.onFocus(b);
|
|
1575
|
+
s.question.onFocus(b);
|
|
1566
1576
|
}, k = (b) => {
|
|
1567
1577
|
e.value.inputStringRendered = b.target.value;
|
|
1568
1578
|
}, f = S(
|
|
1569
1579
|
() => s.question.showSelectedItemLocText
|
|
1570
|
-
),
|
|
1580
|
+
), _ = S(() => s.question.selectedItemLocText);
|
|
1571
1581
|
return B(() => e.value), x(v), M(v), (b, A) => {
|
|
1572
1582
|
const W = y("survey-string"), F = y("sv-svg-icon"), J = y("sv-popup");
|
|
1573
1583
|
return i(), u("div", {
|
|
@@ -1603,7 +1613,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1603
1613
|
}, [
|
|
1604
1614
|
f.value ? (i(), q(W, {
|
|
1605
1615
|
key: 0,
|
|
1606
|
-
locString:
|
|
1616
|
+
locString: _.value
|
|
1607
1617
|
}, null, 8, ["locString"])) : m("", !0),
|
|
1608
1618
|
e.value.showHintString ? (i(), u("div", {
|
|
1609
1619
|
key: 1,
|
|
@@ -1739,7 +1749,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1739
1749
|
(C = n.value) == null || C.onBlur(d);
|
|
1740
1750
|
}, v = ne(() => s.question.selectedChoices);
|
|
1741
1751
|
return B(() => n.value), (d, C) => {
|
|
1742
|
-
const k = y("sv-tagbox-item"), f = y("sv-tagbox-filter"),
|
|
1752
|
+
const k = y("sv-tagbox-item"), f = y("sv-tagbox-filter"), _ = y("sv-svg-icon"), b = y("sv-popup"), A = y("survey-string");
|
|
1743
1753
|
return i(), u("div", {
|
|
1744
1754
|
class: l(d.question.cssClasses.selectWrapper),
|
|
1745
1755
|
onClick: e
|
|
@@ -1765,7 +1775,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1765
1775
|
p("div", {
|
|
1766
1776
|
class: l(d.question.cssClasses.controlValue)
|
|
1767
1777
|
}, [
|
|
1768
|
-
(i(!0), u(
|
|
1778
|
+
(i(!0), u(D, null, L(w(v), (W, F) => (i(), q(k, {
|
|
1769
1779
|
item: W,
|
|
1770
1780
|
question: d.question,
|
|
1771
1781
|
key: "item" + F
|
|
@@ -1781,7 +1791,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1781
1791
|
onClick: o,
|
|
1782
1792
|
"aria-hidden": "true"
|
|
1783
1793
|
}, [
|
|
1784
|
-
h(
|
|
1794
|
+
h(_, {
|
|
1785
1795
|
class: l(d.question.cssClasses.cleanButtonSvg),
|
|
1786
1796
|
iconName: d.question.cssClasses.cleanButtonIconId,
|
|
1787
1797
|
title: d.question.clearCaption,
|
|
@@ -1814,7 +1824,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1814
1824
|
onPointerdown: t,
|
|
1815
1825
|
"aria-hidden": "true"
|
|
1816
1826
|
}, [
|
|
1817
|
-
h(
|
|
1827
|
+
h(_, {
|
|
1818
1828
|
class: l(d.question.cssClasses.chevronButtonSvg),
|
|
1819
1829
|
iconName: d.question.cssClasses.chevronButtonIconId,
|
|
1820
1830
|
size: "auto"
|
|
@@ -1954,7 +1964,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1954
1964
|
ref_key: "root",
|
|
1955
1965
|
ref: n
|
|
1956
1966
|
}, [
|
|
1957
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(
|
|
1967
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1958
1968
|
key: v.value + "-" + d + "-item"
|
|
1959
1969
|
}, t(v, d)), null, 16))), 128)),
|
|
1960
1970
|
o.question.selectToRankEnabled ? (i(), u("div", {
|
|
@@ -1962,7 +1972,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1962
1972
|
class: l(o.question.getContainerClasses("from")),
|
|
1963
1973
|
"data-ranking": "from-container"
|
|
1964
1974
|
}, [
|
|
1965
|
-
(i(!0), u(
|
|
1975
|
+
(i(!0), u(D, null, L(o.question.renderedUnRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1966
1976
|
key: v.value + "-" + d + "-item"
|
|
1967
1977
|
}, t(v, d, !0)), null, 16))), 128)),
|
|
1968
1978
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1983,7 +1993,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1983
1993
|
class: l(o.question.getContainerClasses("to")),
|
|
1984
1994
|
"data-ranking": "to-container"
|
|
1985
1995
|
}, [
|
|
1986
|
-
(i(!0), u(
|
|
1996
|
+
(i(!0), u(D, null, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1987
1997
|
key: v.value + "-" + d + "-item"
|
|
1988
1998
|
}, t(v, d)), null, 16))), 128)),
|
|
1989
1999
|
o.question.renderedRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -2001,7 +2011,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2001
2011
|
}), Sn = ["tabindex", "data-sv-drop-target-ranking-item"], Rn = {
|
|
2002
2012
|
tabindex: "-1",
|
|
2003
2013
|
style: { outline: "none" }
|
|
2004
|
-
}, Tn = ["xlink:href"], $n = ["xlink:href"],
|
|
2014
|
+
}, Tn = ["xlink:href"], $n = ["xlink:href"], Dn = ["xlink:href"], _n = /* @__PURE__ */ g({
|
|
2005
2015
|
inheritAttrs: !1,
|
|
2006
2016
|
__name: "RankingItem",
|
|
2007
2017
|
props: {
|
|
@@ -2071,7 +2081,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2071
2081
|
(i(), u("svg", null, [
|
|
2072
2082
|
p("use", {
|
|
2073
2083
|
"xlink:href": e.question.dashSvgIcon
|
|
2074
|
-
}, null, 8,
|
|
2084
|
+
}, null, 8, Dn)
|
|
2075
2085
|
]))
|
|
2076
2086
|
], 2)),
|
|
2077
2087
|
(i(), q(R(e.question.itemComponent), {
|
|
@@ -2131,7 +2141,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2131
2141
|
locString: t.question.locMinRateDescription
|
|
2132
2142
|
}, null, 8, ["locString"])
|
|
2133
2143
|
], 2)) : m("", !0),
|
|
2134
|
-
(i(!0), u(
|
|
2144
|
+
(i(!0), u(D, null, L(t.question.renderedRateItems, (c, v) => (i(), q(R(t.question.itemComponent), {
|
|
2135
2145
|
key: e(v),
|
|
2136
2146
|
item: c,
|
|
2137
2147
|
index: v,
|
|
@@ -2622,14 +2632,14 @@ const to = /* @__PURE__ */ g({
|
|
|
2622
2632
|
ref: n
|
|
2623
2633
|
}, [
|
|
2624
2634
|
p("tbody", null, [
|
|
2625
|
-
(i(!0), u(
|
|
2635
|
+
(i(!0), u(D, null, L(w(e), (c, v) => (i(), u(D, {
|
|
2626
2636
|
key: t.question.inputId + "rowkey" + v
|
|
2627
2637
|
}, [
|
|
2628
2638
|
c.isVisible ? (i(), u("tr", {
|
|
2629
2639
|
key: 0,
|
|
2630
2640
|
class: l(t.question.cssClasses.row)
|
|
2631
2641
|
}, [
|
|
2632
|
-
(i(!0), u(
|
|
2642
|
+
(i(!0), u(D, null, L(c.cells, (d) => (i(), u("td", {
|
|
2633
2643
|
key: "item" + d.item.editor.id,
|
|
2634
2644
|
class: l(d.className)
|
|
2635
2645
|
}, [
|
|
@@ -2732,7 +2742,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2732
2742
|
o.question.showHeader ? (i(), u("thead", uo, [
|
|
2733
2743
|
p("tr", null, [
|
|
2734
2744
|
o.question.hasRows ? (i(), u("td", mo)) : m("", !0),
|
|
2735
|
-
(i(!0), u(
|
|
2745
|
+
(i(!0), u(D, null, L(o.question.visibleColumns, (v, d) => (i(), u("th", {
|
|
2736
2746
|
key: d,
|
|
2737
2747
|
class: l(o.question.cssClasses.headerCell),
|
|
2738
2748
|
style: I({
|
|
@@ -2754,7 +2764,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2754
2764
|
])
|
|
2755
2765
|
])) : m("", !0),
|
|
2756
2766
|
p("tbody", null, [
|
|
2757
|
-
(i(!0), u(
|
|
2767
|
+
(i(!0), u(D, null, L(e.value, (v, d) => (i(), u("tr", {
|
|
2758
2768
|
key: "row_" + v.name + "_" + d,
|
|
2759
2769
|
class: l(v.rowClasses || void 0)
|
|
2760
2770
|
}, [
|
|
@@ -2778,7 +2788,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2778
2788
|
], 6), [
|
|
2779
2789
|
[E, o.question.hasRows]
|
|
2780
2790
|
]),
|
|
2781
|
-
o.question.hasCellText ? (i(!0), u(
|
|
2791
|
+
o.question.hasCellText ? (i(!0), u(D, { key: 0 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2782
2792
|
key: k,
|
|
2783
2793
|
class: l(o.question.getItemClass(v, C)),
|
|
2784
2794
|
onClick: (f) => t(v, C)
|
|
@@ -2787,7 +2797,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2787
2797
|
locString: o.question.getCellDisplayLocText(v.name, C)
|
|
2788
2798
|
}, null, 8, ["locString"])
|
|
2789
2799
|
], 10, co))), 128)) : m("", !0),
|
|
2790
|
-
o.question.hasCellText ? m("", !0) : (i(!0), u(
|
|
2800
|
+
o.question.hasCellText ? m("", !0) : (i(!0), u(D, { key: 1 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2791
2801
|
key: k,
|
|
2792
2802
|
"data-responsive-title": C.locText.renderedHtml,
|
|
2793
2803
|
class: l(o.question.cssClasses.cell),
|
|
@@ -2836,7 +2846,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2836
2846
|
ref_key: "root",
|
|
2837
2847
|
ref: n
|
|
2838
2848
|
}, [
|
|
2839
|
-
(i(!0), u(
|
|
2849
|
+
(i(!0), u(D, null, L(t.row.cells, (c, v) => (i(), q(a, {
|
|
2840
2850
|
cell: c,
|
|
2841
2851
|
question: t.question,
|
|
2842
2852
|
key: t.row.id + "_" + v
|
|
@@ -2937,7 +2947,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2937
2947
|
}, [
|
|
2938
2948
|
n.value.showHeader ? (i(), u("thead", ko, [
|
|
2939
2949
|
p("tr", null, [
|
|
2940
|
-
(i(!0), u(
|
|
2950
|
+
(i(!0), u(D, null, L(n.value.headerRow.cells, (d) => (i(), u(D, null, [
|
|
2941
2951
|
d.hasTitle ? (i(), u("th", {
|
|
2942
2952
|
key: "header_" + d.id,
|
|
2943
2953
|
class: l(d.className),
|
|
@@ -2968,7 +2978,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2968
2978
|
])
|
|
2969
2979
|
])) : m("", !0),
|
|
2970
2980
|
p("tbody", null, [
|
|
2971
|
-
(i(!0), u(
|
|
2981
|
+
(i(!0), u(D, null, L(n.value.renderedRows, (d) => (i(), q(c, {
|
|
2972
2982
|
key: e.question.inputId + "_" + d.id,
|
|
2973
2983
|
row: d,
|
|
2974
2984
|
question: e.question
|
|
@@ -2976,7 +2986,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2976
2986
|
]),
|
|
2977
2987
|
n.value.showFooter ? (i(), u("tfoot", fo, [
|
|
2978
2988
|
p("tr", null, [
|
|
2979
|
-
(i(!0), u(
|
|
2989
|
+
(i(!0), u(D, null, L(n.value.footerRow.cells, (d, C) => (i(), q(v, {
|
|
2980
2990
|
cell: d,
|
|
2981
2991
|
question: e.question,
|
|
2982
2992
|
key: "footer_" + C
|
|
@@ -2995,7 +3005,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2995
3005
|
},
|
|
2996
3006
|
setup(r) {
|
|
2997
3007
|
const s = r;
|
|
2998
|
-
return B(() => s.column), (n, e) => n.column.isRenderedRequired ? (i(), u(
|
|
3008
|
+
return B(() => s.column), (n, e) => n.column.isRenderedRequired ? (i(), u(D, { key: 0 }, [
|
|
2999
3009
|
Io,
|
|
3000
3010
|
n.column.isRenderedRequired ? (i(), u("span", {
|
|
3001
3011
|
key: 0,
|
|
@@ -3054,7 +3064,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3054
3064
|
}
|
|
3055
3065
|
});
|
|
3056
3066
|
return (d, C) => {
|
|
3057
|
-
const k = y("survey-errors"), f = y("sv-matrix-drag-drop-icon"),
|
|
3067
|
+
const k = y("survey-errors"), f = y("sv-matrix-drag-drop-icon"), _ = y("sv-action-bar"), b = y("survey-string"), A = y("survey-radiogroup-item"), W = y("survey-checkbox-item"), F = y("survey-other-choice");
|
|
3058
3068
|
return i(), u("td", {
|
|
3059
3069
|
class: l(d.cell.className),
|
|
3060
3070
|
title: d.cell.getTitle(),
|
|
@@ -3072,7 +3082,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3072
3082
|
key: 1,
|
|
3073
3083
|
item: { data: { row: d.cell.row, question: d.question } }
|
|
3074
3084
|
}, null, 8, ["item"])) : m("", !0),
|
|
3075
|
-
d.cell.isActionsCell ? (i(), q(
|
|
3085
|
+
d.cell.isActionsCell ? (i(), q(_, {
|
|
3076
3086
|
key: 2,
|
|
3077
3087
|
model: d.cell.item.getData(),
|
|
3078
3088
|
handleClick: !1
|
|
@@ -3242,7 +3252,7 @@ function le(r, s = !0) {
|
|
|
3242
3252
|
row: s ? S(() => r.item.data.row) : void 0
|
|
3243
3253
|
};
|
|
3244
3254
|
}
|
|
3245
|
-
const
|
|
3255
|
+
const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
3246
3256
|
__name: "RemoveButton",
|
|
3247
3257
|
props: {
|
|
3248
3258
|
item: {}
|
|
@@ -3263,7 +3273,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3263
3273
|
p("span", {
|
|
3264
3274
|
class: l(w(n).cssClasses.iconRemove)
|
|
3265
3275
|
}, null, 2)
|
|
3266
|
-
], 10,
|
|
3276
|
+
], 10, Do);
|
|
3267
3277
|
};
|
|
3268
3278
|
}
|
|
3269
3279
|
}), Bo = ["xlink:href"], Lo = /* @__PURE__ */ g({
|
|
@@ -3360,7 +3370,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3360
3370
|
};
|
|
3361
3371
|
};
|
|
3362
3372
|
return (c, v) => {
|
|
3363
|
-
const d = y("survey-string"), C = y("sv-paneldynamic-add-btn"), k = y("survey-paneldynamicprogress"), f = y("sv-paneldynamic-remove-btn"),
|
|
3373
|
+
const d = y("survey-string"), C = y("sv-paneldynamic-add-btn"), k = y("survey-paneldynamicprogress"), f = y("sv-paneldynamic-remove-btn"), _ = y("survey-paneldynamicprogress-v2");
|
|
3364
3374
|
return i(), u("div", {
|
|
3365
3375
|
class: l(c.question.cssClasses.root),
|
|
3366
3376
|
ref_key: "root",
|
|
@@ -3396,7 +3406,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3396
3406
|
p("div", {
|
|
3397
3407
|
class: l(c.question.cssClasses.panelsContainer)
|
|
3398
3408
|
}, [
|
|
3399
|
-
(i(!0), u(
|
|
3409
|
+
(i(!0), u(D, null, L(c.question.renderedPanels, (b, A) => (i(), u(D, {
|
|
3400
3410
|
key: b.id
|
|
3401
3411
|
}, [
|
|
3402
3412
|
p("div", {
|
|
@@ -3422,7 +3432,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3422
3432
|
key: 4,
|
|
3423
3433
|
data: { question: c.question }
|
|
3424
3434
|
}, null, 8, ["data"])) : m("", !0),
|
|
3425
|
-
c.question.showNavigation ? (i(), q(
|
|
3435
|
+
c.question.showNavigation ? (i(), q(_, {
|
|
3426
3436
|
key: 5,
|
|
3427
3437
|
question: c.question
|
|
3428
3438
|
}, null, 8, ["question"])) : m("", !0)
|
|
@@ -3654,7 +3664,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3654
3664
|
ref_key: "root",
|
|
3655
3665
|
ref: s
|
|
3656
3666
|
}, [
|
|
3657
|
-
(i(!0), u(
|
|
3667
|
+
(i(!0), u(D, null, L(n.element.errors, (t, o) => (i(), q(R(n.element.survey.questionErrorComponent), {
|
|
3658
3668
|
element: n.element,
|
|
3659
3669
|
key: "error_" + o,
|
|
3660
3670
|
errorKey: "error_" + o,
|
|
@@ -3743,7 +3753,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3743
3753
|
);
|
|
3744
3754
|
return (e, t) => {
|
|
3745
3755
|
const o = y("survey-string");
|
|
3746
|
-
return i(), u(
|
|
3756
|
+
return i(), u(D, null, [
|
|
3747
3757
|
e.element.isTitleRenderedAsString ? (i(), q(o, {
|
|
3748
3758
|
key: 0,
|
|
3749
3759
|
locString: e.element.locTitle
|
|
@@ -3905,7 +3915,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3905
3915
|
class: l(o.model.getRootCss()),
|
|
3906
3916
|
onClick: e
|
|
3907
3917
|
}, [
|
|
3908
|
-
(i(!0), u(
|
|
3918
|
+
(i(!0), u(D, null, L(w(t), (v) => (i(), q(c, {
|
|
3909
3919
|
key: v.id,
|
|
3910
3920
|
item: v
|
|
3911
3921
|
}, null, 8, ["item"]))), 128))
|
|
@@ -4004,7 +4014,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4004
4014
|
}
|
|
4005
4015
|
), (t, o) => {
|
|
4006
4016
|
const a = y("sv-svg-icon"), c = y("sv-popup"), v = X("key2click");
|
|
4007
|
-
return i(), u(
|
|
4017
|
+
return i(), u(D, null, [
|
|
4008
4018
|
N((i(), u("button", {
|
|
4009
4019
|
type: "button",
|
|
4010
4020
|
class: l(t.item.getActionBarItemCss()),
|
|
@@ -4131,7 +4141,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4131
4141
|
c.model.onKeyDown(k);
|
|
4132
4142
|
})
|
|
4133
4143
|
}, [
|
|
4134
|
-
(i(!0), u(
|
|
4144
|
+
(i(!0), u(D, null, L(w(a), (k) => (i(), q(C, {
|
|
4135
4145
|
item: k,
|
|
4136
4146
|
model: c.model,
|
|
4137
4147
|
key: k.id
|
|
@@ -4142,7 +4152,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4142
4152
|
], 2);
|
|
4143
4153
|
};
|
|
4144
4154
|
}
|
|
4145
|
-
}),
|
|
4155
|
+
}), Dt = ["aria-selected", "id", "tabindex"], _t = ["title"], Bt = /* @__PURE__ */ g({
|
|
4146
4156
|
__name: "ListItem",
|
|
4147
4157
|
props: {
|
|
4148
4158
|
model: {},
|
|
@@ -4183,8 +4193,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4183
4193
|
item: t.item,
|
|
4184
4194
|
model: t.model
|
|
4185
4195
|
}, null, 8, ["item", "model"]))
|
|
4186
|
-
], 46,
|
|
4187
|
-
], 42,
|
|
4196
|
+
], 46, _t)
|
|
4197
|
+
], 42, Dt)), [
|
|
4188
4198
|
[E, t.model.isItemVisible(t.item)],
|
|
4189
4199
|
[a, { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4190
4200
|
]);
|
|
@@ -4200,7 +4210,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4200
4210
|
const s = r;
|
|
4201
4211
|
return B(() => s.item), (n, e) => {
|
|
4202
4212
|
const t = y("sv-svg-icon"), o = y("survey-string");
|
|
4203
|
-
return i(), u(
|
|
4213
|
+
return i(), u(D, null, [
|
|
4204
4214
|
n.item.iconName ? (i(), q(t, {
|
|
4205
4215
|
key: 0,
|
|
4206
4216
|
class: l(n.model.cssClasses.itemIcon),
|
|
@@ -4229,7 +4239,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4229
4239
|
const s = r;
|
|
4230
4240
|
return B(() => s.item), (n, e) => {
|
|
4231
4241
|
const t = y("sv-list-item-content"), o = y("sv-popup");
|
|
4232
|
-
return i(), u(
|
|
4242
|
+
return i(), u(D, null, [
|
|
4233
4243
|
h(t, {
|
|
4234
4244
|
item: n.item,
|
|
4235
4245
|
model: n.model
|
|
@@ -4369,17 +4379,17 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4369
4379
|
const s = r, n = S(
|
|
4370
4380
|
() => s.survey.getContainerContent(s.container)
|
|
4371
4381
|
);
|
|
4372
|
-
return (e, t) => n.value.length > 0 ? (i(), u(
|
|
4382
|
+
return (e, t) => n.value.length > 0 ? (i(), u(D, { key: 0 }, [
|
|
4373
4383
|
e.needRenderWrapper ? (i(), u("div", {
|
|
4374
4384
|
key: 0,
|
|
4375
4385
|
class: l(["sv-components-column", "sv-components-container-" + e.container])
|
|
4376
4386
|
}, [
|
|
4377
|
-
(i(!0), u(
|
|
4387
|
+
(i(!0), u(D, null, L(n.value, (o, a) => (i(), q(R(o.component), {
|
|
4378
4388
|
survey: e.survey,
|
|
4379
4389
|
container: e.container,
|
|
4380
4390
|
model: o.data
|
|
4381
4391
|
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4382
|
-
], 2)) : (i(!0), u(
|
|
4392
|
+
], 2)) : (i(!0), u(D, { key: 1 }, L(n.value, (o, a) => (i(), q(R(o.component), {
|
|
4383
4393
|
survey: e.survey,
|
|
4384
4394
|
container: e.container,
|
|
4385
4395
|
model: o.data
|
|
@@ -4469,7 +4479,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4469
4479
|
}, [
|
|
4470
4480
|
p("div", {
|
|
4471
4481
|
class: l(C.model.getScrollButtonCss(n.value, !0)),
|
|
4472
|
-
onClick: k[0] || (k[0] = (
|
|
4482
|
+
onClick: k[0] || (k[0] = (_) => d(!0)),
|
|
4473
4483
|
role: "button"
|
|
4474
4484
|
}, null, 2),
|
|
4475
4485
|
p("div", {
|
|
@@ -4480,11 +4490,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4480
4490
|
p("ul", {
|
|
4481
4491
|
class: l(c.value.progressButtonsList)
|
|
4482
4492
|
}, [
|
|
4483
|
-
(i(!0), u(
|
|
4493
|
+
(i(!0), u(D, null, L(C.survey.visiblePages, (_, b) => (i(), u("li", {
|
|
4484
4494
|
key: "listelement" + b,
|
|
4485
4495
|
class: l(C.model.getListElementCss(b)),
|
|
4486
|
-
onClick: (A) => C.model.isListElementClickable(b) ? C.model.clickListElement(
|
|
4487
|
-
"data-page-number": C.model.getItemNumber(
|
|
4496
|
+
onClick: (A) => C.model.isListElementClickable(b) ? C.model.clickListElement(_) : null,
|
|
4497
|
+
"data-page-number": C.model.getItemNumber(_)
|
|
4488
4498
|
}, [
|
|
4489
4499
|
p("div", {
|
|
4490
4500
|
class: l(c.value.progressButtonsConnector)
|
|
@@ -4492,17 +4502,17 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4492
4502
|
o.value ? (i(), u("div", {
|
|
4493
4503
|
key: 0,
|
|
4494
4504
|
class: l(c.value.progressButtonsPageTitle),
|
|
4495
|
-
title:
|
|
4505
|
+
title: _.renderedNavigationTitle
|
|
4496
4506
|
}, [
|
|
4497
4507
|
h(f, {
|
|
4498
|
-
locString:
|
|
4508
|
+
locString: _.locNavigationTitle
|
|
4499
4509
|
}, null, 8, ["locString"])
|
|
4500
4510
|
], 10, Qt)) : m("", !0),
|
|
4501
4511
|
o.value ? (i(), u("div", {
|
|
4502
4512
|
key: 1,
|
|
4503
4513
|
class: l(c.value.progressButtonsPageDescription),
|
|
4504
|
-
title:
|
|
4505
|
-
}, T(
|
|
4514
|
+
title: _.locNavigationDescription.renderedHtml
|
|
4515
|
+
}, T(_.locNavigationDescription.renderedHtml), 11, jt)) : m("", !0),
|
|
4506
4516
|
p("div", {
|
|
4507
4517
|
class: l(c.value.progressButtonsButton)
|
|
4508
4518
|
}, [
|
|
@@ -4512,14 +4522,14 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4512
4522
|
p("div", {
|
|
4513
4523
|
class: l(c.value.progressButtonsButtonContent)
|
|
4514
4524
|
}, null, 2),
|
|
4515
|
-
p("span", null, T(C.model.getItemNumber(
|
|
4525
|
+
p("span", null, T(C.model.getItemNumber(_)), 1)
|
|
4516
4526
|
], 2)
|
|
4517
4527
|
], 10, Kt))), 128))
|
|
4518
4528
|
], 2)
|
|
4519
4529
|
], 2),
|
|
4520
4530
|
p("div", {
|
|
4521
4531
|
class: l(C.model.getScrollButtonCss(n.value, !1)),
|
|
4522
|
-
onClick: k[1] || (k[1] = (
|
|
4532
|
+
onClick: k[1] || (k[1] = (_) => d(!1)),
|
|
4523
4533
|
role: "button"
|
|
4524
4534
|
}, null, 2)
|
|
4525
4535
|
], 2),
|
|
@@ -4578,35 +4588,35 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4578
4588
|
},
|
|
4579
4589
|
setup(r) {
|
|
4580
4590
|
const s = r, n = $(), e = $(""), t = $(1), o = S(() => {
|
|
4581
|
-
const
|
|
4582
|
-
return Re(
|
|
4591
|
+
const _ = s.survey ? s.survey : s.model;
|
|
4592
|
+
return Re(_);
|
|
4583
4593
|
}), a = S(() => o.value.activePage ? o.value.activePage.id : ""), c = () => {
|
|
4584
|
-
const
|
|
4585
|
-
return !!o.value &&
|
|
4594
|
+
const _ = a.value;
|
|
4595
|
+
return !!o.value && _ + t.value.toString();
|
|
4586
4596
|
}, v = S(
|
|
4587
4597
|
() => o.value.showCompletedPage && o.value.state === "completed"
|
|
4588
|
-
), d = S(() => o.value.css), C = S(() => "page" + c()), k = () => v.value ? (e.value || (e.value = o.value.processedCompletedHtml), e.value) : "", f = (
|
|
4589
|
-
if (!!
|
|
4598
|
+
), d = S(() => o.value.css), C = S(() => "page" + c()), k = () => v.value ? (e.value || (e.value = o.value.processedCompletedHtml), e.value) : "", f = (_) => {
|
|
4599
|
+
if (!!_) {
|
|
4590
4600
|
var b = n.value;
|
|
4591
|
-
b &&
|
|
4601
|
+
b && _.afterRenderSurvey(b), _.renderCallback = () => {
|
|
4592
4602
|
var A, W;
|
|
4593
4603
|
t.value++, (W = (A = ve()) == null ? void 0 : A.proxy) == null || W.$forceUpdate();
|
|
4594
|
-
},
|
|
4604
|
+
}, _.startTimerFromUI();
|
|
4595
4605
|
}
|
|
4596
4606
|
};
|
|
4597
4607
|
return B(
|
|
4598
4608
|
() => o.value,
|
|
4599
|
-
(
|
|
4600
|
-
|
|
4609
|
+
(_, b) => {
|
|
4610
|
+
_ && b && f(_);
|
|
4601
4611
|
},
|
|
4602
|
-
(
|
|
4603
|
-
|
|
4612
|
+
(_) => {
|
|
4613
|
+
_.stopTimer(), _.renderCallback = void 0;
|
|
4604
4614
|
}
|
|
4605
4615
|
), M(() => {
|
|
4606
4616
|
f(o.value);
|
|
4607
4617
|
}), O(() => {
|
|
4608
4618
|
o.value.stopTimer(), o.value.renderCallback = void 0;
|
|
4609
|
-
}), (
|
|
4619
|
+
}), (_, b) => {
|
|
4610
4620
|
const A = y("sv-svg-bundle"), W = y("survey-popup-modal"), F = y("survey-header"), J = y("survey-page"), he = y("sv-brand-info"), Ce = y("sv-notifier");
|
|
4611
4621
|
return i(), u("div", {
|
|
4612
4622
|
class: l(o.value.getRootCss()),
|
|
@@ -4675,7 +4685,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4675
4685
|
survey: o.value,
|
|
4676
4686
|
container: "contentBottom",
|
|
4677
4687
|
needRenderWrapper: !0
|
|
4678
|
-
}, null, 8, ["survey"]))
|
|
4688
|
+
}, null, 8, ["survey"])),
|
|
4689
|
+
o.value.showBrandInfo ? (i(), q(he, { key: 0 })) : m("", !0)
|
|
4679
4690
|
], 14, si)
|
|
4680
4691
|
]),
|
|
4681
4692
|
(i(), q(R("sv-components-container"), {
|
|
@@ -4716,7 +4727,6 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4716
4727
|
}, T(o.value.emptySurveyText), 3)) : m("", !0)
|
|
4717
4728
|
], 2)
|
|
4718
4729
|
]),
|
|
4719
|
-
o.value.showBrandInfo ? (i(), q(he, { key: 1 })) : m("", !0),
|
|
4720
4730
|
h(Ce, {
|
|
4721
4731
|
model: o.value.notifier
|
|
4722
4732
|
}, null, 8, ["model"])
|
|
@@ -4805,6 +4815,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4805
4815
|
isExpanded: { type: Boolean },
|
|
4806
4816
|
allowClose: { type: Boolean },
|
|
4807
4817
|
allowFullScreen: { type: Boolean },
|
|
4818
|
+
onClose: { type: Function },
|
|
4808
4819
|
closeOnCompleteTimeout: {}
|
|
4809
4820
|
},
|
|
4810
4821
|
setup(r) {
|
|
@@ -4819,7 +4830,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4819
4830
|
const t = () => {
|
|
4820
4831
|
n.value.changeExpandCollapse();
|
|
4821
4832
|
}, o = () => {
|
|
4822
|
-
n.value.hide();
|
|
4833
|
+
n.value.hide(), s.onClose && s.onClose();
|
|
4823
4834
|
}, a = () => {
|
|
4824
4835
|
n.value.toggleFullScreen();
|
|
4825
4836
|
}, c = () => "SurveyComponent", v = () => {
|
|
@@ -4842,7 +4853,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4842
4853
|
return O(() => {
|
|
4843
4854
|
C();
|
|
4844
4855
|
}), (k, f) => {
|
|
4845
|
-
const
|
|
4856
|
+
const _ = y("sv-svg-icon");
|
|
4846
4857
|
return n.value.isShowing ? (i(), u("div", {
|
|
4847
4858
|
key: 0,
|
|
4848
4859
|
style: I({ maxWidth: n.value.renderedWidth, width: n.value.renderedWidth }),
|
|
@@ -4867,12 +4878,12 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4867
4878
|
class: l(n.value.cssHeaderFullScreenButton),
|
|
4868
4879
|
onClick: a
|
|
4869
4880
|
}, [
|
|
4870
|
-
n.value.isFullScreen ? (i(), q(
|
|
4881
|
+
n.value.isFullScreen ? (i(), q(_, {
|
|
4871
4882
|
key: 0,
|
|
4872
4883
|
iconName: "icon-back-to-panel_16x16",
|
|
4873
4884
|
size: 16
|
|
4874
4885
|
})) : m("", !0),
|
|
4875
|
-
n.value.isFullScreen ? m("", !0) : (i(), q(
|
|
4886
|
+
n.value.isFullScreen ? m("", !0) : (i(), q(_, {
|
|
4876
4887
|
key: 1,
|
|
4877
4888
|
iconName: "icon-full-screen_16x16",
|
|
4878
4889
|
size: 16
|
|
@@ -4882,12 +4893,12 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4882
4893
|
class: l(n.value.cssHeaderCollapseButton),
|
|
4883
4894
|
onClick: t
|
|
4884
4895
|
}, [
|
|
4885
|
-
n.value.isExpanded ? (i(), q(
|
|
4896
|
+
n.value.isExpanded ? (i(), q(_, {
|
|
4886
4897
|
key: 0,
|
|
4887
4898
|
iconName: "icon-minimize_16x16",
|
|
4888
4899
|
size: 16
|
|
4889
4900
|
})) : m("", !0),
|
|
4890
|
-
n.value.isCollapsed ? (i(), q(
|
|
4901
|
+
n.value.isCollapsed ? (i(), q(_, {
|
|
4891
4902
|
key: 1,
|
|
4892
4903
|
iconName: "icon-restore_16x16",
|
|
4893
4904
|
size: 16
|
|
@@ -4898,7 +4909,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4898
4909
|
class: l(n.value.cssHeaderCloseButton),
|
|
4899
4910
|
onClick: o
|
|
4900
4911
|
}, [
|
|
4901
|
-
h(
|
|
4912
|
+
h(_, {
|
|
4902
4913
|
iconName: "icon-close_16x16",
|
|
4903
4914
|
size: 16
|
|
4904
4915
|
})
|
|
@@ -5111,7 +5122,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5111
5122
|
class: l(n.model.contentClasses),
|
|
5112
5123
|
style: I({ maxWidth: n.model.maxWidth })
|
|
5113
5124
|
}, [
|
|
5114
|
-
(i(!0), u(
|
|
5125
|
+
(i(!0), u(D, null, L(n.model.cells, (a, c) => (i(), q(t, {
|
|
5115
5126
|
model: a,
|
|
5116
5127
|
key: c
|
|
5117
5128
|
}, null, 8, ["model"]))), 128))
|
|
@@ -5125,7 +5136,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5125
5136
|
}), Ti = {
|
|
5126
5137
|
key: 0,
|
|
5127
5138
|
class: "sv-header__logo"
|
|
5128
|
-
}, $i = ["src", "width", "height", "alt"],
|
|
5139
|
+
}, $i = ["src", "width", "height", "alt"], Di = /* @__PURE__ */ g({
|
|
5129
5140
|
__name: "HeaderCell",
|
|
5130
5141
|
props: {
|
|
5131
5142
|
model: {}
|
|
@@ -5183,7 +5194,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5183
5194
|
], 6);
|
|
5184
5195
|
};
|
|
5185
5196
|
}
|
|
5186
|
-
}),
|
|
5197
|
+
}), _i = { class: "sv-header--mobile" }, Bi = {
|
|
5187
5198
|
key: 0,
|
|
5188
5199
|
class: "sv-header__logo"
|
|
5189
5200
|
}, Li = ["src", "width", "height", "alt"], Ai = /* @__PURE__ */ g({
|
|
@@ -5194,7 +5205,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5194
5205
|
setup(r) {
|
|
5195
5206
|
return (s, n) => {
|
|
5196
5207
|
const e = y("survey-element-title"), t = y("survey-string");
|
|
5197
|
-
return i(), u("div",
|
|
5208
|
+
return i(), u("div", _i, [
|
|
5198
5209
|
s.model.survey.hasLogo ? (i(), u("div", Bi, [
|
|
5199
5210
|
p("div", {
|
|
5200
5211
|
class: l(s.model.survey.logoClassNames)
|
|
@@ -5296,7 +5307,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5296
5307
|
},
|
|
5297
5308
|
setup(r) {
|
|
5298
5309
|
const s = $e(), n = S(() => !!s.default);
|
|
5299
|
-
return (e, t) => n.value && !e.componentName ?
|
|
5310
|
+
return (e, t) => n.value && !e.componentName ? De(e.$slots, "default", { key: 0 }) : (i(), q(R(e.componentName), z(H({ key: 1 }, e.componentData)), null, 16));
|
|
5300
5311
|
}
|
|
5301
5312
|
}), Mi = /* @__PURE__ */ g({
|
|
5302
5313
|
__name: "FileCleanButton",
|
|
@@ -5397,7 +5408,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5397
5408
|
key: 0,
|
|
5398
5409
|
class: l(s.question.cssClasses.fileList || void 0)
|
|
5399
5410
|
}, [
|
|
5400
|
-
(i(!0), u(
|
|
5411
|
+
(i(!0), u(D, null, L(s.question.previewValue, (t, o) => N((i(), u("span", {
|
|
5401
5412
|
key: s.question.inputId + "_" + o,
|
|
5402
5413
|
class: l(s.question.cssClasses.previewItem),
|
|
5403
5414
|
onClick: n[0] || (n[0] = (a) => s.question.doDownloadFileFromContainer(a))
|
|
@@ -5482,7 +5493,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5482
5493
|
ref_key: "root",
|
|
5483
5494
|
ref: n
|
|
5484
5495
|
}, [
|
|
5485
|
-
(i(!0), u(
|
|
5496
|
+
(i(!0), u(D, null, L(e.question.visibleChoices, (a, c) => (i(), q(o, {
|
|
5486
5497
|
question: e.question,
|
|
5487
5498
|
key: c,
|
|
5488
5499
|
item: a,
|
|
@@ -5595,7 +5606,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5595
5606
|
});
|
|
5596
5607
|
ze.platform = "vue3";
|
|
5597
5608
|
function er(r) {
|
|
5598
|
-
r.component("SurveyComponent", me), r.component("sv-svg-bundle", xi), r.component("PopupSurveyComponent", ce), r.component("survey", me), r.component("popup-survey", ce), r.component("survey-header", Ge), r.component("sv-logo-image", Zi), r.component("survey-page", je), r.component("survey-row", Je), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", is), r.component("survey-string", rs), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text", ys), r.component("survey-text-input", hs), r.component("survey-checkbox", ws), r.component("survey-checkbox-item", Rs), r.component("survey-radiogroup", Ts), r.component("survey-radiogroup-item",
|
|
5609
|
+
r.component("SurveyComponent", me), r.component("sv-svg-bundle", xi), r.component("PopupSurveyComponent", ce), r.component("survey", me), r.component("popup-survey", ce), r.component("survey-header", Ge), r.component("sv-logo-image", Zi), r.component("survey-page", je), r.component("survey-row", Je), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", is), r.component("survey-string", rs), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text", ys), r.component("survey-text-input", hs), r.component("survey-checkbox", ws), r.component("survey-checkbox-item", Rs), r.component("survey-radiogroup", Ts), r.component("survey-radiogroup-item", _s), r.component("survey-signaturepad", Ns), r.component("survey-html", Ms), r.component("survey-image", Fs), r.component("survey-expression", Vs), r.component("survey-file", Ks), r.component("sv-file-choose-btn", Fi), r.component("sv-file-clean-btn", Mi), r.component("sv-file-preview", Ki), r.component("sv-file-video", Ei), r.component("survey-imagepicker", js), r.component("survey-imagepicker-item", Zs), r.component("survey-comment", sn), r.component("survey-dropdown", nn), r.component("sv-dropdown-select", ln), r.component("sv-dropdown-option-item", un), r.component("sv-dropdown", vn), r.component("survey-tagbox", yn), r.component("sv-tagbox", hn), r.component("sv-tagbox-item", wn), r.component("sv-tagbox-filter", kn), r.component("survey-ranking", In), r.component("survey-ranking-item", _n), r.component("sv-ranking-item", Bn), r.component("survey-rating", Nn), r.component("sv-rating-item", Hn), r.component("sv-rating-item-smiley", Wn), r.component("sv-rating-item-star", Vn), r.component("sv-rating-dropdown", Qn), r.component("sv-rating-dropdown-item", Kn), r.component("survey-boolean", Gn), r.component("sv-boolean-radio", Jn), r.component("sv-boolean-radio-item", Zn), r.component("sv-boolean-checkbox", to), r.component("survey-multipletext", io), r.component("survey-multipletext-item", lo), r.component("survey-matrix", vo), r.component("survey-matrix-row", qo), r.component("survey-matrix-cell", Co), r.component("survey-matrixdropdown", bo), r.component("survey-matrixtable", wo), r.component("survey-matrixheaderrequired", So), r.component("survey-matrixdropdown-cell", To), r.component("survey-matrixdynamic", $o), r.component("sv-matrix-remove-button", _o), r.component("sv-matrix-drag-drop-icon", Lo), r.component("sv-matrix-detail-button", No), r.component("survey-paneldynamic", Po), r.component("survey-paneldynamicprogress", Mo), r.component("survey-paneldynamicprogress-v2", Ho), r.component("sv-paneldynamic-add-btn", Eo), r.component("sv-paneldynamic-next-btn", Fo), r.component("sv-paneldynamic-prev-btn", Oo), r.component("sv-paneldynamic-remove-btn", zo), r.component("sv-paneldynamic-progress-text", Uo), r.component("sv-components-container", zt), r.component("sv-progress-buttons", Jt), r.component("sv-navigation-toc", Xt), r.component("sv-progress-pages", Z), r.component("sv-progress-questions", Z), r.component("sv-progress-correctquestions", Z), r.component("sv-progress-requiredquestions", Z), r.component("survey-errors", Qo), r.component("survey-question-comment", Jo), r.component("survey-element-title", Xo), r.component("survey-element-title-content", et), r.component("sv-title-actions", ot), r.component("sv-brand-info", ut), r.component("sv-question-error", pt), r.component("sv-svg-icon", ct), r.component("sv-action-bar", vt), r.component("sv-action", gt), r.component("sv-action-bar-item", bt), r.component("sv-action-bar-item-dropdown", wt), r.component("sv-action-bar-separator", It), r.component("sv-list", $t), r.component("sv-list-item-content", Lt), r.component("sv-list-item-group", At), r.component("sv-list-item", Bt), r.component("sv-popup", Nt), r.component("sv-popup-container", Vt), r.component("popup-pointer", Ot), r.component("sv-notifier", ri), r.component("survey-other-choice", ui), r.component("sv-nav-btn", mi), r.component("survey-customwidget", pi), r.component("survey-popup-modal", vi), r.component("sv-character-counter", yi), r.component("survey-composite", qi), r.component("survey-custom", gi), r.component("sv-timerpanel", bi), r.component("sv-loading-indicator", Ii), r.component("sv-header", Ri), r.component("sv-header-cell", Di), r.component("sv-header-mobile", Ai), r.component("sv-template-renderer", Pi), r.component("survey-element", Ni), r.component("survey-buttongroup", Qi), r.component("sv-button-group-item", Xi), r.directive("key2click", {
|
|
5599
5610
|
mounted: function(s, n) {
|
|
5600
5611
|
const e = { ...n.value };
|
|
5601
5612
|
if (e.disableTabStop) {
|