survey-vue3-ui 1.11.5 → 1.11.7
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 +59 -53
- 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.7",
|
|
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.7",
|
|
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
|
|
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
|
|
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 E, withCtx as V, normalizeStyle as I, createElementVNode as p, onUnmounted as O, guardReactiveProps as te, withDirectives as N, vShow as H, 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 Ee, PopupSurveyModel as He, 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;
|
|
@@ -43,7 +43,7 @@ function B(r, s, n) {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
function P(r, s, n, e) {
|
|
46
|
-
B(() => r.question, n, e),
|
|
46
|
+
B(() => r.question, n, e), M(() => {
|
|
47
47
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
48
48
|
}), j(() => {
|
|
49
49
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
@@ -93,7 +93,7 @@ const je = /* @__PURE__ */ g({
|
|
|
93
93
|
() => {
|
|
94
94
|
e();
|
|
95
95
|
}
|
|
96
|
-
),
|
|
96
|
+
), M(() => {
|
|
97
97
|
e();
|
|
98
98
|
}), (o, a) => {
|
|
99
99
|
const c = y("survey-element-title"), v = y("survey-string"), d = y("survey-errors"), C = y("survey-row");
|
|
@@ -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(E({
|
|
119
119
|
key: k.id
|
|
120
120
|
}, {
|
|
121
121
|
componentData: o.page.getSurvey().getRowWrapperComponentData(k)
|
|
@@ -139,7 +139,7 @@ const je = /* @__PURE__ */ g({
|
|
|
139
139
|
},
|
|
140
140
|
setup(r) {
|
|
141
141
|
const s = r, n = $();
|
|
142
|
-
return
|
|
142
|
+
return M(() => {
|
|
143
143
|
var e = n.value;
|
|
144
144
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
145
145
|
}), (e, t) => {
|
|
@@ -199,7 +199,7 @@ const je = /* @__PURE__ */ g({
|
|
|
199
199
|
(e) => {
|
|
200
200
|
e.setRootElement(void 0), e.stopLazyRendering(), e.isNeedRender = !e.isLazyRendering();
|
|
201
201
|
}
|
|
202
|
-
),
|
|
202
|
+
), M(() => {
|
|
203
203
|
if (s.row && (s.row.setRootElement(n.value), !s.row.isNeedRender)) {
|
|
204
204
|
const e = n.value;
|
|
205
205
|
setTimeout(() => {
|
|
@@ -345,7 +345,7 @@ const je = /* @__PURE__ */ g({
|
|
|
345
345
|
},
|
|
346
346
|
setup(r) {
|
|
347
347
|
const s = r, n = $(null), e = S(() => s.element.survey);
|
|
348
|
-
return B(() => s.element),
|
|
348
|
+
return B(() => s.element), M(() => {
|
|
349
349
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
350
350
|
}), (t, o) => {
|
|
351
351
|
const a = y("survey-errors"), c = y("survey-element-header"), v = y("survey-row"), d = y("sv-action-bar");
|
|
@@ -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(E({
|
|
380
380
|
key: C.id
|
|
381
381
|
}, {
|
|
382
382
|
componentData: t.element.getSurvey().getRowWrapperComponentData(C)
|
|
@@ -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)), E({
|
|
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)), E({
|
|
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)), E({
|
|
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)), E({
|
|
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)), E({
|
|
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, {
|
|
@@ -924,7 +924,7 @@ const je = /* @__PURE__ */ g({
|
|
|
924
924
|
], 6);
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
|
-
}), Ps = ["innerHTML"],
|
|
927
|
+
}), Ps = ["innerHTML"], Ms = /* @__PURE__ */ g({
|
|
928
928
|
inheritAttrs: !1,
|
|
929
929
|
__name: "Html",
|
|
930
930
|
props: {
|
|
@@ -941,7 +941,7 @@ const je = /* @__PURE__ */ g({
|
|
|
941
941
|
innerHTML: w(e)
|
|
942
942
|
}, null, 10, Ps));
|
|
943
943
|
}
|
|
944
|
-
}),
|
|
944
|
+
}), Es = ["src", "alt", "width", "height"], Hs = ["src", "width", "height"], Ws = ["src", "width", "height"], Fs = /* @__PURE__ */ g({
|
|
945
945
|
inheritAttrs: !1,
|
|
946
946
|
__name: "Image",
|
|
947
947
|
props: {
|
|
@@ -976,7 +976,7 @@ const je = /* @__PURE__ */ g({
|
|
|
976
976
|
onError: o[1] || (o[1] = (c) => {
|
|
977
977
|
t.question.onErrorHandler();
|
|
978
978
|
})
|
|
979
|
-
}, null, 46,
|
|
979
|
+
}, null, 46, Es)), [
|
|
980
980
|
[H, w(e) && !t.question.contentNotLoaded]
|
|
981
981
|
]) : m("", !0),
|
|
982
982
|
t.question.renderedMode === "video" ? N((i(), u("video", {
|
|
@@ -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)), E({
|
|
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)), E({
|
|
1190
1190
|
key: d.value
|
|
1191
1191
|
}, t(d)), null, 16))), 128))
|
|
1192
1192
|
], 2))), 128)) : m("", !0)
|
|
@@ -1568,7 +1568,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1568
1568
|
}, f = S(
|
|
1569
1569
|
() => s.question.showSelectedItemLocText
|
|
1570
1570
|
), D = S(() => s.question.selectedItemLocText);
|
|
1571
|
-
return B(() => e.value), x(v),
|
|
1571
|
+
return B(() => e.value), x(v), M(v), (b, A) => {
|
|
1572
1572
|
const W = y("survey-string"), F = y("sv-svg-icon"), J = y("sv-popup");
|
|
1573
1573
|
return i(), u("div", {
|
|
1574
1574
|
class: l(b.question.cssClasses.selectWrapper),
|
|
@@ -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)), E({
|
|
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)), E({
|
|
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)), E({
|
|
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"],
|
|
2152
|
+
}), Pn = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Mn = ["data-text"], En = /* @__PURE__ */ g({
|
|
2153
2153
|
__name: "RatingItem",
|
|
2154
2154
|
props: {
|
|
2155
2155
|
question: {},
|
|
@@ -2186,7 +2186,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2186
2186
|
h(t, {
|
|
2187
2187
|
locString: n.item.locText
|
|
2188
2188
|
}, null, 8, ["locString"])
|
|
2189
|
-
], 10,
|
|
2189
|
+
], 10, Mn)
|
|
2190
2190
|
], 34);
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
@@ -2822,7 +2822,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2822
2822
|
o && o.setRootElement(void 0), t.setRootElement(n.value);
|
|
2823
2823
|
}
|
|
2824
2824
|
);
|
|
2825
|
-
return
|
|
2825
|
+
return M(() => {
|
|
2826
2826
|
s.row.setRootElement(n.value);
|
|
2827
2827
|
}), O(() => {
|
|
2828
2828
|
s.row.setRootElement(void 0), e();
|
|
@@ -3013,7 +3013,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3013
3013
|
const s = r, n = $(!1), e = $(), t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, o = () => {
|
|
3014
3014
|
!s.cell.hasQuestion || !s.question || !s.question.survey || (n.value = s.cell.question.isVisible);
|
|
3015
3015
|
}, a = (d) => re(d);
|
|
3016
|
-
o(),
|
|
3016
|
+
o(), M(() => {
|
|
3017
3017
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
3018
3018
|
return;
|
|
3019
3019
|
s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
@@ -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(E({ 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)
|
|
@@ -3429,7 +3429,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3429
3429
|
], 2);
|
|
3430
3430
|
};
|
|
3431
3431
|
}
|
|
3432
|
-
}),
|
|
3432
|
+
}), Mo = /* @__PURE__ */ g({
|
|
3433
3433
|
__name: "PanelDynamicProgress",
|
|
3434
3434
|
props: {
|
|
3435
3435
|
question: {}
|
|
@@ -3475,7 +3475,7 @@ const _o = ["disabled"], Do = /* @__PURE__ */ g({
|
|
|
3475
3475
|
], 2);
|
|
3476
3476
|
};
|
|
3477
3477
|
}
|
|
3478
|
-
}),
|
|
3478
|
+
}), Eo = /* @__PURE__ */ g({
|
|
3479
3479
|
__name: "PanelDynamicProgressV2",
|
|
3480
3480
|
props: {
|
|
3481
3481
|
question: {}
|
|
@@ -3840,7 +3840,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3840
3840
|
};
|
|
3841
3841
|
return x(() => {
|
|
3842
3842
|
e();
|
|
3843
|
-
}),
|
|
3843
|
+
}), M(() => {
|
|
3844
3844
|
e();
|
|
3845
3845
|
}), (t, o) => (i(), u("svg", {
|
|
3846
3846
|
ref_key: "svgIconElement",
|
|
@@ -3892,7 +3892,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3892
3892
|
};
|
|
3893
3893
|
B(() => s.model);
|
|
3894
3894
|
const t = ne(() => s.model.renderedActions);
|
|
3895
|
-
return
|
|
3895
|
+
return M(() => {
|
|
3896
3896
|
!s.model.hasActions || s.model.initResponsivityManager(n.value);
|
|
3897
3897
|
}), O(() => {
|
|
3898
3898
|
s.model.resetResponsivityManager();
|
|
@@ -3950,11 +3950,17 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3950
3950
|
class: l(n.item.getActionBarItemCss()),
|
|
3951
3951
|
type: "button",
|
|
3952
3952
|
onClick: e[0] || (e[0] = (a) => {
|
|
3953
|
-
n.item.
|
|
3953
|
+
n.item.doAction(a);
|
|
3954
3954
|
}),
|
|
3955
3955
|
onKeyup: e[1] || (e[1] = (a) => {
|
|
3956
3956
|
a.stopPropagation();
|
|
3957
3957
|
}),
|
|
3958
|
+
onMousedown: e[2] || (e[2] = () => {
|
|
3959
|
+
n.item.doMouseDown();
|
|
3960
|
+
}),
|
|
3961
|
+
onFocus: e[3] || (e[3] = (a) => {
|
|
3962
|
+
n.item.doFocus(a);
|
|
3963
|
+
}),
|
|
3958
3964
|
disabled: n.item.disabled,
|
|
3959
3965
|
title: n.item.tooltip || n.item.title,
|
|
3960
3966
|
"aria-checked": n.item.ariaChecked,
|
|
@@ -4059,7 +4065,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4059
4065
|
}, o = (c) => {
|
|
4060
4066
|
s.model.onMouseMove(c);
|
|
4061
4067
|
}, a = ne(() => s.model.renderedActions);
|
|
4062
|
-
return B(() => s.model),
|
|
4068
|
+
return B(() => s.model), M(() => {
|
|
4063
4069
|
s.model.initListContainerHtmlElement(n.value);
|
|
4064
4070
|
}), (c, v) => {
|
|
4065
4071
|
const d = y("sv-svg-icon"), C = y("sv-list-item");
|
|
@@ -4146,7 +4152,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4146
4152
|
const s = r, n = S(() => s.item.elementId), e = (t) => {
|
|
4147
4153
|
s.model.onItemClick(s.item), t.stopPropagation();
|
|
4148
4154
|
};
|
|
4149
|
-
return B(() => s.item),
|
|
4155
|
+
return B(() => s.item), M(() => {
|
|
4150
4156
|
setTimeout(() => {
|
|
4151
4157
|
s.model.onLastItemRended(s.item);
|
|
4152
4158
|
});
|
|
@@ -4253,10 +4259,10 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4253
4259
|
return K(
|
|
4254
4260
|
() => s.model,
|
|
4255
4261
|
(o) => {
|
|
4256
|
-
n.value && n.value.dispose(), n.value =
|
|
4262
|
+
n.value && n.value.dispose(), n.value = Me(o, void 0), t();
|
|
4257
4263
|
},
|
|
4258
4264
|
{ immediate: !0 }
|
|
4259
|
-
), B(() => n.value),
|
|
4265
|
+
), B(() => n.value), M(() => {
|
|
4260
4266
|
t();
|
|
4261
4267
|
}), O(() => {
|
|
4262
4268
|
n.value.dispose();
|
|
@@ -4270,7 +4276,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4270
4276
|
], 512);
|
|
4271
4277
|
};
|
|
4272
4278
|
}
|
|
4273
|
-
}), Pt = { class: "sv-popup__shadow" },
|
|
4279
|
+
}), Pt = { class: "sv-popup__shadow" }, Mt = { class: "sv-popup__body-content" }, Et = {
|
|
4274
4280
|
key: 0,
|
|
4275
4281
|
class: "sv-popup__body-header"
|
|
4276
4282
|
}, Ht = { class: "sv-popup__scrolling-content" }, Wt = { class: "sv-popup__content" }, Ft = {
|
|
@@ -4288,7 +4294,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4288
4294
|
return B(() => s.model), x(() => {
|
|
4289
4295
|
const e = s.model;
|
|
4290
4296
|
e.isVisible && !e.isPositionSet && s.model.updateOnShowing();
|
|
4291
|
-
}),
|
|
4297
|
+
}), M(() => {
|
|
4292
4298
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4293
4299
|
}), (e, t) => {
|
|
4294
4300
|
const o = y("sv-action-bar");
|
|
@@ -4318,8 +4324,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4318
4324
|
key: 0,
|
|
4319
4325
|
model: e.model
|
|
4320
4326
|
}, null, 8, ["model"])) : m("", !0),
|
|
4321
|
-
p("div",
|
|
4322
|
-
e.model.title ? (i(), u("div",
|
|
4327
|
+
p("div", Mt, [
|
|
4328
|
+
e.model.title ? (i(), u("div", Et, T(e.model.title), 1)) : m("", !0),
|
|
4323
4329
|
p("div", Ht, [
|
|
4324
4330
|
p("div", Wt, [
|
|
4325
4331
|
(i(), q(R(e.model.contentComponentName), z(te(e.model.contentComponentData)), null, 16))
|
|
@@ -4423,9 +4429,9 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4423
4429
|
let k = a.value;
|
|
4424
4430
|
k.scrollLeft += (C ? -1 : 1) * 70;
|
|
4425
4431
|
};
|
|
4426
|
-
return
|
|
4432
|
+
return M(() => {
|
|
4427
4433
|
const C = a.value;
|
|
4428
|
-
v = new
|
|
4434
|
+
v = new Ee(s.model, C, {
|
|
4429
4435
|
onResize: (k) => {
|
|
4430
4436
|
o.value = k, e.value = !k;
|
|
4431
4437
|
},
|
|
@@ -4596,7 +4602,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4596
4602
|
(D) => {
|
|
4597
4603
|
D.stopTimer(), D.renderCallback = void 0;
|
|
4598
4604
|
}
|
|
4599
|
-
),
|
|
4605
|
+
), M(() => {
|
|
4600
4606
|
f(o.value);
|
|
4601
4607
|
}), O(() => {
|
|
4602
4608
|
o.value.stopTimer(), o.value.renderCallback = void 0;
|
|
@@ -4920,7 +4926,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4920
4926
|
), t = S(
|
|
4921
4927
|
() => !!s.question.customWidget.htmlTemplate
|
|
4922
4928
|
), o = S(() => s.question.customWidget.htmlTemplate), a = S(() => "survey-" + s.question.getTemplate());
|
|
4923
|
-
return
|
|
4929
|
+
return M(() => {
|
|
4924
4930
|
s.question.customWidget.afterRender(s.question, n.value);
|
|
4925
4931
|
}), j(() => {
|
|
4926
4932
|
s.question.customWidget.willUnmount(s.question, n.value);
|
|
@@ -5265,7 +5271,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5265
5271
|
d && d.setWrapperElement(void 0), v.setWrapperElement(n.value);
|
|
5266
5272
|
}
|
|
5267
5273
|
);
|
|
5268
|
-
return
|
|
5274
|
+
return M(() => {
|
|
5269
5275
|
s.element.setWrapperElement(n.value);
|
|
5270
5276
|
}), O(() => {
|
|
5271
5277
|
s.element.setWrapperElement(void 0), c();
|
|
@@ -5275,7 +5281,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5275
5281
|
style: I(o(v.element)),
|
|
5276
5282
|
class: l(v.element.cssClasses.questionWrapper)
|
|
5277
5283
|
}, [
|
|
5278
|
-
v.row.isNeedRender ? (i(), q(R(t.value), z(
|
|
5284
|
+
v.row.isNeedRender ? (i(), q(R(t.value), z(E({ key: 0 }, a.value)), null, 16)) : v.element.skeletonComponentName ? (i(), q(R(v.element.skeletonComponentName), {
|
|
5279
5285
|
key: 1,
|
|
5280
5286
|
element: v.element,
|
|
5281
5287
|
css: v.css
|
|
@@ -5290,9 +5296,9 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5290
5296
|
},
|
|
5291
5297
|
setup(r) {
|
|
5292
5298
|
const s = $e(), n = S(() => !!s.default);
|
|
5293
|
-
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(E({ key: 1 }, e.componentData)), null, 16));
|
|
5294
5300
|
}
|
|
5295
|
-
}),
|
|
5301
|
+
}), Mi = /* @__PURE__ */ g({
|
|
5296
5302
|
__name: "FileCleanButton",
|
|
5297
5303
|
props: {
|
|
5298
5304
|
question: {},
|
|
@@ -5316,7 +5322,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5316
5322
|
], 2);
|
|
5317
5323
|
};
|
|
5318
5324
|
}
|
|
5319
|
-
}),
|
|
5325
|
+
}), Ei = ["id"], Hi = /* @__PURE__ */ g({
|
|
5320
5326
|
__name: "FileVideo",
|
|
5321
5327
|
props: {
|
|
5322
5328
|
question: {}
|
|
@@ -5338,7 +5344,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5338
5344
|
playsinline: "",
|
|
5339
5345
|
id: s.question.videoId,
|
|
5340
5346
|
class: l(s.question.cssClasses.video)
|
|
5341
|
-
}, null, 10,
|
|
5347
|
+
}, null, 10, Ei),
|
|
5342
5348
|
h(e, {
|
|
5343
5349
|
item: s.question.takePictureAction
|
|
5344
5350
|
}, null, 8, ["item"])
|
|
@@ -5576,7 +5582,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5576
5582
|
__name: "SvgBundle",
|
|
5577
5583
|
setup(r) {
|
|
5578
5584
|
const s = $();
|
|
5579
|
-
return
|
|
5585
|
+
return M(() => {
|
|
5580
5586
|
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5581
5587
|
}), (n, e) => N((i(), u("svg", {
|
|
5582
5588
|
id: "sv-icon-holder-global-container",
|
|
@@ -5589,7 +5595,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5589
5595
|
});
|
|
5590
5596
|
ze.platform = "vue3";
|
|
5591
5597
|
function er(r) {
|
|
5592
|
-
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",
|
|
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", Hi), 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", En), 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", Eo), r.component("sv-paneldynamic-add-btn", Ho), 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", {
|
|
5593
5599
|
mounted: function(s, n) {
|
|
5594
5600
|
const e = { ...n.value };
|
|
5595
5601
|
if (e.disableTabStop) {
|