survey-vue3-ui 1.10.3 → 1.10.4
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 +476 -466
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { shallowReactive as
|
|
2
|
-
import { Base as
|
|
3
|
-
|
|
4
|
-
function
|
|
1
|
+
import { shallowReactive as be, watch as K, onBeforeUnmount as G, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as se, unref as w, isRef as fe, defineComponent as h, computed as S, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as a, createVNode as C, createCommentVNode as d, Fragment as D, renderList as B, createBlock as g, resolveDynamicComponent as T, normalizeProps as z, mergeProps as H, withCtx as V, normalizeStyle as I, 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 we, onUpdated as te, vModelText as Ie, getCurrentInstance as ie, 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 ee, DropdownListModel as Be, Helpers as Le, DropdownMultiSelectListModel as Ne, doKey2ClickUp as ye, createSvg as Pe, ActionDropdownViewModel as Ae, getActionDropdownButtonTarget as Me, createPopupViewModel as Ee, SurveyProgressModel as de, ProgressButtonsResponsivityManager as He, PopupSurveyModel as We, settings as j, createDialogOptions as Fe, createPopupModalViewModel as Ve, ButtonGroupItemModel as Oe, SvgRegistry as ze, SurveyModel as Ue, doKey2ClickDown as Ke, doKey2ClickBlur as Qe } from "survey-core";
|
|
3
|
+
De.createPropertiesHash = () => be({});
|
|
4
|
+
function je(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);
|
|
@@ -16,7 +16,7 @@ function Qe(r) {
|
|
|
16
16
|
}, n[e] = o;
|
|
17
17
|
}
|
|
18
18
|
}), r.getPropertyValueCoreHandler = (n, e) => w(n[e]), r.setPropertyValueCoreHandler = (n, e, o) => {
|
|
19
|
-
|
|
19
|
+
fe(n[e]) ? n[e].value = o : n[e] = o;
|
|
20
20
|
}), r.__vueImplemented++);
|
|
21
21
|
}
|
|
22
22
|
function me(r) {
|
|
@@ -25,11 +25,11 @@ function me(r) {
|
|
|
25
25
|
n[e] = w(n[e]), Array.isArray(n[e]) && (n[e].onArrayChanged = void 0);
|
|
26
26
|
}), delete r.__vueImplemented, r.createArrayCoreHandler = void 0, r.getPropertyValueCoreHandler = void 0, r.setPropertyValueCoreHandler = void 0));
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function L(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)), je(o);
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
immediate: !0
|
|
@@ -41,7 +41,7 @@ function B(r, s, n) {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
function A(r, s, n, e) {
|
|
44
|
-
|
|
44
|
+
L(() => r.question, n, e), M(() => {
|
|
45
45
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
46
46
|
}), G(() => {
|
|
47
47
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
@@ -68,14 +68,14 @@ function re(r) {
|
|
|
68
68
|
return r.customWidget ? "survey-customwidget" : r.isDefaultRendering && r.isDefaultRendering() || r.isPanel ? "survey-" + r.getTemplate() : r.getComponentName();
|
|
69
69
|
}
|
|
70
70
|
function le(r) {
|
|
71
|
-
const s = U(), n =
|
|
71
|
+
const s = U(), n = ke(() => {
|
|
72
72
|
s.value = r(), se(s);
|
|
73
73
|
});
|
|
74
74
|
return G(() => {
|
|
75
75
|
n();
|
|
76
76
|
}), s;
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const Ge = /* @__PURE__ */ h({
|
|
79
79
|
__name: "Page",
|
|
80
80
|
props: {
|
|
81
81
|
survey: {},
|
|
@@ -86,7 +86,7 @@ const je = /* @__PURE__ */ h({
|
|
|
86
86
|
const s = r, n = $(null), e = () => {
|
|
87
87
|
s.survey && n.value && s.survey.afterRenderPage(n.value);
|
|
88
88
|
}, o = S(() => s.page._showDescription);
|
|
89
|
-
return
|
|
89
|
+
return L(
|
|
90
90
|
() => s.page,
|
|
91
91
|
() => {
|
|
92
92
|
e();
|
|
@@ -113,12 +113,12 @@ const je = /* @__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(
|
|
116
|
+
(i(!0), u(D, null, B(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)
|
|
120
120
|
})), {
|
|
121
|
-
default:
|
|
121
|
+
default: V(() => [
|
|
122
122
|
C(q, {
|
|
123
123
|
row: f,
|
|
124
124
|
survey: t.survey,
|
|
@@ -130,7 +130,7 @@ const je = /* @__PURE__ */ h({
|
|
|
130
130
|
], 2);
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
}),
|
|
133
|
+
}), Je = /* @__PURE__ */ h({
|
|
134
134
|
__name: "Header",
|
|
135
135
|
props: {
|
|
136
136
|
survey: {}
|
|
@@ -180,7 +180,7 @@ const je = /* @__PURE__ */ h({
|
|
|
180
180
|
], 2)) : d("", !0);
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
}),
|
|
183
|
+
}), Xe = /* @__PURE__ */ h({
|
|
184
184
|
__name: "Row",
|
|
185
185
|
props: {
|
|
186
186
|
row: {},
|
|
@@ -189,7 +189,7 @@ const je = /* @__PURE__ */ h({
|
|
|
189
189
|
},
|
|
190
190
|
setup(r) {
|
|
191
191
|
const s = r, n = $();
|
|
192
|
-
return
|
|
192
|
+
return L(
|
|
193
193
|
() => s.row,
|
|
194
194
|
(e, o) => {
|
|
195
195
|
e.setRootElement(n.value), o && (e.isNeedRender = o.isNeedRender);
|
|
@@ -211,7 +211,7 @@ const je = /* @__PURE__ */ h({
|
|
|
211
211
|
ref_key: "root",
|
|
212
212
|
ref: n
|
|
213
213
|
}, [
|
|
214
|
-
(i(!0), u(
|
|
214
|
+
(i(!0), u(D, null, B(e.row.visibleElements, (l) => (i(), g(t, {
|
|
215
215
|
row: e.row,
|
|
216
216
|
css: e.css,
|
|
217
217
|
element: l,
|
|
@@ -220,10 +220,10 @@ const je = /* @__PURE__ */ h({
|
|
|
220
220
|
], 2);
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), Ye = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], Ze = ["id"], xe = {
|
|
224
224
|
inheritAttrs: !1
|
|
225
|
-
},
|
|
226
|
-
...
|
|
225
|
+
}, es = /* @__PURE__ */ h({
|
|
226
|
+
...xe,
|
|
227
227
|
__name: "Question",
|
|
228
228
|
props: {
|
|
229
229
|
survey: {},
|
|
@@ -232,7 +232,7 @@ const je = /* @__PURE__ */ h({
|
|
|
232
232
|
},
|
|
233
233
|
setup(r) {
|
|
234
234
|
const s = r, n = $(null), e = S(() => s.element.showErrorOnTop), o = S(() => s.element.showErrorOnBottom), t = (k) => k.cssContent, l = () => s.element.getRootStyle();
|
|
235
|
-
|
|
235
|
+
L(() => s.element);
|
|
236
236
|
const m = () => {
|
|
237
237
|
n.value && s.element.afterRender(n.value);
|
|
238
238
|
}, v = K(
|
|
@@ -248,14 +248,14 @@ const je = /* @__PURE__ */ h({
|
|
|
248
248
|
}));
|
|
249
249
|
return O(() => {
|
|
250
250
|
v();
|
|
251
|
-
}), (k,
|
|
252
|
-
const b = y("survey-errors"), N = y("survey-element-header"), W = y("survey-string"),
|
|
251
|
+
}), (k, _) => {
|
|
252
|
+
const b = y("survey-errors"), N = y("survey-element-header"), W = y("survey-string"), F = y("survey-question-comment");
|
|
253
253
|
return i(), u("div", {
|
|
254
254
|
class: a(k.element.getRootCss()),
|
|
255
255
|
style: I(l()),
|
|
256
256
|
ref_key: "root",
|
|
257
257
|
ref: n,
|
|
258
|
-
onFocusin:
|
|
258
|
+
onFocusin: _[0] || (_[0] = (Q) => k.element.focusIn()),
|
|
259
259
|
id: k.element.id,
|
|
260
260
|
role: k.element.ariaRole,
|
|
261
261
|
"aria-required": k.element.ariaRequired,
|
|
@@ -276,7 +276,7 @@ const je = /* @__PURE__ */ h({
|
|
|
276
276
|
css: k.css
|
|
277
277
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
278
278
|
(i(), g(T(q.value), z(ne(f.value)), {
|
|
279
|
-
default:
|
|
279
|
+
default: V(() => [
|
|
280
280
|
P(p("div", {
|
|
281
281
|
class: a(t(k.element) || void 0),
|
|
282
282
|
role: "presentation"
|
|
@@ -296,7 +296,7 @@ const je = /* @__PURE__ */ h({
|
|
|
296
296
|
locString: k.element.locCommentText
|
|
297
297
|
}, null, 8, ["locString"])
|
|
298
298
|
]),
|
|
299
|
-
C(
|
|
299
|
+
C(F, { question: k.element }, null, 8, ["question"])
|
|
300
300
|
], 2)) : d("", !0),
|
|
301
301
|
o.value ? (i(), g(b, {
|
|
302
302
|
key: 2,
|
|
@@ -311,7 +311,7 @@ const je = /* @__PURE__ */ h({
|
|
|
311
311
|
C(W, {
|
|
312
312
|
locString: k.element.locDescription
|
|
313
313
|
}, null, 8, ["locString"])
|
|
314
|
-
], 10,
|
|
314
|
+
], 10, Ze)) : d("", !0)
|
|
315
315
|
], 2), [
|
|
316
316
|
[E, k.element.renderedIsExpanded]
|
|
317
317
|
])
|
|
@@ -328,13 +328,13 @@ const je = /* @__PURE__ */ h({
|
|
|
328
328
|
element: k.element,
|
|
329
329
|
location: "bottom"
|
|
330
330
|
}, null, 8, ["element"])) : d("", !0)
|
|
331
|
-
], 46,
|
|
331
|
+
], 46, Ye);
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
}),
|
|
334
|
+
}), ss = ["id"], ns = ["id"], os = {
|
|
335
335
|
inheritAttrs: !1
|
|
336
|
-
},
|
|
337
|
-
...
|
|
336
|
+
}, ts = /* @__PURE__ */ h({
|
|
337
|
+
...os,
|
|
338
338
|
inheritAttrs: !1,
|
|
339
339
|
__name: "Panel",
|
|
340
340
|
props: {
|
|
@@ -344,7 +344,7 @@ const je = /* @__PURE__ */ h({
|
|
|
344
344
|
},
|
|
345
345
|
setup(r) {
|
|
346
346
|
const s = r, n = $(null), e = S(() => s.element.survey);
|
|
347
|
-
return
|
|
347
|
+
return L(() => s.element), M(() => {
|
|
348
348
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
349
349
|
}), (o, t) => {
|
|
350
350
|
const l = y("survey-errors"), m = y("survey-element-header"), v = y("survey-row"), c = y("sv-action-bar");
|
|
@@ -375,12 +375,12 @@ const je = /* @__PURE__ */ h({
|
|
|
375
375
|
style: I({ paddingLeft: o.element.innerPaddingLeft }),
|
|
376
376
|
class: a(o.element.cssClasses.panel.content)
|
|
377
377
|
}, [
|
|
378
|
-
(i(!0), u(
|
|
378
|
+
(i(!0), u(D, null, B(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)
|
|
382
382
|
})), {
|
|
383
|
-
default:
|
|
383
|
+
default: V(() => [
|
|
384
384
|
C(v, {
|
|
385
385
|
row: q,
|
|
386
386
|
survey: e.value,
|
|
@@ -392,11 +392,11 @@ const je = /* @__PURE__ */ h({
|
|
|
392
392
|
C(c, {
|
|
393
393
|
model: o.element.getFooterToolbar()
|
|
394
394
|
}, null, 8, ["model"])
|
|
395
|
-
], 14,
|
|
396
|
-
], 42,
|
|
395
|
+
], 14, ns)) : d("", !0)
|
|
396
|
+
], 42, ss)) : d("", !0);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
}),
|
|
399
|
+
}), is = ["id"], rs = /* @__PURE__ */ h({
|
|
400
400
|
__name: "ElementHeader",
|
|
401
401
|
props: {
|
|
402
402
|
element: {},
|
|
@@ -424,7 +424,7 @@ const je = /* @__PURE__ */ h({
|
|
|
424
424
|
C(l, {
|
|
425
425
|
locString: e.element.locDescription
|
|
426
426
|
}, null, 8, ["locString"])
|
|
427
|
-
], 10,
|
|
427
|
+
], 10, is)), [
|
|
428
428
|
[E, e.element.hasDescription]
|
|
429
429
|
]) : d("", !0),
|
|
430
430
|
e.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
@@ -434,7 +434,7 @@ const je = /* @__PURE__ */ h({
|
|
|
434
434
|
], 2);
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
|
-
}),
|
|
437
|
+
}), ls = /* @__PURE__ */ h({
|
|
438
438
|
__name: "String",
|
|
439
439
|
props: {
|
|
440
440
|
locString: {}
|
|
@@ -444,7 +444,7 @@ const je = /* @__PURE__ */ h({
|
|
|
444
444
|
locString: s.locString.renderAsData
|
|
445
445
|
}, null, 8, ["locString"]));
|
|
446
446
|
}
|
|
447
|
-
}),
|
|
447
|
+
}), as = ["innerHTML"], us = /* @__PURE__ */ h({
|
|
448
448
|
__name: "StringViewer",
|
|
449
449
|
props: {
|
|
450
450
|
locString: {}
|
|
@@ -455,12 +455,12 @@ const je = /* @__PURE__ */ h({
|
|
|
455
455
|
key: 0,
|
|
456
456
|
class: a(w(e)),
|
|
457
457
|
innerHTML: w(n)
|
|
458
|
-
}, null, 10,
|
|
458
|
+
}, null, 10, as)) : (i(), u("span", {
|
|
459
459
|
key: 1,
|
|
460
460
|
class: a(w(e))
|
|
461
461
|
}, R(w(n)), 3));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), ds = ["innerHTML"], ms = /* @__PURE__ */ h({
|
|
464
464
|
__name: "StringEditor",
|
|
465
465
|
props: {
|
|
466
466
|
locString: {}
|
|
@@ -479,7 +479,7 @@ const je = /* @__PURE__ */ h({
|
|
|
479
479
|
innerHTML: o.locString.renderedHtml,
|
|
480
480
|
onBlur: n,
|
|
481
481
|
onClick: e
|
|
482
|
-
}, null, 40,
|
|
482
|
+
}, null, 40, ds)) : (i(), u("span", {
|
|
483
483
|
key: 1,
|
|
484
484
|
class: "sv-string-editor",
|
|
485
485
|
contenteditable: "true",
|
|
@@ -487,19 +487,19 @@ const je = /* @__PURE__ */ h({
|
|
|
487
487
|
onClick: e
|
|
488
488
|
}, R(o.locString.renderedHtml), 33));
|
|
489
489
|
}
|
|
490
|
-
}),
|
|
490
|
+
}), cs = ["id"], ps = /* @__PURE__ */ h({
|
|
491
491
|
__name: "Skeleton",
|
|
492
492
|
props: {
|
|
493
493
|
element: {}
|
|
494
494
|
},
|
|
495
495
|
setup(r) {
|
|
496
496
|
const s = r;
|
|
497
|
-
return
|
|
497
|
+
return L(() => s.element), (n, e) => (i(), u("div", {
|
|
498
498
|
class: "sv-skeleton-element",
|
|
499
499
|
id: n.element.id
|
|
500
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, cs));
|
|
501
501
|
}
|
|
502
|
-
}),
|
|
502
|
+
}), vs = ["id"], qs = ["value"], ys = /* @__PURE__ */ h({
|
|
503
503
|
inheritAttrs: !1,
|
|
504
504
|
__name: "Text",
|
|
505
505
|
props: {
|
|
@@ -522,8 +522,8 @@ const je = /* @__PURE__ */ h({
|
|
|
522
522
|
p("datalist", {
|
|
523
523
|
id: e.question.dataListId
|
|
524
524
|
}, [
|
|
525
|
-
(i(!0), u(
|
|
526
|
-
], 8,
|
|
525
|
+
(i(!0), u(D, null, B(e.question.dataList, (l) => (i(), u("option", { value: l }, null, 8, qs))), 256))
|
|
526
|
+
], 8, vs)
|
|
527
527
|
], 512)) : (i(), g(t, {
|
|
528
528
|
key: 2,
|
|
529
529
|
question: e.question,
|
|
@@ -533,7 +533,7 @@ const je = /* @__PURE__ */ h({
|
|
|
533
533
|
}, null, 8, ["question", "get-ref"]));
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), gs = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], hs = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Cs = /* @__PURE__ */ h({
|
|
537
537
|
__name: "TextInput",
|
|
538
538
|
props: {
|
|
539
539
|
question: {},
|
|
@@ -543,7 +543,7 @@ const je = /* @__PURE__ */ h({
|
|
|
543
543
|
const n = r, e = function(l) {
|
|
544
544
|
n.getRef && n.getRef(l);
|
|
545
545
|
}, o = $(null);
|
|
546
|
-
s({ root: o }),
|
|
546
|
+
s({ root: o }), L(() => n.question);
|
|
547
547
|
const t = S(() => n.question.inputStyle);
|
|
548
548
|
return (l, m) => {
|
|
549
549
|
const v = y("sv-character-counter");
|
|
@@ -578,7 +578,7 @@ const je = /* @__PURE__ */ h({
|
|
|
578
578
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
579
579
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
580
580
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
581
|
-
}, null, 46,
|
|
581
|
+
}, null, 46, hs),
|
|
582
582
|
C(v, {
|
|
583
583
|
counter: l.question.characterCounter,
|
|
584
584
|
remainingCharacterCounter: l.question.cssClasses.remainingCharacterCounter
|
|
@@ -612,13 +612,13 @@ const je = /* @__PURE__ */ h({
|
|
|
612
612
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
613
613
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
614
614
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
615
|
-
}, null, 46,
|
|
615
|
+
}, null, 46, gs));
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
-
}),
|
|
618
|
+
}), bs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], ks = {
|
|
619
619
|
key: 0,
|
|
620
620
|
class: "sv-hidden"
|
|
621
|
-
},
|
|
621
|
+
}, fs = { key: 7 }, ws = ["value"], ge = /* @__PURE__ */ h({
|
|
622
622
|
inheritAttrs: !1,
|
|
623
623
|
__name: "SelectBase",
|
|
624
624
|
props: {
|
|
@@ -650,18 +650,18 @@ const je = /* @__PURE__ */ h({
|
|
|
650
650
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
651
651
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
652
652
|
}, [
|
|
653
|
-
t.showLegend ? (i(), u("legend",
|
|
654
|
-
t.question.hasHeadItems ? (i(!0), u(
|
|
653
|
+
t.showLegend ? (i(), u("legend", ks, R(t.question.locTitle.renderedHtml), 1)) : d("", !0),
|
|
654
|
+
t.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, B(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(
|
|
657
|
+
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(D, { key: 2 }, B(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(
|
|
664
|
+
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(D, { key: 0 }, B(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),
|
|
@@ -669,24 +669,24 @@ const je = /* @__PURE__ */ h({
|
|
|
669
669
|
key: 4,
|
|
670
670
|
class: a(t.question.cssClasses.rootMultiColumn)
|
|
671
671
|
}, [
|
|
672
|
-
t.question.hasColumns ? (i(!0), u(
|
|
672
|
+
t.question.hasColumns ? (i(!0), u(D, { key: 0 }, B(t.question.columns, (v, c) => (i(), u("div", {
|
|
673
673
|
key: c,
|
|
674
674
|
class: a(t.question.getColumnClass()),
|
|
675
675
|
role: "presentation"
|
|
676
676
|
}, [
|
|
677
|
-
(i(!0), u(
|
|
677
|
+
(i(!0), u(D, null, B(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(
|
|
682
|
+
t.question.hasFootItems ? (i(!0), u(D, { key: 5 }, B(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, {
|
|
686
686
|
key: 6,
|
|
687
687
|
question: t.question
|
|
688
688
|
}, null, 8, ["question"])) : d("", !0),
|
|
689
|
-
t.question.showClearButtonInContent ? (i(), u("div",
|
|
689
|
+
t.question.showClearButtonInContent ? (i(), u("div", fs, [
|
|
690
690
|
p("input", {
|
|
691
691
|
type: "button",
|
|
692
692
|
class: a(t.question.cssClasses.clearButton),
|
|
@@ -694,12 +694,12 @@ const je = /* @__PURE__ */ h({
|
|
|
694
694
|
t.question.clearValue();
|
|
695
695
|
}),
|
|
696
696
|
value: t.question.clearButtonCaption
|
|
697
|
-
}, null, 10,
|
|
697
|
+
}, null, 10, ws)
|
|
698
698
|
])) : d("", !0)
|
|
699
|
-
], 10,
|
|
699
|
+
], 10, bs);
|
|
700
700
|
};
|
|
701
701
|
}
|
|
702
|
-
}),
|
|
702
|
+
}), Is = /* @__PURE__ */ h({
|
|
703
703
|
inheritAttrs: !1,
|
|
704
704
|
__name: "Checkbox",
|
|
705
705
|
props: {
|
|
@@ -711,7 +711,7 @@ const je = /* @__PURE__ */ h({
|
|
|
711
711
|
"show-legend": !0
|
|
712
712
|
}, null, 8, ["question"]));
|
|
713
713
|
}
|
|
714
|
-
}),
|
|
714
|
+
}), Ss = ["name", "checked", "value", "id", "disabled"], Rs = ["xlink:href"], Ts = /* @__PURE__ */ h({
|
|
715
715
|
inheritAttrs: !1,
|
|
716
716
|
__name: "CheckboxItem",
|
|
717
717
|
props: {
|
|
@@ -721,7 +721,7 @@ const je = /* @__PURE__ */ h({
|
|
|
721
721
|
},
|
|
722
722
|
setup(r) {
|
|
723
723
|
const s = r;
|
|
724
|
-
|
|
724
|
+
L(() => s.item);
|
|
725
725
|
const n = (e) => {
|
|
726
726
|
s.question.clickItemHandler(s.item, e.target.checked);
|
|
727
727
|
};
|
|
@@ -746,7 +746,7 @@ const je = /* @__PURE__ */ h({
|
|
|
746
746
|
id: e.question.getItemId(e.item),
|
|
747
747
|
disabled: !e.question.getItemEnabled(e.item),
|
|
748
748
|
class: a(e.question.cssClasses.itemControl)
|
|
749
|
-
}, null, 42,
|
|
749
|
+
}, null, 42, Ss),
|
|
750
750
|
e.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
751
751
|
key: 0,
|
|
752
752
|
class: a(e.question.cssClasses.materialDecorator)
|
|
@@ -757,7 +757,7 @@ const je = /* @__PURE__ */ h({
|
|
|
757
757
|
}, [
|
|
758
758
|
p("use", {
|
|
759
759
|
"xlink:href": e.question.itemSvgIcon
|
|
760
|
-
}, null, 8,
|
|
760
|
+
}, null, 8, Rs)
|
|
761
761
|
], 2)) : d("", !0)
|
|
762
762
|
], 2)) : d("", !0),
|
|
763
763
|
e.hideLabel ? d("", !0) : (i(), u("span", {
|
|
@@ -772,7 +772,7 @@ const je = /* @__PURE__ */ h({
|
|
|
772
772
|
], 2);
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
-
}),
|
|
775
|
+
}), $s = /* @__PURE__ */ h({
|
|
776
776
|
inheritAttrs: !1,
|
|
777
777
|
__name: "Radiogroup",
|
|
778
778
|
props: {
|
|
@@ -781,7 +781,7 @@ const je = /* @__PURE__ */ h({
|
|
|
781
781
|
setup(r) {
|
|
782
782
|
return (s, n) => (i(), g(ge, { question: s.question }, null, 8, ["question"]));
|
|
783
783
|
}
|
|
784
|
-
}),
|
|
784
|
+
}), _s = ["name", "value", "id", "aria-errormessage", "disabled"], Ds = ["xlink:href"], Bs = /* @__PURE__ */ h({
|
|
785
785
|
inheritAttrs: !1,
|
|
786
786
|
__name: "RadiogroupItem",
|
|
787
787
|
props: {
|
|
@@ -797,7 +797,7 @@ const je = /* @__PURE__ */ h({
|
|
|
797
797
|
l.renderedValue = t;
|
|
798
798
|
}
|
|
799
799
|
});
|
|
800
|
-
return
|
|
800
|
+
return L(() => s.item), (t, l) => {
|
|
801
801
|
const m = y("survey-string");
|
|
802
802
|
return i(), u("div", {
|
|
803
803
|
role: "presentation",
|
|
@@ -816,7 +816,7 @@ const je = /* @__PURE__ */ h({
|
|
|
816
816
|
"onUpdate:modelValue": l[0] || (l[0] = (v) => o.value = v),
|
|
817
817
|
disabled: !t.question.getItemEnabled(t.item),
|
|
818
818
|
class: a(t.question.cssClasses.itemControl)
|
|
819
|
-
}, null, 10,
|
|
819
|
+
}, null, 10, _s), [
|
|
820
820
|
[x, o.value]
|
|
821
821
|
]),
|
|
822
822
|
t.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
@@ -829,7 +829,7 @@ const je = /* @__PURE__ */ h({
|
|
|
829
829
|
}, [
|
|
830
830
|
p("use", {
|
|
831
831
|
"xlink:href": t.question.itemSvgIcon
|
|
832
|
-
}, null, 8,
|
|
832
|
+
}, null, 8, Ds)
|
|
833
833
|
], 2)) : d("", !0)
|
|
834
834
|
], 2)) : d("", !0),
|
|
835
835
|
t.hideLabel ? d("", !0) : (i(), u("span", {
|
|
@@ -844,7 +844,7 @@ const je = /* @__PURE__ */ h({
|
|
|
844
844
|
], 2);
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
}),
|
|
847
|
+
}), Ls = ["src"], Ns = ["title"], Ps = { key: 0 }, As = /* @__PURE__ */ h({
|
|
848
848
|
inheritAttrs: !1,
|
|
849
849
|
__name: "Signaturepad",
|
|
850
850
|
props: {
|
|
@@ -879,7 +879,7 @@ const je = /* @__PURE__ */ h({
|
|
|
879
879
|
style: I({
|
|
880
880
|
width: e.question.renderedCanvasWidth
|
|
881
881
|
})
|
|
882
|
-
}, null, 14,
|
|
882
|
+
}, null, 14, Ls)) : d("", !0),
|
|
883
883
|
p("canvas", {
|
|
884
884
|
tabindex: "-1",
|
|
885
885
|
class: a(e.question.cssClasses.canvas),
|
|
@@ -898,13 +898,13 @@ const je = /* @__PURE__ */ h({
|
|
|
898
898
|
e.question.clearValue();
|
|
899
899
|
})
|
|
900
900
|
}, [
|
|
901
|
-
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span",
|
|
901
|
+
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span", Ps, "\u2716")),
|
|
902
902
|
e.question.cssClasses.clearButtonIconId ? (i(), g(l, {
|
|
903
903
|
key: 1,
|
|
904
904
|
iconName: e.question.cssClasses.clearButtonIconId,
|
|
905
905
|
size: "auto"
|
|
906
906
|
}, null, 8, ["iconName"])) : d("", !0)
|
|
907
|
-
], 10,
|
|
907
|
+
], 10, Ns)
|
|
908
908
|
], 2)) : d("", !0),
|
|
909
909
|
e.question.showLoadingIndicator ? (i(), u("div", {
|
|
910
910
|
key: 1,
|
|
@@ -915,7 +915,7 @@ const je = /* @__PURE__ */ h({
|
|
|
915
915
|
], 6);
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
|
-
}),
|
|
918
|
+
}), Ms = ["innerHTML"], Es = /* @__PURE__ */ h({
|
|
919
919
|
inheritAttrs: !1,
|
|
920
920
|
__name: "Html",
|
|
921
921
|
props: {
|
|
@@ -930,9 +930,9 @@ const je = /* @__PURE__ */ h({
|
|
|
930
930
|
ref: n,
|
|
931
931
|
class: a(o.question.renderCssRoot),
|
|
932
932
|
innerHTML: w(e)
|
|
933
|
-
}, null, 10,
|
|
933
|
+
}, null, 10, Ms));
|
|
934
934
|
}
|
|
935
|
-
}),
|
|
935
|
+
}), Hs = ["src", "alt", "width", "height"], Ws = ["src", "width", "height"], Fs = ["src", "width", "height"], Vs = /* @__PURE__ */ h({
|
|
936
936
|
inheritAttrs: !1,
|
|
937
937
|
__name: "Image",
|
|
938
938
|
props: {
|
|
@@ -967,7 +967,7 @@ const je = /* @__PURE__ */ h({
|
|
|
967
967
|
onError: t[1] || (t[1] = (m) => {
|
|
968
968
|
o.question.onErrorHandler();
|
|
969
969
|
})
|
|
970
|
-
}, null, 46,
|
|
970
|
+
}, null, 46, Hs)), [
|
|
971
971
|
[E, w(e) && !o.question.contentNotLoaded]
|
|
972
972
|
]) : d("", !0),
|
|
973
973
|
o.question.renderedMode === "video" ? P((i(), u("video", {
|
|
@@ -988,7 +988,7 @@ const je = /* @__PURE__ */ h({
|
|
|
988
988
|
onError: t[3] || (t[3] = (m) => {
|
|
989
989
|
o.question.onErrorHandler();
|
|
990
990
|
})
|
|
991
|
-
}, null, 46,
|
|
991
|
+
}, null, 46, Ws)), [
|
|
992
992
|
[E, w(e) && !o.question.contentNotLoaded]
|
|
993
993
|
]) : d("", !0),
|
|
994
994
|
o.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
@@ -1002,7 +1002,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1002
1002
|
width: o.question.renderedStyleWidth,
|
|
1003
1003
|
height: o.question.renderedStyleHeight
|
|
1004
1004
|
})
|
|
1005
|
-
}, null, 14,
|
|
1005
|
+
}, null, 14, Fs)) : d("", !0),
|
|
1006
1006
|
!w(e) || o.question.contentNotLoaded ? (i(), u("div", {
|
|
1007
1007
|
key: 3,
|
|
1008
1008
|
class: a(o.question.cssClasses.noImage)
|
|
@@ -1015,7 +1015,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1015
1015
|
], 2);
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
|
-
}),
|
|
1018
|
+
}), Os = /* @__PURE__ */ h({
|
|
1019
1019
|
inheritAttrs: !1,
|
|
1020
1020
|
__name: "Expression",
|
|
1021
1021
|
props: {
|
|
@@ -1029,7 +1029,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1029
1029
|
ref: n
|
|
1030
1030
|
}, R(e.question.formatedValue), 3));
|
|
1031
1031
|
}
|
|
1032
|
-
}),
|
|
1032
|
+
}), zs = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], Us = ["id", "multiple", "placeholder"], Ks = /* @__PURE__ */ h({
|
|
1033
1033
|
inheritAttrs: !1,
|
|
1034
1034
|
__name: "File",
|
|
1035
1035
|
props: {
|
|
@@ -1058,7 +1058,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1058
1058
|
title: e.question.inputTitle,
|
|
1059
1059
|
accept: e.question.acceptedTypes,
|
|
1060
1060
|
capture: e.question.renderCapture
|
|
1061
|
-
}, null, 10,
|
|
1061
|
+
}, null, 10, zs)) : d("", !0),
|
|
1062
1062
|
e.question.isReadOnly ? (i(), u("input", {
|
|
1063
1063
|
key: 1,
|
|
1064
1064
|
type: "file",
|
|
@@ -1068,7 +1068,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1068
1068
|
multiple: e.question.allowMultiple,
|
|
1069
1069
|
placeholder: e.question.title,
|
|
1070
1070
|
style: { color: "transparent" }
|
|
1071
|
-
}, null, 10,
|
|
1071
|
+
}, null, 10, Us)) : d("", !0),
|
|
1072
1072
|
p("div", {
|
|
1073
1073
|
class: a(e.question.cssClasses.dragArea),
|
|
1074
1074
|
onDrop: o[0] || (o[0] = (...k) => e.question.onDrop && e.question.onDrop(...k)),
|
|
@@ -1136,7 +1136,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1136
1136
|
], 2);
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
}),
|
|
1139
|
+
}), Qs = { class: "sv-hidden" }, ce = "survey-imagepicker-item", js = /* @__PURE__ */ h({
|
|
1140
1140
|
inheritAttrs: !1,
|
|
1141
1141
|
__name: "Imagepicker",
|
|
1142
1142
|
props: {
|
|
@@ -1158,22 +1158,22 @@ const je = /* @__PURE__ */ h({
|
|
|
1158
1158
|
ref_key: "root",
|
|
1159
1159
|
ref: n
|
|
1160
1160
|
}, [
|
|
1161
|
-
p("legend",
|
|
1162
|
-
t.question.hasColumns ? d("", !0) : (i(!0), u(
|
|
1161
|
+
p("legend", Qs, R(t.question.locTitle.renderedHtml), 1),
|
|
1162
|
+
t.question.hasColumns ? d("", !0) : (i(!0), u(D, { key: 0 }, B(t.question.visibleChoices, (m) => (i(), g(T(e(m)), H({
|
|
1163
1163
|
key: m.value
|
|
1164
1164
|
}, o(m)), null, 16))), 128)),
|
|
1165
|
-
t.question.hasColumns ? (i(!0), u(
|
|
1165
|
+
t.question.hasColumns ? (i(!0), u(D, { key: 1 }, B(t.question.columns, (m, v) => (i(), u("div", {
|
|
1166
1166
|
class: a(t.question.getColumnClass()),
|
|
1167
1167
|
key: v,
|
|
1168
1168
|
role: "presentation"
|
|
1169
1169
|
}, [
|
|
1170
|
-
(i(!0), u(
|
|
1170
|
+
(i(!0), u(D, null, B(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
|
+
}), Gs = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Js = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Xs = ["src", "width", "height", "alt"], Ys = ["src", "width", "height"], Zs = /* @__PURE__ */ h({
|
|
1177
1177
|
inheritAttrs: !1,
|
|
1178
1178
|
__name: "ImagepickerItem",
|
|
1179
1179
|
props: {
|
|
@@ -1182,7 +1182,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1182
1182
|
},
|
|
1183
1183
|
setup(r) {
|
|
1184
1184
|
const s = r, n = (o) => s.question.getItemClass(o);
|
|
1185
|
-
|
|
1185
|
+
L(() => s.item);
|
|
1186
1186
|
const e = J(() => s.item.locImageLink);
|
|
1187
1187
|
return (o, t) => {
|
|
1188
1188
|
const l = y("sv-svg-icon"), m = y("survey-string");
|
|
@@ -1205,7 +1205,7 @@ const je = /* @__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, Gs)), [
|
|
1209
1209
|
[oe, o.question.value]
|
|
1210
1210
|
]) : P((i(), u("input", {
|
|
1211
1211
|
key: 1,
|
|
@@ -1220,7 +1220,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1220
1220
|
"aria-invalid": o.question.ariaInvalid,
|
|
1221
1221
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1222
1222
|
class: a(o.question.cssClasses.itemControl)
|
|
1223
|
-
}, null, 10,
|
|
1223
|
+
}, null, 10, Js)), [
|
|
1224
1224
|
[x, o.question.value]
|
|
1225
1225
|
]),
|
|
1226
1226
|
p("div", {
|
|
@@ -1254,7 +1254,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1254
1254
|
onError: t[3] || (t[3] = (v) => {
|
|
1255
1255
|
o.item.onErrorHandler();
|
|
1256
1256
|
})
|
|
1257
|
-
}, null, 46,
|
|
1257
|
+
}, null, 46, Xs)) : d("", !0),
|
|
1258
1258
|
w(e) && !o.item.contentNotLoaded && o.question.contentMode === "video" ? (i(), u("video", {
|
|
1259
1259
|
key: 2,
|
|
1260
1260
|
controls: "",
|
|
@@ -1269,7 +1269,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1269
1269
|
onError: t[5] || (t[5] = (v) => {
|
|
1270
1270
|
o.item.onErrorHandler();
|
|
1271
1271
|
})
|
|
1272
|
-
}, null, 46,
|
|
1272
|
+
}, null, 46, Ys)) : d("", !0),
|
|
1273
1273
|
!w(e) || o.item.contentNotLoaded ? (i(), u("div", {
|
|
1274
1274
|
key: 3,
|
|
1275
1275
|
class: a(o.question.cssClasses.itemNoImage),
|
|
@@ -1299,7 +1299,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1299
1299
|
], 2);
|
|
1300
1300
|
};
|
|
1301
1301
|
}
|
|
1302
|
-
}),
|
|
1302
|
+
}), xs = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], en = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], sn = /* @__PURE__ */ h({
|
|
1303
1303
|
inheritAttrs: !1,
|
|
1304
1304
|
__name: "Comment",
|
|
1305
1305
|
props: {
|
|
@@ -1342,7 +1342,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1342
1342
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
1343
1343
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage,
|
|
1344
1344
|
style: I({ resize: o.question.resizeStyle })
|
|
1345
|
-
}, null, 46,
|
|
1345
|
+
}, null, 46, xs)) : !o.question.isReadOnlyRenderDiv() && o.question.getMaxLength() ? (i(), u("div", {
|
|
1346
1346
|
key: 1,
|
|
1347
1347
|
ref_key: "root",
|
|
1348
1348
|
ref: n
|
|
@@ -1371,7 +1371,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1371
1371
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
1372
1372
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage,
|
|
1373
1373
|
style: I({ resize: o.question.resizeStyle })
|
|
1374
|
-
}, null, 46,
|
|
1374
|
+
}, null, 46, en),
|
|
1375
1375
|
C(l, {
|
|
1376
1376
|
counter: o.question.characterCounter,
|
|
1377
1377
|
remainingCharacterCounter: o.question.cssClasses.remainingCharacterCounter
|
|
@@ -1383,7 +1383,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1383
1383
|
}, R(o.question.value), 513));
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
1386
|
-
}),
|
|
1386
|
+
}), nn = /* @__PURE__ */ h({
|
|
1387
1387
|
inheritAttrs: !1,
|
|
1388
1388
|
__name: "Dropdown",
|
|
1389
1389
|
props: {
|
|
@@ -1406,16 +1406,16 @@ const je = /* @__PURE__ */ h({
|
|
|
1406
1406
|
], 2);
|
|
1407
1407
|
};
|
|
1408
1408
|
}
|
|
1409
|
-
}),
|
|
1409
|
+
}), on = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], tn = {
|
|
1410
1410
|
key: 0,
|
|
1411
1411
|
value: ""
|
|
1412
|
-
},
|
|
1412
|
+
}, rn = ["id"];
|
|
1413
1413
|
ee.Instance.registerRenderer(
|
|
1414
1414
|
"dropdown",
|
|
1415
1415
|
"select",
|
|
1416
1416
|
"sv-dropdown-select"
|
|
1417
1417
|
);
|
|
1418
|
-
const
|
|
1418
|
+
const ln = /* @__PURE__ */ h({
|
|
1419
1419
|
inheritAttrs: !1,
|
|
1420
1420
|
__name: "DropdownSelect",
|
|
1421
1421
|
props: {
|
|
@@ -1453,7 +1453,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1453
1453
|
disabled: "",
|
|
1454
1454
|
id: l.question.inputId,
|
|
1455
1455
|
class: a(l.question.getControlClass())
|
|
1456
|
-
}, R(l.question.readOnlyText), 11,
|
|
1456
|
+
}, R(l.question.readOnlyText), 11, rn)) : P((i(), u("select", {
|
|
1457
1457
|
key: 0,
|
|
1458
1458
|
id: l.question.inputId,
|
|
1459
1459
|
"onUpdate:modelValue": m[0] || (m[0] = (f) => t.value = f),
|
|
@@ -1467,13 +1467,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1467
1467
|
"aria-errormessage": l.question.ariaErrormessage,
|
|
1468
1468
|
required: l.question.isRequired
|
|
1469
1469
|
}, [
|
|
1470
|
-
l.question.allowClear ? (i(), u("option",
|
|
1471
|
-
(i(!0), u(
|
|
1470
|
+
l.question.allowClear ? (i(), u("option", tn, R(l.question.placeholder), 1)) : d("", !0),
|
|
1471
|
+
(i(!0), u(D, null, B(l.question.visibleChoices, (f) => (i(), g(v, {
|
|
1472
1472
|
item: f,
|
|
1473
1473
|
key: f.id
|
|
1474
1474
|
}, null, 8, ["item"]))), 128))
|
|
1475
|
-
], 42,
|
|
1476
|
-
[
|
|
1475
|
+
], 42, on)), [
|
|
1476
|
+
[we, t.value]
|
|
1477
1477
|
]),
|
|
1478
1478
|
l.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
1479
1479
|
key: 2,
|
|
@@ -1493,19 +1493,19 @@ const rn = /* @__PURE__ */ h({
|
|
|
1493
1493
|
], 2);
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
1496
|
-
}),
|
|
1496
|
+
}), an = ["value", "disabled"], un = /* @__PURE__ */ h({
|
|
1497
1497
|
__name: "OptionItem",
|
|
1498
1498
|
props: {
|
|
1499
1499
|
item: {}
|
|
1500
1500
|
},
|
|
1501
1501
|
setup(r) {
|
|
1502
1502
|
const s = r, n = J(() => s.item.locText);
|
|
1503
|
-
return
|
|
1503
|
+
return L(() => s.item), (e, o) => (i(), u("option", {
|
|
1504
1504
|
value: e.item.value,
|
|
1505
1505
|
disabled: !e.item.isEnabled
|
|
1506
|
-
}, R(w(n)), 9,
|
|
1506
|
+
}, R(w(n)), 9, an));
|
|
1507
1507
|
}
|
|
1508
|
-
}),
|
|
1508
|
+
}), dn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], mn = { style: { visibility: "hidden" } }, cn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], pn = ["id"], vn = /* @__PURE__ */ h({
|
|
1509
1509
|
__name: "Dropdown",
|
|
1510
1510
|
props: {
|
|
1511
1511
|
question: {}
|
|
@@ -1513,7 +1513,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1513
1513
|
setup(r) {
|
|
1514
1514
|
const s = r, n = $(null), e = S(() => {
|
|
1515
1515
|
const b = s.question;
|
|
1516
|
-
return b.dropdownListModel || (b.dropdownListModel = new
|
|
1516
|
+
return b.dropdownListModel || (b.dropdownListModel = new Be(b)), s.question.dropdownListModel;
|
|
1517
1517
|
}), o = (b) => {
|
|
1518
1518
|
var N;
|
|
1519
1519
|
(N = e.value) == null || N.onClick(b);
|
|
@@ -1529,7 +1529,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1529
1529
|
}, v = () => {
|
|
1530
1530
|
if (n.value) {
|
|
1531
1531
|
const b = n.value, N = e.value.inputStringRendered;
|
|
1532
|
-
|
|
1532
|
+
Le.isTwoValueEquals(N, b.value, !1, !0, !1) || (b.value = e.value.inputStringRendered);
|
|
1533
1533
|
}
|
|
1534
1534
|
}, c = (b) => {
|
|
1535
1535
|
var N;
|
|
@@ -1541,9 +1541,9 @@ const rn = /* @__PURE__ */ h({
|
|
|
1541
1541
|
e.value.inputStringRendered = b.target.value;
|
|
1542
1542
|
}, k = S(
|
|
1543
1543
|
() => s.question.showSelectedItemLocText
|
|
1544
|
-
),
|
|
1545
|
-
return
|
|
1546
|
-
const W = y("survey-string"),
|
|
1544
|
+
), _ = S(() => s.question.selectedItemLocText);
|
|
1545
|
+
return L(() => e.value), te(v), M(v), (b, N) => {
|
|
1546
|
+
const W = y("survey-string"), F = 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
|
|
@@ -1577,13 +1577,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1577
1577
|
}, [
|
|
1578
1578
|
k.value ? (i(), g(W, {
|
|
1579
1579
|
key: 0,
|
|
1580
|
-
locString:
|
|
1580
|
+
locString: _.value
|
|
1581
1581
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1582
1582
|
e.value.showHintString ? (i(), u("div", {
|
|
1583
1583
|
key: 1,
|
|
1584
1584
|
class: a(b.question.cssClasses.hintSuffix)
|
|
1585
1585
|
}, [
|
|
1586
|
-
p("span",
|
|
1586
|
+
p("span", mn, R(e.value.inputStringRendered), 1),
|
|
1587
1587
|
p("span", null, R(e.value.hintStringSuffix), 1)
|
|
1588
1588
|
], 2)) : d("", !0),
|
|
1589
1589
|
b.question.showInputFieldComponent ? (i(), g(T(b.question.inputFieldComponentName), {
|
|
@@ -1613,7 +1613,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1613
1613
|
onInput: f,
|
|
1614
1614
|
onBlur: c,
|
|
1615
1615
|
onFocus: q
|
|
1616
|
-
}, null, 42,
|
|
1616
|
+
}, null, 42, cn)
|
|
1617
1617
|
], 2),
|
|
1618
1618
|
b.question.allowClear && b.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
1619
1619
|
key: 1,
|
|
@@ -1621,7 +1621,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1621
1621
|
onClick: l,
|
|
1622
1622
|
"aria-hidden": "true"
|
|
1623
1623
|
}, [
|
|
1624
|
-
C(
|
|
1624
|
+
C(F, {
|
|
1625
1625
|
class: a(b.question.cssClasses.cleanButtonSvg),
|
|
1626
1626
|
iconName: b.question.cssClasses.cleanButtonIconId,
|
|
1627
1627
|
title: b.question.clearCaption,
|
|
@@ -1630,7 +1630,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1630
1630
|
], 2)), [
|
|
1631
1631
|
[E, b.question.showClearButton]
|
|
1632
1632
|
]) : d("", !0)
|
|
1633
|
-
], 42,
|
|
1633
|
+
], 42, dn)),
|
|
1634
1634
|
b.question.isReadOnly ? (i(), u("div", {
|
|
1635
1635
|
key: 2,
|
|
1636
1636
|
disabled: "",
|
|
@@ -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,
|
|
1645
|
+
], 10, pn)) : (i(), g(Q, {
|
|
1646
1646
|
key: 1,
|
|
1647
1647
|
model: b.question.dropdownListModel.popupModel
|
|
1648
1648
|
}, null, 8, ["model"])),
|
|
@@ -1652,7 +1652,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1652
1652
|
onPointerdown: t,
|
|
1653
1653
|
"aria-hidden": "true"
|
|
1654
1654
|
}, [
|
|
1655
|
-
C(
|
|
1655
|
+
C(F, {
|
|
1656
1656
|
class: a(b.question.cssClasses.chevronButtonSvg),
|
|
1657
1657
|
iconName: b.question.cssClasses.chevronButtonIconId,
|
|
1658
1658
|
size: "auto"
|
|
@@ -1661,7 +1661,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1661
1661
|
], 2);
|
|
1662
1662
|
};
|
|
1663
1663
|
}
|
|
1664
|
-
}),
|
|
1664
|
+
}), qn = /* @__PURE__ */ h({
|
|
1665
1665
|
inheritAttrs: !1,
|
|
1666
1666
|
__name: "Tagbox",
|
|
1667
1667
|
props: {
|
|
@@ -1684,7 +1684,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1684
1684
|
], 2);
|
|
1685
1685
|
};
|
|
1686
1686
|
}
|
|
1687
|
-
}),
|
|
1687
|
+
}), yn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], gn = ["id"], hn = /* @__PURE__ */ h({
|
|
1688
1688
|
__name: "Tagbox",
|
|
1689
1689
|
props: {
|
|
1690
1690
|
question: {}
|
|
@@ -1692,7 +1692,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1692
1692
|
setup(r) {
|
|
1693
1693
|
const s = r, n = S(() => {
|
|
1694
1694
|
const c = s.question;
|
|
1695
|
-
return c.dropdownListModel || (c.dropdownListModel = new
|
|
1695
|
+
return c.dropdownListModel || (c.dropdownListModel = new Ne(c)), s.question.dropdownListModel;
|
|
1696
1696
|
}), e = (c) => {
|
|
1697
1697
|
var q;
|
|
1698
1698
|
(q = n.value) == null || q.onClick(c);
|
|
@@ -1709,8 +1709,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1709
1709
|
var q;
|
|
1710
1710
|
(q = n.value) == null || q.onBlur(c);
|
|
1711
1711
|
}, v = le(() => s.question.selectedChoices);
|
|
1712
|
-
return
|
|
1713
|
-
const f = y("sv-tagbox-item"), k = y("sv-tagbox-filter"),
|
|
1712
|
+
return L(() => n.value), (c, q) => {
|
|
1713
|
+
const f = y("sv-tagbox-item"), k = y("sv-tagbox-filter"), _ = y("sv-svg-icon"), b = y("sv-popup"), N = y("survey-string");
|
|
1714
1714
|
return i(), u("div", {
|
|
1715
1715
|
class: a(c.question.cssClasses.selectWrapper),
|
|
1716
1716
|
onClick: e
|
|
@@ -1736,10 +1736,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1736
1736
|
p("div", {
|
|
1737
1737
|
class: a(c.question.cssClasses.controlValue)
|
|
1738
1738
|
}, [
|
|
1739
|
-
(i(!0), u(
|
|
1739
|
+
(i(!0), u(D, null, B(w(v), (W, F) => (i(), g(f, {
|
|
1740
1740
|
item: W,
|
|
1741
1741
|
question: c.question,
|
|
1742
|
-
key: "item" +
|
|
1742
|
+
key: "item" + F
|
|
1743
1743
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1744
1744
|
C(k, {
|
|
1745
1745
|
model: n.value,
|
|
@@ -1752,7 +1752,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1752
1752
|
onClick: t,
|
|
1753
1753
|
"aria-hidden": "true"
|
|
1754
1754
|
}, [
|
|
1755
|
-
C(
|
|
1755
|
+
C(_, {
|
|
1756
1756
|
class: a(c.question.cssClasses.cleanButtonSvg),
|
|
1757
1757
|
iconName: c.question.cssClasses.cleanButtonIconId,
|
|
1758
1758
|
title: c.question.clearCaption,
|
|
@@ -1761,7 +1761,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1761
1761
|
], 2)), [
|
|
1762
1762
|
[E, c.question.showClearButton]
|
|
1763
1763
|
]) : d("", !0)
|
|
1764
|
-
], 42,
|
|
1764
|
+
], 42, yn)),
|
|
1765
1765
|
c.question.isReadOnly ? (i(), u("div", {
|
|
1766
1766
|
key: 2,
|
|
1767
1767
|
disabled: "",
|
|
@@ -1772,7 +1772,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1772
1772
|
key: 0,
|
|
1773
1773
|
locString: c.question.locReadOnlyText
|
|
1774
1774
|
}, null, 8, ["locString"])) : d("", !0)
|
|
1775
|
-
], 10,
|
|
1775
|
+
], 10, gn)) : (i(), g(b, {
|
|
1776
1776
|
key: 1,
|
|
1777
1777
|
model: n.value.popupModel
|
|
1778
1778
|
}, null, 8, ["model"])),
|
|
@@ -1782,7 +1782,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1782
1782
|
onPointerdown: o,
|
|
1783
1783
|
"aria-hidden": "true"
|
|
1784
1784
|
}, [
|
|
1785
|
-
C(
|
|
1785
|
+
C(_, {
|
|
1786
1786
|
class: a(c.question.cssClasses.chevronButtonSvg),
|
|
1787
1787
|
iconName: c.question.cssClasses.chevronButtonIconId,
|
|
1788
1788
|
size: "auto"
|
|
@@ -1791,7 +1791,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1791
1791
|
], 2);
|
|
1792
1792
|
};
|
|
1793
1793
|
}
|
|
1794
|
-
}),
|
|
1794
|
+
}), Cn = { style: { visibility: "hidden" } }, bn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "id", "readonly", "size"], kn = /* @__PURE__ */ h({
|
|
1795
1795
|
__name: "TagboxFilter",
|
|
1796
1796
|
props: {
|
|
1797
1797
|
question: {},
|
|
@@ -1808,7 +1808,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1808
1808
|
}, t = (l) => {
|
|
1809
1809
|
s.model.onFocus(l);
|
|
1810
1810
|
};
|
|
1811
|
-
return
|
|
1811
|
+
return L(() => s.model), (l, m) => {
|
|
1812
1812
|
const v = y("survey-string");
|
|
1813
1813
|
return i(), u("div", {
|
|
1814
1814
|
class: a(l.question.cssClasses.hint)
|
|
@@ -1830,7 +1830,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1830
1830
|
key: 1,
|
|
1831
1831
|
class: a(l.question.cssClasses.hintSuffix)
|
|
1832
1832
|
}, [
|
|
1833
|
-
p("span",
|
|
1833
|
+
p("span", Cn, R(l.model.inputStringRendered), 1),
|
|
1834
1834
|
p("span", null, R(l.model.hintStringSuffix), 1)
|
|
1835
1835
|
], 2)) : d("", !0),
|
|
1836
1836
|
P(p("input", {
|
|
@@ -1855,14 +1855,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
1855
1855
|
onKeydown: e,
|
|
1856
1856
|
onBlur: o,
|
|
1857
1857
|
onFocus: t
|
|
1858
|
-
}, null, 42,
|
|
1859
|
-
[
|
|
1858
|
+
}, null, 42, bn), [
|
|
1859
|
+
[Ie, l.model.inputStringRendered]
|
|
1860
1860
|
])
|
|
1861
1861
|
], 2)
|
|
1862
1862
|
], 2);
|
|
1863
1863
|
};
|
|
1864
1864
|
}
|
|
1865
|
-
}),
|
|
1865
|
+
}), fn = { class: "sv-tagbox__item-text" }, wn = /* @__PURE__ */ h({
|
|
1866
1866
|
__name: "TagboxItem",
|
|
1867
1867
|
props: {
|
|
1868
1868
|
question: {},
|
|
@@ -1872,13 +1872,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1872
1872
|
const s = r, n = (e) => {
|
|
1873
1873
|
s.question.dropdownListModel.deselectItem(s.item.value), e.stopPropagation();
|
|
1874
1874
|
};
|
|
1875
|
-
return
|
|
1875
|
+
return L(() => s.item), (e, o) => {
|
|
1876
1876
|
const t = y("survey-string"), l = y("sv-svg-icon");
|
|
1877
1877
|
return i(), u("div", {
|
|
1878
1878
|
class: "sv-tagbox__item",
|
|
1879
1879
|
key: e.item.key
|
|
1880
1880
|
}, [
|
|
1881
|
-
p("div",
|
|
1881
|
+
p("div", fn, [
|
|
1882
1882
|
C(t, {
|
|
1883
1883
|
locString: e.item.locText
|
|
1884
1884
|
}, null, 8, ["locString"])
|
|
@@ -1896,7 +1896,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1896
1896
|
]);
|
|
1897
1897
|
};
|
|
1898
1898
|
}
|
|
1899
|
-
}),
|
|
1899
|
+
}), In = /* @__PURE__ */ h({
|
|
1900
1900
|
inheritAttrs: !1,
|
|
1901
1901
|
__name: "Ranking",
|
|
1902
1902
|
props: {
|
|
@@ -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(
|
|
1927
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(D, { key: 0 }, B(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(
|
|
1935
|
+
(i(!0), u(D, null, B(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(
|
|
1956
|
+
(i(!0), u(D, null, B(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", {
|
|
@@ -1968,10 +1968,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1968
1968
|
], 2);
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
|
-
}),
|
|
1971
|
+
}), Sn = ["tabindex", "data-sv-drop-target-ranking-item"], Rn = {
|
|
1972
1972
|
tabindex: "-1",
|
|
1973
1973
|
style: { outline: "none" }
|
|
1974
|
-
},
|
|
1974
|
+
}, Tn = ["xlink:href"], $n = ["xlink:href"], _n = ["xlink:href"], Dn = /* @__PURE__ */ h({
|
|
1975
1975
|
inheritAttrs: !1,
|
|
1976
1976
|
__name: "RankingItem",
|
|
1977
1977
|
props: {
|
|
@@ -1982,7 +1982,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1982
1982
|
},
|
|
1983
1983
|
setup(r) {
|
|
1984
1984
|
const s = r, n = S(() => s.question.getNumberByIndex(s.index));
|
|
1985
|
-
return
|
|
1985
|
+
return L(() => s.item), (e, o) => {
|
|
1986
1986
|
const t = y("survey-string");
|
|
1987
1987
|
return i(), u("div", {
|
|
1988
1988
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
@@ -2008,7 +2008,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2008
2008
|
);
|
|
2009
2009
|
})
|
|
2010
2010
|
}, [
|
|
2011
|
-
p("div",
|
|
2011
|
+
p("div", Rn, [
|
|
2012
2012
|
p("div", {
|
|
2013
2013
|
class: a(e.question.cssClasses.itemGhostNode)
|
|
2014
2014
|
}, null, 2),
|
|
@@ -2023,14 +2023,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
2023
2023
|
}, [
|
|
2024
2024
|
p("use", {
|
|
2025
2025
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2026
|
-
}, null, 8,
|
|
2026
|
+
}, null, 8, Tn)
|
|
2027
2027
|
], 2)),
|
|
2028
2028
|
(i(), u("svg", {
|
|
2029
2029
|
class: a(e.question.getIconFocusCss())
|
|
2030
2030
|
}, [
|
|
2031
2031
|
p("use", {
|
|
2032
2032
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2033
|
-
}, null, 8,
|
|
2033
|
+
}, null, 8, $n)
|
|
2034
2034
|
], 2))
|
|
2035
2035
|
], 2),
|
|
2036
2036
|
!e.unrankedItem && n.value ? (i(), u("div", {
|
|
@@ -2043,7 +2043,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2043
2043
|
(i(), u("svg", null, [
|
|
2044
2044
|
p("use", {
|
|
2045
2045
|
"xlink:href": e.question.dashSvgIcon
|
|
2046
|
-
}, null, 8,
|
|
2046
|
+
}, null, 8, _n)
|
|
2047
2047
|
]))
|
|
2048
2048
|
], 2)),
|
|
2049
2049
|
p("div", {
|
|
@@ -2055,13 +2055,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
2055
2055
|
], 2)
|
|
2056
2056
|
], 2)
|
|
2057
2057
|
])
|
|
2058
|
-
], 42,
|
|
2058
|
+
], 42, Sn);
|
|
2059
2059
|
};
|
|
2060
2060
|
}
|
|
2061
|
-
}),
|
|
2061
|
+
}), Bn = { role: "radiogroup" }, Ln = /* @__PURE__ */ p("legend", {
|
|
2062
2062
|
role: "presentation",
|
|
2063
2063
|
class: "sv-hidden"
|
|
2064
|
-
}, null, -1),
|
|
2064
|
+
}, null, -1), Nn = /* @__PURE__ */ h({
|
|
2065
2065
|
inheritAttrs: !1,
|
|
2066
2066
|
__name: "Rating",
|
|
2067
2067
|
props: {
|
|
@@ -2078,8 +2078,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
2078
2078
|
ref_key: "root",
|
|
2079
2079
|
ref: n
|
|
2080
2080
|
}, [
|
|
2081
|
-
p("fieldset",
|
|
2082
|
-
|
|
2081
|
+
p("fieldset", Bn, [
|
|
2082
|
+
Ln,
|
|
2083
2083
|
o.question.hasMinLabel ? (i(), u("span", {
|
|
2084
2084
|
key: 0,
|
|
2085
2085
|
class: a(o.question.cssClasses.minText)
|
|
@@ -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(
|
|
2091
|
+
(i(!0), u(D, null, B(o.question.renderedRateItems, (m, v) => (i(), g(T(o.question.itemComponent), {
|
|
2092
2092
|
key: e(v),
|
|
2093
2093
|
item: m,
|
|
2094
2094
|
index: v,
|
|
@@ -2106,7 +2106,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2106
2106
|
], 2);
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
}),
|
|
2109
|
+
}), Pn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], An = /* @__PURE__ */ h({
|
|
2110
2110
|
__name: "RatingItem",
|
|
2111
2111
|
props: {
|
|
2112
2112
|
question: {},
|
|
@@ -2115,7 +2115,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2115
2115
|
},
|
|
2116
2116
|
setup(r) {
|
|
2117
2117
|
const s = r;
|
|
2118
|
-
return
|
|
2118
|
+
return L(() => s.item), (n, e) => {
|
|
2119
2119
|
const o = y("survey-string");
|
|
2120
2120
|
return i(), u("label", {
|
|
2121
2121
|
key: n.item.value,
|
|
@@ -2134,7 +2134,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2134
2134
|
"aria-label": n.question.ariaLabel,
|
|
2135
2135
|
"aria-invalid": n.question.ariaInvalid,
|
|
2136
2136
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2137
|
-
}, null, 8,
|
|
2137
|
+
}, null, 8, Pn),
|
|
2138
2138
|
p("span", {
|
|
2139
2139
|
class: a(n.question.cssClasses.itemText)
|
|
2140
2140
|
}, [
|
|
@@ -2145,7 +2145,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2145
2145
|
], 34);
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
|
-
}),
|
|
2148
|
+
}), Mn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], En = /* @__PURE__ */ h({
|
|
2149
2149
|
__name: "RatingItemSmiley",
|
|
2150
2150
|
props: {
|
|
2151
2151
|
question: {},
|
|
@@ -2154,7 +2154,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2154
2154
|
},
|
|
2155
2155
|
setup(r) {
|
|
2156
2156
|
const s = r;
|
|
2157
|
-
return
|
|
2157
|
+
return L(() => s.item), (n, e) => {
|
|
2158
2158
|
const o = y("sv-svg-icon");
|
|
2159
2159
|
return i(), u("label", {
|
|
2160
2160
|
key: n.item.value,
|
|
@@ -2176,7 +2176,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2176
2176
|
"aria-label": n.question.ariaLabel,
|
|
2177
2177
|
"aria-invalid": n.question.ariaInvalid,
|
|
2178
2178
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2179
|
-
}, null, 8,
|
|
2179
|
+
}, null, 8, Mn),
|
|
2180
2180
|
C(o, {
|
|
2181
2181
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2182
2182
|
size: "auto",
|
|
@@ -2185,7 +2185,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2185
2185
|
], 38);
|
|
2186
2186
|
};
|
|
2187
2187
|
}
|
|
2188
|
-
}),
|
|
2188
|
+
}), Hn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Wn = /* @__PURE__ */ h({
|
|
2189
2189
|
__name: "RatingItemStar",
|
|
2190
2190
|
props: {
|
|
2191
2191
|
question: {},
|
|
@@ -2194,7 +2194,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2194
2194
|
},
|
|
2195
2195
|
setup(r) {
|
|
2196
2196
|
const s = r;
|
|
2197
|
-
return
|
|
2197
|
+
return L(() => s.item), (n, e) => {
|
|
2198
2198
|
const o = y("sv-svg-icon");
|
|
2199
2199
|
return i(), u("label", {
|
|
2200
2200
|
key: n.item.value,
|
|
@@ -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, Hn),
|
|
2219
2219
|
C(o, {
|
|
2220
2220
|
class: a("sv-star"),
|
|
2221
2221
|
iconName: n.question.itemStarIcon,
|
|
@@ -2231,21 +2231,21 @@ const rn = /* @__PURE__ */ h({
|
|
|
2231
2231
|
], 34);
|
|
2232
2232
|
};
|
|
2233
2233
|
}
|
|
2234
|
-
}),
|
|
2234
|
+
}), Fn = { class: "sd-rating-dropdown-item" }, Vn = { class: "sd-rating-dropdown-item_text" }, On = {
|
|
2235
2235
|
key: 0,
|
|
2236
2236
|
class: "sd-rating-dropdown-item_description"
|
|
2237
|
-
},
|
|
2237
|
+
}, zn = /* @__PURE__ */ h({
|
|
2238
2238
|
__name: "RatingDropdownItem",
|
|
2239
2239
|
props: {
|
|
2240
2240
|
item: {}
|
|
2241
2241
|
},
|
|
2242
2242
|
setup(r) {
|
|
2243
2243
|
const s = r;
|
|
2244
|
-
return
|
|
2244
|
+
return L(() => s.item), (n, e) => {
|
|
2245
2245
|
const o = y("survey-string");
|
|
2246
|
-
return i(), u("div",
|
|
2246
|
+
return i(), u("div", Fn, [
|
|
2247
2247
|
p("span", Vn, R(n.item.title), 1),
|
|
2248
|
-
n.item.description ? (i(), u("div",
|
|
2248
|
+
n.item.description ? (i(), u("div", On, [
|
|
2249
2249
|
C(o, {
|
|
2250
2250
|
locString: n.item.description
|
|
2251
2251
|
}, null, 8, ["locString"])
|
|
@@ -2259,7 +2259,7 @@ ee.Instance.registerRenderer(
|
|
|
2259
2259
|
"dropdown",
|
|
2260
2260
|
"sv-rating-dropdown"
|
|
2261
2261
|
);
|
|
2262
|
-
const
|
|
2262
|
+
const Un = /* @__PURE__ */ h({
|
|
2263
2263
|
inheritAttrs: !1,
|
|
2264
2264
|
__name: "RatingDropdown",
|
|
2265
2265
|
props: {
|
|
@@ -2278,7 +2278,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2278
2278
|
], 2);
|
|
2279
2279
|
};
|
|
2280
2280
|
}
|
|
2281
|
-
}),
|
|
2281
|
+
}), Kn = ["name", "value", "id", ".indeterminate", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Qn = /* @__PURE__ */ h({
|
|
2282
2282
|
inheritAttrs: !1,
|
|
2283
2283
|
__name: "BooleanSwitch",
|
|
2284
2284
|
props: {
|
|
@@ -2320,7 +2320,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2320
2320
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2321
2321
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2322
2322
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2323
|
-
}, null, 42,
|
|
2323
|
+
}, null, 42, Kn), [
|
|
2324
2324
|
[oe, t.question.booleanValue]
|
|
2325
2325
|
]),
|
|
2326
2326
|
p("div", {
|
|
@@ -2375,7 +2375,7 @@ ee.Instance.registerRenderer(
|
|
|
2375
2375
|
"radio",
|
|
2376
2376
|
"sv-boolean-radio"
|
|
2377
2377
|
);
|
|
2378
|
-
const
|
|
2378
|
+
const jn = /* @__PURE__ */ h({
|
|
2379
2379
|
inheritAttrs: !1,
|
|
2380
2380
|
__name: "BooleanRadio",
|
|
2381
2381
|
props: {
|
|
@@ -2416,7 +2416,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2416
2416
|
], 2);
|
|
2417
2417
|
};
|
|
2418
2418
|
}
|
|
2419
|
-
}),
|
|
2419
|
+
}), Gn = ["name", "value", "checked", "aria-errormessage", "disabled"], Jn = ["xlink:href"], Xn = /* @__PURE__ */ h({
|
|
2420
2420
|
__name: "BooleanRadioItem",
|
|
2421
2421
|
props: {
|
|
2422
2422
|
question: {},
|
|
@@ -2446,7 +2446,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2446
2446
|
disabled: e.question.isInputReadOnly,
|
|
2447
2447
|
class: a(e.question.cssClasses.itemRadioControl),
|
|
2448
2448
|
onChange: n
|
|
2449
|
-
}, null, 42,
|
|
2449
|
+
}, null, 42, Gn),
|
|
2450
2450
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2451
2451
|
key: 0,
|
|
2452
2452
|
class: a(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2457,7 +2457,7 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2457
2457
|
}, [
|
|
2458
2458
|
p("use", {
|
|
2459
2459
|
"xlink:href": e.question.itemSvgIcon
|
|
2460
|
-
}, null, 8,
|
|
2460
|
+
}, null, 8, Jn)
|
|
2461
2461
|
], 2)) : d("", !0)
|
|
2462
2462
|
], 2)) : d("", !0),
|
|
2463
2463
|
p("span", {
|
|
@@ -2469,13 +2469,13 @@ const Qn = /* @__PURE__ */ h({
|
|
|
2469
2469
|
], 2);
|
|
2470
2470
|
};
|
|
2471
2471
|
}
|
|
2472
|
-
}),
|
|
2472
|
+
}), Yn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Zn = ["xlink:href"], xn = /* @__PURE__ */ p("span", { class: "check" }, null, -1), eo = ["id"], so = ["id"];
|
|
2473
2473
|
ee.Instance.registerRenderer(
|
|
2474
2474
|
"boolean",
|
|
2475
2475
|
"checkbox",
|
|
2476
2476
|
"sv-boolean-checkbox"
|
|
2477
2477
|
);
|
|
2478
|
-
const
|
|
2478
|
+
const no = /* @__PURE__ */ h({
|
|
2479
2479
|
inheritAttrs: !1,
|
|
2480
2480
|
__name: "BooleanCheckbox",
|
|
2481
2481
|
props: {
|
|
@@ -2511,7 +2511,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2511
2511
|
"aria-label": e.question.ariaLabel,
|
|
2512
2512
|
"aria-invalid": e.question.ariaInvalid,
|
|
2513
2513
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2514
|
-
}, null, 42,
|
|
2514
|
+
}, null, 42, Yn), [
|
|
2515
2515
|
[oe, e.question.booleanValue]
|
|
2516
2516
|
]),
|
|
2517
2517
|
p("span", {
|
|
@@ -2523,9 +2523,9 @@ const so = /* @__PURE__ */ h({
|
|
|
2523
2523
|
}, [
|
|
2524
2524
|
p("use", {
|
|
2525
2525
|
"xlink:href": e.question.svgIcon
|
|
2526
|
-
}, null, 8,
|
|
2526
|
+
}, null, 8, Zn)
|
|
2527
2527
|
], 2)) : d("", !0),
|
|
2528
|
-
|
|
2528
|
+
xn
|
|
2529
2529
|
], 2),
|
|
2530
2530
|
e.question.isLabelRendered ? (i(), u("span", {
|
|
2531
2531
|
key: 0,
|
|
@@ -2542,7 +2542,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2542
2542
|
element: e.question,
|
|
2543
2543
|
css: e.css
|
|
2544
2544
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2545
|
-
], 10,
|
|
2545
|
+
], 10, eo)) : d("", !0)
|
|
2546
2546
|
], 2),
|
|
2547
2547
|
e.question.canRenderLabelDescription ? (i(), u("div", {
|
|
2548
2548
|
key: 0,
|
|
@@ -2552,12 +2552,12 @@ const so = /* @__PURE__ */ h({
|
|
|
2552
2552
|
C(m, {
|
|
2553
2553
|
locString: e.question.locDescription
|
|
2554
2554
|
}, null, 8, ["locString"])
|
|
2555
|
-
], 10,
|
|
2555
|
+
], 10, so)) : d("", !0)
|
|
2556
2556
|
], 2)
|
|
2557
2557
|
], 2);
|
|
2558
2558
|
};
|
|
2559
2559
|
}
|
|
2560
|
-
}),
|
|
2560
|
+
}), oo = /* @__PURE__ */ h({
|
|
2561
2561
|
inheritAttrs: !1,
|
|
2562
2562
|
__name: "Multipletext",
|
|
2563
2563
|
props: {
|
|
@@ -2573,14 +2573,14 @@ const so = /* @__PURE__ */ h({
|
|
|
2573
2573
|
ref: n
|
|
2574
2574
|
}, [
|
|
2575
2575
|
p("tbody", null, [
|
|
2576
|
-
(i(!0), u(
|
|
2576
|
+
(i(!0), u(D, null, B(w(e), (m, v) => (i(), u(D, {
|
|
2577
2577
|
key: o.question.inputId + "rowkey" + v
|
|
2578
2578
|
}, [
|
|
2579
2579
|
m.isVisible ? (i(), u("tr", {
|
|
2580
2580
|
key: 0,
|
|
2581
2581
|
class: a(o.question.cssClasses.row)
|
|
2582
2582
|
}, [
|
|
2583
|
-
(i(!0), u(
|
|
2583
|
+
(i(!0), u(D, null, B(m.cells, (c) => (i(), u("td", {
|
|
2584
2584
|
key: "item" + c.item.editor.id,
|
|
2585
2585
|
class: a(c.className)
|
|
2586
2586
|
}, [
|
|
@@ -2595,7 +2595,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2595
2595
|
], 2);
|
|
2596
2596
|
};
|
|
2597
2597
|
}
|
|
2598
|
-
}),
|
|
2598
|
+
}), to = { key: 1 }, io = /* @__PURE__ */ h({
|
|
2599
2599
|
__name: "MultipletextItem",
|
|
2600
2600
|
props: {
|
|
2601
2601
|
question: {},
|
|
@@ -2603,7 +2603,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2603
2603
|
},
|
|
2604
2604
|
setup(r) {
|
|
2605
2605
|
const s = r, n = (o) => re(o);
|
|
2606
|
-
|
|
2606
|
+
L(() => s.cell.item.editor);
|
|
2607
2607
|
const e = S(() => s.cell.item);
|
|
2608
2608
|
return (o, t) => {
|
|
2609
2609
|
const l = y("survey-string"), m = y("survey-errors");
|
|
@@ -2625,7 +2625,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2625
2625
|
C(l, {
|
|
2626
2626
|
locString: e.value.locTitle
|
|
2627
2627
|
}, null, 8, ["locString"]),
|
|
2628
|
-
e.value.editor.isRequireTextAfterTitle ? (i(), u("span",
|
|
2628
|
+
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", to, "\xA0")) : d("", !0),
|
|
2629
2629
|
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", {
|
|
2630
2630
|
key: 2,
|
|
2631
2631
|
"aria-hidden": "true",
|
|
@@ -2644,7 +2644,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2644
2644
|
], 2));
|
|
2645
2645
|
};
|
|
2646
2646
|
}
|
|
2647
|
-
}),
|
|
2647
|
+
}), ro = { class: "sv-hidden" }, lo = { key: 0 }, ao = { key: 0 }, uo = ["onClick"], mo = ["data-responsive-title", "onClick"], co = /* @__PURE__ */ h({
|
|
2648
2648
|
inheritAttrs: !1,
|
|
2649
2649
|
__name: "Matrix",
|
|
2650
2650
|
props: {
|
|
@@ -2676,14 +2676,14 @@ const so = /* @__PURE__ */ h({
|
|
|
2676
2676
|
ref: n
|
|
2677
2677
|
}, [
|
|
2678
2678
|
p("fieldset", null, [
|
|
2679
|
-
p("legend",
|
|
2679
|
+
p("legend", ro, R(t.question.locTitle.renderedHtml), 1),
|
|
2680
2680
|
p("table", {
|
|
2681
2681
|
class: a(t.question.getTableCss())
|
|
2682
2682
|
}, [
|
|
2683
|
-
t.question.showHeader ? (i(), u("thead",
|
|
2683
|
+
t.question.showHeader ? (i(), u("thead", lo, [
|
|
2684
2684
|
p("tr", null, [
|
|
2685
|
-
t.question.hasRows ? (i(), u("td",
|
|
2686
|
-
(i(!0), u(
|
|
2685
|
+
t.question.hasRows ? (i(), u("td", ao)) : d("", !0),
|
|
2686
|
+
(i(!0), u(D, null, B(t.question.visibleColumns, (v, c) => (i(), u("th", {
|
|
2687
2687
|
key: c,
|
|
2688
2688
|
class: a(t.question.cssClasses.headerCell),
|
|
2689
2689
|
style: I({
|
|
@@ -2694,7 +2694,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2694
2694
|
(i(), g(T(t.question.getColumnHeaderWrapperComponentName(v)), {
|
|
2695
2695
|
componentData: t.question.getColumnHeaderWrapperComponentData(v)
|
|
2696
2696
|
}, {
|
|
2697
|
-
default:
|
|
2697
|
+
default: V(() => [
|
|
2698
2698
|
C(m, {
|
|
2699
2699
|
locString: v.locText
|
|
2700
2700
|
}, null, 8, ["locString"])
|
|
@@ -2705,7 +2705,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2705
2705
|
])
|
|
2706
2706
|
])) : d("", !0),
|
|
2707
2707
|
p("tbody", null, [
|
|
2708
|
-
(i(!0), u(
|
|
2708
|
+
(i(!0), u(D, null, B(e.value, (v, c) => (i(), u("tr", {
|
|
2709
2709
|
key: "row_" + v.name + "_" + c,
|
|
2710
2710
|
class: a(v.rowClasses || void 0)
|
|
2711
2711
|
}, [
|
|
@@ -2719,7 +2719,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2719
2719
|
(i(), g(T(t.question.getRowHeaderWrapperComponentName(v)), {
|
|
2720
2720
|
componentData: t.question.getRowHeaderWrapperComponentData(v)
|
|
2721
2721
|
}, {
|
|
2722
|
-
default:
|
|
2722
|
+
default: V(() => [
|
|
2723
2723
|
C(m, {
|
|
2724
2724
|
locString: v.locText
|
|
2725
2725
|
}, null, 8, ["locString"])
|
|
@@ -2729,7 +2729,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2729
2729
|
], 6), [
|
|
2730
2730
|
[E, t.question.hasRows]
|
|
2731
2731
|
]),
|
|
2732
|
-
t.question.hasCellText ? (i(!0), u(
|
|
2732
|
+
t.question.hasCellText ? (i(!0), u(D, { key: 0 }, B(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2733
2733
|
key: f,
|
|
2734
2734
|
class: a(t.question.getItemClass(v, q)),
|
|
2735
2735
|
onClick: (k) => o(v, q)
|
|
@@ -2737,8 +2737,8 @@ const so = /* @__PURE__ */ h({
|
|
|
2737
2737
|
C(m, {
|
|
2738
2738
|
locString: t.question.getCellDisplayLocText(v.name, q)
|
|
2739
2739
|
}, null, 8, ["locString"])
|
|
2740
|
-
], 10,
|
|
2741
|
-
t.question.hasCellText ? d("", !0) : (i(!0), u(
|
|
2740
|
+
], 10, uo))), 128)) : d("", !0),
|
|
2741
|
+
t.question.hasCellText ? d("", !0) : (i(!0), u(D, { key: 1 }, B(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2742
2742
|
key: f,
|
|
2743
2743
|
"data-responsive-title": q.locText.renderedHtml,
|
|
2744
2744
|
class: a(t.question.cssClasses.cell),
|
|
@@ -2750,7 +2750,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2750
2750
|
column: q,
|
|
2751
2751
|
columnIndex: f
|
|
2752
2752
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2753
|
-
], 10,
|
|
2753
|
+
], 10, mo))), 128))
|
|
2754
2754
|
], 2))), 128))
|
|
2755
2755
|
])
|
|
2756
2756
|
], 2)
|
|
@@ -2758,7 +2758,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2758
2758
|
], 2);
|
|
2759
2759
|
};
|
|
2760
2760
|
}
|
|
2761
|
-
}),
|
|
2761
|
+
}), po = ["data-sv-drop-target-matrix-row"], vo = /* @__PURE__ */ h({
|
|
2762
2762
|
__name: "MatrixRow",
|
|
2763
2763
|
props: {
|
|
2764
2764
|
question: {},
|
|
@@ -2766,7 +2766,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2766
2766
|
},
|
|
2767
2767
|
setup(r) {
|
|
2768
2768
|
const s = r, n = $();
|
|
2769
|
-
|
|
2769
|
+
L(() => s.row);
|
|
2770
2770
|
const e = K(
|
|
2771
2771
|
() => s.row,
|
|
2772
2772
|
(o, t) => {
|
|
@@ -2787,15 +2787,15 @@ const so = /* @__PURE__ */ h({
|
|
|
2787
2787
|
ref_key: "root",
|
|
2788
2788
|
ref: n
|
|
2789
2789
|
}, [
|
|
2790
|
-
(i(!0), u(
|
|
2790
|
+
(i(!0), u(D, null, B(o.row.cells, (m, v) => (i(), g(l, {
|
|
2791
2791
|
cell: m,
|
|
2792
2792
|
question: o.question,
|
|
2793
2793
|
key: o.row.id + "_" + v
|
|
2794
2794
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2795
|
-
], 42,
|
|
2795
|
+
], 42, po)) : d("", !0);
|
|
2796
2796
|
};
|
|
2797
2797
|
}
|
|
2798
|
-
}),
|
|
2798
|
+
}), qo = ["name", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], yo = ["xlink:href"], go = /* @__PURE__ */ h({
|
|
2799
2799
|
inheritAttrs: !1,
|
|
2800
2800
|
__name: "MatrixCell",
|
|
2801
2801
|
props: {
|
|
@@ -2826,7 +2826,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2826
2826
|
),
|
|
2827
2827
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
2828
2828
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
2829
|
-
}, null, 10,
|
|
2829
|
+
}, null, 10, qo), [
|
|
2830
2830
|
[x, s.row.value]
|
|
2831
2831
|
]),
|
|
2832
2832
|
p("span", {
|
|
@@ -2838,7 +2838,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2838
2838
|
}, [
|
|
2839
2839
|
p("use", {
|
|
2840
2840
|
"xlink:href": s.question.itemSvgIcon
|
|
2841
|
-
}, null, 8,
|
|
2841
|
+
}, null, 8, yo)
|
|
2842
2842
|
], 2)) : d("", !0)
|
|
2843
2843
|
], 2),
|
|
2844
2844
|
s.question.isMobile ? (i(), u("span", {
|
|
@@ -2852,7 +2852,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2852
2852
|
], 34);
|
|
2853
2853
|
};
|
|
2854
2854
|
}
|
|
2855
|
-
}),
|
|
2855
|
+
}), ho = /* @__PURE__ */ h({
|
|
2856
2856
|
inheritAttrs: !1,
|
|
2857
2857
|
__name: "MatrixDropdown",
|
|
2858
2858
|
props: {
|
|
@@ -2869,14 +2869,14 @@ const so = /* @__PURE__ */ h({
|
|
|
2869
2869
|
}, null, 8, ["question"]);
|
|
2870
2870
|
};
|
|
2871
2871
|
}
|
|
2872
|
-
}),
|
|
2872
|
+
}), Co = { key: 0 }, bo = { key: 1 }, ko = /* @__PURE__ */ h({
|
|
2873
2873
|
__name: "MatrixTable",
|
|
2874
2874
|
props: {
|
|
2875
2875
|
question: {}
|
|
2876
2876
|
},
|
|
2877
2877
|
setup(r) {
|
|
2878
2878
|
const s = r, n = S(() => s.question.renderedTable);
|
|
2879
|
-
return
|
|
2879
|
+
return L(
|
|
2880
2880
|
() => n.value,
|
|
2881
2881
|
(e) => {
|
|
2882
2882
|
const o = ie();
|
|
@@ -2898,9 +2898,9 @@ const so = /* @__PURE__ */ h({
|
|
|
2898
2898
|
p("table", {
|
|
2899
2899
|
class: a(e.question.getTableCss())
|
|
2900
2900
|
}, [
|
|
2901
|
-
n.value.showHeader ? (i(), u("thead",
|
|
2901
|
+
n.value.showHeader ? (i(), u("thead", Co, [
|
|
2902
2902
|
p("tr", null, [
|
|
2903
|
-
(i(!0), u(
|
|
2903
|
+
(i(!0), u(D, null, B(n.value.headerRow.cells, (c) => (i(), u(D, null, [
|
|
2904
2904
|
c.hasTitle ? (i(), u("th", {
|
|
2905
2905
|
key: "header_" + c.id,
|
|
2906
2906
|
class: a(c.className),
|
|
@@ -2909,7 +2909,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2909
2909
|
(i(), g(T(e.question.getColumnHeaderWrapperComponentName(c)), {
|
|
2910
2910
|
componentData: e.question.getColumnHeaderWrapperComponentData(c)
|
|
2911
2911
|
}, {
|
|
2912
|
-
default:
|
|
2912
|
+
default: V(() => [
|
|
2913
2913
|
C(t, {
|
|
2914
2914
|
locString: c.locTitle
|
|
2915
2915
|
}, null, 8, ["locString"]),
|
|
@@ -2931,15 +2931,15 @@ const so = /* @__PURE__ */ h({
|
|
|
2931
2931
|
])
|
|
2932
2932
|
])) : d("", !0),
|
|
2933
2933
|
p("tbody", null, [
|
|
2934
|
-
(i(!0), u(
|
|
2934
|
+
(i(!0), u(D, null, B(n.value.renderedRows, (c) => (i(), g(m, {
|
|
2935
2935
|
key: e.question.inputId + "_" + c.id,
|
|
2936
2936
|
row: c,
|
|
2937
2937
|
question: e.question
|
|
2938
2938
|
}, null, 8, ["row", "question"]))), 128))
|
|
2939
2939
|
]),
|
|
2940
|
-
n.value.showFooter ? (i(), u("tfoot",
|
|
2940
|
+
n.value.showFooter ? (i(), u("tfoot", bo, [
|
|
2941
2941
|
p("tr", null, [
|
|
2942
|
-
(i(!0), u(
|
|
2942
|
+
(i(!0), u(D, null, B(n.value.footerRow.cells, (c, q) => (i(), g(v, {
|
|
2943
2943
|
cell: c,
|
|
2944
2944
|
question: e.question,
|
|
2945
2945
|
key: "footer_" + q
|
|
@@ -2950,7 +2950,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2950
2950
|
], 6);
|
|
2951
2951
|
};
|
|
2952
2952
|
}
|
|
2953
|
-
}),
|
|
2953
|
+
}), fo = /* @__PURE__ */ p("span", null, "\xA0", -1), wo = /* @__PURE__ */ h({
|
|
2954
2954
|
__name: "MatrixHeaderRequired",
|
|
2955
2955
|
props: {
|
|
2956
2956
|
question: {},
|
|
@@ -2958,15 +2958,15 @@ const so = /* @__PURE__ */ h({
|
|
|
2958
2958
|
},
|
|
2959
2959
|
setup(r) {
|
|
2960
2960
|
const s = r;
|
|
2961
|
-
return
|
|
2962
|
-
|
|
2961
|
+
return L(() => s.column), (n, e) => n.column.isRenderedRequired ? (i(), u(D, { key: 0 }, [
|
|
2962
|
+
fo,
|
|
2963
2963
|
n.column.isRenderedRequired ? (i(), u("span", {
|
|
2964
2964
|
key: 0,
|
|
2965
2965
|
class: a(n.question.cssClasses.cellRequiredText)
|
|
2966
2966
|
}, R(n.column.requiredText), 3)) : d("", !0)
|
|
2967
2967
|
], 64)) : d("", !0);
|
|
2968
2968
|
}
|
|
2969
|
-
}),
|
|
2969
|
+
}), Io = ["data-responsive-title", "title", "colspan"], So = /* @__PURE__ */ h({
|
|
2970
2970
|
__name: "MatrixDropdownCellComp",
|
|
2971
2971
|
props: {
|
|
2972
2972
|
question: {},
|
|
@@ -2994,28 +2994,28 @@ const so = /* @__PURE__ */ h({
|
|
|
2994
2994
|
if (q.hasPanel) {
|
|
2995
2995
|
const f = q.panel, k = f.survey;
|
|
2996
2996
|
if (k) {
|
|
2997
|
-
const
|
|
2998
|
-
if (
|
|
2999
|
-
return
|
|
2997
|
+
const _ = k.getElementWrapperComponentName(f);
|
|
2998
|
+
if (_)
|
|
2999
|
+
return _;
|
|
3000
3000
|
}
|
|
3001
3001
|
return "survey-panel";
|
|
3002
3002
|
}
|
|
3003
3003
|
}), c = S(() => {
|
|
3004
3004
|
if (s.cell.hasPanel) {
|
|
3005
3005
|
const f = s.cell.panel, k = f.survey;
|
|
3006
|
-
let
|
|
3007
|
-
return k && (
|
|
3006
|
+
let _;
|
|
3007
|
+
return k && (_ = k.getElementWrapperComponentData(f)), {
|
|
3008
3008
|
componentName: "survey-panel",
|
|
3009
3009
|
componentData: {
|
|
3010
3010
|
element: f,
|
|
3011
|
-
data:
|
|
3011
|
+
data: _,
|
|
3012
3012
|
css: s.question.cssClasses
|
|
3013
3013
|
}
|
|
3014
3014
|
};
|
|
3015
3015
|
}
|
|
3016
3016
|
});
|
|
3017
3017
|
return (q, f) => {
|
|
3018
|
-
const k = y("survey-errors"),
|
|
3018
|
+
const k = y("survey-errors"), _ = y("sv-matrix-drag-drop-icon"), b = y("sv-action-bar"), N = y("survey-radiogroup-item"), W = y("survey-checkbox-item"), F = y("survey-other-choice"), Q = y("survey-string");
|
|
3019
3019
|
return i(), u("td", {
|
|
3020
3020
|
class: a(q.cell.className),
|
|
3021
3021
|
"data-responsive-title": o(),
|
|
@@ -3030,7 +3030,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3030
3030
|
key: 0,
|
|
3031
3031
|
element: q.cell.question
|
|
3032
3032
|
}, null, 8, ["element"])) : d("", !0),
|
|
3033
|
-
q.cell.isDragHandlerCell ? (i(), g(
|
|
3033
|
+
q.cell.isDragHandlerCell ? (i(), g(_, {
|
|
3034
3034
|
key: 1,
|
|
3035
3035
|
item: { data: { row: q.cell.row, question: q.question } }
|
|
3036
3036
|
}, null, 8, ["item"])) : d("", !0),
|
|
@@ -3048,7 +3048,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3048
3048
|
key: 0,
|
|
3049
3049
|
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3050
3050
|
}, {
|
|
3051
|
-
default:
|
|
3051
|
+
default: V(() => [
|
|
3052
3052
|
(i(), g(T(m(q.cell.question)), {
|
|
3053
3053
|
question: q.cell.question
|
|
3054
3054
|
}, null, 8, ["question"]))
|
|
@@ -3063,7 +3063,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3063
3063
|
key: 2,
|
|
3064
3064
|
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3065
3065
|
}, {
|
|
3066
|
-
default:
|
|
3066
|
+
default: V(() => [
|
|
3067
3067
|
q.cell.isRadio ? (i(), g(N, {
|
|
3068
3068
|
key: q.cell.item.value,
|
|
3069
3069
|
question: q.cell.question,
|
|
@@ -3079,7 +3079,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3079
3079
|
]),
|
|
3080
3080
|
_: 1
|
|
3081
3081
|
}, 8, ["componentData"])) : d("", !0),
|
|
3082
|
-
q.cell.isOtherChoice ? (i(), g(
|
|
3082
|
+
q.cell.isOtherChoice ? (i(), g(F, {
|
|
3083
3083
|
key: 3,
|
|
3084
3084
|
question: q.cell.question
|
|
3085
3085
|
}, null, 8, ["question"])) : d("", !0)
|
|
@@ -3090,7 +3090,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3090
3090
|
key: 5,
|
|
3091
3091
|
componentData: q.question.getCellWrapperComponentData(q.cell)
|
|
3092
3092
|
}, {
|
|
3093
|
-
default:
|
|
3093
|
+
default: V(() => [
|
|
3094
3094
|
q.cell.hasTitle ? (i(), g(Q, {
|
|
3095
3095
|
key: 0,
|
|
3096
3096
|
locString: q.cell.locTitle
|
|
@@ -3102,10 +3102,10 @@ const so = /* @__PURE__ */ h({
|
|
|
3102
3102
|
]),
|
|
3103
3103
|
_: 1
|
|
3104
3104
|
}, 8, ["componentData"])) : d("", !0)
|
|
3105
|
-
], 46,
|
|
3105
|
+
], 46, Io);
|
|
3106
3106
|
};
|
|
3107
3107
|
}
|
|
3108
|
-
}),
|
|
3108
|
+
}), Ro = /* @__PURE__ */ h({
|
|
3109
3109
|
inheritAttrs: !1,
|
|
3110
3110
|
__name: "MatrixDynamic",
|
|
3111
3111
|
props: {
|
|
@@ -3196,7 +3196,7 @@ function ae(r, s = !0) {
|
|
|
3196
3196
|
row: s ? S(() => r.item.data.row) : void 0
|
|
3197
3197
|
};
|
|
3198
3198
|
}
|
|
3199
|
-
const
|
|
3199
|
+
const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
3200
3200
|
__name: "RemoveButton",
|
|
3201
3201
|
props: {
|
|
3202
3202
|
item: {}
|
|
@@ -3217,10 +3217,10 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3217
3217
|
p("span", {
|
|
3218
3218
|
class: a(w(n).cssClasses.iconRemove)
|
|
3219
3219
|
}, null, 2)
|
|
3220
|
-
], 10,
|
|
3220
|
+
], 10, To);
|
|
3221
3221
|
};
|
|
3222
3222
|
}
|
|
3223
|
-
}),
|
|
3223
|
+
}), _o = ["xlink:href"], Do = /* @__PURE__ */ h({
|
|
3224
3224
|
__name: "DragDropIcon",
|
|
3225
3225
|
props: {
|
|
3226
3226
|
item: {}
|
|
@@ -3233,13 +3233,13 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3233
3233
|
}, [
|
|
3234
3234
|
p("use", {
|
|
3235
3235
|
"xlink:href": w(n).iconDragElement
|
|
3236
|
-
}, null, 8,
|
|
3236
|
+
}, null, 8, _o)
|
|
3237
3237
|
], 2)) : (i(), u("span", {
|
|
3238
3238
|
key: 1,
|
|
3239
3239
|
class: a(w(n).cssClasses.iconDrag)
|
|
3240
3240
|
}, null, 2));
|
|
3241
3241
|
}
|
|
3242
|
-
}),
|
|
3242
|
+
}), Bo = ["aria-expanded", "aria-controls"], Lo = /* @__PURE__ */ h({
|
|
3243
3243
|
__name: "DetailButton",
|
|
3244
3244
|
props: {
|
|
3245
3245
|
item: {}
|
|
@@ -3260,10 +3260,10 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3260
3260
|
iconName: w(n).getDetailPanelIconId(w(e)),
|
|
3261
3261
|
size: "auto"
|
|
3262
3262
|
}, null, 8, ["class", "iconName"])
|
|
3263
|
-
], 10,
|
|
3263
|
+
], 10, Bo);
|
|
3264
3264
|
};
|
|
3265
3265
|
}
|
|
3266
|
-
}),
|
|
3266
|
+
}), No = /* @__PURE__ */ h({
|
|
3267
3267
|
inheritAttrs: !1,
|
|
3268
3268
|
__name: "PanelDynamic",
|
|
3269
3269
|
props: {
|
|
@@ -3314,7 +3314,7 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3314
3314
|
};
|
|
3315
3315
|
};
|
|
3316
3316
|
return (m, v) => {
|
|
3317
|
-
const c = y("survey-string"), q = y("sv-paneldynamic-add-btn"), f = y("survey-paneldynamicprogress"), k = y("sv-paneldynamic-remove-btn"),
|
|
3317
|
+
const c = y("survey-string"), q = y("sv-paneldynamic-add-btn"), f = y("survey-paneldynamicprogress"), k = y("sv-paneldynamic-remove-btn"), _ = y("survey-paneldynamicprogress-v2");
|
|
3318
3318
|
return i(), u("div", {
|
|
3319
3319
|
class: a(m.question.cssClasses.root),
|
|
3320
3320
|
ref_key: "root",
|
|
@@ -3350,7 +3350,7 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3350
3350
|
p("div", {
|
|
3351
3351
|
class: a(m.question.cssClasses.panelsContainer)
|
|
3352
3352
|
}, [
|
|
3353
|
-
(i(!0), u(
|
|
3353
|
+
(i(!0), u(D, null, B(m.question.renderedPanels, (b, N) => (i(), u(D, {
|
|
3354
3354
|
key: b.id
|
|
3355
3355
|
}, [
|
|
3356
3356
|
p("div", {
|
|
@@ -3376,14 +3376,14 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3376
3376
|
key: 4,
|
|
3377
3377
|
data: { question: m.question }
|
|
3378
3378
|
}, null, 8, ["data"])) : d("", !0),
|
|
3379
|
-
m.question.showNavigation ? (i(), g(
|
|
3379
|
+
m.question.showNavigation ? (i(), g(_, {
|
|
3380
3380
|
key: 5,
|
|
3381
3381
|
question: m.question
|
|
3382
3382
|
}, null, 8, ["question"])) : d("", !0)
|
|
3383
3383
|
], 2);
|
|
3384
3384
|
};
|
|
3385
3385
|
}
|
|
3386
|
-
}),
|
|
3386
|
+
}), Po = /* @__PURE__ */ h({
|
|
3387
3387
|
__name: "PanelDynamicProgress",
|
|
3388
3388
|
props: {
|
|
3389
3389
|
question: {}
|
|
@@ -3429,7 +3429,7 @@ const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
|
3429
3429
|
], 2);
|
|
3430
3430
|
};
|
|
3431
3431
|
}
|
|
3432
|
-
}),
|
|
3432
|
+
}), Ao = /* @__PURE__ */ h({
|
|
3433
3433
|
__name: "PanelDynamicProgressV2",
|
|
3434
3434
|
props: {
|
|
3435
3435
|
question: {}
|
|
@@ -3471,7 +3471,7 @@ function Y(r) {
|
|
|
3471
3471
|
() => r.item && r.item.data.question || r.data.question
|
|
3472
3472
|
);
|
|
3473
3473
|
}
|
|
3474
|
-
const
|
|
3474
|
+
const Mo = /* @__PURE__ */ h({
|
|
3475
3475
|
__name: "PaneldynamicAddBtn",
|
|
3476
3476
|
props: {
|
|
3477
3477
|
item: {},
|
|
@@ -3499,7 +3499,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3499
3499
|
], 2)) : d("", !0);
|
|
3500
3500
|
};
|
|
3501
3501
|
}
|
|
3502
|
-
}),
|
|
3502
|
+
}), Eo = ["title"], Ho = /* @__PURE__ */ h({
|
|
3503
3503
|
__name: "PaneldynamicNextBtn",
|
|
3504
3504
|
props: {
|
|
3505
3505
|
item: {},
|
|
@@ -3520,10 +3520,10 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3520
3520
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3521
3521
|
size: "auto"
|
|
3522
3522
|
}, null, 8, ["iconName"])
|
|
3523
|
-
], 10,
|
|
3523
|
+
], 10, Eo);
|
|
3524
3524
|
};
|
|
3525
3525
|
}
|
|
3526
|
-
}),
|
|
3526
|
+
}), Wo = ["title"], Fo = /* @__PURE__ */ h({
|
|
3527
3527
|
__name: "PaneldynamicPrevBtn",
|
|
3528
3528
|
props: {
|
|
3529
3529
|
item: {},
|
|
@@ -3544,7 +3544,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3544
3544
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3545
3545
|
size: "auto"
|
|
3546
3546
|
}, null, 8, ["iconName"])
|
|
3547
|
-
], 10,
|
|
3547
|
+
], 10, Wo);
|
|
3548
3548
|
};
|
|
3549
3549
|
}
|
|
3550
3550
|
}), Vo = /* @__PURE__ */ h({
|
|
@@ -3579,7 +3579,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3579
3579
|
], 2);
|
|
3580
3580
|
};
|
|
3581
3581
|
}
|
|
3582
|
-
}),
|
|
3582
|
+
}), Oo = /* @__PURE__ */ h({
|
|
3583
3583
|
__name: "PaneldynamicProgressText",
|
|
3584
3584
|
props: {
|
|
3585
3585
|
item: {},
|
|
@@ -3591,7 +3591,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3591
3591
|
class: a(w(n).cssClasses.progressText)
|
|
3592
3592
|
}, R(w(n).progressText), 3));
|
|
3593
3593
|
}
|
|
3594
|
-
}),
|
|
3594
|
+
}), zo = ["id"], Uo = /* @__PURE__ */ h({
|
|
3595
3595
|
__name: "Errors",
|
|
3596
3596
|
props: {
|
|
3597
3597
|
element: {},
|
|
@@ -3608,22 +3608,22 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3608
3608
|
ref_key: "root",
|
|
3609
3609
|
ref: s
|
|
3610
3610
|
}, [
|
|
3611
|
-
(i(!0), u(
|
|
3611
|
+
(i(!0), u(D, null, B(n.element.errors, (o, t) => (i(), g(T(n.element.survey.questionErrorComponent), {
|
|
3612
3612
|
element: n.element,
|
|
3613
3613
|
key: "error_" + t,
|
|
3614
3614
|
errorKey: "error_" + t,
|
|
3615
3615
|
error: o,
|
|
3616
3616
|
cssClasses: n.element.cssClasses
|
|
3617
3617
|
}, null, 8, ["element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3618
|
-
], 10,
|
|
3618
|
+
], 10, zo)) : d("", !0);
|
|
3619
3619
|
}
|
|
3620
|
-
}),
|
|
3620
|
+
}), Ko = { key: 0 }, Qo = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], jo = /* @__PURE__ */ h({
|
|
3621
3621
|
__name: "QuestionComment",
|
|
3622
3622
|
props: {
|
|
3623
3623
|
question: {}
|
|
3624
3624
|
},
|
|
3625
3625
|
setup(r) {
|
|
3626
|
-
return (s, n) => s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
3626
|
+
return (s, n) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Ko, R(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3627
3627
|
key: 1,
|
|
3628
3628
|
id: s.question.commentId,
|
|
3629
3629
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3641,9 +3641,9 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3641
3641
|
onInput: n[1] || (n[1] = (e) => {
|
|
3642
3642
|
s.question.onCommentInput(e);
|
|
3643
3643
|
})
|
|
3644
|
-
}, null, 46,
|
|
3644
|
+
}, null, 46, Qo));
|
|
3645
3645
|
}
|
|
3646
|
-
}),
|
|
3646
|
+
}), Go = /* @__PURE__ */ h({
|
|
3647
3647
|
__name: "TitleElement",
|
|
3648
3648
|
props: {
|
|
3649
3649
|
element: {},
|
|
@@ -3667,7 +3667,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3667
3667
|
s(l);
|
|
3668
3668
|
})
|
|
3669
3669
|
}, {
|
|
3670
|
-
default:
|
|
3670
|
+
default: V(() => [
|
|
3671
3671
|
n.element.hasTitleActions ? d("", !0) : (i(), g(o, {
|
|
3672
3672
|
key: 0,
|
|
3673
3673
|
element: n.element,
|
|
@@ -3683,7 +3683,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3683
3683
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3684
3684
|
};
|
|
3685
3685
|
}
|
|
3686
|
-
}),
|
|
3686
|
+
}), Jo = { key: 3 }, Xo = { key: 5 }, Yo = { key: 7 }, Zo = /* @__PURE__ */ h({
|
|
3687
3687
|
inheritAttrs: !1,
|
|
3688
3688
|
__name: "TitleContent",
|
|
3689
3689
|
props: {
|
|
@@ -3696,7 +3696,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3696
3696
|
);
|
|
3697
3697
|
return (e, o) => {
|
|
3698
3698
|
const t = y("survey-string");
|
|
3699
|
-
return i(), u(
|
|
3699
|
+
return i(), u(D, null, [
|
|
3700
3700
|
e.element.isTitleRenderedAsString ? (i(), g(t, {
|
|
3701
3701
|
key: 0,
|
|
3702
3702
|
locString: e.element.locTitle
|
|
@@ -3712,18 +3712,18 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3712
3712
|
class: a(e.element.cssTitleNumber),
|
|
3713
3713
|
"aria-hidden": !0
|
|
3714
3714
|
}, R(e.element.no), 3)) : d("", !0),
|
|
3715
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), u("span",
|
|
3715
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), u("span", Jo, "\xA0")) : d("", !0),
|
|
3716
3716
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3717
3717
|
key: 4,
|
|
3718
3718
|
class: a(n.value.requiredText),
|
|
3719
3719
|
"aria-hidden": !0
|
|
3720
3720
|
}, R(e.element.requiredText), 3)) : d("", !0),
|
|
3721
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span",
|
|
3721
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span", Xo, "\xA0")) : d("", !0),
|
|
3722
3722
|
e.element.isTitleRenderedAsString ? d("", !0) : (i(), g(t, {
|
|
3723
3723
|
key: 6,
|
|
3724
3724
|
locString: e.element.locTitle
|
|
3725
3725
|
}, null, 8, ["locString"])),
|
|
3726
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span",
|
|
3726
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span", Yo, "\xA0")) : d("", !0),
|
|
3727
3727
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span", {
|
|
3728
3728
|
key: 8,
|
|
3729
3729
|
class: a(n.value.requiredText),
|
|
@@ -3732,7 +3732,7 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3732
3732
|
], 64);
|
|
3733
3733
|
};
|
|
3734
3734
|
}
|
|
3735
|
-
}),
|
|
3735
|
+
}), xo = { class: "sv-title-actions" }, et = { class: "sv-title-actions__title" }, st = /* @__PURE__ */ h({
|
|
3736
3736
|
__name: "TitleActions",
|
|
3737
3737
|
props: {
|
|
3738
3738
|
element: {},
|
|
@@ -3742,8 +3742,8 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3742
3742
|
const s = r, n = S(() => s.element.getTitleToolbar());
|
|
3743
3743
|
return (e, o) => {
|
|
3744
3744
|
const t = y("survey-string"), l = y("survey-element-title-content"), m = y("sv-action-bar");
|
|
3745
|
-
return i(), u("div",
|
|
3746
|
-
p("span",
|
|
3745
|
+
return i(), u("div", xo, [
|
|
3746
|
+
p("span", et, [
|
|
3747
3747
|
e.element.isPage ? (i(), g(t, {
|
|
3748
3748
|
key: 0,
|
|
3749
3749
|
locString: e.element.locTitle
|
|
@@ -3763,15 +3763,15 @@ const Ao = /* @__PURE__ */ h({
|
|
|
3763
3763
|
for (const [e, o] of s)
|
|
3764
3764
|
n[e] = o;
|
|
3765
3765
|
return n;
|
|
3766
|
-
},
|
|
3767
|
-
|
|
3766
|
+
}, nt = {}, ot = { class: "sv-brand-info" }, tt = /* @__PURE__ */ Se('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), it = [
|
|
3767
|
+
tt
|
|
3768
3768
|
];
|
|
3769
|
-
function
|
|
3770
|
-
return i(), u("div",
|
|
3769
|
+
function rt(r, s) {
|
|
3770
|
+
return i(), u("div", ot, it);
|
|
3771
3771
|
}
|
|
3772
|
-
const
|
|
3773
|
-
|
|
3774
|
-
],
|
|
3772
|
+
const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use", null, null, -1), ut = [
|
|
3773
|
+
at
|
|
3774
|
+
], dt = /* @__PURE__ */ h({
|
|
3775
3775
|
__name: "SvgIcon",
|
|
3776
3776
|
props: {
|
|
3777
3777
|
size: {},
|
|
@@ -3782,7 +3782,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3782
3782
|
},
|
|
3783
3783
|
setup(r) {
|
|
3784
3784
|
const s = r, n = $(), e = () => {
|
|
3785
|
-
|
|
3785
|
+
Pe(
|
|
3786
3786
|
s.size,
|
|
3787
3787
|
s.width,
|
|
3788
3788
|
s.height,
|
|
@@ -3800,9 +3800,9 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3800
3800
|
ref: n,
|
|
3801
3801
|
class: "sv-svg-icon",
|
|
3802
3802
|
role: "img"
|
|
3803
|
-
},
|
|
3803
|
+
}, ut, 512));
|
|
3804
3804
|
}
|
|
3805
|
-
}),
|
|
3805
|
+
}), mt = /* @__PURE__ */ h({
|
|
3806
3806
|
__name: "QuestionError",
|
|
3807
3807
|
props: {
|
|
3808
3808
|
errorKey: {},
|
|
@@ -3832,7 +3832,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3832
3832
|
]);
|
|
3833
3833
|
};
|
|
3834
3834
|
}
|
|
3835
|
-
}),
|
|
3835
|
+
}), ct = /* @__PURE__ */ h({
|
|
3836
3836
|
__name: "ActionBar",
|
|
3837
3837
|
props: {
|
|
3838
3838
|
model: {},
|
|
@@ -3843,7 +3843,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3843
3843
|
const s = r, n = $(null), e = (t) => {
|
|
3844
3844
|
s.handleClick && t.stopPropagation();
|
|
3845
3845
|
};
|
|
3846
|
-
|
|
3846
|
+
L(() => s.model);
|
|
3847
3847
|
const o = le(() => s.model.renderedActions);
|
|
3848
3848
|
return M(() => {
|
|
3849
3849
|
!s.model.hasActions || s.model.initResponsivityManager(n.value);
|
|
@@ -3858,14 +3858,14 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3858
3858
|
class: a(t.model.getRootCss()),
|
|
3859
3859
|
onClick: e
|
|
3860
3860
|
}, [
|
|
3861
|
-
(i(!0), u(
|
|
3861
|
+
(i(!0), u(D, null, B(w(o), (v) => (i(), g(m, {
|
|
3862
3862
|
key: v.id,
|
|
3863
3863
|
item: v
|
|
3864
3864
|
}, null, 8, ["item"]))), 128))
|
|
3865
3865
|
], 2)) : d("", !0);
|
|
3866
3866
|
};
|
|
3867
3867
|
}
|
|
3868
|
-
}),
|
|
3868
|
+
}), pt = ["id"], vt = { class: "sv-action__content" }, qt = /* @__PURE__ */ h({
|
|
3869
3869
|
__name: "Action",
|
|
3870
3870
|
props: {
|
|
3871
3871
|
item: {}
|
|
@@ -3874,30 +3874,30 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3874
3874
|
const s = r, n = S(
|
|
3875
3875
|
() => s.item.component || "sv-action-bar-item"
|
|
3876
3876
|
);
|
|
3877
|
-
return
|
|
3877
|
+
return L(() => s.item), (e, o) => {
|
|
3878
3878
|
const t = y("sv-action-bar-separator");
|
|
3879
3879
|
return i(), u("div", {
|
|
3880
3880
|
class: a(e.item.getActionRootCss()),
|
|
3881
3881
|
id: e.item.id
|
|
3882
3882
|
}, [
|
|
3883
|
-
p("div",
|
|
3883
|
+
p("div", vt, [
|
|
3884
3884
|
e.item.needSeparator ? (i(), g(t, { key: 0 })) : d("", !0),
|
|
3885
3885
|
(i(), g(T(n.value), { item: e.item }, null, 8, ["item"]))
|
|
3886
3886
|
])
|
|
3887
|
-
], 10,
|
|
3887
|
+
], 10, pt);
|
|
3888
3888
|
};
|
|
3889
3889
|
}
|
|
3890
|
-
}),
|
|
3890
|
+
}), yt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], gt = {
|
|
3891
3891
|
inheritAttrs: !1
|
|
3892
|
-
},
|
|
3893
|
-
...
|
|
3892
|
+
}, ht = /* @__PURE__ */ h({
|
|
3893
|
+
...gt,
|
|
3894
3894
|
__name: "ActionBarItem",
|
|
3895
3895
|
props: {
|
|
3896
3896
|
item: {}
|
|
3897
3897
|
},
|
|
3898
3898
|
setup(r) {
|
|
3899
3899
|
const s = r;
|
|
3900
|
-
return
|
|
3900
|
+
return L(() => s.item), (n, e) => {
|
|
3901
3901
|
const o = y("sv-svg-icon"), t = X("key2click");
|
|
3902
3902
|
return P((i(), u("button", {
|
|
3903
3903
|
class: a(n.item.getActionBarItemCss()),
|
|
@@ -3925,33 +3925,33 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3925
3925
|
key: 1,
|
|
3926
3926
|
class: a(n.item.getActionBarItemTitleCss())
|
|
3927
3927
|
}, R(n.item.title), 3)) : d("", !0)
|
|
3928
|
-
], 42,
|
|
3928
|
+
], 42, yt)), [
|
|
3929
3929
|
[t, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3930
3930
|
]);
|
|
3931
3931
|
};
|
|
3932
3932
|
}
|
|
3933
|
-
}),
|
|
3933
|
+
}), Ct = ["disabled", "title", "role"], bt = {
|
|
3934
3934
|
inheritAttrs: !1
|
|
3935
|
-
},
|
|
3936
|
-
...
|
|
3935
|
+
}, kt = /* @__PURE__ */ h({
|
|
3936
|
+
...bt,
|
|
3937
3937
|
__name: "ActionBarItemDropdown",
|
|
3938
3938
|
props: {
|
|
3939
3939
|
item: {}
|
|
3940
3940
|
},
|
|
3941
3941
|
setup(r) {
|
|
3942
|
-
const s = r, n =
|
|
3942
|
+
const s = r, n = Me;
|
|
3943
3943
|
let e;
|
|
3944
|
-
return
|
|
3944
|
+
return L(
|
|
3945
3945
|
() => s.item,
|
|
3946
3946
|
(o) => {
|
|
3947
|
-
e = new
|
|
3947
|
+
e = new Ae(o);
|
|
3948
3948
|
},
|
|
3949
3949
|
() => {
|
|
3950
3950
|
e.dispose();
|
|
3951
3951
|
}
|
|
3952
3952
|
), (o, t) => {
|
|
3953
3953
|
const l = y("sv-svg-icon"), m = y("sv-popup"), v = X("key2click");
|
|
3954
|
-
return i(), u(
|
|
3954
|
+
return i(), u(D, null, [
|
|
3955
3955
|
P((i(), u("button", {
|
|
3956
3956
|
type: "button",
|
|
3957
3957
|
class: a(o.item.getActionBarItemCss()),
|
|
@@ -3976,7 +3976,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3976
3976
|
key: 1,
|
|
3977
3977
|
class: a(o.item.getActionBarItemTitleCss())
|
|
3978
3978
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3979
|
-
], 42,
|
|
3979
|
+
], 42, Ct)), [
|
|
3980
3980
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3981
3981
|
]),
|
|
3982
3982
|
C(m, {
|
|
@@ -3986,7 +3986,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3986
3986
|
], 64);
|
|
3987
3987
|
};
|
|
3988
3988
|
}
|
|
3989
|
-
}),
|
|
3989
|
+
}), ft = /* @__PURE__ */ h({
|
|
3990
3990
|
__name: "ActionBarSeparator",
|
|
3991
3991
|
props: {
|
|
3992
3992
|
item: {}
|
|
@@ -3997,7 +3997,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
3997
3997
|
class: a(["sv-action-bar-separator", n.value])
|
|
3998
3998
|
}, null, 2));
|
|
3999
3999
|
}
|
|
4000
|
-
}),
|
|
4000
|
+
}), wt = ["aria-label", "placeholder", "value"], It = ["aria-label"], St = ["id"], Rt = /* @__PURE__ */ h({
|
|
4001
4001
|
__name: "List",
|
|
4002
4002
|
props: {
|
|
4003
4003
|
model: {}
|
|
@@ -4012,7 +4012,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4012
4012
|
}, t = (l) => {
|
|
4013
4013
|
s.model.onMouseMove(l);
|
|
4014
4014
|
};
|
|
4015
|
-
return
|
|
4015
|
+
return L(() => s.model), M(() => {
|
|
4016
4016
|
s.model.initListContainerHtmlElement(n.value);
|
|
4017
4017
|
}), (l, m) => {
|
|
4018
4018
|
const v = y("sv-svg-icon"), c = y("sv-list-item");
|
|
@@ -4041,7 +4041,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4041
4041
|
value: l.model.filterString,
|
|
4042
4042
|
onChange: e,
|
|
4043
4043
|
onKeyup: o
|
|
4044
|
-
}, null, 42,
|
|
4044
|
+
}, null, 42, wt),
|
|
4045
4045
|
l.model.showSearchClearButton && !!l.model.filterString ? (i(), u("button", {
|
|
4046
4046
|
key: 0,
|
|
4047
4047
|
onClick: m[0] || (m[0] = (q) => {
|
|
@@ -4061,7 +4061,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4061
4061
|
p("div", {
|
|
4062
4062
|
class: a(l.model.cssClasses.emptyText),
|
|
4063
4063
|
"aria-label": l.model.emptyMessage
|
|
4064
|
-
}, R(l.model.emptyMessage), 11,
|
|
4064
|
+
}, R(l.model.emptyMessage), 11, It)
|
|
4065
4065
|
], 2), [
|
|
4066
4066
|
[E, l.model.isEmpty]
|
|
4067
4067
|
]),
|
|
@@ -4078,18 +4078,18 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4078
4078
|
l.model.onKeyDown(q);
|
|
4079
4079
|
})
|
|
4080
4080
|
}, [
|
|
4081
|
-
(i(!0), u(
|
|
4081
|
+
(i(!0), u(D, null, B(l.model.renderedActions, (q) => (i(), g(c, {
|
|
4082
4082
|
item: q,
|
|
4083
4083
|
model: l.model,
|
|
4084
4084
|
key: q.id
|
|
4085
4085
|
}, null, 8, ["item", "model"]))), 128))
|
|
4086
|
-
], 42,
|
|
4086
|
+
], 42, St)), [
|
|
4087
4087
|
[E, !l.model.isEmpty]
|
|
4088
4088
|
]) : d("", !0)
|
|
4089
4089
|
], 2);
|
|
4090
4090
|
};
|
|
4091
4091
|
}
|
|
4092
|
-
}),
|
|
4092
|
+
}), Tt = ["aria-selected", "id", "tabindex"], $t = ["title"], _t = /* @__PURE__ */ h({
|
|
4093
4093
|
__name: "ListItem",
|
|
4094
4094
|
props: {
|
|
4095
4095
|
model: {},
|
|
@@ -4099,7 +4099,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4099
4099
|
const s = r, n = S(() => s.item.elementId), e = (o) => {
|
|
4100
4100
|
s.model.onItemClick(s.item), o.stopPropagation();
|
|
4101
4101
|
};
|
|
4102
|
-
return
|
|
4102
|
+
return L(() => s.item), M(() => {
|
|
4103
4103
|
setTimeout(() => {
|
|
4104
4104
|
s.model.onLastItemRended(s.item);
|
|
4105
4105
|
});
|
|
@@ -4138,14 +4138,14 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4138
4138
|
key: 2,
|
|
4139
4139
|
item: o.item
|
|
4140
4140
|
}, null, 8, ["item"])) : d("", !0)
|
|
4141
|
-
], 14,
|
|
4142
|
-
], 42,
|
|
4141
|
+
], 14, $t)
|
|
4142
|
+
], 42, Tt)), [
|
|
4143
4143
|
[E, o.model.isItemVisible(o.item)],
|
|
4144
4144
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4145
4145
|
]);
|
|
4146
4146
|
};
|
|
4147
4147
|
}
|
|
4148
|
-
}),
|
|
4148
|
+
}), Dt = /* @__PURE__ */ h({
|
|
4149
4149
|
__name: "Popup",
|
|
4150
4150
|
props: {
|
|
4151
4151
|
getTarget: { type: Function },
|
|
@@ -4156,10 +4156,10 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4156
4156
|
return K(
|
|
4157
4157
|
() => s.model,
|
|
4158
4158
|
(o) => {
|
|
4159
|
-
n.value && n.value.dispose(), n.value =
|
|
4159
|
+
n.value && n.value.dispose(), n.value = Ee(o, void 0);
|
|
4160
4160
|
},
|
|
4161
4161
|
{ immediate: !0 }
|
|
4162
|
-
),
|
|
4162
|
+
), L(() => n.value), M(() => {
|
|
4163
4163
|
const o = e.value;
|
|
4164
4164
|
n.value.setComponentElement(
|
|
4165
4165
|
o,
|
|
@@ -4177,13 +4177,13 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4177
4177
|
], 512);
|
|
4178
4178
|
};
|
|
4179
4179
|
}
|
|
4180
|
-
}),
|
|
4180
|
+
}), Bt = { class: "sv-popup__shadow" }, Lt = { class: "sv-popup__body-content" }, Nt = {
|
|
4181
4181
|
key: 0,
|
|
4182
4182
|
class: "sv-popup__body-header"
|
|
4183
|
-
},
|
|
4183
|
+
}, Pt = { class: "sv-popup__scrolling-content" }, At = { class: "sv-popup__content" }, Mt = {
|
|
4184
4184
|
key: 1,
|
|
4185
4185
|
class: "sv-popup__body-footer"
|
|
4186
|
-
},
|
|
4186
|
+
}, Et = /* @__PURE__ */ h({
|
|
4187
4187
|
__name: "PopupContainer",
|
|
4188
4188
|
props: {
|
|
4189
4189
|
model: {}
|
|
@@ -4192,7 +4192,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4192
4192
|
const s = r, n = (e) => {
|
|
4193
4193
|
e.stopPropagation();
|
|
4194
4194
|
};
|
|
4195
|
-
return
|
|
4195
|
+
return L(() => s.model), te(() => {
|
|
4196
4196
|
const e = s.model;
|
|
4197
4197
|
e.isVisible && !e.isPositionSet && s.model.updateOnShowing();
|
|
4198
4198
|
}), M(() => {
|
|
@@ -4220,19 +4220,19 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4220
4220
|
}),
|
|
4221
4221
|
onClick: n
|
|
4222
4222
|
}, [
|
|
4223
|
-
p("div",
|
|
4223
|
+
p("div", Bt, [
|
|
4224
4224
|
e.model.showHeader ? (i(), g(T(e.model.popupHeaderTemplate), {
|
|
4225
4225
|
key: 0,
|
|
4226
4226
|
model: e.model
|
|
4227
4227
|
}, null, 8, ["model"])) : d("", !0),
|
|
4228
|
-
p("div",
|
|
4229
|
-
e.model.title ? (i(), u("div",
|
|
4230
|
-
p("div",
|
|
4231
|
-
p("div",
|
|
4228
|
+
p("div", Lt, [
|
|
4229
|
+
e.model.title ? (i(), u("div", Nt, R(e.model.title), 1)) : d("", !0),
|
|
4230
|
+
p("div", Pt, [
|
|
4231
|
+
p("div", At, [
|
|
4232
4232
|
(i(), g(T(e.model.contentComponentName), z(ne(e.model.contentComponentData)), null, 16))
|
|
4233
4233
|
])
|
|
4234
4234
|
]),
|
|
4235
|
-
e.model.showFooter ? (i(), u("div",
|
|
4235
|
+
e.model.showFooter ? (i(), u("div", Mt, [
|
|
4236
4236
|
C(t, {
|
|
4237
4237
|
model: e.model.footerToolbar
|
|
4238
4238
|
}, null, 8, ["model"])
|
|
@@ -4245,7 +4245,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4245
4245
|
]);
|
|
4246
4246
|
};
|
|
4247
4247
|
}
|
|
4248
|
-
}),
|
|
4248
|
+
}), Ht = /* @__PURE__ */ h({
|
|
4249
4249
|
__name: "PopupPointer",
|
|
4250
4250
|
props: {
|
|
4251
4251
|
model: {}
|
|
@@ -4259,10 +4259,10 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4259
4259
|
})
|
|
4260
4260
|
}, null, 4));
|
|
4261
4261
|
}
|
|
4262
|
-
}),
|
|
4262
|
+
}), Wt = {
|
|
4263
4263
|
key: 0,
|
|
4264
4264
|
class: "sv-components-column"
|
|
4265
|
-
},
|
|
4265
|
+
}, Ft = /* @__PURE__ */ h({
|
|
4266
4266
|
__name: "Container",
|
|
4267
4267
|
props: {
|
|
4268
4268
|
survey: {},
|
|
@@ -4273,14 +4273,14 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4273
4273
|
const s = r, n = S(
|
|
4274
4274
|
() => s.survey.getContainerContent(s.container)
|
|
4275
4275
|
);
|
|
4276
|
-
return (e, o) => n.value.length > 0 ? (i(), u(
|
|
4277
|
-
e.needRenderWrapper ? (i(), u("div",
|
|
4278
|
-
(i(!0), u(
|
|
4276
|
+
return (e, o) => n.value.length > 0 ? (i(), u(D, { key: 0 }, [
|
|
4277
|
+
e.needRenderWrapper ? (i(), u("div", Wt, [
|
|
4278
|
+
(i(!0), u(D, null, B(n.value, (t, l) => (i(), g(T(t.component), {
|
|
4279
4279
|
survey: e.survey,
|
|
4280
4280
|
container: e.container,
|
|
4281
4281
|
model: t.data
|
|
4282
4282
|
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4283
|
-
])) : (i(!0), u(
|
|
4283
|
+
])) : (i(!0), u(D, { key: 1 }, B(n.value, (t, l) => (i(), g(T(t.component), {
|
|
4284
4284
|
survey: e.survey,
|
|
4285
4285
|
container: e.container,
|
|
4286
4286
|
model: t.data
|
|
@@ -4316,7 +4316,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4316
4316
|
}, R(t.survey.progressText), 3)
|
|
4317
4317
|
], 2));
|
|
4318
4318
|
}
|
|
4319
|
-
}), Vt = ["title"],
|
|
4319
|
+
}), Vt = ["title"], Ot = ["onClick", "data-page-number"], zt = ["title"], Ut = ["title"], Kt = ["title"], Qt = /* @__PURE__ */ h({
|
|
4320
4320
|
__name: "ProgressButtons",
|
|
4321
4321
|
props: {
|
|
4322
4322
|
survey: {},
|
|
@@ -4332,7 +4332,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4332
4332
|
};
|
|
4333
4333
|
return M(() => {
|
|
4334
4334
|
const q = l.value;
|
|
4335
|
-
v = new
|
|
4335
|
+
v = new He(s.model, q, {
|
|
4336
4336
|
onResize: (f) => {
|
|
4337
4337
|
t.value = f, e.value = !f;
|
|
4338
4338
|
},
|
|
@@ -4370,7 +4370,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4370
4370
|
}, [
|
|
4371
4371
|
p("div", {
|
|
4372
4372
|
class: a(q.model.getScrollButtonCss(n.value, !0)),
|
|
4373
|
-
onClick: f[0] || (f[0] = (
|
|
4373
|
+
onClick: f[0] || (f[0] = (_) => c(!0)),
|
|
4374
4374
|
role: "button"
|
|
4375
4375
|
}, null, 2),
|
|
4376
4376
|
p("div", {
|
|
@@ -4381,11 +4381,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4381
4381
|
p("ul", {
|
|
4382
4382
|
class: a(m.value.progressButtonsList)
|
|
4383
4383
|
}, [
|
|
4384
|
-
(i(!0), u(
|
|
4384
|
+
(i(!0), u(D, null, B(q.survey.visiblePages, (_, b) => (i(), u("li", {
|
|
4385
4385
|
key: "listelement" + b,
|
|
4386
4386
|
class: a(q.model.getListElementCss(b)),
|
|
4387
|
-
onClick: (N) => q.model.isListElementClickable(b) ? q.model.clickListElement(
|
|
4388
|
-
"data-page-number": q.model.getItemNumber(
|
|
4387
|
+
onClick: (N) => q.model.isListElementClickable(b) ? q.model.clickListElement(_) : null,
|
|
4388
|
+
"data-page-number": q.model.getItemNumber(_)
|
|
4389
4389
|
}, [
|
|
4390
4390
|
p("div", {
|
|
4391
4391
|
class: a(m.value.progressButtonsConnector)
|
|
@@ -4393,17 +4393,17 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4393
4393
|
t.value ? (i(), u("div", {
|
|
4394
4394
|
key: 0,
|
|
4395
4395
|
class: a(m.value.progressButtonsPageTitle),
|
|
4396
|
-
title:
|
|
4396
|
+
title: _.renderedNavigationTitle
|
|
4397
4397
|
}, [
|
|
4398
4398
|
C(k, {
|
|
4399
|
-
locString:
|
|
4399
|
+
locString: _.locNavigationTitle
|
|
4400
4400
|
}, null, 8, ["locString"])
|
|
4401
|
-
], 10,
|
|
4401
|
+
], 10, zt)) : d("", !0),
|
|
4402
4402
|
t.value ? (i(), u("div", {
|
|
4403
4403
|
key: 1,
|
|
4404
4404
|
class: a(m.value.progressButtonsPageDescription),
|
|
4405
|
-
title:
|
|
4406
|
-
}, R(
|
|
4405
|
+
title: _.locNavigationDescription.renderedHtml
|
|
4406
|
+
}, R(_.locNavigationDescription.renderedHtml), 11, Ut)) : d("", !0),
|
|
4407
4407
|
p("div", {
|
|
4408
4408
|
class: a(m.value.progressButtonsButton)
|
|
4409
4409
|
}, [
|
|
@@ -4413,14 +4413,14 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4413
4413
|
p("div", {
|
|
4414
4414
|
class: a(m.value.progressButtonsButtonContent)
|
|
4415
4415
|
}, null, 2),
|
|
4416
|
-
p("span", null, R(q.model.getItemNumber(
|
|
4416
|
+
p("span", null, R(q.model.getItemNumber(_)), 1)
|
|
4417
4417
|
], 2)
|
|
4418
|
-
], 10,
|
|
4418
|
+
], 10, Ot))), 128))
|
|
4419
4419
|
], 2)
|
|
4420
4420
|
], 2),
|
|
4421
4421
|
p("div", {
|
|
4422
4422
|
class: a(q.model.getScrollButtonCss(n.value, !1)),
|
|
4423
|
-
onClick: f[1] || (f[1] = (
|
|
4423
|
+
onClick: f[1] || (f[1] = (_) => c(!1)),
|
|
4424
4424
|
role: "button"
|
|
4425
4425
|
}, null, 2)
|
|
4426
4426
|
], 2),
|
|
@@ -4431,12 +4431,12 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4431
4431
|
p("div", {
|
|
4432
4432
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4433
4433
|
title: q.model.footerText
|
|
4434
|
-
}, R(q.model.footerText), 11,
|
|
4434
|
+
}, R(q.model.footerText), 11, Kt)
|
|
4435
4435
|
], 2)) : d("", !0)
|
|
4436
4436
|
], 6);
|
|
4437
4437
|
};
|
|
4438
4438
|
}
|
|
4439
|
-
}),
|
|
4439
|
+
}), jt = /* @__PURE__ */ h({
|
|
4440
4440
|
__name: "ProgressToc",
|
|
4441
4441
|
props: {
|
|
4442
4442
|
survey: {},
|
|
@@ -4468,10 +4468,10 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4468
4468
|
], 2);
|
|
4469
4469
|
};
|
|
4470
4470
|
}
|
|
4471
|
-
}),
|
|
4471
|
+
}), Gt = { onsubmit: "return false;" }, Jt = {
|
|
4472
4472
|
key: 0,
|
|
4473
4473
|
class: "sv_custom_header"
|
|
4474
|
-
},
|
|
4474
|
+
}, Xt = { class: "sv-components-column sv-components-column--expandable" }, Yt = ["id"], Zt = { key: 2 }, xt = ["innerHTML"], ei = ["innerHTML"], si = ["innerHTML"], pe = /* @__PURE__ */ h({
|
|
4475
4475
|
__name: "Survey",
|
|
4476
4476
|
props: {
|
|
4477
4477
|
model: {},
|
|
@@ -4479,48 +4479,58 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4479
4479
|
},
|
|
4480
4480
|
setup(r) {
|
|
4481
4481
|
const s = r, n = $(), e = $(""), o = $(1), t = S(() => {
|
|
4482
|
-
const
|
|
4483
|
-
return
|
|
4482
|
+
const _ = s.survey ? s.survey : s.model;
|
|
4483
|
+
return Re(_);
|
|
4484
4484
|
}), l = S(() => t.value.activePage ? t.value.activePage.id : ""), m = () => {
|
|
4485
|
-
const
|
|
4486
|
-
return !!t.value &&
|
|
4485
|
+
const _ = l.value;
|
|
4486
|
+
return !!t.value && _ + o.value.toString();
|
|
4487
4487
|
}, v = S(
|
|
4488
4488
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4489
|
-
), c = S(() => t.value.css), q = S(() => "page" + m()), f = () => v.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : ""
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4489
|
+
), c = S(() => t.value.css), q = S(() => "page" + m()), f = () => v.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : "", k = (_) => {
|
|
4490
|
+
if (!!_) {
|
|
4491
|
+
var b = n.value;
|
|
4492
|
+
b && _.afterRenderSurvey(b), _.renderCallback = () => {
|
|
4493
|
+
var N, W;
|
|
4494
|
+
o.value++, (W = (N = ie()) == null ? void 0 : N.proxy) == null || W.$forceUpdate();
|
|
4495
|
+
}, _.startTimerFromUI();
|
|
4496
|
+
}
|
|
4497
|
+
};
|
|
4498
|
+
return L(
|
|
4499
|
+
() => t.value,
|
|
4500
|
+
(_, b) => {
|
|
4501
|
+
_ && b && k(_);
|
|
4502
|
+
},
|
|
4503
|
+
(_) => {
|
|
4504
|
+
_.stopTimer(), _.renderCallback = void 0;
|
|
4497
4505
|
}
|
|
4506
|
+
), M(() => {
|
|
4507
|
+
k(t.value);
|
|
4498
4508
|
}), O(() => {
|
|
4499
4509
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4500
|
-
}), (
|
|
4501
|
-
const
|
|
4510
|
+
}), (_, b) => {
|
|
4511
|
+
const N = y("sv-svg-bundle"), W = y("survey-popup-modal"), F = y("survey-header"), Q = y("survey-page"), ue = y("sv-brand-info"), Ce = y("sv-notifier");
|
|
4502
4512
|
return i(), u("div", {
|
|
4503
4513
|
class: a(t.value.getRootCss()),
|
|
4504
4514
|
style: I(t.value.themeVariables),
|
|
4505
4515
|
ref_key: "root",
|
|
4506
4516
|
ref: n
|
|
4507
4517
|
}, [
|
|
4508
|
-
t.value.needRenderIcons ? (i(), g(
|
|
4518
|
+
t.value.needRenderIcons ? (i(), g(N, { key: 0 })) : d("", !0),
|
|
4509
4519
|
p("div", {
|
|
4510
4520
|
class: a(t.value.wrapperFormCss)
|
|
4511
4521
|
}, [
|
|
4512
|
-
C(
|
|
4522
|
+
C(W),
|
|
4513
4523
|
t.value.renderBackgroundImage ? (i(), u("div", {
|
|
4514
4524
|
key: 0,
|
|
4515
4525
|
class: a(c.value.rootBackgroundImage),
|
|
4516
4526
|
style: I(t.value.backgroundImageStyle)
|
|
4517
4527
|
}, null, 6)) : d("", !0),
|
|
4518
|
-
p("form",
|
|
4519
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4528
|
+
p("form", Gt, [
|
|
4529
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Jt)),
|
|
4520
4530
|
p("div", {
|
|
4521
4531
|
class: a(c.value.container)
|
|
4522
4532
|
}, [
|
|
4523
|
-
t.value.headerView === "basic" ? (i(), g(
|
|
4533
|
+
t.value.headerView === "basic" ? (i(), g(F, {
|
|
4524
4534
|
key: 0,
|
|
4525
4535
|
survey: t.value
|
|
4526
4536
|
}, null, 8, ["survey"])) : d("", !0),
|
|
@@ -4538,7 +4548,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4538
4548
|
container: "left",
|
|
4539
4549
|
needRenderWrapper: !0
|
|
4540
4550
|
}, null, 8, ["survey"])),
|
|
4541
|
-
p("div",
|
|
4551
|
+
p("div", Xt, [
|
|
4542
4552
|
(i(), g(T("sv-components-container"), {
|
|
4543
4553
|
survey: t.value,
|
|
4544
4554
|
container: "center",
|
|
@@ -4554,7 +4564,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4554
4564
|
container: "contentTop",
|
|
4555
4565
|
needRenderWrapper: !0
|
|
4556
4566
|
}, null, 8, ["survey"])),
|
|
4557
|
-
(i(), g(
|
|
4567
|
+
(i(), g(Q, {
|
|
4558
4568
|
key: q.value,
|
|
4559
4569
|
survey: t.value,
|
|
4560
4570
|
page: t.value.activePage,
|
|
@@ -4565,7 +4575,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4565
4575
|
container: "contentBottom",
|
|
4566
4576
|
needRenderWrapper: !0
|
|
4567
4577
|
}, null, 8, ["survey"]))
|
|
4568
|
-
], 14,
|
|
4578
|
+
], 14, Yt)
|
|
4569
4579
|
]),
|
|
4570
4580
|
(i(), g(T("sv-components-container"), {
|
|
4571
4581
|
survey: t.value,
|
|
@@ -4578,11 +4588,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4578
4588
|
container: "footer",
|
|
4579
4589
|
needRenderWrapper: !1
|
|
4580
4590
|
}, null, 8, ["survey"])),
|
|
4581
|
-
v.value ? (i(), u("div",
|
|
4591
|
+
v.value ? (i(), u("div", Zt, [
|
|
4582
4592
|
p("div", {
|
|
4583
4593
|
innerHTML: f(),
|
|
4584
4594
|
class: a(t.value.completedCss)
|
|
4585
|
-
}, null, 10,
|
|
4595
|
+
}, null, 10, xt),
|
|
4586
4596
|
(i(), g(T("sv-components-container"), {
|
|
4587
4597
|
survey: t.value,
|
|
4588
4598
|
container: "completePage",
|
|
@@ -4593,34 +4603,34 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4593
4603
|
key: 3,
|
|
4594
4604
|
class: a(t.value.completedBeforeCss),
|
|
4595
4605
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4596
|
-
}, null, 10,
|
|
4606
|
+
}, null, 10, ei)) : d("", !0),
|
|
4597
4607
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4598
4608
|
key: 4,
|
|
4599
4609
|
class: a(t.value.loadingBodyCss),
|
|
4600
4610
|
innerHTML: t.value.processedLoadingHtml
|
|
4601
|
-
}, null, 10,
|
|
4611
|
+
}, null, 10, si)) : d("", !0),
|
|
4602
4612
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4603
4613
|
key: 5,
|
|
4604
4614
|
class: a(c.value.bodyEmpty)
|
|
4605
4615
|
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4606
4616
|
], 2)
|
|
4607
4617
|
]),
|
|
4608
|
-
t.value.showBrandInfo ? (i(), g(
|
|
4609
|
-
C(
|
|
4618
|
+
t.value.showBrandInfo ? (i(), g(ue, { key: 1 })) : d("", !0),
|
|
4619
|
+
C(Ce, {
|
|
4610
4620
|
model: t.value.notifier
|
|
4611
4621
|
}, null, 8, ["model"])
|
|
4612
4622
|
], 2)
|
|
4613
4623
|
], 6);
|
|
4614
4624
|
};
|
|
4615
4625
|
}
|
|
4616
|
-
}),
|
|
4626
|
+
}), ni = /* @__PURE__ */ h({
|
|
4617
4627
|
__name: "Notifier",
|
|
4618
4628
|
props: {
|
|
4619
4629
|
model: {}
|
|
4620
4630
|
},
|
|
4621
4631
|
setup(r) {
|
|
4622
4632
|
const s = r;
|
|
4623
|
-
return
|
|
4633
|
+
return L(() => s.model), (n, e) => {
|
|
4624
4634
|
const o = y("sv-action-bar");
|
|
4625
4635
|
return n.model.isDisplayed ? (i(), u("div", {
|
|
4626
4636
|
key: 0,
|
|
@@ -4636,7 +4646,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4636
4646
|
], 6)) : d("", !0);
|
|
4637
4647
|
};
|
|
4638
4648
|
}
|
|
4639
|
-
}),
|
|
4649
|
+
}), oi = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], ti = { key: 1 }, ii = /* @__PURE__ */ h({
|
|
4640
4650
|
__name: "QuestionOther",
|
|
4641
4651
|
props: {
|
|
4642
4652
|
question: {},
|
|
@@ -4664,18 +4674,18 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4664
4674
|
onInput: n[1] || (n[1] = (e) => {
|
|
4665
4675
|
s.question.onOtherValueInput(e);
|
|
4666
4676
|
})
|
|
4667
|
-
}, null, 46,
|
|
4668
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4677
|
+
}, null, 46, oi)),
|
|
4678
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", ti, R(s.question.otherValue), 1)) : d("", !0)
|
|
4669
4679
|
], 2));
|
|
4670
4680
|
}
|
|
4671
|
-
}),
|
|
4681
|
+
}), ri = ["disabled", "value", "title"], li = /* @__PURE__ */ h({
|
|
4672
4682
|
__name: "SurveyNavigationButton",
|
|
4673
4683
|
props: {
|
|
4674
4684
|
item: {}
|
|
4675
4685
|
},
|
|
4676
4686
|
setup(r) {
|
|
4677
4687
|
const s = r, n = () => s.item.data && s.item.data.mouseDown();
|
|
4678
|
-
return
|
|
4688
|
+
return L(() => s.item), (e, o) => e.item.visible ? (i(), u("input", {
|
|
4679
4689
|
key: 0,
|
|
4680
4690
|
type: "button",
|
|
4681
4691
|
disabled: e.item.disabled,
|
|
@@ -4684,7 +4694,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4684
4694
|
title: e.item.getTooltip(),
|
|
4685
4695
|
onMousedown: n,
|
|
4686
4696
|
onClick: o[0] || (o[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4687
|
-
}, null, 42,
|
|
4697
|
+
}, null, 42, ri)) : d("", !0);
|
|
4688
4698
|
}
|
|
4689
4699
|
}), ve = /* @__PURE__ */ h({
|
|
4690
4700
|
__name: "PopupSurvey",
|
|
@@ -4716,11 +4726,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4716
4726
|
let f = n.value.cssHeaderRoot;
|
|
4717
4727
|
return n.value.isCollapsed && (f += " " + n.value.cssRootCollapsedMod), f;
|
|
4718
4728
|
};
|
|
4719
|
-
|
|
4729
|
+
L(() => n.value);
|
|
4720
4730
|
const q = K(
|
|
4721
4731
|
() => s.survey,
|
|
4722
4732
|
(f) => {
|
|
4723
|
-
const k = new
|
|
4733
|
+
const k = new We(null, f);
|
|
4724
4734
|
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;
|
|
4725
4735
|
},
|
|
4726
4736
|
{
|
|
@@ -4730,7 +4740,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4730
4740
|
return O(() => {
|
|
4731
4741
|
q();
|
|
4732
4742
|
}), (f, k) => {
|
|
4733
|
-
const
|
|
4743
|
+
const _ = y("sv-svg-icon");
|
|
4734
4744
|
return n.value.isShowing ? (i(), u("div", {
|
|
4735
4745
|
key: 0,
|
|
4736
4746
|
style: I({ maxWidth: n.value.renderedWidth, width: n.value.renderedWidth }),
|
|
@@ -4755,12 +4765,12 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4755
4765
|
class: a(n.value.cssHeaderFullScreenButton),
|
|
4756
4766
|
onClick: l
|
|
4757
4767
|
}, [
|
|
4758
|
-
n.value.isFullScreen ? (i(), g(
|
|
4768
|
+
n.value.isFullScreen ? (i(), g(_, {
|
|
4759
4769
|
key: 0,
|
|
4760
4770
|
iconName: "icon-back-to-panel_16x16",
|
|
4761
4771
|
size: 16
|
|
4762
4772
|
})) : d("", !0),
|
|
4763
|
-
n.value.isFullScreen ? d("", !0) : (i(), g(
|
|
4773
|
+
n.value.isFullScreen ? d("", !0) : (i(), g(_, {
|
|
4764
4774
|
key: 1,
|
|
4765
4775
|
iconName: "icon-full-screen_16x16",
|
|
4766
4776
|
size: 16
|
|
@@ -4770,12 +4780,12 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4770
4780
|
class: a(n.value.cssHeaderCollapseButton),
|
|
4771
4781
|
onClick: o
|
|
4772
4782
|
}, [
|
|
4773
|
-
n.value.isExpanded ? (i(), g(
|
|
4783
|
+
n.value.isExpanded ? (i(), g(_, {
|
|
4774
4784
|
key: 0,
|
|
4775
4785
|
iconName: "icon-minimize_16x16",
|
|
4776
4786
|
size: 16
|
|
4777
4787
|
})) : d("", !0),
|
|
4778
|
-
n.value.isCollapsed ? (i(), g(
|
|
4788
|
+
n.value.isCollapsed ? (i(), g(_, {
|
|
4779
4789
|
key: 1,
|
|
4780
4790
|
iconName: "icon-restore_16x16",
|
|
4781
4791
|
size: 16
|
|
@@ -4786,7 +4796,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4786
4796
|
class: a(n.value.cssHeaderCloseButton),
|
|
4787
4797
|
onClick: t
|
|
4788
4798
|
}, [
|
|
4789
|
-
C(
|
|
4799
|
+
C(_, {
|
|
4790
4800
|
iconName: "icon-close_16x16",
|
|
4791
4801
|
size: 16
|
|
4792
4802
|
})
|
|
@@ -4802,7 +4812,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4802
4812
|
], 38)) : d("", !0);
|
|
4803
4813
|
};
|
|
4804
4814
|
}
|
|
4805
|
-
}),
|
|
4815
|
+
}), ai = ["innerHTML"], ui = /* @__PURE__ */ h({
|
|
4806
4816
|
__name: "CustomWidget",
|
|
4807
4817
|
props: {
|
|
4808
4818
|
question: {},
|
|
@@ -4825,7 +4835,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4825
4835
|
o.value ? (i(), u("div", {
|
|
4826
4836
|
key: 0,
|
|
4827
4837
|
innerHTML: t.value
|
|
4828
|
-
}, null, 8,
|
|
4838
|
+
}, null, 8, ai)) : d("", !0),
|
|
4829
4839
|
e.value ? (i(), g(T(l.value), {
|
|
4830
4840
|
key: 1,
|
|
4831
4841
|
question: m.question,
|
|
@@ -4833,12 +4843,12 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4833
4843
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4834
4844
|
], 512));
|
|
4835
4845
|
}
|
|
4836
|
-
}),
|
|
4846
|
+
}), di = /* @__PURE__ */ h({
|
|
4837
4847
|
__name: "PopupModal",
|
|
4838
4848
|
setup(r) {
|
|
4839
4849
|
const s = U();
|
|
4840
4850
|
function n(o, t, l, m, v, c, q = "popup") {
|
|
4841
|
-
const f =
|
|
4851
|
+
const f = Fe(
|
|
4842
4852
|
o,
|
|
4843
4853
|
t,
|
|
4844
4854
|
l,
|
|
@@ -4866,7 +4876,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4866
4876
|
j.showDialog = void 0;
|
|
4867
4877
|
})), (o, t) => {
|
|
4868
4878
|
const l = y("sv-popup-container");
|
|
4869
|
-
return s.value ? (i(), g(
|
|
4879
|
+
return s.value ? (i(), g(Te, {
|
|
4870
4880
|
key: 0,
|
|
4871
4881
|
to: s.value.container
|
|
4872
4882
|
}, [
|
|
@@ -4874,7 +4884,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4874
4884
|
], 8, ["to"])) : d("", !0);
|
|
4875
4885
|
};
|
|
4876
4886
|
}
|
|
4877
|
-
}),
|
|
4887
|
+
}), mi = /* @__PURE__ */ h({
|
|
4878
4888
|
__name: "CharacterCounter",
|
|
4879
4889
|
props: {
|
|
4880
4890
|
counter: {},
|
|
@@ -4882,11 +4892,11 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4882
4892
|
},
|
|
4883
4893
|
setup(r) {
|
|
4884
4894
|
const s = r;
|
|
4885
|
-
return
|
|
4895
|
+
return L(() => s.counter), (n, e) => (i(), u("div", {
|
|
4886
4896
|
class: a(n.remainingCharacterCounter)
|
|
4887
4897
|
}, R(n.counter.remainingCharacterCounter), 3));
|
|
4888
4898
|
}
|
|
4889
|
-
}),
|
|
4899
|
+
}), ci = /* @__PURE__ */ h({
|
|
4890
4900
|
inheritAttrs: !1,
|
|
4891
4901
|
__name: "Composite",
|
|
4892
4902
|
props: {
|
|
@@ -4907,7 +4917,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4907
4917
|
}, null, 8, ["element", "css"]);
|
|
4908
4918
|
};
|
|
4909
4919
|
}
|
|
4910
|
-
}),
|
|
4920
|
+
}), pi = /* @__PURE__ */ h({
|
|
4911
4921
|
inheritAttrs: !1,
|
|
4912
4922
|
__name: "Custom",
|
|
4913
4923
|
props: {
|
|
@@ -4924,9 +4934,9 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4924
4934
|
css: t.css
|
|
4925
4935
|
}, null, 8, ["question", "css"]));
|
|
4926
4936
|
}
|
|
4927
|
-
}),
|
|
4928
|
-
|
|
4929
|
-
], qe = 440,
|
|
4937
|
+
}), vi = /* @__PURE__ */ p("use", { "xlink:href": "#icon-timercircle" }, null, -1), qi = [
|
|
4938
|
+
vi
|
|
4939
|
+
], qe = 440, yi = /* @__PURE__ */ h({
|
|
4930
4940
|
__name: "TimerPanel",
|
|
4931
4941
|
props: {
|
|
4932
4942
|
model: {},
|
|
@@ -4934,7 +4944,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4934
4944
|
},
|
|
4935
4945
|
setup(r) {
|
|
4936
4946
|
const s = r, n = S(() => qe * s.model.progress), e = S(() => s.model.text);
|
|
4937
|
-
return
|
|
4947
|
+
return L(() => s.model), (o, t) => o.model.isRunning && o.model.showTimerAsClock ? (i(), u("div", {
|
|
4938
4948
|
key: 0,
|
|
4939
4949
|
class: a(o.model.rootCss)
|
|
4940
4950
|
}, [
|
|
@@ -4942,7 +4952,7 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4942
4952
|
key: 0,
|
|
4943
4953
|
class: a(o.model.getProgressCss()),
|
|
4944
4954
|
style: I({ strokeDasharray: qe, strokeDashoffset: n.value })
|
|
4945
|
-
},
|
|
4955
|
+
}, qi, 6)) : d("", !0),
|
|
4946
4956
|
p("div", {
|
|
4947
4957
|
class: a(o.model.textContainerCss)
|
|
4948
4958
|
}, [
|
|
@@ -4961,17 +4971,17 @@ const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use
|
|
|
4961
4971
|
[E, o.model.isRunning && !o.model.showTimerAsClock]
|
|
4962
4972
|
]);
|
|
4963
4973
|
}
|
|
4964
|
-
}),
|
|
4965
|
-
function
|
|
4974
|
+
}), gi = {}, hi = { class: "sd-loading-indicator" };
|
|
4975
|
+
function Ci(r, s) {
|
|
4966
4976
|
const n = y("sv-svg-icon");
|
|
4967
|
-
return i(), u("div",
|
|
4977
|
+
return i(), u("div", hi, [
|
|
4968
4978
|
C(n, {
|
|
4969
4979
|
iconName: "icon-loading",
|
|
4970
4980
|
size: "'auto'"
|
|
4971
4981
|
})
|
|
4972
4982
|
]);
|
|
4973
4983
|
}
|
|
4974
|
-
const
|
|
4984
|
+
const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @__PURE__ */ h({
|
|
4975
4985
|
__name: "Header",
|
|
4976
4986
|
props: {
|
|
4977
4987
|
model: {},
|
|
@@ -4979,7 +4989,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
4979
4989
|
},
|
|
4980
4990
|
setup(r) {
|
|
4981
4991
|
const s = r;
|
|
4982
|
-
return
|
|
4992
|
+
return L(() => {
|
|
4983
4993
|
const n = s.model;
|
|
4984
4994
|
return n.survey = s.survey, s.model;
|
|
4985
4995
|
}), (n, e) => {
|
|
@@ -4998,21 +5008,21 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
4998
5008
|
class: a(n.model.contentClasses),
|
|
4999
5009
|
style: I({ maxWidth: n.model.maxWidth })
|
|
5000
5010
|
}, [
|
|
5001
|
-
(i(!0), u(
|
|
5011
|
+
(i(!0), u(D, null, B(n.model.cells, (l, m) => (i(), g(o, {
|
|
5002
5012
|
model: l,
|
|
5003
5013
|
key: m
|
|
5004
5014
|
}, null, 8, ["model"]))), 128))
|
|
5005
5015
|
], 6)),
|
|
5006
|
-
n.survey.isMobile ? (i(), u("div",
|
|
5016
|
+
n.survey.isMobile ? (i(), u("div", ki, [
|
|
5007
5017
|
C(t, { model: n.model }, null, 8, ["model"])
|
|
5008
5018
|
])) : d("", !0)
|
|
5009
5019
|
], 6);
|
|
5010
5020
|
};
|
|
5011
5021
|
}
|
|
5012
|
-
}),
|
|
5022
|
+
}), wi = {
|
|
5013
5023
|
key: 0,
|
|
5014
5024
|
class: "sv-header__logo"
|
|
5015
|
-
},
|
|
5025
|
+
}, Ii = ["src", "width", "height", "alt"], Si = /* @__PURE__ */ h({
|
|
5016
5026
|
__name: "HeaderCell",
|
|
5017
5027
|
props: {
|
|
5018
5028
|
model: {}
|
|
@@ -5028,7 +5038,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5028
5038
|
class: "sv-header__cell-content",
|
|
5029
5039
|
style: I(s.model.contentStyle)
|
|
5030
5040
|
}, [
|
|
5031
|
-
s.model.showLogo ? (i(), u("div",
|
|
5041
|
+
s.model.showLogo ? (i(), u("div", wi, [
|
|
5032
5042
|
p("div", {
|
|
5033
5043
|
class: a(s.model.survey.logoClassNames)
|
|
5034
5044
|
}, [
|
|
@@ -5039,7 +5049,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5039
5049
|
height: s.model.survey.renderedLogoHeight,
|
|
5040
5050
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5041
5051
|
style: I({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5042
|
-
}, null, 14,
|
|
5052
|
+
}, null, 14, Ii)
|
|
5043
5053
|
], 2)
|
|
5044
5054
|
])) : d("", !0),
|
|
5045
5055
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -5070,10 +5080,10 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5070
5080
|
], 6);
|
|
5071
5081
|
};
|
|
5072
5082
|
}
|
|
5073
|
-
}),
|
|
5083
|
+
}), Ri = { class: "sv-header--mobile" }, Ti = {
|
|
5074
5084
|
key: 0,
|
|
5075
5085
|
class: "sv-header__logo"
|
|
5076
|
-
},
|
|
5086
|
+
}, $i = ["src", "width", "height", "alt"], _i = /* @__PURE__ */ h({
|
|
5077
5087
|
__name: "HeaderMobile",
|
|
5078
5088
|
props: {
|
|
5079
5089
|
model: {}
|
|
@@ -5081,8 +5091,8 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5081
5091
|
setup(r) {
|
|
5082
5092
|
return (s, n) => {
|
|
5083
5093
|
const e = y("survey-element-title"), o = y("survey-string");
|
|
5084
|
-
return i(), u("div",
|
|
5085
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
5094
|
+
return i(), u("div", Ri, [
|
|
5095
|
+
s.model.survey.hasLogo ? (i(), u("div", Ti, [
|
|
5086
5096
|
p("div", {
|
|
5087
5097
|
class: a(s.model.survey.logoClassNames)
|
|
5088
5098
|
}, [
|
|
@@ -5093,7 +5103,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5093
5103
|
height: s.model.survey.renderedLogoHeight,
|
|
5094
5104
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5095
5105
|
style: I({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5096
|
-
}, null, 14,
|
|
5106
|
+
}, null, 14, $i)
|
|
5097
5107
|
], 2)
|
|
5098
5108
|
])) : d("", !0),
|
|
5099
5109
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -5123,7 +5133,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5123
5133
|
]);
|
|
5124
5134
|
};
|
|
5125
5135
|
}
|
|
5126
|
-
}),
|
|
5136
|
+
}), Di = /* @__PURE__ */ h({
|
|
5127
5137
|
__name: "Element",
|
|
5128
5138
|
props: {
|
|
5129
5139
|
element: {},
|
|
@@ -5175,17 +5185,17 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5175
5185
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
5176
5186
|
], 6));
|
|
5177
5187
|
}
|
|
5178
|
-
}),
|
|
5188
|
+
}), Bi = /* @__PURE__ */ h({
|
|
5179
5189
|
__name: "TemplateRenderer",
|
|
5180
5190
|
props: {
|
|
5181
5191
|
componentName: {},
|
|
5182
5192
|
componentData: {}
|
|
5183
5193
|
},
|
|
5184
5194
|
setup(r) {
|
|
5185
|
-
const s =
|
|
5186
|
-
return (e, o) => n.value && !e.componentName ?
|
|
5195
|
+
const s = $e(), n = S(() => !!s.default);
|
|
5196
|
+
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));
|
|
5187
5197
|
}
|
|
5188
|
-
}),
|
|
5198
|
+
}), Li = /* @__PURE__ */ h({
|
|
5189
5199
|
__name: "FileCleanButton",
|
|
5190
5200
|
props: {
|
|
5191
5201
|
question: {},
|
|
@@ -5209,7 +5219,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5209
5219
|
], 2);
|
|
5210
5220
|
};
|
|
5211
5221
|
}
|
|
5212
|
-
}),
|
|
5222
|
+
}), Ni = ["id"], Pi = /* @__PURE__ */ h({
|
|
5213
5223
|
__name: "FileVideo",
|
|
5214
5224
|
props: {
|
|
5215
5225
|
question: {}
|
|
@@ -5231,14 +5241,14 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5231
5241
|
playsinline: "",
|
|
5232
5242
|
id: s.question.videoId,
|
|
5233
5243
|
class: a(s.question.cssClasses.video)
|
|
5234
|
-
}, null, 10,
|
|
5244
|
+
}, null, 10, Ni),
|
|
5235
5245
|
C(e, {
|
|
5236
5246
|
item: s.question.takePictureAction
|
|
5237
5247
|
}, null, 8, ["item"])
|
|
5238
5248
|
], 2);
|
|
5239
5249
|
};
|
|
5240
5250
|
}
|
|
5241
|
-
}),
|
|
5251
|
+
}), Ai = ["for", "aria-label"], Mi = /* @__PURE__ */ h({
|
|
5242
5252
|
__name: "FileChooseButton",
|
|
5243
5253
|
props: {
|
|
5244
5254
|
data: {},
|
|
@@ -5267,12 +5277,12 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5267
5277
|
size: "auto"
|
|
5268
5278
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5269
5279
|
p("span", null, R(n.value.chooseButtonText), 1)
|
|
5270
|
-
], 10,
|
|
5280
|
+
], 10, Ai)), [
|
|
5271
5281
|
[l]
|
|
5272
5282
|
]);
|
|
5273
5283
|
};
|
|
5274
5284
|
}
|
|
5275
|
-
}),
|
|
5285
|
+
}), Ei = ["onClick", "href", "title", "download"], Hi = ["src"], Wi = ["onClick"], Fi = ["onClick", "href", "title", "download"], Vi = /* @__PURE__ */ h({
|
|
5276
5286
|
__name: "FilePreview",
|
|
5277
5287
|
props: {
|
|
5278
5288
|
question: {}
|
|
@@ -5284,7 +5294,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5284
5294
|
key: 0,
|
|
5285
5295
|
class: a(s.question.cssClasses.fileList || void 0)
|
|
5286
5296
|
}, [
|
|
5287
|
-
(i(!0), u(
|
|
5297
|
+
(i(!0), u(D, null, B(s.question.previewValue, (o, t) => P((i(), u("span", {
|
|
5288
5298
|
key: s.question.inputId + "_" + t,
|
|
5289
5299
|
class: a(s.question.cssClasses.previewItem)
|
|
5290
5300
|
}, [
|
|
@@ -5298,7 +5308,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5298
5308
|
title: o.name,
|
|
5299
5309
|
download: o.name,
|
|
5300
5310
|
style: I({ width: s.question.imageWidth })
|
|
5301
|
-
}, R(o.name), 13,
|
|
5311
|
+
}, R(o.name), 13, Ei)
|
|
5302
5312
|
], 2)) : d("", !0),
|
|
5303
5313
|
p("div", {
|
|
5304
5314
|
class: a(s.question.getImageWrapperCss(o))
|
|
@@ -5311,7 +5321,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5311
5321
|
width: s.question.imageWidth
|
|
5312
5322
|
}),
|
|
5313
5323
|
alt: "File preview"
|
|
5314
|
-
}, null, 12,
|
|
5324
|
+
}, null, 12, Hi)) : d("", !0),
|
|
5315
5325
|
s.question.defaultImage(o) ? (i(), g(e, {
|
|
5316
5326
|
key: 1,
|
|
5317
5327
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5333,7 +5343,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5333
5343
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5334
5344
|
size: "auto"
|
|
5335
5345
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5336
|
-
], 10,
|
|
5346
|
+
], 10, Wi)) : d("", !0)
|
|
5337
5347
|
], 2),
|
|
5338
5348
|
o.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5339
5349
|
key: 1,
|
|
@@ -5345,7 +5355,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5345
5355
|
title: o.name,
|
|
5346
5356
|
download: o.name,
|
|
5347
5357
|
style: I({ width: s.question.imageWidth })
|
|
5348
|
-
}, R(o.name), 13,
|
|
5358
|
+
}, R(o.name), 13, Fi)
|
|
5349
5359
|
], 2)) : d("", !0)
|
|
5350
5360
|
], 2)), [
|
|
5351
5361
|
[E, o && s.question.isPreviewVisible(t)]
|
|
@@ -5353,7 +5363,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5353
5363
|
], 2)) : d("", !0);
|
|
5354
5364
|
};
|
|
5355
5365
|
}
|
|
5356
|
-
}),
|
|
5366
|
+
}), Oi = /* @__PURE__ */ h({
|
|
5357
5367
|
__name: "ButtonGroup",
|
|
5358
5368
|
props: {
|
|
5359
5369
|
question: {}
|
|
@@ -5368,7 +5378,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5368
5378
|
ref_key: "root",
|
|
5369
5379
|
ref: n
|
|
5370
5380
|
}, [
|
|
5371
|
-
(i(!0), u(
|
|
5381
|
+
(i(!0), u(D, null, B(e.question.visibleChoices, (l, m) => (i(), g(t, {
|
|
5372
5382
|
question: e.question,
|
|
5373
5383
|
key: m,
|
|
5374
5384
|
item: l,
|
|
@@ -5377,7 +5387,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5377
5387
|
], 2);
|
|
5378
5388
|
};
|
|
5379
5389
|
}
|
|
5380
|
-
}),
|
|
5390
|
+
}), zi = ["title"], Ui = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ki = ["title"], Qi = /* @__PURE__ */ h({
|
|
5381
5391
|
__name: "ButtonGroupItem",
|
|
5382
5392
|
props: {
|
|
5383
5393
|
item: {},
|
|
@@ -5386,7 +5396,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5386
5396
|
},
|
|
5387
5397
|
setup(r) {
|
|
5388
5398
|
const s = r, n = S(
|
|
5389
|
-
() => new
|
|
5399
|
+
() => new Oe(s.question, s.item, s.index)
|
|
5390
5400
|
), e = S({
|
|
5391
5401
|
get: () => s.question.renderedValue,
|
|
5392
5402
|
set: (o) => {
|
|
@@ -5414,7 +5424,7 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5414
5424
|
class: a(n.value.css.control),
|
|
5415
5425
|
"onUpdate:modelValue": t[0] || (t[0] = (v) => e.value = v),
|
|
5416
5426
|
value: n.value.value
|
|
5417
|
-
}, null, 10,
|
|
5427
|
+
}, null, 10, Ui), [
|
|
5418
5428
|
[x, e.value]
|
|
5419
5429
|
]),
|
|
5420
5430
|
p("div", {
|
|
@@ -5434,12 +5444,12 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5434
5444
|
C(m, {
|
|
5435
5445
|
locString: n.value.caption
|
|
5436
5446
|
}, null, 8, ["locString"])
|
|
5437
|
-
], 10,
|
|
5447
|
+
], 10, Ki)) : d("", !0)
|
|
5438
5448
|
], 2)
|
|
5439
|
-
], 10,
|
|
5449
|
+
], 10, zi);
|
|
5440
5450
|
};
|
|
5441
5451
|
}
|
|
5442
|
-
}),
|
|
5452
|
+
}), ji = ["src", "width", "height", "alt"], Gi = /* @__PURE__ */ h({
|
|
5443
5453
|
inheritAttrs: !1,
|
|
5444
5454
|
__name: "Logo",
|
|
5445
5455
|
props: {
|
|
@@ -5461,15 +5471,15 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5461
5471
|
width: n.value.renderedStyleLogoWidth,
|
|
5462
5472
|
height: n.value.renderedStyleLogoHeight
|
|
5463
5473
|
})
|
|
5464
|
-
}, null, 14,
|
|
5474
|
+
}, null, 14, ji)
|
|
5465
5475
|
], 2));
|
|
5466
5476
|
}
|
|
5467
|
-
}),
|
|
5477
|
+
}), Ji = /* @__PURE__ */ h({
|
|
5468
5478
|
__name: "SvgBundle",
|
|
5469
5479
|
setup(r) {
|
|
5470
5480
|
const s = $();
|
|
5471
5481
|
return M(() => {
|
|
5472
|
-
s.value.innerHTML =
|
|
5482
|
+
s.value.innerHTML = ze.iconsRenderedHtml();
|
|
5473
5483
|
}), (n, e) => P((i(), u("svg", {
|
|
5474
5484
|
id: "sv-icon-holder-global-container",
|
|
5475
5485
|
ref_key: "root",
|
|
@@ -5479,9 +5489,9 @@ const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @_
|
|
|
5479
5489
|
]);
|
|
5480
5490
|
}
|
|
5481
5491
|
});
|
|
5482
|
-
|
|
5483
|
-
function
|
|
5484
|
-
r.component("SurveyComponent", pe), r.component("sv-svg-bundle",
|
|
5492
|
+
Ue.platform = "vue3";
|
|
5493
|
+
function Xi(r) {
|
|
5494
|
+
r.component("SurveyComponent", pe), r.component("sv-svg-bundle", Ji), r.component("PopupSurveyComponent", ve), r.component("survey", pe), r.component("popup-survey", ve), r.component("survey-header", Je), r.component("sv-logo-image", Gi), r.component("survey-page", Ge), r.component("survey-row", Xe), r.component("survey-question", es), r.component("survey-panel", ts), r.component("survey-element-header", rs), r.component("survey-string", ls), r.component("sv-string-viewer", us), r.component("sv-string-editor", ms), r.component("sv-skeleton", ps), r.component("survey-text", ys), r.component("survey-text-input", Cs), r.component("survey-checkbox", Is), r.component("survey-checkbox-item", Ts), r.component("survey-radiogroup", $s), r.component("survey-radiogroup-item", Bs), r.component("survey-signaturepad", As), r.component("survey-html", Es), r.component("survey-image", Vs), r.component("survey-expression", Os), r.component("survey-file", Ks), r.component("sv-file-choose-btn", Mi), r.component("sv-file-clean-btn", Li), r.component("sv-file-preview", Vi), r.component("sv-file-video", Pi), 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", qn), 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("survey-rating", Nn), r.component("sv-rating-item", An), r.component("sv-rating-item-smiley", En), r.component("sv-rating-item-star", Wn), r.component("sv-rating-dropdown", Un), r.component("sv-rating-dropdown-item", zn), r.component("survey-boolean", Qn), r.component("sv-boolean-radio", jn), r.component("sv-boolean-radio-item", Xn), r.component("sv-boolean-checkbox", no), r.component("survey-multipletext", oo), r.component("survey-multipletext-item", io), r.component("survey-matrix", co), r.component("survey-matrix-row", vo), r.component("survey-matrix-cell", go), r.component("survey-matrixdropdown", ho), r.component("survey-matrixtable", ko), r.component("survey-matrixheaderrequired", wo), r.component("survey-matrixdropdown-cell", So), r.component("survey-matrixdynamic", Ro), r.component("sv-matrix-remove-button", $o), r.component("sv-matrix-drag-drop-icon", Do), r.component("sv-matrix-detail-button", Lo), r.component("survey-paneldynamic", No), r.component("survey-paneldynamicprogress", Po), r.component("survey-paneldynamicprogress-v2", Ao), r.component("sv-paneldynamic-add-btn", Mo), r.component("sv-paneldynamic-next-btn", Ho), r.component("sv-paneldynamic-prev-btn", Fo), r.component("sv-paneldynamic-remove-btn", Vo), r.component("sv-paneldynamic-progress-text", Oo), r.component("sv-components-container", Ft), r.component("sv-progress-buttons", Qt), r.component("sv-navigation-toc", jt), 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", Uo), r.component("survey-question-comment", jo), r.component("survey-element-title", Go), r.component("survey-element-title-content", Zo), r.component("sv-title-actions", st), r.component("sv-brand-info", lt), r.component("sv-question-error", mt), r.component("sv-svg-icon", dt), r.component("sv-action-bar", ct), r.component("sv-action", qt), r.component("sv-action-bar-item", ht), r.component("sv-action-bar-item-dropdown", kt), r.component("sv-action-bar-separator", ft), r.component("sv-list", Rt), r.component("sv-list-item", _t), r.component("sv-popup", Dt), r.component("sv-popup-container", Et), r.component("popup-pointer", Ht), r.component("sv-notifier", ni), r.component("survey-other-choice", ii), r.component("sv-nav-btn", li), r.component("survey-customwidget", ui), r.component("survey-popup-modal", di), r.component("sv-character-counter", mi), r.component("survey-composite", ci), r.component("survey-custom", pi), r.component("sv-timerpanel", yi), r.component("sv-loading-indicator", bi), r.component("sv-header", fi), r.component("sv-header-cell", Si), r.component("sv-header-mobile", _i), r.component("sv-template-renderer", Bi), r.component("survey-element", Di), r.component("survey-buttongroup", Oi), r.component("sv-button-group-item", Qi), r.directive("key2click", {
|
|
5485
5495
|
mounted: function(s, n) {
|
|
5486
5496
|
const e = { ...n.value };
|
|
5487
5497
|
if (e.disableTabStop) {
|
|
@@ -5489,21 +5499,21 @@ function Ji(r) {
|
|
|
5489
5499
|
return;
|
|
5490
5500
|
}
|
|
5491
5501
|
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (o) => (o.preventDefault(), o.stopPropagation(), ye(o, e), !1)), s.addEventListener("keydown", (o) => {
|
|
5492
|
-
|
|
5502
|
+
Ke(o, e);
|
|
5493
5503
|
}), s.addEventListener("blur", (o) => {
|
|
5494
|
-
|
|
5504
|
+
Qe(o);
|
|
5495
5505
|
});
|
|
5496
5506
|
}
|
|
5497
5507
|
});
|
|
5498
5508
|
}
|
|
5499
|
-
const
|
|
5509
|
+
const xi = {
|
|
5500
5510
|
install(r) {
|
|
5501
|
-
|
|
5511
|
+
Xi(r);
|
|
5502
5512
|
}
|
|
5503
5513
|
};
|
|
5504
5514
|
export {
|
|
5505
|
-
|
|
5506
|
-
|
|
5515
|
+
xi as surveyPlugin,
|
|
5516
|
+
L as useBase,
|
|
5507
5517
|
le as useComputedArray,
|
|
5508
5518
|
J as useLocString,
|
|
5509
5519
|
A as useQuestion
|