survey-vue3-ui 1.11.7 → 1.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +54 -54
- package/survey-vue3-ui.umd.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-vue3-ui",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.8",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "https://github.com/surveyjs/surveyjs.git"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"survey-core": "1.11.
|
|
22
|
+
"survey-core": "1.11.8",
|
|
23
23
|
"vue": "^3.2.41"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 _, renderList as L, createBlock as q, resolveDynamicComponent as R, normalizeProps as z, mergeProps as
|
|
2
|
-
import { Base as De, 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
|
|
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 _, 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 _e } from "vue";
|
|
2
|
+
import { Base as De, 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
3
|
De.createPropertiesHash = () => be({});
|
|
4
4
|
function Qe(r) {
|
|
5
5
|
var s;
|
|
@@ -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(_, null, L(o.page.visibleRows, (k) => (i(), q(R(o.page.getSurvey().getRowWrapperComponentName(k)), z(
|
|
118
|
+
(i(!0), u(_, 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)
|
|
@@ -264,7 +264,7 @@ const je = /* @__PURE__ */ g({
|
|
|
264
264
|
"aria-invalid": f.element.ariaInvalid,
|
|
265
265
|
"aria-labelledby": f.element.ariaLabelledBy,
|
|
266
266
|
"aria-describedby": f.element.ariaDescribedBy,
|
|
267
|
-
"aria-expanded": f.element.ariaExpanded
|
|
267
|
+
"aria-expanded": f.element.ariaExpanded,
|
|
268
268
|
"data-name": f.element.name
|
|
269
269
|
}, [
|
|
270
270
|
f.element.showErrorsAboveQuestion ? (i(), q(b, {
|
|
@@ -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(_, null, L(t.element.visibleRows, (C) => (i(), q(R(t.element.getSurvey().getRowWrapperComponentName(C)), z(
|
|
379
|
+
(i(!0), u(_, 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)
|
|
@@ -430,7 +430,7 @@ const je = /* @__PURE__ */ g({
|
|
|
430
430
|
locString: t.element.locDescription
|
|
431
431
|
}, null, 8, ["locString"])
|
|
432
432
|
], 10, ts)), [
|
|
433
|
-
[
|
|
433
|
+
[E, t.element.hasDescription]
|
|
434
434
|
]) : m("", !0),
|
|
435
435
|
t.element.hasAdditionalTitleToolbar ? (i(), q(v, {
|
|
436
436
|
key: 1,
|
|
@@ -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(_, { key: 1 }, L(o.question.headItems, (v) => (i(), q(R(e(v)),
|
|
661
|
+
o.question.hasHeadItems ? (i(!0), u(_, { 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(_, { key: 2 }, L(o.question.bodyItems, (v) => (i(), q(R(e(v)),
|
|
664
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(_, { 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(_, { key: 0 }, L(o.question.dataChoices, (v) => (i(), q(R(e(v)),
|
|
671
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(_, { 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),
|
|
@@ -681,12 +681,12 @@ const je = /* @__PURE__ */ g({
|
|
|
681
681
|
class: l(o.question.getColumnClass()),
|
|
682
682
|
role: "presentation"
|
|
683
683
|
}, [
|
|
684
|
-
(i(!0), u(_, null, L(v, (C) => (i(), q(R(e(C)),
|
|
684
|
+
(i(!0), u(_, 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(_, { key: 5 }, L(o.question.footItems, (v) => (i(), q(R(e(v)),
|
|
689
|
+
o.question.hasFootItems ? (i(!0), u(_, { 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, {
|
|
@@ -878,7 +878,7 @@ const je = /* @__PURE__ */ g({
|
|
|
878
878
|
locString: e.question.locRenderedPlaceholder
|
|
879
879
|
}, null, 8, ["locString"])
|
|
880
880
|
], 2), [
|
|
881
|
-
[
|
|
881
|
+
[E, e.question.needShowPlaceholder()]
|
|
882
882
|
]),
|
|
883
883
|
p("div", null, [
|
|
884
884
|
e.question.backgroundImage ? (i(), u("img", {
|
|
@@ -941,7 +941,7 @@ const je = /* @__PURE__ */ g({
|
|
|
941
941
|
innerHTML: w(e)
|
|
942
942
|
}, null, 10, Ps));
|
|
943
943
|
}
|
|
944
|
-
}),
|
|
944
|
+
}), Hs = ["src", "alt", "width", "height"], Es = ["src", "width", "height"], Ws = ["src", "width", "height"], Fs = /* @__PURE__ */ g({
|
|
945
945
|
inheritAttrs: !1,
|
|
946
946
|
__name: "Image",
|
|
947
947
|
props: {
|
|
@@ -976,8 +976,8 @@ const je = /* @__PURE__ */ g({
|
|
|
976
976
|
onError: o[1] || (o[1] = (c) => {
|
|
977
977
|
t.question.onErrorHandler();
|
|
978
978
|
})
|
|
979
|
-
}, null, 46,
|
|
980
|
-
[
|
|
979
|
+
}, null, 46, Hs)), [
|
|
980
|
+
[E, w(e) && !t.question.contentNotLoaded]
|
|
981
981
|
]) : m("", !0),
|
|
982
982
|
t.question.renderedMode === "video" ? N((i(), u("video", {
|
|
983
983
|
key: 1,
|
|
@@ -997,8 +997,8 @@ const je = /* @__PURE__ */ g({
|
|
|
997
997
|
onError: o[3] || (o[3] = (c) => {
|
|
998
998
|
t.question.onErrorHandler();
|
|
999
999
|
})
|
|
1000
|
-
}, null, 46,
|
|
1001
|
-
[
|
|
1000
|
+
}, null, 46, Es)), [
|
|
1001
|
+
[E, w(e) && !t.question.contentNotLoaded]
|
|
1002
1002
|
]) : m("", !0),
|
|
1003
1003
|
t.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
1004
1004
|
key: 2,
|
|
@@ -1178,7 +1178,7 @@ 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(_, { key: 0 }, L(o.question.visibleChoices, (c) => (i(), q(R(e(c)),
|
|
1181
|
+
o.question.hasColumns ? m("", !0) : (i(!0), u(_, { 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
1184
|
o.question.hasColumns ? (i(!0), u(_, { key: 1 }, L(o.question.columns, (c, v) => (i(), u("div", {
|
|
@@ -1186,7 +1186,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1186
1186
|
key: v,
|
|
1187
1187
|
role: "presentation"
|
|
1188
1188
|
}, [
|
|
1189
|
-
(i(!0), u(_, null, L(c, (d) => (i(), q(R(e(d)),
|
|
1189
|
+
(i(!0), u(_, 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)
|
|
@@ -1587,7 +1587,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1587
1587
|
"aria-label": b.question.ariaLabel,
|
|
1588
1588
|
"aria-invalid": b.question.ariaInvalid,
|
|
1589
1589
|
"aria-errormessage": b.question.ariaErrormessage,
|
|
1590
|
-
"aria-expanded": b.question.ariaExpanded
|
|
1590
|
+
"aria-expanded": b.question.ariaExpanded,
|
|
1591
1591
|
"aria-controls": e.value.listElementId,
|
|
1592
1592
|
"aria-activedescendant": e.value.ariaActivedescendant,
|
|
1593
1593
|
required: b.question.isRequired ? !0 : null
|
|
@@ -1629,7 +1629,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1629
1629
|
id: b.question.getInputId(),
|
|
1630
1630
|
tabindex: e.value.noTabIndex ? void 0 : -1,
|
|
1631
1631
|
readonly: e.value.filterReadOnly ? !0 : void 0,
|
|
1632
|
-
"aria-expanded": b.question.ariaExpanded
|
|
1632
|
+
"aria-expanded": b.question.ariaExpanded,
|
|
1633
1633
|
"aria-controls": e.value.listElementId,
|
|
1634
1634
|
"aria-label": b.question.a11y_input_ariaLabel,
|
|
1635
1635
|
"aria-labelledby": b.question.a11y_input_ariaLabelledBy,
|
|
@@ -1654,7 +1654,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1654
1654
|
size: "auto"
|
|
1655
1655
|
}, null, 8, ["class", "iconName", "title"])
|
|
1656
1656
|
], 2)), [
|
|
1657
|
-
[
|
|
1657
|
+
[E, b.question.showClearButton]
|
|
1658
1658
|
]) : m("", !0)
|
|
1659
1659
|
], 42, dn)),
|
|
1660
1660
|
b.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1757,7 +1757,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1757
1757
|
"aria-label": d.question.ariaLabel,
|
|
1758
1758
|
"aria-invalid": d.question.ariaInvalid,
|
|
1759
1759
|
"aria-errormessage": d.question.ariaErrormessage,
|
|
1760
|
-
"aria-expanded": d.question.ariaExpanded
|
|
1760
|
+
"aria-expanded": d.question.ariaExpanded,
|
|
1761
1761
|
"aria-controls": n.value.listElementId,
|
|
1762
1762
|
"aria-activedescendant": n.value.ariaActivedescendant,
|
|
1763
1763
|
required: d.question.isRequired ? !0 : null
|
|
@@ -1788,7 +1788,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1788
1788
|
size: "auto"
|
|
1789
1789
|
}, null, 8, ["class", "iconName", "title"])
|
|
1790
1790
|
], 2)), [
|
|
1791
|
-
[
|
|
1791
|
+
[E, d.question.showClearButton]
|
|
1792
1792
|
]) : m("", !0)
|
|
1793
1793
|
], 42, qn)),
|
|
1794
1794
|
d.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1874,7 +1874,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1874
1874
|
disabled: a.question.isDisabledAttr,
|
|
1875
1875
|
inputmode: a.model.inputMode,
|
|
1876
1876
|
role: a.model.filterStringEnabled ? a.question.ariaRole : void 0,
|
|
1877
|
-
"aria-expanded": a.question.ariaExpanded
|
|
1877
|
+
"aria-expanded": a.question.ariaExpanded,
|
|
1878
1878
|
"aria-controls": a.model.listElementId,
|
|
1879
1879
|
"aria-label": a.question.a11y_input_ariaLabel,
|
|
1880
1880
|
"aria-labelledby": a.question.a11y_input_ariaLabelledBy,
|
|
@@ -1954,7 +1954,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1954
1954
|
ref_key: "root",
|
|
1955
1955
|
ref: n
|
|
1956
1956
|
}, [
|
|
1957
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(_, { key: 0 }, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)),
|
|
1957
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(_, { key: 0 }, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1958
1958
|
key: v.value + "-" + d + "-item"
|
|
1959
1959
|
}, t(v, d)), null, 16))), 128)),
|
|
1960
1960
|
o.question.selectToRankEnabled ? (i(), u("div", {
|
|
@@ -1962,7 +1962,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1962
1962
|
class: l(o.question.getContainerClasses("from")),
|
|
1963
1963
|
"data-ranking": "from-container"
|
|
1964
1964
|
}, [
|
|
1965
|
-
(i(!0), u(_, null, L(o.question.renderedUnRankingChoices, (v, d) => (i(), q(R(e(v)),
|
|
1965
|
+
(i(!0), u(_, null, L(o.question.renderedUnRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1966
1966
|
key: v.value + "-" + d + "-item"
|
|
1967
1967
|
}, t(v, d, !0)), null, 16))), 128)),
|
|
1968
1968
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1983,7 +1983,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1983
1983
|
class: l(o.question.getContainerClasses("to")),
|
|
1984
1984
|
"data-ranking": "to-container"
|
|
1985
1985
|
}, [
|
|
1986
|
-
(i(!0), u(_, null, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)),
|
|
1986
|
+
(i(!0), u(_, null, L(o.question.renderedRankingChoices, (v, d) => (i(), q(R(e(v)), H({
|
|
1987
1987
|
key: v.value + "-" + d + "-item"
|
|
1988
1988
|
}, t(v, d)), null, 16))), 128)),
|
|
1989
1989
|
o.question.renderedRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -2149,7 +2149,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2149
2149
|
], 2);
|
|
2150
2150
|
};
|
|
2151
2151
|
}
|
|
2152
|
-
}), Pn = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Mn = ["data-text"],
|
|
2152
|
+
}), Pn = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Mn = ["data-text"], Hn = /* @__PURE__ */ g({
|
|
2153
2153
|
__name: "RatingItem",
|
|
2154
2154
|
props: {
|
|
2155
2155
|
question: {},
|
|
@@ -2190,7 +2190,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2190
2190
|
], 34);
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
|
-
}),
|
|
2193
|
+
}), En = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Wn = /* @__PURE__ */ g({
|
|
2194
2194
|
__name: "RatingItemSmiley",
|
|
2195
2195
|
props: {
|
|
2196
2196
|
question: {},
|
|
@@ -2222,7 +2222,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2222
2222
|
"aria-label": n.question.ariaLabel,
|
|
2223
2223
|
"aria-invalid": n.question.ariaInvalid,
|
|
2224
2224
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2225
|
-
}, null, 8,
|
|
2225
|
+
}, null, 8, En),
|
|
2226
2226
|
h(t, {
|
|
2227
2227
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2228
2228
|
size: "auto",
|
|
@@ -2776,7 +2776,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2776
2776
|
_: 2
|
|
2777
2777
|
}, 1032, ["componentData"]))
|
|
2778
2778
|
], 6), [
|
|
2779
|
-
[
|
|
2779
|
+
[E, o.question.hasRows]
|
|
2780
2780
|
]),
|
|
2781
2781
|
o.question.hasCellText ? (i(!0), u(_, { key: 0 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2782
2782
|
key: k,
|
|
@@ -3077,7 +3077,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3077
3077
|
model: d.cell.item.getData(),
|
|
3078
3078
|
handleClick: !1
|
|
3079
3079
|
}, null, 8, ["model"])) : m("", !0),
|
|
3080
|
-
d.cell.hasPanel ? (i(), q(R(c.value), z(
|
|
3080
|
+
d.cell.hasPanel ? (i(), q(R(c.value), z(H({ key: 3 }, v.value)), null, 16)) : m("", !0),
|
|
3081
3081
|
d.cell.showResponsiveTitle ? (i(), u("span", {
|
|
3082
3082
|
key: 4,
|
|
3083
3083
|
class: l(d.cell.responsiveTitleCss)
|
|
@@ -3130,7 +3130,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3130
3130
|
question: d.cell.question
|
|
3131
3131
|
}, null, 8, ["question"])) : m("", !0)
|
|
3132
3132
|
], 2)), [
|
|
3133
|
-
[
|
|
3133
|
+
[E, n.value]
|
|
3134
3134
|
]) : m("", !0),
|
|
3135
3135
|
d.cell.hasTitle ? (i(), q(R(d.question.getCellWrapperComponentName(d.cell)), {
|
|
3136
3136
|
key: 6,
|
|
@@ -3475,7 +3475,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3475
3475
|
], 2);
|
|
3476
3476
|
};
|
|
3477
3477
|
}
|
|
3478
|
-
}),
|
|
3478
|
+
}), Ho = /* @__PURE__ */ g({
|
|
3479
3479
|
__name: "PanelDynamicProgressV2",
|
|
3480
3480
|
props: {
|
|
3481
3481
|
question: {}
|
|
@@ -3517,7 +3517,7 @@ function Y(r) {
|
|
|
3517
3517
|
() => r.item && r.item.data.question || r.data.question
|
|
3518
3518
|
);
|
|
3519
3519
|
}
|
|
3520
|
-
const
|
|
3520
|
+
const Eo = /* @__PURE__ */ g({
|
|
3521
3521
|
__name: "PaneldynamicAddBtn",
|
|
3522
3522
|
props: {
|
|
3523
3523
|
item: {},
|
|
@@ -4116,7 +4116,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4116
4116
|
"aria-label": c.model.emptyMessage
|
|
4117
4117
|
}, T(c.model.emptyMessage), 11, Rt)
|
|
4118
4118
|
], 2), [
|
|
4119
|
-
[
|
|
4119
|
+
[E, c.model.isEmpty]
|
|
4120
4120
|
]),
|
|
4121
4121
|
c.model.renderElements ? N((i(), u("ul", {
|
|
4122
4122
|
key: 1,
|
|
@@ -4137,7 +4137,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4137
4137
|
key: k.id
|
|
4138
4138
|
}, null, 8, ["item", "model"]))), 128))
|
|
4139
4139
|
], 42, Tt)), [
|
|
4140
|
-
[
|
|
4140
|
+
[E, !c.model.isEmpty]
|
|
4141
4141
|
]) : m("", !0)
|
|
4142
4142
|
], 2);
|
|
4143
4143
|
};
|
|
@@ -4185,7 +4185,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4185
4185
|
}, null, 8, ["item", "model"]))
|
|
4186
4186
|
], 46, Dt)
|
|
4187
4187
|
], 42, _t)), [
|
|
4188
|
-
[
|
|
4188
|
+
[E, t.model.isItemVisible(t.item)],
|
|
4189
4189
|
[a, { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4190
4190
|
]);
|
|
4191
4191
|
};
|
|
@@ -4276,10 +4276,10 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4276
4276
|
], 512);
|
|
4277
4277
|
};
|
|
4278
4278
|
}
|
|
4279
|
-
}), Pt = { class: "sv-popup__shadow" }, Mt = { class: "sv-popup__body-content" },
|
|
4279
|
+
}), Pt = { class: "sv-popup__shadow" }, Mt = { class: "sv-popup__body-content" }, Ht = {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
class: "sv-popup__body-header"
|
|
4282
|
-
},
|
|
4282
|
+
}, Et = { class: "sv-popup__scrolling-content" }, Wt = { class: "sv-popup__content" }, Ft = {
|
|
4283
4283
|
key: 1,
|
|
4284
4284
|
class: "sv-popup__body-footer"
|
|
4285
4285
|
}, Vt = /* @__PURE__ */ g({
|
|
@@ -4325,8 +4325,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4325
4325
|
model: e.model
|
|
4326
4326
|
}, null, 8, ["model"])) : m("", !0),
|
|
4327
4327
|
p("div", Mt, [
|
|
4328
|
-
e.model.title ? (i(), u("div",
|
|
4329
|
-
p("div",
|
|
4328
|
+
e.model.title ? (i(), u("div", Ht, T(e.model.title), 1)) : m("", !0),
|
|
4329
|
+
p("div", Et, [
|
|
4330
4330
|
p("div", Wt, [
|
|
4331
4331
|
(i(), q(R(e.model.contentComponentName), z(te(e.model.contentComponentData)), null, 16))
|
|
4332
4332
|
])
|
|
@@ -4340,7 +4340,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4340
4340
|
])
|
|
4341
4341
|
], 4)
|
|
4342
4342
|
], 34)), [
|
|
4343
|
-
[
|
|
4343
|
+
[E, e.model.isVisible]
|
|
4344
4344
|
]);
|
|
4345
4345
|
};
|
|
4346
4346
|
}
|
|
@@ -4431,7 +4431,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4431
4431
|
};
|
|
4432
4432
|
return M(() => {
|
|
4433
4433
|
const C = a.value;
|
|
4434
|
-
v = new
|
|
4434
|
+
v = new He(s.model, C, {
|
|
4435
4435
|
onResize: (k) => {
|
|
4436
4436
|
o.value = k, e.value = !k;
|
|
4437
4437
|
},
|
|
@@ -4832,7 +4832,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4832
4832
|
const C = K(
|
|
4833
4833
|
() => s.survey,
|
|
4834
4834
|
(k) => {
|
|
4835
|
-
const f = new
|
|
4835
|
+
const f = new Ee(null, k);
|
|
4836
4836
|
s.isExpanded !== void 0 && (f.isExpanded = s.isExpanded), s.closeOnCompleteTimeout !== void 0 && (f.closeOnCompleteTimeout = s.closeOnCompleteTimeout), s.allowClose !== void 0 && (f.allowClose = s.allowClose), s.allowFullScreen !== void 0 && (f.allowFullScreen = s.allowFullScreen), f.isShowing = !0, n.value = f;
|
|
4837
4837
|
},
|
|
4838
4838
|
{
|
|
@@ -5070,7 +5070,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5070
5070
|
key: 1,
|
|
5071
5071
|
class: l(t.model.survey.getCss().timerRoot)
|
|
5072
5072
|
}, T(e.value), 3)), [
|
|
5073
|
-
[
|
|
5073
|
+
[E, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5074
5074
|
]);
|
|
5075
5075
|
}
|
|
5076
5076
|
}), ki = {}, fi = { class: "sd-loading-indicator" };
|
|
@@ -5281,7 +5281,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5281
5281
|
style: I(o(v.element)),
|
|
5282
5282
|
class: l(v.element.cssClasses.questionWrapper)
|
|
5283
5283
|
}, [
|
|
5284
|
-
v.row.isNeedRender ? (i(), q(R(t.value), z(
|
|
5284
|
+
v.row.isNeedRender ? (i(), q(R(t.value), z(H({ key: 0 }, a.value)), null, 16)) : v.element.skeletonComponentName ? (i(), q(R(v.element.skeletonComponentName), {
|
|
5285
5285
|
key: 1,
|
|
5286
5286
|
element: v.element,
|
|
5287
5287
|
css: v.css
|
|
@@ -5296,7 +5296,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5296
5296
|
},
|
|
5297
5297
|
setup(r) {
|
|
5298
5298
|
const s = $e(), n = S(() => !!s.default);
|
|
5299
|
-
return (e, t) => n.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), q(R(e.componentName), z(
|
|
5299
|
+
return (e, t) => n.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), q(R(e.componentName), z(H({ key: 1 }, e.componentData)), null, 16));
|
|
5300
5300
|
}
|
|
5301
5301
|
}), Mi = /* @__PURE__ */ g({
|
|
5302
5302
|
__name: "FileCleanButton",
|
|
@@ -5322,7 +5322,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5322
5322
|
], 2);
|
|
5323
5323
|
};
|
|
5324
5324
|
}
|
|
5325
|
-
}),
|
|
5325
|
+
}), Hi = ["id"], Ei = /* @__PURE__ */ g({
|
|
5326
5326
|
__name: "FileVideo",
|
|
5327
5327
|
props: {
|
|
5328
5328
|
question: {}
|
|
@@ -5344,7 +5344,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5344
5344
|
playsinline: "",
|
|
5345
5345
|
id: s.question.videoId,
|
|
5346
5346
|
class: l(s.question.cssClasses.video)
|
|
5347
|
-
}, null, 10,
|
|
5347
|
+
}, null, 10, Hi),
|
|
5348
5348
|
h(e, {
|
|
5349
5349
|
item: s.question.takePictureAction
|
|
5350
5350
|
}, null, 8, ["item"])
|
|
@@ -5462,7 +5462,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5462
5462
|
}, T(t.name), 13, Ui)
|
|
5463
5463
|
], 2)) : m("", !0)
|
|
5464
5464
|
], 2)), [
|
|
5465
|
-
[
|
|
5465
|
+
[E, t && s.question.isPreviewVisible(o)]
|
|
5466
5466
|
])), 128))
|
|
5467
5467
|
], 2)) : m("", !0);
|
|
5468
5468
|
};
|
|
@@ -5589,13 +5589,13 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5589
5589
|
ref_key: "root",
|
|
5590
5590
|
ref: s
|
|
5591
5591
|
}, null, 512)), [
|
|
5592
|
-
[
|
|
5592
|
+
[E, !1]
|
|
5593
5593
|
]);
|
|
5594
5594
|
}
|
|
5595
5595
|
});
|
|
5596
5596
|
ze.platform = "vue3";
|
|
5597
5597
|
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", Ds), 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",
|
|
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", Ds), 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", Dn), 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", Do), 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", _i), 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
5599
|
mounted: function(s, n) {
|
|
5600
5600
|
const e = { ...n.value };
|
|
5601
5601
|
if (e.disableTabStop) {
|