survey-vue3-ui 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/survey-vue3-ui.es.js +369 -347
- package/survey-vue3-ui.umd.js +1 -1
- package/types/components/QuestionError.vue.d.ts +22 -0
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { shallowReactive as Ce, watch as K, onBeforeUnmount as G, onMounted as M, ref as
|
|
2
|
-
import { Base as _e, RendererFactory as ee, DropdownListModel as De, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ne, ActionDropdownViewModel as Pe, getActionDropdownButtonTarget as Ae, createPopupViewModel as Me, SurveyProgressModel as de, ProgressButtonsResponsivityManager as
|
|
1
|
+
import { shallowReactive as Ce, watch as K, onBeforeUnmount as G, onMounted as M, ref as $, shallowRef as U, watchEffect as be, triggerRef as se, unref as w, isRef as ke, defineComponent as h, computed as I, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as a, createVNode as C, createCommentVNode as d, Fragment as _, renderList as D, createBlock as g, resolveDynamicComponent as T, normalizeProps as z, mergeProps as H, withCtx as F, normalizeStyle as S, createElementVNode as p, onUnmounted as O, guardReactiveProps as ne, withDirectives as P, vShow as E, toDisplayString as R, vModelRadio as x, vModelCheckbox as oe, vModelSelect as fe, onUpdated as te, vModelText as we, getCurrentInstance as ie, createStaticVNode as Ie, resolveDirective as X, toRaw as Se, Teleport as Re, useSlots as Te, renderSlot as $e } from "vue";
|
|
2
|
+
import { Base as _e, RendererFactory as ee, DropdownListModel as De, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ne, ActionDropdownViewModel as Pe, getActionDropdownButtonTarget as Ae, createPopupViewModel as Me, SurveyProgressModel as de, ProgressButtonsResponsivityManager as Ee, PopupSurveyModel as He, settings as j, createDialogOptions as We, createPopupModalViewModel as Ve, ButtonGroupItemModel as Fe, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
_e.createPropertiesHash = () => Ce({});
|
|
4
|
-
function
|
|
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) => {
|
|
7
7
|
const o = [], t = U(o);
|
|
@@ -29,7 +29,7 @@ function B(r, s, n) {
|
|
|
29
29
|
const e = K(
|
|
30
30
|
r,
|
|
31
31
|
(o, t) => {
|
|
32
|
-
o && s && s(o, t), t && (me(t), n && n(t)),
|
|
32
|
+
o && s && s(o, t), t && (me(t), n && n(t)), Qe(o);
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
immediate: !0
|
|
@@ -48,7 +48,7 @@ function A(r, s, n, e) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
function J(r) {
|
|
51
|
-
const s =
|
|
51
|
+
const s = $(), n = (o) => {
|
|
52
52
|
s.value = o.renderedHtml, o.onChanged = () => {
|
|
53
53
|
s.value = o.renderedHtml;
|
|
54
54
|
};
|
|
@@ -75,7 +75,7 @@ function le(r) {
|
|
|
75
75
|
n();
|
|
76
76
|
}), s;
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const je = /* @__PURE__ */ h({
|
|
79
79
|
__name: "Page",
|
|
80
80
|
props: {
|
|
81
81
|
survey: {},
|
|
@@ -83,7 +83,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
83
83
|
css: {}
|
|
84
84
|
},
|
|
85
85
|
setup(r) {
|
|
86
|
-
const s = r, n =
|
|
86
|
+
const s = r, n = $(null), e = () => {
|
|
87
87
|
s.survey && n.value && s.survey.afterRenderPage(n.value);
|
|
88
88
|
}, o = I(() => s.page._showDescription);
|
|
89
89
|
return B(
|
|
@@ -113,7 +113,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
113
113
|
}, null, 8, ["locString"])
|
|
114
114
|
], 2)) : d("", !0),
|
|
115
115
|
C(c, { element: t.page }, null, 8, ["element"]),
|
|
116
|
-
(i(!0), u(_, null, D(t.page.visibleRows, (f) => (i(), g(
|
|
116
|
+
(i(!0), u(_, null, D(t.page.visibleRows, (f) => (i(), g(T(t.page.getSurvey().getRowWrapperComponentName(f)), z(H({
|
|
117
117
|
key: f.id
|
|
118
118
|
}, {
|
|
119
119
|
componentData: t.page.getSurvey().getRowWrapperComponentData(f)
|
|
@@ -136,7 +136,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
136
136
|
survey: {}
|
|
137
137
|
},
|
|
138
138
|
setup(r) {
|
|
139
|
-
const s = r, n =
|
|
139
|
+
const s = r, n = $();
|
|
140
140
|
return M(() => {
|
|
141
141
|
var e = n.value;
|
|
142
142
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
@@ -148,7 +148,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
148
148
|
ref_key: "root",
|
|
149
149
|
ref: n
|
|
150
150
|
}, [
|
|
151
|
-
e.survey.isLogoBefore ? (i(), g(
|
|
151
|
+
e.survey.isLogoBefore ? (i(), g(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
152
152
|
key: 0,
|
|
153
153
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
154
154
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -170,7 +170,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
170
170
|
}, null, 8, ["locString"])
|
|
171
171
|
], 2)) : d("", !0)
|
|
172
172
|
], 6)) : d("", !0),
|
|
173
|
-
e.survey.isLogoAfter ? (i(), g(
|
|
173
|
+
e.survey.isLogoAfter ? (i(), g(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
174
174
|
key: 2,
|
|
175
175
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
176
176
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -188,7 +188,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
188
188
|
survey: {}
|
|
189
189
|
},
|
|
190
190
|
setup(r) {
|
|
191
|
-
const s = r, n =
|
|
191
|
+
const s = r, n = $();
|
|
192
192
|
return B(
|
|
193
193
|
() => s.row,
|
|
194
194
|
(e, o) => {
|
|
@@ -231,7 +231,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
231
231
|
css: {}
|
|
232
232
|
},
|
|
233
233
|
setup(r) {
|
|
234
|
-
const s = r, n =
|
|
234
|
+
const s = r, n = $(null), e = I(() => s.element.showErrorOnTop), o = I(() => s.element.showErrorOnBottom), t = (k) => k.cssContent, l = () => s.element.getRootStyle();
|
|
235
235
|
B(() => s.element);
|
|
236
236
|
const m = () => {
|
|
237
237
|
n.value && s.element.afterRender(n.value);
|
|
@@ -255,7 +255,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
255
255
|
style: S(l()),
|
|
256
256
|
ref_key: "root",
|
|
257
257
|
ref: n,
|
|
258
|
-
onFocusin: L[0] || (L[0] = (
|
|
258
|
+
onFocusin: L[0] || (L[0] = (Q) => k.element.focusIn()),
|
|
259
259
|
id: k.element.id,
|
|
260
260
|
role: k.element.ariaRole,
|
|
261
261
|
"aria-required": k.element.ariaRequired,
|
|
@@ -275,7 +275,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
275
275
|
element: k.element,
|
|
276
276
|
css: k.css
|
|
277
277
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
278
|
-
(i(), g(
|
|
278
|
+
(i(), g(T(q.value), z(ne(f.value)), {
|
|
279
279
|
default: F(() => [
|
|
280
280
|
P(p("div", {
|
|
281
281
|
class: a(t(k.element) || void 0),
|
|
@@ -286,7 +286,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
286
286
|
element: k.element,
|
|
287
287
|
location: "top"
|
|
288
288
|
}, null, 8, ["element"])) : d("", !0),
|
|
289
|
-
(i(), g(
|
|
289
|
+
(i(), g(T(c.value), { question: k.element }, null, 8, ["question"])),
|
|
290
290
|
k.element.hasComment ? (i(), u("div", {
|
|
291
291
|
key: 1,
|
|
292
292
|
class: a(k.element.getCommentAreaCss())
|
|
@@ -313,7 +313,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
313
313
|
}, null, 8, ["locString"])
|
|
314
314
|
], 10, Ye)) : d("", !0)
|
|
315
315
|
], 2), [
|
|
316
|
-
[
|
|
316
|
+
[E, k.element.renderedIsExpanded]
|
|
317
317
|
])
|
|
318
318
|
]),
|
|
319
319
|
_: 1
|
|
@@ -343,7 +343,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
343
343
|
css: {}
|
|
344
344
|
},
|
|
345
345
|
setup(r) {
|
|
346
|
-
const s = r, n =
|
|
346
|
+
const s = r, n = $(null), e = I(() => s.element.survey);
|
|
347
347
|
return B(() => s.element), M(() => {
|
|
348
348
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
349
349
|
}), (o, t) => {
|
|
@@ -375,7 +375,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
375
375
|
style: S({ paddingLeft: o.element.innerPaddingLeft }),
|
|
376
376
|
class: a(o.element.cssClasses.panel.content)
|
|
377
377
|
}, [
|
|
378
|
-
(i(!0), u(_, null, D(o.element.visibleRows, (q) => (i(), g(
|
|
378
|
+
(i(!0), u(_, null, D(o.element.visibleRows, (q) => (i(), g(T(o.element.getSurvey().getRowWrapperComponentName(q)), z(H({
|
|
379
379
|
key: q.id
|
|
380
380
|
}, {
|
|
381
381
|
componentData: o.element.getSurvey().getRowWrapperComponentData(q)
|
|
@@ -425,7 +425,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
425
425
|
locString: e.element.locDescription
|
|
426
426
|
}, null, 8, ["locString"])
|
|
427
427
|
], 10, ts)), [
|
|
428
|
-
[
|
|
428
|
+
[E, e.element.hasDescription]
|
|
429
429
|
]) : d("", !0),
|
|
430
430
|
e.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
431
431
|
key: 1,
|
|
@@ -440,7 +440,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
440
440
|
locString: {}
|
|
441
441
|
},
|
|
442
442
|
setup(r) {
|
|
443
|
-
return (s, n) => (i(), g(
|
|
443
|
+
return (s, n) => (i(), g(T(s.locString.renderAs), {
|
|
444
444
|
locString: s.locString.renderAsData
|
|
445
445
|
}, null, 8, ["locString"]));
|
|
446
446
|
}
|
|
@@ -506,7 +506,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
506
506
|
question: {}
|
|
507
507
|
},
|
|
508
508
|
setup(r) {
|
|
509
|
-
const s = r, n =
|
|
509
|
+
const s = r, n = $(null);
|
|
510
510
|
return A(s, n), (e, o) => {
|
|
511
511
|
const t = y("survey-text-input");
|
|
512
512
|
return e.question.isReadOnlyRenderDiv() ? (i(), u("div", {
|
|
@@ -542,7 +542,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
542
542
|
setup(r, { expose: s }) {
|
|
543
543
|
const n = r, e = function(l) {
|
|
544
544
|
n.getRef && n.getRef(l);
|
|
545
|
-
}, o =
|
|
545
|
+
}, o = $(null);
|
|
546
546
|
s({ root: o }), B(() => n.question);
|
|
547
547
|
const t = I(() => n.question.inputStyle);
|
|
548
548
|
return (l, m) => {
|
|
@@ -626,7 +626,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
626
626
|
showLegend: { type: Boolean }
|
|
627
627
|
},
|
|
628
628
|
setup(r) {
|
|
629
|
-
const s = r, n =
|
|
629
|
+
const s = r, n = $(null);
|
|
630
630
|
A(s, n);
|
|
631
631
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || s.question.itemComponent, o = (t) => ({
|
|
632
632
|
componentName: s.question.itemComponent,
|
|
@@ -651,17 +651,17 @@ const Qe = /* @__PURE__ */ h({
|
|
|
651
651
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
652
652
|
}, [
|
|
653
653
|
t.showLegend ? (i(), u("legend", bs, R(t.question.locTitle.renderedHtml), 1)) : d("", !0),
|
|
654
|
-
t.question.hasHeadItems ? (i(!0), u(_, { key: 1 }, D(t.question.headItems, (v) => (i(), g(
|
|
654
|
+
t.question.hasHeadItems ? (i(!0), u(_, { key: 1 }, D(t.question.headItems, (v) => (i(), g(T(e(v)), H({
|
|
655
655
|
key: v.value
|
|
656
656
|
}, o(v)), null, 16))), 128)) : d("", !0),
|
|
657
|
-
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(_, { key: 2 }, D(t.question.bodyItems, (v) => (i(), g(
|
|
657
|
+
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(_, { key: 2 }, D(t.question.bodyItems, (v) => (i(), g(T(e(v)), H({
|
|
658
658
|
key: v.value
|
|
659
659
|
}, o(v)), null, 16))), 128)) : d("", !0),
|
|
660
660
|
t.question.blockedRow ? (i(), u("div", {
|
|
661
661
|
key: 3,
|
|
662
662
|
class: a(t.question.cssClasses.rootRow)
|
|
663
663
|
}, [
|
|
664
|
-
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(_, { key: 0 }, D(t.question.dataChoices, (v) => (i(), g(
|
|
664
|
+
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(_, { key: 0 }, D(t.question.dataChoices, (v) => (i(), g(T(e(v)), H({
|
|
665
665
|
key: v.value
|
|
666
666
|
}, o(v)), null, 16))), 128)) : d("", !0)
|
|
667
667
|
], 2)) : d("", !0),
|
|
@@ -674,12 +674,12 @@ const Qe = /* @__PURE__ */ h({
|
|
|
674
674
|
class: a(t.question.getColumnClass()),
|
|
675
675
|
role: "presentation"
|
|
676
676
|
}, [
|
|
677
|
-
(i(!0), u(_, null, D(v, (q) => (i(), g(
|
|
677
|
+
(i(!0), u(_, null, D(v, (q) => (i(), g(T(e(q)), H({
|
|
678
678
|
key: q.value
|
|
679
679
|
}, o(q)), null, 16))), 128))
|
|
680
680
|
], 2))), 128)) : d("", !0)
|
|
681
681
|
], 2)) : d("", !0),
|
|
682
|
-
t.question.hasFootItems ? (i(!0), u(_, { key: 5 }, D(t.question.footItems, (v) => (i(), g(
|
|
682
|
+
t.question.hasFootItems ? (i(!0), u(_, { key: 5 }, D(t.question.footItems, (v) => (i(), g(T(e(v)), H({
|
|
683
683
|
key: v.value
|
|
684
684
|
}, o(v)), null, 16))), 128)) : d("", !0),
|
|
685
685
|
t.question.renderedValue && t.question.isOtherSelected ? (i(), g(m, {
|
|
@@ -851,7 +851,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
851
851
|
question: {}
|
|
852
852
|
},
|
|
853
853
|
setup(r) {
|
|
854
|
-
const s = r, n =
|
|
854
|
+
const s = r, n = $(null);
|
|
855
855
|
return A(s, n), (e, o) => {
|
|
856
856
|
const t = y("survey-string"), l = y("sv-svg-icon"), m = y("sv-loading-indicator");
|
|
857
857
|
return i(), u("div", {
|
|
@@ -869,7 +869,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
869
869
|
locString: e.question.locRenderedPlaceholder
|
|
870
870
|
}, null, 8, ["locString"])
|
|
871
871
|
], 2), [
|
|
872
|
-
[
|
|
872
|
+
[E, e.question.needShowPlaceholder()]
|
|
873
873
|
]),
|
|
874
874
|
p("div", null, [
|
|
875
875
|
e.question.backgroundImage ? (i(), u("img", {
|
|
@@ -922,7 +922,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
922
922
|
question: {}
|
|
923
923
|
},
|
|
924
924
|
setup(r) {
|
|
925
|
-
const s = r, n =
|
|
925
|
+
const s = r, n = $(null);
|
|
926
926
|
A(s, n);
|
|
927
927
|
const e = J(() => s.question.locHtml);
|
|
928
928
|
return (o, t) => (i(), u("div", {
|
|
@@ -932,14 +932,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
932
932
|
innerHTML: w(e)
|
|
933
933
|
}, null, 10, As));
|
|
934
934
|
}
|
|
935
|
-
}),
|
|
935
|
+
}), Es = ["src", "alt", "width", "height"], Hs = ["src", "width", "height"], Ws = ["src", "width", "height"], Vs = /* @__PURE__ */ h({
|
|
936
936
|
inheritAttrs: !1,
|
|
937
937
|
__name: "Image",
|
|
938
938
|
props: {
|
|
939
939
|
question: {}
|
|
940
940
|
},
|
|
941
941
|
setup(r) {
|
|
942
|
-
const s = r, n =
|
|
942
|
+
const s = r, n = $(null);
|
|
943
943
|
A(s, n);
|
|
944
944
|
const e = J(() => s.question.locImageLink);
|
|
945
945
|
return (o, t) => {
|
|
@@ -967,8 +967,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
967
967
|
onError: t[1] || (t[1] = (m) => {
|
|
968
968
|
o.question.onErrorHandler();
|
|
969
969
|
})
|
|
970
|
-
}, null, 46,
|
|
971
|
-
[
|
|
970
|
+
}, null, 46, Es)), [
|
|
971
|
+
[E, w(e) && !o.question.contentNotLoaded]
|
|
972
972
|
]) : d("", !0),
|
|
973
973
|
o.question.renderedMode === "video" ? P((i(), u("video", {
|
|
974
974
|
key: 1,
|
|
@@ -988,8 +988,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
988
988
|
onError: t[3] || (t[3] = (m) => {
|
|
989
989
|
o.question.onErrorHandler();
|
|
990
990
|
})
|
|
991
|
-
}, null, 46,
|
|
992
|
-
[
|
|
991
|
+
}, null, 46, Hs)), [
|
|
992
|
+
[E, w(e) && !o.question.contentNotLoaded]
|
|
993
993
|
]) : d("", !0),
|
|
994
994
|
o.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
995
995
|
key: 2,
|
|
@@ -1022,7 +1022,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1022
1022
|
question: {}
|
|
1023
1023
|
},
|
|
1024
1024
|
setup(r) {
|
|
1025
|
-
const s = r, n =
|
|
1025
|
+
const s = r, n = $(null);
|
|
1026
1026
|
return A(s, n), (e, o) => (i(), u("div", {
|
|
1027
1027
|
class: a(e.question.cssClasses.root),
|
|
1028
1028
|
ref_key: "root",
|
|
@@ -1036,7 +1036,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1036
1036
|
question: {}
|
|
1037
1037
|
},
|
|
1038
1038
|
setup(r) {
|
|
1039
|
-
const s = r, n =
|
|
1039
|
+
const s = r, n = $(null);
|
|
1040
1040
|
return A(s, n), (e, o) => {
|
|
1041
1041
|
const t = y("survey-string"), l = y("sv-file-choose-btn"), m = y("sv-action-bar"), v = y("sv-file-clean-btn"), c = y("sv-loading-indicator"), q = y("sv-file-video"), f = y("sv-file-preview");
|
|
1042
1042
|
return i(), u("div", {
|
|
@@ -1136,14 +1136,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1136
1136
|
], 2);
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
}), Ks = { class: "sv-hidden" }, ce = "survey-imagepicker-item",
|
|
1139
|
+
}), Ks = { class: "sv-hidden" }, ce = "survey-imagepicker-item", Qs = /* @__PURE__ */ h({
|
|
1140
1140
|
inheritAttrs: !1,
|
|
1141
1141
|
__name: "Imagepicker",
|
|
1142
1142
|
props: {
|
|
1143
1143
|
question: {}
|
|
1144
1144
|
},
|
|
1145
1145
|
setup(r) {
|
|
1146
|
-
const s = r, n =
|
|
1146
|
+
const s = r, n = $(null);
|
|
1147
1147
|
A(s, n);
|
|
1148
1148
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || ce, o = (t) => ({
|
|
1149
1149
|
componentName: ce,
|
|
@@ -1159,7 +1159,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1159
1159
|
ref: n
|
|
1160
1160
|
}, [
|
|
1161
1161
|
p("legend", Ks, R(t.question.locTitle.renderedHtml), 1),
|
|
1162
|
-
t.question.hasColumns ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.visibleChoices, (m) => (i(), g(
|
|
1162
|
+
t.question.hasColumns ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.visibleChoices, (m) => (i(), g(T(e(m)), H({
|
|
1163
1163
|
key: m.value
|
|
1164
1164
|
}, o(m)), null, 16))), 128)),
|
|
1165
1165
|
t.question.hasColumns ? (i(!0), u(_, { key: 1 }, D(t.question.columns, (m, v) => (i(), u("div", {
|
|
@@ -1167,13 +1167,13 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1167
1167
|
key: v,
|
|
1168
1168
|
role: "presentation"
|
|
1169
1169
|
}, [
|
|
1170
|
-
(i(!0), u(_, null, D(m, (c) => (i(), g(
|
|
1170
|
+
(i(!0), u(_, null, D(m, (c) => (i(), g(T(e(c)), H({
|
|
1171
1171
|
key: c.value
|
|
1172
1172
|
}, o(c)), null, 16))), 128))
|
|
1173
1173
|
], 2))), 128)) : d("", !0)
|
|
1174
1174
|
], 2));
|
|
1175
1175
|
}
|
|
1176
|
-
}),
|
|
1176
|
+
}), js = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Gs = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Js = ["src", "width", "height", "alt"], Xs = ["src", "width", "height"], Ys = /* @__PURE__ */ h({
|
|
1177
1177
|
inheritAttrs: !1,
|
|
1178
1178
|
__name: "ImagepickerItem",
|
|
1179
1179
|
props: {
|
|
@@ -1205,7 +1205,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1205
1205
|
"aria-invalid": o.question.ariaInvalid,
|
|
1206
1206
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1207
1207
|
class: a(o.question.cssClasses.itemControl)
|
|
1208
|
-
}, null, 10,
|
|
1208
|
+
}, null, 10, js)), [
|
|
1209
1209
|
[oe, o.question.value]
|
|
1210
1210
|
]) : P((i(), u("input", {
|
|
1211
1211
|
key: 1,
|
|
@@ -1307,7 +1307,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1307
1307
|
css: {}
|
|
1308
1308
|
},
|
|
1309
1309
|
setup(r) {
|
|
1310
|
-
const s = r, n =
|
|
1310
|
+
const s = r, n = $(null);
|
|
1311
1311
|
A(s, n);
|
|
1312
1312
|
const e = (o) => {
|
|
1313
1313
|
const t = s.question;
|
|
@@ -1390,7 +1390,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1390
1390
|
question: {}
|
|
1391
1391
|
},
|
|
1392
1392
|
setup(r) {
|
|
1393
|
-
const s = r, n =
|
|
1393
|
+
const s = r, n = $(null);
|
|
1394
1394
|
return A(s, n), (e, o) => {
|
|
1395
1395
|
const t = y("sv-dropdown"), l = y("survey-other-choice");
|
|
1396
1396
|
return i(), u("div", {
|
|
@@ -1422,7 +1422,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1422
1422
|
question: {}
|
|
1423
1423
|
},
|
|
1424
1424
|
setup(r) {
|
|
1425
|
-
const s = r, n =
|
|
1425
|
+
const s = r, n = $(null);
|
|
1426
1426
|
A(s, n);
|
|
1427
1427
|
const e = (l) => {
|
|
1428
1428
|
s.question.onClick(l);
|
|
@@ -1511,7 +1511,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1511
1511
|
question: {}
|
|
1512
1512
|
},
|
|
1513
1513
|
setup(r) {
|
|
1514
|
-
const s = r, n =
|
|
1514
|
+
const s = r, n = $(null), e = I(() => {
|
|
1515
1515
|
const b = s.question;
|
|
1516
1516
|
return b.dropdownListModel || (b.dropdownListModel = new De(b)), s.question.dropdownListModel;
|
|
1517
1517
|
}), o = (b) => {
|
|
@@ -1543,7 +1543,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1543
1543
|
() => s.question.showSelectedItemLocText
|
|
1544
1544
|
), L = I(() => s.question.selectedItemLocText);
|
|
1545
1545
|
return B(() => e.value), te(v), M(v), (b, N) => {
|
|
1546
|
-
const W = y("survey-string"), V = y("sv-svg-icon"),
|
|
1546
|
+
const W = y("survey-string"), V = y("sv-svg-icon"), Q = y("sv-popup");
|
|
1547
1547
|
return i(), u("div", {
|
|
1548
1548
|
class: a(b.question.cssClasses.selectWrapper),
|
|
1549
1549
|
onClick: o
|
|
@@ -1586,7 +1586,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1586
1586
|
p("span", dn, R(e.value.inputStringRendered), 1),
|
|
1587
1587
|
p("span", null, R(e.value.hintStringSuffix), 1)
|
|
1588
1588
|
], 2)) : d("", !0),
|
|
1589
|
-
b.question.showInputFieldComponent ? (i(), g(
|
|
1589
|
+
b.question.showInputFieldComponent ? (i(), g(T(b.question.inputFieldComponentName), {
|
|
1590
1590
|
key: 2,
|
|
1591
1591
|
item: e.value.getSelectedAction(),
|
|
1592
1592
|
question: b.question
|
|
@@ -1628,7 +1628,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1628
1628
|
size: "auto"
|
|
1629
1629
|
}, null, 8, ["class", "iconName", "title"])
|
|
1630
1630
|
], 2)), [
|
|
1631
|
-
[
|
|
1631
|
+
[E, b.question.showClearButton]
|
|
1632
1632
|
]) : d("", !0)
|
|
1633
1633
|
], 42, un)),
|
|
1634
1634
|
b.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1642,7 +1642,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1642
1642
|
locString: b.question.selectedItemLocText
|
|
1643
1643
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1644
1644
|
p("div", null, R(b.question.readOnlyText), 1)
|
|
1645
|
-
], 10, cn)) : (i(), g(
|
|
1645
|
+
], 10, cn)) : (i(), g(Q, {
|
|
1646
1646
|
key: 1,
|
|
1647
1647
|
model: b.question.dropdownListModel.popupModel
|
|
1648
1648
|
}, null, 8, ["model"])),
|
|
@@ -1668,7 +1668,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1668
1668
|
question: {}
|
|
1669
1669
|
},
|
|
1670
1670
|
setup(r) {
|
|
1671
|
-
const s = r, n =
|
|
1671
|
+
const s = r, n = $(null);
|
|
1672
1672
|
return A(s, n), (e, o) => {
|
|
1673
1673
|
const t = y("sv-tagbox"), l = y("survey-other-choice");
|
|
1674
1674
|
return i(), u("div", {
|
|
@@ -1759,7 +1759,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1759
1759
|
size: "auto"
|
|
1760
1760
|
}, null, 8, ["class", "iconName", "title"])
|
|
1761
1761
|
], 2)), [
|
|
1762
|
-
[
|
|
1762
|
+
[E, c.question.showClearButton]
|
|
1763
1763
|
]) : d("", !0)
|
|
1764
1764
|
], 42, qn)),
|
|
1765
1765
|
c.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1903,7 +1903,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1903
1903
|
question: {}
|
|
1904
1904
|
},
|
|
1905
1905
|
setup(r) {
|
|
1906
|
-
const s = r, n =
|
|
1906
|
+
const s = r, n = $(null);
|
|
1907
1907
|
A(s, n);
|
|
1908
1908
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", o = (t, l, m) => ({
|
|
1909
1909
|
componentName: s.question.getPropertyByName("itemComponent").isDefaultValue(
|
|
@@ -1924,7 +1924,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1924
1924
|
ref_key: "root",
|
|
1925
1925
|
ref: n
|
|
1926
1926
|
}, [
|
|
1927
|
-
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.rankingChoices, (v, c) => (i(), g(
|
|
1927
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)), H({
|
|
1928
1928
|
key: v.value + "-" + c + "-item"
|
|
1929
1929
|
}, o(v, c)), null, 16))), 128)),
|
|
1930
1930
|
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
@@ -1932,7 +1932,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1932
1932
|
class: a(t.question.getContainerClasses("from")),
|
|
1933
1933
|
"data-ranking": "from-container"
|
|
1934
1934
|
}, [
|
|
1935
|
-
(i(!0), u(_, null, D(t.question.unRankingChoices, (v, c) => (i(), g(
|
|
1935
|
+
(i(!0), u(_, null, D(t.question.unRankingChoices, (v, c) => (i(), g(T(e(v)), H({
|
|
1936
1936
|
key: v.value + "-" + c + "-item"
|
|
1937
1937
|
}, o(v, c, !0)), null, 16))), 128)),
|
|
1938
1938
|
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1953,7 +1953,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1953
1953
|
class: a(t.question.getContainerClasses("to")),
|
|
1954
1954
|
"data-ranking": "to-container"
|
|
1955
1955
|
}, [
|
|
1956
|
-
(i(!0), u(_, null, D(t.question.rankingChoices, (v, c) => (i(), g(
|
|
1956
|
+
(i(!0), u(_, null, D(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)), H({
|
|
1957
1957
|
key: v.value + "-" + c + "-item"
|
|
1958
1958
|
}, o(v, c)), null, 16))), 128)),
|
|
1959
1959
|
t.question.rankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -2068,7 +2068,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2068
2068
|
question: {}
|
|
2069
2069
|
},
|
|
2070
2070
|
setup(r) {
|
|
2071
|
-
const s = r, n =
|
|
2071
|
+
const s = r, n = $(null);
|
|
2072
2072
|
A(s, n);
|
|
2073
2073
|
const e = (o) => s.question.getInputId(o);
|
|
2074
2074
|
return (o, t) => {
|
|
@@ -2088,7 +2088,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2088
2088
|
locString: o.question.locMinRateDescription
|
|
2089
2089
|
}, null, 8, ["locString"])
|
|
2090
2090
|
], 2)) : d("", !0),
|
|
2091
|
-
(i(!0), u(_, null, D(o.question.renderedRateItems, (m, v) => (i(), g(
|
|
2091
|
+
(i(!0), u(_, null, D(o.question.renderedRateItems, (m, v) => (i(), g(T(o.question.itemComponent), {
|
|
2092
2092
|
key: e(v),
|
|
2093
2093
|
item: m,
|
|
2094
2094
|
index: v,
|
|
@@ -2185,7 +2185,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2185
2185
|
], 38);
|
|
2186
2186
|
};
|
|
2187
2187
|
}
|
|
2188
|
-
}),
|
|
2188
|
+
}), En = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Hn = /* @__PURE__ */ h({
|
|
2189
2189
|
__name: "RatingItemStar",
|
|
2190
2190
|
props: {
|
|
2191
2191
|
question: {},
|
|
@@ -2215,7 +2215,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2215
2215
|
"aria-label": n.question.ariaLabel,
|
|
2216
2216
|
"aria-invalid": n.question.ariaInvalid,
|
|
2217
2217
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2218
|
-
}, null, 8,
|
|
2218
|
+
}, null, 8, En),
|
|
2219
2219
|
C(o, {
|
|
2220
2220
|
class: a("sv-star"),
|
|
2221
2221
|
iconName: n.question.itemStarIcon,
|
|
@@ -2266,7 +2266,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2266
2266
|
question: {}
|
|
2267
2267
|
},
|
|
2268
2268
|
setup(r) {
|
|
2269
|
-
const s = r, n =
|
|
2269
|
+
const s = r, n = $(null);
|
|
2270
2270
|
return A(s, n), (e, o) => {
|
|
2271
2271
|
const t = y("sv-dropdown");
|
|
2272
2272
|
return i(), u("div", {
|
|
@@ -2285,7 +2285,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2285
2285
|
question: {}
|
|
2286
2286
|
},
|
|
2287
2287
|
setup(r) {
|
|
2288
|
-
const s = r, n =
|
|
2288
|
+
const s = r, n = $(null);
|
|
2289
2289
|
A(s, n);
|
|
2290
2290
|
const e = (t, l) => {
|
|
2291
2291
|
s.question.onLabelClick(t, l);
|
|
@@ -2374,14 +2374,14 @@ ee.Instance.registerRenderer(
|
|
|
2374
2374
|
"radio",
|
|
2375
2375
|
"sv-boolean-radio"
|
|
2376
2376
|
);
|
|
2377
|
-
const
|
|
2377
|
+
const Qn = /* @__PURE__ */ h({
|
|
2378
2378
|
inheritAttrs: !1,
|
|
2379
2379
|
__name: "BooleanRadio",
|
|
2380
2380
|
props: {
|
|
2381
2381
|
question: {}
|
|
2382
2382
|
},
|
|
2383
2383
|
setup(r) {
|
|
2384
|
-
const s =
|
|
2384
|
+
const s = $(null);
|
|
2385
2385
|
return A(r, s), (e, o) => {
|
|
2386
2386
|
const t = y("sv-boolean-radio-item");
|
|
2387
2387
|
return i(), u("div", {
|
|
@@ -2415,7 +2415,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2415
2415
|
], 2);
|
|
2416
2416
|
};
|
|
2417
2417
|
}
|
|
2418
|
-
}),
|
|
2418
|
+
}), jn = ["name", "value", "checked", "aria-errormessage", "disabled"], Gn = ["xlink:href"], Jn = /* @__PURE__ */ h({
|
|
2419
2419
|
__name: "BooleanRadioItem",
|
|
2420
2420
|
props: {
|
|
2421
2421
|
question: {},
|
|
@@ -2445,7 +2445,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2445
2445
|
disabled: e.question.isInputReadOnly,
|
|
2446
2446
|
class: a(e.question.cssClasses.itemRadioControl),
|
|
2447
2447
|
onChange: n
|
|
2448
|
-
}, null, 42,
|
|
2448
|
+
}, null, 42, jn),
|
|
2449
2449
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: a(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2482,7 +2482,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2482
2482
|
css: {}
|
|
2483
2483
|
},
|
|
2484
2484
|
setup(r) {
|
|
2485
|
-
const s = r, n =
|
|
2485
|
+
const s = r, n = $(null);
|
|
2486
2486
|
return A(s, n), (e, o) => {
|
|
2487
2487
|
var v;
|
|
2488
2488
|
const t = y("survey-element-title-content"), l = y("sv-title-actions"), m = y("survey-string");
|
|
@@ -2563,7 +2563,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2563
2563
|
question: {}
|
|
2564
2564
|
},
|
|
2565
2565
|
setup(r) {
|
|
2566
|
-
const s = r, n =
|
|
2566
|
+
const s = r, n = $(null), e = le(() => s.question.getRows());
|
|
2567
2567
|
return A(s, n), (o, t) => {
|
|
2568
2568
|
const l = y("survey-multipletext-item");
|
|
2569
2569
|
return i(), u("table", {
|
|
@@ -2636,7 +2636,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2636
2636
|
class: a(o.question.getItemCss()),
|
|
2637
2637
|
onFocusin: t[0] || (t[0] = (v) => e.value.focusIn())
|
|
2638
2638
|
}, [
|
|
2639
|
-
(i(), g(
|
|
2639
|
+
(i(), g(T(n(e.value.editor)), {
|
|
2640
2640
|
question: e.value.editor
|
|
2641
2641
|
}, null, 8, ["question"]))
|
|
2642
2642
|
], 34))
|
|
@@ -2650,7 +2650,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2650
2650
|
question: {}
|
|
2651
2651
|
},
|
|
2652
2652
|
setup(r) {
|
|
2653
|
-
const s = r, n =
|
|
2653
|
+
const s = r, n = $(null), e = U();
|
|
2654
2654
|
A(
|
|
2655
2655
|
s,
|
|
2656
2656
|
n,
|
|
@@ -2690,7 +2690,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2690
2690
|
width: t.question.columnMinWidth
|
|
2691
2691
|
})
|
|
2692
2692
|
}, [
|
|
2693
|
-
(i(), g(
|
|
2693
|
+
(i(), g(T(t.question.getColumnHeaderWrapperComponentName(v)), {
|
|
2694
2694
|
componentData: t.question.getColumnHeaderWrapperComponentData(v)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
default: F(() => [
|
|
@@ -2715,7 +2715,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2715
2715
|
width: t.question.rowTitleWidth
|
|
2716
2716
|
})
|
|
2717
2717
|
}, [
|
|
2718
|
-
(i(), g(
|
|
2718
|
+
(i(), g(T(t.question.getRowHeaderWrapperComponentName(v)), {
|
|
2719
2719
|
componentData: t.question.getRowHeaderWrapperComponentData(v)
|
|
2720
2720
|
}, {
|
|
2721
2721
|
default: F(() => [
|
|
@@ -2726,7 +2726,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2726
2726
|
_: 2
|
|
2727
2727
|
}, 1032, ["componentData"]))
|
|
2728
2728
|
], 6), [
|
|
2729
|
-
[
|
|
2729
|
+
[E, t.question.hasRows]
|
|
2730
2730
|
]),
|
|
2731
2731
|
t.question.hasCellText ? (i(!0), u(_, { key: 0 }, D(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2732
2732
|
key: f,
|
|
@@ -2743,7 +2743,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2743
2743
|
class: a(t.question.cssClasses.cell),
|
|
2744
2744
|
onClick: (k) => o(v, q)
|
|
2745
2745
|
}, [
|
|
2746
|
-
(i(), g(
|
|
2746
|
+
(i(), g(T(t.question.cellComponent), {
|
|
2747
2747
|
question: t.question,
|
|
2748
2748
|
row: v,
|
|
2749
2749
|
column: q,
|
|
@@ -2764,7 +2764,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2764
2764
|
row: {}
|
|
2765
2765
|
},
|
|
2766
2766
|
setup(r) {
|
|
2767
|
-
const s = r, n =
|
|
2767
|
+
const s = r, n = $();
|
|
2768
2768
|
B(() => s.row);
|
|
2769
2769
|
const e = K(
|
|
2770
2770
|
() => s.row,
|
|
@@ -2858,7 +2858,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2858
2858
|
question: {}
|
|
2859
2859
|
},
|
|
2860
2860
|
setup(r) {
|
|
2861
|
-
const s = r, n =
|
|
2861
|
+
const s = r, n = $(null);
|
|
2862
2862
|
return A(s, n), (e, o) => {
|
|
2863
2863
|
const t = y("survey-matrixtable");
|
|
2864
2864
|
return i(), g(t, {
|
|
@@ -2905,7 +2905,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2905
2905
|
class: a(c.className),
|
|
2906
2906
|
style: S({ minWidth: c.minWidth, width: c.width })
|
|
2907
2907
|
}, [
|
|
2908
|
-
(i(), g(
|
|
2908
|
+
(i(), g(T(e.question.getColumnHeaderWrapperComponentName(c)), {
|
|
2909
2909
|
componentData: e.question.getColumnHeaderWrapperComponentData(c)
|
|
2910
2910
|
}, {
|
|
2911
2911
|
default: F(() => [
|
|
@@ -2972,7 +2972,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2972
2972
|
cell: {}
|
|
2973
2973
|
},
|
|
2974
2974
|
setup(r) {
|
|
2975
|
-
const s = r, n =
|
|
2975
|
+
const s = r, n = $(!1), e = $(), o = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, l = () => n.value = s.cell.question.isVisible, m = (q) => re(q);
|
|
2976
2976
|
M(() => {
|
|
2977
2977
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2978
2978
|
return;
|
|
@@ -3014,7 +3014,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3014
3014
|
}
|
|
3015
3015
|
});
|
|
3016
3016
|
return (q, f) => {
|
|
3017
|
-
const k = y("survey-errors"), L = y("sv-matrix-drag-drop-icon"), b = y("sv-action-bar"), N = y("survey-radiogroup-item"), W = y("survey-checkbox-item"), V = y("survey-other-choice"),
|
|
3017
|
+
const k = y("survey-errors"), L = y("sv-matrix-drag-drop-icon"), b = y("sv-action-bar"), N = y("survey-radiogroup-item"), W = y("survey-checkbox-item"), V = y("survey-other-choice"), Q = y("survey-string");
|
|
3018
3018
|
return i(), u("td", {
|
|
3019
3019
|
class: a(q.cell.className),
|
|
3020
3020
|
"data-responsive-title": o(),
|
|
@@ -3038,27 +3038,27 @@ const so = /* @__PURE__ */ h({
|
|
|
3038
3038
|
model: q.cell.item.getData(),
|
|
3039
3039
|
handleClick: !1
|
|
3040
3040
|
}, null, 8, ["model"])) : d("", !0),
|
|
3041
|
-
q.cell.hasPanel ? (i(), g(
|
|
3041
|
+
q.cell.hasPanel ? (i(), g(T(v.value), z(H({ key: 3 }, c.value)), null, 16)) : d("", !0),
|
|
3042
3042
|
q.cell.hasQuestion ? P((i(), u("div", {
|
|
3043
3043
|
key: 4,
|
|
3044
3044
|
class: a(q.cell.cellQuestionWrapperClassName)
|
|
3045
3045
|
}, [
|
|
3046
|
-
!q.cell.isChoice && q.cell.question.isDefaultRendering() ? (i(), g(
|
|
3046
|
+
!q.cell.isChoice && q.cell.question.isDefaultRendering() ? (i(), g(T(q.question.getCellWrapperComponentName(q.cell.cell)), {
|
|
3047
3047
|
key: 0,
|
|
3048
3048
|
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3049
3049
|
}, {
|
|
3050
3050
|
default: F(() => [
|
|
3051
|
-
(i(), g(
|
|
3051
|
+
(i(), g(T(m(q.cell.question)), {
|
|
3052
3052
|
question: q.cell.question
|
|
3053
3053
|
}, null, 8, ["question"]))
|
|
3054
3054
|
]),
|
|
3055
3055
|
_: 1
|
|
3056
3056
|
}, 8, ["componentData"])) : d("", !0),
|
|
3057
|
-
!q.cell.isChoice && !q.cell.question.isDefaultRendering() ? (i(), g(
|
|
3057
|
+
!q.cell.isChoice && !q.cell.question.isDefaultRendering() ? (i(), g(T(q.cell.question.getComponentName()), {
|
|
3058
3058
|
key: 1,
|
|
3059
3059
|
question: q.cell.question
|
|
3060
3060
|
}, null, 8, ["question"])) : d("", !0),
|
|
3061
|
-
q.cell.isItemChoice ? (i(), g(
|
|
3061
|
+
q.cell.isItemChoice ? (i(), g(T(q.question.getCellWrapperComponentName(q.cell.cell)), {
|
|
3062
3062
|
key: 2,
|
|
3063
3063
|
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3064
3064
|
}, {
|
|
@@ -3083,14 +3083,14 @@ const so = /* @__PURE__ */ h({
|
|
|
3083
3083
|
question: q.cell.question
|
|
3084
3084
|
}, null, 8, ["question"])) : d("", !0)
|
|
3085
3085
|
], 2)), [
|
|
3086
|
-
[
|
|
3086
|
+
[E, n.value]
|
|
3087
3087
|
]) : d("", !0),
|
|
3088
|
-
q.cell.hasTitle ? (i(), g(
|
|
3088
|
+
q.cell.hasTitle ? (i(), g(T(q.question.getCellWrapperComponentName(q.cell)), {
|
|
3089
3089
|
key: 5,
|
|
3090
3090
|
componentData: q.question.getCellWrapperComponentData(q.cell)
|
|
3091
3091
|
}, {
|
|
3092
3092
|
default: F(() => [
|
|
3093
|
-
q.cell.hasTitle ? (i(), g(
|
|
3093
|
+
q.cell.hasTitle ? (i(), g(Q, {
|
|
3094
3094
|
key: 0,
|
|
3095
3095
|
locString: q.cell.locTitle
|
|
3096
3096
|
}, null, 8, ["locString"])) : d("", !0),
|
|
@@ -3111,7 +3111,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3111
3111
|
question: {}
|
|
3112
3112
|
},
|
|
3113
3113
|
setup(r) {
|
|
3114
|
-
const s = r, n =
|
|
3114
|
+
const s = r, n = $(null);
|
|
3115
3115
|
A(s, n);
|
|
3116
3116
|
const e = () => {
|
|
3117
3117
|
s.question.addRowUI();
|
|
@@ -3270,7 +3270,7 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3270
3270
|
css: {}
|
|
3271
3271
|
},
|
|
3272
3272
|
setup(r) {
|
|
3273
|
-
const s = r, n =
|
|
3273
|
+
const s = r, n = $(null), e = ie();
|
|
3274
3274
|
A(
|
|
3275
3275
|
s,
|
|
3276
3276
|
n,
|
|
@@ -3355,7 +3355,7 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3355
3355
|
p("div", {
|
|
3356
3356
|
class: a(m.question.getPanelWrapperCss(b))
|
|
3357
3357
|
}, [
|
|
3358
|
-
(i(), g(
|
|
3358
|
+
(i(), g(T(t(b)), z(ne(l(b))), null, 16)),
|
|
3359
3359
|
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel && b.state !== "collapsed" ? (i(), g(k, {
|
|
3360
3360
|
key: 0,
|
|
3361
3361
|
data: { question: m.question, panel: b }
|
|
@@ -3498,7 +3498,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3498
3498
|
], 2)) : d("", !0);
|
|
3499
3499
|
};
|
|
3500
3500
|
}
|
|
3501
|
-
}), Mo = ["title"],
|
|
3501
|
+
}), Mo = ["title"], Eo = /* @__PURE__ */ h({
|
|
3502
3502
|
__name: "PaneldynamicNextBtn",
|
|
3503
3503
|
props: {
|
|
3504
3504
|
item: {},
|
|
@@ -3522,7 +3522,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3522
3522
|
], 10, Mo);
|
|
3523
3523
|
};
|
|
3524
3524
|
}
|
|
3525
|
-
}),
|
|
3525
|
+
}), Ho = ["title"], Wo = /* @__PURE__ */ h({
|
|
3526
3526
|
__name: "PaneldynamicPrevBtn",
|
|
3527
3527
|
props: {
|
|
3528
3528
|
item: {},
|
|
@@ -3543,7 +3543,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3543
3543
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3544
3544
|
size: "auto"
|
|
3545
3545
|
}, null, 8, ["iconName"])
|
|
3546
|
-
], 10,
|
|
3546
|
+
], 10, Ho);
|
|
3547
3547
|
};
|
|
3548
3548
|
}
|
|
3549
3549
|
}), Vo = /* @__PURE__ */ h({
|
|
@@ -3597,41 +3597,26 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3597
3597
|
location: {}
|
|
3598
3598
|
},
|
|
3599
3599
|
setup(r) {
|
|
3600
|
-
const s =
|
|
3601
|
-
return (n, e) => {
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
),
|
|
3619
|
-
"aria-hidden": "true"
|
|
3620
|
-
}, null, 2),
|
|
3621
|
-
p("span", {
|
|
3622
|
-
class: a(
|
|
3623
|
-
n.element.cssClasses ? n.element.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3624
|
-
)
|
|
3625
|
-
}, [
|
|
3626
|
-
C(o, {
|
|
3627
|
-
locString: t.locText
|
|
3628
|
-
}, null, 8, ["locString"])
|
|
3629
|
-
], 2)
|
|
3630
|
-
]))), 128))
|
|
3631
|
-
], 10, Oo)) : d("", !0);
|
|
3632
|
-
};
|
|
3600
|
+
const s = $();
|
|
3601
|
+
return (n, e) => n.element.hasVisibleErrors ? (i(), u("div", {
|
|
3602
|
+
key: 0,
|
|
3603
|
+
role: "alert",
|
|
3604
|
+
"aria-live": "polite",
|
|
3605
|
+
class: a(n.element.cssError),
|
|
3606
|
+
id: n.element.id + "_errors",
|
|
3607
|
+
ref_key: "root",
|
|
3608
|
+
ref: s
|
|
3609
|
+
}, [
|
|
3610
|
+
(i(!0), u(_, null, D(n.element.errors, (o, t) => (i(), g(T(n.element.survey.questionErrorComponent), {
|
|
3611
|
+
element: n.element,
|
|
3612
|
+
key: "error_" + t,
|
|
3613
|
+
errorKey: "error_" + t,
|
|
3614
|
+
error: o,
|
|
3615
|
+
cssClasses: n.element.cssClasses
|
|
3616
|
+
}, null, 8, ["element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3617
|
+
], 10, Oo)) : d("", !0);
|
|
3633
3618
|
}
|
|
3634
|
-
}), Uo = { key: 0 }, Ko = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"],
|
|
3619
|
+
}), Uo = { key: 0 }, Ko = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Qo = /* @__PURE__ */ h({
|
|
3635
3620
|
__name: "QuestionComment",
|
|
3636
3621
|
props: {
|
|
3637
3622
|
question: {}
|
|
@@ -3657,7 +3642,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3657
3642
|
})
|
|
3658
3643
|
}, null, 46, Ko));
|
|
3659
3644
|
}
|
|
3660
|
-
}),
|
|
3645
|
+
}), jo = /* @__PURE__ */ h({
|
|
3661
3646
|
__name: "TitleElement",
|
|
3662
3647
|
props: {
|
|
3663
3648
|
element: {},
|
|
@@ -3669,7 +3654,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3669
3654
|
};
|
|
3670
3655
|
return (n, e) => {
|
|
3671
3656
|
const o = y("survey-element-title-content"), t = y("sv-title-actions");
|
|
3672
|
-
return n.element.hasTitle ? (i(), g(
|
|
3657
|
+
return n.element.hasTitle ? (i(), g(T(n.element.titleTagName), {
|
|
3673
3658
|
key: 0,
|
|
3674
3659
|
class: a(n.element.cssTitle),
|
|
3675
3660
|
"aria-label": n.element.titleAriaLabel,
|
|
@@ -3795,7 +3780,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3795
3780
|
title: {}
|
|
3796
3781
|
},
|
|
3797
3782
|
setup(r) {
|
|
3798
|
-
const s = r, n =
|
|
3783
|
+
const s = r, n = $(), e = () => {
|
|
3799
3784
|
Ne(
|
|
3800
3785
|
s.size,
|
|
3801
3786
|
s.width,
|
|
@@ -3817,6 +3802,36 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3817
3802
|
}, at, 512));
|
|
3818
3803
|
}
|
|
3819
3804
|
}), dt = /* @__PURE__ */ h({
|
|
3805
|
+
__name: "QuestionError",
|
|
3806
|
+
props: {
|
|
3807
|
+
errorKey: {},
|
|
3808
|
+
error: {},
|
|
3809
|
+
cssClasses: {},
|
|
3810
|
+
element: {}
|
|
3811
|
+
},
|
|
3812
|
+
setup(r) {
|
|
3813
|
+
return (s, n) => {
|
|
3814
|
+
const e = y("survey-string");
|
|
3815
|
+
return i(), u("div", { key: s.errorKey }, [
|
|
3816
|
+
p("span", {
|
|
3817
|
+
class: a(
|
|
3818
|
+
s.cssClasses ? s.cssClasses.error.icon || void 0 : "panel-error-icon"
|
|
3819
|
+
),
|
|
3820
|
+
"aria-hidden": "true"
|
|
3821
|
+
}, null, 2),
|
|
3822
|
+
p("span", {
|
|
3823
|
+
class: a(
|
|
3824
|
+
s.cssClasses ? s.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3825
|
+
)
|
|
3826
|
+
}, [
|
|
3827
|
+
C(e, {
|
|
3828
|
+
locString: s.error.locText
|
|
3829
|
+
}, null, 8, ["locString"])
|
|
3830
|
+
], 2)
|
|
3831
|
+
]);
|
|
3832
|
+
};
|
|
3833
|
+
}
|
|
3834
|
+
}), mt = /* @__PURE__ */ h({
|
|
3820
3835
|
__name: "ActionBar",
|
|
3821
3836
|
props: {
|
|
3822
3837
|
model: {},
|
|
@@ -3824,7 +3839,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3824
3839
|
handleClick: { type: Boolean, default: !0 }
|
|
3825
3840
|
},
|
|
3826
3841
|
setup(r) {
|
|
3827
|
-
const s = r, n =
|
|
3842
|
+
const s = r, n = $(null), e = (t) => {
|
|
3828
3843
|
s.handleClick && t.stopPropagation();
|
|
3829
3844
|
};
|
|
3830
3845
|
B(() => s.model);
|
|
@@ -3849,7 +3864,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3849
3864
|
], 2)) : d("", !0);
|
|
3850
3865
|
};
|
|
3851
3866
|
}
|
|
3852
|
-
}),
|
|
3867
|
+
}), ct = ["id"], pt = { class: "sv-action__content" }, vt = /* @__PURE__ */ h({
|
|
3853
3868
|
__name: "Action",
|
|
3854
3869
|
props: {
|
|
3855
3870
|
item: {}
|
|
@@ -3864,17 +3879,17 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3864
3879
|
class: a(e.item.getActionRootCss()),
|
|
3865
3880
|
id: e.item.id
|
|
3866
3881
|
}, [
|
|
3867
|
-
p("div",
|
|
3882
|
+
p("div", pt, [
|
|
3868
3883
|
e.item.needSeparator ? (i(), g(t, { key: 0 })) : d("", !0),
|
|
3869
|
-
(i(), g(
|
|
3884
|
+
(i(), g(T(n.value), { item: e.item }, null, 8, ["item"]))
|
|
3870
3885
|
])
|
|
3871
|
-
], 10,
|
|
3886
|
+
], 10, ct);
|
|
3872
3887
|
};
|
|
3873
3888
|
}
|
|
3874
|
-
}),
|
|
3889
|
+
}), qt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], yt = {
|
|
3875
3890
|
inheritAttrs: !1
|
|
3876
|
-
},
|
|
3877
|
-
...
|
|
3891
|
+
}, gt = /* @__PURE__ */ h({
|
|
3892
|
+
...yt,
|
|
3878
3893
|
__name: "ActionBarItem",
|
|
3879
3894
|
props: {
|
|
3880
3895
|
item: {}
|
|
@@ -3909,15 +3924,15 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3909
3924
|
key: 1,
|
|
3910
3925
|
class: a(n.item.getActionBarItemTitleCss())
|
|
3911
3926
|
}, R(n.item.title), 3)) : d("", !0)
|
|
3912
|
-
], 42,
|
|
3927
|
+
], 42, qt)), [
|
|
3913
3928
|
[t, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3914
3929
|
]);
|
|
3915
3930
|
};
|
|
3916
3931
|
}
|
|
3917
|
-
}),
|
|
3932
|
+
}), ht = ["disabled", "title", "role"], Ct = {
|
|
3918
3933
|
inheritAttrs: !1
|
|
3919
|
-
},
|
|
3920
|
-
...
|
|
3934
|
+
}, bt = /* @__PURE__ */ h({
|
|
3935
|
+
...Ct,
|
|
3921
3936
|
__name: "ActionBarItemDropdown",
|
|
3922
3937
|
props: {
|
|
3923
3938
|
item: {}
|
|
@@ -3960,7 +3975,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3960
3975
|
key: 1,
|
|
3961
3976
|
class: a(o.item.getActionBarItemTitleCss())
|
|
3962
3977
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3963
|
-
], 42,
|
|
3978
|
+
], 42, ht)), [
|
|
3964
3979
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3965
3980
|
]),
|
|
3966
3981
|
C(m, {
|
|
@@ -3970,7 +3985,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3970
3985
|
], 64);
|
|
3971
3986
|
};
|
|
3972
3987
|
}
|
|
3973
|
-
}),
|
|
3988
|
+
}), kt = /* @__PURE__ */ h({
|
|
3974
3989
|
__name: "ActionBarSeparator",
|
|
3975
3990
|
props: {
|
|
3976
3991
|
item: {}
|
|
@@ -3981,13 +3996,13 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3981
3996
|
class: a(["sv-action-bar-separator", n.value])
|
|
3982
3997
|
}, null, 2));
|
|
3983
3998
|
}
|
|
3984
|
-
}),
|
|
3999
|
+
}), ft = ["aria-label", "placeholder", "value"], wt = ["aria-label"], It = ["id"], St = /* @__PURE__ */ h({
|
|
3985
4000
|
__name: "List",
|
|
3986
4001
|
props: {
|
|
3987
4002
|
model: {}
|
|
3988
4003
|
},
|
|
3989
4004
|
setup(r) {
|
|
3990
|
-
const s = r, n =
|
|
4005
|
+
const s = r, n = $(null), e = (l) => {
|
|
3991
4006
|
const m = s.model;
|
|
3992
4007
|
m.filterString = l.target.value;
|
|
3993
4008
|
}, o = (l) => {
|
|
@@ -4025,7 +4040,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4025
4040
|
value: l.model.filterString,
|
|
4026
4041
|
onChange: e,
|
|
4027
4042
|
onKeyup: o
|
|
4028
|
-
}, null, 42,
|
|
4043
|
+
}, null, 42, ft),
|
|
4029
4044
|
l.model.showSearchClearButton && !!l.model.filterString ? (i(), u("button", {
|
|
4030
4045
|
key: 0,
|
|
4031
4046
|
onClick: m[0] || (m[0] = (q) => {
|
|
@@ -4045,9 +4060,9 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4045
4060
|
p("div", {
|
|
4046
4061
|
class: a(l.model.cssClasses.emptyText),
|
|
4047
4062
|
"aria-label": l.model.emptyMessage
|
|
4048
|
-
}, R(l.model.emptyMessage), 11,
|
|
4063
|
+
}, R(l.model.emptyMessage), 11, wt)
|
|
4049
4064
|
], 2), [
|
|
4050
|
-
[
|
|
4065
|
+
[E, l.model.isEmpty]
|
|
4051
4066
|
]),
|
|
4052
4067
|
l.model.renderElements ? P((i(), u("ul", {
|
|
4053
4068
|
key: 1,
|
|
@@ -4067,13 +4082,13 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4067
4082
|
model: l.model,
|
|
4068
4083
|
key: q.id
|
|
4069
4084
|
}, null, 8, ["item", "model"]))), 128))
|
|
4070
|
-
], 42,
|
|
4071
|
-
[
|
|
4085
|
+
], 42, It)), [
|
|
4086
|
+
[E, !l.model.isEmpty]
|
|
4072
4087
|
]) : d("", !0)
|
|
4073
4088
|
], 2);
|
|
4074
4089
|
};
|
|
4075
4090
|
}
|
|
4076
|
-
}),
|
|
4091
|
+
}), Rt = ["aria-selected", "id", "tabindex"], Tt = ["title"], $t = /* @__PURE__ */ h({
|
|
4077
4092
|
__name: "ListItem",
|
|
4078
4093
|
props: {
|
|
4079
4094
|
model: {},
|
|
@@ -4118,25 +4133,25 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4118
4133
|
key: 1,
|
|
4119
4134
|
locString: o.item.locTitle
|
|
4120
4135
|
}, null, 8, ["locString"])),
|
|
4121
|
-
o.item.component ? (i(), g(
|
|
4136
|
+
o.item.component ? (i(), g(T(o.item.component), {
|
|
4122
4137
|
key: 2,
|
|
4123
4138
|
item: o.item
|
|
4124
4139
|
}, null, 8, ["item"])) : d("", !0)
|
|
4125
|
-
], 14,
|
|
4126
|
-
], 42,
|
|
4127
|
-
[
|
|
4140
|
+
], 14, Tt)
|
|
4141
|
+
], 42, Rt)), [
|
|
4142
|
+
[E, o.model.isItemVisible(o.item)],
|
|
4128
4143
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4129
4144
|
]);
|
|
4130
4145
|
};
|
|
4131
4146
|
}
|
|
4132
|
-
}),
|
|
4147
|
+
}), _t = /* @__PURE__ */ h({
|
|
4133
4148
|
__name: "Popup",
|
|
4134
4149
|
props: {
|
|
4135
4150
|
getTarget: { type: Function },
|
|
4136
4151
|
model: {}
|
|
4137
4152
|
},
|
|
4138
4153
|
setup(r) {
|
|
4139
|
-
const s = r, n = U(), e =
|
|
4154
|
+
const s = r, n = U(), e = $(null);
|
|
4140
4155
|
return K(
|
|
4141
4156
|
() => s.model,
|
|
4142
4157
|
(o) => {
|
|
@@ -4161,13 +4176,13 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4161
4176
|
], 512);
|
|
4162
4177
|
};
|
|
4163
4178
|
}
|
|
4164
|
-
}),
|
|
4179
|
+
}), Dt = { class: "sv-popup__shadow" }, Bt = { class: "sv-popup__body-content" }, Lt = {
|
|
4165
4180
|
key: 0,
|
|
4166
4181
|
class: "sv-popup__body-header"
|
|
4167
|
-
},
|
|
4182
|
+
}, Nt = { class: "sv-popup__scrolling-content" }, Pt = { class: "sv-popup__content" }, At = {
|
|
4168
4183
|
key: 1,
|
|
4169
4184
|
class: "sv-popup__body-footer"
|
|
4170
|
-
},
|
|
4185
|
+
}, Mt = /* @__PURE__ */ h({
|
|
4171
4186
|
__name: "PopupContainer",
|
|
4172
4187
|
props: {
|
|
4173
4188
|
model: {}
|
|
@@ -4204,19 +4219,19 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4204
4219
|
}),
|
|
4205
4220
|
onClick: n
|
|
4206
4221
|
}, [
|
|
4207
|
-
p("div",
|
|
4208
|
-
e.model.showHeader ? (i(), g(
|
|
4222
|
+
p("div", Dt, [
|
|
4223
|
+
e.model.showHeader ? (i(), g(T(e.model.popupHeaderTemplate), {
|
|
4209
4224
|
key: 0,
|
|
4210
4225
|
model: e.model
|
|
4211
4226
|
}, null, 8, ["model"])) : d("", !0),
|
|
4212
|
-
p("div",
|
|
4213
|
-
e.model.title ? (i(), u("div",
|
|
4214
|
-
p("div",
|
|
4215
|
-
p("div",
|
|
4216
|
-
(i(), g(
|
|
4227
|
+
p("div", Bt, [
|
|
4228
|
+
e.model.title ? (i(), u("div", Lt, R(e.model.title), 1)) : d("", !0),
|
|
4229
|
+
p("div", Nt, [
|
|
4230
|
+
p("div", Pt, [
|
|
4231
|
+
(i(), g(T(e.model.contentComponentName), z(ne(e.model.contentComponentData)), null, 16))
|
|
4217
4232
|
])
|
|
4218
4233
|
]),
|
|
4219
|
-
e.model.showFooter ? (i(), u("div",
|
|
4234
|
+
e.model.showFooter ? (i(), u("div", At, [
|
|
4220
4235
|
C(t, {
|
|
4221
4236
|
model: e.model.footerToolbar
|
|
4222
4237
|
}, null, 8, ["model"])
|
|
@@ -4225,11 +4240,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4225
4240
|
])
|
|
4226
4241
|
], 4)
|
|
4227
4242
|
], 34)), [
|
|
4228
|
-
[
|
|
4243
|
+
[E, e.model.isVisible]
|
|
4229
4244
|
]);
|
|
4230
4245
|
};
|
|
4231
4246
|
}
|
|
4232
|
-
}),
|
|
4247
|
+
}), Et = /* @__PURE__ */ h({
|
|
4233
4248
|
__name: "PopupPointer",
|
|
4234
4249
|
props: {
|
|
4235
4250
|
model: {}
|
|
@@ -4246,7 +4261,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4246
4261
|
}), Ht = {
|
|
4247
4262
|
key: 0,
|
|
4248
4263
|
class: "sv-components-column"
|
|
4249
|
-
},
|
|
4264
|
+
}, Wt = /* @__PURE__ */ h({
|
|
4250
4265
|
__name: "Container",
|
|
4251
4266
|
props: {
|
|
4252
4267
|
survey: {},
|
|
@@ -4259,12 +4274,12 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4259
4274
|
);
|
|
4260
4275
|
return (e, o) => n.value.length > 0 ? (i(), u(_, { key: 0 }, [
|
|
4261
4276
|
e.needRenderWrapper ? (i(), u("div", Ht, [
|
|
4262
|
-
(i(!0), u(_, null, D(n.value, (t, l) => (i(), g(
|
|
4277
|
+
(i(!0), u(_, null, D(n.value, (t, l) => (i(), g(T(t.component), {
|
|
4263
4278
|
survey: e.survey,
|
|
4264
4279
|
container: e.container,
|
|
4265
4280
|
model: t.data
|
|
4266
4281
|
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4267
|
-
])) : (i(!0), u(_, { key: 1 }, D(n.value, (t, l) => (i(), g(
|
|
4282
|
+
])) : (i(!0), u(_, { key: 1 }, D(n.value, (t, l) => (i(), g(T(t.component), {
|
|
4268
4283
|
survey: e.survey,
|
|
4269
4284
|
container: e.container,
|
|
4270
4285
|
model: t.data
|
|
@@ -4300,7 +4315,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4300
4315
|
}, R(t.survey.progressText), 3)
|
|
4301
4316
|
], 2));
|
|
4302
4317
|
}
|
|
4303
|
-
}),
|
|
4318
|
+
}), Vt = ["title"], Ft = ["onClick", "data-page-number"], Ot = ["title"], zt = ["title"], Ut = ["title"], Kt = /* @__PURE__ */ h({
|
|
4304
4319
|
__name: "ProgressButtons",
|
|
4305
4320
|
props: {
|
|
4306
4321
|
survey: {},
|
|
@@ -4308,7 +4323,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4308
4323
|
container: {}
|
|
4309
4324
|
},
|
|
4310
4325
|
setup(r) {
|
|
4311
|
-
const s = r, n =
|
|
4326
|
+
const s = r, n = $(!1), e = $(!1), o = $(!1), t = $(!0), l = $(), m = I(() => s.survey.css);
|
|
4312
4327
|
let v = null;
|
|
4313
4328
|
const c = (q) => {
|
|
4314
4329
|
let f = l.value;
|
|
@@ -4316,7 +4331,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4316
4331
|
};
|
|
4317
4332
|
return M(() => {
|
|
4318
4333
|
const q = l.value;
|
|
4319
|
-
v = new
|
|
4334
|
+
v = new Ee(s.model, q, {
|
|
4320
4335
|
onResize: (f) => {
|
|
4321
4336
|
t.value = f, e.value = !f;
|
|
4322
4337
|
},
|
|
@@ -4330,90 +4345,97 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4330
4345
|
});
|
|
4331
4346
|
}), G(() => {
|
|
4332
4347
|
v.dispose();
|
|
4333
|
-
}), (q, f) =>
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
key: 0,
|
|
4343
|
-
class: a(q.survey.css.progressButtonsHeader)
|
|
4344
|
-
}, [
|
|
4345
|
-
p("div", {
|
|
4346
|
-
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4347
|
-
title: q.model.headerText
|
|
4348
|
-
}, R(q.model.headerText), 11, Wt)
|
|
4349
|
-
], 2)) : d("", !0),
|
|
4350
|
-
p("div", {
|
|
4351
|
-
class: a(m.value.progressButtonsContainer)
|
|
4348
|
+
}), (q, f) => {
|
|
4349
|
+
const k = y("survey-string");
|
|
4350
|
+
return i(), u("div", {
|
|
4351
|
+
class: a(q.model.getRootCss(q.container)),
|
|
4352
|
+
style: S({ maxWidth: q.model.progressWidth }),
|
|
4353
|
+
role: "progressbar",
|
|
4354
|
+
"aria-valuemin": "0",
|
|
4355
|
+
"aria-valuemax": "100",
|
|
4356
|
+
"aria-label": "progress"
|
|
4352
4357
|
}, [
|
|
4358
|
+
e.value ? (i(), u("div", {
|
|
4359
|
+
key: 0,
|
|
4360
|
+
class: a(q.survey.css.progressButtonsHeader)
|
|
4361
|
+
}, [
|
|
4362
|
+
p("div", {
|
|
4363
|
+
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4364
|
+
title: q.model.headerText
|
|
4365
|
+
}, R(q.model.headerText), 11, Vt)
|
|
4366
|
+
], 2)) : d("", !0),
|
|
4353
4367
|
p("div", {
|
|
4354
|
-
class: a(
|
|
4355
|
-
onClick: f[0] || (f[0] = (k) => c(!0)),
|
|
4356
|
-
role: "button"
|
|
4357
|
-
}, null, 2),
|
|
4358
|
-
p("div", {
|
|
4359
|
-
class: a(m.value.progressButtonsListContainer),
|
|
4360
|
-
ref_key: "progressButtonsListContainer",
|
|
4361
|
-
ref: l
|
|
4368
|
+
class: a(m.value.progressButtonsContainer)
|
|
4362
4369
|
}, [
|
|
4363
|
-
p("
|
|
4364
|
-
class: a(
|
|
4370
|
+
p("div", {
|
|
4371
|
+
class: a(q.model.getScrollButtonCss(n.value, !0)),
|
|
4372
|
+
onClick: f[0] || (f[0] = (L) => c(!0)),
|
|
4373
|
+
role: "button"
|
|
4374
|
+
}, null, 2),
|
|
4375
|
+
p("div", {
|
|
4376
|
+
class: a(m.value.progressButtonsListContainer),
|
|
4377
|
+
ref_key: "progressButtonsListContainer",
|
|
4378
|
+
ref: l
|
|
4365
4379
|
}, [
|
|
4366
|
-
(
|
|
4367
|
-
|
|
4368
|
-
class: a(q.model.getListElementCss(L)),
|
|
4369
|
-
onClick: (b) => q.model.isListElementClickable(L) ? q.model.clickListElement(k) : null,
|
|
4370
|
-
"data-page-number": q.model.getItemNumber(k)
|
|
4380
|
+
p("ul", {
|
|
4381
|
+
class: a(m.value.progressButtonsList)
|
|
4371
4382
|
}, [
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
class: a(m.value.progressButtonsPageTitle),
|
|
4378
|
-
title: k.renderedNavigationTitle
|
|
4379
|
-
}, R(k.renderedNavigationTitle), 11, Ft)) : d("", !0),
|
|
4380
|
-
t.value ? (i(), u("div", {
|
|
4381
|
-
key: 1,
|
|
4382
|
-
class: a(m.value.progressButtonsPageDescription),
|
|
4383
|
-
title: k.locNavigationDescription.renderedHtml
|
|
4384
|
-
}, R(k.locNavigationDescription.renderedHtml), 11, Ot)) : d("", !0),
|
|
4385
|
-
p("div", {
|
|
4386
|
-
class: a(m.value.progressButtonsButton)
|
|
4383
|
+
(i(!0), u(_, null, D(q.survey.visiblePages, (L, b) => (i(), u("li", {
|
|
4384
|
+
key: "listelement" + b,
|
|
4385
|
+
class: a(q.model.getListElementCss(b)),
|
|
4386
|
+
onClick: (N) => q.model.isListElementClickable(b) ? q.model.clickListElement(L) : null,
|
|
4387
|
+
"data-page-number": q.model.getItemNumber(L)
|
|
4387
4388
|
}, [
|
|
4388
4389
|
p("div", {
|
|
4389
|
-
class: a(m.value.
|
|
4390
|
+
class: a(m.value.progressButtonsConnector)
|
|
4390
4391
|
}, null, 2),
|
|
4392
|
+
t.value ? (i(), u("div", {
|
|
4393
|
+
key: 0,
|
|
4394
|
+
class: a(m.value.progressButtonsPageTitle),
|
|
4395
|
+
title: L.renderedNavigationTitle
|
|
4396
|
+
}, [
|
|
4397
|
+
C(k, {
|
|
4398
|
+
locString: L.locNavigationTitle
|
|
4399
|
+
}, null, 8, ["locString"])
|
|
4400
|
+
], 10, Ot)) : d("", !0),
|
|
4401
|
+
t.value ? (i(), u("div", {
|
|
4402
|
+
key: 1,
|
|
4403
|
+
class: a(m.value.progressButtonsPageDescription),
|
|
4404
|
+
title: L.locNavigationDescription.renderedHtml
|
|
4405
|
+
}, R(L.locNavigationDescription.renderedHtml), 11, zt)) : d("", !0),
|
|
4391
4406
|
p("div", {
|
|
4392
|
-
class: a(m.value.
|
|
4393
|
-
},
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4407
|
+
class: a(m.value.progressButtonsButton)
|
|
4408
|
+
}, [
|
|
4409
|
+
p("div", {
|
|
4410
|
+
class: a(m.value.progressButtonsButtonBackground)
|
|
4411
|
+
}, null, 2),
|
|
4412
|
+
p("div", {
|
|
4413
|
+
class: a(m.value.progressButtonsButtonContent)
|
|
4414
|
+
}, null, 2),
|
|
4415
|
+
p("span", null, R(q.model.getItemNumber(L)), 1)
|
|
4416
|
+
], 2)
|
|
4417
|
+
], 10, Ft))), 128))
|
|
4418
|
+
], 2)
|
|
4419
|
+
], 2),
|
|
4420
|
+
p("div", {
|
|
4421
|
+
class: a(q.model.getScrollButtonCss(n.value, !1)),
|
|
4422
|
+
onClick: f[1] || (f[1] = (L) => c(!1)),
|
|
4423
|
+
role: "button"
|
|
4424
|
+
}, null, 2)
|
|
4398
4425
|
], 2),
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4411
|
-
title: q.model.footerText
|
|
4412
|
-
}, R(q.model.footerText), 11, zt)
|
|
4413
|
-
], 2)) : d("", !0)
|
|
4414
|
-
], 6));
|
|
4426
|
+
o.value ? (i(), u("div", {
|
|
4427
|
+
key: 1,
|
|
4428
|
+
class: a(q.survey.css.progressButtonsFooter)
|
|
4429
|
+
}, [
|
|
4430
|
+
p("div", {
|
|
4431
|
+
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4432
|
+
title: q.model.footerText
|
|
4433
|
+
}, R(q.model.footerText), 11, Ut)
|
|
4434
|
+
], 2)) : d("", !0)
|
|
4435
|
+
], 6);
|
|
4436
|
+
};
|
|
4415
4437
|
}
|
|
4416
|
-
}),
|
|
4438
|
+
}), Qt = /* @__PURE__ */ h({
|
|
4417
4439
|
__name: "ProgressToc",
|
|
4418
4440
|
props: {
|
|
4419
4441
|
survey: {},
|
|
@@ -4445,17 +4467,17 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4445
4467
|
], 2);
|
|
4446
4468
|
};
|
|
4447
4469
|
}
|
|
4448
|
-
}), jt = { onsubmit: "return false;" },
|
|
4470
|
+
}), jt = { onsubmit: "return false;" }, Gt = {
|
|
4449
4471
|
key: 0,
|
|
4450
4472
|
class: "sv_custom_header"
|
|
4451
|
-
},
|
|
4473
|
+
}, Jt = { class: "sv-components-column sv-components-column--expandable" }, Xt = ["id"], Yt = { key: 2 }, Zt = ["innerHTML"], xt = ["innerHTML"], ei = ["innerHTML"], pe = /* @__PURE__ */ h({
|
|
4452
4474
|
__name: "Survey",
|
|
4453
4475
|
props: {
|
|
4454
4476
|
model: {},
|
|
4455
4477
|
survey: {}
|
|
4456
4478
|
},
|
|
4457
4479
|
setup(r) {
|
|
4458
|
-
const s = r, n =
|
|
4480
|
+
const s = r, n = $(), e = $(""), o = $(1), t = I(() => {
|
|
4459
4481
|
const k = s.survey ? s.survey : s.model;
|
|
4460
4482
|
return Se(k);
|
|
4461
4483
|
}), l = I(() => t.value.activePage ? t.value.activePage.id : ""), m = () => {
|
|
@@ -4475,7 +4497,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4475
4497
|
}), O(() => {
|
|
4476
4498
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4477
4499
|
}), (k, L) => {
|
|
4478
|
-
const b = y("sv-svg-bundle"), N = y("survey-popup-modal"), W = y("survey-header"), V = y("survey-page"),
|
|
4500
|
+
const b = y("sv-svg-bundle"), N = y("survey-popup-modal"), W = y("survey-header"), V = y("survey-page"), Q = y("sv-brand-info"), ue = y("sv-notifier");
|
|
4479
4501
|
return i(), u("div", {
|
|
4480
4502
|
class: a(t.value.getRootCss()),
|
|
4481
4503
|
style: S(t.value.themeVariables),
|
|
@@ -4493,7 +4515,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4493
4515
|
style: S(t.value.backgroundImageStyle)
|
|
4494
4516
|
}, null, 6)) : d("", !0),
|
|
4495
4517
|
p("form", jt, [
|
|
4496
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4518
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Gt)),
|
|
4497
4519
|
p("div", {
|
|
4498
4520
|
class: a(c.value.container)
|
|
4499
4521
|
}, [
|
|
@@ -4501,7 +4523,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4501
4523
|
key: 0,
|
|
4502
4524
|
survey: t.value
|
|
4503
4525
|
}, null, 8, ["survey"])) : d("", !0),
|
|
4504
|
-
(i(), g(
|
|
4526
|
+
(i(), g(T("sv-components-container"), {
|
|
4505
4527
|
survey: t.value,
|
|
4506
4528
|
container: "header",
|
|
4507
4529
|
needRenderWrapper: !1
|
|
@@ -4510,13 +4532,13 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4510
4532
|
key: 1,
|
|
4511
4533
|
class: a(t.value.bodyContainerCss)
|
|
4512
4534
|
}, [
|
|
4513
|
-
(i(), g(
|
|
4535
|
+
(i(), g(T("sv-components-container"), {
|
|
4514
4536
|
survey: t.value,
|
|
4515
4537
|
container: "left",
|
|
4516
4538
|
needRenderWrapper: !0
|
|
4517
4539
|
}, null, 8, ["survey"])),
|
|
4518
|
-
p("div",
|
|
4519
|
-
(i(), g(
|
|
4540
|
+
p("div", Jt, [
|
|
4541
|
+
(i(), g(T("sv-components-container"), {
|
|
4520
4542
|
survey: t.value,
|
|
4521
4543
|
container: "center",
|
|
4522
4544
|
needRenderWrapper: !0
|
|
@@ -4526,7 +4548,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4526
4548
|
style: S({ maxWidth: t.value.renderedWidth }),
|
|
4527
4549
|
id: l.value
|
|
4528
4550
|
}, [
|
|
4529
|
-
(i(), g(
|
|
4551
|
+
(i(), g(T("sv-components-container"), {
|
|
4530
4552
|
survey: t.value,
|
|
4531
4553
|
container: "contentTop",
|
|
4532
4554
|
needRenderWrapper: !0
|
|
@@ -4537,30 +4559,30 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4537
4559
|
page: t.value.activePage,
|
|
4538
4560
|
css: c.value
|
|
4539
4561
|
}, null, 8, ["survey", "page", "css"])),
|
|
4540
|
-
(i(), g(
|
|
4562
|
+
(i(), g(T("sv-components-container"), {
|
|
4541
4563
|
survey: t.value,
|
|
4542
4564
|
container: "contentBottom",
|
|
4543
4565
|
needRenderWrapper: !0
|
|
4544
4566
|
}, null, 8, ["survey"]))
|
|
4545
|
-
], 14,
|
|
4567
|
+
], 14, Xt)
|
|
4546
4568
|
]),
|
|
4547
|
-
(i(), g(
|
|
4569
|
+
(i(), g(T("sv-components-container"), {
|
|
4548
4570
|
survey: t.value,
|
|
4549
4571
|
container: "right",
|
|
4550
4572
|
needRenderWrapper: !0
|
|
4551
4573
|
}, null, 8, ["survey"]))
|
|
4552
4574
|
], 2)) : d("", !0),
|
|
4553
|
-
(i(), g(
|
|
4575
|
+
(i(), g(T("sv-components-container"), {
|
|
4554
4576
|
survey: t.value,
|
|
4555
4577
|
container: "footer",
|
|
4556
4578
|
needRenderWrapper: !1
|
|
4557
4579
|
}, null, 8, ["survey"])),
|
|
4558
|
-
v.value ? (i(), u("div",
|
|
4580
|
+
v.value ? (i(), u("div", Yt, [
|
|
4559
4581
|
p("div", {
|
|
4560
4582
|
innerHTML: f(),
|
|
4561
4583
|
class: a(t.value.completedCss)
|
|
4562
|
-
}, null, 10,
|
|
4563
|
-
(i(), g(
|
|
4584
|
+
}, null, 10, Zt),
|
|
4585
|
+
(i(), g(T("sv-components-container"), {
|
|
4564
4586
|
survey: t.value,
|
|
4565
4587
|
container: "completePage",
|
|
4566
4588
|
needRenderWrapper: !0
|
|
@@ -4570,19 +4592,19 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4570
4592
|
key: 3,
|
|
4571
4593
|
class: a(t.value.completedBeforeCss),
|
|
4572
4594
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4573
|
-
}, null, 10,
|
|
4595
|
+
}, null, 10, xt)) : d("", !0),
|
|
4574
4596
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4575
4597
|
key: 4,
|
|
4576
4598
|
class: a(t.value.loadingBodyCss),
|
|
4577
4599
|
innerHTML: t.value.processedLoadingHtml
|
|
4578
|
-
}, null, 10,
|
|
4600
|
+
}, null, 10, ei)) : d("", !0),
|
|
4579
4601
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4580
4602
|
key: 5,
|
|
4581
4603
|
class: a(c.value.bodyEmpty)
|
|
4582
4604
|
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4583
4605
|
], 2)
|
|
4584
4606
|
]),
|
|
4585
|
-
t.value.showBrandInfo ? (i(), g(
|
|
4607
|
+
t.value.showBrandInfo ? (i(), g(Q, { key: 1 })) : d("", !0),
|
|
4586
4608
|
C(ue, {
|
|
4587
4609
|
model: t.value.notifier
|
|
4588
4610
|
}, null, 8, ["model"])
|
|
@@ -4590,7 +4612,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4590
4612
|
], 6);
|
|
4591
4613
|
};
|
|
4592
4614
|
}
|
|
4593
|
-
}),
|
|
4615
|
+
}), si = /* @__PURE__ */ h({
|
|
4594
4616
|
__name: "Notifier",
|
|
4595
4617
|
props: {
|
|
4596
4618
|
model: {}
|
|
@@ -4613,7 +4635,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4613
4635
|
], 6)) : d("", !0);
|
|
4614
4636
|
};
|
|
4615
4637
|
}
|
|
4616
|
-
}),
|
|
4638
|
+
}), ni = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], oi = { key: 1 }, ti = /* @__PURE__ */ h({
|
|
4617
4639
|
__name: "QuestionOther",
|
|
4618
4640
|
props: {
|
|
4619
4641
|
question: {},
|
|
@@ -4641,11 +4663,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4641
4663
|
onInput: n[1] || (n[1] = (e) => {
|
|
4642
4664
|
s.question.onOtherValueInput(e);
|
|
4643
4665
|
})
|
|
4644
|
-
}, null, 46,
|
|
4645
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4666
|
+
}, null, 46, ni)),
|
|
4667
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", oi, R(s.question.otherValue), 1)) : d("", !0)
|
|
4646
4668
|
], 2));
|
|
4647
4669
|
}
|
|
4648
|
-
}),
|
|
4670
|
+
}), ii = ["disabled", "value", "title"], ri = /* @__PURE__ */ h({
|
|
4649
4671
|
__name: "SurveyNavigationButton",
|
|
4650
4672
|
props: {
|
|
4651
4673
|
item: {}
|
|
@@ -4661,7 +4683,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4661
4683
|
title: e.item.getTooltip(),
|
|
4662
4684
|
onMousedown: n,
|
|
4663
4685
|
onClick: o[0] || (o[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4664
|
-
}, null, 42,
|
|
4686
|
+
}, null, 42, ii)) : d("", !0);
|
|
4665
4687
|
}
|
|
4666
4688
|
}), ve = /* @__PURE__ */ h({
|
|
4667
4689
|
__name: "PopupSurvey",
|
|
@@ -4697,7 +4719,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4697
4719
|
const q = K(
|
|
4698
4720
|
() => s.survey,
|
|
4699
4721
|
(f) => {
|
|
4700
|
-
const k = new
|
|
4722
|
+
const k = new He(null, f);
|
|
4701
4723
|
s.isExpanded !== void 0 && (k.isExpanded = s.isExpanded), s.closeOnCompleteTimeout !== void 0 && (k.closeOnCompleteTimeout = s.closeOnCompleteTimeout), s.allowClose !== void 0 && (k.allowClose = s.allowClose), s.allowFullScreen !== void 0 && (k.allowFullScreen = s.allowFullScreen), k.isShowing = !0, n.value = k;
|
|
4702
4724
|
},
|
|
4703
4725
|
{
|
|
@@ -4773,20 +4795,20 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4773
4795
|
p("div", {
|
|
4774
4796
|
class: a(n.value.cssBody)
|
|
4775
4797
|
}, [
|
|
4776
|
-
(i(), g(
|
|
4798
|
+
(i(), g(T(m()), { survey: f.survey }, null, 8, ["survey"]))
|
|
4777
4799
|
], 2)
|
|
4778
4800
|
], 2)
|
|
4779
4801
|
], 38)) : d("", !0);
|
|
4780
4802
|
};
|
|
4781
4803
|
}
|
|
4782
|
-
}),
|
|
4804
|
+
}), li = ["innerHTML"], ai = /* @__PURE__ */ h({
|
|
4783
4805
|
__name: "CustomWidget",
|
|
4784
4806
|
props: {
|
|
4785
4807
|
question: {},
|
|
4786
4808
|
css: {}
|
|
4787
4809
|
},
|
|
4788
4810
|
setup(r) {
|
|
4789
|
-
const s = r, n =
|
|
4811
|
+
const s = r, n = $(), e = I(
|
|
4790
4812
|
() => s.question.customWidget.isDefaultRender
|
|
4791
4813
|
), o = I(
|
|
4792
4814
|
() => !!s.question.customWidget.htmlTemplate
|
|
@@ -4802,15 +4824,15 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4802
4824
|
o.value ? (i(), u("div", {
|
|
4803
4825
|
key: 0,
|
|
4804
4826
|
innerHTML: t.value
|
|
4805
|
-
}, null, 8,
|
|
4806
|
-
e.value ? (i(), g(
|
|
4827
|
+
}, null, 8, li)) : d("", !0),
|
|
4828
|
+
e.value ? (i(), g(T(l.value), {
|
|
4807
4829
|
key: 1,
|
|
4808
4830
|
question: m.question,
|
|
4809
4831
|
css: m.css
|
|
4810
4832
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4811
4833
|
], 512));
|
|
4812
4834
|
}
|
|
4813
|
-
}),
|
|
4835
|
+
}), ui = /* @__PURE__ */ h({
|
|
4814
4836
|
__name: "PopupModal",
|
|
4815
4837
|
setup(r) {
|
|
4816
4838
|
const s = U();
|
|
@@ -4837,10 +4859,10 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4837
4859
|
};
|
|
4838
4860
|
return l.onVisibilityChanged.add(m), l.model.isVisible = !0, s.value = l, l;
|
|
4839
4861
|
}
|
|
4840
|
-
return
|
|
4841
|
-
|
|
4842
|
-
})),
|
|
4843
|
-
|
|
4862
|
+
return j.showModal || (j.showModal = n, O(() => {
|
|
4863
|
+
j.showModal = void 0;
|
|
4864
|
+
})), j.showDialog || (j.showDialog = e, O(() => {
|
|
4865
|
+
j.showDialog = void 0;
|
|
4844
4866
|
})), (o, t) => {
|
|
4845
4867
|
const l = y("sv-popup-container");
|
|
4846
4868
|
return s.value ? (i(), g(Re, {
|
|
@@ -4851,7 +4873,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4851
4873
|
], 8, ["to"])) : d("", !0);
|
|
4852
4874
|
};
|
|
4853
4875
|
}
|
|
4854
|
-
}),
|
|
4876
|
+
}), di = /* @__PURE__ */ h({
|
|
4855
4877
|
__name: "CharacterCounter",
|
|
4856
4878
|
props: {
|
|
4857
4879
|
counter: {},
|
|
@@ -4863,7 +4885,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4863
4885
|
class: a(n.remainingCharacterCounter)
|
|
4864
4886
|
}, R(n.counter.remainingCharacterCounter), 3));
|
|
4865
4887
|
}
|
|
4866
|
-
}),
|
|
4888
|
+
}), mi = /* @__PURE__ */ h({
|
|
4867
4889
|
inheritAttrs: !1,
|
|
4868
4890
|
__name: "Composite",
|
|
4869
4891
|
props: {
|
|
@@ -4871,7 +4893,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4871
4893
|
css: {}
|
|
4872
4894
|
},
|
|
4873
4895
|
setup(r) {
|
|
4874
|
-
const s = r, n =
|
|
4896
|
+
const s = r, n = $(null);
|
|
4875
4897
|
A(s, n);
|
|
4876
4898
|
const e = I(() => s.question.contentPanel);
|
|
4877
4899
|
return (o, t) => {
|
|
@@ -4884,7 +4906,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4884
4906
|
}, null, 8, ["element", "css"]);
|
|
4885
4907
|
};
|
|
4886
4908
|
}
|
|
4887
|
-
}),
|
|
4909
|
+
}), ci = /* @__PURE__ */ h({
|
|
4888
4910
|
inheritAttrs: !1,
|
|
4889
4911
|
__name: "Custom",
|
|
4890
4912
|
props: {
|
|
@@ -4892,18 +4914,18 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4892
4914
|
css: {}
|
|
4893
4915
|
},
|
|
4894
4916
|
setup(r) {
|
|
4895
|
-
const s = r, n =
|
|
4917
|
+
const s = r, n = $(null);
|
|
4896
4918
|
A(s, n);
|
|
4897
4919
|
const e = I(() => s.question.contentQuestion), o = (t) => re(t);
|
|
4898
|
-
return (t, l) => (i(), g(
|
|
4920
|
+
return (t, l) => (i(), g(T(o(e.value)), {
|
|
4899
4921
|
ref: n.value,
|
|
4900
4922
|
question: e.value,
|
|
4901
4923
|
css: t.css
|
|
4902
4924
|
}, null, 8, ["question", "css"]));
|
|
4903
4925
|
}
|
|
4904
|
-
}),
|
|
4905
|
-
|
|
4906
|
-
], qe = 440,
|
|
4926
|
+
}), pi = /* @__PURE__ */ p("use", { "xlink:href": "#icon-timercircle" }, null, -1), vi = [
|
|
4927
|
+
pi
|
|
4928
|
+
], qe = 440, qi = /* @__PURE__ */ h({
|
|
4907
4929
|
__name: "TimerPanel",
|
|
4908
4930
|
props: {
|
|
4909
4931
|
model: {},
|
|
@@ -4919,7 +4941,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4919
4941
|
key: 0,
|
|
4920
4942
|
class: a(o.model.getProgressCss()),
|
|
4921
4943
|
style: S({ strokeDasharray: qe, strokeDashoffset: n.value })
|
|
4922
|
-
},
|
|
4944
|
+
}, vi, 6)) : d("", !0),
|
|
4923
4945
|
p("div", {
|
|
4924
4946
|
class: a(o.model.textContainerCss)
|
|
4925
4947
|
}, [
|
|
@@ -4935,20 +4957,20 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4935
4957
|
key: 1,
|
|
4936
4958
|
class: a(o.model.survey.getCss().timerRoot)
|
|
4937
4959
|
}, R(e.value), 3)), [
|
|
4938
|
-
[
|
|
4960
|
+
[E, o.model.isRunning && !o.model.showTimerAsClock]
|
|
4939
4961
|
]);
|
|
4940
4962
|
}
|
|
4941
|
-
}),
|
|
4942
|
-
function
|
|
4963
|
+
}), yi = {}, gi = { class: "sd-loading-indicator" };
|
|
4964
|
+
function hi(r, s) {
|
|
4943
4965
|
const n = y("sv-svg-icon");
|
|
4944
|
-
return i(), u("div",
|
|
4966
|
+
return i(), u("div", gi, [
|
|
4945
4967
|
C(n, {
|
|
4946
4968
|
iconName: "icon-loading",
|
|
4947
4969
|
size: "'auto'"
|
|
4948
4970
|
})
|
|
4949
4971
|
]);
|
|
4950
4972
|
}
|
|
4951
|
-
const
|
|
4973
|
+
const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @__PURE__ */ h({
|
|
4952
4974
|
__name: "Header",
|
|
4953
4975
|
props: {
|
|
4954
4976
|
model: {},
|
|
@@ -4980,16 +5002,16 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
4980
5002
|
key: m
|
|
4981
5003
|
}, null, 8, ["model"]))), 128))
|
|
4982
5004
|
], 6)),
|
|
4983
|
-
n.survey.isMobile ? (i(), u("div",
|
|
5005
|
+
n.survey.isMobile ? (i(), u("div", bi, [
|
|
4984
5006
|
C(t, { model: n.model }, null, 8, ["model"])
|
|
4985
5007
|
])) : d("", !0)
|
|
4986
5008
|
], 6);
|
|
4987
5009
|
};
|
|
4988
5010
|
}
|
|
4989
|
-
}),
|
|
5011
|
+
}), fi = {
|
|
4990
5012
|
key: 0,
|
|
4991
5013
|
class: "sv-header__logo"
|
|
4992
|
-
},
|
|
5014
|
+
}, wi = ["src", "width", "height", "alt"], Ii = /* @__PURE__ */ h({
|
|
4993
5015
|
__name: "HeaderCell",
|
|
4994
5016
|
props: {
|
|
4995
5017
|
model: {}
|
|
@@ -5005,7 +5027,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5005
5027
|
class: "sv-header__cell-content",
|
|
5006
5028
|
style: S(s.model.contentStyle)
|
|
5007
5029
|
}, [
|
|
5008
|
-
s.model.showLogo ? (i(), u("div",
|
|
5030
|
+
s.model.showLogo ? (i(), u("div", fi, [
|
|
5009
5031
|
p("div", {
|
|
5010
5032
|
class: a(s.model.survey.logoClassNames)
|
|
5011
5033
|
}, [
|
|
@@ -5016,7 +5038,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5016
5038
|
height: s.model.survey.renderedLogoHeight,
|
|
5017
5039
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5018
5040
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5019
|
-
}, null, 14,
|
|
5041
|
+
}, null, 14, wi)
|
|
5020
5042
|
], 2)
|
|
5021
5043
|
])) : d("", !0),
|
|
5022
5044
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -5047,10 +5069,10 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5047
5069
|
], 6);
|
|
5048
5070
|
};
|
|
5049
5071
|
}
|
|
5050
|
-
}),
|
|
5072
|
+
}), Si = { class: "sv-header--mobile" }, Ri = {
|
|
5051
5073
|
key: 0,
|
|
5052
5074
|
class: "sv-header__logo"
|
|
5053
|
-
},
|
|
5075
|
+
}, Ti = ["src", "width", "height", "alt"], $i = /* @__PURE__ */ h({
|
|
5054
5076
|
__name: "HeaderMobile",
|
|
5055
5077
|
props: {
|
|
5056
5078
|
model: {}
|
|
@@ -5058,8 +5080,8 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5058
5080
|
setup(r) {
|
|
5059
5081
|
return (s, n) => {
|
|
5060
5082
|
const e = y("survey-element-title"), o = y("survey-string");
|
|
5061
|
-
return i(), u("div",
|
|
5062
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
5083
|
+
return i(), u("div", Si, [
|
|
5084
|
+
s.model.survey.hasLogo ? (i(), u("div", Ri, [
|
|
5063
5085
|
p("div", {
|
|
5064
5086
|
class: a(s.model.survey.logoClassNames)
|
|
5065
5087
|
}, [
|
|
@@ -5070,7 +5092,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5070
5092
|
height: s.model.survey.renderedLogoHeight,
|
|
5071
5093
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5072
5094
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5073
|
-
}, null, 14,
|
|
5095
|
+
}, null, 14, Ti)
|
|
5074
5096
|
], 2)
|
|
5075
5097
|
])) : d("", !0),
|
|
5076
5098
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -5100,7 +5122,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5100
5122
|
]);
|
|
5101
5123
|
};
|
|
5102
5124
|
}
|
|
5103
|
-
}),
|
|
5125
|
+
}), _i = /* @__PURE__ */ h({
|
|
5104
5126
|
__name: "Element",
|
|
5105
5127
|
props: {
|
|
5106
5128
|
element: {},
|
|
@@ -5108,7 +5130,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5108
5130
|
css: {}
|
|
5109
5131
|
},
|
|
5110
5132
|
setup(r) {
|
|
5111
|
-
const s = r, n =
|
|
5133
|
+
const s = r, n = $(), e = (v) => v.isPanel ? "survey-panel" : "survey-question", o = I(() => {
|
|
5112
5134
|
const v = s.element.survey;
|
|
5113
5135
|
if (v) {
|
|
5114
5136
|
const c = v.getElementWrapperComponentName(s.element);
|
|
@@ -5145,14 +5167,14 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5145
5167
|
style: S(t(v.element)),
|
|
5146
5168
|
class: a(v.element.cssClasses.questionWrapper)
|
|
5147
5169
|
}, [
|
|
5148
|
-
v.row.isNeedRender ? (i(), g(
|
|
5170
|
+
v.row.isNeedRender ? (i(), g(T(o.value), z(H({ key: 0 }, l.value)), null, 16)) : v.element.skeletonComponentName ? (i(), g(T(v.element.skeletonComponentName), {
|
|
5149
5171
|
key: 1,
|
|
5150
5172
|
element: v.element,
|
|
5151
5173
|
css: v.css
|
|
5152
5174
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
5153
5175
|
], 6));
|
|
5154
5176
|
}
|
|
5155
|
-
}),
|
|
5177
|
+
}), Di = /* @__PURE__ */ h({
|
|
5156
5178
|
__name: "TemplateRenderer",
|
|
5157
5179
|
props: {
|
|
5158
5180
|
componentName: {},
|
|
@@ -5160,9 +5182,9 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5160
5182
|
},
|
|
5161
5183
|
setup(r) {
|
|
5162
5184
|
const s = Te(), n = I(() => !!s.default);
|
|
5163
|
-
return (e, o) => n.value && !e.componentName ? $e(e.$slots, "default", { key: 0 }) : (i(), g(
|
|
5185
|
+
return (e, o) => n.value && !e.componentName ? $e(e.$slots, "default", { key: 0 }) : (i(), g(T(e.componentName), z(H({ key: 1 }, e.componentData)), null, 16));
|
|
5164
5186
|
}
|
|
5165
|
-
}),
|
|
5187
|
+
}), Bi = /* @__PURE__ */ h({
|
|
5166
5188
|
__name: "FileCleanButton",
|
|
5167
5189
|
props: {
|
|
5168
5190
|
question: {},
|
|
@@ -5186,7 +5208,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5186
5208
|
], 2);
|
|
5187
5209
|
};
|
|
5188
5210
|
}
|
|
5189
|
-
}),
|
|
5211
|
+
}), Li = ["id"], Ni = /* @__PURE__ */ h({
|
|
5190
5212
|
__name: "FileVideo",
|
|
5191
5213
|
props: {
|
|
5192
5214
|
question: {}
|
|
@@ -5208,14 +5230,14 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5208
5230
|
playsinline: "",
|
|
5209
5231
|
id: s.question.videoId,
|
|
5210
5232
|
class: a(s.question.cssClasses.video)
|
|
5211
|
-
}, null, 10,
|
|
5233
|
+
}, null, 10, Li),
|
|
5212
5234
|
C(e, {
|
|
5213
5235
|
item: s.question.takePictureAction
|
|
5214
5236
|
}, null, 8, ["item"])
|
|
5215
5237
|
], 2);
|
|
5216
5238
|
};
|
|
5217
5239
|
}
|
|
5218
|
-
}),
|
|
5240
|
+
}), Pi = ["for", "aria-label"], Ai = /* @__PURE__ */ h({
|
|
5219
5241
|
__name: "FileChooseButton",
|
|
5220
5242
|
props: {
|
|
5221
5243
|
data: {},
|
|
@@ -5244,12 +5266,12 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5244
5266
|
size: "auto"
|
|
5245
5267
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5246
5268
|
p("span", null, R(n.value.chooseButtonText), 1)
|
|
5247
|
-
], 10,
|
|
5269
|
+
], 10, Pi)), [
|
|
5248
5270
|
[l]
|
|
5249
5271
|
]);
|
|
5250
5272
|
};
|
|
5251
5273
|
}
|
|
5252
|
-
}),
|
|
5274
|
+
}), Mi = ["onClick", "href", "title", "download"], Ei = ["src"], Hi = ["onClick"], Wi = ["onClick", "href", "title", "download"], Vi = /* @__PURE__ */ h({
|
|
5253
5275
|
__name: "FilePreview",
|
|
5254
5276
|
props: {
|
|
5255
5277
|
question: {}
|
|
@@ -5275,7 +5297,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5275
5297
|
title: o.name,
|
|
5276
5298
|
download: o.name,
|
|
5277
5299
|
style: S({ width: s.question.imageWidth })
|
|
5278
|
-
}, R(o.name), 13,
|
|
5300
|
+
}, R(o.name), 13, Mi)
|
|
5279
5301
|
], 2)) : d("", !0),
|
|
5280
5302
|
p("div", {
|
|
5281
5303
|
class: a(s.question.getImageWrapperCss(o))
|
|
@@ -5288,7 +5310,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5288
5310
|
width: s.question.imageWidth
|
|
5289
5311
|
}),
|
|
5290
5312
|
alt: "File preview"
|
|
5291
|
-
}, null, 12,
|
|
5313
|
+
}, null, 12, Ei)) : d("", !0),
|
|
5292
5314
|
s.question.defaultImage(o) ? (i(), g(e, {
|
|
5293
5315
|
key: 1,
|
|
5294
5316
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5322,21 +5344,21 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5322
5344
|
title: o.name,
|
|
5323
5345
|
download: o.name,
|
|
5324
5346
|
style: S({ width: s.question.imageWidth })
|
|
5325
|
-
}, R(o.name), 13,
|
|
5347
|
+
}, R(o.name), 13, Wi)
|
|
5326
5348
|
], 2)) : d("", !0)
|
|
5327
5349
|
], 2)), [
|
|
5328
|
-
[
|
|
5350
|
+
[E, o && s.question.isPreviewVisible(t)]
|
|
5329
5351
|
])), 128))
|
|
5330
5352
|
], 2)) : d("", !0);
|
|
5331
5353
|
};
|
|
5332
5354
|
}
|
|
5333
|
-
}),
|
|
5355
|
+
}), Fi = /* @__PURE__ */ h({
|
|
5334
5356
|
__name: "ButtonGroup",
|
|
5335
5357
|
props: {
|
|
5336
5358
|
question: {}
|
|
5337
5359
|
},
|
|
5338
5360
|
setup(r) {
|
|
5339
|
-
const s = r, n =
|
|
5361
|
+
const s = r, n = $();
|
|
5340
5362
|
return A(s, n), (e, o) => {
|
|
5341
5363
|
const t = y("sv-button-group-item");
|
|
5342
5364
|
return i(), u("div", {
|
|
@@ -5354,7 +5376,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5354
5376
|
], 2);
|
|
5355
5377
|
};
|
|
5356
5378
|
}
|
|
5357
|
-
}),
|
|
5379
|
+
}), Oi = ["title"], zi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ui = ["title"], Ki = /* @__PURE__ */ h({
|
|
5358
5380
|
__name: "ButtonGroupItem",
|
|
5359
5381
|
props: {
|
|
5360
5382
|
item: {},
|
|
@@ -5391,7 +5413,7 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5391
5413
|
class: a(n.value.css.control),
|
|
5392
5414
|
"onUpdate:modelValue": t[0] || (t[0] = (v) => e.value = v),
|
|
5393
5415
|
value: n.value.value
|
|
5394
|
-
}, null, 10,
|
|
5416
|
+
}, null, 10, zi), [
|
|
5395
5417
|
[x, e.value]
|
|
5396
5418
|
]),
|
|
5397
5419
|
p("div", {
|
|
@@ -5411,12 +5433,12 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5411
5433
|
C(m, {
|
|
5412
5434
|
locString: n.value.caption
|
|
5413
5435
|
}, null, 8, ["locString"])
|
|
5414
|
-
], 10,
|
|
5436
|
+
], 10, Ui)) : d("", !0)
|
|
5415
5437
|
], 2)
|
|
5416
|
-
], 10,
|
|
5438
|
+
], 10, Oi);
|
|
5417
5439
|
};
|
|
5418
5440
|
}
|
|
5419
|
-
}),
|
|
5441
|
+
}), Qi = ["src", "width", "height", "alt"], ji = /* @__PURE__ */ h({
|
|
5420
5442
|
inheritAttrs: !1,
|
|
5421
5443
|
__name: "Logo",
|
|
5422
5444
|
props: {
|
|
@@ -5438,13 +5460,13 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5438
5460
|
width: n.value.renderedStyleLogoWidth,
|
|
5439
5461
|
height: n.value.renderedStyleLogoHeight
|
|
5440
5462
|
})
|
|
5441
|
-
}, null, 14,
|
|
5463
|
+
}, null, 14, Qi)
|
|
5442
5464
|
], 2));
|
|
5443
5465
|
}
|
|
5444
|
-
}),
|
|
5466
|
+
}), Gi = /* @__PURE__ */ h({
|
|
5445
5467
|
__name: "SvgBundle",
|
|
5446
5468
|
setup(r) {
|
|
5447
|
-
const s =
|
|
5469
|
+
const s = $();
|
|
5448
5470
|
return M(() => {
|
|
5449
5471
|
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5450
5472
|
}), (n, e) => P((i(), u("svg", {
|
|
@@ -5452,13 +5474,13 @@ const hi = /* @__PURE__ */ he(qi, [["render", gi]]), Ci = { key: 2 }, bi = /* @_
|
|
|
5452
5474
|
ref_key: "root",
|
|
5453
5475
|
ref: s
|
|
5454
5476
|
}, null, 512)), [
|
|
5455
|
-
[
|
|
5477
|
+
[E, !1]
|
|
5456
5478
|
]);
|
|
5457
5479
|
}
|
|
5458
5480
|
});
|
|
5459
5481
|
ze.platform = "vue3";
|
|
5460
|
-
function
|
|
5461
|
-
r.component("SurveyComponent", pe), r.component("sv-svg-bundle",
|
|
5482
|
+
function Ji(r) {
|
|
5483
|
+
r.component("SurveyComponent", pe), r.component("sv-svg-bundle", Gi), r.component("PopupSurveyComponent", ve), r.component("survey", pe), r.component("popup-survey", ve), r.component("survey-header", Ge), r.component("sv-logo-image", ji), 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", qs), 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", Ps), r.component("survey-html", Ms), r.component("survey-image", Vs), r.component("survey-expression", Fs), r.component("survey-file", Us), r.component("sv-file-choose-btn", Ai), r.component("sv-file-clean-btn", Bi), r.component("sv-file-preview", Vi), r.component("sv-file-video", Ni), r.component("survey-imagepicker", Qs), r.component("survey-imagepicker-item", Ys), r.component("survey-comment", en), r.component("survey-dropdown", sn), r.component("sv-dropdown-select", rn), r.component("sv-dropdown-option-item", an), r.component("sv-dropdown", pn), r.component("survey-tagbox", vn), r.component("sv-tagbox", gn), r.component("sv-tagbox-item", fn), r.component("sv-tagbox-filter", bn), r.component("survey-ranking", wn), r.component("survey-ranking-item", _n), r.component("survey-rating", Ln), r.component("sv-rating-item", Pn), r.component("sv-rating-item-smiley", Mn), r.component("sv-rating-item-star", Hn), r.component("sv-rating-dropdown", zn), r.component("sv-rating-dropdown-item", On), r.component("survey-boolean", Kn), r.component("sv-boolean-radio", Qn), r.component("sv-boolean-radio-item", Jn), r.component("sv-boolean-checkbox", so), r.component("survey-multipletext", no), r.component("survey-multipletext-item", to), r.component("survey-matrix", mo), r.component("survey-matrix-row", po), r.component("survey-matrix-cell", yo), r.component("survey-matrixdropdown", go), r.component("survey-matrixtable", bo), r.component("survey-matrixheaderrequired", fo), r.component("survey-matrixdropdown-cell", Io), r.component("survey-matrixdynamic", So), r.component("sv-matrix-remove-button", To), r.component("sv-matrix-drag-drop-icon", _o), r.component("sv-matrix-detail-button", Bo), r.component("survey-paneldynamic", Lo), r.component("survey-paneldynamicprogress", No), r.component("survey-paneldynamicprogress-v2", Po), r.component("sv-paneldynamic-add-btn", Ao), r.component("sv-paneldynamic-next-btn", Eo), r.component("sv-paneldynamic-prev-btn", Wo), r.component("sv-paneldynamic-remove-btn", Vo), r.component("sv-paneldynamic-progress-text", Fo), r.component("sv-components-container", Wt), r.component("sv-progress-buttons", Kt), r.component("sv-navigation-toc", Qt), 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", zo), r.component("survey-question-comment", Qo), r.component("survey-element-title", jo), r.component("survey-element-title-content", Yo), r.component("sv-title-actions", et), r.component("sv-brand-info", rt), r.component("sv-question-error", dt), r.component("sv-svg-icon", ut), r.component("sv-action-bar", mt), r.component("sv-action", vt), r.component("sv-action-bar-item", gt), r.component("sv-action-bar-item-dropdown", bt), r.component("sv-action-bar-separator", kt), r.component("sv-list", St), r.component("sv-list-item", $t), r.component("sv-popup", _t), r.component("sv-popup-container", Mt), r.component("popup-pointer", Et), r.component("sv-notifier", si), r.component("survey-other-choice", ti), r.component("sv-nav-btn", ri), r.component("survey-customwidget", ai), r.component("survey-popup-modal", ui), r.component("sv-character-counter", di), r.component("survey-composite", mi), r.component("survey-custom", ci), r.component("sv-timerpanel", qi), r.component("sv-loading-indicator", Ci), r.component("sv-header", ki), r.component("sv-header-cell", Ii), r.component("sv-header-mobile", $i), r.component("sv-template-renderer", Di), r.component("survey-element", _i), r.component("survey-buttongroup", Fi), r.component("sv-button-group-item", Ki), r.directive("key2click", {
|
|
5462
5484
|
mounted: function(s, n) {
|
|
5463
5485
|
const e = { ...n.value };
|
|
5464
5486
|
if (e.disableTabStop) {
|
|
@@ -5473,13 +5495,13 @@ function Gi(r) {
|
|
|
5473
5495
|
}
|
|
5474
5496
|
});
|
|
5475
5497
|
}
|
|
5476
|
-
const
|
|
5498
|
+
const Zi = {
|
|
5477
5499
|
install(r) {
|
|
5478
|
-
|
|
5500
|
+
Ji(r);
|
|
5479
5501
|
}
|
|
5480
5502
|
};
|
|
5481
5503
|
export {
|
|
5482
|
-
|
|
5504
|
+
Zi as surveyPlugin,
|
|
5483
5505
|
B as useBase,
|
|
5484
5506
|
le as useComputedArray,
|
|
5485
5507
|
J as useLocString,
|