survey-vue3-ui 1.10.4 → 1.10.5
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 +355 -358
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { shallowReactive as be, watch as K, onBeforeUnmount as G, onMounted as
|
|
2
|
-
import { Base as De, RendererFactory as ee,
|
|
1
|
+
import { shallowReactive as be, watch as K, onBeforeUnmount as G, onMounted as E, 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 M, withCtx as V, normalizeStyle as I, createElementVNode as p, onUnmounted as O, guardReactiveProps as ne, withDirectives as P, vShow as H, 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, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ne, ActionDropdownViewModel as Pe, getActionDropdownButtonTarget as Ae, createPopupViewModel as Ee, SurveyProgressModel as de, ProgressButtonsResponsivityManager as He, PopupSurveyModel as Me, settings as j, createDialogOptions as We, createPopupModalViewModel as Fe, ButtonGroupItemModel as Ve, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
De.createPropertiesHash = () => be({});
|
|
4
|
-
function
|
|
4
|
+
function Qe(r) {
|
|
5
5
|
var s;
|
|
6
6
|
!r || (r.__vueImplemented = (s = r.__vueImplemented) != null ? s : 0, r.__vueImplemented <= 0 && (r.createArrayCoreHandler = (n, e) => {
|
|
7
7
|
const o = [], t = U(o);
|
|
@@ -29,7 +29,7 @@ function 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)), Qe(o);
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
immediate: !0
|
|
@@ -41,7 +41,7 @@ function L(r, s, n) {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
function A(r, s, n, e) {
|
|
44
|
-
L(() => r.question, n, e),
|
|
44
|
+
L(() => r.question, n, e), E(() => {
|
|
45
45
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
46
46
|
}), G(() => {
|
|
47
47
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
@@ -75,7 +75,7 @@ function le(r) {
|
|
|
75
75
|
n();
|
|
76
76
|
}), s;
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const je = /* @__PURE__ */ h({
|
|
79
79
|
__name: "Page",
|
|
80
80
|
props: {
|
|
81
81
|
survey: {},
|
|
@@ -91,7 +91,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
91
91
|
() => {
|
|
92
92
|
e();
|
|
93
93
|
}
|
|
94
|
-
),
|
|
94
|
+
), E(() => {
|
|
95
95
|
e();
|
|
96
96
|
}), (t, l) => {
|
|
97
97
|
const m = y("survey-element-title"), v = y("survey-string"), c = y("survey-errors"), q = y("survey-row");
|
|
@@ -113,7 +113,7 @@ const Ge = /* @__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(D, null, B(t.page.visibleRows, (f) => (i(), g(T(t.page.getSurvey().getRowWrapperComponentName(f)), z(
|
|
116
|
+
(i(!0), u(D, null, B(t.page.visibleRows, (f) => (i(), g(T(t.page.getSurvey().getRowWrapperComponentName(f)), z(M({
|
|
117
117
|
key: f.id
|
|
118
118
|
}, {
|
|
119
119
|
componentData: t.page.getSurvey().getRowWrapperComponentData(f)
|
|
@@ -130,14 +130,14 @@ const Ge = /* @__PURE__ */ h({
|
|
|
130
130
|
], 2);
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
}),
|
|
133
|
+
}), Ge = /* @__PURE__ */ h({
|
|
134
134
|
__name: "Header",
|
|
135
135
|
props: {
|
|
136
136
|
survey: {}
|
|
137
137
|
},
|
|
138
138
|
setup(r) {
|
|
139
139
|
const s = r, n = $();
|
|
140
|
-
return
|
|
140
|
+
return E(() => {
|
|
141
141
|
var e = n.value;
|
|
142
142
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
143
143
|
}), (e, o) => {
|
|
@@ -180,7 +180,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
180
180
|
], 2)) : d("", !0);
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
|
-
}),
|
|
183
|
+
}), Je = /* @__PURE__ */ h({
|
|
184
184
|
__name: "Row",
|
|
185
185
|
props: {
|
|
186
186
|
row: {},
|
|
@@ -197,7 +197,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
197
197
|
(e) => {
|
|
198
198
|
e.setRootElement(void 0), e.stopLazyRendering(), e.isNeedRender = !e.isLazyRendering();
|
|
199
199
|
}
|
|
200
|
-
),
|
|
200
|
+
), E(() => {
|
|
201
201
|
if (s.row && (s.row.setRootElement(n.value), !s.row.isNeedRender)) {
|
|
202
202
|
const e = n.value;
|
|
203
203
|
setTimeout(() => {
|
|
@@ -220,10 +220,10 @@ const Ge = /* @__PURE__ */ h({
|
|
|
220
220
|
], 2);
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), Xe = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], Ye = ["id"], Ze = {
|
|
224
224
|
inheritAttrs: !1
|
|
225
|
-
},
|
|
226
|
-
...
|
|
225
|
+
}, xe = /* @__PURE__ */ h({
|
|
226
|
+
...Ze,
|
|
227
227
|
__name: "Question",
|
|
228
228
|
props: {
|
|
229
229
|
survey: {},
|
|
@@ -311,9 +311,9 @@ const Ge = /* @__PURE__ */ h({
|
|
|
311
311
|
C(W, {
|
|
312
312
|
locString: k.element.locDescription
|
|
313
313
|
}, null, 8, ["locString"])
|
|
314
|
-
], 10,
|
|
314
|
+
], 10, Ye)) : d("", !0)
|
|
315
315
|
], 2), [
|
|
316
|
-
[
|
|
316
|
+
[H, k.element.renderedIsExpanded]
|
|
317
317
|
])
|
|
318
318
|
]),
|
|
319
319
|
_: 1
|
|
@@ -328,13 +328,13 @@ const Ge = /* @__PURE__ */ h({
|
|
|
328
328
|
element: k.element,
|
|
329
329
|
location: "bottom"
|
|
330
330
|
}, null, 8, ["element"])) : d("", !0)
|
|
331
|
-
], 46,
|
|
331
|
+
], 46, Xe);
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
}),
|
|
334
|
+
}), es = ["id"], ss = ["id"], ns = {
|
|
335
335
|
inheritAttrs: !1
|
|
336
|
-
},
|
|
337
|
-
...
|
|
336
|
+
}, os = /* @__PURE__ */ h({
|
|
337
|
+
...ns,
|
|
338
338
|
inheritAttrs: !1,
|
|
339
339
|
__name: "Panel",
|
|
340
340
|
props: {
|
|
@@ -344,7 +344,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
344
344
|
},
|
|
345
345
|
setup(r) {
|
|
346
346
|
const s = r, n = $(null), e = S(() => s.element.survey);
|
|
347
|
-
return L(() => s.element),
|
|
347
|
+
return L(() => s.element), E(() => {
|
|
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,7 +375,7 @@ const Ge = /* @__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(D, null, B(o.element.visibleRows, (q) => (i(), g(T(o.element.getSurvey().getRowWrapperComponentName(q)), z(
|
|
378
|
+
(i(!0), u(D, null, B(o.element.visibleRows, (q) => (i(), g(T(o.element.getSurvey().getRowWrapperComponentName(q)), z(M({
|
|
379
379
|
key: q.id
|
|
380
380
|
}, {
|
|
381
381
|
componentData: o.element.getSurvey().getRowWrapperComponentData(q)
|
|
@@ -392,11 +392,11 @@ const Ge = /* @__PURE__ */ h({
|
|
|
392
392
|
C(c, {
|
|
393
393
|
model: o.element.getFooterToolbar()
|
|
394
394
|
}, null, 8, ["model"])
|
|
395
|
-
], 14,
|
|
396
|
-
], 42,
|
|
395
|
+
], 14, ss)) : d("", !0)
|
|
396
|
+
], 42, es)) : d("", !0);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
}),
|
|
399
|
+
}), ts = ["id"], is = /* @__PURE__ */ h({
|
|
400
400
|
__name: "ElementHeader",
|
|
401
401
|
props: {
|
|
402
402
|
element: {},
|
|
@@ -424,8 +424,8 @@ const Ge = /* @__PURE__ */ h({
|
|
|
424
424
|
C(l, {
|
|
425
425
|
locString: e.element.locDescription
|
|
426
426
|
}, null, 8, ["locString"])
|
|
427
|
-
], 10,
|
|
428
|
-
[
|
|
427
|
+
], 10, ts)), [
|
|
428
|
+
[H, e.element.hasDescription]
|
|
429
429
|
]) : d("", !0),
|
|
430
430
|
e.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
431
431
|
key: 1,
|
|
@@ -434,7 +434,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
434
434
|
], 2);
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
|
-
}),
|
|
437
|
+
}), rs = /* @__PURE__ */ h({
|
|
438
438
|
__name: "String",
|
|
439
439
|
props: {
|
|
440
440
|
locString: {}
|
|
@@ -444,7 +444,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
444
444
|
locString: s.locString.renderAsData
|
|
445
445
|
}, null, 8, ["locString"]));
|
|
446
446
|
}
|
|
447
|
-
}),
|
|
447
|
+
}), ls = ["innerHTML"], as = /* @__PURE__ */ h({
|
|
448
448
|
__name: "StringViewer",
|
|
449
449
|
props: {
|
|
450
450
|
locString: {}
|
|
@@ -455,12 +455,12 @@ const Ge = /* @__PURE__ */ h({
|
|
|
455
455
|
key: 0,
|
|
456
456
|
class: a(w(e)),
|
|
457
457
|
innerHTML: w(n)
|
|
458
|
-
}, null, 10,
|
|
458
|
+
}, null, 10, ls)) : (i(), u("span", {
|
|
459
459
|
key: 1,
|
|
460
460
|
class: a(w(e))
|
|
461
461
|
}, R(w(n)), 3));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), us = ["innerHTML"], ds = /* @__PURE__ */ h({
|
|
464
464
|
__name: "StringEditor",
|
|
465
465
|
props: {
|
|
466
466
|
locString: {}
|
|
@@ -479,7 +479,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
479
479
|
innerHTML: o.locString.renderedHtml,
|
|
480
480
|
onBlur: n,
|
|
481
481
|
onClick: e
|
|
482
|
-
}, null, 40,
|
|
482
|
+
}, null, 40, us)) : (i(), u("span", {
|
|
483
483
|
key: 1,
|
|
484
484
|
class: "sv-string-editor",
|
|
485
485
|
contenteditable: "true",
|
|
@@ -487,7 +487,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
487
487
|
onClick: e
|
|
488
488
|
}, R(o.locString.renderedHtml), 33));
|
|
489
489
|
}
|
|
490
|
-
}),
|
|
490
|
+
}), ms = ["id"], cs = /* @__PURE__ */ h({
|
|
491
491
|
__name: "Skeleton",
|
|
492
492
|
props: {
|
|
493
493
|
element: {}
|
|
@@ -497,9 +497,9 @@ const Ge = /* @__PURE__ */ h({
|
|
|
497
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, ms));
|
|
501
501
|
}
|
|
502
|
-
}),
|
|
502
|
+
}), ps = ["id"], vs = ["value"], qs = /* @__PURE__ */ h({
|
|
503
503
|
inheritAttrs: !1,
|
|
504
504
|
__name: "Text",
|
|
505
505
|
props: {
|
|
@@ -522,8 +522,8 @@ const Ge = /* @__PURE__ */ h({
|
|
|
522
522
|
p("datalist", {
|
|
523
523
|
id: e.question.dataListId
|
|
524
524
|
}, [
|
|
525
|
-
(i(!0), u(D, null, B(e.question.dataList, (l) => (i(), u("option", { value: l }, null, 8,
|
|
526
|
-
], 8,
|
|
525
|
+
(i(!0), u(D, null, B(e.question.dataList, (l) => (i(), u("option", { value: l }, null, 8, vs))), 256))
|
|
526
|
+
], 8, ps)
|
|
527
527
|
], 512)) : (i(), g(t, {
|
|
528
528
|
key: 2,
|
|
529
529
|
question: e.question,
|
|
@@ -533,7 +533,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
533
533
|
}, null, 8, ["question", "get-ref"]));
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), ys = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], 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 = /* @__PURE__ */ h({
|
|
537
537
|
__name: "TextInput",
|
|
538
538
|
props: {
|
|
539
539
|
question: {},
|
|
@@ -578,7 +578,7 @@ const Ge = /* @__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, gs),
|
|
582
582
|
C(v, {
|
|
583
583
|
counter: l.question.characterCounter,
|
|
584
584
|
remainingCharacterCounter: l.question.cssClasses.remainingCharacterCounter
|
|
@@ -612,13 +612,13 @@ const Ge = /* @__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, ys));
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
-
}),
|
|
618
|
+
}), Cs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], bs = {
|
|
619
619
|
key: 0,
|
|
620
620
|
class: "sv-hidden"
|
|
621
|
-
},
|
|
621
|
+
}, ks = { key: 7 }, fs = ["value"], ge = /* @__PURE__ */ h({
|
|
622
622
|
inheritAttrs: !1,
|
|
623
623
|
__name: "SelectBase",
|
|
624
624
|
props: {
|
|
@@ -650,18 +650,18 @@ const Ge = /* @__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(D, { key: 1 }, B(t.question.headItems, (v) => (i(), g(T(e(v)),
|
|
653
|
+
t.showLegend ? (i(), u("legend", bs, 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)), M({
|
|
655
655
|
key: v.value
|
|
656
656
|
}, o(v)), null, 16))), 128)) : d("", !0),
|
|
657
|
-
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(D, { key: 2 }, B(t.question.bodyItems, (v) => (i(), g(T(e(v)),
|
|
657
|
+
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(D, { key: 2 }, B(t.question.bodyItems, (v) => (i(), g(T(e(v)), M({
|
|
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(D, { key: 0 }, B(t.question.dataChoices, (v) => (i(), g(T(e(v)),
|
|
664
|
+
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(D, { key: 0 }, B(t.question.dataChoices, (v) => (i(), g(T(e(v)), M({
|
|
665
665
|
key: v.value
|
|
666
666
|
}, o(v)), null, 16))), 128)) : d("", !0)
|
|
667
667
|
], 2)) : d("", !0),
|
|
@@ -674,32 +674,32 @@ const Ge = /* @__PURE__ */ h({
|
|
|
674
674
|
class: a(t.question.getColumnClass()),
|
|
675
675
|
role: "presentation"
|
|
676
676
|
}, [
|
|
677
|
-
(i(!0), u(D, null, B(v, (q) => (i(), g(T(e(q)),
|
|
677
|
+
(i(!0), u(D, null, B(v, (q) => (i(), g(T(e(q)), M({
|
|
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(D, { key: 5 }, B(t.question.footItems, (v) => (i(), g(T(e(v)),
|
|
682
|
+
t.question.hasFootItems ? (i(!0), u(D, { key: 5 }, B(t.question.footItems, (v) => (i(), g(T(e(v)), M({
|
|
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", ks, [
|
|
690
690
|
p("input", {
|
|
691
691
|
type: "button",
|
|
692
692
|
class: a(t.question.cssClasses.clearButton),
|
|
693
693
|
onClick: l[0] || (l[0] = () => {
|
|
694
|
-
t.question.clearValue();
|
|
694
|
+
t.question.clearValue(!0);
|
|
695
695
|
}),
|
|
696
696
|
value: t.question.clearButtonCaption
|
|
697
|
-
}, null, 10,
|
|
697
|
+
}, null, 10, fs)
|
|
698
698
|
])) : d("", !0)
|
|
699
|
-
], 10,
|
|
699
|
+
], 10, Cs);
|
|
700
700
|
};
|
|
701
701
|
}
|
|
702
|
-
}),
|
|
702
|
+
}), ws = /* @__PURE__ */ h({
|
|
703
703
|
inheritAttrs: !1,
|
|
704
704
|
__name: "Checkbox",
|
|
705
705
|
props: {
|
|
@@ -711,7 +711,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
711
711
|
"show-legend": !0
|
|
712
712
|
}, null, 8, ["question"]));
|
|
713
713
|
}
|
|
714
|
-
}),
|
|
714
|
+
}), Is = ["name", "checked", "value", "id", "disabled"], Ss = ["xlink:href"], Rs = /* @__PURE__ */ h({
|
|
715
715
|
inheritAttrs: !1,
|
|
716
716
|
__name: "CheckboxItem",
|
|
717
717
|
props: {
|
|
@@ -746,7 +746,7 @@ const Ge = /* @__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, Is),
|
|
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 Ge = /* @__PURE__ */ h({
|
|
|
757
757
|
}, [
|
|
758
758
|
p("use", {
|
|
759
759
|
"xlink:href": e.question.itemSvgIcon
|
|
760
|
-
}, null, 8,
|
|
760
|
+
}, null, 8, Ss)
|
|
761
761
|
], 2)) : d("", !0)
|
|
762
762
|
], 2)) : d("", !0),
|
|
763
763
|
e.hideLabel ? d("", !0) : (i(), u("span", {
|
|
@@ -772,7 +772,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
772
772
|
], 2);
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
|
-
}),
|
|
775
|
+
}), Ts = /* @__PURE__ */ h({
|
|
776
776
|
inheritAttrs: !1,
|
|
777
777
|
__name: "Radiogroup",
|
|
778
778
|
props: {
|
|
@@ -781,7 +781,7 @@ const Ge = /* @__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"], _s = ["xlink:href"], Ds = /* @__PURE__ */ h({
|
|
785
785
|
inheritAttrs: !1,
|
|
786
786
|
__name: "RadiogroupItem",
|
|
787
787
|
props: {
|
|
@@ -816,7 +816,7 @@ const Ge = /* @__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 Ge = /* @__PURE__ */ h({
|
|
|
829
829
|
}, [
|
|
830
830
|
p("use", {
|
|
831
831
|
"xlink:href": t.question.itemSvgIcon
|
|
832
|
-
}, null, 8,
|
|
832
|
+
}, null, 8, _s)
|
|
833
833
|
], 2)) : d("", !0)
|
|
834
834
|
], 2)) : d("", !0),
|
|
835
835
|
t.hideLabel ? d("", !0) : (i(), u("span", {
|
|
@@ -844,7 +844,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
844
844
|
], 2);
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
}),
|
|
847
|
+
}), Bs = ["src"], Ls = ["title"], Ns = { key: 0 }, Ps = /* @__PURE__ */ h({
|
|
848
848
|
inheritAttrs: !1,
|
|
849
849
|
__name: "Signaturepad",
|
|
850
850
|
props: {
|
|
@@ -869,7 +869,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
869
869
|
locString: e.question.locRenderedPlaceholder
|
|
870
870
|
}, null, 8, ["locString"])
|
|
871
871
|
], 2), [
|
|
872
|
-
[
|
|
872
|
+
[H, e.question.needShowPlaceholder()]
|
|
873
873
|
]),
|
|
874
874
|
p("div", null, [
|
|
875
875
|
e.question.backgroundImage ? (i(), u("img", {
|
|
@@ -879,7 +879,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
879
879
|
style: I({
|
|
880
880
|
width: e.question.renderedCanvasWidth
|
|
881
881
|
})
|
|
882
|
-
}, null, 14,
|
|
882
|
+
}, null, 14, Bs)) : d("", !0),
|
|
883
883
|
p("canvas", {
|
|
884
884
|
tabindex: "-1",
|
|
885
885
|
class: a(e.question.cssClasses.canvas),
|
|
@@ -895,16 +895,16 @@ const Ge = /* @__PURE__ */ h({
|
|
|
895
895
|
class: a(e.question.cssClasses.clearButton),
|
|
896
896
|
title: e.question.clearButtonCaption,
|
|
897
897
|
onClick: o[1] || (o[1] = () => {
|
|
898
|
-
e.question.clearValue();
|
|
898
|
+
e.question.clearValue(!0);
|
|
899
899
|
})
|
|
900
900
|
}, [
|
|
901
|
-
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span",
|
|
901
|
+
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span", Ns, "\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, Ls)
|
|
908
908
|
], 2)) : d("", !0),
|
|
909
909
|
e.question.showLoadingIndicator ? (i(), u("div", {
|
|
910
910
|
key: 1,
|
|
@@ -915,7 +915,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
915
915
|
], 6);
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
|
-
}),
|
|
918
|
+
}), As = ["innerHTML"], Es = /* @__PURE__ */ h({
|
|
919
919
|
inheritAttrs: !1,
|
|
920
920
|
__name: "Html",
|
|
921
921
|
props: {
|
|
@@ -930,9 +930,9 @@ const Ge = /* @__PURE__ */ h({
|
|
|
930
930
|
ref: n,
|
|
931
931
|
class: a(o.question.renderCssRoot),
|
|
932
932
|
innerHTML: w(e)
|
|
933
|
-
}, null, 10,
|
|
933
|
+
}, null, 10, As));
|
|
934
934
|
}
|
|
935
|
-
}), Hs = ["src", "alt", "width", "height"],
|
|
935
|
+
}), Hs = ["src", "alt", "width", "height"], Ms = ["src", "width", "height"], Ws = ["src", "width", "height"], Fs = /* @__PURE__ */ h({
|
|
936
936
|
inheritAttrs: !1,
|
|
937
937
|
__name: "Image",
|
|
938
938
|
props: {
|
|
@@ -968,7 +968,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
968
968
|
o.question.onErrorHandler();
|
|
969
969
|
})
|
|
970
970
|
}, null, 46, Hs)), [
|
|
971
|
-
[
|
|
971
|
+
[H, w(e) && !o.question.contentNotLoaded]
|
|
972
972
|
]) : d("", !0),
|
|
973
973
|
o.question.renderedMode === "video" ? P((i(), u("video", {
|
|
974
974
|
key: 1,
|
|
@@ -988,8 +988,8 @@ const Ge = /* @__PURE__ */ h({
|
|
|
988
988
|
onError: t[3] || (t[3] = (m) => {
|
|
989
989
|
o.question.onErrorHandler();
|
|
990
990
|
})
|
|
991
|
-
}, null, 46,
|
|
992
|
-
[
|
|
991
|
+
}, null, 46, Ms)), [
|
|
992
|
+
[H, w(e) && !o.question.contentNotLoaded]
|
|
993
993
|
]) : d("", !0),
|
|
994
994
|
o.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
995
995
|
key: 2,
|
|
@@ -1002,7 +1002,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1002
1002
|
width: o.question.renderedStyleWidth,
|
|
1003
1003
|
height: o.question.renderedStyleHeight
|
|
1004
1004
|
})
|
|
1005
|
-
}, null, 14,
|
|
1005
|
+
}, null, 14, Ws)) : 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 Ge = /* @__PURE__ */ h({
|
|
|
1015
1015
|
], 2);
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
|
-
}),
|
|
1018
|
+
}), Vs = /* @__PURE__ */ h({
|
|
1019
1019
|
inheritAttrs: !1,
|
|
1020
1020
|
__name: "Expression",
|
|
1021
1021
|
props: {
|
|
@@ -1029,7 +1029,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1029
1029
|
ref: n
|
|
1030
1030
|
}, R(e.question.formatedValue), 3));
|
|
1031
1031
|
}
|
|
1032
|
-
}),
|
|
1032
|
+
}), Os = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], zs = ["id", "multiple", "placeholder"], Us = /* @__PURE__ */ h({
|
|
1033
1033
|
inheritAttrs: !1,
|
|
1034
1034
|
__name: "File",
|
|
1035
1035
|
props: {
|
|
@@ -1058,7 +1058,7 @@ const Ge = /* @__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, Os)) : d("", !0),
|
|
1062
1062
|
e.question.isReadOnly ? (i(), u("input", {
|
|
1063
1063
|
key: 1,
|
|
1064
1064
|
type: "file",
|
|
@@ -1068,7 +1068,7 @@ const Ge = /* @__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, zs)) : 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 Ge = /* @__PURE__ */ h({
|
|
|
1136
1136
|
], 2);
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
}),
|
|
1139
|
+
}), Ks = { class: "sv-hidden" }, ce = "survey-imagepicker-item", Qs = /* @__PURE__ */ h({
|
|
1140
1140
|
inheritAttrs: !1,
|
|
1141
1141
|
__name: "Imagepicker",
|
|
1142
1142
|
props: {
|
|
@@ -1158,8 +1158,8 @@ const Ge = /* @__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(D, { key: 0 }, B(t.question.visibleChoices, (m) => (i(), g(T(e(m)),
|
|
1161
|
+
p("legend", Ks, 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)), M({
|
|
1163
1163
|
key: m.value
|
|
1164
1164
|
}, o(m)), null, 16))), 128)),
|
|
1165
1165
|
t.question.hasColumns ? (i(!0), u(D, { key: 1 }, B(t.question.columns, (m, v) => (i(), u("div", {
|
|
@@ -1167,13 +1167,13 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1167
1167
|
key: v,
|
|
1168
1168
|
role: "presentation"
|
|
1169
1169
|
}, [
|
|
1170
|
-
(i(!0), u(D, null, B(m, (c) => (i(), g(T(e(c)),
|
|
1170
|
+
(i(!0), u(D, null, B(m, (c) => (i(), g(T(e(c)), M({
|
|
1171
1171
|
key: c.value
|
|
1172
1172
|
}, o(c)), null, 16))), 128))
|
|
1173
1173
|
], 2))), 128)) : d("", !0)
|
|
1174
1174
|
], 2));
|
|
1175
1175
|
}
|
|
1176
|
-
}),
|
|
1176
|
+
}), js = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Gs = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Js = ["src", "width", "height", "alt"], Xs = ["src", "width", "height"], Ys = /* @__PURE__ */ h({
|
|
1177
1177
|
inheritAttrs: !1,
|
|
1178
1178
|
__name: "ImagepickerItem",
|
|
1179
1179
|
props: {
|
|
@@ -1205,7 +1205,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1205
1205
|
"aria-invalid": o.question.ariaInvalid,
|
|
1206
1206
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1207
1207
|
class: a(o.question.cssClasses.itemControl)
|
|
1208
|
-
}, null, 10,
|
|
1208
|
+
}, null, 10, js)), [
|
|
1209
1209
|
[oe, o.question.value]
|
|
1210
1210
|
]) : P((i(), u("input", {
|
|
1211
1211
|
key: 1,
|
|
@@ -1220,7 +1220,7 @@ const Ge = /* @__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, Gs)), [
|
|
1224
1224
|
[x, o.question.value]
|
|
1225
1225
|
]),
|
|
1226
1226
|
p("div", {
|
|
@@ -1254,7 +1254,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1254
1254
|
onError: t[3] || (t[3] = (v) => {
|
|
1255
1255
|
o.item.onErrorHandler();
|
|
1256
1256
|
})
|
|
1257
|
-
}, null, 46,
|
|
1257
|
+
}, null, 46, Js)) : 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 Ge = /* @__PURE__ */ h({
|
|
|
1269
1269
|
onError: t[5] || (t[5] = (v) => {
|
|
1270
1270
|
o.item.onErrorHandler();
|
|
1271
1271
|
})
|
|
1272
|
-
}, null, 46,
|
|
1272
|
+
}, null, 46, Xs)) : 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 Ge = /* @__PURE__ */ h({
|
|
|
1299
1299
|
], 2);
|
|
1300
1300
|
};
|
|
1301
1301
|
}
|
|
1302
|
-
}),
|
|
1302
|
+
}), Zs = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], xs = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], en = /* @__PURE__ */ h({
|
|
1303
1303
|
inheritAttrs: !1,
|
|
1304
1304
|
__name: "Comment",
|
|
1305
1305
|
props: {
|
|
@@ -1342,7 +1342,7 @@ const Ge = /* @__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, Zs)) : !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 Ge = /* @__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, xs),
|
|
1375
1375
|
C(l, {
|
|
1376
1376
|
counter: o.question.characterCounter,
|
|
1377
1377
|
remainingCharacterCounter: o.question.cssClasses.remainingCharacterCounter
|
|
@@ -1383,7 +1383,7 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1383
1383
|
}, R(o.question.value), 513));
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
1386
|
-
}),
|
|
1386
|
+
}), sn = /* @__PURE__ */ h({
|
|
1387
1387
|
inheritAttrs: !1,
|
|
1388
1388
|
__name: "Dropdown",
|
|
1389
1389
|
props: {
|
|
@@ -1406,16 +1406,16 @@ const Ge = /* @__PURE__ */ h({
|
|
|
1406
1406
|
], 2);
|
|
1407
1407
|
};
|
|
1408
1408
|
}
|
|
1409
|
-
}),
|
|
1409
|
+
}), nn = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], on = {
|
|
1410
1410
|
key: 0,
|
|
1411
1411
|
value: ""
|
|
1412
|
-
},
|
|
1412
|
+
}, tn = ["id"];
|
|
1413
1413
|
ee.Instance.registerRenderer(
|
|
1414
1414
|
"dropdown",
|
|
1415
1415
|
"select",
|
|
1416
1416
|
"sv-dropdown-select"
|
|
1417
1417
|
);
|
|
1418
|
-
const
|
|
1418
|
+
const rn = /* @__PURE__ */ h({
|
|
1419
1419
|
inheritAttrs: !1,
|
|
1420
1420
|
__name: "DropdownSelect",
|
|
1421
1421
|
props: {
|
|
@@ -1453,7 +1453,7 @@ const ln = /* @__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, tn)) : 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,12 +1467,12 @@ const ln = /* @__PURE__ */ h({
|
|
|
1467
1467
|
"aria-errormessage": l.question.ariaErrormessage,
|
|
1468
1468
|
required: l.question.isRequired
|
|
1469
1469
|
}, [
|
|
1470
|
-
l.question.allowClear ? (i(), u("option",
|
|
1470
|
+
l.question.allowClear ? (i(), u("option", on, R(l.question.placeholder), 1)) : d("", !0),
|
|
1471
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,
|
|
1475
|
+
], 42, nn)), [
|
|
1476
1476
|
[we, t.value]
|
|
1477
1477
|
]),
|
|
1478
1478
|
l.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
@@ -1493,7 +1493,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1493
1493
|
], 2);
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
1496
|
-
}),
|
|
1496
|
+
}), ln = ["value", "disabled"], an = /* @__PURE__ */ h({
|
|
1497
1497
|
__name: "OptionItem",
|
|
1498
1498
|
props: {
|
|
1499
1499
|
item: {}
|
|
@@ -1503,18 +1503,15 @@ const ln = /* @__PURE__ */ h({
|
|
|
1503
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, ln));
|
|
1507
1507
|
}
|
|
1508
|
-
}),
|
|
1508
|
+
}), un = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], dn = { style: { visibility: "hidden" } }, mn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], cn = ["id"], pn = /* @__PURE__ */ h({
|
|
1509
1509
|
__name: "Dropdown",
|
|
1510
1510
|
props: {
|
|
1511
1511
|
question: {}
|
|
1512
1512
|
},
|
|
1513
1513
|
setup(r) {
|
|
1514
|
-
const s = r, n = $(null), e = S(() => {
|
|
1515
|
-
const b = s.question;
|
|
1516
|
-
return b.dropdownListModel || (b.dropdownListModel = new Be(b)), s.question.dropdownListModel;
|
|
1517
|
-
}), o = (b) => {
|
|
1514
|
+
const s = r, n = $(null), e = S(() => s.question.dropdownListModel), o = (b) => {
|
|
1518
1515
|
var N;
|
|
1519
1516
|
(N = e.value) == null || N.onClick(b);
|
|
1520
1517
|
}, t = (b) => {
|
|
@@ -1529,7 +1526,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1529
1526
|
}, v = () => {
|
|
1530
1527
|
if (n.value) {
|
|
1531
1528
|
const b = n.value, N = e.value.inputStringRendered;
|
|
1532
|
-
|
|
1529
|
+
Be.isTwoValueEquals(N, b.value, !1, !0, !1) || (b.value = e.value.inputStringRendered);
|
|
1533
1530
|
}
|
|
1534
1531
|
}, c = (b) => {
|
|
1535
1532
|
var N;
|
|
@@ -1542,7 +1539,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1542
1539
|
}, k = S(
|
|
1543
1540
|
() => s.question.showSelectedItemLocText
|
|
1544
1541
|
), _ = S(() => s.question.selectedItemLocText);
|
|
1545
|
-
return L(() => e.value), te(v),
|
|
1542
|
+
return L(() => e.value), te(v), E(v), (b, N) => {
|
|
1546
1543
|
const W = y("survey-string"), F = y("sv-svg-icon"), Q = y("sv-popup");
|
|
1547
1544
|
return i(), u("div", {
|
|
1548
1545
|
class: a(b.question.cssClasses.selectWrapper),
|
|
@@ -1583,7 +1580,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1583
1580
|
key: 1,
|
|
1584
1581
|
class: a(b.question.cssClasses.hintSuffix)
|
|
1585
1582
|
}, [
|
|
1586
|
-
p("span",
|
|
1583
|
+
p("span", dn, R(e.value.inputStringRendered), 1),
|
|
1587
1584
|
p("span", null, R(e.value.hintStringSuffix), 1)
|
|
1588
1585
|
], 2)) : d("", !0),
|
|
1589
1586
|
b.question.showInputFieldComponent ? (i(), g(T(b.question.inputFieldComponentName), {
|
|
@@ -1613,7 +1610,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1613
1610
|
onInput: f,
|
|
1614
1611
|
onBlur: c,
|
|
1615
1612
|
onFocus: q
|
|
1616
|
-
}, null, 42,
|
|
1613
|
+
}, null, 42, mn)
|
|
1617
1614
|
], 2),
|
|
1618
1615
|
b.question.allowClear && b.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
1619
1616
|
key: 1,
|
|
@@ -1628,9 +1625,9 @@ const ln = /* @__PURE__ */ h({
|
|
|
1628
1625
|
size: "auto"
|
|
1629
1626
|
}, null, 8, ["class", "iconName", "title"])
|
|
1630
1627
|
], 2)), [
|
|
1631
|
-
[
|
|
1628
|
+
[H, b.question.showClearButton]
|
|
1632
1629
|
]) : d("", !0)
|
|
1633
|
-
], 42,
|
|
1630
|
+
], 42, un)),
|
|
1634
1631
|
b.question.isReadOnly ? (i(), u("div", {
|
|
1635
1632
|
key: 2,
|
|
1636
1633
|
disabled: "",
|
|
@@ -1642,7 +1639,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1642
1639
|
locString: b.question.selectedItemLocText
|
|
1643
1640
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1644
1641
|
p("div", null, R(b.question.readOnlyText), 1)
|
|
1645
|
-
], 10,
|
|
1642
|
+
], 10, cn)) : (i(), g(Q, {
|
|
1646
1643
|
key: 1,
|
|
1647
1644
|
model: b.question.dropdownListModel.popupModel
|
|
1648
1645
|
}, null, 8, ["model"])),
|
|
@@ -1661,7 +1658,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1661
1658
|
], 2);
|
|
1662
1659
|
};
|
|
1663
1660
|
}
|
|
1664
|
-
}),
|
|
1661
|
+
}), vn = /* @__PURE__ */ h({
|
|
1665
1662
|
inheritAttrs: !1,
|
|
1666
1663
|
__name: "Tagbox",
|
|
1667
1664
|
props: {
|
|
@@ -1684,7 +1681,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1684
1681
|
], 2);
|
|
1685
1682
|
};
|
|
1686
1683
|
}
|
|
1687
|
-
}),
|
|
1684
|
+
}), qn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], yn = ["id"], gn = /* @__PURE__ */ h({
|
|
1688
1685
|
__name: "Tagbox",
|
|
1689
1686
|
props: {
|
|
1690
1687
|
question: {}
|
|
@@ -1692,7 +1689,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1692
1689
|
setup(r) {
|
|
1693
1690
|
const s = r, n = S(() => {
|
|
1694
1691
|
const c = s.question;
|
|
1695
|
-
return c.dropdownListModel || (c.dropdownListModel = new
|
|
1692
|
+
return c.dropdownListModel || (c.dropdownListModel = new Le(c)), s.question.dropdownListModel;
|
|
1696
1693
|
}), e = (c) => {
|
|
1697
1694
|
var q;
|
|
1698
1695
|
(q = n.value) == null || q.onClick(c);
|
|
@@ -1759,9 +1756,9 @@ const ln = /* @__PURE__ */ h({
|
|
|
1759
1756
|
size: "auto"
|
|
1760
1757
|
}, null, 8, ["class", "iconName", "title"])
|
|
1761
1758
|
], 2)), [
|
|
1762
|
-
[
|
|
1759
|
+
[H, c.question.showClearButton]
|
|
1763
1760
|
]) : d("", !0)
|
|
1764
|
-
], 42,
|
|
1761
|
+
], 42, qn)),
|
|
1765
1762
|
c.question.isReadOnly ? (i(), u("div", {
|
|
1766
1763
|
key: 2,
|
|
1767
1764
|
disabled: "",
|
|
@@ -1772,7 +1769,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1772
1769
|
key: 0,
|
|
1773
1770
|
locString: c.question.locReadOnlyText
|
|
1774
1771
|
}, null, 8, ["locString"])) : d("", !0)
|
|
1775
|
-
], 10,
|
|
1772
|
+
], 10, yn)) : (i(), g(b, {
|
|
1776
1773
|
key: 1,
|
|
1777
1774
|
model: n.value.popupModel
|
|
1778
1775
|
}, null, 8, ["model"])),
|
|
@@ -1791,7 +1788,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1791
1788
|
], 2);
|
|
1792
1789
|
};
|
|
1793
1790
|
}
|
|
1794
|
-
}),
|
|
1791
|
+
}), hn = { style: { visibility: "hidden" } }, Cn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "id", "readonly", "size"], bn = /* @__PURE__ */ h({
|
|
1795
1792
|
__name: "TagboxFilter",
|
|
1796
1793
|
props: {
|
|
1797
1794
|
question: {},
|
|
@@ -1830,7 +1827,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1830
1827
|
key: 1,
|
|
1831
1828
|
class: a(l.question.cssClasses.hintSuffix)
|
|
1832
1829
|
}, [
|
|
1833
|
-
p("span",
|
|
1830
|
+
p("span", hn, R(l.model.inputStringRendered), 1),
|
|
1834
1831
|
p("span", null, R(l.model.hintStringSuffix), 1)
|
|
1835
1832
|
], 2)) : d("", !0),
|
|
1836
1833
|
P(p("input", {
|
|
@@ -1855,14 +1852,14 @@ const ln = /* @__PURE__ */ h({
|
|
|
1855
1852
|
onKeydown: e,
|
|
1856
1853
|
onBlur: o,
|
|
1857
1854
|
onFocus: t
|
|
1858
|
-
}, null, 42,
|
|
1855
|
+
}, null, 42, Cn), [
|
|
1859
1856
|
[Ie, l.model.inputStringRendered]
|
|
1860
1857
|
])
|
|
1861
1858
|
], 2)
|
|
1862
1859
|
], 2);
|
|
1863
1860
|
};
|
|
1864
1861
|
}
|
|
1865
|
-
}),
|
|
1862
|
+
}), kn = { class: "sv-tagbox__item-text" }, fn = /* @__PURE__ */ h({
|
|
1866
1863
|
__name: "TagboxItem",
|
|
1867
1864
|
props: {
|
|
1868
1865
|
question: {},
|
|
@@ -1878,7 +1875,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1878
1875
|
class: "sv-tagbox__item",
|
|
1879
1876
|
key: e.item.key
|
|
1880
1877
|
}, [
|
|
1881
|
-
p("div",
|
|
1878
|
+
p("div", kn, [
|
|
1882
1879
|
C(t, {
|
|
1883
1880
|
locString: e.item.locText
|
|
1884
1881
|
}, null, 8, ["locString"])
|
|
@@ -1896,7 +1893,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1896
1893
|
]);
|
|
1897
1894
|
};
|
|
1898
1895
|
}
|
|
1899
|
-
}),
|
|
1896
|
+
}), wn = /* @__PURE__ */ h({
|
|
1900
1897
|
inheritAttrs: !1,
|
|
1901
1898
|
__name: "Ranking",
|
|
1902
1899
|
props: {
|
|
@@ -1924,7 +1921,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1924
1921
|
ref_key: "root",
|
|
1925
1922
|
ref: n
|
|
1926
1923
|
}, [
|
|
1927
|
-
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(D, { key: 0 }, B(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)),
|
|
1924
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(D, { key: 0 }, B(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)), M({
|
|
1928
1925
|
key: v.value + "-" + c + "-item"
|
|
1929
1926
|
}, o(v, c)), null, 16))), 128)),
|
|
1930
1927
|
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
@@ -1932,7 +1929,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1932
1929
|
class: a(t.question.getContainerClasses("from")),
|
|
1933
1930
|
"data-ranking": "from-container"
|
|
1934
1931
|
}, [
|
|
1935
|
-
(i(!0), u(D, null, B(t.question.unRankingChoices, (v, c) => (i(), g(T(e(v)),
|
|
1932
|
+
(i(!0), u(D, null, B(t.question.unRankingChoices, (v, c) => (i(), g(T(e(v)), M({
|
|
1936
1933
|
key: v.value + "-" + c + "-item"
|
|
1937
1934
|
}, o(v, c, !0)), null, 16))), 128)),
|
|
1938
1935
|
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1953,7 +1950,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
1953
1950
|
class: a(t.question.getContainerClasses("to")),
|
|
1954
1951
|
"data-ranking": "to-container"
|
|
1955
1952
|
}, [
|
|
1956
|
-
(i(!0), u(D, null, B(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)),
|
|
1953
|
+
(i(!0), u(D, null, B(t.question.rankingChoices, (v, c) => (i(), g(T(e(v)), M({
|
|
1957
1954
|
key: v.value + "-" + c + "-item"
|
|
1958
1955
|
}, o(v, c)), null, 16))), 128)),
|
|
1959
1956
|
t.question.rankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1968,10 +1965,10 @@ const ln = /* @__PURE__ */ h({
|
|
|
1968
1965
|
], 2);
|
|
1969
1966
|
};
|
|
1970
1967
|
}
|
|
1971
|
-
}),
|
|
1968
|
+
}), In = ["tabindex", "data-sv-drop-target-ranking-item"], Sn = {
|
|
1972
1969
|
tabindex: "-1",
|
|
1973
1970
|
style: { outline: "none" }
|
|
1974
|
-
},
|
|
1971
|
+
}, Rn = ["xlink:href"], Tn = ["xlink:href"], $n = ["xlink:href"], _n = /* @__PURE__ */ h({
|
|
1975
1972
|
inheritAttrs: !1,
|
|
1976
1973
|
__name: "RankingItem",
|
|
1977
1974
|
props: {
|
|
@@ -2008,7 +2005,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2008
2005
|
);
|
|
2009
2006
|
})
|
|
2010
2007
|
}, [
|
|
2011
|
-
p("div",
|
|
2008
|
+
p("div", Sn, [
|
|
2012
2009
|
p("div", {
|
|
2013
2010
|
class: a(e.question.cssClasses.itemGhostNode)
|
|
2014
2011
|
}, null, 2),
|
|
@@ -2023,14 +2020,14 @@ const ln = /* @__PURE__ */ h({
|
|
|
2023
2020
|
}, [
|
|
2024
2021
|
p("use", {
|
|
2025
2022
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2026
|
-
}, null, 8,
|
|
2023
|
+
}, null, 8, Rn)
|
|
2027
2024
|
], 2)),
|
|
2028
2025
|
(i(), u("svg", {
|
|
2029
2026
|
class: a(e.question.getIconFocusCss())
|
|
2030
2027
|
}, [
|
|
2031
2028
|
p("use", {
|
|
2032
2029
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2033
|
-
}, null, 8,
|
|
2030
|
+
}, null, 8, Tn)
|
|
2034
2031
|
], 2))
|
|
2035
2032
|
], 2),
|
|
2036
2033
|
!e.unrankedItem && n.value ? (i(), u("div", {
|
|
@@ -2043,7 +2040,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2043
2040
|
(i(), u("svg", null, [
|
|
2044
2041
|
p("use", {
|
|
2045
2042
|
"xlink:href": e.question.dashSvgIcon
|
|
2046
|
-
}, null, 8,
|
|
2043
|
+
}, null, 8, $n)
|
|
2047
2044
|
]))
|
|
2048
2045
|
], 2)),
|
|
2049
2046
|
p("div", {
|
|
@@ -2055,13 +2052,13 @@ const ln = /* @__PURE__ */ h({
|
|
|
2055
2052
|
], 2)
|
|
2056
2053
|
], 2)
|
|
2057
2054
|
])
|
|
2058
|
-
], 42,
|
|
2055
|
+
], 42, In);
|
|
2059
2056
|
};
|
|
2060
2057
|
}
|
|
2061
|
-
}),
|
|
2058
|
+
}), Dn = { role: "radiogroup" }, Bn = /* @__PURE__ */ p("legend", {
|
|
2062
2059
|
role: "presentation",
|
|
2063
2060
|
class: "sv-hidden"
|
|
2064
|
-
}, null, -1),
|
|
2061
|
+
}, null, -1), Ln = /* @__PURE__ */ h({
|
|
2065
2062
|
inheritAttrs: !1,
|
|
2066
2063
|
__name: "Rating",
|
|
2067
2064
|
props: {
|
|
@@ -2078,8 +2075,8 @@ const ln = /* @__PURE__ */ h({
|
|
|
2078
2075
|
ref_key: "root",
|
|
2079
2076
|
ref: n
|
|
2080
2077
|
}, [
|
|
2081
|
-
p("fieldset",
|
|
2082
|
-
|
|
2078
|
+
p("fieldset", Dn, [
|
|
2079
|
+
Bn,
|
|
2083
2080
|
o.question.hasMinLabel ? (i(), u("span", {
|
|
2084
2081
|
key: 0,
|
|
2085
2082
|
class: a(o.question.cssClasses.minText)
|
|
@@ -2106,7 +2103,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2106
2103
|
], 2);
|
|
2107
2104
|
};
|
|
2108
2105
|
}
|
|
2109
|
-
}),
|
|
2106
|
+
}), Nn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Pn = /* @__PURE__ */ h({
|
|
2110
2107
|
__name: "RatingItem",
|
|
2111
2108
|
props: {
|
|
2112
2109
|
question: {},
|
|
@@ -2134,7 +2131,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2134
2131
|
"aria-label": n.question.ariaLabel,
|
|
2135
2132
|
"aria-invalid": n.question.ariaInvalid,
|
|
2136
2133
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2137
|
-
}, null, 8,
|
|
2134
|
+
}, null, 8, Nn),
|
|
2138
2135
|
p("span", {
|
|
2139
2136
|
class: a(n.question.cssClasses.itemText)
|
|
2140
2137
|
}, [
|
|
@@ -2145,7 +2142,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2145
2142
|
], 34);
|
|
2146
2143
|
};
|
|
2147
2144
|
}
|
|
2148
|
-
}),
|
|
2145
|
+
}), An = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], En = /* @__PURE__ */ h({
|
|
2149
2146
|
__name: "RatingItemSmiley",
|
|
2150
2147
|
props: {
|
|
2151
2148
|
question: {},
|
|
@@ -2176,7 +2173,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2176
2173
|
"aria-label": n.question.ariaLabel,
|
|
2177
2174
|
"aria-invalid": n.question.ariaInvalid,
|
|
2178
2175
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2179
|
-
}, null, 8,
|
|
2176
|
+
}, null, 8, An),
|
|
2180
2177
|
C(o, {
|
|
2181
2178
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2182
2179
|
size: "auto",
|
|
@@ -2185,7 +2182,7 @@ const ln = /* @__PURE__ */ h({
|
|
|
2185
2182
|
], 38);
|
|
2186
2183
|
};
|
|
2187
2184
|
}
|
|
2188
|
-
}), Hn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"],
|
|
2185
|
+
}), Hn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Mn = /* @__PURE__ */ h({
|
|
2189
2186
|
__name: "RatingItemStar",
|
|
2190
2187
|
props: {
|
|
2191
2188
|
question: {},
|
|
@@ -2231,10 +2228,10 @@ const ln = /* @__PURE__ */ h({
|
|
|
2231
2228
|
], 34);
|
|
2232
2229
|
};
|
|
2233
2230
|
}
|
|
2234
|
-
}),
|
|
2231
|
+
}), Wn = { class: "sd-rating-dropdown-item" }, Fn = { class: "sd-rating-dropdown-item_text" }, Vn = {
|
|
2235
2232
|
key: 0,
|
|
2236
2233
|
class: "sd-rating-dropdown-item_description"
|
|
2237
|
-
},
|
|
2234
|
+
}, On = /* @__PURE__ */ h({
|
|
2238
2235
|
__name: "RatingDropdownItem",
|
|
2239
2236
|
props: {
|
|
2240
2237
|
item: {}
|
|
@@ -2243,9 +2240,9 @@ const ln = /* @__PURE__ */ h({
|
|
|
2243
2240
|
const s = r;
|
|
2244
2241
|
return L(() => s.item), (n, e) => {
|
|
2245
2242
|
const o = y("survey-string");
|
|
2246
|
-
return i(), u("div",
|
|
2247
|
-
p("span",
|
|
2248
|
-
n.item.description ? (i(), u("div",
|
|
2243
|
+
return i(), u("div", Wn, [
|
|
2244
|
+
p("span", Fn, R(n.item.title), 1),
|
|
2245
|
+
n.item.description ? (i(), u("div", Vn, [
|
|
2249
2246
|
C(o, {
|
|
2250
2247
|
locString: n.item.description
|
|
2251
2248
|
}, null, 8, ["locString"])
|
|
@@ -2259,7 +2256,7 @@ ee.Instance.registerRenderer(
|
|
|
2259
2256
|
"dropdown",
|
|
2260
2257
|
"sv-rating-dropdown"
|
|
2261
2258
|
);
|
|
2262
|
-
const
|
|
2259
|
+
const zn = /* @__PURE__ */ h({
|
|
2263
2260
|
inheritAttrs: !1,
|
|
2264
2261
|
__name: "RatingDropdown",
|
|
2265
2262
|
props: {
|
|
@@ -2278,7 +2275,7 @@ const Un = /* @__PURE__ */ h({
|
|
|
2278
2275
|
], 2);
|
|
2279
2276
|
};
|
|
2280
2277
|
}
|
|
2281
|
-
}),
|
|
2278
|
+
}), Un = ["name", "value", "id", ".indeterminate", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Kn = /* @__PURE__ */ h({
|
|
2282
2279
|
inheritAttrs: !1,
|
|
2283
2280
|
__name: "BooleanSwitch",
|
|
2284
2281
|
props: {
|
|
@@ -2320,7 +2317,7 @@ const Un = /* @__PURE__ */ h({
|
|
|
2320
2317
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2321
2318
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2322
2319
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2323
|
-
}, null, 42,
|
|
2320
|
+
}, null, 42, Un), [
|
|
2324
2321
|
[oe, t.question.booleanValue]
|
|
2325
2322
|
]),
|
|
2326
2323
|
p("div", {
|
|
@@ -2375,7 +2372,7 @@ ee.Instance.registerRenderer(
|
|
|
2375
2372
|
"radio",
|
|
2376
2373
|
"sv-boolean-radio"
|
|
2377
2374
|
);
|
|
2378
|
-
const
|
|
2375
|
+
const Qn = /* @__PURE__ */ h({
|
|
2379
2376
|
inheritAttrs: !1,
|
|
2380
2377
|
__name: "BooleanRadio",
|
|
2381
2378
|
props: {
|
|
@@ -2416,7 +2413,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2416
2413
|
], 2);
|
|
2417
2414
|
};
|
|
2418
2415
|
}
|
|
2419
|
-
}),
|
|
2416
|
+
}), jn = ["name", "value", "checked", "aria-errormessage", "disabled"], Gn = ["xlink:href"], Jn = /* @__PURE__ */ h({
|
|
2420
2417
|
__name: "BooleanRadioItem",
|
|
2421
2418
|
props: {
|
|
2422
2419
|
question: {},
|
|
@@ -2446,7 +2443,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2446
2443
|
disabled: e.question.isInputReadOnly,
|
|
2447
2444
|
class: a(e.question.cssClasses.itemRadioControl),
|
|
2448
2445
|
onChange: n
|
|
2449
|
-
}, null, 42,
|
|
2446
|
+
}, null, 42, jn),
|
|
2450
2447
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2451
2448
|
key: 0,
|
|
2452
2449
|
class: a(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2457,7 +2454,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2457
2454
|
}, [
|
|
2458
2455
|
p("use", {
|
|
2459
2456
|
"xlink:href": e.question.itemSvgIcon
|
|
2460
|
-
}, null, 8,
|
|
2457
|
+
}, null, 8, Gn)
|
|
2461
2458
|
], 2)) : d("", !0)
|
|
2462
2459
|
], 2)) : d("", !0),
|
|
2463
2460
|
p("span", {
|
|
@@ -2469,13 +2466,13 @@ const jn = /* @__PURE__ */ h({
|
|
|
2469
2466
|
], 2);
|
|
2470
2467
|
};
|
|
2471
2468
|
}
|
|
2472
|
-
}),
|
|
2469
|
+
}), Xn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Yn = ["xlink:href"], Zn = /* @__PURE__ */ p("span", { class: "check" }, null, -1), xn = ["id"], eo = ["id"];
|
|
2473
2470
|
ee.Instance.registerRenderer(
|
|
2474
2471
|
"boolean",
|
|
2475
2472
|
"checkbox",
|
|
2476
2473
|
"sv-boolean-checkbox"
|
|
2477
2474
|
);
|
|
2478
|
-
const
|
|
2475
|
+
const so = /* @__PURE__ */ h({
|
|
2479
2476
|
inheritAttrs: !1,
|
|
2480
2477
|
__name: "BooleanCheckbox",
|
|
2481
2478
|
props: {
|
|
@@ -2511,7 +2508,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2511
2508
|
"aria-label": e.question.ariaLabel,
|
|
2512
2509
|
"aria-invalid": e.question.ariaInvalid,
|
|
2513
2510
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2514
|
-
}, null, 42,
|
|
2511
|
+
}, null, 42, Xn), [
|
|
2515
2512
|
[oe, e.question.booleanValue]
|
|
2516
2513
|
]),
|
|
2517
2514
|
p("span", {
|
|
@@ -2523,9 +2520,9 @@ const no = /* @__PURE__ */ h({
|
|
|
2523
2520
|
}, [
|
|
2524
2521
|
p("use", {
|
|
2525
2522
|
"xlink:href": e.question.svgIcon
|
|
2526
|
-
}, null, 8,
|
|
2523
|
+
}, null, 8, Yn)
|
|
2527
2524
|
], 2)) : d("", !0),
|
|
2528
|
-
|
|
2525
|
+
Zn
|
|
2529
2526
|
], 2),
|
|
2530
2527
|
e.question.isLabelRendered ? (i(), u("span", {
|
|
2531
2528
|
key: 0,
|
|
@@ -2542,7 +2539,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2542
2539
|
element: e.question,
|
|
2543
2540
|
css: e.css
|
|
2544
2541
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2545
|
-
], 10,
|
|
2542
|
+
], 10, xn)) : d("", !0)
|
|
2546
2543
|
], 2),
|
|
2547
2544
|
e.question.canRenderLabelDescription ? (i(), u("div", {
|
|
2548
2545
|
key: 0,
|
|
@@ -2552,12 +2549,12 @@ const no = /* @__PURE__ */ h({
|
|
|
2552
2549
|
C(m, {
|
|
2553
2550
|
locString: e.question.locDescription
|
|
2554
2551
|
}, null, 8, ["locString"])
|
|
2555
|
-
], 10,
|
|
2552
|
+
], 10, eo)) : d("", !0)
|
|
2556
2553
|
], 2)
|
|
2557
2554
|
], 2);
|
|
2558
2555
|
};
|
|
2559
2556
|
}
|
|
2560
|
-
}),
|
|
2557
|
+
}), no = /* @__PURE__ */ h({
|
|
2561
2558
|
inheritAttrs: !1,
|
|
2562
2559
|
__name: "Multipletext",
|
|
2563
2560
|
props: {
|
|
@@ -2595,7 +2592,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2595
2592
|
], 2);
|
|
2596
2593
|
};
|
|
2597
2594
|
}
|
|
2598
|
-
}),
|
|
2595
|
+
}), oo = { key: 1 }, to = /* @__PURE__ */ h({
|
|
2599
2596
|
__name: "MultipletextItem",
|
|
2600
2597
|
props: {
|
|
2601
2598
|
question: {},
|
|
@@ -2625,7 +2622,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2625
2622
|
C(l, {
|
|
2626
2623
|
locString: e.value.locTitle
|
|
2627
2624
|
}, null, 8, ["locString"]),
|
|
2628
|
-
e.value.editor.isRequireTextAfterTitle ? (i(), u("span",
|
|
2625
|
+
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", oo, "\xA0")) : d("", !0),
|
|
2629
2626
|
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", {
|
|
2630
2627
|
key: 2,
|
|
2631
2628
|
"aria-hidden": "true",
|
|
@@ -2644,7 +2641,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2644
2641
|
], 2));
|
|
2645
2642
|
};
|
|
2646
2643
|
}
|
|
2647
|
-
}),
|
|
2644
|
+
}), io = { class: "sv-hidden" }, ro = { key: 0 }, lo = { key: 0 }, ao = ["onClick"], uo = ["data-responsive-title", "onClick"], mo = /* @__PURE__ */ h({
|
|
2648
2645
|
inheritAttrs: !1,
|
|
2649
2646
|
__name: "Matrix",
|
|
2650
2647
|
props: {
|
|
@@ -2676,13 +2673,13 @@ const no = /* @__PURE__ */ h({
|
|
|
2676
2673
|
ref: n
|
|
2677
2674
|
}, [
|
|
2678
2675
|
p("fieldset", null, [
|
|
2679
|
-
p("legend",
|
|
2676
|
+
p("legend", io, R(t.question.locTitle.renderedHtml), 1),
|
|
2680
2677
|
p("table", {
|
|
2681
2678
|
class: a(t.question.getTableCss())
|
|
2682
2679
|
}, [
|
|
2683
|
-
t.question.showHeader ? (i(), u("thead",
|
|
2680
|
+
t.question.showHeader ? (i(), u("thead", ro, [
|
|
2684
2681
|
p("tr", null, [
|
|
2685
|
-
t.question.hasRows ? (i(), u("td",
|
|
2682
|
+
t.question.hasRows ? (i(), u("td", lo)) : d("", !0),
|
|
2686
2683
|
(i(!0), u(D, null, B(t.question.visibleColumns, (v, c) => (i(), u("th", {
|
|
2687
2684
|
key: c,
|
|
2688
2685
|
class: a(t.question.cssClasses.headerCell),
|
|
@@ -2727,7 +2724,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2727
2724
|
_: 2
|
|
2728
2725
|
}, 1032, ["componentData"]))
|
|
2729
2726
|
], 6), [
|
|
2730
|
-
[
|
|
2727
|
+
[H, t.question.hasRows]
|
|
2731
2728
|
]),
|
|
2732
2729
|
t.question.hasCellText ? (i(!0), u(D, { key: 0 }, B(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2733
2730
|
key: f,
|
|
@@ -2737,7 +2734,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2737
2734
|
C(m, {
|
|
2738
2735
|
locString: t.question.getCellDisplayLocText(v.name, q)
|
|
2739
2736
|
}, null, 8, ["locString"])
|
|
2740
|
-
], 10,
|
|
2737
|
+
], 10, ao))), 128)) : d("", !0),
|
|
2741
2738
|
t.question.hasCellText ? d("", !0) : (i(!0), u(D, { key: 1 }, B(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2742
2739
|
key: f,
|
|
2743
2740
|
"data-responsive-title": q.locText.renderedHtml,
|
|
@@ -2750,7 +2747,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2750
2747
|
column: q,
|
|
2751
2748
|
columnIndex: f
|
|
2752
2749
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2753
|
-
], 10,
|
|
2750
|
+
], 10, uo))), 128))
|
|
2754
2751
|
], 2))), 128))
|
|
2755
2752
|
])
|
|
2756
2753
|
], 2)
|
|
@@ -2758,7 +2755,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2758
2755
|
], 2);
|
|
2759
2756
|
};
|
|
2760
2757
|
}
|
|
2761
|
-
}),
|
|
2758
|
+
}), co = ["data-sv-drop-target-matrix-row"], po = /* @__PURE__ */ h({
|
|
2762
2759
|
__name: "MatrixRow",
|
|
2763
2760
|
props: {
|
|
2764
2761
|
question: {},
|
|
@@ -2773,7 +2770,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2773
2770
|
t && t.setRootElement(void 0), o.setRootElement(n.value);
|
|
2774
2771
|
}
|
|
2775
2772
|
);
|
|
2776
|
-
return
|
|
2773
|
+
return E(() => {
|
|
2777
2774
|
s.row.setRootElement(n.value);
|
|
2778
2775
|
}), O(() => {
|
|
2779
2776
|
s.row.setRootElement(void 0), e();
|
|
@@ -2792,10 +2789,10 @@ const no = /* @__PURE__ */ h({
|
|
|
2792
2789
|
question: o.question,
|
|
2793
2790
|
key: o.row.id + "_" + v
|
|
2794
2791
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2795
|
-
], 42,
|
|
2792
|
+
], 42, co)) : d("", !0);
|
|
2796
2793
|
};
|
|
2797
2794
|
}
|
|
2798
|
-
}),
|
|
2795
|
+
}), vo = ["name", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], qo = ["xlink:href"], yo = /* @__PURE__ */ h({
|
|
2799
2796
|
inheritAttrs: !1,
|
|
2800
2797
|
__name: "MatrixCell",
|
|
2801
2798
|
props: {
|
|
@@ -2826,7 +2823,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2826
2823
|
),
|
|
2827
2824
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
2828
2825
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
2829
|
-
}, null, 10,
|
|
2826
|
+
}, null, 10, vo), [
|
|
2830
2827
|
[x, s.row.value]
|
|
2831
2828
|
]),
|
|
2832
2829
|
p("span", {
|
|
@@ -2838,7 +2835,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2838
2835
|
}, [
|
|
2839
2836
|
p("use", {
|
|
2840
2837
|
"xlink:href": s.question.itemSvgIcon
|
|
2841
|
-
}, null, 8,
|
|
2838
|
+
}, null, 8, qo)
|
|
2842
2839
|
], 2)) : d("", !0)
|
|
2843
2840
|
], 2),
|
|
2844
2841
|
s.question.isMobile ? (i(), u("span", {
|
|
@@ -2852,7 +2849,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2852
2849
|
], 34);
|
|
2853
2850
|
};
|
|
2854
2851
|
}
|
|
2855
|
-
}),
|
|
2852
|
+
}), go = /* @__PURE__ */ h({
|
|
2856
2853
|
inheritAttrs: !1,
|
|
2857
2854
|
__name: "MatrixDropdown",
|
|
2858
2855
|
props: {
|
|
@@ -2869,7 +2866,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2869
2866
|
}, null, 8, ["question"]);
|
|
2870
2867
|
};
|
|
2871
2868
|
}
|
|
2872
|
-
}),
|
|
2869
|
+
}), ho = { key: 0 }, Co = { key: 1 }, bo = /* @__PURE__ */ h({
|
|
2873
2870
|
__name: "MatrixTable",
|
|
2874
2871
|
props: {
|
|
2875
2872
|
question: {}
|
|
@@ -2898,7 +2895,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2898
2895
|
p("table", {
|
|
2899
2896
|
class: a(e.question.getTableCss())
|
|
2900
2897
|
}, [
|
|
2901
|
-
n.value.showHeader ? (i(), u("thead",
|
|
2898
|
+
n.value.showHeader ? (i(), u("thead", ho, [
|
|
2902
2899
|
p("tr", null, [
|
|
2903
2900
|
(i(!0), u(D, null, B(n.value.headerRow.cells, (c) => (i(), u(D, null, [
|
|
2904
2901
|
c.hasTitle ? (i(), u("th", {
|
|
@@ -2937,7 +2934,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2937
2934
|
question: e.question
|
|
2938
2935
|
}, null, 8, ["row", "question"]))), 128))
|
|
2939
2936
|
]),
|
|
2940
|
-
n.value.showFooter ? (i(), u("tfoot",
|
|
2937
|
+
n.value.showFooter ? (i(), u("tfoot", Co, [
|
|
2941
2938
|
p("tr", null, [
|
|
2942
2939
|
(i(!0), u(D, null, B(n.value.footerRow.cells, (c, q) => (i(), g(v, {
|
|
2943
2940
|
cell: c,
|
|
@@ -2950,7 +2947,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2950
2947
|
], 6);
|
|
2951
2948
|
};
|
|
2952
2949
|
}
|
|
2953
|
-
}),
|
|
2950
|
+
}), ko = /* @__PURE__ */ p("span", null, "\xA0", -1), fo = /* @__PURE__ */ h({
|
|
2954
2951
|
__name: "MatrixHeaderRequired",
|
|
2955
2952
|
props: {
|
|
2956
2953
|
question: {},
|
|
@@ -2959,14 +2956,14 @@ const no = /* @__PURE__ */ h({
|
|
|
2959
2956
|
setup(r) {
|
|
2960
2957
|
const s = r;
|
|
2961
2958
|
return L(() => s.column), (n, e) => n.column.isRenderedRequired ? (i(), u(D, { key: 0 }, [
|
|
2962
|
-
|
|
2959
|
+
ko,
|
|
2963
2960
|
n.column.isRenderedRequired ? (i(), u("span", {
|
|
2964
2961
|
key: 0,
|
|
2965
2962
|
class: a(n.question.cssClasses.cellRequiredText)
|
|
2966
2963
|
}, R(n.column.requiredText), 3)) : d("", !0)
|
|
2967
2964
|
], 64)) : d("", !0);
|
|
2968
2965
|
}
|
|
2969
|
-
}),
|
|
2966
|
+
}), wo = ["data-responsive-title", "title", "colspan"], Io = /* @__PURE__ */ h({
|
|
2970
2967
|
__name: "MatrixDropdownCellComp",
|
|
2971
2968
|
props: {
|
|
2972
2969
|
question: {},
|
|
@@ -2974,7 +2971,7 @@ const no = /* @__PURE__ */ h({
|
|
|
2974
2971
|
},
|
|
2975
2972
|
setup(r) {
|
|
2976
2973
|
const s = r, n = $(!1), e = $(), o = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, l = () => n.value = s.cell.question.isVisible, m = (q) => re(q);
|
|
2977
|
-
|
|
2974
|
+
E(() => {
|
|
2978
2975
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2979
2976
|
return;
|
|
2980
2977
|
l(), s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
@@ -3039,7 +3036,7 @@ const no = /* @__PURE__ */ h({
|
|
|
3039
3036
|
model: q.cell.item.getData(),
|
|
3040
3037
|
handleClick: !1
|
|
3041
3038
|
}, null, 8, ["model"])) : d("", !0),
|
|
3042
|
-
q.cell.hasPanel ? (i(), g(T(v.value), z(
|
|
3039
|
+
q.cell.hasPanel ? (i(), g(T(v.value), z(M({ key: 3 }, c.value)), null, 16)) : d("", !0),
|
|
3043
3040
|
q.cell.hasQuestion ? P((i(), u("div", {
|
|
3044
3041
|
key: 4,
|
|
3045
3042
|
class: a(q.cell.cellQuestionWrapperClassName)
|
|
@@ -3084,7 +3081,7 @@ const no = /* @__PURE__ */ h({
|
|
|
3084
3081
|
question: q.cell.question
|
|
3085
3082
|
}, null, 8, ["question"])) : d("", !0)
|
|
3086
3083
|
], 2)), [
|
|
3087
|
-
[
|
|
3084
|
+
[H, n.value]
|
|
3088
3085
|
]) : d("", !0),
|
|
3089
3086
|
q.cell.hasTitle ? (i(), g(T(q.question.getCellWrapperComponentName(q.cell)), {
|
|
3090
3087
|
key: 5,
|
|
@@ -3102,10 +3099,10 @@ const no = /* @__PURE__ */ h({
|
|
|
3102
3099
|
]),
|
|
3103
3100
|
_: 1
|
|
3104
3101
|
}, 8, ["componentData"])) : d("", !0)
|
|
3105
|
-
], 46,
|
|
3102
|
+
], 46, wo);
|
|
3106
3103
|
};
|
|
3107
3104
|
}
|
|
3108
|
-
}),
|
|
3105
|
+
}), So = /* @__PURE__ */ h({
|
|
3109
3106
|
inheritAttrs: !1,
|
|
3110
3107
|
__name: "MatrixDynamic",
|
|
3111
3108
|
props: {
|
|
@@ -3196,7 +3193,7 @@ function ae(r, s = !0) {
|
|
|
3196
3193
|
row: s ? S(() => r.item.data.row) : void 0
|
|
3197
3194
|
};
|
|
3198
3195
|
}
|
|
3199
|
-
const
|
|
3196
|
+
const Ro = ["disabled"], To = /* @__PURE__ */ h({
|
|
3200
3197
|
__name: "RemoveButton",
|
|
3201
3198
|
props: {
|
|
3202
3199
|
item: {}
|
|
@@ -3217,10 +3214,10 @@ const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
|
3217
3214
|
p("span", {
|
|
3218
3215
|
class: a(w(n).cssClasses.iconRemove)
|
|
3219
3216
|
}, null, 2)
|
|
3220
|
-
], 10,
|
|
3217
|
+
], 10, Ro);
|
|
3221
3218
|
};
|
|
3222
3219
|
}
|
|
3223
|
-
}),
|
|
3220
|
+
}), $o = ["xlink:href"], _o = /* @__PURE__ */ h({
|
|
3224
3221
|
__name: "DragDropIcon",
|
|
3225
3222
|
props: {
|
|
3226
3223
|
item: {}
|
|
@@ -3233,13 +3230,13 @@ const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
|
3233
3230
|
}, [
|
|
3234
3231
|
p("use", {
|
|
3235
3232
|
"xlink:href": w(n).iconDragElement
|
|
3236
|
-
}, null, 8,
|
|
3233
|
+
}, null, 8, $o)
|
|
3237
3234
|
], 2)) : (i(), u("span", {
|
|
3238
3235
|
key: 1,
|
|
3239
3236
|
class: a(w(n).cssClasses.iconDrag)
|
|
3240
3237
|
}, null, 2));
|
|
3241
3238
|
}
|
|
3242
|
-
}),
|
|
3239
|
+
}), Do = ["aria-expanded", "aria-controls"], Bo = /* @__PURE__ */ h({
|
|
3243
3240
|
__name: "DetailButton",
|
|
3244
3241
|
props: {
|
|
3245
3242
|
item: {}
|
|
@@ -3260,10 +3257,10 @@ const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
|
3260
3257
|
iconName: w(n).getDetailPanelIconId(w(e)),
|
|
3261
3258
|
size: "auto"
|
|
3262
3259
|
}, null, 8, ["class", "iconName"])
|
|
3263
|
-
], 10,
|
|
3260
|
+
], 10, Do);
|
|
3264
3261
|
};
|
|
3265
3262
|
}
|
|
3266
|
-
}),
|
|
3263
|
+
}), Lo = /* @__PURE__ */ h({
|
|
3267
3264
|
inheritAttrs: !1,
|
|
3268
3265
|
__name: "PanelDynamic",
|
|
3269
3266
|
props: {
|
|
@@ -3383,7 +3380,7 @@ const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
|
3383
3380
|
], 2);
|
|
3384
3381
|
};
|
|
3385
3382
|
}
|
|
3386
|
-
}),
|
|
3383
|
+
}), No = /* @__PURE__ */ h({
|
|
3387
3384
|
__name: "PanelDynamicProgress",
|
|
3388
3385
|
props: {
|
|
3389
3386
|
question: {}
|
|
@@ -3429,7 +3426,7 @@ const To = ["disabled"], $o = /* @__PURE__ */ h({
|
|
|
3429
3426
|
], 2);
|
|
3430
3427
|
};
|
|
3431
3428
|
}
|
|
3432
|
-
}),
|
|
3429
|
+
}), Po = /* @__PURE__ */ h({
|
|
3433
3430
|
__name: "PanelDynamicProgressV2",
|
|
3434
3431
|
props: {
|
|
3435
3432
|
question: {}
|
|
@@ -3471,7 +3468,7 @@ function Y(r) {
|
|
|
3471
3468
|
() => r.item && r.item.data.question || r.data.question
|
|
3472
3469
|
);
|
|
3473
3470
|
}
|
|
3474
|
-
const
|
|
3471
|
+
const Ao = /* @__PURE__ */ h({
|
|
3475
3472
|
__name: "PaneldynamicAddBtn",
|
|
3476
3473
|
props: {
|
|
3477
3474
|
item: {},
|
|
@@ -3523,7 +3520,7 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3523
3520
|
], 10, Eo);
|
|
3524
3521
|
};
|
|
3525
3522
|
}
|
|
3526
|
-
}),
|
|
3523
|
+
}), Mo = ["title"], Wo = /* @__PURE__ */ h({
|
|
3527
3524
|
__name: "PaneldynamicPrevBtn",
|
|
3528
3525
|
props: {
|
|
3529
3526
|
item: {},
|
|
@@ -3544,10 +3541,10 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3544
3541
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3545
3542
|
size: "auto"
|
|
3546
3543
|
}, null, 8, ["iconName"])
|
|
3547
|
-
], 10,
|
|
3544
|
+
], 10, Mo);
|
|
3548
3545
|
};
|
|
3549
3546
|
}
|
|
3550
|
-
}),
|
|
3547
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3551
3548
|
__name: "PaneldynamicRemoveBtn",
|
|
3552
3549
|
props: {
|
|
3553
3550
|
item: {},
|
|
@@ -3579,7 +3576,7 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3579
3576
|
], 2);
|
|
3580
3577
|
};
|
|
3581
3578
|
}
|
|
3582
|
-
}),
|
|
3579
|
+
}), Vo = /* @__PURE__ */ h({
|
|
3583
3580
|
__name: "PaneldynamicProgressText",
|
|
3584
3581
|
props: {
|
|
3585
3582
|
item: {},
|
|
@@ -3591,7 +3588,7 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3591
3588
|
class: a(w(n).cssClasses.progressText)
|
|
3592
3589
|
}, R(w(n).progressText), 3));
|
|
3593
3590
|
}
|
|
3594
|
-
}),
|
|
3591
|
+
}), Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
3595
3592
|
__name: "Errors",
|
|
3596
3593
|
props: {
|
|
3597
3594
|
element: {},
|
|
@@ -3615,15 +3612,15 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3615
3612
|
error: o,
|
|
3616
3613
|
cssClasses: n.element.cssClasses
|
|
3617
3614
|
}, null, 8, ["element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3618
|
-
], 10,
|
|
3615
|
+
], 10, Oo)) : d("", !0);
|
|
3619
3616
|
}
|
|
3620
|
-
}),
|
|
3617
|
+
}), Uo = { key: 0 }, Ko = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Qo = /* @__PURE__ */ h({
|
|
3621
3618
|
__name: "QuestionComment",
|
|
3622
3619
|
props: {
|
|
3623
3620
|
question: {}
|
|
3624
3621
|
},
|
|
3625
3622
|
setup(r) {
|
|
3626
|
-
return (s, n) => s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
3623
|
+
return (s, n) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Uo, R(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3627
3624
|
key: 1,
|
|
3628
3625
|
id: s.question.commentId,
|
|
3629
3626
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3641,9 +3638,9 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3641
3638
|
onInput: n[1] || (n[1] = (e) => {
|
|
3642
3639
|
s.question.onCommentInput(e);
|
|
3643
3640
|
})
|
|
3644
|
-
}, null, 46,
|
|
3641
|
+
}, null, 46, Ko));
|
|
3645
3642
|
}
|
|
3646
|
-
}),
|
|
3643
|
+
}), jo = /* @__PURE__ */ h({
|
|
3647
3644
|
__name: "TitleElement",
|
|
3648
3645
|
props: {
|
|
3649
3646
|
element: {},
|
|
@@ -3683,7 +3680,7 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3683
3680
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3684
3681
|
};
|
|
3685
3682
|
}
|
|
3686
|
-
}),
|
|
3683
|
+
}), Go = { key: 3 }, Jo = { key: 5 }, Xo = { key: 7 }, Yo = /* @__PURE__ */ h({
|
|
3687
3684
|
inheritAttrs: !1,
|
|
3688
3685
|
__name: "TitleContent",
|
|
3689
3686
|
props: {
|
|
@@ -3712,18 +3709,18 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3712
3709
|
class: a(e.element.cssTitleNumber),
|
|
3713
3710
|
"aria-hidden": !0
|
|
3714
3711
|
}, R(e.element.no), 3)) : d("", !0),
|
|
3715
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), u("span",
|
|
3712
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), u("span", Go, "\xA0")) : d("", !0),
|
|
3716
3713
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3717
3714
|
key: 4,
|
|
3718
3715
|
class: a(n.value.requiredText),
|
|
3719
3716
|
"aria-hidden": !0
|
|
3720
3717
|
}, R(e.element.requiredText), 3)) : d("", !0),
|
|
3721
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span",
|
|
3718
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), u("span", Jo, "\xA0")) : d("", !0),
|
|
3722
3719
|
e.element.isTitleRenderedAsString ? d("", !0) : (i(), g(t, {
|
|
3723
3720
|
key: 6,
|
|
3724
3721
|
locString: e.element.locTitle
|
|
3725
3722
|
}, null, 8, ["locString"])),
|
|
3726
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span",
|
|
3723
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span", Xo, "\xA0")) : d("", !0),
|
|
3727
3724
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), u("span", {
|
|
3728
3725
|
key: 8,
|
|
3729
3726
|
class: a(n.value.requiredText),
|
|
@@ -3732,7 +3729,7 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3732
3729
|
], 64);
|
|
3733
3730
|
};
|
|
3734
3731
|
}
|
|
3735
|
-
}),
|
|
3732
|
+
}), Zo = { class: "sv-title-actions" }, xo = { class: "sv-title-actions__title" }, et = /* @__PURE__ */ h({
|
|
3736
3733
|
__name: "TitleActions",
|
|
3737
3734
|
props: {
|
|
3738
3735
|
element: {},
|
|
@@ -3742,8 +3739,8 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3742
3739
|
const s = r, n = S(() => s.element.getTitleToolbar());
|
|
3743
3740
|
return (e, o) => {
|
|
3744
3741
|
const t = y("survey-string"), l = y("survey-element-title-content"), m = y("sv-action-bar");
|
|
3745
|
-
return i(), u("div",
|
|
3746
|
-
p("span",
|
|
3742
|
+
return i(), u("div", Zo, [
|
|
3743
|
+
p("span", xo, [
|
|
3747
3744
|
e.element.isPage ? (i(), g(t, {
|
|
3748
3745
|
key: 0,
|
|
3749
3746
|
locString: e.element.locTitle
|
|
@@ -3763,15 +3760,15 @@ const Mo = /* @__PURE__ */ h({
|
|
|
3763
3760
|
for (const [e, o] of s)
|
|
3764
3761
|
n[e] = o;
|
|
3765
3762
|
return n;
|
|
3766
|
-
},
|
|
3767
|
-
|
|
3763
|
+
}, st = {}, nt = { class: "sv-brand-info" }, ot = /* @__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), tt = [
|
|
3764
|
+
ot
|
|
3768
3765
|
];
|
|
3769
|
-
function
|
|
3770
|
-
return i(), u("div",
|
|
3766
|
+
function it(r, s) {
|
|
3767
|
+
return i(), u("div", nt, tt);
|
|
3771
3768
|
}
|
|
3772
|
-
const
|
|
3773
|
-
|
|
3774
|
-
],
|
|
3769
|
+
const rt = /* @__PURE__ */ he(st, [["render", it]]), lt = /* @__PURE__ */ p("use", null, null, -1), at = [
|
|
3770
|
+
lt
|
|
3771
|
+
], ut = /* @__PURE__ */ h({
|
|
3775
3772
|
__name: "SvgIcon",
|
|
3776
3773
|
props: {
|
|
3777
3774
|
size: {},
|
|
@@ -3782,7 +3779,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3782
3779
|
},
|
|
3783
3780
|
setup(r) {
|
|
3784
3781
|
const s = r, n = $(), e = () => {
|
|
3785
|
-
|
|
3782
|
+
Ne(
|
|
3786
3783
|
s.size,
|
|
3787
3784
|
s.width,
|
|
3788
3785
|
s.height,
|
|
@@ -3793,16 +3790,16 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3793
3790
|
};
|
|
3794
3791
|
return te(() => {
|
|
3795
3792
|
e();
|
|
3796
|
-
}),
|
|
3793
|
+
}), E(() => {
|
|
3797
3794
|
e();
|
|
3798
3795
|
}), (o, t) => (i(), u("svg", {
|
|
3799
3796
|
ref_key: "svgIconElement",
|
|
3800
3797
|
ref: n,
|
|
3801
3798
|
class: "sv-svg-icon",
|
|
3802
3799
|
role: "img"
|
|
3803
|
-
},
|
|
3800
|
+
}, at, 512));
|
|
3804
3801
|
}
|
|
3805
|
-
}),
|
|
3802
|
+
}), dt = /* @__PURE__ */ h({
|
|
3806
3803
|
__name: "QuestionError",
|
|
3807
3804
|
props: {
|
|
3808
3805
|
errorKey: {},
|
|
@@ -3832,7 +3829,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3832
3829
|
]);
|
|
3833
3830
|
};
|
|
3834
3831
|
}
|
|
3835
|
-
}),
|
|
3832
|
+
}), mt = /* @__PURE__ */ h({
|
|
3836
3833
|
__name: "ActionBar",
|
|
3837
3834
|
props: {
|
|
3838
3835
|
model: {},
|
|
@@ -3845,7 +3842,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3845
3842
|
};
|
|
3846
3843
|
L(() => s.model);
|
|
3847
3844
|
const o = le(() => s.model.renderedActions);
|
|
3848
|
-
return
|
|
3845
|
+
return E(() => {
|
|
3849
3846
|
!s.model.hasActions || s.model.initResponsivityManager(n.value);
|
|
3850
3847
|
}), O(() => {
|
|
3851
3848
|
s.model.resetResponsivityManager();
|
|
@@ -3865,7 +3862,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3865
3862
|
], 2)) : d("", !0);
|
|
3866
3863
|
};
|
|
3867
3864
|
}
|
|
3868
|
-
}),
|
|
3865
|
+
}), ct = ["id"], pt = { class: "sv-action__content" }, vt = /* @__PURE__ */ h({
|
|
3869
3866
|
__name: "Action",
|
|
3870
3867
|
props: {
|
|
3871
3868
|
item: {}
|
|
@@ -3880,17 +3877,17 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3880
3877
|
class: a(e.item.getActionRootCss()),
|
|
3881
3878
|
id: e.item.id
|
|
3882
3879
|
}, [
|
|
3883
|
-
p("div",
|
|
3880
|
+
p("div", pt, [
|
|
3884
3881
|
e.item.needSeparator ? (i(), g(t, { key: 0 })) : d("", !0),
|
|
3885
3882
|
(i(), g(T(n.value), { item: e.item }, null, 8, ["item"]))
|
|
3886
3883
|
])
|
|
3887
|
-
], 10,
|
|
3884
|
+
], 10, ct);
|
|
3888
3885
|
};
|
|
3889
3886
|
}
|
|
3890
|
-
}),
|
|
3887
|
+
}), qt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], yt = {
|
|
3891
3888
|
inheritAttrs: !1
|
|
3892
|
-
},
|
|
3893
|
-
...
|
|
3889
|
+
}, gt = /* @__PURE__ */ h({
|
|
3890
|
+
...yt,
|
|
3894
3891
|
__name: "ActionBarItem",
|
|
3895
3892
|
props: {
|
|
3896
3893
|
item: {}
|
|
@@ -3925,26 +3922,26 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3925
3922
|
key: 1,
|
|
3926
3923
|
class: a(n.item.getActionBarItemTitleCss())
|
|
3927
3924
|
}, R(n.item.title), 3)) : d("", !0)
|
|
3928
|
-
], 42,
|
|
3925
|
+
], 42, qt)), [
|
|
3929
3926
|
[t, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3930
3927
|
]);
|
|
3931
3928
|
};
|
|
3932
3929
|
}
|
|
3933
|
-
}),
|
|
3930
|
+
}), ht = ["disabled", "title", "role"], Ct = {
|
|
3934
3931
|
inheritAttrs: !1
|
|
3935
|
-
},
|
|
3936
|
-
...
|
|
3932
|
+
}, bt = /* @__PURE__ */ h({
|
|
3933
|
+
...Ct,
|
|
3937
3934
|
__name: "ActionBarItemDropdown",
|
|
3938
3935
|
props: {
|
|
3939
3936
|
item: {}
|
|
3940
3937
|
},
|
|
3941
3938
|
setup(r) {
|
|
3942
|
-
const s = r, n =
|
|
3939
|
+
const s = r, n = Ae;
|
|
3943
3940
|
let e;
|
|
3944
3941
|
return L(
|
|
3945
3942
|
() => s.item,
|
|
3946
3943
|
(o) => {
|
|
3947
|
-
e = new
|
|
3944
|
+
e = new Pe(o);
|
|
3948
3945
|
},
|
|
3949
3946
|
() => {
|
|
3950
3947
|
e.dispose();
|
|
@@ -3976,7 +3973,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3976
3973
|
key: 1,
|
|
3977
3974
|
class: a(o.item.getActionBarItemTitleCss())
|
|
3978
3975
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3979
|
-
], 42,
|
|
3976
|
+
], 42, ht)), [
|
|
3980
3977
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3981
3978
|
]),
|
|
3982
3979
|
C(m, {
|
|
@@ -3986,7 +3983,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3986
3983
|
], 64);
|
|
3987
3984
|
};
|
|
3988
3985
|
}
|
|
3989
|
-
}),
|
|
3986
|
+
}), kt = /* @__PURE__ */ h({
|
|
3990
3987
|
__name: "ActionBarSeparator",
|
|
3991
3988
|
props: {
|
|
3992
3989
|
item: {}
|
|
@@ -3997,7 +3994,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
3997
3994
|
class: a(["sv-action-bar-separator", n.value])
|
|
3998
3995
|
}, null, 2));
|
|
3999
3996
|
}
|
|
4000
|
-
}),
|
|
3997
|
+
}), ft = ["aria-label", "placeholder", "value"], wt = ["aria-label"], It = ["id"], St = /* @__PURE__ */ h({
|
|
4001
3998
|
__name: "List",
|
|
4002
3999
|
props: {
|
|
4003
4000
|
model: {}
|
|
@@ -4012,7 +4009,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4012
4009
|
}, t = (l) => {
|
|
4013
4010
|
s.model.onMouseMove(l);
|
|
4014
4011
|
};
|
|
4015
|
-
return L(() => s.model),
|
|
4012
|
+
return L(() => s.model), E(() => {
|
|
4016
4013
|
s.model.initListContainerHtmlElement(n.value);
|
|
4017
4014
|
}), (l, m) => {
|
|
4018
4015
|
const v = y("sv-svg-icon"), c = y("sv-list-item");
|
|
@@ -4041,7 +4038,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4041
4038
|
value: l.model.filterString,
|
|
4042
4039
|
onChange: e,
|
|
4043
4040
|
onKeyup: o
|
|
4044
|
-
}, null, 42,
|
|
4041
|
+
}, null, 42, ft),
|
|
4045
4042
|
l.model.showSearchClearButton && !!l.model.filterString ? (i(), u("button", {
|
|
4046
4043
|
key: 0,
|
|
4047
4044
|
onClick: m[0] || (m[0] = (q) => {
|
|
@@ -4061,9 +4058,9 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4061
4058
|
p("div", {
|
|
4062
4059
|
class: a(l.model.cssClasses.emptyText),
|
|
4063
4060
|
"aria-label": l.model.emptyMessage
|
|
4064
|
-
}, R(l.model.emptyMessage), 11,
|
|
4061
|
+
}, R(l.model.emptyMessage), 11, wt)
|
|
4065
4062
|
], 2), [
|
|
4066
|
-
[
|
|
4063
|
+
[H, l.model.isEmpty]
|
|
4067
4064
|
]),
|
|
4068
4065
|
l.model.renderElements ? P((i(), u("ul", {
|
|
4069
4066
|
key: 1,
|
|
@@ -4083,13 +4080,13 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4083
4080
|
model: l.model,
|
|
4084
4081
|
key: q.id
|
|
4085
4082
|
}, null, 8, ["item", "model"]))), 128))
|
|
4086
|
-
], 42,
|
|
4087
|
-
[
|
|
4083
|
+
], 42, It)), [
|
|
4084
|
+
[H, !l.model.isEmpty]
|
|
4088
4085
|
]) : d("", !0)
|
|
4089
4086
|
], 2);
|
|
4090
4087
|
};
|
|
4091
4088
|
}
|
|
4092
|
-
}),
|
|
4089
|
+
}), Rt = ["aria-selected", "id", "tabindex"], Tt = ["title"], $t = /* @__PURE__ */ h({
|
|
4093
4090
|
__name: "ListItem",
|
|
4094
4091
|
props: {
|
|
4095
4092
|
model: {},
|
|
@@ -4099,7 +4096,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4099
4096
|
const s = r, n = S(() => s.item.elementId), e = (o) => {
|
|
4100
4097
|
s.model.onItemClick(s.item), o.stopPropagation();
|
|
4101
4098
|
};
|
|
4102
|
-
return L(() => s.item),
|
|
4099
|
+
return L(() => s.item), E(() => {
|
|
4103
4100
|
setTimeout(() => {
|
|
4104
4101
|
s.model.onLastItemRended(s.item);
|
|
4105
4102
|
});
|
|
@@ -4138,14 +4135,14 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4138
4135
|
key: 2,
|
|
4139
4136
|
item: o.item
|
|
4140
4137
|
}, null, 8, ["item"])) : d("", !0)
|
|
4141
|
-
], 14,
|
|
4142
|
-
], 42,
|
|
4143
|
-
[
|
|
4138
|
+
], 14, Tt)
|
|
4139
|
+
], 42, Rt)), [
|
|
4140
|
+
[H, o.model.isItemVisible(o.item)],
|
|
4144
4141
|
[v, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4145
4142
|
]);
|
|
4146
4143
|
};
|
|
4147
4144
|
}
|
|
4148
|
-
}),
|
|
4145
|
+
}), _t = /* @__PURE__ */ h({
|
|
4149
4146
|
__name: "Popup",
|
|
4150
4147
|
props: {
|
|
4151
4148
|
getTarget: { type: Function },
|
|
@@ -4159,7 +4156,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4159
4156
|
n.value && n.value.dispose(), n.value = Ee(o, void 0);
|
|
4160
4157
|
},
|
|
4161
4158
|
{ immediate: !0 }
|
|
4162
|
-
), L(() => n.value),
|
|
4159
|
+
), L(() => n.value), E(() => {
|
|
4163
4160
|
const o = e.value;
|
|
4164
4161
|
n.value.setComponentElement(
|
|
4165
4162
|
o,
|
|
@@ -4177,10 +4174,10 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4177
4174
|
], 512);
|
|
4178
4175
|
};
|
|
4179
4176
|
}
|
|
4180
|
-
}),
|
|
4177
|
+
}), Dt = { class: "sv-popup__shadow" }, Bt = { class: "sv-popup__body-content" }, Lt = {
|
|
4181
4178
|
key: 0,
|
|
4182
4179
|
class: "sv-popup__body-header"
|
|
4183
|
-
},
|
|
4180
|
+
}, Nt = { class: "sv-popup__scrolling-content" }, Pt = { class: "sv-popup__content" }, At = {
|
|
4184
4181
|
key: 1,
|
|
4185
4182
|
class: "sv-popup__body-footer"
|
|
4186
4183
|
}, Et = /* @__PURE__ */ h({
|
|
@@ -4195,7 +4192,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4195
4192
|
return L(() => s.model), te(() => {
|
|
4196
4193
|
const e = s.model;
|
|
4197
4194
|
e.isVisible && !e.isPositionSet && s.model.updateOnShowing();
|
|
4198
|
-
}),
|
|
4195
|
+
}), E(() => {
|
|
4199
4196
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4200
4197
|
}), (e, o) => {
|
|
4201
4198
|
const t = y("sv-action-bar");
|
|
@@ -4220,19 +4217,19 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4220
4217
|
}),
|
|
4221
4218
|
onClick: n
|
|
4222
4219
|
}, [
|
|
4223
|
-
p("div",
|
|
4220
|
+
p("div", Dt, [
|
|
4224
4221
|
e.model.showHeader ? (i(), g(T(e.model.popupHeaderTemplate), {
|
|
4225
4222
|
key: 0,
|
|
4226
4223
|
model: e.model
|
|
4227
4224
|
}, null, 8, ["model"])) : d("", !0),
|
|
4228
|
-
p("div",
|
|
4229
|
-
e.model.title ? (i(), u("div",
|
|
4230
|
-
p("div",
|
|
4231
|
-
p("div",
|
|
4225
|
+
p("div", Bt, [
|
|
4226
|
+
e.model.title ? (i(), u("div", Lt, R(e.model.title), 1)) : d("", !0),
|
|
4227
|
+
p("div", Nt, [
|
|
4228
|
+
p("div", Pt, [
|
|
4232
4229
|
(i(), g(T(e.model.contentComponentName), z(ne(e.model.contentComponentData)), null, 16))
|
|
4233
4230
|
])
|
|
4234
4231
|
]),
|
|
4235
|
-
e.model.showFooter ? (i(), u("div",
|
|
4232
|
+
e.model.showFooter ? (i(), u("div", At, [
|
|
4236
4233
|
C(t, {
|
|
4237
4234
|
model: e.model.footerToolbar
|
|
4238
4235
|
}, null, 8, ["model"])
|
|
@@ -4241,7 +4238,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4241
4238
|
])
|
|
4242
4239
|
], 4)
|
|
4243
4240
|
], 34)), [
|
|
4244
|
-
[
|
|
4241
|
+
[H, e.model.isVisible]
|
|
4245
4242
|
]);
|
|
4246
4243
|
};
|
|
4247
4244
|
}
|
|
@@ -4259,10 +4256,10 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4259
4256
|
})
|
|
4260
4257
|
}, null, 4));
|
|
4261
4258
|
}
|
|
4262
|
-
}),
|
|
4259
|
+
}), Mt = {
|
|
4263
4260
|
key: 0,
|
|
4264
4261
|
class: "sv-components-column"
|
|
4265
|
-
},
|
|
4262
|
+
}, Wt = /* @__PURE__ */ h({
|
|
4266
4263
|
__name: "Container",
|
|
4267
4264
|
props: {
|
|
4268
4265
|
survey: {},
|
|
@@ -4274,7 +4271,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4274
4271
|
() => s.survey.getContainerContent(s.container)
|
|
4275
4272
|
);
|
|
4276
4273
|
return (e, o) => n.value.length > 0 ? (i(), u(D, { key: 0 }, [
|
|
4277
|
-
e.needRenderWrapper ? (i(), u("div",
|
|
4274
|
+
e.needRenderWrapper ? (i(), u("div", Mt, [
|
|
4278
4275
|
(i(!0), u(D, null, B(n.value, (t, l) => (i(), g(T(t.component), {
|
|
4279
4276
|
survey: e.survey,
|
|
4280
4277
|
container: e.container,
|
|
@@ -4316,7 +4313,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4316
4313
|
}, R(t.survey.progressText), 3)
|
|
4317
4314
|
], 2));
|
|
4318
4315
|
}
|
|
4319
|
-
}),
|
|
4316
|
+
}), Ft = ["title"], Vt = ["onClick", "data-page-number"], Ot = ["title"], zt = ["title"], Ut = ["title"], Kt = /* @__PURE__ */ h({
|
|
4320
4317
|
__name: "ProgressButtons",
|
|
4321
4318
|
props: {
|
|
4322
4319
|
survey: {},
|
|
@@ -4330,7 +4327,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4330
4327
|
let f = l.value;
|
|
4331
4328
|
f.scrollLeft += (q ? -1 : 1) * 70;
|
|
4332
4329
|
};
|
|
4333
|
-
return
|
|
4330
|
+
return E(() => {
|
|
4334
4331
|
const q = l.value;
|
|
4335
4332
|
v = new He(s.model, q, {
|
|
4336
4333
|
onResize: (f) => {
|
|
@@ -4363,7 +4360,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4363
4360
|
p("div", {
|
|
4364
4361
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4365
4362
|
title: q.model.headerText
|
|
4366
|
-
}, R(q.model.headerText), 11,
|
|
4363
|
+
}, R(q.model.headerText), 11, Ft)
|
|
4367
4364
|
], 2)) : d("", !0),
|
|
4368
4365
|
p("div", {
|
|
4369
4366
|
class: a(m.value.progressButtonsContainer)
|
|
@@ -4398,12 +4395,12 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4398
4395
|
C(k, {
|
|
4399
4396
|
locString: _.locNavigationTitle
|
|
4400
4397
|
}, null, 8, ["locString"])
|
|
4401
|
-
], 10,
|
|
4398
|
+
], 10, Ot)) : d("", !0),
|
|
4402
4399
|
t.value ? (i(), u("div", {
|
|
4403
4400
|
key: 1,
|
|
4404
4401
|
class: a(m.value.progressButtonsPageDescription),
|
|
4405
4402
|
title: _.locNavigationDescription.renderedHtml
|
|
4406
|
-
}, R(_.locNavigationDescription.renderedHtml), 11,
|
|
4403
|
+
}, R(_.locNavigationDescription.renderedHtml), 11, zt)) : d("", !0),
|
|
4407
4404
|
p("div", {
|
|
4408
4405
|
class: a(m.value.progressButtonsButton)
|
|
4409
4406
|
}, [
|
|
@@ -4415,7 +4412,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4415
4412
|
}, null, 2),
|
|
4416
4413
|
p("span", null, R(q.model.getItemNumber(_)), 1)
|
|
4417
4414
|
], 2)
|
|
4418
|
-
], 10,
|
|
4415
|
+
], 10, Vt))), 128))
|
|
4419
4416
|
], 2)
|
|
4420
4417
|
], 2),
|
|
4421
4418
|
p("div", {
|
|
@@ -4431,12 +4428,12 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4431
4428
|
p("div", {
|
|
4432
4429
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4433
4430
|
title: q.model.footerText
|
|
4434
|
-
}, R(q.model.footerText), 11,
|
|
4431
|
+
}, R(q.model.footerText), 11, Ut)
|
|
4435
4432
|
], 2)) : d("", !0)
|
|
4436
4433
|
], 6);
|
|
4437
4434
|
};
|
|
4438
4435
|
}
|
|
4439
|
-
}),
|
|
4436
|
+
}), Qt = /* @__PURE__ */ h({
|
|
4440
4437
|
__name: "ProgressToc",
|
|
4441
4438
|
props: {
|
|
4442
4439
|
survey: {},
|
|
@@ -4468,10 +4465,10 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4468
4465
|
], 2);
|
|
4469
4466
|
};
|
|
4470
4467
|
}
|
|
4471
|
-
}),
|
|
4468
|
+
}), jt = { onsubmit: "return false;" }, Gt = {
|
|
4472
4469
|
key: 0,
|
|
4473
4470
|
class: "sv_custom_header"
|
|
4474
|
-
},
|
|
4471
|
+
}, Jt = { class: "sv-components-column sv-components-column--expandable" }, Xt = ["id"], Yt = { key: 2 }, Zt = ["innerHTML"], xt = ["innerHTML"], ei = ["innerHTML"], pe = /* @__PURE__ */ h({
|
|
4475
4472
|
__name: "Survey",
|
|
4476
4473
|
props: {
|
|
4477
4474
|
model: {},
|
|
@@ -4503,7 +4500,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4503
4500
|
(_) => {
|
|
4504
4501
|
_.stopTimer(), _.renderCallback = void 0;
|
|
4505
4502
|
}
|
|
4506
|
-
),
|
|
4503
|
+
), E(() => {
|
|
4507
4504
|
k(t.value);
|
|
4508
4505
|
}), O(() => {
|
|
4509
4506
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
@@ -4525,8 +4522,8 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4525
4522
|
class: a(c.value.rootBackgroundImage),
|
|
4526
4523
|
style: I(t.value.backgroundImageStyle)
|
|
4527
4524
|
}, null, 6)) : d("", !0),
|
|
4528
|
-
p("form",
|
|
4529
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4525
|
+
p("form", jt, [
|
|
4526
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Gt)),
|
|
4530
4527
|
p("div", {
|
|
4531
4528
|
class: a(c.value.container)
|
|
4532
4529
|
}, [
|
|
@@ -4548,7 +4545,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4548
4545
|
container: "left",
|
|
4549
4546
|
needRenderWrapper: !0
|
|
4550
4547
|
}, null, 8, ["survey"])),
|
|
4551
|
-
p("div",
|
|
4548
|
+
p("div", Jt, [
|
|
4552
4549
|
(i(), g(T("sv-components-container"), {
|
|
4553
4550
|
survey: t.value,
|
|
4554
4551
|
container: "center",
|
|
@@ -4575,7 +4572,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4575
4572
|
container: "contentBottom",
|
|
4576
4573
|
needRenderWrapper: !0
|
|
4577
4574
|
}, null, 8, ["survey"]))
|
|
4578
|
-
], 14,
|
|
4575
|
+
], 14, Xt)
|
|
4579
4576
|
]),
|
|
4580
4577
|
(i(), g(T("sv-components-container"), {
|
|
4581
4578
|
survey: t.value,
|
|
@@ -4588,11 +4585,11 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4588
4585
|
container: "footer",
|
|
4589
4586
|
needRenderWrapper: !1
|
|
4590
4587
|
}, null, 8, ["survey"])),
|
|
4591
|
-
v.value ? (i(), u("div",
|
|
4588
|
+
v.value ? (i(), u("div", Yt, [
|
|
4592
4589
|
p("div", {
|
|
4593
4590
|
innerHTML: f(),
|
|
4594
4591
|
class: a(t.value.completedCss)
|
|
4595
|
-
}, null, 10,
|
|
4592
|
+
}, null, 10, Zt),
|
|
4596
4593
|
(i(), g(T("sv-components-container"), {
|
|
4597
4594
|
survey: t.value,
|
|
4598
4595
|
container: "completePage",
|
|
@@ -4603,12 +4600,12 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4603
4600
|
key: 3,
|
|
4604
4601
|
class: a(t.value.completedBeforeCss),
|
|
4605
4602
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4606
|
-
}, null, 10,
|
|
4603
|
+
}, null, 10, xt)) : d("", !0),
|
|
4607
4604
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4608
4605
|
key: 4,
|
|
4609
4606
|
class: a(t.value.loadingBodyCss),
|
|
4610
4607
|
innerHTML: t.value.processedLoadingHtml
|
|
4611
|
-
}, null, 10,
|
|
4608
|
+
}, null, 10, ei)) : d("", !0),
|
|
4612
4609
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4613
4610
|
key: 5,
|
|
4614
4611
|
class: a(c.value.bodyEmpty)
|
|
@@ -4623,7 +4620,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4623
4620
|
], 6);
|
|
4624
4621
|
};
|
|
4625
4622
|
}
|
|
4626
|
-
}),
|
|
4623
|
+
}), si = /* @__PURE__ */ h({
|
|
4627
4624
|
__name: "Notifier",
|
|
4628
4625
|
props: {
|
|
4629
4626
|
model: {}
|
|
@@ -4646,7 +4643,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4646
4643
|
], 6)) : d("", !0);
|
|
4647
4644
|
};
|
|
4648
4645
|
}
|
|
4649
|
-
}),
|
|
4646
|
+
}), ni = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], oi = { key: 1 }, ti = /* @__PURE__ */ h({
|
|
4650
4647
|
__name: "QuestionOther",
|
|
4651
4648
|
props: {
|
|
4652
4649
|
question: {},
|
|
@@ -4674,11 +4671,11 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4674
4671
|
onInput: n[1] || (n[1] = (e) => {
|
|
4675
4672
|
s.question.onOtherValueInput(e);
|
|
4676
4673
|
})
|
|
4677
|
-
}, null, 46,
|
|
4678
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4674
|
+
}, null, 46, ni)),
|
|
4675
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", oi, R(s.question.otherValue), 1)) : d("", !0)
|
|
4679
4676
|
], 2));
|
|
4680
4677
|
}
|
|
4681
|
-
}),
|
|
4678
|
+
}), ii = ["disabled", "value", "title"], ri = /* @__PURE__ */ h({
|
|
4682
4679
|
__name: "SurveyNavigationButton",
|
|
4683
4680
|
props: {
|
|
4684
4681
|
item: {}
|
|
@@ -4694,7 +4691,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4694
4691
|
title: e.item.getTooltip(),
|
|
4695
4692
|
onMousedown: n,
|
|
4696
4693
|
onClick: o[0] || (o[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4697
|
-
}, null, 42,
|
|
4694
|
+
}, null, 42, ii)) : d("", !0);
|
|
4698
4695
|
}
|
|
4699
4696
|
}), ve = /* @__PURE__ */ h({
|
|
4700
4697
|
__name: "PopupSurvey",
|
|
@@ -4730,7 +4727,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4730
4727
|
const q = K(
|
|
4731
4728
|
() => s.survey,
|
|
4732
4729
|
(f) => {
|
|
4733
|
-
const k = new
|
|
4730
|
+
const k = new Me(null, f);
|
|
4734
4731
|
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;
|
|
4735
4732
|
},
|
|
4736
4733
|
{
|
|
@@ -4812,7 +4809,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4812
4809
|
], 38)) : d("", !0);
|
|
4813
4810
|
};
|
|
4814
4811
|
}
|
|
4815
|
-
}),
|
|
4812
|
+
}), li = ["innerHTML"], ai = /* @__PURE__ */ h({
|
|
4816
4813
|
__name: "CustomWidget",
|
|
4817
4814
|
props: {
|
|
4818
4815
|
question: {},
|
|
@@ -4824,7 +4821,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4824
4821
|
), o = S(
|
|
4825
4822
|
() => !!s.question.customWidget.htmlTemplate
|
|
4826
4823
|
), t = S(() => s.question.customWidget.htmlTemplate), l = S(() => "survey-" + s.question.getTemplate());
|
|
4827
|
-
return
|
|
4824
|
+
return E(() => {
|
|
4828
4825
|
s.question.customWidget.afterRender(s.question, n.value);
|
|
4829
4826
|
}), G(() => {
|
|
4830
4827
|
s.question.customWidget.willUnmount(s.question, n.value);
|
|
@@ -4835,7 +4832,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4835
4832
|
o.value ? (i(), u("div", {
|
|
4836
4833
|
key: 0,
|
|
4837
4834
|
innerHTML: t.value
|
|
4838
|
-
}, null, 8,
|
|
4835
|
+
}, null, 8, li)) : d("", !0),
|
|
4839
4836
|
e.value ? (i(), g(T(l.value), {
|
|
4840
4837
|
key: 1,
|
|
4841
4838
|
question: m.question,
|
|
@@ -4843,12 +4840,12 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4843
4840
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4844
4841
|
], 512));
|
|
4845
4842
|
}
|
|
4846
|
-
}),
|
|
4843
|
+
}), ui = /* @__PURE__ */ h({
|
|
4847
4844
|
__name: "PopupModal",
|
|
4848
4845
|
setup(r) {
|
|
4849
4846
|
const s = U();
|
|
4850
4847
|
function n(o, t, l, m, v, c, q = "popup") {
|
|
4851
|
-
const f =
|
|
4848
|
+
const f = We(
|
|
4852
4849
|
o,
|
|
4853
4850
|
t,
|
|
4854
4851
|
l,
|
|
@@ -4862,7 +4859,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4862
4859
|
return e(f);
|
|
4863
4860
|
}
|
|
4864
4861
|
function e(o, t) {
|
|
4865
|
-
const l =
|
|
4862
|
+
const l = Fe(
|
|
4866
4863
|
o,
|
|
4867
4864
|
t
|
|
4868
4865
|
), m = (v, c) => {
|
|
@@ -4884,7 +4881,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4884
4881
|
], 8, ["to"])) : d("", !0);
|
|
4885
4882
|
};
|
|
4886
4883
|
}
|
|
4887
|
-
}),
|
|
4884
|
+
}), di = /* @__PURE__ */ h({
|
|
4888
4885
|
__name: "CharacterCounter",
|
|
4889
4886
|
props: {
|
|
4890
4887
|
counter: {},
|
|
@@ -4896,7 +4893,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4896
4893
|
class: a(n.remainingCharacterCounter)
|
|
4897
4894
|
}, R(n.counter.remainingCharacterCounter), 3));
|
|
4898
4895
|
}
|
|
4899
|
-
}),
|
|
4896
|
+
}), mi = /* @__PURE__ */ h({
|
|
4900
4897
|
inheritAttrs: !1,
|
|
4901
4898
|
__name: "Composite",
|
|
4902
4899
|
props: {
|
|
@@ -4917,7 +4914,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4917
4914
|
}, null, 8, ["element", "css"]);
|
|
4918
4915
|
};
|
|
4919
4916
|
}
|
|
4920
|
-
}),
|
|
4917
|
+
}), ci = /* @__PURE__ */ h({
|
|
4921
4918
|
inheritAttrs: !1,
|
|
4922
4919
|
__name: "Custom",
|
|
4923
4920
|
props: {
|
|
@@ -4934,9 +4931,9 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4934
4931
|
css: t.css
|
|
4935
4932
|
}, null, 8, ["question", "css"]));
|
|
4936
4933
|
}
|
|
4937
|
-
}),
|
|
4938
|
-
|
|
4939
|
-
], qe = 440,
|
|
4934
|
+
}), pi = /* @__PURE__ */ p("use", { "xlink:href": "#icon-timercircle" }, null, -1), vi = [
|
|
4935
|
+
pi
|
|
4936
|
+
], qe = 440, qi = /* @__PURE__ */ h({
|
|
4940
4937
|
__name: "TimerPanel",
|
|
4941
4938
|
props: {
|
|
4942
4939
|
model: {},
|
|
@@ -4952,7 +4949,7 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4952
4949
|
key: 0,
|
|
4953
4950
|
class: a(o.model.getProgressCss()),
|
|
4954
4951
|
style: I({ strokeDasharray: qe, strokeDashoffset: n.value })
|
|
4955
|
-
},
|
|
4952
|
+
}, vi, 6)) : d("", !0),
|
|
4956
4953
|
p("div", {
|
|
4957
4954
|
class: a(o.model.textContainerCss)
|
|
4958
4955
|
}, [
|
|
@@ -4968,20 +4965,20 @@ const lt = /* @__PURE__ */ he(nt, [["render", rt]]), at = /* @__PURE__ */ p("use
|
|
|
4968
4965
|
key: 1,
|
|
4969
4966
|
class: a(o.model.survey.getCss().timerRoot)
|
|
4970
4967
|
}, R(e.value), 3)), [
|
|
4971
|
-
[
|
|
4968
|
+
[H, o.model.isRunning && !o.model.showTimerAsClock]
|
|
4972
4969
|
]);
|
|
4973
4970
|
}
|
|
4974
|
-
}),
|
|
4975
|
-
function
|
|
4971
|
+
}), yi = {}, gi = { class: "sd-loading-indicator" };
|
|
4972
|
+
function hi(r, s) {
|
|
4976
4973
|
const n = y("sv-svg-icon");
|
|
4977
|
-
return i(), u("div",
|
|
4974
|
+
return i(), u("div", gi, [
|
|
4978
4975
|
C(n, {
|
|
4979
4976
|
iconName: "icon-loading",
|
|
4980
4977
|
size: "'auto'"
|
|
4981
4978
|
})
|
|
4982
4979
|
]);
|
|
4983
4980
|
}
|
|
4984
|
-
const
|
|
4981
|
+
const Ci = /* @__PURE__ */ he(yi, [["render", hi]]), bi = { key: 2 }, ki = /* @__PURE__ */ h({
|
|
4985
4982
|
__name: "Header",
|
|
4986
4983
|
props: {
|
|
4987
4984
|
model: {},
|
|
@@ -5013,16 +5010,16 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5013
5010
|
key: m
|
|
5014
5011
|
}, null, 8, ["model"]))), 128))
|
|
5015
5012
|
], 6)),
|
|
5016
|
-
n.survey.isMobile ? (i(), u("div",
|
|
5013
|
+
n.survey.isMobile ? (i(), u("div", bi, [
|
|
5017
5014
|
C(t, { model: n.model }, null, 8, ["model"])
|
|
5018
5015
|
])) : d("", !0)
|
|
5019
5016
|
], 6);
|
|
5020
5017
|
};
|
|
5021
5018
|
}
|
|
5022
|
-
}),
|
|
5019
|
+
}), fi = {
|
|
5023
5020
|
key: 0,
|
|
5024
5021
|
class: "sv-header__logo"
|
|
5025
|
-
},
|
|
5022
|
+
}, wi = ["src", "width", "height", "alt"], Ii = /* @__PURE__ */ h({
|
|
5026
5023
|
__name: "HeaderCell",
|
|
5027
5024
|
props: {
|
|
5028
5025
|
model: {}
|
|
@@ -5038,7 +5035,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5038
5035
|
class: "sv-header__cell-content",
|
|
5039
5036
|
style: I(s.model.contentStyle)
|
|
5040
5037
|
}, [
|
|
5041
|
-
s.model.showLogo ? (i(), u("div",
|
|
5038
|
+
s.model.showLogo ? (i(), u("div", fi, [
|
|
5042
5039
|
p("div", {
|
|
5043
5040
|
class: a(s.model.survey.logoClassNames)
|
|
5044
5041
|
}, [
|
|
@@ -5049,7 +5046,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5049
5046
|
height: s.model.survey.renderedLogoHeight,
|
|
5050
5047
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5051
5048
|
style: I({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5052
|
-
}, null, 14,
|
|
5049
|
+
}, null, 14, wi)
|
|
5053
5050
|
], 2)
|
|
5054
5051
|
])) : d("", !0),
|
|
5055
5052
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -5080,10 +5077,10 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5080
5077
|
], 6);
|
|
5081
5078
|
};
|
|
5082
5079
|
}
|
|
5083
|
-
}),
|
|
5080
|
+
}), Si = { class: "sv-header--mobile" }, Ri = {
|
|
5084
5081
|
key: 0,
|
|
5085
5082
|
class: "sv-header__logo"
|
|
5086
|
-
},
|
|
5083
|
+
}, Ti = ["src", "width", "height", "alt"], $i = /* @__PURE__ */ h({
|
|
5087
5084
|
__name: "HeaderMobile",
|
|
5088
5085
|
props: {
|
|
5089
5086
|
model: {}
|
|
@@ -5091,8 +5088,8 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5091
5088
|
setup(r) {
|
|
5092
5089
|
return (s, n) => {
|
|
5093
5090
|
const e = y("survey-element-title"), o = y("survey-string");
|
|
5094
|
-
return i(), u("div",
|
|
5095
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
5091
|
+
return i(), u("div", Si, [
|
|
5092
|
+
s.model.survey.hasLogo ? (i(), u("div", Ri, [
|
|
5096
5093
|
p("div", {
|
|
5097
5094
|
class: a(s.model.survey.logoClassNames)
|
|
5098
5095
|
}, [
|
|
@@ -5103,7 +5100,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5103
5100
|
height: s.model.survey.renderedLogoHeight,
|
|
5104
5101
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5105
5102
|
style: I({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5106
|
-
}, null, 14,
|
|
5103
|
+
}, null, 14, Ti)
|
|
5107
5104
|
], 2)
|
|
5108
5105
|
])) : d("", !0),
|
|
5109
5106
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -5133,7 +5130,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5133
5130
|
]);
|
|
5134
5131
|
};
|
|
5135
5132
|
}
|
|
5136
|
-
}),
|
|
5133
|
+
}), _i = /* @__PURE__ */ h({
|
|
5137
5134
|
__name: "Element",
|
|
5138
5135
|
props: {
|
|
5139
5136
|
element: {},
|
|
@@ -5168,7 +5165,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5168
5165
|
c && c.setWrapperElement(void 0), v.setWrapperElement(n.value);
|
|
5169
5166
|
}
|
|
5170
5167
|
);
|
|
5171
|
-
return
|
|
5168
|
+
return E(() => {
|
|
5172
5169
|
s.element.setWrapperElement(n.value);
|
|
5173
5170
|
}), O(() => {
|
|
5174
5171
|
s.element.setWrapperElement(void 0), m();
|
|
@@ -5178,14 +5175,14 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5178
5175
|
style: I(t(v.element)),
|
|
5179
5176
|
class: a(v.element.cssClasses.questionWrapper)
|
|
5180
5177
|
}, [
|
|
5181
|
-
v.row.isNeedRender ? (i(), g(T(o.value), z(
|
|
5178
|
+
v.row.isNeedRender ? (i(), g(T(o.value), z(M({ key: 0 }, l.value)), null, 16)) : v.element.skeletonComponentName ? (i(), g(T(v.element.skeletonComponentName), {
|
|
5182
5179
|
key: 1,
|
|
5183
5180
|
element: v.element,
|
|
5184
5181
|
css: v.css
|
|
5185
5182
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
5186
5183
|
], 6));
|
|
5187
5184
|
}
|
|
5188
|
-
}),
|
|
5185
|
+
}), Di = /* @__PURE__ */ h({
|
|
5189
5186
|
__name: "TemplateRenderer",
|
|
5190
5187
|
props: {
|
|
5191
5188
|
componentName: {},
|
|
@@ -5193,9 +5190,9 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5193
5190
|
},
|
|
5194
5191
|
setup(r) {
|
|
5195
5192
|
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(
|
|
5193
|
+
return (e, o) => n.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), g(T(e.componentName), z(M({ key: 1 }, e.componentData)), null, 16));
|
|
5197
5194
|
}
|
|
5198
|
-
}),
|
|
5195
|
+
}), Bi = /* @__PURE__ */ h({
|
|
5199
5196
|
__name: "FileCleanButton",
|
|
5200
5197
|
props: {
|
|
5201
5198
|
question: {},
|
|
@@ -5219,7 +5216,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5219
5216
|
], 2);
|
|
5220
5217
|
};
|
|
5221
5218
|
}
|
|
5222
|
-
}),
|
|
5219
|
+
}), Li = ["id"], Ni = /* @__PURE__ */ h({
|
|
5223
5220
|
__name: "FileVideo",
|
|
5224
5221
|
props: {
|
|
5225
5222
|
question: {}
|
|
@@ -5241,14 +5238,14 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5241
5238
|
playsinline: "",
|
|
5242
5239
|
id: s.question.videoId,
|
|
5243
5240
|
class: a(s.question.cssClasses.video)
|
|
5244
|
-
}, null, 10,
|
|
5241
|
+
}, null, 10, Li),
|
|
5245
5242
|
C(e, {
|
|
5246
5243
|
item: s.question.takePictureAction
|
|
5247
5244
|
}, null, 8, ["item"])
|
|
5248
5245
|
], 2);
|
|
5249
5246
|
};
|
|
5250
5247
|
}
|
|
5251
|
-
}),
|
|
5248
|
+
}), Pi = ["for", "aria-label"], Ai = /* @__PURE__ */ h({
|
|
5252
5249
|
__name: "FileChooseButton",
|
|
5253
5250
|
props: {
|
|
5254
5251
|
data: {},
|
|
@@ -5277,12 +5274,12 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5277
5274
|
size: "auto"
|
|
5278
5275
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5279
5276
|
p("span", null, R(n.value.chooseButtonText), 1)
|
|
5280
|
-
], 10,
|
|
5277
|
+
], 10, Pi)), [
|
|
5281
5278
|
[l]
|
|
5282
5279
|
]);
|
|
5283
5280
|
};
|
|
5284
5281
|
}
|
|
5285
|
-
}), Ei = ["onClick", "href", "title", "download"], Hi = ["src"],
|
|
5282
|
+
}), Ei = ["onClick", "href", "title", "download"], Hi = ["src"], Mi = ["onClick"], Wi = ["onClick", "href", "title", "download"], Fi = /* @__PURE__ */ h({
|
|
5286
5283
|
__name: "FilePreview",
|
|
5287
5284
|
props: {
|
|
5288
5285
|
question: {}
|
|
@@ -5343,7 +5340,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5343
5340
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5344
5341
|
size: "auto"
|
|
5345
5342
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5346
|
-
], 10,
|
|
5343
|
+
], 10, Mi)) : d("", !0)
|
|
5347
5344
|
], 2),
|
|
5348
5345
|
o.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5349
5346
|
key: 1,
|
|
@@ -5355,15 +5352,15 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5355
5352
|
title: o.name,
|
|
5356
5353
|
download: o.name,
|
|
5357
5354
|
style: I({ width: s.question.imageWidth })
|
|
5358
|
-
}, R(o.name), 13,
|
|
5355
|
+
}, R(o.name), 13, Wi)
|
|
5359
5356
|
], 2)) : d("", !0)
|
|
5360
5357
|
], 2)), [
|
|
5361
|
-
[
|
|
5358
|
+
[H, o && s.question.isPreviewVisible(t)]
|
|
5362
5359
|
])), 128))
|
|
5363
5360
|
], 2)) : d("", !0);
|
|
5364
5361
|
};
|
|
5365
5362
|
}
|
|
5366
|
-
}),
|
|
5363
|
+
}), Vi = /* @__PURE__ */ h({
|
|
5367
5364
|
__name: "ButtonGroup",
|
|
5368
5365
|
props: {
|
|
5369
5366
|
question: {}
|
|
@@ -5387,7 +5384,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5387
5384
|
], 2);
|
|
5388
5385
|
};
|
|
5389
5386
|
}
|
|
5390
|
-
}),
|
|
5387
|
+
}), Oi = ["title"], zi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ui = ["title"], Ki = /* @__PURE__ */ h({
|
|
5391
5388
|
__name: "ButtonGroupItem",
|
|
5392
5389
|
props: {
|
|
5393
5390
|
item: {},
|
|
@@ -5396,7 +5393,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5396
5393
|
},
|
|
5397
5394
|
setup(r) {
|
|
5398
5395
|
const s = r, n = S(
|
|
5399
|
-
() => new
|
|
5396
|
+
() => new Ve(s.question, s.item, s.index)
|
|
5400
5397
|
), e = S({
|
|
5401
5398
|
get: () => s.question.renderedValue,
|
|
5402
5399
|
set: (o) => {
|
|
@@ -5424,7 +5421,7 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5424
5421
|
class: a(n.value.css.control),
|
|
5425
5422
|
"onUpdate:modelValue": t[0] || (t[0] = (v) => e.value = v),
|
|
5426
5423
|
value: n.value.value
|
|
5427
|
-
}, null, 10,
|
|
5424
|
+
}, null, 10, zi), [
|
|
5428
5425
|
[x, e.value]
|
|
5429
5426
|
]),
|
|
5430
5427
|
p("div", {
|
|
@@ -5444,12 +5441,12 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5444
5441
|
C(m, {
|
|
5445
5442
|
locString: n.value.caption
|
|
5446
5443
|
}, null, 8, ["locString"])
|
|
5447
|
-
], 10,
|
|
5444
|
+
], 10, Ui)) : d("", !0)
|
|
5448
5445
|
], 2)
|
|
5449
|
-
], 10,
|
|
5446
|
+
], 10, Oi);
|
|
5450
5447
|
};
|
|
5451
5448
|
}
|
|
5452
|
-
}),
|
|
5449
|
+
}), Qi = ["src", "width", "height", "alt"], ji = /* @__PURE__ */ h({
|
|
5453
5450
|
inheritAttrs: !1,
|
|
5454
5451
|
__name: "Logo",
|
|
5455
5452
|
props: {
|
|
@@ -5471,27 +5468,27 @@ const bi = /* @__PURE__ */ he(gi, [["render", Ci]]), ki = { key: 2 }, fi = /* @_
|
|
|
5471
5468
|
width: n.value.renderedStyleLogoWidth,
|
|
5472
5469
|
height: n.value.renderedStyleLogoHeight
|
|
5473
5470
|
})
|
|
5474
|
-
}, null, 14,
|
|
5471
|
+
}, null, 14, Qi)
|
|
5475
5472
|
], 2));
|
|
5476
5473
|
}
|
|
5477
|
-
}),
|
|
5474
|
+
}), Gi = /* @__PURE__ */ h({
|
|
5478
5475
|
__name: "SvgBundle",
|
|
5479
5476
|
setup(r) {
|
|
5480
5477
|
const s = $();
|
|
5481
|
-
return
|
|
5482
|
-
s.value.innerHTML =
|
|
5478
|
+
return E(() => {
|
|
5479
|
+
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5483
5480
|
}), (n, e) => P((i(), u("svg", {
|
|
5484
5481
|
id: "sv-icon-holder-global-container",
|
|
5485
5482
|
ref_key: "root",
|
|
5486
5483
|
ref: s
|
|
5487
5484
|
}, null, 512)), [
|
|
5488
|
-
[
|
|
5485
|
+
[H, !1]
|
|
5489
5486
|
]);
|
|
5490
5487
|
}
|
|
5491
5488
|
});
|
|
5492
|
-
|
|
5493
|
-
function
|
|
5494
|
-
r.component("SurveyComponent", pe), r.component("sv-svg-bundle",
|
|
5489
|
+
ze.platform = "vue3";
|
|
5490
|
+
function Ji(r) {
|
|
5491
|
+
r.component("SurveyComponent", pe), r.component("sv-svg-bundle", Gi), r.component("PopupSurveyComponent", ve), r.component("survey", pe), r.component("popup-survey", ve), r.component("survey-header", Ge), r.component("sv-logo-image", ji), r.component("survey-page", je), r.component("survey-row", Je), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", is), r.component("survey-string", rs), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text", qs), r.component("survey-text-input", hs), r.component("survey-checkbox", ws), r.component("survey-checkbox-item", Rs), r.component("survey-radiogroup", Ts), r.component("survey-radiogroup-item", Ds), r.component("survey-signaturepad", Ps), r.component("survey-html", Es), r.component("survey-image", Fs), r.component("survey-expression", Vs), r.component("survey-file", Us), r.component("sv-file-choose-btn", Ai), r.component("sv-file-clean-btn", Bi), r.component("sv-file-preview", Fi), r.component("sv-file-video", Ni), r.component("survey-imagepicker", Qs), r.component("survey-imagepicker-item", Ys), r.component("survey-comment", en), r.component("survey-dropdown", sn), r.component("sv-dropdown-select", rn), r.component("sv-dropdown-option-item", an), r.component("sv-dropdown", pn), r.component("survey-tagbox", vn), r.component("sv-tagbox", gn), r.component("sv-tagbox-item", fn), r.component("sv-tagbox-filter", bn), r.component("survey-ranking", wn), r.component("survey-ranking-item", _n), r.component("survey-rating", Ln), r.component("sv-rating-item", Pn), r.component("sv-rating-item-smiley", En), r.component("sv-rating-item-star", Mn), r.component("sv-rating-dropdown", zn), r.component("sv-rating-dropdown-item", On), r.component("survey-boolean", Kn), r.component("sv-boolean-radio", Qn), r.component("sv-boolean-radio-item", Jn), r.component("sv-boolean-checkbox", so), r.component("survey-multipletext", no), r.component("survey-multipletext-item", to), r.component("survey-matrix", mo), r.component("survey-matrix-row", po), r.component("survey-matrix-cell", yo), r.component("survey-matrixdropdown", go), r.component("survey-matrixtable", bo), r.component("survey-matrixheaderrequired", fo), r.component("survey-matrixdropdown-cell", Io), r.component("survey-matrixdynamic", So), r.component("sv-matrix-remove-button", To), r.component("sv-matrix-drag-drop-icon", _o), r.component("sv-matrix-detail-button", Bo), r.component("survey-paneldynamic", Lo), r.component("survey-paneldynamicprogress", No), r.component("survey-paneldynamicprogress-v2", Po), r.component("sv-paneldynamic-add-btn", Ao), r.component("sv-paneldynamic-next-btn", Ho), r.component("sv-paneldynamic-prev-btn", Wo), r.component("sv-paneldynamic-remove-btn", Fo), r.component("sv-paneldynamic-progress-text", Vo), r.component("sv-components-container", Wt), r.component("sv-progress-buttons", Kt), r.component("sv-navigation-toc", Qt), r.component("sv-progress-pages", Z), r.component("sv-progress-questions", Z), r.component("sv-progress-correctquestions", Z), r.component("sv-progress-requiredquestions", Z), r.component("survey-errors", zo), r.component("survey-question-comment", Qo), r.component("survey-element-title", jo), r.component("survey-element-title-content", Yo), r.component("sv-title-actions", et), r.component("sv-brand-info", rt), r.component("sv-question-error", dt), r.component("sv-svg-icon", ut), r.component("sv-action-bar", mt), r.component("sv-action", vt), r.component("sv-action-bar-item", gt), r.component("sv-action-bar-item-dropdown", bt), r.component("sv-action-bar-separator", kt), r.component("sv-list", St), r.component("sv-list-item", $t), r.component("sv-popup", _t), r.component("sv-popup-container", Et), r.component("popup-pointer", Ht), r.component("sv-notifier", si), r.component("survey-other-choice", ti), r.component("sv-nav-btn", ri), r.component("survey-customwidget", ai), r.component("survey-popup-modal", ui), r.component("sv-character-counter", di), r.component("survey-composite", mi), r.component("survey-custom", ci), r.component("sv-timerpanel", qi), r.component("sv-loading-indicator", Ci), r.component("sv-header", ki), r.component("sv-header-cell", Ii), r.component("sv-header-mobile", $i), r.component("sv-template-renderer", Di), r.component("survey-element", _i), r.component("survey-buttongroup", Vi), r.component("sv-button-group-item", Ki), r.directive("key2click", {
|
|
5495
5492
|
mounted: function(s, n) {
|
|
5496
5493
|
const e = { ...n.value };
|
|
5497
5494
|
if (e.disableTabStop) {
|
|
@@ -5499,20 +5496,20 @@ function Xi(r) {
|
|
|
5499
5496
|
return;
|
|
5500
5497
|
}
|
|
5501
5498
|
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (o) => (o.preventDefault(), o.stopPropagation(), ye(o, e), !1)), s.addEventListener("keydown", (o) => {
|
|
5502
|
-
|
|
5499
|
+
Ue(o, e);
|
|
5503
5500
|
}), s.addEventListener("blur", (o) => {
|
|
5504
|
-
|
|
5501
|
+
Ke(o);
|
|
5505
5502
|
});
|
|
5506
5503
|
}
|
|
5507
5504
|
});
|
|
5508
5505
|
}
|
|
5509
|
-
const
|
|
5506
|
+
const Zi = {
|
|
5510
5507
|
install(r) {
|
|
5511
|
-
|
|
5508
|
+
Ji(r);
|
|
5512
5509
|
}
|
|
5513
5510
|
};
|
|
5514
5511
|
export {
|
|
5515
|
-
|
|
5512
|
+
Zi as surveyPlugin,
|
|
5516
5513
|
L as useBase,
|
|
5517
5514
|
le as useComputedArray,
|
|
5518
5515
|
J as useLocString,
|